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/m68k | |
parent | 3c07fb76e69e648d58d507fdb05cf8d461d87dcb (diff) | |
download | gdb-a14ed312fd86dd2c862847230931451da2e49942.zip gdb-a14ed312fd86dd2c862847230931451da2e49942.tar.gz gdb-a14ed312fd86dd2c862847230931451da2e49942.tar.bz2 |
PARAMS removal.
Diffstat (limited to 'gdb/config/m68k')
-rw-r--r-- | gdb/config/m68k/nm-dpx2.h | 3 | ||||
-rw-r--r-- | gdb/config/m68k/nm-linux.h | 5 | ||||
-rw-r--r-- | gdb/config/m68k/tm-altos.h | bin | 2313 -> 2306 bytes | |||
-rw-r--r-- | gdb/config/m68k/tm-cisco.h | 2 | ||||
-rw-r--r-- | gdb/config/m68k/tm-delta68.h | 8 | ||||
-rw-r--r-- | gdb/config/m68k/tm-es1800.h | 2 | ||||
-rw-r--r-- | gdb/config/m68k/tm-isi.h | 4 | ||||
-rw-r--r-- | gdb/config/m68k/tm-linux.h | 4 | ||||
-rw-r--r-- | gdb/config/m68k/tm-m68k.h | 11 | ||||
-rw-r--r-- | gdb/config/m68k/tm-m68kv4.h | 2 | ||||
-rw-r--r-- | gdb/config/m68k/tm-news.h | 2 | ||||
-rw-r--r-- | gdb/config/m68k/tm-sun3.h | 2 | ||||
-rw-r--r-- | gdb/config/m68k/tm-vx68.h | 2 | ||||
-rw-r--r-- | gdb/config/m68k/xm-hp300bsd.h | 2 |
14 files changed, 24 insertions, 25 deletions
diff --git a/gdb/config/m68k/nm-dpx2.h b/gdb/config/m68k/nm-dpx2.h index b24e7c2..3638947 100644 --- a/gdb/config/m68k/nm-dpx2.h +++ b/gdb/config/m68k/nm-dpx2.h @@ -23,8 +23,7 @@ #define REGISTER_U_ADDR(addr, blockend, regno) \ (addr) = dpx2_register_u_addr ((blockend),(regno)); -extern int -dpx2_register_u_addr PARAMS ((int, int)); +extern int dpx2_register_u_addr (int, int); /* Kernel is a bit tenacious about sharing text segments, disallowing bpts. */ #define ONE_PROCESS_WRITETEXT diff --git a/gdb/config/m68k/nm-linux.h b/gdb/config/m68k/nm-linux.h index e5846c6..3f0d2dd 100644 --- a/gdb/config/m68k/nm-linux.h +++ b/gdb/config/m68k/nm-linux.h @@ -26,14 +26,13 @@ /* Return sizeof user struct to callers in less machine dependent routines */ #define KERNEL_U_SIZE kernel_u_size() -extern int kernel_u_size PARAMS ((void)); +extern int kernel_u_size (void); #define U_REGS_OFFSET 0 #define REGISTER_U_ADDR(addr, blockend, regno) \ (addr) = m68k_linux_register_u_addr ((blockend),(regno)); -extern int -m68k_linux_register_u_addr PARAMS ((int, int)); +extern int m68k_linux_register_u_addr (int, int); #endif /* #ifndef NM_LINUX_H */ diff --git a/gdb/config/m68k/tm-altos.h b/gdb/config/m68k/tm-altos.h Binary files differindex 4483aa0..26a0302 100644 --- a/gdb/config/m68k/tm-altos.h +++ b/gdb/config/m68k/tm-altos.h diff --git a/gdb/config/m68k/tm-cisco.h b/gdb/config/m68k/tm-cisco.h index ae8de66..e27432d 100644 --- a/gdb/config/m68k/tm-cisco.h +++ b/gdb/config/m68k/tm-cisco.h @@ -48,7 +48,7 @@ This routine returns true on success */ #define GET_LONGJMP_TARGET(ADDR) get_longjmp_target(ADDR) -extern int get_longjmp_target PARAMS ((CORE_ADDR *)); +extern int get_longjmp_target (CORE_ADDR *); /* BFD handles finding the registers in the core file, so they are at the start of the BFD .reg section. */ diff --git a/gdb/config/m68k/tm-delta68.h b/gdb/config/m68k/tm-delta68.h index 745bd00..b4de935 100644 --- a/gdb/config/m68k/tm-delta68.h +++ b/gdb/config/m68k/tm-delta68.h @@ -76,7 +76,7 @@ /* Return number of args passed to a frame. Can return -1, meaning no way to tell. */ -extern int delta68_frame_num_args PARAMS ((struct frame_info * fi)); +extern int delta68_frame_num_args (struct frame_info *fi); #define FRAME_NUM_ARGS(fi) (delta68_frame_num_args ((fi))) /* On M68040 versions of sysV68 R3V7.1, ptrace(PT_WRITE_I) does not clear @@ -93,13 +93,13 @@ extern int delta68_frame_num_args PARAMS ((struct frame_info * fi)); #define EXTRACT_STRUCT_VALUE_ADDRESS(REGBUF)\ (*(CORE_ADDR *)((char*)(REGBUF) + 8 * 4)) -extern int delta68_in_sigtramp PARAMS ((CORE_ADDR pc, char * name)); +extern int delta68_in_sigtramp (CORE_ADDR pc, char *name); #define IN_SIGTRAMP(pc,name) delta68_in_sigtramp (pc, name) -extern CORE_ADDR delta68_frame_saved_pc PARAMS ((struct frame_info * fi)); +extern CORE_ADDR delta68_frame_saved_pc (struct frame_info *fi); #undef FRAME_SAVED_PC #define FRAME_SAVED_PC(fi) delta68_frame_saved_pc (fi) -extern CORE_ADDR delta68_frame_args_address PARAMS ((struct frame_info * fi)); +extern CORE_ADDR delta68_frame_args_address (struct frame_info *fi); #undef FRAME_ARGS_ADDRESS #define FRAME_ARGS_ADDRESS(fi) delta68_frame_args_address (fi) diff --git a/gdb/config/m68k/tm-es1800.h b/gdb/config/m68k/tm-es1800.h index ad1f235..b6f1588 100644 --- a/gdb/config/m68k/tm-es1800.h +++ b/gdb/config/m68k/tm-es1800.h @@ -57,4 +57,4 @@ This routine returns true on success */ #define GET_LONGJMP_TARGET(ADDR) get_longjmp_target(ADDR) -extern int get_longjmp_target PARAMS ((CORE_ADDR *)); +extern int get_longjmp_target (CORE_ADDR *); diff --git a/gdb/config/m68k/tm-isi.h b/gdb/config/m68k/tm-isi.h index 1442d17..f11b823 100644 --- a/gdb/config/m68k/tm-isi.h +++ b/gdb/config/m68k/tm-isi.h @@ -42,7 +42,7 @@ /* Return number of args passed to a frame. Can return -1, meaning no way to tell. */ -extern int isi_frame_num_args PARAMS ((struct frame_info * fi)); +extern int isi_frame_num_args (struct frame_info *fi); #define FRAME_NUM_ARGS(fi) (isi_frame_num_args ((fi))) /* Put here the code to store, into a struct frame_saved_regs, @@ -122,7 +122,7 @@ retry: \ /* The only reason this is here is the tm-isi.h reference below. It was moved back here from tm-m68k.h. FIXME? */ -extern CORE_ADDR isi_skip_prologue PARAMS ((CORE_ADDR)); +extern CORE_ADDR isi_skip_prologue (CORE_ADDR); #define SKIP_PROLOGUE(pc) (isi_skip_prologue (pc)) #include "m68k/tm-m68k.h" diff --git a/gdb/config/m68k/tm-linux.h b/gdb/config/m68k/tm-linux.h index ccf4a7a..1d47d46 100644 --- a/gdb/config/m68k/tm-linux.h +++ b/gdb/config/m68k/tm-linux.h @@ -104,7 +104,7 @@ ? sigtramp_saved_pc (FRAME) \ : read_memory_integer ((FRAME)->frame + 4, 4))) -extern CORE_ADDR sigtramp_saved_pc PARAMS ((struct frame_info *)); +extern CORE_ADDR sigtramp_saved_pc (struct frame_info *); #define IN_SIGTRAMP(pc,name) in_sigtramp (pc) -extern int in_sigtramp PARAMS ((CORE_ADDR pc)); +extern int in_sigtramp (CORE_ADDR pc); diff --git a/gdb/config/m68k/tm-m68k.h b/gdb/config/m68k/tm-m68k.h index 03cf9b3..38068c6 100644 --- a/gdb/config/m68k/tm-m68k.h +++ b/gdb/config/m68k/tm-m68k.h @@ -36,7 +36,7 @@ #if !defined(SKIP_PROLOGUE) #define SKIP_PROLOGUE(ip) (m68k_skip_prologue (ip)) #endif -extern CORE_ADDR m68k_skip_prologue PARAMS ((CORE_ADDR ip)); +extern CORE_ADDR m68k_skip_prologue (CORE_ADDR ip); /* Immediately after a function call, return the saved pc. Can't always go through the frames for this because on some machines @@ -46,8 +46,9 @@ extern CORE_ADDR m68k_skip_prologue PARAMS ((CORE_ADDR ip)); struct frame_info; struct frame_saved_regs; -extern CORE_ADDR m68k_saved_pc_after_call PARAMS ((struct frame_info *)); -extern void m68k_find_saved_regs PARAMS ((struct frame_info *, struct frame_saved_regs *)); +extern CORE_ADDR m68k_saved_pc_after_call (struct frame_info *); +extern void m68k_find_saved_regs (struct frame_info *, + struct frame_saved_regs *); #define SAVED_PC_AFTER_CALL(frame) \ m68k_saved_pc_after_call(frame) @@ -372,9 +373,9 @@ do \ #define PUSH_DUMMY_FRAME { m68k_push_dummy_frame (); } -extern void m68k_push_dummy_frame PARAMS ((void)); +extern void m68k_push_dummy_frame (void); -extern void m68k_pop_frame PARAMS ((void)); +extern void m68k_pop_frame (void); /* Discard from the stack the innermost frame, restoring all registers. */ diff --git a/gdb/config/m68k/tm-m68kv4.h b/gdb/config/m68k/tm-m68kv4.h index 84ebb0e..8f6f15e 100644 --- a/gdb/config/m68k/tm-m68kv4.h +++ b/gdb/config/m68k/tm-m68kv4.h @@ -65,7 +65,7 @@ This routine returns true on success */ #define GET_LONGJMP_TARGET(ADDR) get_longjmp_target(ADDR) -extern int get_longjmp_target PARAMS ((CORE_ADDR *)); +extern int get_longjmp_target (CORE_ADDR *); /* Convert a DWARF register number to a gdb REGNUM. */ #define DWARF_REG_TO_REGNUM(num) ((num) < 16 ? (num) : (num)+FP0_REGNUM-16) diff --git a/gdb/config/m68k/tm-news.h b/gdb/config/m68k/tm-news.h index ff9230b..9d1661f 100644 --- a/gdb/config/m68k/tm-news.h +++ b/gdb/config/m68k/tm-news.h @@ -60,7 +60,7 @@ /* Return number of args passed to a frame. Can return -1, meaning no way to tell. */ -extern int news_frame_num_args PARAMS ((struct frame_info * fi)); +extern int news_frame_num_args (struct frame_info *fi); #define FRAME_NUM_ARGS(fi) (news_frame_num_args ((fi))) #include "m68k/tm-m68k.h" diff --git a/gdb/config/m68k/tm-sun3.h b/gdb/config/m68k/tm-sun3.h index ce88045..0c8651a 100644 --- a/gdb/config/m68k/tm-sun3.h +++ b/gdb/config/m68k/tm-sun3.h @@ -75,7 +75,7 @@ This routine returns true on success */ #define GET_LONGJMP_TARGET(ADDR) get_longjmp_target(ADDR) -extern int get_longjmp_target PARAMS ((CORE_ADDR *)); +extern int get_longjmp_target (CORE_ADDR *); /* If sun3 pcc says that a parameter is a short, it's a short. */ #define BELIEVE_PCC_PROMOTION_TYPE diff --git a/gdb/config/m68k/tm-vx68.h b/gdb/config/m68k/tm-vx68.h index 743220e..9ce812d 100644 --- a/gdb/config/m68k/tm-vx68.h +++ b/gdb/config/m68k/tm-vx68.h @@ -77,7 +77,7 @@ This routine returns true on success */ #define GET_LONGJMP_TARGET(ADDR) get_longjmp_target(ADDR) -extern int get_longjmp_target PARAMS ((CORE_ADDR *)); +extern int get_longjmp_target (CORE_ADDR *); /* Number of registers in a ptrace_getregs call. */ diff --git a/gdb/config/m68k/xm-hp300bsd.h b/gdb/config/m68k/xm-hp300bsd.h index 0da48bc..3911801 100644 --- a/gdb/config/m68k/xm-hp300bsd.h +++ b/gdb/config/m68k/xm-hp300bsd.h @@ -31,7 +31,7 @@ /* Kernel is a bit tenacious about sharing text segments, disallowing bpts. */ #define ONE_PROCESS_WRITETEXT -extern char *strdup PARAMS ((const char *)); +extern char *strdup (const char *); /* Interface definitions for kernel debugger KDB. */ |