aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/low-sim.c
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>1999-11-02 04:44:47 +0000
committerJason Molenda <jmolenda@apple.com>1999-11-02 04:44:47 +0000
commit5c44784c11ecc8febfff615b88496c56c9ad5274 (patch)
tree74f9079f5b0ddae1182abf087af8adc02103e149 /gdb/gdbserver/low-sim.c
parent9503fd8735ec438fcb2fca34afa276e3e6ca94f5 (diff)
downloadgdb-5c44784c11ecc8febfff615b88496c56c9ad5274.zip
gdb-5c44784c11ecc8febfff615b88496c56c9ad5274.tar.gz
gdb-5c44784c11ecc8febfff615b88496c56c9ad5274.tar.bz2
import gdb-1999-11-01 snapshot
Diffstat (limited to 'gdb/gdbserver/low-sim.c')
-rw-r--r--gdb/gdbserver/low-sim.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/gdbserver/low-sim.c b/gdb/gdbserver/low-sim.c
index ebd5f7d..3f9dea2 100644
--- a/gdb/gdbserver/low-sim.c
+++ b/gdb/gdbserver/low-sim.c
@@ -28,7 +28,8 @@ extern int remote_debug;
extern host_callback default_callback; /* in sim/common/callback.c */
-char registers[REGISTER_BYTES] __attribute__ ((aligned));
+static char my_registers[REGISTER_BYTES] __attribute__ ((aligned));
+char * registers = my_registers;
int target_byte_order; /* used by simulator */