diff options
Diffstat (limited to 'gdb/mep-tdep.c')
-rw-r--r-- | gdb/mep-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/mep-tdep.c b/gdb/mep-tdep.c index fd03989..b42b02c 100644 --- a/gdb/mep-tdep.c +++ b/gdb/mep-tdep.c @@ -852,7 +852,7 @@ current_me_module () if (target_has_registers) { ULONGEST regval; - regcache_cooked_read_unsigned (current_regcache, + regcache_cooked_read_unsigned (get_current_regcache (), MEP_MODULE_REGNUM, ®val); return regval; } @@ -875,7 +875,7 @@ current_options () if (target_has_registers) { ULONGEST regval; - regcache_cooked_read_unsigned (current_regcache, + regcache_cooked_read_unsigned (get_current_regcache (), MEP_OPT_REGNUM, ®val); return regval; } |