Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* How to retrieve the caller information from call stack
@ 2007-01-08  0:17 Hyun Seop Bae
  0 siblings, 0 replies; only message in thread
From: Hyun Seop Bae @ 2007-01-08  0:17 UTC (permalink / raw)
  To: gdb

Hi there,

I'm looking for a way to retrieve caller information during run-time.
Of course, I can find the name of caller function if I use gdb and set breakpoint.

But, how can I know the name of caller function without gdb?
When I insert the __FUNC__ macro into source codes, I can retrieve the name of current running function.
Is there any macro or something like that to retrieve the name of caller function?

Thanks in advance,

--
Hyun Bae

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-01-08  0:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-08  0:17 How to retrieve the caller information from call stack Hyun Seop Bae

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox