public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] [gdb/testsuite] Fix gdb.dwarf2/dw2-zero-range.exp for remote-gdbserver-on-localhost
@ 2023-03-07 14:12 Tom de Vries
0 siblings, 0 replies; only message in thread
From: Tom de Vries @ 2023-03-07 14:12 UTC (permalink / raw)
To: gdb-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b7b7151da0535ce34a329c3e7648312cd2379b58
commit b7b7151da0535ce34a329c3e7648312cd2379b58
Author: Tom de Vries <tdevries@suse.de>
Date: Tue Mar 7 15:12:06 2023 +0100
[gdb/testsuite] Fix gdb.dwarf2/dw2-zero-range.exp for remote-gdbserver-on-localhost
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.
Diff:
---
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
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-03-07 14:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-07 14:12 [binutils-gdb] [gdb/testsuite] Fix gdb.dwarf2/dw2-zero-range.exp for remote-gdbserver-on-localhost Tom de Vries
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).