diff options
Diffstat (limited to 'gdb/alpha-tdep.c')
-rw-r--r-- | gdb/alpha-tdep.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/alpha-tdep.c b/gdb/alpha-tdep.c index 00eaeb9..551be67 100644 --- a/gdb/alpha-tdep.c +++ b/gdb/alpha-tdep.c @@ -116,7 +116,8 @@ alpha_register_reggroup_p (struct gdbarch *gdbarch, int regnum, { /* Filter out any registers eliminated, but whose regnum is reserved for backward compatibility, e.g. the vfp. */ - if (REGISTER_NAME (regnum) == NULL || *REGISTER_NAME (regnum) == '\0') + if (gdbarch_register_name (current_gdbarch, regnum) == NULL + || *gdbarch_register_name (current_gdbarch, regnum) == '\0') return 0; if (group == all_reggroup) |