This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/9957] gcc -g does not seem to produce the correct stabs for source file
- From: "carlo at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Oct 2003 12:37:27 -0000
- Subject: [Bug debug/9957] gcc -g does not seem to produce the correct stabs for source file
- References: <20030305000600.9957.dwang@3upsystems.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9957
------- Additional Comments From carlo at gcc dot gnu dot org 2003-10-03 12:37 -------
Correction,... the previous remark is for the object
file output of cc1 (the .o file). The junk5 output
seems to be for the assembled executable, in which
case the n_value should indeed be the non-zero start
of the .text segment. This would be a bug of the
assembler (as) then, and not gcc. Moreover, I cannot
reprocude that on my i686-gnu-linux box with the
GNU assembler 2.13.90.0.20 20030319
which outputs the correct data.
So either this was fixed in the meantime or it is a
problem of the cross-compiler assembler he is using.
I am not going to reopen the bug, as I cannot reproduce
it. The reporter can reopen it himself if he can reproduce
it with a recent assembler (although even in that case
I think he should report it to the binutils maintainers).