| @@ -29,26 +29,27 @@ | | | @@ -29,26 +29,27 @@ |
29 | #include <machine/reg.h> | | 29 | #include <machine/reg.h> |
30 | | | 30 | |
31 | #ifndef HAVE_GREGSET_T | | 31 | #ifndef HAVE_GREGSET_T |
32 | typedef struct reg gregset_t; | | 32 | typedef struct reg gregset_t; |
33 | #endif | | 33 | #endif |
34 | | | 34 | |
35 | #ifndef HAVE_FPREGSET_T | | 35 | #ifndef HAVE_FPREGSET_T |
36 | typedef struct fpreg fpregset_t; | | 36 | typedef struct fpreg fpregset_t; |
37 | #endif | | 37 | #endif |
38 | | | 38 | |
39 | #include "gregset.h" | | 39 | #include "gregset.h" |
40 | | | 40 | |
41 | #include "mips-tdep.h" | | 41 | #include "mips-tdep.h" |
| | | 42 | #include "nbsd-nat.h" |
42 | #include "mips-nbsd-tdep.h" | | 43 | #include "mips-nbsd-tdep.h" |
43 | #include "inf-ptrace.h" | | 44 | #include "inf-ptrace.h" |
44 | #include "bsd-kvm.h" | | 45 | #include "bsd-kvm.h" |
45 | | | 46 | |
46 | #include "machine/pcb.h" | | 47 | #include "machine/pcb.h" |
47 | | | 48 | |
48 | /* Determine if PT_GETREGS fetches this register. */ | | 49 | /* Determine if PT_GETREGS fetches this register. */ |
49 | static int | | 50 | static int |
50 | getregs_supplies (struct gdbarch *gdbarch, int regno) | | 51 | getregs_supplies (struct gdbarch *gdbarch, int regno) |
51 | { | | 52 | { |
52 | return ((regno) >= MIPS_ZERO_REGNUM | | 53 | return ((regno) >= MIPS_ZERO_REGNUM |
53 | && (regno) <= gdbarch_pc_regnum (gdbarch)); | | 54 | && (regno) <= gdbarch_pc_regnum (gdbarch)); |
54 | } | | 55 | } |