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: Nexted function context


> Date: Tue, 30 Jan 2007 07:13:01 -0500
> From: Daniel Jacobowitz <drow@false.org>
> 
> On Tue, Jan 30, 2007 at 08:53:13AM +0000, Vincent De Groote wrote:
> > Hello,
> > 
> > I'm using gdb on c files compiled with gcc.  I use a lot of nested function 
> > calls.
> > When the program makes a core dump in a nested function, I can't see the 
> > local variables (No symbol in local context).
> > 
> > I have the same problem if I single step within a running program.
> 
> Can you provide a small test case for this problem?

I vaguely remember that GCC emitted incorrect debug information for
nested function calls, and that it would be hard to fix.

Mark


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