From: Tom de Vries <tdevries@suse.de>
To: gdb-patches@sourceware.org
Subject: [pushed] [gdb/testsuite] Fix gdb.dwarf2/dw2-zero-range.exp for remote-gdbserver-on-localhost
Date: Tue, 7 Mar 2023 15:12:25 +0100 [thread overview]
Message-ID: <20230307141225.25015-1-tdevries@suse.de> (raw)
Fix test-case gdb.dwarf2/dw2-zero-range.exp for target board
remote-gdbserver-on-localhost using gdb_load_shlib.
Tested on x86_64-linux.
---
gdb/testsuite/gdb.dwarf2/dw2-zero-range.exp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-zero-range.exp b/gdb/testsuite/gdb.dwarf2/dw2-zero-range.exp
index 4649f990fca..7bef05684f3 100644
--- a/gdb/testsuite/gdb.dwarf2/dw2-zero-range.exp
+++ b/gdb/testsuite/gdb.dwarf2/dw2-zero-range.exp
@@ -104,6 +104,7 @@ foreach_with_prefix ranges_sect {ranges rnglists} {
}
clean_restart $binfile
+ gdb_load_shlib $lib1
set readnow_p [readnow]
@@ -123,7 +124,7 @@ foreach_with_prefix ranges_sect {ranges rnglists} {
with_complaints 1 {
set test "Zero address complaint - relocated - psymtab"
set have_complaint 0
- gdb_test_multiple "sharedlibrary $lib1" $test {
+ gdb_test_multiple "sharedlibrary [file tail $lib1]" $test {
-re -wrap $re {
set have_complaint 1
}
base-commit: 1b79c725e40e4258bdd9254e7a250c4b807d28b6
--
2.35.3
reply other threads:[~2023-03-07 14:12 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=20230307141225.25015-1-tdevries@suse.de \
--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).