diff options
author | Richard Earnshaw <richard.earnshaw@arm.com> | 2002-02-11 12:42:03 +0000 |
---|---|---|
committer | Richard Earnshaw <richard.earnshaw@arm.com> | 2002-02-11 12:42:03 +0000 |
commit | 148754e5ad48a902f33325152aba01af15fc6f55 (patch) | |
tree | 6a4a4da1aea06d73a764e12729175d4878f68ec0 /gdb/config | |
parent | 7ecd2f8b9dfd610b8c62cedb87ed513289c85c04 (diff) | |
download | gdb-148754e5ad48a902f33325152aba01af15fc6f55.zip gdb-148754e5ad48a902f33325152aba01af15fc6f55.tar.gz gdb-148754e5ad48a902f33325152aba01af15fc6f55.tar.bz2 |
* arm-tdep.c (arm_frameless_function_invocation)
(arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args)
(arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc)
(arm_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame)
(arm_pop_frame, arm_get_next_pc): Make static.
(arm_gdbarch_init): Register above in gdbarch structure.
(arm_read_fp): Renamed from arm_target_read_fp.
(arm_pc_is_thumb, arm_pc_is_thumb_dummy): Make static.
* config/arm/tm-arm.h (arm_frameless_function_invocation)
(arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args)
(arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc)
(arm_target_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame)
(arm_pop_frame, arm_get_next_pc, arm_pc_is_thumb)
(arm_pc_is_thumb_dummy): Delete declarations.
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/arm/tm-arm.h | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/gdb/config/arm/tm-arm.h b/gdb/config/arm/tm-arm.h index 0d62a5f..7067f0c 100644 --- a/gdb/config/arm/tm-arm.h +++ b/gdb/config/arm/tm-arm.h @@ -307,70 +307,6 @@ extern void convert_to_extended (void *dbl, void *ptr); before in the executables list of symbols. */ #define VARIABLES_INSIDE_BLOCK(desc, gcc_p) (!(gcc_p)) - -extern void arm_init_extra_frame_info (int fromleaf, struct frame_info * fi); -#define INIT_EXTRA_FRAME_INFO(fromleaf, fi) \ - arm_init_extra_frame_info ((fromleaf), (fi)) - -/* Return the frame address. On ARM, it is R11; on Thumb it is R7. */ -CORE_ADDR arm_target_read_fp (void); -#define TARGET_READ_FP() arm_target_read_fp () - -/* Describe the pointer in each stack frame to the previous stack - frame (its caller). */ - -/* FRAME_CHAIN takes a frame's nominal address and produces the - frame's chain-pointer. - - However, if FRAME_CHAIN_VALID returns zero, - it means the given frame is the outermost one and has no caller. */ - -CORE_ADDR arm_frame_chain (struct frame_info *); -#define FRAME_CHAIN(thisframe) arm_frame_chain (thisframe) - -/* Define other aspects of the stack frame. */ - -int arm_frameless_function_invocation (struct frame_info *fi); -#define FRAMELESS_FUNCTION_INVOCATION(FI) arm_frameless_function_invocation(FI) - -CORE_ADDR arm_frame_saved_pc (struct frame_info *); -#define FRAME_SAVED_PC(FI) arm_frame_saved_pc (FI) - -CORE_ADDR arm_frame_args_address(struct frame_info *); -#define FRAME_ARGS_ADDRESS(FI) arm_frame_args_address(FI) - -CORE_ADDR arm_frame_locals_address(struct frame_info *); -#define FRAME_LOCALS_ADDRESS(FI) arm_frame_locals_address(FI) - -int arm_frame_num_args(struct frame_info *); -#define FRAME_NUM_ARGS(FI) arm_frame_num_args(FI) - -/* Return number of bytes at start of arglist that are not really args. */ - -#define FRAME_ARGS_SKIP 0 - -/* Put here the code to store, into a struct frame_saved_regs, the - addresses of the saved registers of frame described by FRAME_INFO. - This includes special registers such as pc and fp saved in special - ways in the stack frame. sp is even more special: the address we - return for it IS the sp for the next frame. */ - -void arm_frame_init_saved_regs (struct frame_info *); -#define FRAME_INIT_SAVED_REGS(frame_info) \ - arm_frame_init_saved_regs (frame_info); - -/* Push an empty stack frame, to record the current PC, etc. */ - -void arm_push_dummy_frame (void); - -#define PUSH_DUMMY_FRAME arm_push_dummy_frame () - -/* Discard from the stack the innermost frame, restoring all registers. */ - -void arm_pop_frame (void); - -#define POP_FRAME arm_pop_frame () - #define CALL_DUMMY_WORDS arm_call_dummy_words extern LONGEST arm_call_dummy_words[]; @@ -399,9 +335,6 @@ void arm_fix_call_dummy (char *dummy, CORE_ADDR pc, CORE_ADDR fun, #define SOFTWARE_SINGLE_STEP(sig,bpt) arm_software_single_step((sig), (bpt)) void arm_software_single_step (int, int); -CORE_ADDR arm_get_next_pc (CORE_ADDR pc); - - struct minimal_symbol; void arm_elf_make_msymbol_special(asymbol *, struct minimal_symbol *); @@ -415,11 +348,4 @@ void arm_coff_make_msymbol_special(int, struct minimal_symbol *); /* The first 0x20 bytes are the trap vectors. */ #define LOWEST_PC 0x20 -/* Function to determine whether MEMADDR is in a Thumb function. */ -extern int arm_pc_is_thumb (bfd_vma memaddr); - -/* Function to determine whether MEMADDR is in a call dummy called from - a Thumb function. */ -extern int arm_pc_is_thumb_dummy (bfd_vma memaddr); - #endif /* TM_ARM_H */ |