Richard Earnshaw <rearnsha@arm.com>
authorRichard Earnshaw <richard.earnshaw@arm.com>
Mon, 21 Jan 2002 16:27:42 +0000 (16:27 +0000)
committerRichard Earnshaw <richard.earnshaw@arm.com>
Mon, 21 Jan 2002 16:27:42 +0000 (16:27 +0000)
commitc3b4394c3a649e2c04f792da63b67b4866b6b5f2
tree2520bc469ebc5360a07286df1354615579c5c195
parent7b45c6e1dabcb4860888f46ace53e7425741dce3
Richard Earnshaw  <rearnsha@arm.com>
and Kevin Buettner  <kevinb@redhat.com>
Convert arm targets to new FRAME interface.
* arm-tdep.c (struct frame_extra_info): Remove fsr.
(arm_frame_find_save_regs): Delete.
(arm_frame_init_saved_regs): New.
(arm_init_extra_frame_info): Alloacte saved_regs as required.
Allocate extra_info as required.  Convert all uses of fsr.regs
to use saved_regs, similarly all uses of EXTRA_FRAME_INFO fields
to use extra_info.
(thumb_scan_prologue, arm_scan_prologue, arm_find_callers_reg)
(arm_frame_chain, arm_frame_saved_pc, arm_pop_frame): Likewise.
(check_prologue_cache, save_prologue_cache): Likewise.
(_initialize_arm_tdep): Ensure prologue_cache is correctly set up.
* config/arm/tm-arm.h (EXTRA_FRAME_INFO): Delete.
(FRAME_FIND_SAVED_REGS): Delete.
(arm_frame_find_saved_regs): Delete prototype.
(arm_frame_init_saved_regs): New prototype.
(FRAME_INIT_SAVED_REGS): Define.
gdb/ChangeLog
gdb/arm-tdep.c
gdb/config/arm/tm-arm.h