gdb/testsuite: fix typo gdb_name_name -> gdb_test_name
authorAndrew Burgess <aburgess@redhat.com>
Wed, 5 Apr 2023 11:45:18 +0000 (12:45 +0100)
committerAndrew Burgess <aburgess@redhat.com>
Tue, 11 Apr 2023 10:59:30 +0000 (11:59 +0100)
Spotted a small typo in gdb_breakpoint proc, we use $gdb_name_name
instead of $gdb_test_name in one place.  Fixed in this commit.

gdb/testsuite/lib/gdb.exp

index 7538071d1cf0920d5e64441d34a73b97826cffd1..9ea0334759dffc124e8da51133ba5055c1d123d4 100644 (file)
@@ -680,7 +680,7 @@ proc gdb_breakpoint { linespec args } {
        -re "$break_message \[0-9\]* \\(.*\\) pending.*$gdb_prompt $" {
                if {$pending_response == "n"} {
                        if { $print_fail } {
-                               fail $gdb_name_name
+                               fail $gdb_test_name
                        }
                        return 0
                }