This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
Re: Is there an example of how to use the gdb/mi interface ?
- To: Robert <robert dot melchers at drives dot eurotherm dot co dot uk>
- Subject: Re: Is there an example of how to use the gdb/mi interface ?
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Mon, 15 May 2000 10:18:05 +1000
- CC: gdb at sourceware dot cygnus dot com
- Organization: Cygnus Solutions
- References: <000d01bfbbfb$3147aeb0$c9a87995@rmelch.drives.eurotherm.co.uk>
> 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