aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/low-lynx.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdbserver/low-lynx.c')
-rw-r--r--gdb/gdbserver/low-lynx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/gdbserver/low-lynx.c b/gdb/gdbserver/low-lynx.c
index ecc3318..75e11ba 100644
--- a/gdb/gdbserver/low-lynx.c
+++ b/gdb/gdbserver/low-lynx.c
@@ -44,7 +44,8 @@
#include <sys/wait.h>
#include <sys/fpp.h>
-char registers[REGISTER_BYTES];
+static char my_registers[REGISTER_BYTES];
+char *registers = my_registers;
#include <sys/ptrace.h>