target_ops::to_stratum -> target_ops::stratum() virtual method
[deliverable/binutils-gdb.git] / gdb / linux-thread-db.c
index 74acec26297e9ab64662dde3faed48a7f09d52ec..3c0998e02f3956485481c9ae2b0c0fa76fd8125a 100644 (file)
@@ -85,11 +85,11 @@ static const target_info thread_db_target_info = {
 class thread_db_target final : public target_ops
 {
 public:
-  thread_db_target ();
-
   const target_info &info () const override
   { return thread_db_target_info; }
 
+  strata stratum () const override { return thread_stratum; }
+
   void detach (inferior *, int) override;
   ptid_t wait (ptid_t, struct target_waitstatus *, int) override;
   void resume (ptid_t, int, enum gdb_signal) override;
@@ -107,11 +107,6 @@ public:
                                             inferior *inf) override;
 };
 
-thread_db_target::thread_db_target ()
-{
-  this->to_stratum = thread_stratum;
-}
-
 static char *libthread_db_search_path;
 
 /* Set to non-zero if thread_db auto-loading is enabled
This page took 0.02371 seconds and 4 git commands to generate.