infrun.c: stop_stepping -> stop_waiting.
authorPedro Alves <palves@redhat.com>
Thu, 27 Mar 2014 18:42:53 +0000 (18:42 +0000)
committerPedro Alves <palves@redhat.com>
Thu, 29 May 2014 17:08:11 +0000 (18:08 +0100)
commit22bcd14b34126004346fa3226532dd2c1f3a9790
tree87746e56b59d87d0f846e654ebaabe4b47abe1b7
parent4ae57c052202642ac2976a4ce8929a14d3eb3d12
infrun.c: stop_stepping -> stop_waiting.

stop_stepping is called even when we weren't stepping.  It's job really is:

  static void
  stop_waiting (struct execution_control_state *ecs)
  {
  ...
    /* Let callers know we don't want to wait for the inferior anymore.  */
    ecs->wait_some_more = 0;
  }

So rename it for clarity.

gdb/
2014-05-29  Pedro Alves  <palves@redhat.com>

* infrun.c (stop_stepping): Rename to ...
(stop_waiting): ... this.
(proceed): Update comment.
(process_event_stop_test, handle_inferior_event)
(handle_signal_stop, handle_step_into_function)
(handle_step_into_function_backward): Update.
gdb/ChangeLog
gdb/infrun.c