bin/126721: gcc(1) g++(1) Compiling, assembling and linking
code with debugging results in unusable debug information
Bruce Cran
bruce at cran.org.uk
Thu Feb 17 15:00:32 UTC 2011
The following reply was made to PR bin/126721; it has been noted by GNATS.
From: Bruce Cran <bruce at cran.org.uk>
To: bug-followup at FreeBSD.org, pip88nl at gmail.com
Cc:
Subject: Re: bin/126721: gcc(1) g++(1) Compiling, assembling and linking
code with debugging results in unusable debug information
Date: Thu, 17 Feb 2011 14:56:37 +0000
Using -gstabs (or -gstabs+) appears to produce valid debugging
information, but the line information doesn't appear correct:
(gdb) r
Starting program: /usr/home/brucec/test
Program received signal SIGSEGV, Segmentation fault.
0x080484eb in main () at test.s:7
7 .stabs "complex long double:t(0,3)=R3;24;0;",128,0,0,0
(gdb) bt
#0 0x080484eb in main () at test.s:7
--
Bruce Cran
More information about the freebsd-bugs
mailing list