This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/25258] [4.0 regression/hpux] gcc generates incorrect stabs debug output
- From: "michael dot haubenwallner at salomon dot at" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Dec 2005 09:03:28 -0000
- Subject: [Bug target/25258] [4.0 regression/hpux] gcc generates incorrect stabs debug output
- References: <bug-25258-581@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from michael dot haubenwallner at salomon dot at 2005-12-12 09:03 -------
Strange:
any idea what i've missed to not encounter this problem with gcc-3.4.4 ?
Have built my gcc-3.4.4 with two patches (bug#22213 and bug#19933),
vanilla binutils-2.16.1, but native ld:
$ gcc -v
Reading specs from
/mnt/toolsjunk/snapshot/toolsbox-3.5.1.4rc.20051209/hppa2.0w-hp-hpux11.11/lib/gcc/hppa2.0w-hp-hpux11.11/3.4.4/specs
Configured with:
/mnt/toolsjunk/snapshot/src/sasrvb/toolsbox-3.5.1.4rc.20051209/buildroot/gcc/gcc-3.4.4/configure
--with-gnu-as
--with-as=/tools/snapshot/toolsbox-3.5.1.4rc.20051209/hppa2.0w-hp-hpux11.11/hppa2.0w-hp-hpux11.11/bin/as
--without-gnu-ld --enable-threads=posix
--with-local-prefix=/tools/snapshot/toolsbox-3.5.1.4rc.20051209/hppa2.0w-hp-hpux11.11
--disable-nls
--prefix=/tools/snapshot/toolsbox-3.5.1.4rc.20051209/hppa2.0w-hp-hpux11.11
Thread model: posix
gcc version 3.4.4
$
/tools/snapshot/toolsbox-3.5.1.4rc.20051209/hppa2.0w-hp-hpux11.11/hppa2.0w-hp-hpux11.11/bin/as
--version
GNU assembler 2.16.1
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
This assembler was configured for a target of `hppa2.0w-hp-hpux11.11'.
$ gcc -g xx.c
$ gdb a.out
GNU gdb 6.3
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 "hppa2.0w-hp-hpux11.11"...
(gdb) b foo
Breakpoint 1 at 0x290c: file xx.c, line 3.
(gdb) r
Starting program: /mnt/big/logins/haubi/a.out
Breakpoint 1, foo (x=1) at xx.c:3
3 return x;
(gdb)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25258