OSDN Git Service

* dwarf2-frame.c (dwarf2_frame_eh_frame_regnum): Rename to...
authordrow <drow>
Tue, 27 Mar 2007 19:02:41 +0000 (19:02 +0000)
committerdrow <drow>
Tue, 27 Mar 2007 19:02:41 +0000 (19:02 +0000)
commit347e1a8e91f5227d6db0f886e68106ef819659c6
treeef61bf0347afc6919adf7a632da40f528c3286f0
parent3bbbacb08c40e2da892cee6961d0b6de698a31b9
* 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