diff options
author | Andrew Cagney <cagney@redhat.com> | 1998-11-29 07:41:36 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1998-11-29 07:41:36 +0000 |
commit | 8743fc885f33a57c09d1822b6fd5d6f6cc99ec9b (patch) | |
tree | d2a66b076f54b73533ad7a7241e9cb27489406cf /gdb/w65-tdep.c | |
parent | 3a0c96a9966a85f4205558490e1281471c34980f (diff) | |
download | gdb-8743fc885f33a57c09d1822b6fd5d6f6cc99ec9b.zip gdb-8743fc885f33a57c09d1822b6fd5d6f6cc99ec9b.tar.gz gdb-8743fc885f33a57c09d1822b6fd5d6f6cc99ec9b.tar.bz2 |
CARP:
Convert ADDR_BITS_REMOVE to a function.
Diffstat (limited to 'gdb/w65-tdep.c')
-rw-r--r-- | gdb/w65-tdep.c | 6 |
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) |