aboutsummaryrefslogtreecommitdiff
path: root/binutils/testsuite
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2022-06-30 14:53:02 +0100
committerNick Clifton <nickc@redhat.com>2022-06-30 14:53:02 +0100
commitaa40d66bb18c7aa068179f42de52327a0711834e (patch)
tree3bfae933ebf9f2e75d81787a4190de8b02940940 /binutils/testsuite
parent6418644b0d09af7d1334cc034a7bf8674c061d6e (diff)
downloadgdb-aa40d66bb18c7aa068179f42de52327a0711834e.zip
gdb-aa40d66bb18c7aa068179f42de52327a0711834e.tar.gz
gdb-aa40d66bb18c7aa068179f42de52327a0711834e.tar.bz2
Fix implementation of readelf's -wE and -wN options,
* dwarf.c (dwarf_select_sections_by_name): If the entry's value is zero then clear the corresponding variable. (dwarf_select_sections_by_letters): Likewise. * testsuite/binutils-all/debuginfo.exp: Expect -WE and -wE debuginfod tests to fail.
Diffstat (limited to 'binutils/testsuite')
-rw-r--r--binutils/testsuite/binutils-all/debuginfod.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/binutils/testsuite/binutils-all/debuginfod.exp b/binutils/testsuite/binutils-all/debuginfod.exp
index d0e6db2..f5935ad 100644
--- a/binutils/testsuite/binutils-all/debuginfod.exp
+++ b/binutils/testsuite/binutils-all/debuginfod.exp
@@ -189,7 +189,7 @@ if { [regexp ".*DEBUGINFOD.*" $conf_objdump] } {
test_fetch_debugaltlink $OBJDUMP "-Wk"
set test "disabling debuginfod access"
- # setup_xfail *-*-*
+ setup_xfail *-*-*
test_fetch_debuglink $OBJDUMP "-W -WE"
set test "debuginfod"
@@ -202,7 +202,7 @@ if { [regexp ".*DEBUGINFOD.*" $conf_readelf] } {
test_fetch_debugaltlink $READELF "-wk"
set test "disabling debuginfod access"
- # setup_xfail *-*-*
+ setup_xfail *-*-*
test_fetch_debuglink $READELF "-w -wE"
set test "debuginfod"