diff options
author | Kevin Buettner <kevinb@redhat.com> | 2000-05-28 01:12:42 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2000-05-28 01:12:42 +0000 |
commit | a14ed312fd86dd2c862847230931451da2e49942 (patch) | |
tree | e7a00cec4f6ebd4b2d5dd59695c802ef6997d9da /gdb/config/pa | |
parent | 3c07fb76e69e648d58d507fdb05cf8d461d87dcb (diff) | |
download | gdb-a14ed312fd86dd2c862847230931451da2e49942.zip gdb-a14ed312fd86dd2c862847230931451da2e49942.tar.gz gdb-a14ed312fd86dd2c862847230931451da2e49942.tar.bz2 |
PARAMS removal.
Diffstat (limited to 'gdb/config/pa')
-rw-r--r-- | gdb/config/pa/nm-hppah.h | 20 | ||||
-rw-r--r-- | gdb/config/pa/tm-hppa.h | 51 | ||||
-rw-r--r-- | gdb/config/pa/tm-hppa64.h | 2 | ||||
-rw-r--r-- | gdb/config/pa/xm-hppah.h | 9 |
4 files changed, 38 insertions, 44 deletions
diff --git a/gdb/config/pa/nm-hppah.h b/gdb/config/pa/nm-hppah.h index c7466ca..1af0ec9 100644 --- a/gdb/config/pa/nm-hppah.h +++ b/gdb/config/pa/nm-hppah.h @@ -70,7 +70,7 @@ /* While this is for use by threaded programs, it doesn't appear * to hurt non-threaded ones. This is used in infrun.c: */ #define PREPARE_TO_PROCEED(select_it) hppa_prepare_to_proceed() -extern int hppa_prepare_to_proceed PARAMS ((void)); +extern int hppa_prepare_to_proceed (void); /* In infptrace.c or infttrace.c: */ #define CHILD_PID_TO_EXEC_FILE @@ -93,10 +93,10 @@ extern int hppa_prepare_to_proceed PARAMS ((void)); #define CHILD_PID_TO_STR #define REQUIRE_ATTACH(pid) hppa_require_attach(pid) -extern int hppa_require_attach PARAMS ((int)); +extern int hppa_require_attach (int); #define REQUIRE_DETACH(pid,signal) hppa_require_detach(pid,signal) -extern int hppa_require_detach PARAMS ((int, int)); +extern int hppa_require_detach (int, int); /* So we can cleanly use code in infptrace.c. */ #define PT_KILL PT_EXIT @@ -210,11 +210,11 @@ extern int hppa_require_detach PARAMS ((int, int)); */ #define TARGET_ENABLE_HW_WATCHPOINTS(pid) \ hppa_enable_page_protection_events (pid) -extern void hppa_enable_page_protection_events PARAMS ((int)); +extern void hppa_enable_page_protection_events (int); #define TARGET_DISABLE_HW_WATCHPOINTS(pid) \ hppa_disable_page_protection_events (pid) -extern void hppa_disable_page_protection_events PARAMS ((int)); +extern void hppa_disable_page_protection_events (int); /* Use these macros for watchpoint insertion/deletion. */ #define target_insert_watchpoint(addr, len, type) \ @@ -228,11 +228,11 @@ extern void hppa_disable_page_protection_events PARAMS ((int)); * the string. Code is in hppah-nat.c. */ -extern char *child_pid_to_str PARAMS ((pid_t)); +extern char *child_pid_to_str (pid_t); #define target_tid_to_str( pid ) \ hppa_tid_to_str( pid ) -extern char *hppa_tid_to_str PARAMS ((pid_t)); +extern char *hppa_tid_to_str (pid_t); /* For this, ID can be either a process or thread ID, and the function will describe it appropriately, returning the description as a printable @@ -243,7 +243,7 @@ extern char *hppa_tid_to_str PARAMS ((pid_t)); */ #define target_pid_or_tid_to_str(ID) \ hppa_pid_or_tid_to_str (ID) -extern char *hppa_pid_or_tid_to_str PARAMS ((pid_t)); +extern char *hppa_pid_or_tid_to_str (pid_t); /* This is used when handling events caused by a call to vfork(). On ptrace- based HP-UXs, when you resume the vforked child, the parent automagically @@ -261,7 +261,7 @@ extern char *hppa_pid_or_tid_to_str PARAMS ((pid_t)); */ #define ENSURE_VFORKING_PARENT_REMAINS_STOPPED(PID) \ hppa_ensure_vforking_parent_remains_stopped (PID) -extern void hppa_ensure_vforking_parent_remains_stopped PARAMS ((int)); +extern void hppa_ensure_vforking_parent_remains_stopped (int); /* This is used when handling events caused by a call to vfork(). @@ -275,7 +275,7 @@ extern void hppa_ensure_vforking_parent_remains_stopped PARAMS ((int)); */ #define RESUME_EXECD_VFORKING_CHILD_TO_GET_PARENT_VFORK() \ hppa_resume_execd_vforking_child_to_get_parent_vfork () -extern int hppa_resume_execd_vforking_child_to_get_parent_vfork PARAMS ((void)); +extern int hppa_resume_execd_vforking_child_to_get_parent_vfork (void); #define HPUXHPPA diff --git a/gdb/config/pa/tm-hppa.h b/gdb/config/pa/tm-hppa.h index 975820a..2dbb74b 100644 --- a/gdb/config/pa/tm-hppa.h +++ b/gdb/config/pa/tm-hppa.h @@ -70,24 +70,24 @@ struct inferior_status; /* Advance PC across any function entry prologue instructions to reach some "real" code. */ -extern CORE_ADDR hppa_skip_prologue PARAMS ((CORE_ADDR)); +extern CORE_ADDR hppa_skip_prologue (CORE_ADDR); #define SKIP_PROLOGUE(pc) (hppa_skip_prologue (pc)) /* If PC is in some function-call trampoline code, return the PC where the function itself actually starts. If not, return NULL. */ #define SKIP_TRAMPOLINE_CODE(pc) skip_trampoline_code (pc, NULL) -extern CORE_ADDR skip_trampoline_code PARAMS ((CORE_ADDR, char *)); +extern CORE_ADDR skip_trampoline_code (CORE_ADDR, char *); /* Return non-zero if we are in an appropriate trampoline. */ #define IN_SOLIB_CALL_TRAMPOLINE(pc, name) \ in_solib_call_trampoline (pc, name) -extern int in_solib_call_trampoline PARAMS ((CORE_ADDR, char *)); +extern int in_solib_call_trampoline (CORE_ADDR, char *); #define IN_SOLIB_RETURN_TRAMPOLINE(pc, name) \ in_solib_return_trampoline (pc, name) -extern int in_solib_return_trampoline PARAMS ((CORE_ADDR, char *)); +extern int in_solib_return_trampoline (CORE_ADDR, char *); /* Immediately after a function call, return the saved pc. Can't go through the frames for this because on some machines @@ -96,7 +96,7 @@ extern int in_solib_return_trampoline PARAMS ((CORE_ADDR, char *)); #undef SAVED_PC_AFTER_CALL #define SAVED_PC_AFTER_CALL(frame) saved_pc_after_call (frame) -extern CORE_ADDR saved_pc_after_call PARAMS ((struct frame_info *)); +extern CORE_ADDR saved_pc_after_call (struct frame_info *); /* Stack grows upward */ #define INNER_THAN(lhs,rhs) ((lhs) > (rhs)) @@ -258,7 +258,7 @@ extern CORE_ADDR saved_pc_after_call PARAMS ((struct frame_info *)); of register dumps. */ #define DO_REGISTERS_INFO(_regnum, fp) pa_do_registers_info (_regnum, fp) -extern void pa_do_registers_info PARAMS ((int, int)); +extern void pa_do_registers_info (int, int); #if 0 #define STRCAT_REGISTER(regnum, fpregs, stream, precision) pa_do_strcat_registers_info (regnum, fpregs, stream, precision) @@ -403,7 +403,7 @@ extern use_struct_convention_fn hppa_use_struct_convention; ((regno) > IPSW_REGNUM && (regno) < FP4_REGNUM) #define INIT_EXTRA_FRAME_INFO(fromleaf, frame) init_extra_frame_info (fromleaf, frame) -extern void init_extra_frame_info PARAMS ((int, struct frame_info *)); +extern void init_extra_frame_info (int, struct frame_info *); /* Describe the pointer in each stack frame to the previous stack frame (its caller). */ @@ -423,9 +423,9 @@ extern void init_extra_frame_info PARAMS ((int, struct frame_info *)); address (previous FP). */ #define FRAME_CHAIN(thisframe) frame_chain (thisframe) -extern CORE_ADDR frame_chain PARAMS ((struct frame_info *)); +extern CORE_ADDR frame_chain (struct frame_info *); -extern int hppa_frame_chain_valid PARAMS ((CORE_ADDR, struct frame_info *)); +extern int hppa_frame_chain_valid (CORE_ADDR, struct frame_info *); #define FRAME_CHAIN_VALID(chain, thisframe) hppa_frame_chain_valid (chain, thisframe) #define FRAME_CHAIN_COMBINE(chain, thisframe) (chain) @@ -437,9 +437,9 @@ extern int hppa_frame_chain_valid PARAMS ((CORE_ADDR, struct frame_info *)); does not, FRAMELESS is set to 1, else 0. */ #define FRAMELESS_FUNCTION_INVOCATION(FI) \ (frameless_function_invocation (FI)) -extern int frameless_function_invocation PARAMS ((struct frame_info *)); +extern int frameless_function_invocation (struct frame_info *); -extern CORE_ADDR hppa_frame_saved_pc PARAMS ((struct frame_info * frame)); +extern CORE_ADDR hppa_frame_saved_pc (struct frame_info *frame); #define FRAME_SAVED_PC(FRAME) hppa_frame_saved_pc (FRAME) #define FRAME_ARGS_ADDRESS(fi) ((fi)->frame) @@ -459,8 +459,7 @@ extern CORE_ADDR hppa_frame_saved_pc PARAMS ((struct frame_info * frame)); #define FRAME_FIND_SAVED_REGS(frame_info, frame_saved_regs) \ hppa_frame_find_saved_regs (frame_info, &frame_saved_regs) extern void -hppa_frame_find_saved_regs PARAMS ((struct frame_info *, - struct frame_saved_regs *)); +hppa_frame_find_saved_regs (struct frame_info *, struct frame_saved_regs *); /* Things needed for making the inferior call functions. */ @@ -468,12 +467,12 @@ hppa_frame_find_saved_regs PARAMS ((struct frame_info *, /* Push an empty stack frame, to record the current PC, etc. */ #define PUSH_DUMMY_FRAME push_dummy_frame (inf_status) -extern void push_dummy_frame PARAMS ((struct inferior_status *)); +extern void push_dummy_frame (struct inferior_status *); /* Discard from the stack the innermost frame, restoring all saved registers. */ #define POP_FRAME hppa_pop_frame () -extern void hppa_pop_frame PARAMS ((void)); +extern void hppa_pop_frame (void); #define INSTRUCTION_SIZE 4 @@ -619,14 +618,13 @@ extern void hppa_pop_frame PARAMS ((void)); #define FIX_CALL_DUMMY hppa_fix_call_dummy extern CORE_ADDR - hppa_fix_call_dummy PARAMS ((char *, CORE_ADDR, CORE_ADDR, int, - struct value **, struct type *, int)); +hppa_fix_call_dummy (char *, CORE_ADDR, CORE_ADDR, int, + struct value **, struct type *, int); #define PUSH_ARGUMENTS(nargs, args, sp, struct_return, struct_addr) \ (hppa_push_arguments((nargs), (args), (sp), (struct_return), (struct_addr))) extern CORE_ADDR - hppa_push_arguments PARAMS ((int, struct value **, CORE_ADDR, int, - CORE_ADDR)); +hppa_push_arguments (int, struct value **, CORE_ADDR, int, CORE_ADDR); /* The low two bits of the PC on the PA contain the privilege level. Some genius implementing a (non-GCC) compiler apparently decided this means @@ -760,26 +758,25 @@ typedef struct obj_private_struct obj_private_data_t; #if 0 -extern void target_write_pc -PARAMS ((CORE_ADDR, int)) - extern CORE_ADDR target_read_pc PARAMS ((int)); - extern CORE_ADDR skip_trampoline_code PARAMS ((CORE_ADDR, char *)); +extern void target_write_pc (CORE_ADDR, int); +extern CORE_ADDR target_read_pc (int); +extern CORE_ADDR skip_trampoline_code (CORE_ADDR, char *); #endif #define TARGET_READ_PC(pid) target_read_pc (pid) - extern CORE_ADDR target_read_pc PARAMS ((int)); +extern CORE_ADDR target_read_pc (int); #define TARGET_WRITE_PC(v,pid) target_write_pc (v,pid) - extern void target_write_pc PARAMS ((CORE_ADDR, int)); +extern void target_write_pc (CORE_ADDR, int); #define TARGET_READ_FP() target_read_fp (inferior_pid) - extern CORE_ADDR target_read_fp PARAMS ((int)); +extern CORE_ADDR target_read_fp (int); /* For a number of horrible reasons we may have to adjust the location of variables on the stack. Ugh. */ #define HPREAD_ADJUST_STACK_ADDRESS(ADDR) hpread_adjust_stack_address(ADDR) - extern int hpread_adjust_stack_address PARAMS ((CORE_ADDR)); +extern int hpread_adjust_stack_address (CORE_ADDR); /* If the current gcc for for this target does not produce correct debugging information for float parameters, both prototyped and unprototyped, then diff --git a/gdb/config/pa/tm-hppa64.h b/gdb/config/pa/tm-hppa64.h index 7f30c66..7165477 100644 --- a/gdb/config/pa/tm-hppa64.h +++ b/gdb/config/pa/tm-hppa64.h @@ -140,7 +140,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ of variables on the stack. Ugh. jimb: why? */ #define HPREAD_ADJUST_STACK_ADDRESS(ADDR) hpread_adjust_stack_address(ADDR) -extern int hpread_adjust_stack_address PARAMS ((CORE_ADDR)); +extern int hpread_adjust_stack_address (CORE_ADDR); /* jimb: omitted dynamic linking stuff here */ diff --git a/gdb/config/pa/xm-hppah.h b/gdb/config/pa/xm-hppah.h index 1542d32..913b70a 100644 --- a/gdb/config/pa/xm-hppah.h +++ b/gdb/config/pa/xm-hppah.h @@ -40,11 +40,8 @@ #define MALLOC_INCOMPATIBLE -extern void * - malloc PARAMS ((size_t)); +extern void *malloc (size_t); -extern void * - realloc PARAMS ((void *, size_t)); +extern void *realloc (void *, size_t); -extern void -free PARAMS ((void *)); +extern void free (void *); |