[v2,0/5] Fix some commit_resumed_state assertion failures (PR 28275)

Message ID 20221121171213.1414366-1-simon.marchi@polymtl.ca
Headers
Series Fix some commit_resumed_state assertion failures (PR 28275) |

Message

Simon Marchi Nov. 21, 2022, 5:12 p.m. UTC
  This is v2 of:

https://inbox.sourceware.org/gdb-patches/20221117194241.1776125-1-simon.marchi@efficios.com/

Some trivial patches have already been merged.

Andrew Burgess (2):
  gdb/testsuite: refactor gdb.threads/detach-step-over.exp
  gdb: fix assert when quitting GDB while a thread is stepping

Simon Marchi (3):
  gdb/testsuite: remove global declarations in
    gdb.threads/detach-step-over.exp
  gdbserver: switch to right process in find_one_thread
  gdb: disable commit resumed in target_kill

 gdb/target.c                                  |  14 +
 .../gdb.base/run-control-while-bg-execution.c |  33 ++
 .../run-control-while-bg-execution.exp        | 118 +++++++
 .../gdb.multi/attach-while-running.c          |  26 ++
 .../gdb.multi/attach-while-running.exp        |  69 ++++
 .../gdb.threads/detach-step-over.exp          | 322 +++++++++++-------
 gdbserver/thread-db.cc                        |  29 +-
 7 files changed, 480 insertions(+), 131 deletions(-)
 create mode 100644 gdb/testsuite/gdb.base/run-control-while-bg-execution.c
 create mode 100644 gdb/testsuite/gdb.base/run-control-while-bg-execution.exp
 create mode 100644 gdb/testsuite/gdb.multi/attach-while-running.c
 create mode 100644 gdb/testsuite/gdb.multi/attach-while-running.exp


base-commit: 1a7e622b82fa621ab505dd911bc30c1efcb4a9b0