This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch master updated. bdc36728eee582853ca53bb8b6012e8cc3b90eb7
- From: palves at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 29 May 2014 17:41:22 -0000
- Subject: gdb and binutils branch master updated. bdc36728eee582853ca53bb8b6012e8cc3b90eb7
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".
The branch, master has been updated
via bdc36728eee582853ca53bb8b6012e8cc3b90eb7 (commit)
via 22bcd14b34126004346fa3226532dd2c1f3a9790 (commit)
from 4ae57c052202642ac2976a4ce8929a14d3eb3d12 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=bdc36728eee582853ca53bb8b6012e8cc3b90eb7
commit bdc36728eee582853ca53bb8b6012e8cc3b90eb7
Author: Pedro Alves <palves@redhat.com>
Date: Thu Mar 27 18:43:59 2014 +0000
infrun.c: simplify "end stepping range" code a bit.
- all end_stepping_range callers also set stop_step.
- all places that set stop_step call end_stepping_range and
stop_waiting too.
IOW, all places where we handle "end stepping range" do:
ecs->event_thread->control.stop_step = 1;
end_stepping_range ();
stop_waiting (ecs);
Factor that out into end_stepping_range itself.
Tested on x86_64 Fedora 20.
gdb/
2014-05-29 Pedro Alves <palves@redhat.com>
* infrun.c (process_event_stop_test, handle_step_into_function)
(handle_step_into_function_backward): Adjust.
Don't set the even thread's stop_step and call stop_waiting before
calling end_stepping_range. Instead do that ...
(end_stepping_range): ... here. Take an ecs pointer parameter.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=22bcd14b34126004346fa3226532dd2c1f3a9790
commit 22bcd14b34126004346fa3226532dd2c1f3a9790
Author: Pedro Alves <palves@redhat.com>
Date: Thu Mar 27 18:42:53 2014 +0000
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.
-----------------------------------------------------------------------
Summary of changes:
gdb/ChangeLog | 17 +++++++++
gdb/infrun.c | 110 ++++++++++++++++++++-------------------------------------
2 files changed, 55 insertions(+), 72 deletions(-)
hooks/post-receive
--
gdb and binutils