diff options
Diffstat (limited to 'gdb/gdbserver/low-sparc.c')
-rw-r--r-- | gdb/gdbserver/low-sparc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/gdbserver/low-sparc.c b/gdb/gdbserver/low-sparc.c index 9dd70a25079..e0e635e5bd0 100644 --- a/gdb/gdbserver/low-sparc.c +++ b/gdb/gdbserver/low-sparc.c @@ -37,7 +37,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. */ |