diff options
author | J.T. Conklin <jtc@acorntoolworks.com> | 2001-03-16 22:34:46 +0000 |
---|---|---|
committer | J.T. Conklin <jtc@acorntoolworks.com> | 2001-03-16 22:34:46 +0000 |
commit | 7256e1a5bb9d90b2e266825da37b7362eb0f4828 (patch) | |
tree | 5f6c5031478469e52d01b19d5e82603e87d75e68 /gdb/h8300-tdep.c | |
parent | f266096bea451f461f8c641088ef6a12219c62da (diff) | |
download | gdb-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/h8300-tdep.c')
-rw-r--r-- | gdb/h8300-tdep.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/gdb/h8300-tdep.c b/gdb/h8300-tdep.c index 8815b2c..e335fdb 100644 --- a/gdb/h8300-tdep.c +++ b/gdb/h8300-tdep.c @@ -71,8 +71,6 @@ char **h8300_register_names = original_register_names; static CORE_ADDR examine_prologue (); static void set_machine_hook (char *filename); -void h8300_frame_find_saved_regs (); - CORE_ADDR h8300_skip_prologue (CORE_ADDR start_pc) { @@ -434,7 +432,7 @@ h8300_frame_saved_pc (struct frame_info *frame) } CORE_ADDR -frame_locals_address (struct frame_info *fi) +h8300_frame_locals_address (struct frame_info *fi) { if (PC_IN_CALL_DUMMY (fi->pc, fi->frame, fi->frame)) return (CORE_ADDR) 0; /* Not sure what else to do... */ @@ -452,7 +450,7 @@ frame_locals_address (struct frame_info *fi) described by FI. Returns 0 if the address is unknown. */ CORE_ADDR -frame_args_address (struct frame_info *fi) +h8300_frame_args_address (struct frame_info *fi) { if (PC_IN_CALL_DUMMY (fi->pc, fi->frame, fi->frame)) return (CORE_ADDR) 0; /* Not sure what else to do... */ @@ -611,7 +609,7 @@ h8300_push_return_address (CORE_ADDR pc, CORE_ADDR sp) return sp; } -/* Function: pop_frame +/* Function: h8300_pop_frame Restore the machine to the state it had before the current frame was created. Usually used either by the "RETURN" command, or by call_function_by_hand after the dummy_frame is finished. */ @@ -828,7 +826,7 @@ _initialize_h8300m (void) void -print_register_hook (int regno) +h8300_print_register_hook (int regno) { if (regno == 8) { |