aboutsummaryrefslogtreecommitdiff
path: root/gdb/h8500-tdep.c
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/h8500-tdep.c
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/h8500-tdep.c')
-rw-r--r--gdb/h8500-tdep.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/h8500-tdep.c b/gdb/h8500-tdep.c
index e66bcc3..49fab2d 100644
--- a/gdb/h8500-tdep.c
+++ b/gdb/h8500-tdep.c
@@ -98,6 +98,13 @@ h8500_skip_prologue (start_pc)
return start_pc;
}
+CORE_ADDR
+h8500_addr_bits_remove (addr)
+ CORE_ADDR addr;
+{
+ return ((addr) & 0xffffff);
+}
+
/* Given a GDB frame, determine the address of the calling function's frame.
This will be used to create a new GDB frame struct, and then
INIT_EXTRA_FRAME_INFO and INIT_FRAME_PC will be called for the new frame.