* utils.c (query): Remove test for energize from top. Now
[deliverable/binutils-gdb.git] / gdb / pyr-tdep.c
index f3a3cde97c75d968910d48511f5463bd2f219545..69b84eb521330ae29e96c98ca8c679e9ade34f86 100644 (file)
@@ -17,7 +17,6 @@ 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., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
-#include "param.h"
 #include "defs.h"
 
 /*** Prettier register printing. ***/
@@ -38,11 +37,11 @@ pyr_print_registers(reg_buf, regnum)
                     reg_names[regno+48], reg_buf[regno+48]);
   }
   usp = ptrace (3, inferior_pid,
-                     ((char *)&u.u_pcb.pcb_usp) -
-                     ((char *)&u), 0);
+               (PTRACE_ARG3_TYPE) ((char *)&u.u_pcb.pcb_usp) -
+               ((char *)&u), 0);
   ksp = ptrace (3, inferior_pid,
-                     ((char *)&u.u_pcb.pcb_ksp) -
-                     ((char *)&u), 0);
+               (PTRACE_ARG3_TYPE) ((char *)&u.u_pcb.pcb_ksp) -
+               ((char *)&u), 0);
   printf/*_filtered*/ ("\n%6.6s: %8x  %6.6s: %8x (%08x) %6.6s %8x\n",
                   reg_names[CSP_REGNUM],reg_buf[CSP_REGNUM],
                   reg_names[KSP_REGNUM], reg_buf[KSP_REGNUM], ksp,
This page took 0.022959 seconds and 4 git commands to generate.