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


I'm using version 4.1.1 on linux (gentoo)

Vincent De Groote

--On 30 January 2007 08:10 -0500 Daniel Jacobowitz <drow@false.org> wrote:

On Tue, Jan 30, 2007 at 12:49:54PM +0000, Vincent De Groote wrote:
when single stepping into add_something function,
doing "p value" or "p result" reports the same message "No symbol
"xxxxx"  in current context".

What GCC version and platform are you using? On x86_64-linux using GCC 4.1.2, I can print them both just fine. Probably older versions had bad debug info, as Mark suggests.

I also looked for a way of setting a breakpoint into a nested function,
but  never succeeds.

Yes, I don't see any way to do this :-(


--
Daniel Jacobowitz
CodeSourcery





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