This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 0/7] More run control cleanup.
- From: Pedro Alves <palves at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Thu, 31 Oct 2013 21:31:58 +0000
- Subject: [PATCH 0/7] More run control cleanup.
- Authentication-results: sourceware.org; auth=none
Here's another batch of fixes / cleanups to handle_inferior_event &
co. It ends up splitting handle_inferior_event further in another two
halves around 600 lines each, and cleaning up random signal handling.
I think the flow ends a good chunk clearer afterwards.
Tested on x86_64 Fedora 17, native and gdbserver.
Comments?
Pedro Alves (7):
infrun.c:handle_inferior_event: Don't fall through in
TARGET_WAITKIND_LOADED handling.
infrun.c:handle_inferior_event: Move comment.
infrun.c: Don't set ecs->random_signal for "catchpoint" events
(eliminate ecs->random_signal).
infrun.c:handle_inferior_event: Rework random signal checks.
Eliminate enum bpstat_signal_value, simplify random signal checks
further.
infrun.c: Split handle_inferior_event further.
infrun.c:handle_signal_stop: Move initial connection/attachment
handling code earlier.
gdb/break-catch-sig.c | 4 +-
gdb/breakpoint.c | 34 +++---
gdb/breakpoint.h | 32 ++----
gdb/infrun.c | 285 +++++++++++++++++++++++++-------------------------
4 files changed, 165 insertions(+), 190 deletions(-)
--
1.7.11.7