1999-01-19 Fernando Nasser <fnasser@totem.to.cygnus.com>
[deliverable/binutils-gdb.git] / gdb / w65-tdep.c
index ebf8d957ab424f187be53a126930d80f14c05366..9546616af4e922968baac41fd1fc070272cd8e67 100644 (file)
@@ -29,7 +29,7 @@
 #include "gdbcmd.h"
 #include "gdbtypes.h"
 #include "dis-asm.h"
-
+#include "gdbcore.h"
 
 /* Return the saved PC from this frame. */
 
@@ -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)
This page took 0.023289 seconds and 4 git commands to generate.