]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/testsuite: Simplify gdb.threads/threadcrash.exp
authorTom de Vries <tdevries@suse.de>
Mon, 11 Mar 2024 09:57:32 +0000 (10:57 +0100)
committerTom de Vries <tdevries@suse.de>
Mon, 11 Mar 2024 09:57:32 +0000 (10:57 +0100)
commit623840fc07dd8f3b21276d018d442cdf60292e73
tree21f3e010fdc6add7914aadf9e28bd9ed8cb84dad
parentb95b92ec093cea8014e33fdca2f800c4e5ce91be
gdb/testsuite: Simplify gdb.threads/threadcrash.exp

I noticed in gdb.threads/threadcrash.exp that the usage of test_list is
somewhat convoluted.

Simplify the test-case by storing a classification instead of a pattern in
test_list.

Tested on arm-linux and x86_64-linux.
gdb/testsuite/gdb.threads/threadcrash.exp