Testcase for detaching while stepping over breakpoint
authorPedro Alves <pedro@palves.net>
Mon, 14 Dec 2020 12:07:20 +0000 (12:07 +0000)
committerPedro Alves <pedro@palves.net>
Wed, 3 Feb 2021 01:15:22 +0000 (01:15 +0000)
commita71501e25ff14918d7876f4905be0df9dd3ae29a
treeade5cacc853075157604ba5d4a09853397663b20
parent408f66864a1a823591b26420410c982174c239a2
Testcase for detaching while stepping over breakpoint

This adds a testcase that exercises detaching while GDB is stepping
over a breakpoint, in all combinations of:

  - maint target non-stop off/on
  - set non-stop on/off
  - displaced stepping on/off

This exercises the bugs fixed in the previous 8 patches.

gdb/testsuite/ChangeLog:

* gdb.threads/detach-step-over.c: New file.
* gdb.threads/detach-step-over.exp: New file.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.threads/detach-step-over.c [new file with mode: 0644]
gdb/testsuite/gdb.threads/detach-step-over.exp [new file with mode: 0644]