Re: [-mm patch] ptrace: Fix EFL_OFFSET value according to i386 pda changes (was Re: BUG on 2.6.20-rc1 when using gdb)

2006-12-20 Thread Frederik Deweerdt
On Wed, Dec 20, 2006 at 12:53:33PM -0800, Jeremy Fitzhardinge wrote: > Frederik Deweerdt wrote: > > It works too, thanks. BTW, I wondered if the "case GS:" in getreg() made > > sense now? > > Sorry, what do you mean? It looks OK to me, but I'm not sure what > you're referring to. My bad, that's t

Re: [-mm patch] ptrace: Fix EFL_OFFSET value according to i386 pda changes (was Re: BUG on 2.6.20-rc1 when using gdb)

2006-12-20 Thread Jeremy Fitzhardinge
Frederik Deweerdt wrote: > It works too, thanks. BTW, I wondered if the "case GS:" in getreg() made > sense now? Sorry, what do you mean? It looks OK to me, but I'm not sure what you're referring to. J - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [-mm patch] ptrace: Fix EFL_OFFSET value according to i386 pda changes (was Re: BUG on 2.6.20-rc1 when using gdb)

2006-12-20 Thread Frederik Deweerdt
On Wed, Dec 20, 2006 at 11:21:50AM -0800, Jeremy Fitzhardinge wrote: > Frederik Deweerdt wrote: > > Same problems here with 2.6.20-rc1-mm1 (ie with the %gs->%fs patch). > > It seems to me that the problem comes from the EFL_OFFSET no longer > > beeing accurate. > > The following patch fixes the pro

Re: [-mm patch] ptrace: Fix EFL_OFFSET value according to i386 pda changes (was Re: BUG on 2.6.20-rc1 when using gdb)

2006-12-20 Thread walt
Jeremy Fitzhardinge wrote: > Frederik Deweerdt wrote: >> Same problems here with 2.6.20-rc1-mm1 (ie with the %gs->%fs patch). >> It seems to me that the problem comes from the EFL_OFFSET no longer >> beeing accurate. >> The following patch fixes the problem for me. >> > > Thanks Frederik; that'

Re: [-mm patch] ptrace: Fix EFL_OFFSET value according to i386 pda changes (was Re: BUG on 2.6.20-rc1 when using gdb)

2006-12-20 Thread Jeremy Fitzhardinge
Frederik Deweerdt wrote: > Same problems here with 2.6.20-rc1-mm1 (ie with the %gs->%fs patch). > It seems to me that the problem comes from the EFL_OFFSET no longer > beeing accurate. > The following patch fixes the problem for me. > Thanks Frederik; that's exactly the kind of thing I thought

Re: [-mm patch] ptrace: Fix EFL_OFFSET value according to i386 pda changes (was Re: BUG on 2.6.20-rc1 when using gdb)

2006-12-20 Thread Andrew J. Barr
On Wed, 2006-12-20 at 18:35 +, Frederik Deweerdt wrote: > On Wed, Dec 20, 2006 at 03:21:53AM -0800, Jeremy Fitzhardinge wrote: > > "walt" <[EMAIL PROTECTED]> reported a similar problem which he bisected > > down to the PDA changeset which touches ptrace > > (66e10a44d724f1464b5e8b5a3eae1e2cbbc2

[-mm patch] ptrace: Fix EFL_OFFSET value according to i386 pda changes (was Re: BUG on 2.6.20-rc1 when using gdb)

2006-12-20 Thread Frederik Deweerdt
On Wed, Dec 20, 2006 at 03:21:53AM -0800, Jeremy Fitzhardinge wrote: > "walt" <[EMAIL PROTECTED]> reported a similar problem which he bisected > down to the PDA changeset which touches ptrace > (66e10a44d724f1464b5e8b5a3eae1e2cbbc2cca6). I haven't managed to repo > the problem, but I guess there's

Re: BUG on 2.6.20-rc1 when using gdb

2006-12-20 Thread Jeremy Fitzhardinge
Andrew Morton wrote: > On Sun, 17 Dec 2006 20:55:18 -0500 > "Andrew J. Barr" <[EMAIL PROTECTED]> wrote: > > >> When I was using gdb to debug xchat-gnome, I got a kernel BUG and stack >> trace as the program was running (e.g. I had typed 'run' in gdb): >> >> WARNING at kernel/softirq.c:137 local_

Re: BUG on 2.6.20-rc1 when using gdb

2006-12-19 Thread Dave Airlie
On 12/20/06, Andrew Morton <[EMAIL PROTECTED]> wrote: > When I was using gdb to debug xchat-gnome, I got a kernel BUG and stack > trace as the program was running (e.g. I had typed 'run' in gdb): > > WARNING at kernel/softirq.c:137 local_bh_enable() > [] dump_trace+0x68/0x1d9 > [] show_trace_lo

Re: BUG on 2.6.20-rc1 when using gdb

2006-12-19 Thread Dave Airlie
On 12/20/06, Dave Airlie <[EMAIL PROTECTED]> wrote: On 12/20/06, Andrew Morton <[EMAIL PROTECTED]> wrote: > > When I was using gdb to debug xchat-gnome, I got a kernel BUG and stack > > trace as the program was running (e.g. I had typed 'run' in gdb): > > > > WARNING at kernel/softirq.c:137 local

Re: BUG on 2.6.20-rc1 when using gdb

2006-12-19 Thread Andrew Morton
On Sun, 17 Dec 2006 20:55:18 -0500 "Andrew J. Barr" <[EMAIL PROTECTED]> wrote: > When I was using gdb to debug xchat-gnome, I got a kernel BUG and stack > trace as the program was running (e.g. I had typed 'run' in gdb): > > WARNING at kernel/softirq.c:137 local_bh_enable() > [] dump_trace+0x68/

BUG on 2.6.20-rc1 when using gdb

2006-12-17 Thread Andrew J. Barr
When I was using gdb to debug xchat-gnome, I got a kernel BUG and stack trace as the program was running (e.g. I had typed 'run' in gdb): WARNING at kernel/softirq.c:137 local_bh_enable() [] dump_trace+0x68/0x1d9 [] show_trace_log_lvl+0x18/0x2c [] show_trace+0xf/0x11 [] dump_stack+0x12/0x14 [