public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Adding a GDB command..
@ 2004-10-15 15:10 Eelco Chaudron
  0 siblings, 0 replies; only message in thread
From: Eelco Chaudron @ 2004-10-15 15:10 UTC (permalink / raw)
  To: 'gdb@sources.redhat.com'

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-10-15 13:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-15 15:10 Adding a GDB command Eelco Chaudron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).