import gdb-1999-07-07 post reformat
[deliverable/binutils-gdb.git] / gdb / w65-tdep.c
index e099f71e65a50b1e3912164e26783b0c5746f4e6..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
@@ -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.025885 seconds and 4 git commands to generate.