jjb: librseq: update for ubuntu 22.04 builders
[lttng-ci.git] / scripts / binutils-gdb / build.sh
index 64cc0051a84f4333af5091b43225841e55a89e14..28e2c05d09838c04965d0324b4a2b6792c4b927d 100755 (executable)
@@ -167,7 +167,7 @@ case "$conf" in
     echo "Standard configuration"
 
     # Use system tools
-    CONF_OPTS+=("--disable-binutils" "--disable-ld" "--disable-gold" "--disable-gas" "--disable-sim" "--disable-gprof")
+    CONF_OPTS+=("--disable-binutils" "--disable-ld" "--disable-gold" "--disable-gas" "--disable-sim" "--disable-gprof" "--disable-gprofng")
 
     # Use system libs
     CONF_OPTS+=("--with-system-readline" "--with-system-zlib")
@@ -230,93 +230,6 @@ cp gdb/testsuite/gdb.sum "${WORKSPACE}/results/"
 
 # Filter out some known failures.  There is one file per target board.
 cat <<'EOF' > known-failures-unix
-DUPLICATE: gdb.base/attach-pie-misread.exp: copy ld-2.27.so to ld-linux-x86-64.so.2
-DUPLICATE: gdb.base/attach-pie-misread.exp: copy libc-2.27.so to libc.so.6
-DUPLICATE: gdb.base/attach-pie-misread.exp: ldd attach-pie-misread
-DUPLICATE: gdb.base/attach-pie-misread.exp: ldd attach-pie-misread output contains libs
-DUPLICATE: gdb.base/call-signal-resume.exp: dummy stack frame number
-DUPLICATE: gdb.base/call-signal-resume.exp: return
-DUPLICATE: gdb.base/call-signal-resume.exp: set confirm off
-DUPLICATE: gdb.base/catch-signal.exp: 1: continue
-DUPLICATE: gdb.base/catch-signal.exp: SIGHUP: continue
-DUPLICATE: gdb.base/catch-signal.exp: SIGHUP SIGUSR2: continue
-DUPLICATE: gdb.base/checkpoint.exp: restart 0 one
-DUPLICATE: gdb.base/checkpoint.exp: verify lines 5 two
-DUPLICATE: gdb.base/checkpoint-ns.exp: restart 0 one
-DUPLICATE: gdb.base/checkpoint-ns.exp: verify lines 5 two
-DUPLICATE: gdb.base/complete-empty.exp: empty-input-line: cmd complete ""
-DUPLICATE: gdb.base/corefile-buildid.exp: could not generate core file
-DUPLICATE: gdb.base/decl-before-def.exp: p a
-DUPLICATE: gdb.base/define-prefix.exp: define user command: ghi-prefix-cmd
-DUPLICATE: gdb.base/del.exp: info break after removing break on main
-DUPLICATE: gdb.base/dfp-exprs.exp: p 1.2dl < 1.3df
-DUPLICATE: gdb.base/dfp-test.exp: 1.23E45A is an invalid number
-DUPLICATE: gdb.base/dfp-test.exp: 1.23E is an invalid number
-DUPLICATE: gdb.base/exprs.exp: \$[0-9]* = red (setup)
-DUPLICATE: gdb.base/funcargs.exp: run to call2a
-DUPLICATE: gdb.base/interp.exp: interpreter-exec mi "-var-update *"
-DUPLICATE: gdb.base/miscexprs.exp: print value of !ibig.i[100]
-DUPLICATE: gdb.base/nested-subp2.exp: continue to the STOP marker
-DUPLICATE: gdb.base/nested-subp2.exp: print c
-DUPLICATE: gdb.base/nested-subp2.exp: print count
-DUPLICATE: gdb.base/pending.exp: disable other breakpoints
-DUPLICATE: gdb.base/pie-fork.exp: test_no_detach_on_fork: continue
-DUPLICATE: gdb.base/pointers.exp: pointer assignment
-DUPLICATE: gdb.base/pretty-array.exp: print nums
-DUPLICATE: gdb.base/ptype.exp: list charfoo
-DUPLICATE: gdb.base/ptype.exp: list intfoo
-DUPLICATE: gdb.base/ptype.exp: ptype the_highest
-DUPLICATE: gdb.base/readline.exp: Simple operate-and-get-next - final prompt
-DUPLICATE: gdb.base/realname-expand.exp: set basenames-may-differ on
-DUPLICATE: gdb.base/set-cwd.exp: test_cwd_reset: continue to breakpoint: break-here
-DUPLICATE: gdb.base/shlib-call.exp: continue until exit
-DUPLICATE: gdb.base/shlib-call.exp: print g
-DUPLICATE: gdb.base/shlib-call.exp: set print address off
-DUPLICATE: gdb.base/shlib-call.exp: set print sevenbit-strings
-DUPLICATE: gdb.base/shlib-call.exp: set width 0
-DUPLICATE: gdb.base/solib-display.exp: IN: break 25
-DUPLICATE: gdb.base/solib-display.exp: IN: continue
-DUPLICATE: gdb.base/solib-display.exp: NO: break 25
-DUPLICATE: gdb.base/solib-display.exp: NO: continue
-DUPLICATE: gdb.base/solib-display.exp: SEP: break 25
-DUPLICATE: gdb.base/solib-display.exp: SEP: continue
-DUPLICATE: gdb.base/stack-checking.exp: bt
-DUPLICATE: gdb.base/subst.exp: unset substitute-path from, no rule entered yet
-DUPLICATE: gdb.base/ui-redirect.exp: redirect while already logging: set logging redirect off
-DUPLICATE: gdb.base/unload.exp: continuing to unloaded libfile
-DUPLICATE: gdb.base/watchpoints.exp: watchpoint hit, first time
-DUPLICATE: gdb.mi/mi2-amd64-entry-value.exp: breakpoint at main
-DUPLICATE: gdb.mi/mi2-amd64-entry-value.exp: mi runto main
-DUPLICATE: gdb.mi/mi2-var-child.exp: get children of psnp->char_ptr.*psnp->char_ptr.**psnp->char_ptr.***psnp->char_ptr
-DUPLICATE: gdb.mi/mi2-var-child.exp: get children of psnp->ptrs.0.next.char_ptr.*char_ptr.**char_ptr
-DUPLICATE: gdb.mi/mi2-var-child.exp: get children of psnp->ptrs.0.next.char_ptr.*char_ptr.**char_ptr.***char_ptr
-DUPLICATE: gdb.mi/mi2-var-child.exp: get number of children of psnp->ptrs.0.next.char_ptr.*char_ptr.**char_ptr.***char_ptr
-DUPLICATE: gdb.mi/mi-catch-cpp-exceptions.exp: breakpoint at main
-DUPLICATE: gdb.mi/mi-catch-cpp-exceptions.exp: mi runto main
-DUPLICATE: gdb.mi/mi-catch-load.exp: breakpoint at main
-DUPLICATE: gdb.mi/mi-catch-load.exp: mi runto main
-DUPLICATE: gdb.mi/mi-language.exp: set lang ada
-DUPLICATE: gdb.mi/mi-nonstop-exit.exp: breakpoint at main
-DUPLICATE: gdb.mi/mi-nonstop-exit.exp: mi runto main
-DUPLICATE: gdb.mi/mi-nonstop.exp: check varobj, w1, 1
-DUPLICATE: gdb.mi/mi-nonstop.exp: stacktrace of stopped thread
-DUPLICATE: gdb.mi/mi-nsthrexec.exp: breakpoint at main
-DUPLICATE: gdb.mi/mi-syn-frame.exp: finished exec continue
-DUPLICATE: gdb.mi/mi-syn-frame.exp: list stack frames
-DUPLICATE: gdb.mi/mi-var-child.exp: get children of psnp->char_ptr.*psnp->char_ptr.**psnp->char_ptr.***psnp->char_ptr
-DUPLICATE: gdb.mi/mi-var-child.exp: get children of psnp->ptrs.0.next.char_ptr.*char_ptr.**char_ptr
-DUPLICATE: gdb.mi/mi-var-child.exp: get children of psnp->ptrs.0.next.char_ptr.*char_ptr.**char_ptr.***char_ptr
-DUPLICATE: gdb.mi/mi-var-child.exp: get number of children of psnp->ptrs.0.next.char_ptr.*char_ptr.**char_ptr.***char_ptr
-DUPLICATE: gdb.mi/mi-var-cp.exp: create varobj for s
-DUPLICATE: gdb.mi/mi-var-rtti.exp: list children of ptr.Base.public (with RTTI) in use_rtti_with_multiple_inheritence
-DUPLICATE: gdb.mi/mi-var-rtti.exp: list children of ptr.public (without RTTI) in skip_type_update_when_not_use_rtti
-DUPLICATE: gdb.mi/mi-var-rtti.exp: list children of ptr (without RTTI) in skip_type_update_when_not_use_rtti
-DUPLICATE: gdb.mi/mi-var-rtti.exp: list children of s.ptr.public (without RTTI) in skip_type_update_when_not_use_rtti
-DUPLICATE: gdb.mi/mi-var-rtti.exp: list children of s.ptr (without RTTI) in skip_type_update_when_not_use_rtti
-DUPLICATE: gdb.mi/mi-watch.exp: mi-mode=main: wp-type=hw: watchpoint trigger
-DUPLICATE: gdb.mi/mi-watch.exp: mi-mode=main: wp-type=sw: watchpoint trigger
-DUPLICATE: gdb.mi/mi-watch.exp: mi-mode=separate: wp-type=hw: watchpoint trigger
-DUPLICATE: gdb.mi/mi-watch.exp: mi-mode=separate: wp-type=sw: watchpoint trigger
 FAIL: gdb.ada/interface.exp: print s
 FAIL: gdb.ada/iwide.exp: print d_access.all
 FAIL: gdb.ada/iwide.exp: print dp_access.all
