[Bug debug/12860] [3.4 regression] stabs register number out of range

dje at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Dec 23 23:48:00 GMT 2003


------- 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



More information about the Gcc-bugs mailing list