aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/m88k
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1998-11-29 07:41:36 +0000
committerAndrew Cagney <cagney@redhat.com>1998-11-29 07:41:36 +0000
commit8743fc885f33a57c09d1822b6fd5d6f6cc99ec9b (patch)
treed2a66b076f54b73533ad7a7241e9cb27489406cf /gdb/config/m88k
parent3a0c96a9966a85f4205558490e1281471c34980f (diff)
downloadgdb-8743fc885f33a57c09d1822b6fd5d6f6cc99ec9b.zip
gdb-8743fc885f33a57c09d1822b6fd5d6f6cc99ec9b.tar.gz
gdb-8743fc885f33a57c09d1822b6fd5d6f6cc99ec9b.tar.bz2
CARP:
Convert ADDR_BITS_REMOVE to a function.
Diffstat (limited to 'gdb/config/m88k')
-rw-r--r--gdb/config/m88k/tm-m88k.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/config/m88k/tm-m88k.h b/gdb/config/m88k/tm-m88k.h
index f5c6dc5..390cdef 100644
--- a/gdb/config/m88k/tm-m88k.h
+++ b/gdb/config/m88k/tm-m88k.h
@@ -63,7 +63,8 @@ extern CORE_ADDR skip_prologue ();
to realize that those two bits are not really a part of the address
of an instruction. Shrug. */
-#define ADDR_BITS_REMOVE(addr) ((addr) & ~3)
+extern CORE_ADDR m88k_addr_bits_remove PARAMS ((CORE_ADDR));
+#define ADDR_BITS_REMOVE(addr) m88k_addr_bits_remove (addr)
/* Immediately after a function call, return the saved pc.
Can't always go through the frames for this because on some machines