This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: debug/10156: g++ 3.2 fails to emit debug location info for a local variable inside a class constructor
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: walter steffe <steffe at tiscalinet dot it>
- Cc: gcc-bugs at gcc dot gnu dot org, peter dot thompson at etnus dot com, gcc-prs at gcc dot gnu dot org
- Date: Wed, 7 May 2003 09:37:13 -0400
- Subject: Re: debug/10156: g++ 3.2 fails to emit debug location info for a local variable inside a class constructor
- References: <200305070800.58316.steffe@tiscalinet.it>
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