gdb/testsuite: add test for run/attach while program is running
authorSimon Marchi <simon.marchi@polymtl.ca>
Mon, 25 Jan 2021 04:57:28 +0000 (23:57 -0500)
committerPedro Alves <pedro@palves.net>
Wed, 17 Mar 2021 12:51:06 +0000 (12:51 +0000)
commitd0c99a23b21aff9107a4cf49ee626b7db0824a04
treeb96586068ba65c3d366596b55fb89b0fec381f45
parent95557f1e09b765e50a3575725c798bd877e40fc0
gdb/testsuite: add test for run/attach while program is running

A WIP patch series broke the use case of doing "run" or "attach" while
the program is running, but it wasn't caught by the testsuite, which
means it's not covered.  Add a test for that.

gdb/testsuite/ChangeLog:

* gdb.base/run-attach-while-running.exp: New.
* gdb.base/run-attach-while-running.c: New.

Change-Id: I77f098ec0b28dc2d4575ea80e941f6a75273e431
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/run-attach-while-running.c [new file with mode: 0644]
gdb/testsuite/gdb.base/run-attach-while-running.exp [new file with mode: 0644]