gdb: ensure test_name is initialized in gdb_breakpoint
authorLancelot SIX <lancelot.six@amd.com>
Wed, 4 Jan 2023 17:58:08 +0000 (17:58 +0000)
committerLancelot SIX <lancelot.six@amd.com>
Wed, 4 Jan 2023 19:08:24 +0000 (19:08 +0000)
commit4036ad07f4293ca5cd9bd9cf95fc5d8b86d6e1a6
treeaaf32cb8c32e1c44ce6e00a8b4e2ace5fd43cb58
parentd654ad96eb4bee13f672e9b1549b52b499cf9ae1
gdb: ensure test_name is initialized in gdb_breakpoint

A refactoring in 4b9728bec15 (gdb: use gdb_test_multiple in
gdb_breakpoint) left the $test_name variable undefined.

This patch fixes this.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdb/testsuite/lib/gdb.exp