aboutsummaryrefslogtreecommitdiff
path: root/gdb/alpha-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/alpha-nat.c')
-rw-r--r--gdb/alpha-nat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/alpha-nat.c b/gdb/alpha-nat.c
index d90f967..f3196dc 100644
--- a/gdb/alpha-nat.c
+++ b/gdb/alpha-nat.c
@@ -113,7 +113,8 @@ fetch_osf_core_registers (struct regcache *regcache,
}
if (bad_reg >= 0)
{
- error (_("Register %s not found in core file."), REGISTER_NAME (bad_reg));
+ error (_("Register %s not found in core file."),
+ gdbarch_register_name (current_gdbarch, bad_reg));
}
}