This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/12860] [3.4 regression] stabs register number out of range
- From: "dje at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Dec 2003 22:09:43 -0000
- Subject: [Bug debug/12860] [3.4 regression] stabs register number out of range
- References: <20031031181957.12860.dje@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From dje at gcc dot gnu dot org 2003-12-23 22:09 -------
GCC dbxout.c is using __FUNCTION__.NN as the value of stabs strings:
.csect _expr.rw_[RO],3
.align 2
__FUNCTION__.10:
.byte "store_constructor_field"
.byte 0
...
.stabx "__FUNCTION__:V1014=ar117;0;23;470",__FUNCTION__.10,133,0
.es
.stabx "cleared:r-1",__FUNCTION__.10,131,0
.stabx "alias_set:r-1",__FUNCTION__.10,131,0
The debugger fails when trying to use the label value as a register number.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12860