This is the mail archive of the
mailing list for the GDB project.
MI command for obtaining symbol given an address
- From: "Phil (Philip) Mason" <phil dot mason at broadcom dot com>
- To: "gdb at sourceware dot org" <gdb at sourceware dot org>
- Date: Mon, 31 Oct 2011 02:41:55 -0700
- Subject: MI command for obtaining symbol given an address
I'm trying to use the MI interface to obtain the symbol for an address (for example I'd use "info symbol 0x601260" at the CLI).
I can't find an equivalent command in the MI and none of the tricks I tried to use such as creating variable objects for the address location or using -data-read-memory-bytes (hoping it would provide symbol names like "x/50w 0x601260" does) seem to help either. Is there a way of obtaining symbol information through the MI?
Thanks in advance