Is there an example of how to use the gdb/mi interface ?
Andrew Cagney
ac131313@cygnus.com
Sun May 14 17:19:00 GMT 2000
> Robert wrote:
>
> Does anyone have an example of how to use the gdb/mi interface ? All I
> want to do is to get the address of a variable as gdb already knows
> how to do this then why not use it.
Examples of MI in use can be found in the documentation:
http://sourceware.cygnus.com/gdb/onlinedocs/gdb_20.html#SEC191
If all your after is the address of a global/static symbol then you may
find GDB/MI overkill. NM is likely to be sufficient.
Andrew
More information about the Gdb
mailing list