diff options
author | Stan Shebs <shebs@codesourcery.com> | 1999-09-09 00:02:17 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1999-09-09 00:02:17 +0000 |
commit | d4f3574e777abfa65c9ba134e582228f3f32a8d6 (patch) | |
tree | 408b74c26833555087f04f4ec466afd488af6087 /gdb/dink32-rom.c | |
parent | 325188ecac3a52d92d359c70f9b730470760e1d7 (diff) | |
download | binutils-gdb-d4f3574e777abfa65c9ba134e582228f3f32a8d6.tar.gz |
import gdb-1999-09-08 snapshot
Diffstat (limited to 'gdb/dink32-rom.c')
-rw-r--r-- | gdb/dink32-rom.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/dink32-rom.c b/gdb/dink32-rom.c index 2d60d67209f..2bd004d28cb 100644 --- a/gdb/dink32-rom.c +++ b/gdb/dink32-rom.c @@ -24,6 +24,8 @@ #include "target.h" #include "monitor.h" #include "serial.h" +#include "symfile.h" /* For generic_load() */ +#include "inferior.h" /* For write_pc() */ static void dink32_open PARAMS ((char *args, int from_tty)); @@ -34,7 +36,7 @@ dink32_supply_register (regname, regnamelen, val, vallen) char *val; int vallen; { - int regno = 0, base = 0; + int regno = 0; if (regnamelen < 2 || regnamelen > 4) return; |