X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fmipsm3-nat.c;h=62d68600bc7958e67e685aadf09114ee30f1e31c;hb=f5126dd7c3a605d9210aa040e7c715aba26b9fc6;hp=5f4d50be078b3cdbcabea55208f540c251a5bfac;hpb=ed288bb597072176e84fc8279707a3f2f475779b;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/mipsm3-nat.c b/gdb/mipsm3-nat.c index 5f4d50be07..62d68600bc 100644 --- a/gdb/mipsm3-nat.c +++ b/gdb/mipsm3-nat.c @@ -1,5 +1,5 @@ /* Definitions to make GDB run on a mips box under Mach 3.0 - Copyright (C) 1992 Free Software Foundation, Inc. + Copyright 1992, 1993, 1998, 2000, 2001 Free Software Foundation, Inc. This file is part of GDB. @@ -26,6 +26,7 @@ #include "defs.h" #include "inferior.h" +#include "regcache.h" #include @@ -141,8 +142,7 @@ static int reg_offset[] = /* Fech thread's registers. if regno == -1, fetch all regs */ void -fetch_inferior_registers (regno) - int regno; +fetch_inferior_registers (int regno) { kern_return_t ret; @@ -296,8 +296,7 @@ fetch_inferior_registers (regno) */ void -store_inferior_registers (regno) - register int regno; +store_inferior_registers (register int regno) { thread_state_data_t state; kern_return_t ret;