CVS commit: src/gnu/dist/gdb6/gdb

2010-02-22 Thread David Laight
Module Name:src Committed By: dsl Date: Mon Feb 22 08:19:38 UTC 2010 Modified Files: src/gnu/dist/gdb6/gdb: amd64nbsd-tdep.c Log Message: Fix check for old trap frame layout. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/gnu/dist/gdb6/gdb/amd64nbsd-tdep

CVS commit: src/gnu/dist/gdb6/gdb

2010-02-22 Thread David Laight
Module Name:src Committed By: dsl Date: Mon Feb 22 08:19:38 UTC 2010 Modified Files: src/gnu/dist/gdb6/gdb: amd64nbsd-tdep.c Log Message: Fix check for old trap frame layout. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/gnu/dist/gdb6/gdb/amd64nbsd-tdep

Re: CVS commit: src/gnu/dist/gdb6/gdb

2009-11-28 Thread enami tsugutomo
> The above is defining a global symbol that referes to the middle of > a struct, not setting a memory location to the address of the it. Do you mean lwp0.l_addr may vary during execution? enami.

Re: CVS commit: src/gnu/dist/gdb6/gdb

2009-11-28 Thread David Laight
On Sat, Nov 28, 2009 at 08:29:43AM +0900, enami tsugutomo wrote: > > > i wonder if we can re-add proc0paddr, defined to be = lwp0.l_addr > > > at some point in main, to help this work with older gdb? > > > > > > this seems like a worth-while change since it's part of bsd-kvm.c. > > > > would need

Re: CVS commit: src/gnu/dist/gdb6/gdb

2009-11-27 Thread enami tsugutomo
> > i wonder if we can re-add proc0paddr, defined to be = lwp0.l_addr > > at some point in main, to help this work with older gdb? > > > > this seems like a worth-while change since it's part of bsd-kvm.c. > > would need to be in md code since L_ADDR needs to come from assym.h. > > .glob

Re: CVS commit: src/gnu/dist/gdb6/gdb

2009-11-27 Thread David Laight
On Fri, Nov 27, 2009 at 12:45:18AM -0800, Matt Thomas wrote: > > > i wonder if we can re-add proc0paddr, defined to be = lwp0.l_addr > > at some point in main, to help this work with older gdb? > > > > this seems like a worth-while change since it's part of bsd-kvm.c. > > would need to be in md

Re: CVS commit: src/gnu/dist/gdb6/gdb

2009-11-27 Thread Matt Thomas
On Nov 26, 2009, at 11:47 PM, matthew green wrote: > > Module Name:src > Committed By: enami > Date: Fri Nov 27 02:51:15 UTC 2009 > > Modified Files: > src/gnu/dist/gdb6/gdb: bsd-kvm.c > > Log Message: > Lookup lwp0.l_addr instead of proc0paddr to

re: CVS commit: src/gnu/dist/gdb6/gdb

2009-11-26 Thread matthew green
Module Name: src Committed By:enami Date:Fri Nov 27 02:51:15 UTC 2009 Modified Files: src/gnu/dist/gdb6/gdb: bsd-kvm.c Log Message: Lookup lwp0.l_addr instead of proc0paddr to locate PCB. hmmm.. i wonder if we can re-add proc0paddr, defin

Re: CVS commit: src/gnu/dist/gdb6/gdb

2009-11-26 Thread enami tsugutomo
> Module Name: src > Committed By: enami > Date: Fri Nov 27 02:51:15 UTC 2009 > > Modified Files: > src/gnu/dist/gdb6/gdb: bsd-kvm.c > > Log Message: > Lookup lwp0.l_addr instead of proc0paddr to locate PCB. I wonder if it is better to keep proc0paddr in kernel as a pointer to PCB