diff options
Diffstat (limited to 'gdb/config/h8500/tm-h8500.h')
-rw-r--r-- | gdb/config/h8500/tm-h8500.h | 35 |
1 files changed, 18 insertions, 17 deletions
diff --git a/gdb/config/h8500/tm-h8500.h b/gdb/config/h8500/tm-h8500.h index 070ac27..00eb218 100644 --- a/gdb/config/h8500/tm-h8500.h +++ b/gdb/config/h8500/tm-h8500.h @@ -45,7 +45,7 @@ to reach some "real" code. */ #define SKIP_PROLOGUE(ip) (h8500_skip_prologue (ip)) -extern CORE_ADDR h8500_skip_prologue PARAMS ((CORE_ADDR)); +extern CORE_ADDR h8500_skip_prologue (CORE_ADDR); /* Immediately after a function call, return the saved pc. Can't always go through the frames for this because on some machines @@ -53,7 +53,7 @@ extern CORE_ADDR h8500_skip_prologue PARAMS ((CORE_ADDR)); some instructions. */ #define SAVED_PC_AFTER_CALL(frame) saved_pc_after_call() -extern CORE_ADDR saved_pc_after_call PARAMS ((void)); +extern CORE_ADDR saved_pc_after_call (void); /* Stack grows downward. */ @@ -86,7 +86,7 @@ extern CORE_ADDR saved_pc_after_call PARAMS ((void)); for register N. */ #define REGISTER_RAW_SIZE(N) h8500_register_size(N) -extern int h8500_register_size PARAMS ((int regno)); +extern int h8500_register_size (int regno); #define REGISTER_SIZE 4 @@ -104,7 +104,7 @@ extern int h8500_register_size PARAMS ((int regno)); of data in register N. */ #define REGISTER_VIRTUAL_TYPE(N) h8500_register_virtual_type(N) -extern struct type *h8500_register_virtual_type PARAMS ((int regno)); +extern struct type *h8500_register_virtual_type (int regno); /* Initializer for an array of names of registers. Entries beyond the first NUM_REGS are ignored. */ @@ -207,10 +207,10 @@ extern struct type *h8500_register_virtual_type PARAMS ((int regno)); #define FRAME_CHAIN(FRAME) h8500_frame_chain(FRAME) struct frame_info; -extern CORE_ADDR h8500_frame_chain PARAMS ((struct frame_info *)); +extern CORE_ADDR h8500_frame_chain (struct frame_info *); #define FRAME_SAVED_PC(FRAME) frame_saved_pc(FRAME) -extern CORE_ADDR frame_saved_pc PARAMS ((struct frame_info * frame)); +extern CORE_ADDR frame_saved_pc (struct frame_info *frame); #define FRAME_ARGS_ADDRESS(fi) ((fi)->frame) @@ -237,26 +237,27 @@ extern CORE_ADDR frame_saved_pc PARAMS ((struct frame_info * frame)); #define FRAME_FIND_SAVED_REGS(frame_info, frame_saved_regs) \ frame_find_saved_regs(frame_info, &(frame_saved_regs)) struct frame_saved_regs; -extern void frame_find_saved_regs PARAMS ((struct frame_info * frame_info, struct frame_saved_regs * frame_saved_regs)); +extern void frame_find_saved_regs (struct frame_info *frame_info, + struct frame_saved_regs *frame_saved_regs); /* Discard from the stack the innermost frame, restoring all registers. */ #define POP_FRAME { h8500_pop_frame (); } -extern void h8500_pop_frame PARAMS ((void)); +extern void h8500_pop_frame (void); #define SHORT_INT_MAX 32767 #define SHORT_INT_MIN -32768 typedef unsigned short INSN_WORD; -extern CORE_ADDR h8500_addr_bits_remove PARAMS ((CORE_ADDR)); +extern CORE_ADDR h8500_addr_bits_remove (CORE_ADDR); #define ADDR_BITS_REMOVE(addr) h8500_addr_bits_remove (addr) #define read_memory_short(x) (read_memory_integer(x,2) & 0xffff) #define PRINT_REGISTER_HOOK(regno) print_register_hook(regno) -extern void print_register_hook PARAMS ((int)); +extern void print_register_hook (int); extern int minimum_mode; @@ -265,7 +266,7 @@ extern int minimum_mode; /* Fake variables to make it easy to use 24 bit register pointers */ #define IS_TRAPPED_INTERNALVAR h8500_is_trapped_internalvar -extern int h8500_is_trapped_internalvar PARAMS ((char *name)); +extern int h8500_is_trapped_internalvar (char *name); #define VALUE_OF_TRAPPED_INTERNALVAR h8500_value_of_trapped_internalvar extern struct value *h8500_value_of_trapped_internalvar ( /* struct internalvar *var */ ); @@ -273,14 +274,14 @@ extern struct value *h8500_value_of_trapped_internalvar ( /* struct internalvar #define SET_TRAPPED_INTERNALVAR h8500_set_trapped_internalvar extern void h8500_set_trapped_internalvar ( /* struct internalvar *var, value newval, int bitpos, int bitsize, int offset */ ); -extern CORE_ADDR h8500_read_sp PARAMS ((void)); -extern void h8500_write_sp PARAMS ((CORE_ADDR)); +extern CORE_ADDR h8500_read_sp (void); +extern void h8500_write_sp (CORE_ADDR); -extern CORE_ADDR h8500_read_fp PARAMS ((void)); -extern void h8500_write_fp PARAMS ((CORE_ADDR)); +extern CORE_ADDR h8500_read_fp (void); +extern void h8500_write_fp (CORE_ADDR); -extern CORE_ADDR h8500_read_pc PARAMS ((int)); -extern void h8500_write_pc PARAMS ((CORE_ADDR, int)); +extern CORE_ADDR h8500_read_pc (int); +extern void h8500_write_pc (CORE_ADDR, int); #define TARGET_READ_SP() h8500_read_sp() #define TARGET_WRITE_SP(x) h8500_write_sp(x) |