* dwarf2-frame.c (dwarf2_reg_rule): Add REG_RA and REG_CFA.
authorMark Kettenis <kettenis@gnu.org>
Sat, 27 Dec 2003 23:15:00 +0000 (23:15 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sat, 27 Dec 2003 23:15:00 +0000 (23:15 +0000)
commit3588991722d191c4bf1567474c0534c4924487cf
tree08614db473d05490fb066ef6c50d4e673e3f1762
parent678f5623fdac1cf013115032ee452cd4d97c16d7
* dwarf2-frame.c (dwarf2_reg_rule): Add REG_RA and REG_CFA.
(dwarf2_frame_cache): Initialize PC_REGNUM with REG_RA and
SP_REGNUM with REG_CFA.  Don't overwrite the initialized register
rule for registers left unspecified by the CFI.  Remove the
special handling of PC_REGNUM.  Add code to eleminate any REG_RA
rules.
(dwarf2_frame_prev_register): Remove the special handling of
SP_REGNUM.  Add support for the REG_CFA rule.
gdb/ChangeLog
gdb/dwarf2-frame.c