Adding a GDB command..

Eelco Chaudron echaudron@extremenetworks.com
Fri Oct 15 15:10:00 GMT 2004


Hi All,

I'm trying to add a GDB command, which seem to work. But now I would like to
get some data out of the know target data structure.
I can locate the pointer to the structure, using lookup_minimal_symbol(),
but how can a reference a value within this structure?

I know I need to copy the information from the target memory, but how do I
get the offset and size?


Hope some one can point me to some useful information....

Thanks,

Eelco



More information about the Gdb mailing list