This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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: debug/10156: g++ 3.2 fails to emit debug location info for a local variable inside a class constructor


On Wed, May 07, 2003 at 08:00:57AM +0200, walter steffe wrote:
> 
> 
> I am facing a similar problem with gcc 3.2.3:
>  1) Sometime the debugger (gdb 5.3) does not stop exactly on a breakpoint but 
> a few line after.

Are you using optimized code?  That's just life.

>  2) Almost all of the local variables of a function are not visible (saying: 
> No symbol "foo" in current context).

It is most likely a GDB bug.  Please try a CVS snapshot of GDB.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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