From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eli Zaretskii To: greg@mcgary.org Cc: jtc@redback.com, gdb@sources.redhat.com Subject: Re: finding a function with address Date: Tue, 06 Feb 2001 08:37:00 -0000 Message-id: <200102061637.LAA08714@indy.delorie.com> References: X-SW-Source: 2001-02/msg00060.html > From: Greg McGary > Date: 05 Feb 2001 10:20:58 -0700 > > Eli Zaretskii writes: > > > In other words, there doesn't seem to be a way of getting a symbol > > name given its address, unlike "info symbol" promised? > > I always get symbol names like so: > > (gdb) p/a 0x4b940 > > However, if the `info symbol ADDR' doesn't work, then this might not > work either. Thanks for the tip. Amazingly enough, "p/a" does work. It's probably a bug. I will debug it.