@@ -343,7 +256,7 @@ FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_fatal_msg
 FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: [expr $internal_error_msg_count == 2]
 FAIL: gdb.base/share-env-with-gdbserver.exp: strange named var: print result of getenv for 'asd ='
 FAIL: gdb.base/step-over-syscall.exp: clone: displaced=off: single step over clone
-FAIL: gdb.cp/no-dmgl-verbose.exp: setting breakpoint at 'f(std::string)'
+FAIL: gdb.cp/no-dmgl-verbose.exp: gdb_breakpoint: set breakpoint at 'f(std::string)'
 FAIL: gdb.dwarf2/dw2-inline-param.exp: running to *0x608 in runto
 FAIL: gdb.gdb/python-interrupts.exp: run until breakpoint at captured_command_loop
 FAIL: gdb.mi/mi-break.exp: mi-mode=main: test_explicit_breakpoints: -break-insert -c "foo == 3" --source basics.c --function main --label label (unexpected output)
@@ -366,10 +279,6 @@ UNRESOLVED: gdb.threads/attach-many-short-lived-threads.exp: iter 8: detach
 EOF
 
 cat <<'EOF' > known-failures-native-gdbserver
-DUPLICATE: gdb.base/call-signal-resume.exp: dummy stack frame number
-DUPLICATE: gdb.base/call-signal-resume.exp: return
-DUPLICATE: gdb.base/call-signal-resume.exp: set confirm off
-DUPLICATE: gdb.base/complete-empty.exp: empty-input-line: cmd complete ""
 DUPLICATE: gdb.base/cond-eval-mode.exp: awatch: awatch global
 DUPLICATE: gdb.base/cond-eval-mode.exp: awatch: continue
 DUPLICATE: gdb.base/cond-eval-mode.exp: break: break foo
