projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1c3ad9
)
[gdb/testsuite] Fix DUPLICATE in gdb.base/global-var-nested-by-dso.exp
author
Tom de Vries
<tdevries@suse.de>
Fri, 10 Sep 2021 15:16:48 +0000
(17:16 +0200)
committer
Tom de Vries
<tdevries@suse.de>
Fri, 10 Sep 2021 15:16:48 +0000
(17:16 +0200)
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
patch
|
blob
|
history
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 7afe253b81de71dcddb393ca52c415b558a3845f..fa4e747898a0cc0ee9bf66f71b9aee7fb52ba991 100644
(file)
--- 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"