gdb/testsuite: Reduce indentation in gdb.threads/threadcrash.exp
commit85041a8d518b4e0625b2bb1d007838dfd5cbe421
authorTom de Vries <tdevries@suse.de>
Mon, 11 Mar 2024 09:57:31 +0000 (11 10:57 +0100)
committerTom de Vries <tdevries@suse.de>
Mon, 11 Mar 2024 09:57:31 +0000 (11 10:57 +0100)
treec8a0b4a4118f59dad808acce7bde906bdd1b6586
parent06360a5cbd9b3fbe177aa5892ce26dcda6960fb5
gdb/testsuite: Reduce indentation in gdb.threads/threadcrash.exp

In test-case gdb.threads/threadcrash.exp we have an unnecessarily indented
gdb_test_multiple:
...
    gdb_test_multiple "thread apply all backtrace" \
"Get thread information" -lbl {
    -re "#\[0-9\]+\\\?\\\?\[^\n\]*" {
...

Fix this by moving the command into a variable, allowing the
"gdb_test_multiple ... {" to fit on a single 80 chars line.

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