@@ -380,88 +289,6 @@ DUPLICATE: gdb.base/cond-eval-mode.exp: rwatch: continue
 DUPLICATE: gdb.base/cond-eval-mode.exp: rwatch: rwatch global
 DUPLICATE: gdb.base/cond-eval-mode.exp: watch: continue
 DUPLICATE: gdb.base/cond-eval-mode.exp: watch: watch global
-DUPLICATE: gdb.base/corefile-buildid.exp: could not generate core file
-DUPLICATE: gdb.base/corefile-buildid.exp: could not generate core file
-DUPLICATE: gdb.base/corefile-buildid.exp: could not generate core file
-DUPLICATE: gdb.base/decl-before-def.exp: p a
-DUPLICATE: gdb.base/define-prefix.exp: define user command: ghi-prefix-cmd
-DUPLICATE: gdb.base/del.exp: info break after removing break on main
-DUPLICATE: gdb.base/dfp-exprs.exp: p 1.2dl < 1.3df
-DUPLICATE: gdb.base/dfp-test.exp: 1.23E45A is an invalid number
-DUPLICATE: gdb.base/dfp-test.exp: 1.23E45A is an invalid number
-DUPLICATE: gdb.base/dfp-test.exp: 1.23E is an invalid number
-DUPLICATE: gdb.base/dfp-test.exp: 1.23E is an invalid number
-DUPLICATE: gdb.base/exprs.exp: \$[0-9]* = red (setup)
-DUPLICATE: gdb.base/funcargs.exp: run to call2a
-DUPLICATE: gdb.base/interp.exp: interpreter-exec mi "-var-update *"
-DUPLICATE: gdb.base/miscexprs.exp: print value of !ibig.i[100]
-DUPLICATE: gdb.base/miscexprs.exp: print value of !ibig.i[100]
-DUPLICATE: gdb.base/nested-subp2.exp: continue to the STOP marker
-DUPLICATE: gdb.base/nested-subp2.exp: print c
-DUPLICATE: gdb.base/nested-subp2.exp: print count
-DUPLICATE: gdb.base/pending.exp: disable other breakpoints
-DUPLICATE: gdb.base/pie-fork.exp: test_no_detach_on_fork: continue
-DUPLICATE: gdb.base/pointers.exp: pointer assignment
-DUPLICATE: gdb.base/pretty-array.exp: print nums
-DUPLICATE: gdb.base/pretty-array.exp: print nums
-DUPLICATE: gdb.base/ptype.exp: list charfoo
-DUPLICATE: gdb.base/ptype.exp: list intfoo
-DUPLICATE: gdb.base/ptype.exp: ptype the_highest
-DUPLICATE: gdb.base/readline.exp: Simple operate-and-get-next - final prompt
-DUPLICATE: gdb.base/realname-expand.exp: set basenames-may-differ on
-DUPLICATE: gdb.base/shlib-call.exp: continue until exit
-DUPLICATE: gdb.base/shlib-call.exp: print g
-DUPLICATE: gdb.base/shlib-call.exp: set print address off
-DUPLICATE: gdb.base/shlib-call.exp: set print sevenbit-strings
-DUPLICATE: gdb.base/shlib-call.exp: set width 0
-DUPLICATE: gdb.base/stack-checking.exp: bt
-DUPLICATE: gdb.base/stack-checking.exp: bt
-DUPLICATE: gdb.base/subst.exp: unset substitute-path from, no rule entered yet
-DUPLICATE: gdb.base/ui-redirect.exp: redirect while already logging: set logging redirect off
-DUPLICATE: gdb.base/unload.exp: continuing to unloaded libfile
-DUPLICATE: gdb.base/watchpoints.exp: watchpoint hit, first time
-DUPLICATE: gdb.mi/mi2-amd64-entry-value.exp: breakpoint at main
-DUPLICATE: gdb.mi/mi2-amd64-entry-value.exp: breakpoint at main
-DUPLICATE: gdb.mi/mi2-amd64-entry-value.exp: breakpoint at main
-DUPLICATE: gdb.mi/mi2-amd64-entry-value.exp: breakpoint at main
-DUPLICATE: gdb.mi/mi2-amd64-entry-value.exp: breakpoint at main
-DUPLICATE: gdb.mi/mi2-amd64-entry-value.exp: breakpoint at main
-DUPLICATE: gdb.mi/mi2-amd64-entry-value.exp: mi runto main
-DUPLICATE: gdb.mi/mi2-amd64-entry-value.exp: mi runto main
-DUPLICATE: gdb.mi/mi2-amd64-entry-value.exp: mi runto main
-DUPLICATE: gdb.mi/mi2-amd64-entry-value.exp: mi runto main
-DUPLICATE: gdb.mi/mi2-amd64-entry-value.exp: mi runto main
-DUPLICATE: gdb.mi/mi2-amd64-entry-value.exp: mi runto main
-DUPLICATE: gdb.mi/mi2-var-child.exp: get children of psnp->char_ptr.*psnp->char_ptr.**psnp->char_ptr.***psnp->char_ptr
-DUPLICATE: gdb.mi/mi2-var-child.exp: get children of psnp->ptrs.0.next.char_ptr.*char_ptr.**char_ptr
-DUPLICATE: gdb.mi/mi2-var-child.exp: get children of psnp->ptrs.0.next.char_ptr.*char_ptr.**char_ptr.***char_ptr
-DUPLICATE: gdb.mi/mi2-var-child.exp: get number of children of psnp->ptrs.0.next.char_ptr.*char_ptr.**char_ptr.***char_ptr
-DUPLICATE: gdb.mi/mi-catch-cpp-exceptions.exp: breakpoint at main
-DUPLICATE: gdb.mi/mi-catch-cpp-exceptions.exp: mi runto main
-DUPLICATE: gdb.mi/mi-catch-load.exp: breakpoint at main
-DUPLICATE: gdb.mi/mi-catch-load.exp: mi runto main
-DUPLICATE: gdb.mi/mi-language.exp: set lang ada
-DUPLICATE: gdb.mi/mi-nonstop-exit.exp: breakpoint at main
-DUPLICATE: gdb.mi/mi-nonstop-exit.exp: mi runto main
-DUPLICATE: gdb.mi/mi-nonstop.exp: check varobj, w1, 1
-DUPLICATE: gdb.mi/mi-nonstop.exp: stacktrace of stopped thread
-DUPLICATE: gdb.mi/mi-nsthrexec.exp: breakpoint at main
-DUPLICATE: gdb.mi/mi-syn-frame.exp: finished exec continue
-DUPLICATE: gdb.mi/mi-syn-frame.exp: list stack frames
-DUPLICATE: gdb.mi/mi-syn-frame.exp: list stack frames
-DUPLICATE: gdb.mi/mi-var-child.exp: get children of psnp->char_ptr.*psnp->char_ptr.**psnp->char_ptr.***psnp->char_ptr
-DUPLICATE: gdb.mi/mi-var-child.exp: get children of psnp->ptrs.0.next.char_ptr.*char_ptr.**char_ptr
-DUPLICATE: gdb.mi/mi-var-child.exp: get children of psnp->ptrs.0.next.char_ptr.*char_ptr.**char_ptr.***char_ptr
-DUPLICATE: gdb.mi/mi-var-child.exp: get number of children of psnp->ptrs.0.next.char_ptr.*char_ptr.**char_ptr.***char_ptr
-DUPLICATE: gdb.mi/mi-var-rtti.exp: list children of ptr.Base.public (with RTTI) in use_rtti_with_multiple_inheritence
-DUPLICATE: gdb.mi/mi-var-rtti.exp: list children of ptr.public (without RTTI) in skip_type_update_when_not_use_rtti
-DUPLICATE: gdb.mi/mi-var-rtti.exp: list children of ptr (without RTTI) in skip_type_update_when_not_use_rtti
-DUPLICATE: gdb.mi/mi-var-rtti.exp: list children of s.ptr.public (without RTTI) in skip_type_update_when_not_use_rtti
-DUPLICATE: gdb.mi/mi-var-rtti.exp: list children of s.ptr (without RTTI) in skip_type_update_when_not_use_rtti
-DUPLICATE: gdb.mi/mi-watch.exp: mi-mode=main: wp-type=hw: watchpoint trigger
-DUPLICATE: gdb.mi/mi-watch.exp: mi-mode=main: wp-type=sw: watchpoint trigger
-DUPLICATE: gdb.mi/mi-watch.exp: mi-mode=separate: wp-type=hw: watchpoint trigger
-DUPLICATE: gdb.mi/mi-watch.exp: mi-mode=separate: wp-type=sw: watchpoint trigger
 DUPLICATE: gdb.trace/circ.exp: check whether setting trace buffer size is supported
 DUPLICATE: gdb.trace/ftrace-lock.exp: successfully compiled posix threads test case
 DUPLICATE: gdb.trace/mi-tsv-changed.exp: create delete modify: tvariable $tvar3 modified
