This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 0/7] More run control cleanup.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]