diff options
Diffstat (limited to 'gdb/config/h8300')
-rw-r--r-- | gdb/config/h8300/tm-h8300.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gdb/config/h8300/tm-h8300.h b/gdb/config/h8300/tm-h8300.h index 8ee6816..27a79d7 100644 --- a/gdb/config/h8300/tm-h8300.h +++ b/gdb/config/h8300/tm-h8300.h @@ -159,7 +159,7 @@ extern char **h8300_register_names; /* FIXME: Won't work with both h8/300's. */ -extern void h8300_extract_return_value PARAMS ((struct type *, char *, char *)); +extern void h8300_extract_return_value (struct type *, char *, char *); #define EXTRACT_RETURN_VALUE(TYPE,REGBUF,VALBUF) \ h8300_extract_return_value (TYPE, (char *)(REGBUF), (char *)(VALBUF)) @@ -168,7 +168,7 @@ extern void h8300_extract_return_value PARAMS ((struct type *, char *, char *)); in d0/d1. */ /* FIXME: Won't work with both h8/300's. */ -extern void h8300_store_return_value PARAMS ((struct type *, char *)); +extern void h8300_store_return_value (struct type *, char *); #define STORE_RETURN_VALUE(TYPE,VALBUF) \ h8300_store_return_value(TYPE, (char *) (VALBUF)) @@ -196,7 +196,7 @@ extern void h8300_store_return_value PARAMS ((struct type *, char *)); it means the given frame is the outermost one and has no caller. */ #define FRAME_CHAIN(FRAME) h8300_frame_chain(FRAME) -CORE_ADDR h8300_frame_chain PARAMS ((struct frame_info *)); +CORE_ADDR h8300_frame_chain (struct frame_info *); /* In the case of the H8/300, the frame's nominal address is the address of a 2-byte word containing the calling frame's address. */ @@ -278,12 +278,12 @@ typedef unsigned short INSN_WORD; #define CALL_DUMMY_START_OFFSET (0) #define CALL_DUMMY_BREAKPOINT_OFFSET (0) -extern CORE_ADDR h8300_push_arguments PARAMS ((int nargs, - struct value ** args, - CORE_ADDR sp, - unsigned char struct_return, - CORE_ADDR struct_addr)); -extern CORE_ADDR h8300_push_return_address PARAMS ((CORE_ADDR, CORE_ADDR)); +extern CORE_ADDR h8300_push_arguments (int nargs, + struct value **args, + CORE_ADDR sp, + unsigned char struct_return, + CORE_ADDR struct_addr); +extern CORE_ADDR h8300_push_return_address (CORE_ADDR, CORE_ADDR); #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) |