@@ -507,7 +334,7 @@ FAIL: gdb.base/interrupt-daemon.exp: bg: continue& (timeout)
 FAIL: gdb.base/interrupt-daemon.exp: bg: interrupt cmd stops process (timeout)
 FAIL: gdb.base/interrupt-daemon.exp: bg: interrupt (timeout)
 FAIL: gdb.base/interrupt-daemon.exp: fg: ctrl-c stops process (timeout)
-FAIL: gdb.cp/no-dmgl-verbose.exp: setting breakpoint at 'f(std::string)'
+FAIL: gdb.cp/no-dmgl-verbose.exp: gdb_breakpoint: set breakpoint at 'f(std::string)'
 FAIL: gdb.threads/forking-threads-plus-breakpoint.exp: cond_bp_target=0: detach_on_fork=on: displaced=off: inferior 1 exited (timeout)
 FAIL: gdb.threads/interrupted-hand-call.exp: continue until exit
 FAIL: gdb.threads/multiple-successive-infcall.exp: thread=3: created new thread
@@ -599,39 +426,31 @@ UNRESOLVED: gdb.base/libsegfault.exp: gdb emits custom handler warning
 UNRESOLVED: gdb.base/readline-ask.exp: bell for more message
 UNRESOLVED: gdb.base/symbol-without-target_section.exp: list -q main
 UNRESOLVED: gdb.dwarf2/dw2-icc-opaque.exp: ptype p_struct
