i386: Remove the unused bfd pointer argument
[deliverable/binutils-gdb.git] / gdb / record-full.c
index 4d8988db2a7dc5eb8e8d87fe07f4acc7614c3ec6..66234dbc43f2c13cfbcc44efc36189633fa5ba28 100644 (file)
@@ -218,11 +218,10 @@ static const char record_doc[]
 class record_full_base_target : public target_ops
 {
 public:
-  record_full_base_target ()
-  { to_stratum = record_stratum; }
-
   const target_info &info () const override = 0;
 
+  strata stratum () const override { return record_stratum; }
+
   void close () override;
   void async (int) override;
   ptid_t wait (ptid_t, struct target_waitstatus *, int) override;
@@ -1201,8 +1200,6 @@ record_full_wait_1 (struct target_ops *ops,
 
          while (1)
            {
-             struct thread_info *tp;
-
              ret = ops->beneath ()->wait (ptid, status, options);
              if (status->kind == TARGET_WAITKIND_IGNORE)
                {
@@ -1213,7 +1210,7 @@ record_full_wait_1 (struct target_ops *ops,
                  return ret;
                }
 
-             ALL_NON_EXITED_THREADS (tp)
+             for (thread_info *tp : all_non_exited_threads ())
                 delete_single_step_breakpoints (tp);
 
              if (record_full_resume_step)
This page took 0.025178 seconds and 4 git commands to generate.