target_ops::to_stratum -> target_ops::stratum() virtual method
[deliverable/binutils-gdb.git] / gdb / aix-thread.c
index 97592e5b1f70c18b92bf704ff6ffb511c89c016d..d61fd4aac3ea544a50433b0096aeffe3ad1be8f2 100644 (file)
@@ -117,12 +117,11 @@ static const target_info aix_thread_target_info = {
 class aix_thread_target final : public target_ops
 {
 public:
-  aix_thread_target ()
-  { to_stratum = thread_stratum; }
-
   const target_info &info () const override
   { return aix_thread_target_info; }
 
+  strata stratum () const override { return thread_stratum; }
+
   void detach (inferior *, int) override;
   void resume (ptid_t, int, enum gdb_signal) override;
   ptid_t wait (ptid_t, struct target_waitstatus *, int) override;
This page took 0.024528 seconds and 4 git commands to generate.