diff options
Diffstat (limited to 'gdb/regcache.c')
-rw-r--r-- | gdb/regcache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/regcache.c b/gdb/regcache.c index 9899f6052ec..e545dface43 100644 --- a/gdb/regcache.c +++ b/gdb/regcache.c @@ -1027,7 +1027,7 @@ regcache_dump (struct regcache *regcache, struct ui_file *file, fprintf_unfiltered (file, " %-10s", "Name"); else { - const char *p = REGISTER_NAME (regnum); + const char *p = gdbarch_register_name (current_gdbarch, regnum); if (p == NULL) p = ""; else if (p[0] == '\0') |