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 e545dfa..8a535e1 100644 --- a/gdb/regcache.c +++ b/gdb/regcache.c @@ -900,7 +900,7 @@ read_pc_pid (ptid_t ptid) else if (PC_REGNUM >= 0) { CORE_ADDR raw_val = read_register_pid (PC_REGNUM, ptid); - pc_val = ADDR_BITS_REMOVE (raw_val); + pc_val = gdbarch_addr_bits_remove (current_gdbarch, raw_val); } else internal_error (__FILE__, __LINE__, _("read_pc_pid: Unable to find PC")); |