Add an optional "alias" attribute to syscall entries.
[deliverable/binutils-gdb.git] / gdb / test-target.h
index b3170f82656ef7cb85ce158c249b9ed29fcbd380..1286fc1a6e80a4f05b9ed53ce0093dc903278e80 100644 (file)
@@ -20,7 +20,7 @@
 #ifndef TEST_TARGET_H
 #define TEST_TARGET_H
 
-#include "target.h"
+#include "process-stratum-target.h"
 
 #if GDB_SELF_TEST
 namespace selftests {
@@ -28,14 +28,10 @@ namespace selftests {
 /* A mock process_stratum target_ops that doesn't read/write registers
    anywhere.  */
 
-class test_target_ops : public target_ops
+class test_target_ops : public process_stratum_target
 {
 public:
-  test_target_ops ()
-    : target_ops {}
-  {
-    to_stratum = process_stratum;
-  }
+  test_target_ops () = default;
 
   const target_info &info () const override;
 
This page took 0.029291 seconds and 4 git commands to generate.