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


On Thu, Jun 25, 2009 at 11:35 AM, Dmitry Dzhus<dima@sphinx.net.ru> wrote:

>> what symbol is at location ADDR.
> Is it correct that this information cannot change in runtime?

If the symbol is in a dynamically loaded shared library, and if that
library is unloaded and something else (including a new version of the
same library or some totally different one) is loaded in its place, then
the mapping of ADDR to symbol could well change at runtime.

Cheers,
-- 
Paul Pluzhnikov


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