aboutsummaryrefslogtreecommitdiff
path: root/gdb/dink32-rom.c
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1999-09-09 00:02:17 +0000
committerStan Shebs <shebs@codesourcery.com>1999-09-09 00:02:17 +0000
commitd4f3574e777abfa65c9ba134e582228f3f32a8d6 (patch)
tree408b74c26833555087f04f4ec466afd488af6087 /gdb/dink32-rom.c
parent325188ecac3a52d92d359c70f9b730470760e1d7 (diff)
downloadgdb-d4f3574e777abfa65c9ba134e582228f3f32a8d6.zip
gdb-d4f3574e777abfa65c9ba134e582228f3f32a8d6.tar.gz
gdb-d4f3574e777abfa65c9ba134e582228f3f32a8d6.tar.bz2
import gdb-1999-09-08 snapshot
Diffstat (limited to 'gdb/dink32-rom.c')
-rw-r--r--gdb/dink32-rom.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/dink32-rom.c b/gdb/dink32-rom.c
index 2d60d67..2bd004d 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;