aboutsummaryrefslogtreecommitdiff
path: root/gdb/dink32-rom.c
diff options
context:
space:
mode:
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;