This is the mail archive of the gdb@sources.redhat.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: finding a function with address


Eli Zaretskii <eliz@is.elta.co.il> 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.

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