-FAIL: gdb.arch/ftrace-insn-reloc.exp: running to main in runto
-FAIL: gdb.dwarf2/clztest.exp: running to main in runto
+FAIL: gdb.arch/ftrace-insn-reloc.exp: runto: run to main
+FAIL: gdb.dwarf2/clztest.exp: runto: run to main
 FAIL: gdb.dwarf2/dw2-inline-param.exp: running to *0x608 in runto
 FAIL: gdb.multi/multi-re-run.exp: re_run_inf=1: iter=1: running to all_started in runto
 FAIL: gdb.multi/multi-re-run.exp: re_run_inf=2: iter=1: running to all_started in runto
 KPASS: gdb.threads/process-dies-while-detaching.exp: single-process: continue: watchpoint:sw: continue (PRMS gdb/28375)
-FAIL: gdb.trace/change-loc.exp: 1 ftrace: running to main in runto
-FAIL: gdb.trace/change-loc.exp: InstallInTrace disabled: ftrace: running to main in runto
-FAIL: gdb.trace/ftrace-lock.exp: running to main in runto
-FAIL: gdb.trace/ftrace.exp: running to main in runto
-FAIL: gdb.trace/pending.exp: ftrace action_resolved: running to main in runto
-FAIL: gdb.trace/pending.exp: ftrace disconn: running to main in runto
-FAIL: gdb.trace/pending.exp: ftrace disconn_resolved: running to main in runto
-FAIL: gdb.trace/pending.exp: ftrace installed_in_trace: running to main in runto
-FAIL: gdb.trace/pending.exp: ftrace resolved_in_trace: running to main in runto
-FAIL: gdb.trace/range-stepping.exp: running to main in runto
-FAIL: gdb.trace/trace-break.exp: running to main in runto
-FAIL: gdb.trace/trace-condition.exp: running to main in runto
-FAIL: gdb.trace/trace-enable-disable.exp: test_tracepoint_enable_disable ftrace: running to main in runto
-FAIL: gdb.trace/trace-enable-disable.exp: test_tracepoint_enable_disable trace: running to main in runto
-FAIL: gdb.trace/trace-mt.exp: running to main in runto
-FAIL: gdb.trace/tspeed.exp: running to main in runto
+FAIL: gdb.trace/change-loc.exp: 1 ftrace: runto: run to main
+FAIL: gdb.trace/change-loc.exp: InstallInTrace disabled: ftrace: runto: run to main
+FAIL: gdb.trace/ftrace-lock.exp: runto: run to main
+FAIL: gdb.trace/ftrace.exp: runto: run to main
+FAIL: gdb.trace/pending.exp: ftrace action_resolved: runto: run to main
+FAIL: gdb.trace/pending.exp: ftrace disconn: runto: run to main
+FAIL: gdb.trace/pending.exp: ftrace disconn_resolved: runto: run to main
+FAIL: gdb.trace/pending.exp: ftrace installed_in_trace: runto: run to main
+FAIL: gdb.trace/pending.exp: ftrace resolved_in_trace: runto: run to main
+FAIL: gdb.trace/range-stepping.exp: runto: run to main
+FAIL: gdb.trace/trace-break.exp: runto: run to main
+FAIL: gdb.trace/trace-condition.exp: runto: run to main
+FAIL: gdb.trace/trace-enable-disable.exp: test_tracepoint_enable_disable ftrace: runto: run to main
+FAIL: gdb.trace/trace-enable-disable.exp: test_tracepoint_enable_disable trace: runto: run to main
+FAIL: gdb.trace/trace-mt.exp: runto: run to main
+FAIL: gdb.trace/tspeed.exp: runto: run to main
 EOF
 
 cat <<'EOF' > known-failures-native-extended-gdbserver
-DUPLICATE: gdb.base/attach-pie-misread.exp: copy ld-2.27.so to ld-linux-x86-64.so.2
-DUPLICATE: gdb.base/attach-pie-misread.exp: copy libc-2.27.so to libc.so.6
-DUPLICATE: gdb.base/attach-pie-misread.exp: ldd attach-pie-misread
-DUPLICATE: gdb.base/attach-pie-misread.exp: ldd attach-pie-misread output contains libs
-DUPLICATE: gdb.base/call-signal-resume.exp: dummy stack frame number
-DUPLICATE: gdb.base/call-signal-resume.exp: return
-DUPLICATE: gdb.base/call-signal-resume.exp: set confirm off
-DUPLICATE: gdb.base/complete-empty.exp: empty-input-line: cmd complete ""
 DUPLICATE: gdb.base/cond-eval-mode.exp: awatch: awatch global
 DUPLICATE: gdb.base/cond-eval-mode.exp: awatch: continue
 DUPLICATE: gdb.base/cond-eval-mode.exp: break: break foo
@@ -642,92 +461,6 @@ DUPLICATE: gdb.base/cond-eval-mode.exp: rwatch: continue
 DUPLICATE: gdb.base/cond-eval-mode.exp: rwatch: rwatch global
 DUPLICATE: gdb.base/cond-eval-mode.exp: watch: continue
 DUPLICATE: gdb.base/cond-eval-mode.exp: watch: watch global
