From d7d1029e6261c2455f335663f8c9cffb440f1a6a Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Fri, 10 Sep 2021 17:16:48 +0200 Subject: [PATCH] [gdb/testsuite] Fix DUPLICATE in gdb.base/global-var-nested-by-dso.exp Fix DUPLICATE in gdb.base/global-var-nested-by-dso.exp by naming commands more uniquely. --- gdb/testsuite/gdb.base/global-var-nested-by-dso.exp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gdb/testsuite/gdb.base/global-var-nested-by-dso.exp b/gdb/testsuite/gdb.base/global-var-nested-by-dso.exp index 7afe253b81d..fa4e747898a 100644 --- a/gdb/testsuite/gdb.base/global-var-nested-by-dso.exp +++ b/gdb/testsuite/gdb.base/global-var-nested-by-dso.exp @@ -52,6 +52,6 @@ if { ![runto_main] } { return -1 } -gdb_test "next" "$decimal.*b_main \\(\\);" -gdb_test "next" "$decimal.*return 0;" +gdb_test "next" "$decimal.*b_main \\(\\);" "step over c_main" +gdb_test "next" "$decimal.*return 0;" "step over b_main" gdb_test "print test" " = 42" -- 2.30.2