OSDN Git Service

* arm-tdep.c: Include frame-unwind.h, frame-base.h, and
authordrow <drow>
Wed, 3 Sep 2003 20:46:01 +0000 (20:46 +0000)
committerdrow <drow>
Wed, 3 Sep 2003 20:46:01 +0000 (20:46 +0000)
commit2450ea7315f62a6d4a271fd17c12e8da4bf135b9
tree1e1335d7a5bf0e6b995716331f26e4486824d52f
parent2e7369e2ee8d9e3a5e54e39c090d7340081c7cf1
* arm-tdep.c: Include frame-unwind.h, frame-base.h, and
trad-frame.h.
(arm_get_cache): Delete macro.
(struct arm_prologue_cache): Update comments.  Make saved_regs into
a trad_frame_saved_reg pointer.  Remove unwound_pc; rename unwound_sp
to prev_sp.
(thumb_scan_prologue): Update for cache changes.  Don't call
DEPRECATED_PC_IN_CALL_DUMMY.
(arm_scan_prologue): Update for cache changes.  Take NEXT_FRAME
argument and use it in desperation search for our prologue.  Do not
search past the specified PC.
(arm_make_prologue_cache): Simplify.

(arm_prologue_this_id, arm_prologue_prev_register)
(arm_prologue_unwind, arm_prologue_unwind_sniffer)
(arm_normal_frame_base, arm_normal_base, arm_make_sigtramp_cache)
(arm_sigtramp_this_id, arm_sigtramp_prev_register)
(arm_sigtramp_unwind, arm_sigtramp_unwind_sniffer)
(arm_unwind_dummy_id, arm_unwind_pc, arm_unwind_sp): New.

(arm_frame_chain_valid, arm_find_callers_reg)
(arm_frame_saved_pc, arm_read_fp, arm_frame_init_saved_regs)
(arm_pop_frame): Delete obsolete methods.
(arm_minimal_frame_chain, arm_minimal_frame_info): Delete.

(arm_gdbarch_init): Update for new frame methods.  Register prologue
and sigtramp unwinders.  Set the default frame base method.

* Makefile.in (arm-tdep.o): Update dependencies.
* varobj.c (find_frame_addr_in_frame_chain): Call
get_frame_base_address.
* std-regs.c (value_of_builtin_frame_fp_reg): Likewise.
gdb/ChangeLog
gdb/Makefile.in
gdb/arm-tdep.c
gdb/std-regs.c
gdb/varobj.c