-DUPLICATE: gdb.base/decl-before-def.exp: p a
-DUPLICATE: gdb.base/define-prefix.exp: define user command: ghi-prefix-cmd
-DUPLICATE: gdb.base/del.exp: info break after removing break on main
-DUPLICATE: gdb.base/dfp-exprs.exp: p 1.2dl < 1.3df
-DUPLICATE: gdb.base/dfp-test.exp: 1.23E45A is an invalid number
-DUPLICATE: gdb.base/dfp-test.exp: 1.23E45A is an invalid number
-DUPLICATE: gdb.base/dfp-test.exp: 1.23E is an invalid number
-DUPLICATE: gdb.base/dfp-test.exp: 1.23E is an invalid number
-DUPLICATE: gdb.base/exprs.exp: \$[0-9]* = red (setup)
-DUPLICATE: gdb.base/funcargs.exp: run to call2a
-DUPLICATE: gdb.base/interp.exp: interpreter-exec mi "-var-update *"
-DUPLICATE: gdb.base/miscexprs.exp: print value of !ibig.i[100]
-DUPLICATE: gdb.base/miscexprs.exp: print value of !ibig.i[100]
-DUPLICATE: gdb.base/nested-subp2.exp: continue to the STOP marker
-DUPLICATE: gdb.base/nested-subp2.exp: print c
-DUPLICATE: gdb.base/nested-subp2.exp: print count
-DUPLICATE: gdb.base/pending.exp: disable other breakpoints
-DUPLICATE: gdb.base/pie-fork.exp: test_no_detach_on_fork: continue
-DUPLICATE: gdb.base/pointers.exp: pointer assignment
-DUPLICATE: gdb.base/pretty-array.exp: print nums
-DUPLICATE: gdb.base/pretty-array.exp: print nums
-DUPLICATE: gdb.base/ptype.exp: list charfoo
-DUPLICATE: gdb.base/ptype.exp: list intfoo
-DUPLICATE: gdb.base/ptype.exp: ptype the_highest
-DUPLICATE: gdb.base/readline.exp: Simple operate-and-get-next - final prompt
-DUPLICATE: gdb.base/realname-expand.exp: set basenames-may-differ on
-DUPLICATE: gdb.base/set-cwd.exp: test_cwd_reset: continue to breakpoint: break-here
-DUPLICATE: gdb.base/shlib-call.exp: continue until exit
-DUPLICATE: gdb.base/shlib-call.exp: print g
-DUPLICATE: gdb.base/shlib-call.exp: set print address off
-DUPLICATE: gdb.base/shlib-call.exp: set print sevenbit-strings
-DUPLICATE: gdb.base/shlib-call.exp: set width 0
-DUPLICATE: gdb.base/solib-display.exp: IN: break 25
-DUPLICATE: gdb.base/solib-display.exp: IN: continue
-DUPLICATE: gdb.base/solib-display.exp: NO: break 25
-DUPLICATE: gdb.base/solib-display.exp: NO: continue
-DUPLICATE: gdb.base/solib-display.exp: SEP: break 25
-DUPLICATE: gdb.base/solib-display.exp: SEP: continue
-DUPLICATE: gdb.base/stack-checking.exp: bt
-DUPLICATE: gdb.base/stack-checking.exp: bt
-DUPLICATE: gdb.base/subst.exp: unset substitute-path from, no rule entered yet
-DUPLICATE: gdb.base/ui-redirect.exp: redirect while already logging: set logging redirect off
-DUPLICATE: gdb.base/unload.exp: continuing to unloaded libfile
-DUPLICATE: gdb.base/watchpoints.exp: watchpoint hit, first time
-DUPLICATE: gdb.mi/mi2-amd64-entry-value.exp: breakpoint at main
-DUPLICATE: gdb.mi/mi2-amd64-entry-value.exp: breakpoint at main
-DUPLICATE: gdb.mi/mi2-amd64-entry-value.exp: breakpoint at main
-DUPLICATE: gdb.mi/mi2-amd64-entry-value.exp: breakpoint at main
-DUPLICATE: gdb.mi/mi2-amd64-entry-value.exp: breakpoint at main
-DUPLICATE: gdb.mi/mi2-amd64-entry-value.exp: breakpoint at main
-DUPLICATE: gdb.mi/mi2-amd64-entry-value.exp: mi runto main
-DUPLICATE: gdb.mi/mi2-amd64-entry-value.exp: mi runto main
-DUPLICATE: gdb.mi/mi2-amd64-entry-value.exp: mi runto main
-DUPLICATE: gdb.mi/mi2-amd64-entry-value.exp: mi runto main
-DUPLICATE: gdb.mi/mi2-amd64-entry-value.exp: mi runto main
-DUPLICATE: gdb.mi/mi2-amd64-entry-value.exp: mi runto main
-DUPLICATE: gdb.mi/mi2-var-child.exp: get children of psnp->char_ptr.*psnp->char_ptr.**psnp->char_ptr.***psnp->char_ptr
-DUPLICATE: gdb.mi/mi2-var-child.exp: get children of psnp->ptrs.0.next.char_ptr.*char_ptr.**char_ptr
-DUPLICATE: gdb.mi/mi2-var-child.exp: get children of psnp->ptrs.0.next.char_ptr.*char_ptr.**char_ptr.***char_ptr
-DUPLICATE: gdb.mi/mi2-var-child.exp: get number of children of psnp->ptrs.0.next.char_ptr.*char_ptr.**char_ptr.***char_ptr
-DUPLICATE: gdb.mi/mi-catch-cpp-exceptions.exp: breakpoint at main
-DUPLICATE: gdb.mi/mi-catch-cpp-exceptions.exp: mi runto main
-DUPLICATE: gdb.mi/mi-catch-load.exp: breakpoint at main
-DUPLICATE: gdb.mi/mi-catch-load.exp: mi runto main
-DUPLICATE: gdb.mi/mi-language.exp: set lang ada
-DUPLICATE: gdb.mi/mi-nonstop-exit.exp: breakpoint at main
-DUPLICATE: gdb.mi/mi-nonstop-exit.exp: mi runto main
-DUPLICATE: gdb.mi/mi-nonstop.exp: check varobj, w1, 1
-DUPLICATE: gdb.mi/mi-nonstop.exp: stacktrace of stopped thread
-DUPLICATE: gdb.mi/mi-nsthrexec.exp: breakpoint at main
-DUPLICATE: gdb.mi/mi-syn-frame.exp: finished exec continue
-DUPLICATE: gdb.mi/mi-syn-frame.exp: list stack frames
-DUPLICATE: gdb.mi/mi-syn-frame.exp: list stack frames
-DUPLICATE: gdb.mi/mi-var-child.exp: get children of psnp->char_ptr.*psnp->char_ptr.**psnp->char_ptr.***psnp->char_ptr
-DUPLICATE: gdb.mi/mi-var-child.exp: get children of psnp->ptrs.0.next.char_ptr.*char_ptr.**char_ptr
-DUPLICATE: gdb.mi/mi-var-child.exp: get children of psnp->ptrs.0.next.char_ptr.*char_ptr.**char_ptr.***char_ptr
-DUPLICATE: gdb.mi/mi-var-child.exp: get number of children of psnp->ptrs.0.next.char_ptr.*char_ptr.**char_ptr.***char_ptr
-DUPLICATE: gdb.mi/mi-var-rtti.exp: list children of ptr.Base.public (with RTTI) in use_rtti_with_multiple_inheritence
-DUPLICATE: gdb.mi/mi-var-rtti.exp: list children of ptr.public (without RTTI) in skip_type_update_when_not_use_rtti
-DUPLICATE: gdb.mi/mi-var-rtti.exp: list children of ptr (without RTTI) in skip_type_update_when_not_use_rtti
-DUPLICATE: gdb.mi/mi-var-rtti.exp: list children of s.ptr.public (without RTTI) in skip_type_update_when_not_use_rtti
-DUPLICATE: gdb.mi/mi-var-rtti.exp: list children of s.ptr (without RTTI) in skip_type_update_when_not_use_rtti
-DUPLICATE: gdb.mi/mi-watch.exp: mi-mode=main: wp-type=hw: watchpoint trigger
-DUPLICATE: gdb.mi/mi-watch.exp: mi-mode=main: wp-type=sw: watchpoint trigger
-DUPLICATE: gdb.mi/mi-watch.exp: mi-mode=separate: wp-type=hw: watchpoint trigger
-DUPLICATE: gdb.mi/mi-watch.exp: mi-mode=separate: wp-type=sw: watchpoint trigger
 FAIL: gdb.multi/multi-re-run.exp: re_run_inf=1: iter=2: continue until exit
 FAIL: gdb.multi/multi-re-run.exp: re_run_inf=1: iter=2: print re_run_var_1
 FAIL: gdb.multi/multi-re-run.exp: re_run_inf=2: iter=2: continue until exit
