On both Linux/ia32 and Linux/x86-64, I got

[EMAIL PROTECTED] gcc]$ gdb cc1
GNU gdb Red Hat Linux (6.3.0.0-1.21rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu"...Using host libthread_db
library "/lib64/libthread_db.so.1".

Breakpoint 1 at 0x4d6cf5: file
/net/gnu-13/export/gnu/src/gcc-4.0/gcc/gcc/diagnostic.c, line 555.
Breakpoint 2 at 0x4d6c29: file
/net/gnu-13/export/gnu/src/gcc-4.0/gcc/gcc/diagnostic.c, line 496.
Function "exit" not defined.
Function "abort" not defined.
(gdb) watch costs
Hardware watchpoint 3: {<data variable, no debug info>} 10097096

Gcc 3.4 works fine.

-- 
           Summary: [4.0/4.1 Regression] gcc failed to generate debug info
           Product: gcc
           Version: 4.0.1
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: debug
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl at lucon dot org
                CC: gcc-bugs at gcc dot gnu dot org


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

Reply via email to