* Converting PC to function name
@ 2003-01-07 19:34 Michael S. Zraly
0 siblings, 0 replies; only message in thread
From: Michael S. Zraly @ 2003-01-07 19:34 UTC (permalink / raw)
If I have the PC of a process, and its associated code
range descriptor, how do I use that information to find
the name of the associated function?
My initial thoughts are to combine this into an address
(code range descriptor base address + PC?) and use nm
to find the maximum address less than that value that
corresponds to a defined procedure. Is that the right
way to do it?
FWIW the executable was compiled with debugging information.
Thanks,
Mike
--
Mike Zraly Every man is as God made him, ay, and
mzraly@world.std.com often worse. -- Miguel de Cervantes
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-01-07 19:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-07 19:34 Converting PC to function name Michael S. Zraly
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox