This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]