import gdb-1999-10-04 snapshot
[deliverable/binutils-gdb.git] / gdb / w65-tdep.c
index ebf8d957ab424f187be53a126930d80f14c05366..e575ff72809634aa3b729c5e32ed7bcbdbbca255 100644 (file)
@@ -15,7 +15,8 @@
 
    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
-   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
+   Foundation, Inc., 59 Temple Place - Suite 330,
+   Boston, MA 02111-1307, USA.  */
 
 /*
    Contributed by Steve Chamberlain
@@ -29,7 +30,7 @@
 #include "gdbcmd.h"
 #include "gdbtypes.h"
 #include "dis-asm.h"
-
+#include "gdbcore.h"
 
 /* Return the saved PC from this frame. */
 
@@ -42,10 +43,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)
@@ -159,7 +160,7 @@ gb (x)
   return read_memory_integer (x, 1) & 0xff;
 }
 
-extern CORE_ADDR 
+extern CORE_ADDR
 w65_skip_prologue (pc)
      CORE_ADDR pc;
 {
This page took 0.024585 seconds and 4 git commands to generate.