Fix switch_back_to_stepped_thread comment references
authorPedro Alves <palves@redhat.com>
Tue, 24 Mar 2015 14:24:54 +0000 (14:24 +0000)
committerPedro Alves <palves@redhat.com>
Tue, 24 Mar 2015 19:01:05 +0000 (19:01 +0000)
Whoops, switch_back_to_stepping doesn't exist...

gdb/
2015-03-24  Pedro Alves  <palves@redhat.com>

* infrun.c (resume, proceed): Mention
switch_back_to_stepped_thread, not switch_back_to_stepping.

gdb/ChangeLog
gdb/infrun.c

index a7d95f6ff88861d09d4729ffd3208f6ca28dcda6..2cd79a5242e4a1042bd3482680072cb06b1a99de 100644 (file)
@@ -1,3 +1,8 @@
+2015-03-24  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c (resume, proceed): Mention
+       switch_back_to_stepped_thread, not switch_back_to_stepping.
+
 2015-03-24  Pedro Alves  <palves@redhat.com>
 
        * infrun.c (user_visible_resume_ptid): Rewrite going from
index ce6fb1adaca0490c78271961d9016e3f1d0b096f..4114246c0d2017767a0ebe2c34465e335520eaa8 100644 (file)
@@ -2180,9 +2180,9 @@ resume (enum gdb_signal sig)
                 reported to handle_inferior_event.  Set a breakpoint
                 at the current PC, and run to it.  Don't update
                 prev_pc, because if we end in
-                switch_back_to_stepping, we want the "expected thread
-                advanced also" branch to be taken.  IOW, we don't
-                want this thread to step further from PC
+                switch_back_to_stepped_thread, we want the "expected
+                thread advanced also" branch to be taken.  IOW, we
+                don't want this thread to step further from PC
                 (overstep).  */
              insert_single_step_breakpoint (gdbarch, aspace, pc);
              insert_breakpoints ();
@@ -2668,7 +2668,7 @@ proceed (CORE_ADDR addr, enum gdb_signal siggnal)
                                target_pid_to_str (step_over->ptid));
 
          /* Store the prev_pc for the stepping thread too, needed by
-            switch_back_to_stepping thread.  */
+            switch_back_to_stepped_thread.  */
          tp->prev_pc = regcache_read_pc (get_current_regcache ());
          switch_to_thread (step_over->ptid);
          tp = step_over;
This page took 0.038011 seconds and 4 git commands to generate.