]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
remove VA_* macros from sim
authorTom Tromey <tromey@redhat.com>
Sun, 5 Jan 2014 04:46:15 +0000 (21:46 -0700)
committerTom Tromey <tromey@redhat.com>
Tue, 7 Jan 2014 16:17:05 +0000 (09:17 -0700)
Remove the obsolete VA_* macros from sim.

2014-01-06  Tom Tromey  <tromey@redhat.com>

* common/cgen-trace.c: Don't use old VA_* macros.
* common/sim-load.c (xprintf): Likewise.
* common/sim-trace.c (trace_printf, debug_printf): Likewise.

sim/ChangeLog
sim/common/cgen-trace.c
sim/common/sim-load.c
sim/common/sim-trace.c

index 04e5202f58142fcdcaa470c2501a760f775d53fd..71d9db92246bac5f1809049a12d0e28d1cbe9c05 100644 (file)
@@ -1,3 +1,9 @@
+2014-01-06  Tom Tromey  <tromey@redhat.com>
+
+       * common/cgen-trace.c: Don't use old VA_* macros.
+       * common/sim-load.c (xprintf): Likewise.
+       * common/sim-trace.c (trace_printf, debug_printf): Likewise.
+
 2014-01-06  Tom Tromey  <tromey@redhat.com>
 
        * README-HACKING: Don't use PARAMS.
index 6e2f85605b58d572959ee9e6ecc5ff568792df20..ed9aee1e2ea3abf42abb5121cb339b867bc7e58c 100644 (file)
@@ -308,7 +308,7 @@ sim_disasm_sprintf (SFILE *f, const char *format, ...)
   int n;
   va_list args;
 
-  VA_START (args, format);
+  va_start (args, format);
 #ifndef __STDC__
   f = va_arg (args, SFILE *);
   format = va_arg (args, char *);
index 2e2b804bf63b0edbeef8bff5d1beba9abb337d58..48c0a93169f64b6760e37fb747e41d5ec96cbc83 100644 (file)
@@ -173,7 +173,7 @@ xprintf (host_callback *callback, const char *fmt, ...)
 {
   va_list ap;
 
-  VA_START (ap, fmt);
+  va_start (ap, fmt);
 
   (*callback->vprintf_filtered) (callback, fmt, ap);
 
@@ -185,7 +185,7 @@ eprintf (host_callback *callback, const char *fmt, ...)
 {
   va_list ap;
 
-  VA_START (ap, fmt);
+  va_start (ap, fmt);
 
   (*callback->evprintf_filtered) (callback, fmt, ap);
 
index bb56db7acf50032011bcf93e2bbeb79d8470db46..b8cfff34fc7804090a255c05c58654bcd0a5ea9e 100644 (file)
@@ -1309,7 +1309,7 @@ trace_printf (SIM_DESC sd, sim_cpu *cpu, const char *fmt, ...)
 #endif
   va_list ap;
 
-  VA_START (ap, fmt);
+  va_start (ap, fmt);
 #if !defined __STDC__ && !defined ALMOST_STDC
   sd = va_arg (ap, SIM_DESC);
   cpu = va_arg (ap, sim_cpu *);
@@ -1330,7 +1330,7 @@ debug_printf (sim_cpu *cpu, const char *fmt, ...)
 #endif
   va_list ap;
 
-  VA_START (ap, fmt);
+  va_start (ap, fmt);
 #if !defined __STDC__ && !defined ALMOST_STDC
   cpu = va_arg (ap, sim_cpu *);
   fmt = va_arg (ap, const char *);