diff options
author | Tom Tromey <tromey@redhat.com> | 2014-01-04 21:43:21 -0700 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2014-01-07 09:17:05 -0700 |
commit | bdca5ee4bcd2fce04de6c9eabdbef8d960298e02 (patch) | |
tree | a4b1e34ae5704f5e115c6db4f84d05eb8c5a636f /sim/mips/interp.c | |
parent | 1f635d209e61d900a6326aa281e697e31fcdae1e (diff) | |
download | gdb-bdca5ee4bcd2fce04de6c9eabdbef8d960298e02.zip gdb-bdca5ee4bcd2fce04de6c9eabdbef8d960298e02.tar.gz gdb-bdca5ee4bcd2fce04de6c9eabdbef8d960298e02.tar.bz2 |
remove PARAMS from sim
This removes the last uses of PARAMS from sim.
2014-01-06 Tom Tromey <tromey@redhat.com>
* README-HACKING: Don't use PARAMS.
* arm/wrapper.c: Don't use PARAMS.
* bfin/sim-main.h: Don't use PARAMS.
* common/callback.c: Don't use PARAMS.
* common/cgen-trace.c: Don't use PARAMS.
* common/run-sim.h: Don't use PARAMS.
* common/run.c: Don't use PARAMS.
* common/sim-base.h: Don't use PARAMS.
* common/sim-load.c: Don't use PARAMS.
* common/sim-options.h: Don't use PARAMS.
* common/sim-trace.c: Don't use PARAMS.
* common/sim-trace.h: Don't use PARAMS.
* common/sim-utils.h: Don't use PARAMS.
* cr16/cr16_sim.h: Don't use PARAMS.
* cr16/gencode.c: Don't use PARAMS.
* cr16/interp.c: Don't use PARAMS.
* cr16/simops.c: Don't use PARAMS.
* d10v/d10v_sim.h: Don't use PARAMS.
* d10v/gencode.c: Don't use PARAMS.
* d10v/interp.c: Don't use PARAMS.
* d10v/simops.c: Don't use PARAMS.
* erc32/erc32.c: Don't use PARAMS.
* erc32/exec.c: Don't use PARAMS.
* erc32/float.c: Don't use PARAMS.
* erc32/func.c: Don't use PARAMS.
* erc32/sis.c: Don't use PARAMS.
* erc32/sis.h: Don't use PARAMS.
* mips/interp.c: Don't use PARAMS.
* mips/sim-main.h: Don't use PARAMS.
* sh/interp.c: Don't use PARAMS.
* v850/sim-main.h: Don't use PARAMS.
* v850/v850_sim.h: Don't use PARAMS.
Diffstat (limited to 'sim/mips/interp.c')
-rw-r--r-- | sim/mips/interp.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/sim/mips/interp.c b/sim/mips/interp.c index 032570a..2491fcd 100644 --- a/sim/mips/interp.c +++ b/sim/mips/interp.c @@ -65,12 +65,8 @@ code on the hardware. #include "gdb/callback.h" /* GDB simulator callback interface */ #include "gdb/remote-sim.h" /* GDB simulator interface */ -#ifndef PARAMS -#define PARAMS(x) -#endif - -char* pr_addr PARAMS ((SIM_ADDR addr)); -char* pr_uword64 PARAMS ((uword64 addr)); +char* pr_addr (SIM_ADDR addr); +char* pr_uword64 (uword64 addr); /* Within interp.c we refer to the sim_state and sim_cpu directly. */ @@ -98,7 +94,7 @@ char* pr_uword64 PARAMS ((uword64 addr)); /*-- GDB simulator interface ------------------------------------------------*/ /*---------------------------------------------------------------------------*/ -static void ColdReset PARAMS((SIM_DESC sd)); +static void ColdReset (SIM_DESC sd); /*---------------------------------------------------------------------------*/ @@ -164,7 +160,7 @@ static SIM_RC sim_firmware_command (SIM_DESC sd, char* arg); #if defined(TRACE) static char *tracefile = "trace.din"; /* default filename for trace log */ FILE *tracefh = NULL; -static void open_trace PARAMS((SIM_DESC sd)); +static void open_trace (SIM_DESC sd); #endif /* TRACE */ static const char * get_insn_name (sim_cpu *, int); |