Sat Dec 2 18:39:52 2017 UTC ()
include nbsd-nat.h


(christos)
diff -r1.4 -r1.5 src/external/gpl3/gdb/dist/gdb/mips-nbsd-nat.c

cvs diff -r1.4 -r1.5 src/external/gpl3/gdb/dist/gdb/mips-nbsd-nat.c (expand / switch to unified diff)

--- src/external/gpl3/gdb/dist/gdb/mips-nbsd-nat.c 2017/11/30 15:26:54 1.4
+++ src/external/gpl3/gdb/dist/gdb/mips-nbsd-nat.c 2017/12/02 18:39:52 1.5
@@ -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
32typedef struct reg gregset_t; 32typedef struct reg gregset_t;
33#endif 33#endif
34 34
35#ifndef HAVE_FPREGSET_T 35#ifndef HAVE_FPREGSET_T
36typedef struct fpreg fpregset_t; 36typedef 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. */
49static int 50static int
50getregs_supplies (struct gdbarch *gdbarch, int regno) 51getregs_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}