aboutsummaryrefslogtreecommitdiff
path: root/gdb/w65-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/w65-tdep.c')
-rw-r--r--gdb/w65-tdep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/w65-tdep.c b/gdb/w65-tdep.c
index e099f71..9546616 100644
--- a/gdb/w65-tdep.c
+++ b/gdb/w65-tdep.c
@@ -42,10 +42,10 @@ w65_frame_saved_pc (frame)
}
CORE_ADDR
-addr_bits_remove (x)
- CORE_ADDR x;
+w65_addr_bits_remove (addr)
+ CORE_ADDR addr;
{
- return x;
+ return ((addr) & 0xffffff);
}
read_memory_pointer (x)