aboutsummaryrefslogtreecommitdiff
path: root/gdbserver/ax.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gdbserver/ax.cc')
-rw-r--r--gdbserver/ax.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/gdbserver/ax.cc b/gdbserver/ax.cc
index d2d0033..4f36bc5 100644
--- a/gdbserver/ax.cc
+++ b/gdbserver/ax.cc
@@ -44,15 +44,12 @@ ax_vdebug (const char *fmt, ...)
va_end (ap);
}
-#define ax_debug_1(level, fmt, args...) \
+#define ax_debug(fmt, args...) \
do { \
- if (level <= debug_threads) \
+ if (debug_threads) \
ax_vdebug ((fmt), ##args); \
} while (0)
-#define ax_debug(FMT, args...) \
- ax_debug_1 (1, FMT, ##args)
-
/* This enum must exactly match what is documented in
gdb/doc/agentexpr.texi, including all the numerical values. */