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


Actually, this is already with -O0... at least I think.  I'm not
passing any optimization flags.  For debug symbols I'm passing -ggdb.

I'll try the CVS current top of tree a bit later today.

Thanks,
  Brian

On Mon, Mar 10, 2008 at 5:52 PM, Michael Snyder <msnyder@specifix.com> wrote:
> 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]