@@ -807,7 +540,7 @@ FAIL: gdb.cp/annota2.exp: delete bps
 FAIL: gdb.cp/annota2.exp: set watch on a.x (timeout)
 FAIL: gdb.cp/annota2.exp: watch triggered on a.x (timeout)
 FAIL: gdb.cp/annota3.exp: continue to exit (pattern 4)
-FAIL: gdb.cp/no-dmgl-verbose.exp: setting breakpoint at 'f(std::string)'
+FAIL: gdb.cp/no-dmgl-verbose.exp: gdb_breakpoint: set breakpoint at 'f(std::string)'
 FAIL: gdb.gdb/unittest.exp: executable loaded: maintenance selftest, failed none
 FAIL: gdb.gdb/unittest.exp: no executable loaded: maintenance selftest, failed none
 FAIL: gdb.mi/mi-exec-run.exp: inferior-tty=separate: mi=separate: force-fail=0: breakpoint hit reported on console (timeout)
@@ -928,43 +661,52 @@ UNRESOLVED: gdb.mi/mi-exec-run.exp: inferior-tty=main: mi=separate: force-fail=1
 UNRESOLVED: gdb.mi/mi-exec-run.exp: inferior-tty=separate: mi=main: force-fail=1: run failure detected (eof)
 UNRESOLVED: gdb.mi/mi-exec-run.exp: inferior-tty=separate: mi=separate: force-fail=1: run failure detected (eof)
 UNRESOLVED: gdb.threads/attach-into-signal.exp: threaded: attach (pass 2), pending signal catch
-FAIL: gdb.arch/ftrace-insn-reloc.exp: running to main in runto
+FAIL: gdb.arch/ftrace-insn-reloc.exp: runto: run to main
 FAIL: gdb.dwarf2/dw2-inline-param.exp: running to *0x608 in runto
