* dwarf2-frame.c (dwarf2_frame_eh_frame_regnum): Rename to...
authorDaniel Jacobowitz <drow@false.org>
Tue, 27 Mar 2007 19:02:42 +0000 (19:02 +0000)
committerDaniel Jacobowitz <drow@false.org>
Tue, 27 Mar 2007 19:02:42 +0000 (19:02 +0000)
commit4fc771b8c4b03069118fcfcea6c9385b592e8098
tree9cfb45a80d8d8d2eb8fd2da4d0066a958db69439
parent1f81bd395c9103c6f44e8b18a90961a039aac25c
* dwarf2-frame.c (dwarf2_frame_eh_frame_regnum): Rename to...
(dwarf2_frame_adjust_regnum): ...this.  Make static.  Add eh_frame_p
argument.  Update all callers.
(struct dwarf2_frame_ops): Replace eh_frame_regnum with adjust_regnum.
(dwarf2_frame_set_eh_frame_regnum): Rename to...
(dwarf2_frame_set_adjust_regnum): ...this.  Update argument type.
* dwarf2frame.h (dwarf2_frame_set_eh_frame_regnum): Rename to...
(dwarf2_frame_set_adjust_regnum): ...this.
(dwarf2_frame_eh_frame_regnum): Delete prototype.
* rs6000-tdep.c: Include "dwarf2-frame.h".
(rs6000_adjust_frame_regnum): Define.
(rs6000_gdbarch_init): Enable use of DWARF CFI frame unwinder.
Register rs6000_adjust_frame_regnum.

* Makefile.in (rs6000-tdep.o): Update dependencies.
gdb/ChangeLog
gdb/Makefile.in
gdb/dwarf2-frame.c
gdb/dwarf2-frame.h
gdb/rs6000-tdep.c