public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/7] Replace continuations with an extendable "class"
@ 2015-08-12 17:02 Pedro Alves
  2015-08-12 17:02 ` [PATCH 1/7] Merge async and sync code paths some more Pedro Alves
                   ` (7 more replies)
  0 siblings, 8 replies; 26+ messages in thread
From: Pedro Alves @ 2015-08-12 17:02 UTC (permalink / raw)
  To: gdb-patches

Mainly, this series replaces the continuations mechanism with a
"class" that manages a thread's execution-command-specific state.
This fixes bugs, and cleans up core run control and interpreter code
in the process, as well as clearing the path for further
fixes/cleanups.

Pedro Alves (7):
  Merge async and sync code paths some more
  Replace "struct continuation" mechanism by something more extensible
  Convert infcalls to thread_fsm mechanism
  Convert the until/advance commands to thread_fsm mechanism
  Garbage collect dummy_frame_ctx_saver
  Garbage collect thread continuations
  Delete enum inferior_event_handler::INF_TIMER

 gdb/Makefile.in                  |   2 +-
 gdb/breakpoint.c                 | 212 ++++++-----
 gdb/breakpoint.h                 |   6 +-
 gdb/cli/cli-interp.c             |  13 +
 gdb/continuations.c              | 190 ----------
 gdb/continuations.h              |  19 -
 gdb/event-top.c                  |   2 -
 gdb/gdbthread.h                  |  23 +-
 gdb/inf-loop.c                   |  70 +---
 gdb/infcall.c                    | 433 ++++++++++++----------
 gdb/infcall.h                    |   9 -
 gdb/infcmd.c                     | 758 +++++++++++++++++++++++----------------
 gdb/inferior.h                   |   6 +-
 gdb/infrun.c                     | 342 ++++++++++--------
 gdb/infrun.h                     |  22 +-
 gdb/linux-nat.c                  |  23 --
 gdb/mi/mi-interp.c               | 140 +++-----
 gdb/python/py-finishbreakpoint.c |   5 +-
 gdb/target.c                     |  11 +
 gdb/target.h                     |  15 +-
 gdb/testsuite/gdb.mi/mi-cli.exp  |  18 +
 gdb/thread-fsm.c                 | 107 ++++++
 gdb/thread-fsm.h                 | 104 ++++++
 gdb/thread.c                     |  18 +-
 gdb/top.c                        |  16 +-
 gdb/top.h                        |   3 +
 gdb/tui/tui-interp.c             |  13 +
 27 files changed, 1394 insertions(+), 1186 deletions(-)
 create mode 100644 gdb/thread-fsm.c
 create mode 100644 gdb/thread-fsm.h

-- 
1.9.3

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2015-10-22 15:54 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-12 17:02 [PATCH 0/7] Replace continuations with an extendable "class" Pedro Alves
2015-08-12 17:02 ` [PATCH 1/7] Merge async and sync code paths some more Pedro Alves
2015-08-12 19:48   ` Simon Marchi
2015-08-17 17:54     ` Pedro Alves
2015-08-17 19:28       ` Simon Marchi
2015-08-18 10:48   ` Yao Qi
2015-08-19 14:11     ` Pedro Alves
2015-08-27 13:26       ` Yao Qi
2015-10-16  0:35   ` Joel Brobecker
2015-10-16 12:24     ` Pedro Alves
2015-10-16 16:22       ` Joel Brobecker
2015-10-16 16:37         ` Pedro Alves
2015-10-16 17:05           ` Joel Brobecker
2015-10-22 16:18             ` Pedro Alves
2015-08-12 17:02 ` [PATCH 2/7] Replace "struct continuation" mechanism by something more extensible Pedro Alves
2015-08-18 12:50   ` Yao Qi
2015-08-19 14:55     ` Pedro Alves
2015-08-12 17:02 ` [PATCH 4/7] Convert the until/advance commands to thread_fsm mechanism Pedro Alves
2015-08-12 17:02 ` [PATCH 3/7] Convert infcalls " Pedro Alves
2015-08-12 17:11 ` [PATCH 7/7] Delete enum inferior_event_handler::INF_TIMER Pedro Alves
2015-08-18 11:22   ` Yao Qi
2015-08-12 17:11 ` [PATCH 5/7] Garbage collect dummy_frame_ctx_saver Pedro Alves
2015-08-12 17:11 ` [PATCH 6/7] Garbage collect thread continuations Pedro Alves
2015-08-18 12:52 ` [PATCH 0/7] Replace continuations with an extendable "class" Yao Qi
2015-08-19 14:56   ` Pedro Alves
2015-09-09 17:33   ` Pedro Alves

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).