diff options
author | Mark Kettenis <kettenis@gnu.org> | 2003-11-05 23:32:17 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2003-11-05 23:32:17 +0000 |
commit | cbdfc7c029fe3dfed60580245332f53271842eba (patch) | |
tree | c0227ca7d695a63c5e831b6a2e47a32e0438c6ac | |
parent | bbbd1a04e01d76e18a2e19e1fe0e8d04029887f2 (diff) | |
download | gdb-cbdfc7c029fe3dfed60580245332f53271842eba.zip gdb-cbdfc7c029fe3dfed60580245332f53271842eba.tar.gz gdb-cbdfc7c029fe3dfed60580245332f53271842eba.tar.bz2 |
* dwarf2-frame.c (execute_cfa_program): Mark register as
REG_SAVED_REG for DW_CFA_register opcode.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/dwarf2-frame.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c07c1f8..cd31bd8 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2003-11-06 Mark Kettenis <kettenis@gnu.org> + + * dwarf2-frame.c (execute_cfa_program): Mark register as + REG_SAVED_REG for DW_CFA_register opcode. + 2003-11-05 Mark Kettenis <kettenis@gnu.org> * amd64fbsd-tdep.c (amd64fbsd_sc_reg_offset): Adjust offset of diff --git a/gdb/dwarf2-frame.c b/gdb/dwarf2-frame.c index f97a590..fa65f25 100644 --- a/gdb/dwarf2-frame.c +++ b/gdb/dwarf2-frame.c @@ -383,6 +383,7 @@ execute_cfa_program (unsigned char *insn_ptr, unsigned char *insn_end, insn_ptr = read_uleb128 (insn_ptr, insn_end, ®); insn_ptr = read_uleb128 (insn_ptr, insn_end, &utmp); dwarf2_frame_state_alloc_regs (&fs->regs, reg + 1); + fs->regs.reg[reg].how = REG_SAVED_REG; fs->regs.reg[reg].loc.reg = utmp; break; |