summaryrefslogtreecommitdiff
path: root/gdb/cris-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/cris-tdep.c')
-rw-r--r--gdb/cris-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/cris-tdep.c b/gdb/cris-tdep.c
index 87d2382e48b..12f33a82361 100644
--- a/gdb/cris-tdep.c
+++ b/gdb/cris-tdep.c
@@ -3336,7 +3336,7 @@ supply_gregset (elf_gregset_t *gregsetp)
knows about the actual size of each register so that's no problem. */
for (i = 0; i < NUM_GENREGS + NUM_SPECREGS; i++)
{
- supply_register (i, (char *)&regp[i]);
+ regcache_raw_supply (current_regcache, i, (char *)&regp[i]);
}
}