aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/low-hppabsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdbserver/low-hppabsd.c')
-rw-r--r--gdb/gdbserver/low-hppabsd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/gdbserver/low-hppabsd.c b/gdb/gdbserver/low-hppabsd.c
index 3c28a38..7c1b660 100644
--- a/gdb/gdbserver/low-hppabsd.c
+++ b/gdb/gdbserver/low-hppabsd.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. */