gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How does one get static procedure names?


From: Bruce Korb
Subject: Re: How does one get static procedure names?
Date: Tue, 27 Oct 2009 11:56:46 -0700

On Tue, Oct 27, 2009 at 11:40 AM, Paul Pluzhnikov
<address@hidden> wrote:
> On Tue, Oct 27, 2009 at 11:32 AM, Bruce Korb <address@hidden> wrote:
>
>> I know GDB has some way to do it, but I couldn't locate
>> the code that does it.  A pointer on where to look would
>> be really helpful and greatly appreciated!
>
> Your question is rather unclear :-(

Sorry.   When you do a "bt" using gdb, you see the function
names, whether they be "static" or have global (external)
linkage.  The function backtrace_symbols(), on the other
hand, doe *not* print static scope function names.  Even if
it takes some work, I'd like to "fix" the constraint.  However,
I wasn't able to decipher the gdb source well enough to figure
out how it accomplished this feat.  So, is there some place
in the GDB source where I ought to be looking?

Thank you!

Regards, Bruce




reply via email to

[Prev in Thread] Current Thread [Next in Thread]