This is the mail archive of the gdb@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Is there an example of how to use the gdb/mi interface ?


> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]