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
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
> 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.
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
> > 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
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
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
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
> 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