aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorJ.T. Conklin <jtc@acorntoolworks.com>2001-03-16 22:34:46 +0000
committerJ.T. Conklin <jtc@acorntoolworks.com>2001-03-16 22:34:46 +0000
commit7256e1a5bb9d90b2e266825da37b7362eb0f4828 (patch)
tree5f6c5031478469e52d01b19d5e82603e87d75e68 /gdb/config
parentf266096bea451f461f8c641088ef6a12219c62da (diff)
downloadgdb-7256e1a5bb9d90b2e266825da37b7362eb0f4828.zip
gdb-7256e1a5bb9d90b2e266825da37b7362eb0f4828.tar.gz
gdb-7256e1a5bb9d90b2e266825da37b7362eb0f4828.tar.bz2
* config/h8300/tm-h8300.h (FRAME_ARGS_ADDRESS): Changed to use
h8300_frame_args_address from frame_args_address. (FRAME_LOCALS_ADDRESS): Changed to use h8300_frame_locals_address from frame_locals_address. (PRINT_REGISTER_HOOK): Changed to use h8300_print_register_hook from print_register_hook. (h8300_frame_args_address): Declare. (h8300_frame_find_saved_regs): Declare. (h8300_frame_locals_address): Declare. (h8300_frame_saved_pc): Declare. (h8300_pop_frame): Declare. (h8300_print_register_hook): Declare. * h8300-tdep.c (h8300_frame_find_saved_regs): Removed declaration. (h8300_frame_args_address): Renamed from frame_args_address. (h8300_frame_locals_address): Renamed from frame_locals_address. (h8300_pop_frame): Renamed from pop_frame. (h8300_print_register_hook): Renamed from print_register_hook. -------------------------------------------------------------------
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/h8300/tm-h8300.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/gdb/config/h8300/tm-h8300.h b/gdb/config/h8300/tm-h8300.h
index 21127eb..1f76ccb 100644
--- a/gdb/config/h8300/tm-h8300.h
+++ b/gdb/config/h8300/tm-h8300.h
@@ -235,10 +235,13 @@ CORE_ADDR h8300_frame_chain (struct frame_info *);
*/
#define FRAME_SAVED_PC(FRAME) h8300_frame_saved_pc(FRAME)
+extern CORE_ADDR h8300_frame_saved_pc (struct frame_info *);
-#define FRAME_ARGS_ADDRESS(fi) frame_args_address(fi)
+#define FRAME_ARGS_ADDRESS(fi) h8300_frame_args_address(fi)
+extern CORE_ADDR h8300_frame_args_address (struct frame_info *);
-#define FRAME_LOCALS_ADDRESS(fi) frame_locals_address(fi);
+#define FRAME_LOCALS_ADDRESS(fi) h8300_frame_locals_address(fi)
+extern CORE_ADDR h8300_frame_locals_address (struct frame_info *);
/* Set VAL to the number of args passed to frame described by FI.
Can set VAL to -1, meaning no way to tell. */
@@ -260,12 +263,15 @@ CORE_ADDR h8300_frame_chain (struct frame_info *);
#define FRAME_FIND_SAVED_REGS(frame_info, frame_saved_regs) \
h8300_frame_find_saved_regs(frame_info, &(frame_saved_regs))
+extern void h8300_frame_find_saved_regs (struct frame_info *,
+ struct frame_saved_regs *);
typedef unsigned short INSN_WORD;
-#define PRINT_REGISTER_HOOK(regno) print_register_hook(regno)
+#define PRINT_REGISTER_HOOK(regno) h8300_print_register_hook(regno)
+extern void h8300_print_register_hook (int);
#define GDB_TARGET_IS_H8300
@@ -292,6 +298,7 @@ extern CORE_ADDR h8300_push_arguments (int nargs,
unsigned char struct_return,
CORE_ADDR struct_addr);
extern CORE_ADDR h8300_push_return_address (CORE_ADDR, CORE_ADDR);
+extern void h8300_pop_frame (void);
#define PC_IN_CALL_DUMMY(PC, SP, FP) generic_pc_in_call_dummy (PC, SP, FP)
#define FIX_CALL_DUMMY(DUMMY, START_SP, FUNADDR, NARGS, ARGS, TYPE, GCCP)