target.h: #include <sys/types.h>.
[deliverable/binutils-gdb.git] / gdb / gdbserver / linux-low.h
index 28dd4db126353b9c1f2ec14fd37f602e1238e522..f1d4f0f5a462666ce296a5ceef4adfc66f955c6b 100644 (file)
@@ -38,6 +38,11 @@ enum regset_type {
   EXTENDED_REGS,
 };
 
+/* The arch's regsets array initializer must be terminated with a NULL
+   regset.  */
+#define NULL_REGSET \
+  { 0, 0, 0, -1, (enum regset_type) -1, NULL, NULL }
+
 struct regset_info
 {
   int get_request, set_request;
@@ -194,7 +199,7 @@ struct linux_target_ops
   void (*prepare_to_resume) (struct lwp_info *);
 
   /* Hook to support target specific qSupported.  */
-  void (*process_qsupported) (const char *);
+  void (*process_qsupported) (char **, int count);
 
   /* Returns true if the low target supports tracepoints.  */
   int (*supports_tracepoints) (void);
This page took 0.02298 seconds and 4 git commands to generate.