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:
3a80a48
)
[gdb/testsuite] Fix gdb.dwarf2/dw2-zero-range.exp for remote-gdbserver-on-localhost
author
Tom de Vries
<tdevries@suse.de>
Tue, 7 Mar 2023 14:12:06 +0000
(15:12 +0100)
committer
Tom de Vries
<tdevries@suse.de>
Tue, 7 Mar 2023 14:12:06 +0000
(15:12 +0100)
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
patch
|
blob
|
history
diff --git
a/gdb/testsuite/gdb.dwarf2/dw2-zero-range.exp
b/gdb/testsuite/gdb.dwarf2/dw2-zero-range.exp
index 4649f990fcaa22cac91037a65cb7e32ee66a143d..7bef05684f3304bbdbbdabc4cfd72858b22fe96c 100644
(file)
--- 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
}