aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdbserver/debug.c')
-rw-r--r--gdb/gdbserver/debug.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/gdbserver/debug.c b/gdb/gdbserver/debug.c
index a5b791b..7c4c77a 100644
--- a/gdb/gdbserver/debug.c
+++ b/gdb/gdbserver/debug.c
@@ -19,6 +19,10 @@
#include "server.h"
#include <chrono>
+#if !defined (IN_PROCESS_AGENT)
+int remote_debug = 0;
+#endif
+
/* Enable miscellaneous debugging output. The name is historical - it
was originally used to debug LinuxThreads support. */
int debug_threads;