public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/40012]  New: Bad debug info for local variables
@ 2009-05-03 22:04 gcc at magfr dot user dot lysator dot liu dot se
  2009-05-03 22:06 ` [Bug debug/40012] " gcc at magfr dot user dot lysator dot liu dot se
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: gcc at magfr dot user dot lysator dot liu dot se @ 2009-05-03 22:04 UTC (permalink / raw)
  To: gcc-bugs

Given the attached program compiled with

gcc -ggdb3 -o dlmod dlmod.i

the DW_AT_location for the variable 'problem' seems to be off by 16 bytes, so
when I try to examine the variable from the debugger that returns the wrong
value.

Below is some information about my compiler:

svnversion reports that I am using revision 147075.

$ gcc --version --verbose
Using built-in specs.
gcc (GCC) 4.5.0 20090503 (experimental)
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


Target: i686-pc-linux-gnu
Configured with: ../trunk/configure --enable-languages=c,c++
--prefix=/usr/local
/gcc-head --enable-shared --with-system-zlib --without-included-gettext
--enable
-threads --disable-nls --enable-__cxa_atexit --enable-clocale=gnu
--enable-libst
dcxx-debug --with-arch=core2 --with-tune=core2 --enable-checking=release
--enabl
e-concept-checks --disable-libgomp --disable-libmudflap --disable-libssp
Thread model: posix


-- 
           Summary: Bad debug info for local variables
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gcc at magfr dot user dot lysator dot liu dot se
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40012


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2009-06-29 20:11 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-03 22:04 [Bug debug/40012] New: Bad debug info for local variables gcc at magfr dot user dot lysator dot liu dot se
2009-05-03 22:06 ` [Bug debug/40012] " gcc at magfr dot user dot lysator dot liu dot se
2009-05-05 17:09 ` [Bug debug/40012] [4.5 Regression] " pinskia at gcc dot gnu dot org
2009-05-28 14:52 ` rguenth at gcc dot gnu dot org
2009-05-29  3:22 ` [Bug debug/40012] [4.5 Regression] Revision 146817 generated bad " hjl dot tools at gmail dot com
2009-06-01 21:49 ` dje at gcc dot gnu dot org
2009-06-02 12:51 ` dje at gcc dot gnu dot org
2009-06-02 23:02 ` ppluzhnikov at google dot com
2009-06-03  9:51 ` matz at gcc dot gnu dot org
2009-06-03 13:17 ` ramana at gcc dot gnu dot org
2009-06-03 15:57 ` matz at gcc dot gnu dot org
2009-06-08 11:37 ` matz at gcc dot gnu dot org
2009-06-08 11:38 ` matz at gcc dot gnu dot org
2009-06-27  0:49 ` ppluzhnikov at google dot com
2009-06-27 20:18 ` ebotcazou at gcc dot gnu dot org
2009-06-29 20:11 ` ppluzhnikov at google dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).