diff options
Diffstat (limited to 'gdb/remote-sim.c')
-rw-r--r-- | gdb/remote-sim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c index f2b7c6c..8c13888 100644 --- a/gdb/remote-sim.c +++ b/gdb/remote-sim.c @@ -317,7 +317,7 @@ gdbsim_fetch_register (struct regcache *regcache, int regno) { fprintf_unfiltered (gdb_stderr, "Size of register %s (%d/%d) incorrect (%d instead of %d))", - REGISTER_NAME (regno), + gdbarch_register_name (current_gdbarch, regno), regno, REGISTER_SIM_REGNO (regno), nr_bytes, register_size (current_gdbarch, regno)); warn_user = 0; |