aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/low-sun3.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdbserver/low-sun3.c')
-rw-r--r--gdb/gdbserver/low-sun3.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/gdbserver/low-sun3.c b/gdb/gdbserver/low-sun3.c
index 11f1d8a..786770b 100644
--- a/gdb/gdbserver/low-sun3.c
+++ b/gdb/gdbserver/low-sun3.c
@@ -34,7 +34,8 @@
/***************Begin MY defs*********************/
int quit_flag = 0;
-char registers[REGISTER_BYTES];
+static char my_registers[REGISTER_BYTES];
+char *registers = my_registers;
/* Index within `registers' of the first byte of the space for
register N. */