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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/alpha-nat.c b/gdb/alpha-nat.c
index b6e3e0e..d90f967 100644
--- a/gdb/alpha-nat.c
+++ b/gdb/alpha-nat.c
@@ -89,7 +89,7 @@ fetch_osf_core_registers (struct regcache *regcache,
for (regno = 0; regno < ALPHA_NUM_REGS; regno++)
{
- if (CANNOT_FETCH_REGISTER (regno))
+ if (gdbarch_cannot_fetch_register (current_gdbarch, regno))
{
regcache_raw_supply (regcache, regno, NULL);
continue;