This is the mail archive of the gdb@sourceware.org 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]
Other format: [Raw text]

Re: Learn function name by its address


Dmitry Dzhus writes:
 > > -symbol-info-symbol
 > 
 > Oh, I missed that, thanks.
 > 
 > > what symbol is at location ADDR.

-symbol-info-symbol
^error,msg="Undefined mi command: symbol-info-symbol (missing implementation)"
(gdb) 

This is one of many GDB/MI commands that are described in the manual but not
implemented, presumably because no-one has found a need for them.  Such
commands have:

  Example
  .......

  N.A.

after them in the manual.

For Emacs, I think that it is not necessary to give symbol information in
the memory contents buffer but just the addresses and values.  The user
should be able to specify a symbol as input, however, and the -data-read-memory
command allows that.

-- 
Nick                                           http://www.inet.net.nz/~nickrob


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