Re: Should a x86 gdb work under an x86_64 kernel?
On Mon, Feb 25, 2008 at 09:49:43AM -0500, Theodore Ts'o wrote: > I've noticed that if I try to use a 32-bit x86 gdb to debug a > 32-bit program under a 64-bit x86_64 kernel, gdb (version 6.6-debian, > from Ubuntu Gutsy) immediately core dumps as soon as I run the test > program under the debugger. Is this normal/expected/known bug? Probably - UML broke too. Roland found the bug and posted a patch fairly quickly - http://marc.info/?l=linux-kernel=120365510230307=raw Jeff -- Work email - jdike at linux dot intel dot com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Should a x86 gdb work under an x86_64 kernel?
Hi, I've noticed that if I try to use a 32-bit x86 gdb to debug a 32-bit program under a 64-bit x86_64 kernel, gdb (version 6.6-debian, from Ubuntu Gutsy) immediately core dumps as soon as I run the test program under the debugger. Is this normal/expected/known bug? I haven't tried bisecting it yet, but it's been broken as early as a little after 2.6.25-rc1, in late January. But before I spend a large amount of time doing the bisect, I thought I'd ask if anyone has heard of this issue. Does this sound familiar? - Ted -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Should a x86 gdb work under an x86_64 kernel?
Hi, I've noticed that if I try to use a 32-bit x86 gdb to debug a 32-bit program under a 64-bit x86_64 kernel, gdb (version 6.6-debian, from Ubuntu Gutsy) immediately core dumps as soon as I run the test program under the debugger. Is this normal/expected/known bug? I haven't tried bisecting it yet, but it's been broken as early as a little after 2.6.25-rc1, in late January. But before I spend a large amount of time doing the bisect, I thought I'd ask if anyone has heard of this issue. Does this sound familiar? - Ted -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: Should a x86 gdb work under an x86_64 kernel?
On Mon, Feb 25, 2008 at 09:49:43AM -0500, Theodore Ts'o wrote: I've noticed that if I try to use a 32-bit x86 gdb to debug a 32-bit program under a 64-bit x86_64 kernel, gdb (version 6.6-debian, from Ubuntu Gutsy) immediately core dumps as soon as I run the test program under the debugger. Is this normal/expected/known bug? Probably - UML broke too. Roland found the bug and posted a patch fairly quickly - http://marc.info/?l=linux-kernelm=120365510230307q=raw Jeff -- Work email - jdike at linux dot intel dot com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/