Browse Source
A mistake slipped in in commitbinutils-2_38-brancha5ea23036d"[gdb/testsuite] Use function_range in gdb.dwarf2/dw2-ref-missing-frame.exp". Before the commit the main file was compiled with debug info, and the two others not: ... if {[prepare_for_testing_full "failed to prepare" \ [list $testfile {} $srcfile {} $srcfuncfile {} \ $srcmainfile debug]]} { ... After the commit, all were compiled with debug info, and consequently, there are two versions of debug info for $srcfuncfile. This shows up as a FAIL when running the test-case with target boards readnow and cc-with-debug-names. Fix this by using prepare_for_testing_full, as before. Tested on x86_64-linux. Fixes:a5ea23036d("[gdb/testsuite] Use function_range in gdb.dwarf2/dw2-ref-missing-frame.exp")
1 changed files with 5 additions and 3 deletions
Loading…
Reference in new issue