PR c++/16597
[deliverable/binutils-gdb.git] / sim / bfin / sim-main.h
index 3a937034817e4a912e5790c7882d6359aaa730d9..815b59bcf08fa4722982050101d49c88f660f88f 100644 (file)
@@ -1,6 +1,6 @@
 /* Simulator for Analog Devices Blackfin processors.
 
-   Copyright (C) 2005-2011 Free Software Foundation, Inc.
+   Copyright (C) 2005-2014 Free Software Foundation, Inc.
    Contributed by Analog Devices, Inc.
 
    This file is part of simulators.
@@ -82,7 +82,7 @@ struct sim_state {
 #define TRACE_INSN(cpu, fmt, ...) MAYBE_TRACE (INSN, cpu, fmt, ## __VA_ARGS__)
 #define TRACE_DECODE(cpu, fmt, ...) MAYBE_TRACE (DECODE, cpu, fmt, ## __VA_ARGS__)
 #define TRACE_EXTRACT(cpu, fmt, ...) MAYBE_TRACE (EXTRACT, cpu, fmt, ## __VA_ARGS__)
-#define TRACE_SYSCALL(cpu, fmt, ...) MAYBE_TRACE (EVENTS, cpu, fmt, ## __VA_ARGS__)
+#define TRACE_SYSCALL(cpu, fmt, ...) MAYBE_TRACE (SYSCALL, cpu, fmt, ## __VA_ARGS__)
 #define TRACE_CORE(cpu, addr, size, map, val) \
   do { \
     MAYBE_TRACE (CORE, cpu, "%cBUS %s %i bytes @ 0x%08x: 0x%0*x", \
@@ -99,10 +99,10 @@ struct sim_state {
       bfin_trace_queue (cpu, oldpc, newpc, hwloop); \
   } while (0)
 
-extern void trace_register PARAMS ((SIM_DESC sd,
-                                   sim_cpu *cpu,
-                                   const char *fmt,
-                                   ...))
+extern void trace_register (SIM_DESC sd,
+                           sim_cpu *cpu,
+                           const char *fmt,
+                           ...)
      __attribute__((format (printf, 3, 4)));
 #define TRACE_REGISTER(cpu, fmt, ...) \
   do { \
This page took 0.023439 seconds and 4 git commands to generate.