This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: how to get kernel global data dynamically ?
there is a utility called 'crash utility' from redhat
which is capable of debugging live linux kernel space; of course you
can not set breakpoints/watchpoints, but certainly you should be able
to query all kernel symbols.
Regards,
Oza.
On Wed, Sep 5, 2012 at 7:24 AM, John Smith <horserivers@gmail.com> wrote:
> hi,
>
> I got a segment fault when debug a process , so I
> disassemble the code which cause the fault , and find the
> instruction which fires the fault ,
>
> this instruction is xlat ds:(%bx) , as you know , this
> is a protect-mode addressing ,so I need to know the base
> address responding to this ds descript ,
>
> then I could calculate the linear address and catch its
> memory data .
>
>
> but , as you know too , gdb can not tell you the base address
> responding to this ds descript , is anyone have some solutions
> here ?
>
>
> thanks!