aboutsummaryrefslogtreecommitdiff
path: root/gdb/dbug-rom.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/dbug-rom.c')
-rw-r--r--gdb/dbug-rom.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/dbug-rom.c b/gdb/dbug-rom.c
index a299088..c4f0ef0 100644
--- a/gdb/dbug-rom.c
+++ b/gdb/dbug-rom.c
@@ -38,7 +38,8 @@
static void dbug_open (char *args, int from_tty);
static void
-dbug_supply_register (char *regname, int regnamelen, char *val, int vallen)
+dbug_supply_register (struct regcache *regcache, char *regname,
+ int regnamelen, char *val, int vallen)
{
int regno;
@@ -71,7 +72,7 @@ dbug_supply_register (char *regname, int regnamelen, char *val, int vallen)
return;
}
- monitor_supply_register (regno, val);
+ monitor_supply_register (regcache, regno, val);
}
/* This array of registers needs to match the indexes used by GDB. The