aboutsummaryrefslogtreecommitdiff
path: root/sim/v850
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2014-01-04 21:43:21 -0700
committerTom Tromey <tromey@redhat.com>2014-01-07 09:17:05 -0700
commitbdca5ee4bcd2fce04de6c9eabdbef8d960298e02 (patch)
treea4b1e34ae5704f5e115c6db4f84d05eb8c5a636f /sim/v850
parent1f635d209e61d900a6326aa281e697e31fcdae1e (diff)
downloadgdb-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/v850')
-rw-r--r--sim/v850/sim-main.h6
-rw-r--r--sim/v850/v850_sim.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/sim/v850/sim-main.h b/sim/v850/sim-main.h
index c52da77..bd5cf77 100644
--- a/sim/v850/sim-main.h
+++ b/sim/v850/sim-main.h
@@ -469,9 +469,9 @@ enum op_types
};
#ifdef DEBUG
-void trace_input PARAMS ((char *name, enum op_types type, int size));
-void trace_output PARAMS ((enum op_types result));
-void trace_result PARAMS ((int has_result, unsigned32 result));
+void trace_input (char *name, enum op_types type, int size);
+void trace_output (enum op_types result);
+void trace_result (int has_result, unsigned32 result);
extern int trace_num_values;
extern unsigned32 trace_values[];
diff --git a/sim/v850/v850_sim.h b/sim/v850/v850_sim.h
index bf59727..b1dddfd 100644
--- a/sim/v850/v850_sim.h
+++ b/sim/v850/v850_sim.h
@@ -2,7 +2,7 @@ struct simops
{
unsigned long opcode;
unsigned long mask;
- int (* func) PARAMS ((void));
+ int (* func) (void);
int numops;
int operands[12];
};