-FAIL: gdb.multi/remove-inferiors.exp: running to main in runto
-FAIL: gdb.threads/access-mem-running-thread-exit.exp: non-stop: second inferior: running to main in runto
-FAIL: gdb.threads/break-while-running.exp: w/ithr: always-inserted off: non-stop: running to main in runto
-FAIL: gdb.threads/break-while-running.exp: w/ithr: always-inserted on: non-stop: running to main in runto
-FAIL: gdb.threads/break-while-running.exp: wo/ithr: always-inserted off: non-stop: running to main in runto
-FAIL: gdb.threads/break-while-running.exp: wo/ithr: always-inserted on: non-stop: running to main in runto
-FAIL: gdb.threads/gcore-stale-thread.exp: running to main in runto
-FAIL: gdb.threads/multi-create-ns-info-thr.exp: running to main in runto
-FAIL: gdb.threads/non-stop-fair-events.exp: running to main in runto
+FAIL: gdb.multi/remove-inferiors.exp: runto: run to main
+FAIL: gdb.threads/access-mem-running-thread-exit.exp: non-stop: second inferior: runto: run to main
+FAIL: gdb.threads/break-while-running.exp: w/ithr: always-inserted off: non-stop: runto: run to main
+FAIL: gdb.threads/break-while-running.exp: w/ithr: always-inserted on: non-stop: runto: run to main
+FAIL: gdb.threads/break-while-running.exp: wo/ithr: always-inserted off: non-stop: runto: run to main
+FAIL: gdb.threads/break-while-running.exp: wo/ithr: always-inserted on: non-stop: runto: run to main
+FAIL: gdb.threads/gcore-stale-thread.exp: runto: run to main
+FAIL: gdb.threads/multi-create-ns-info-thr.exp: runto: run to main
+FAIL: gdb.threads/non-stop-fair-events.exp: runto: run to main
 KPASS: gdb.threads/process-dies-while-detaching.exp: single-process: continue: watchpoint:sw: continue (PRMS gdb/28375)
-FAIL: gdb.threads/thread-execl.exp: non-stop: running to main in runto
-FAIL: gdb.threads/thread-specific-bp.exp: non-stop: running to main in runto
-FAIL: gdb.trace/change-loc.exp: 1 ftrace: running to main in runto
-FAIL: gdb.trace/change-loc.exp: InstallInTrace disabled: ftrace: running to main in runto
-FAIL: gdb.trace/ftrace-lock.exp: running to main in runto
-FAIL: gdb.trace/ftrace.exp: running to main in runto
-FAIL: gdb.trace/pending.exp: ftrace action_resolved: running to main in runto
-FAIL: gdb.trace/pending.exp: ftrace disconn: running to main in runto
-FAIL: gdb.trace/pending.exp: ftrace disconn_resolved: running to main in runto
-FAIL: gdb.trace/pending.exp: ftrace installed_in_trace: running to main in runto
-FAIL: gdb.trace/pending.exp: ftrace resolved_in_trace: running to main in runto
-FAIL: gdb.trace/range-stepping.exp: running to main in runto
-FAIL: gdb.trace/trace-break.exp: running to main in runto
-FAIL: gdb.trace/trace-condition.exp: running to main in runto
-FAIL: gdb.trace/trace-enable-disable.exp: test_tracepoint_enable_disable ftrace: running to main in runto
-FAIL: gdb.trace/trace-enable-disable.exp: test_tracepoint_enable_disable trace: running to main in runto
-FAIL: gdb.trace/trace-mt.exp: running to main in runto
-FAIL: gdb.trace/tspeed.exp: running to main in runto
-FAIL: gdb.trace/tspeed.exp: running to main in runto
-DUPLICATE: gdb.trace/tspeed.exp: running to main in runto
+FAIL: gdb.threads/thread-execl.exp: non-stop: runto: run to main
+FAIL: gdb.threads/thread-specific-bp.exp: non-stop: runto: run to main
+FAIL: gdb.trace/change-loc.exp: 1 ftrace: runto: run to main
+FAIL: gdb.trace/change-loc.exp: InstallInTrace disabled: ftrace: runto: run to main
+FAIL: gdb.trace/ftrace-lock.exp: runto: run to main
+FAIL: gdb.trace/ftrace.exp: runto: run to main
+FAIL: gdb.trace/pending.exp: ftrace action_resolved: runto: run to main
+FAIL: gdb.trace/pending.exp: ftrace disconn: runto: run to main
+FAIL: gdb.trace/pending.exp: ftrace disconn_resolved: runto: run to main
+FAIL: gdb.trace/pending.exp: ftrace installed_in_trace: runto: run to main
+FAIL: gdb.trace/pending.exp: ftrace resolved_in_trace: runto: run to main
+FAIL: gdb.trace/range-stepping.exp: runto: run to main
+FAIL: gdb.trace/trace-break.exp: runto: run to main
+FAIL: gdb.trace/trace-condition.exp: runto: run to main
+FAIL: gdb.trace/trace-enable-disable.exp: test_tracepoint_enable_disable ftrace: runto: run to main
+FAIL: gdb.trace/trace-enable-disable.exp: test_tracepoint_enable_disable trace: runto: run to main
+FAIL: gdb.trace/trace-mt.exp: runto: run to main
+FAIL: gdb.trace/tspeed.exp: runto: run to main
+FAIL: gdb.trace/tspeed.exp: runto: run to main
+DUPLICATE: gdb.trace/tspeed.exp: runto: run to main
 EOF
 
 known_failures_file="known-failures-${target_board}"
 grep --invert-match --fixed-strings --file="$known_failures_file"  "${WORKSPACE}/results/gdb.sum" > "${WORKSPACE}/results/gdb.filtered.sum"
 
+# For informational purposes: check if some known failure lines did not appear
+# in the gdb.sum.
+echo "Known failures that don't appear in gdb.sum:"
+while read line; do
+    if ! grep --silent --fixed-strings "$line" "${WORKSPACE}/results/gdb.sum"; then
+        echo "$line"
+    fi
+done < "$known_failures_file"
+
 # Convert results to JUnit format.
 failed_tests=0
 sum2junit "${WORKSPACE}/results/gdb.filtered.sum" "${WORKSPACE}/results/gdb.xml" || failed_tests=1
This page took 0.041327 seconds and 4 git commands to generate.