From: Tom de Vries <tdevries@suse.de>
To: gdb-patches@sourceware.org
Subject: [committed][gdb/testsuite] Fix DUPLICATE in gdb.base/global-var-nested-by-dso.exp
Date: Fri, 10 Sep 2021 18:43:41 +0200 [thread overview]
Message-ID: <20210910164339.GA15732@delia.home> (raw)
Hi,
Fix DUPLICATE in gdb.base/global-var-nested-by-dso.exp by naming commands more
uniquely.
Committed to trunk.
Thanks,
- Tom
[gdb/testsuite] Fix DUPLICATE in gdb.base/global-var-nested-by-dso.exp
---
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"
reply other threads:[~2021-09-10 16:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210910164339.GA15732@delia.home \
--to=tdevries@suse.de \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).