Trivial patch to remove dependency on host unsigned long type
[deliverable/binutils-gdb.git] / gdb / m68klinux-nat.c
index 19fb7abd3dcf300f2593e8c4580327755bd2251f..5e30ad20c78b0fc58612e95d48f58d0d9dd58bfe 100644 (file)
@@ -29,7 +29,6 @@
 
 #include "m68k-tdep.h"
 
-#include <sys/param.h>
 #include <sys/dir.h>
 #include <signal.h>
 #include <sys/ptrace.h>
@@ -109,7 +108,7 @@ fetch_register (struct regcache *regcache, int regno)
   struct gdbarch *gdbarch = get_regcache_arch (regcache);
   long regaddr, val;
   int i;
-  char buf[MAX_REGISTER_SIZE];
+  gdb_byte buf[MAX_REGISTER_SIZE];
   int tid;
 
   /* Overload thread id onto process id.  */
@@ -164,7 +163,7 @@ store_register (const struct regcache *regcache, int regno)
   long regaddr, val;
   int i;
   int tid;
-  char buf[MAX_REGISTER_SIZE];
+  gdb_byte buf[MAX_REGISTER_SIZE];
 
   /* Overload thread id onto process id.  */
   tid = TIDGET (inferior_ptid);
This page took 0.023908 seconds and 4 git commands to generate.