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: breakpoints and symbol examination problems


On Mon, 2008-03-10 at 20:32 -0400, Daniel Jacobowitz wrote:
> On Mon, Mar 10, 2008 at 05:05:17PM -0700, Brian Budge wrote:
> 
> > Additionally, I can't seem to examine any "stack" variables once in
> > these template functions.  I can see member variables, global
> > variables, and function parameters.
> 
> This may be fixed, or it may be a compiler bug.  GCC is not very good
> about emitting local variable information in optimized code.

Can you compile with -O0?



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