gdbserver: turn target op 'qxfer_siginfo' into a method
[deliverable/binutils-gdb.git] / gdbserver / target.h
index 53f88a02bac9b0407e7913cb0b584a7c2b873bee..1ad0005c8f404866dc8c3fcbd2d8fe42225283b0 100644 (file)
@@ -70,11 +70,6 @@ class process_target;
    shared code.  */
 struct process_stratum_target
 {
-  /* Read/Write extra signal info.  */
-  int (*qxfer_siginfo) (const char *annex, unsigned char *readbuf,
-                       unsigned const char *writebuf,
-                       CORE_ADDR offset, int len);
-
   int (*supports_non_stop) (void);
 
   /* Enables async target events.  Returns the previous enable
@@ -482,6 +477,14 @@ public:
   virtual int qxfer_osdata (const char *annex, unsigned char *readbuf,
                            unsigned const char *writebuf,
                            CORE_ADDR offset, int len);
+
+  /* Return true if the qxfer_siginfo target op is supported.  */
+  virtual bool supports_qxfer_siginfo ();
+
+  /* Read/Write extra signal info.  */
+  virtual int qxfer_siginfo (const char *annex, unsigned char *readbuf,
+                            unsigned const char *writebuf,
+                            CORE_ADDR offset, int len);
 };
 
 extern process_stratum_target *the_target;
This page took 0.023781 seconds and 4 git commands to generate.