Index: linux-low.c =================================================================== RCS file: /cvs/src/src/gdb/gdbserver/linux-low.c,v retrieving revision 1.15 diff -c -3 -p -r1.15 linux-low.c *** linux-low.c 20 Apr 2002 17:04:09 -0000 1.15 --- linux-low.c 24 Apr 2002 11:53:52 -0000 *************** regsets_fetch_inferior_registers (void) *** 372,378 **** } buf = malloc (regset->size); ! res = ptrace (regset->get_request, inferior_pid, 0, (int) buf); if (res < 0) { if (errno == EIO) --- 372,378 ---- } buf = malloc (regset->size); ! res = ptrace (regset->get_request, inferior_pid, 0, buf); if (res < 0) { if (errno == EIO) *************** regsets_store_inferior_registers (void) *** 421,427 **** buf = malloc (regset->size); regset->fill_function (buf); ! res = ptrace (regset->set_request, inferior_pid, 0, (int) buf); if (res < 0) { if (errno == EIO) --- 421,427 ---- buf = malloc (regset->size); regset->fill_function (buf); ! res = ptrace (regset->set_request, inferior_pid, 0, buf); if (res < 0) { if (errno == EIO) Index: regcache.h =================================================================== RCS file: /cvs/src/src/gdb/gdbserver/regcache.h,v retrieving revision 1.3 diff -c -3 -p -r1.3 regcache.h *** regcache.h 20 Apr 2002 17:22:48 -0000 1.3 --- regcache.h 24 Apr 2002 11:53:52 -0000 *************** *** 21,26 **** --- 21,28 ---- #ifndef REGCACHE_H #define REGCACHE_H + #include + /* Create a new register cache for INFERIOR. */ void create_register_cache (struct inferior_info *inferior);