[PATCH 0/6] Refactoring around inferior continuations

Tankut Baris Aktemur via Gdb-patches
2021-04-21T12:58:01Z

Hi,

This is a refactoring/clean-up of the inferior continuations.

Thanks
Baris

Tankut Baris Aktemur (6):
gdb/infcmd: remove the unused parameter 'args' in 'attach_post_wait'
gdb/infcmd: update the comment for 'attach_post_wait'
gdb/continuations: remove the 'err' from
'do_all_inferior_continuations'
gdb/continuations: do minor cleanup
gdb/continuations: use lambdas instead of function pointers
gdb/continuations: turn continuation functions into inferior methods

gdb/Makefile.in | 1 -
gdb/continuations.c | 134 --------------------------------------------
gdb/continuations.h | 55 ------------------
gdb/event-top.c | 1 -
gdb/inf-loop.c | 3 +-
gdb/infcmd.c | 65 +++++----------------
gdb/inferior.c | 20 ++++++-
gdb/inferior.h | 19 +++++--
gdb/interps.c | 1 -
9 files changed, 46 insertions(+), 253 deletions(-)
delete mode 100644 gdb/continuations.c
delete mode 100644 gdb/continuations.h

--
2.17.1