X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=scripts%2Fbinutils-gdb%2Fbuild.sh;h=fd07122f5040d639319f94638e1b6b103d78809f;hb=593cd35e7499321c2c882cf779c82d698563f8e9;hp=8d27c52c48bfa48ccd1a81fe132079c0075b04fc;hpb=f204fdf124d38c151e7b904e7e8cc05ffe419136;p=lttng-ci.git diff --git a/scripts/binutils-gdb/build.sh b/scripts/binutils-gdb/build.sh index 8d27c52..fd07122 100755 --- a/scripts/binutils-gdb/build.sh +++ b/scripts/binutils-gdb/build.sh @@ -38,6 +38,8 @@ from xml.etree.ElementTree import ElementTree, Element, SubElement line_re = re.compile( r"^(PASS|XPASS|FAIL|XFAIL|KFAIL|DUPLICATE|UNTESTED|UNSUPPORTED|UNRESOLVED): (.*?\.exp): (.*)" ) +running_re = re.compile(r"^Running .*/(gdb\.[^/]+/.*\.exp)") +error_re = re.compile(r"^ERROR: (.*)") pass_count = 0 fail_count = 0 @@ -65,7 +67,29 @@ testsuite = SubElement( ) SubElement(testsuite, "properties") +cur_test = None + for line in sys.stdin: + m = running_re.match(line) + if m: + cur_test = m.group(1) + continue + + m = error_re.match(line) + if m: + test = cur_test if cur_test else "" + msg = m.group(1) + print("ERROR: {} - {}".format(test, msg), file=sys.stderr) + error_count += 1 + + testcase_name = test + testcase = SubElement( + testsuite, + "testcase", + {"name": testcase_name, "classname": "classname", "time": "0"}, + ) + SubElement(testcase, "error", {"type": "ERROR"}) + m = line_re.match(line) if not m: continue @@ -96,7 +120,7 @@ for line in sys.stdin: else: assert False -testsuite.attrib["tests"] = str(pass_count + fail_count + skip_count) +testsuite.attrib["tests"] = str(pass_count + fail_count + skip_count + error_count) testsuite.attrib["failures"] = str(fail_count) testsuite.attrib["skipped"] = str(skip_count) testsuite.attrib["errors"] = str(error_count) @@ -116,7 +140,7 @@ EOF # Required variables WORKSPACE=${WORKSPACE:-} -arch=${arch:-} +platform=${platform:-} conf=${conf:-} build=${build:-} target_board=${target_board:-unix} @@ -126,20 +150,51 @@ SRCDIR="$WORKSPACE/src/binutils-gdb" TMPDIR="$WORKSPACE/tmp" PREFIX="/build" +function use_ccache() +{ + case "$platform" in + macos-*) + return 1 + ;; + *) + return 0 + ;; + esac +} + # Create tmp directory rm -rf "$TMPDIR" mkdir -p "$TMPDIR" export TMPDIR -export CFLAGS="-O2 -fsanitize=address" -export CXXFLAGS="-O2 -fsanitize=address -D_GLIBCXX_DEBUG=1" +export CFLAGS="-O2 -g -fsanitize=address" +export CXXFLAGS="-O2 -g -fsanitize=address -D_GLIBCXX_DEBUG=1" export LDFLAGS="-fsanitize=address" +export CC="cc" +export CXX="c++" + +if use_ccache; then + CC="ccache $CC" + CXX="ccache $CXX" +fi + +# To make GDB find libcc1.so +export LD_LIBRARY_PATH="/usr/lib/gcc/x86_64-linux-gnu/11:${LD_LIBRARY_PATH:-}" # Set platform variables -case "$arch" in +export TAR=tar +export MAKE=make + +case "$platform" in +macos-*) + export NPROC="getconf _NPROCESSORS_ONLN" + export PATH="/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" + export CPPFLAGS="-I/opt/local/include" + export LDFLAGS="-L/opt/local/lib" + export PYTHON="python3.9" + export PYTHON_CONFIG="python3.9-config" + ;; *) - export MAKE=make - export TAR=tar export NPROC=nproc ;; esac @@ -148,6 +203,14 @@ esac print_os || true print_tooling || true +if use_ccache; then + ccache -c +fi + +# This job has been seen generating cores in /tmp, filling and and causing +# problems. Remove any leftover core from a previous job. +rm /tmp/core.* || true + # Enter the source directory cd "$SRCDIR" @@ -167,19 +230,25 @@ 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") # Enable optional features - CONF_OPTS+=("--enable-targets=all" "--with-expat=yes" "--with-python=python3" "--with-guile=guile-2.2" "--enable-libctf") + CONF_OPTS+=("--enable-targets=all" "--with-expat=yes" "--with-python=python3" "--with-guile" "--enable-libctf") - CONF_OPTS+=("--enable-build-warnings" "--enable-gdb-build-warnings" "--enable-unit-tests") + CONF_OPTS+=("--enable-build-warnings" "--enable-gdb-build-warnings" "--enable-unit-tests" "--enable-ubsan") ;; esac +case "$platform" in +macos-*) + CONF_OPTS+=("--disable-werror") + ;; +esac + # Build type # oot : out-of-tree build # dist : build via make dist @@ -203,10 +272,17 @@ esac # We are now inside a configured build directory # BUILD! -$MAKE -j "$($NPROC)" V=1 MAKEINFO=/bin/true +$MAKE -j "$($NPROC)" V=1 MAKEINFO=true # Install in the workspace -$MAKE install DESTDIR="$WORKSPACE" +$MAKE install DESTDIR="$WORKSPACE" MAKEINFO=true + +case "$platform" in +macos-*) + # Stop there, don't run tests on macOS. + exit 0 + ;; +esac case "$target_board" in unix | native-gdbserver | native-extended-gdbserver) @@ -221,6 +297,9 @@ esac # Run tests, don't fail now, we know that "make check" is going to fail, # since some tests don't pass. +$MAKE -C gdb/testsuite site.exp +# shellcheck disable=SC2016 +echo 'set gdb_test_timeout [expr 5 * $timeout]' >> gdb/testsuite/site.exp $MAKE -C gdb --keep-going check -j "$($NPROC)" RUNTESTFLAGS="$RUNTESTFLAGS" FORCE_PARALLEL="1" || true # Copy the dejagnu test results for archiving before cleaning the build dir @@ -230,105 +309,9 @@ 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 -FAIL: gdb.ada/iwide.exp: print My_Drawable -FAIL: gdb.ada/iwide.exp: print s_access.all -FAIL: gdb.ada/iwide.exp: print sp_access.all -FAIL: gdb.ada/mi_interface.exp: create ggg1 varobj (unexpected output) -FAIL: gdb.ada/mi_interface.exp: list ggg1's children (unexpected output) -FAIL: gdb.ada/tagged_access.exp: ptype c.all -FAIL: gdb.ada/tagged_access.exp: ptype c.menu_name -FAIL: gdb.ada/tagged.exp: print obj -FAIL: gdb.ada/tagged.exp: ptype obj +FAIL: gdb.ada/mi_var_access.exp: Create varobj (unexpected output) +FAIL: gdb.ada/mi_var_access.exp: update at stop 2 (unexpected output) +FAIL: gdb.ada/packed_array_assign.exp: value of pra FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_bt_end FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_bt_start FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_fatal_msg @@ -341,35 +324,92 @@ FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_bt_end FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_bt_start 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/coredump-filter.exp: loading and testing corefile for non-Private-Shared-Anon-File: no binary: disassemble function with corefile and without a binary +FAIL: gdb.base/ending-run.exp: step out of main +FAIL: gdb.base/ending-run.exp: step to end of run +FAIL: gdb.base/gdb-sigterm.exp: pass=16: expect eof (GDB internal error) 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.dwarf2/dw2-inline-param.exp: running to *0x608 in runto +FAIL: gdb.compile/compile-cplus.exp: bt +FAIL: gdb.compile/compile-cplus.exp: compile code extern int globalshadow; globalshadow += 5; +FAIL: gdb.compile/compile-cplus.exp: print 'compile-cplus.c'::globalshadow +FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var () +FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var () +FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast (1)) +FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast (1)) +FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast (1)) +FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast (1)) +FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast (1)) +FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast (1)) +FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast (a)) +FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast (a)) +FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (*a) +FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (*a) +FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (*ac) +FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (*ac) +FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var1 (1) +FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var1 (1) +FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var2 (1, 2) +FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var2 (1, 2) +FAIL: gdb.compile/compile-cplus-method.exp: compile code A::get_1 (a->get_var ()) +FAIL: gdb.compile/compile-cplus-method.exp: result of compile code A::get_1 (a->get_var ()) +FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var1 (a->get_var () - 16) +FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var1 (a->get_var () - 16) +FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var2 (a->get_var (), A::get_1 (2)) +FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var2 (a->get_var (), A::get_1 (2)) +FAIL: gdb.compile/compile-cplus-method.exp: compile code get_value (a) +FAIL: gdb.compile/compile-cplus-method.exp: result of compile code get_value (a) +FAIL: gdb.compile/compile-cplus-method.exp: compile code (a->*pmf) (1) +FAIL: gdb.compile/compile-cplus-method.exp: result of compile code (a->*pmf) (1) +FAIL: gdb.compile/compile-cplus-method.exp: compile code pmf = &A::get_var1; var = (a->*pmf) (2); pmf = &A::get_var +FAIL: gdb.compile/compile-cplus-method.exp: result of compile code pmf = &A::get_var1; var = (a->*pmf) (2); pmf = &A::get_var +FAIL: gdb.compile/compile-cplus-method.exp: compile code (a->**pmf_p) (1) +FAIL: gdb.compile/compile-cplus-method.exp: result of compile code (a->**pmf_p) (1) +FAIL: gdb.compile/compile-cplus-virtual.exp: compile code ap->doit () +FAIL: gdb.compile/compile-cplus-virtual.exp: compile code ap->doit2 () +FAIL: gdb.cp/no-dmgl-verbose.exp: gdb_breakpoint: set breakpoint at 'f(std::string)' +FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 1 +FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 2 +FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 3 +FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 4 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) -FAIL: gdb.mi/mi-break.exp: mi-mode=main: test_explicit_breakpoints: -break-insert --source basics.c --function foobar (unexpected output) -FAIL: gdb.mi/mi-break.exp: mi-mode=main: test_explicit_breakpoints: -break-insert --source basics.c --function main --label foobar (unexpected output) -FAIL: gdb.mi/mi-break.exp: mi-mode=main: test_explicit_breakpoints: -break-insert --source basics.c (unexpected output) -FAIL: gdb.mi/mi-break.exp: mi-mode=separate: test_explicit_breakpoints: -break-insert -c "foo == 3" --source basics.c --function main --label label (unexpected output) -FAIL: gdb.mi/mi-break.exp: mi-mode=separate: test_explicit_breakpoints: -break-insert --source basics.c --function foobar (unexpected output) -FAIL: gdb.mi/mi-break.exp: mi-mode=separate: test_explicit_breakpoints: -break-insert --source basics.c --function main --label foobar (unexpected output) -FAIL: gdb.mi/mi-break.exp: mi-mode=separate: test_explicit_breakpoints: -break-insert --source basics.c (unexpected output) -FAIL: gdb.mi/mi-breakpoint-changed.exp: test_auto_disable: -break-enable count 1 2 (unexpected output) -FAIL: gdb.mi/mi-breakpoint-changed.exp: test_auto_disable: -break-insert -f pendfunc1 (unexpected output) -FAIL: gdb.threads/detach-step-over.exp: breakpoint-condition-evaluation=host: target-non-stop=on: non-stop=on: displaced=off: iter 3: attach (GDB internal error) -UNRESOLVED: gdb.base/libsegfault.exp: gdb emits custom handler warning +FAIL: gdb.mi/list-thread-groups-available.exp: list available thread groups with filter (unexpected output) +FAIL: gdb.threads/attach-stopped.exp: threaded: attach2 to stopped bt +FAIL: gdb.threads/clone-attach-detach.exp: bg attach 2: attach (timeout) +FAIL: gdb.threads/process-dies-while-detaching.exp: single-process: continue: detach: continue +FAIL: gdb.threads/process-dies-while-detaching.exp: single-process: continue: killed outside: continue +FAIL: gdb.threads/process-dies-while-detaching.exp: single-process: continue: watchpoint:hw: continue +FAIL: gdb.threads/signal-command-handle-nopass.exp: step-over no: signal SIGUSR1 +FAIL: gdb.threads/signal-command-handle-nopass.exp: step-over yes: signal SIGUSR1 +FAIL: gdb.threads/signal-sigtrap.exp: sigtrap thread 1: signal SIGTRAP reaches handler +FAIL: gdb.threads/signal-while-stepping-over-bp-other-thread.exp: step (pattern 3) +UNRESOLVED: gdb.ada/arrayptr.exp: scenario=all: gdb_breakpoint: set breakpoint at foo.adb:40 +UNRESOLVED: gdb.ada/arrayptr.exp: scenario=all: runto: run to foo.adb:40 (eof) +UNRESOLVED: gdb.ada/arrayptr.exp: scenario=all: gdb_breakpoint: set breakpoint at foo.adb:40 (eof) +UNRESOLVED: gdb.ada/exprs.exp: gdb_breakpoint: set breakpoint at p.adb:40 +UNRESOLVED: gdb.ada/exprs.exp: runto: run to p.adb:40 (eof) +UNRESOLVED: gdb.ada/exprs.exp: Long_Long_Integer ** Y +UNRESOLVED: gdb.ada/exprs.exp: long_float'min +UNRESOLVED: gdb.ada/exprs.exp: long_float'max +UNRESOLVED: gdb.ada/exprs.exp: gdb_breakpoint: set breakpoint at p.adb:40 (eof) +UNRESOLVED: gdb.ada/packed_array_assign.exp: gdb_breakpoint: set breakpoint at aggregates.run_test +UNRESOLVED: gdb.ada/packed_array_assign.exp: runto: run to aggregates.run_test (eof) +UNRESOLVED: gdb.ada/packed_array_assign.exp: gdb_breakpoint: set breakpoint at aggregates.run_test (eof) +UNRESOLVED: gdb.ada/packed_array_assign.exp: value of pra +UNRESOLVED: gdb.ada/packed_array_assign.exp: print pra(1) := pr +UNRESOLVED: gdb.ada/packed_array_assign.exp: print pra(1) +UNRESOLVED: gdb.ada/packed_array_assign.exp: value of npr +UNRESOLVED: gdb.base/gdb-sigterm.exp: 50 SIGTERM passes 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 -UNRESOLVED: gdb.opencl/vec_comps.exp: OpenCL support not detected -UNRESOLVED: gdb.threads/attach-many-short-lived-threads.exp: iter 8: detach +UNRESOLVED: gdb.python/py-disasm.exp: global_disassembler=GlobalPreInfoDisassembler: disassemble main +EOF + +cat <<'EOF' > known-failures-re-unix +FAIL: gdb.base/gdb-sigterm.exp: pass=[0-9]+: expect eof \(GDB internal error\) +FAIL: gdb.threads/step-N-all-progress.exp: non-stop=on: target-non-stop=on: next .* 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 +420,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 @@ -472,19 +430,10 @@ DUPLICATE: gdb.trace/tfind.exp: 8.17: tfind none DUPLICATE: gdb.trace/trace-buffer-size.exp: set tracepoint at test_function DUPLICATE: gdb.trace/trace-buffer-size.exp: tstart DUPLICATE: gdb.trace/trace-mt.exp: successfully compiled posix threads test case -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 -FAIL: gdb.ada/iwide.exp: print My_Drawable -FAIL: gdb.ada/iwide.exp: print s_access.all -FAIL: gdb.ada/iwide.exp: print sp_access.all -FAIL: gdb.ada/mi_interface.exp: create ggg1 varobj (unexpected output) -FAIL: gdb.ada/mi_interface.exp: list ggg1's children (unexpected output) -FAIL: gdb.ada/tagged_access.exp: ptype c.all -FAIL: gdb.ada/tagged_access.exp: ptype c.menu_name -FAIL: gdb.ada/tagged.exp: print obj -FAIL: gdb.ada/tagged.exp: ptype obj -FAIL: gdb.ada/task_switch_in_core.exp: save a corefile (timeout) +FAIL: gdb.ada/mi_var_access.exp: Create varobj (unexpected output) +FAIL: gdb.ada/mi_var_access.exp: update at stop 2 (unexpected output) +FAIL: gdb.ada/packed_array_assign.exp: value of pra +FAIL: gdb.arch/ftrace-insn-reloc.exp: runto: run to main FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_bt_end FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_bt_start FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_fatal_msg @@ -503,24 +452,72 @@ FAIL: gdb.base/compare-sections.exp: after run to main: compare-sections FAIL: gdb.base/compare-sections.exp: after run to main: compare-sections -r FAIL: gdb.base/compare-sections.exp: compare-sections .text FAIL: gdb.base/compare-sections.exp: read-only: compare-sections -r +FAIL: gdb.base/coredump-filter.exp: loading and testing corefile for non-Private-Shared-Anon-File: no binary: disassemble function with corefile and without a binary +FAIL: gdb.base/ending-run.exp: step out of main +FAIL: gdb.base/ending-run.exp: step to end of run 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.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.base/options.exp: test-backtrace: cmd complete "backtrace " +FAIL: gdb.base/options.exp: test-backtrace: tab complete "backtrace " (clearing input line) (timeout) +FAIL: gdb.base/range-stepping.exp: step over func: next: vCont;r=2 +FAIL: gdb.compile/compile-cplus.exp: bt +FAIL: gdb.compile/compile-cplus.exp: compile code extern int globalshadow; globalshadow += 5; +FAIL: gdb.compile/compile-cplus.exp: print 'compile-cplus.c'::globalshadow +FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var () +FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var () +FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast (1)) +FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast (1)) +FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast (1)) +FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast (1)) +FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast (1)) +FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast (1)) +FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast (a)) +FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast (a)) +FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (*a) +FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (*a) +FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (*ac) +FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (*ac) +FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var1 (1) +FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var1 (1) +FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var2 (1, 2) +FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var2 (1, 2) +FAIL: gdb.compile/compile-cplus-method.exp: compile code A::get_1 (a->get_var ()) +FAIL: gdb.compile/compile-cplus-method.exp: result of compile code A::get_1 (a->get_var ()) +FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var1 (a->get_var () - 16) +FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var1 (a->get_var () - 16) +FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var2 (a->get_var (), A::get_1 (2)) +FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var2 (a->get_var (), A::get_1 (2)) +FAIL: gdb.compile/compile-cplus-method.exp: compile code get_value (a) +FAIL: gdb.compile/compile-cplus-method.exp: result of compile code get_value (a) +FAIL: gdb.compile/compile-cplus-method.exp: compile code (a->*pmf) (1) +FAIL: gdb.compile/compile-cplus-method.exp: result of compile code (a->*pmf) (1) +FAIL: gdb.compile/compile-cplus-method.exp: compile code pmf = &A::get_var1; var = (a->*pmf) (2); pmf = &A::get_var +FAIL: gdb.compile/compile-cplus-method.exp: result of compile code pmf = &A::get_var1; var = (a->*pmf) (2); pmf = &A::get_var +FAIL: gdb.compile/compile-cplus-method.exp: compile code (a->**pmf_p) (1) +FAIL: gdb.compile/compile-cplus-method.exp: result of compile code (a->**pmf_p) (1) +FAIL: gdb.compile/compile-cplus-virtual.exp: compile code ap->doit () +FAIL: gdb.compile/compile-cplus-virtual.exp: compile code ap->doit2 () +FAIL: gdb.cp/no-dmgl-verbose.exp: gdb_breakpoint: set breakpoint at 'f(std::string)' +FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 1 +FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 2 +FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 3 +FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 4 +FAIL: gdb.dwarf2/clztest.exp: runto: run to main FAIL: gdb.threads/multiple-successive-infcall.exp: thread=3: created new thread FAIL: gdb.threads/multiple-successive-infcall.exp: thread=4: created new thread FAIL: gdb.threads/multiple-successive-infcall.exp: thread=5: created new thread -FAIL: gdb.threads/non-ldr-exit.exp: program exits normally (timeout) FAIL: gdb.threads/process-dies-while-detaching.exp: single-process: continue: killed outside: continue -FAIL: gdb.threads/process-dies-while-detaching.exp: single-process: continue: watchpoint:hw: continue (timeout) +FAIL: gdb.threads/signal-command-handle-nopass.exp: step-over no: signal SIGUSR1 +FAIL: gdb.threads/signal-command-handle-nopass.exp: step-over yes: signal SIGUSR1 +FAIL: gdb.threads/signal-sigtrap.exp: sigtrap thread 1: signal SIGTRAP reaches handler FAIL: gdb.threads/thread-specific-bp.exp: all-stop: continue to end (timeout) FAIL: gdb.threads/thread-specific-bp.exp: non-stop: continue to end (timeout) FAIL: gdb.trace/actions.exp: tfile: tracepoint on gdb_asm_test FAIL: gdb.trace/actions.exp: tfile: tracepoint on gdb_c_test FAIL: gdb.trace/actions.exp: tfile: tracepoint on gdb_recursion_test 0 +FAIL: gdb.trace/change-loc.exp: 1 ftrace: runto: run to main FAIL: gdb.trace/change-loc.exp: 1 trace: continue to marker 2 FAIL: gdb.trace/change-loc.exp: 1 trace: continue to marker 3 FAIL: gdb.trace/change-loc.exp: 1 trace: tfind frame 0 @@ -543,6 +540,7 @@ FAIL: gdb.trace/change-loc.exp: 2 trace: continue to marker 3 FAIL: gdb.trace/change-loc.exp: 2 trace: tfind frame 2 FAIL: gdb.trace/change-loc.exp: 2 trace: tracepoint with two locations - installed (unload) FAIL: gdb.trace/change-loc.exp: 2 trace: tracepoint with two locations - pending (unload) +FAIL: gdb.trace/change-loc.exp: InstallInTrace disabled: ftrace: runto: run to main FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local char FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local double FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local float @@ -555,6 +553,8 @@ FAIL: gdb.trace/collection.exp: collect register locals collectively: collected FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #1 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #2 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #3 +FAIL: gdb.trace/collection.exp: collect register locals collectively: run trace experiment: start trace experiment +FAIL: gdb.trace/collection.exp: collect register locals collectively: run trace experiment: tfind test frame FAIL: gdb.trace/collection.exp: collect register locals collectively: start trace experiment FAIL: gdb.trace/collection.exp: collect register locals collectively: tfind test frame FAIL: gdb.trace/collection.exp: collect register locals individually: collected local char @@ -570,8 +570,16 @@ FAIL: gdb.trace/collection.exp: collect register locals individually: collected FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #2 FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #3 FAIL: gdb.trace/collection.exp: collect register locals individually: define actions +FAIL: gdb.trace/ftrace.exp: runto: run to main +FAIL: gdb.trace/ftrace-lock.exp: runto: run to main FAIL: gdb.trace/mi-trace-frame-collected.exp: tfile: -trace-frame-collected (unexpected output) FAIL: gdb.trace/mi-trace-frame-collected.exp: tfile: -trace-frame-collected --var-print-values 2 --comp-print-values --simple-values --registers-format x --memory-contents (unexpected output) +FAIL: gdb.trace/mi-tsv-changed.exp: create delete modify: tvariable $tvar3 modified (unexpected output) +FAIL: gdb.trace/pending.exp: ftrace action_resolved: runto: run to main +FAIL: gdb.trace/pending.exp: ftrace disconn_resolved: runto: run to main +FAIL: gdb.trace/pending.exp: ftrace disconn: 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/pending.exp: ftrace resolved: (the program exited) FAIL: gdb.trace/pending.exp: ftrace works: continue to marker (the program is no longer running) FAIL: gdb.trace/pending.exp: ftrace works: start trace experiment @@ -581,10 +589,19 @@ FAIL: gdb.trace/pending.exp: ftrace works: tfind test frame 2 FAIL: gdb.trace/pending.exp: ftrace works: (the program exited) FAIL: gdb.trace/pending.exp: trace installed_in_trace: continue to marker 2 FAIL: gdb.trace/pending.exp: trace installed_in_trace: tfind test frame 0 +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/unavailable.exp: collect globals: print object off: print derived_partial FAIL: gdb.trace/unavailable.exp: collect globals: print object on: print derived_partial FAIL: gdb.trace/unavailable.exp: collect globals: tfile: print object off: print derived_partial FAIL: gdb.trace/unavailable.exp: collect globals: tfile: print object on: print derived_partial +FAIL: gdb.trace/unavailable.exp: collect globals: tfile: is not the same as 0 in array element repetitions +FAIL: gdb.trace/unavailable.exp: collect globals: is not the same as 0 in array element repetitions FAIL: gdb.trace/unavailable.exp: unavailable locals: auto locals: info locals FAIL: gdb.trace/unavailable.exp: unavailable locals: auto locals: tfile: info locals FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: info locals @@ -595,43 +612,37 @@ FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: tfile: pri FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: tfile: print locf FAIL: gdb.trace/unavailable.exp: unavailable locals: static locals: info locals FAIL: gdb.trace/unavailable.exp: unavailable locals: static locals: tfile: info locals -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.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 +UNRESOLVED: gdb.ada/arrayptr.exp: scenario=all: gdb_breakpoint: set breakpoint at foo.adb:40 +UNRESOLVED: gdb.ada/arrayptr.exp: scenario=all: runto: run to foo.adb:40 (eof) +UNRESOLVED: gdb.ada/exprs.exp: gdb_breakpoint: set breakpoint at p.adb:40 +UNRESOLVED: gdb.ada/exprs.exp: runto: run to p.adb:40 (eof) +UNRESOLVED: gdb.ada/packed_array_assign.exp: gdb_breakpoint: set breakpoint at aggregates.run_test +UNRESOLVED: gdb.ada/packed_array_assign.exp: runto: run to aggregates.run_test (eof) +UNRESOLVED: gdb.ada/exprs.exp: Long_Long_Integer ** Y +UNRESOLVED: gdb.ada/exprs.exp: long_float'min +UNRESOLVED: gdb.ada/exprs.exp: long_float'max +UNRESOLVED: gdb.ada/packed_array_assign.exp: value of pra +UNRESOLVED: gdb.ada/packed_array_assign.exp: print pra(1) := pr +UNRESOLVED: gdb.ada/packed_array_assign.exp: print pra(1) +UNRESOLVED: gdb.ada/packed_array_assign.exp: value of npr +UNRESOLVED: gdb.ada/arrayptr.exp: scenario=all: gdb_breakpoint: set breakpoint at foo.adb:40 (eof) +UNRESOLVED: gdb.ada/array_return.exp: gdb_breakpoint: set breakpoint at main (eof) +UNRESOLVED: gdb.ada/array_subscript_addr.exp: gdb_breakpoint: set breakpoint at p.adb:27 (eof) +UNRESOLVED: gdb.ada/cond_lang.exp: gdb_breakpoint: set breakpoint at c_function (eof) +UNRESOLVED: gdb.ada/dyn_loc.exp: gdb_breakpoint: set breakpoint at pack.adb:25 (eof) +UNRESOLVED: gdb.ada/exprs.exp: gdb_breakpoint: set breakpoint at p.adb:40 (eof) +UNRESOLVED: gdb.ada/packed_array_assign.exp: gdb_breakpoint: set breakpoint at aggregates.run_test (eof) +UNRESOLVED: gdb.ada/ref_tick_size.exp: gdb_breakpoint: set breakpoint at p.adb:26 (eof) +UNRESOLVED: gdb.ada/set_wstr.exp: gdb_breakpoint: set breakpoint at a.adb:23 (eof) +UNRESOLVED: gdb.ada/taft_type.exp: gdb_breakpoint: set breakpoint at p.adb:22 (eof) +UNRESOLVED: gdb.base/libsegfault.exp: gdb emits custom handler warning +EOF + +cat <<'EOF' > known-failures-re-native-gdbserver 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,96 +653,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 -FAIL: gdb.multi/multi-re-run.exp: re_run_inf=2: iter=2: print re_run_var_2 DUPLICATE: gdb.threads/attach-into-signal.exp: threaded: thread apply 2 print $_siginfo.si_signo 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 @@ -747,21 +668,15 @@ DUPLICATE: gdb.trace/tspeed.exp: advance through tracing (the program is no long DUPLICATE: gdb.trace/tspeed.exp: advance to trace begin (the program is no longer running) DUPLICATE: gdb.trace/tspeed.exp: check on trace status DUPLICATE: gdb.trace/tspeed.exp: print iters = init_iters +DUPLICATE: gdb.trace/tspeed.exp: runto: run to main DUPLICATE: gdb.trace/tspeed.exp: start trace experiment -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 -FAIL: gdb.ada/iwide.exp: print My_Drawable -FAIL: gdb.ada/iwide.exp: print s_access.all -FAIL: gdb.ada/iwide.exp: print sp_access.all -FAIL: gdb.ada/mi_interface.exp: create ggg1 varobj (unexpected output) -FAIL: gdb.ada/mi_interface.exp: list ggg1's children (unexpected output) -FAIL: gdb.ada/tagged_access.exp: ptype c.all -FAIL: gdb.ada/tagged_access.exp: ptype c.menu_name -FAIL: gdb.ada/tagged.exp: print obj -FAIL: gdb.ada/tagged.exp: ptype obj +FAIL: gdb.ada/mi_var_access.exp: Create varobj (unexpected output) +FAIL: gdb.ada/mi_var_access.exp: update at stop 2 (unexpected output) +FAIL: gdb.ada/packed_array_assign.exp: value of pra +FAIL: gdb.arch/ftrace-insn-reloc.exp: runto: run to main FAIL: gdb.base/a2-run.exp: run "a2-run" with shell (timeout) -FAIL: gdb.base/attach.exp: do_command_attach_tests: starting with --pid +FAIL: gdb.base/attach.exp: do_command_attach_tests: gdb_spawn_attach_cmdline: info thread (no thread) +FAIL: gdb.base/attach.exp: do_command_attach_tests: gdb_spawn_attach_cmdline: start gdb with --pid FAIL: gdb.base/break-interp.exp: ldprelink=NO: ldsepdebug=IN: binprelink=NO: binsepdebug=NO: binpie=NO: INNER: symbol-less: entry point reached (the program is no longer running) FAIL: gdb.base/break-interp.exp: ldprelink=NO: ldsepdebug=IN: binprelink=NO: binsepdebug=NO: binpie=NO: INNER: symbol-less: reach-(_dl_debug_state|dl_main)-3: reach FAIL: gdb.base/break-interp.exp: ldprelink=NO: ldsepdebug=IN: binprelink=NO: binsepdebug=NO: binpie=YES: INNER: symbol-less: entry point reached (the program is no longer running) @@ -789,6 +704,9 @@ FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: [expr $internal_error_msg_count == FAIL: gdb.base/compare-sections.exp: after run to main: compare-sections FAIL: gdb.base/compare-sections.exp: after run to main: compare-sections -r FAIL: gdb.base/compare-sections.exp: read-only: compare-sections -r +FAIL: gdb.base/coredump-filter.exp: loading and testing corefile for non-Private-Shared-Anon-File: no binary: disassemble function with corefile and without a binary +FAIL: gdb.base/ending-run.exp: step out of main +FAIL: gdb.base/ending-run.exp: step to end of run FAIL: gdb.base/gdbinit-history.exp: GDBHISTFILE is empty: show commands FAIL: gdb.base/gdbinit-history.exp: load default history file: show commands FAIL: gdb.base/gdbinit-history.exp: load GDBHISTFILE history file: show commands @@ -796,10 +714,49 @@ 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.base/range-stepping.exp: step over func: next: vCont;r=2 FAIL: gdb.base/share-env-with-gdbserver.exp: strange named var: print result of getenv for 'asd =' +FAIL: gdb.base/startup-with-shell.exp: startup_with_shell = off; run_args = *.unique-extension: first argument not expanded FAIL: gdb.base/startup-with-shell.exp: startup_with_shell = on; run_args = $TEST: testing first argument FAIL: gdb.base/startup-with-shell.exp: startup_with_shell = on; run_args = *.unique-extension: first argument expanded FAIL: gdb.base/with.exp: repeat: reinvoke with no previous command to relaunch +FAIL: gdb.compile/compile-cplus.exp: bt +FAIL: gdb.compile/compile-cplus.exp: compile code extern int globalshadow; globalshadow += 5; +FAIL: gdb.compile/compile-cplus.exp: print 'compile-cplus.c'::globalshadow +FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var () +FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var () +FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast (1)) +FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast (1)) +FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast (1)) +FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast (1)) +FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast (1)) +FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast (1)) +FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast (a)) +FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast (a)) +FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (*a) +FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (*a) +FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (*ac) +FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (*ac) +FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var1 (1) +FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var1 (1) +FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var2 (1, 2) +FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var2 (1, 2) +FAIL: gdb.compile/compile-cplus-method.exp: compile code A::get_1 (a->get_var ()) +FAIL: gdb.compile/compile-cplus-method.exp: result of compile code A::get_1 (a->get_var ()) +FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var1 (a->get_var () - 16) +FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var1 (a->get_var () - 16) +FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var2 (a->get_var (), A::get_1 (2)) +FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var2 (a->get_var (), A::get_1 (2)) +FAIL: gdb.compile/compile-cplus-method.exp: compile code get_value (a) +FAIL: gdb.compile/compile-cplus-method.exp: result of compile code get_value (a) +FAIL: gdb.compile/compile-cplus-method.exp: compile code (a->*pmf) (1) +FAIL: gdb.compile/compile-cplus-method.exp: result of compile code (a->*pmf) (1) +FAIL: gdb.compile/compile-cplus-method.exp: compile code pmf = &A::get_var1; var = (a->*pmf) (2); pmf = &A::get_var +FAIL: gdb.compile/compile-cplus-method.exp: result of compile code pmf = &A::get_var1; var = (a->*pmf) (2); pmf = &A::get_var +FAIL: gdb.compile/compile-cplus-method.exp: compile code (a->**pmf_p) (1) +FAIL: gdb.compile/compile-cplus-method.exp: result of compile code (a->**pmf_p) (1) +FAIL: gdb.compile/compile-cplus-virtual.exp: compile code ap->doit () +FAIL: gdb.compile/compile-cplus-virtual.exp: compile code ap->doit2 () FAIL: gdb.cp/annota2.exp: annotate-quit FAIL: gdb.cp/annota2.exp: break at main (got interactive prompt) FAIL: gdb.cp/annota2.exp: continue until exit (timeout) @@ -807,38 +764,50 @@ 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.cp/step-and-next-inline.exp: no_header: next step 1 +FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 2 +FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 3 +FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 4 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.gdb/unittest.exp: reversed initialization: maintenance selftest, failed none +FAIL: gdb.guile/scm-ports.exp: buffered: test byte at sp, before flush +FAIL: gdb.mi/list-thread-groups-available.exp: list available thread groups with filter (unexpected output) FAIL: gdb.mi/mi-exec-run.exp: inferior-tty=separate: mi=separate: force-fail=0: breakpoint hit reported on console (timeout) FAIL: gdb.mi/mi-pending.exp: MI pending breakpoint on mi-pendshr.c:pendfunc2 if x==4 (unexpected output) -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.python/py-events.exp: get current thread +FAIL: gdb.multi/remove-inferiors.exp: runto: run to main FAIL: gdb.server/connect-with-no-symbol-file.exp: sysroot=: action=delete: connection to GDBserver succeeded FAIL: gdb.server/connect-with-no-symbol-file.exp: sysroot=: action=permission: connection to GDBserver succeeded FAIL: gdb.server/connect-with-no-symbol-file.exp: sysroot=target:: action=delete: connection to GDBserver succeeded FAIL: gdb.server/connect-with-no-symbol-file.exp: sysroot=target:: action=permission: connection to GDBserver succeeded +FAIL: gdb.threads/access-mem-running-thread-exit.exp: non-stop: access mem (print global_var after writing again, inf=2, iter=1) FAIL: gdb.threads/attach-into-signal.exp: threaded: thread apply 2 print $_siginfo.si_signo -FAIL: gdb.threads/detach-step-over.exp: breakpoint-condition-evaluation=host: target-non-stop=off: non-stop=off: displaced=off: iter 1: all threads running (GDB internal error) -FAIL: gdb.threads/detach-step-over.exp: breakpoint-condition-evaluation=target: target-non-stop=on: non-stop=off: displaced=off: iter 1: stop with SIGUSR1 (timeout) -FAIL: gdb.threads/detach-step-over.exp: breakpoint-condition-evaluation=target: target-non-stop=on: non-stop=off: displaced=off: iter 2: all threads running -FAIL: gdb.threads/detach-step-over.exp: breakpoint-condition-evaluation=target: target-non-stop=on: non-stop=off: displaced=off: iter 2: stop with SIGUSR1 (timeout) -FAIL: gdb.threads/detach-step-over.exp: breakpoint-condition-evaluation=target: target-non-stop=on: non-stop=off: displaced=off: iter 3: all threads running -FAIL: gdb.threads/detach-step-over.exp: breakpoint-condition-evaluation=target: target-non-stop=on: non-stop=off: displaced=off: iter 3: attach (got interactive prompt) -FAIL: gdb.threads/detach-step-over.exp: breakpoint-condition-evaluation=target: target-non-stop=on: non-stop=off: displaced=off: iter 3: stop with SIGUSR1 (timeout) -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/attach-non-stop.exp: target-non-stop=off: non-stop=off: cmd=attach&: all threads running +FAIL: gdb.threads/attach-non-stop.exp: target-non-stop=off: non-stop=off: cmd=attach&: detach +FAIL: gdb.threads/attach-stopped.exp: threaded: attach2 to stopped bt +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/multiple-successive-infcall.exp: thread=3: created new thread FAIL: gdb.threads/multiple-successive-infcall.exp: thread=4: created new thread FAIL: gdb.threads/multiple-successive-infcall.exp: thread=5: created new thread -FAIL: gdb.threads/non-ldr-exit.exp: program exits normally (timeout) +FAIL: gdb.threads/non-stop-fair-events.exp: runto: run to main FAIL: gdb.threads/process-dies-while-detaching.exp: single-process: continue: killed outside: continue -FAIL: gdb.threads/process-dies-while-detaching.exp: single-process: continue: watchpoint:hw: continue (timeout) +FAIL: gdb.threads/signal-command-handle-nopass.exp: step-over yes: signal SIGUSR1 +FAIL: gdb.threads/signal-command-handle-nopass.exp: step-over no: signal SIGUSR1 +FAIL: gdb.threads/signal-sigtrap.exp: sigtrap thread 1: signal SIGTRAP reaches handler +FAIL: gdb.threads/thread-execl.exp: non-stop: runto: run to main FAIL: gdb.threads/thread-specific-bp.exp: all-stop: continue to end (timeout) +FAIL: gdb.threads/thread-specific-bp.exp: non-stop: runto: run to main FAIL: gdb.threads/tls.exp: print a_thread_local FAIL: gdb.trace/actions.exp: tfile: tracepoint on gdb_asm_test FAIL: gdb.trace/actions.exp: tfile: tracepoint on gdb_c_test FAIL: gdb.trace/actions.exp: tfile: tracepoint on gdb_recursion_test 0 +FAIL: gdb.trace/change-loc.exp: 1 ftrace: runto: run to main FAIL: gdb.trace/change-loc.exp: 1 trace: continue to marker 2 FAIL: gdb.trace/change-loc.exp: 1 trace: continue to marker 3 FAIL: gdb.trace/change-loc.exp: 1 trace: tfind frame 0 @@ -861,6 +830,7 @@ FAIL: gdb.trace/change-loc.exp: 2 trace: continue to marker 3 FAIL: gdb.trace/change-loc.exp: 2 trace: tfind frame 2 FAIL: gdb.trace/change-loc.exp: 2 trace: tracepoint with two locations - installed (unload) FAIL: gdb.trace/change-loc.exp: 2 trace: tracepoint with two locations - pending (unload) +FAIL: gdb.trace/change-loc.exp: InstallInTrace disabled: ftrace: runto: run to main FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local char FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local double FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local float @@ -873,6 +843,8 @@ FAIL: gdb.trace/collection.exp: collect register locals collectively: collected FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #1 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #2 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #3 +FAIL: gdb.trace/collection.exp: collect register locals collectively: run trace experiment: start trace experiment +FAIL: gdb.trace/collection.exp: collect register locals collectively: run trace experiment: tfind test frame FAIL: gdb.trace/collection.exp: collect register locals collectively: start trace experiment FAIL: gdb.trace/collection.exp: collect register locals collectively: tfind test frame FAIL: gdb.trace/collection.exp: collect register locals individually: collected local char @@ -888,8 +860,16 @@ FAIL: gdb.trace/collection.exp: collect register locals individually: collected FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #2 FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #3 FAIL: gdb.trace/collection.exp: collect register locals individually: define actions +FAIL: gdb.trace/ftrace.exp: runto: run to main +FAIL: gdb.trace/ftrace-lock.exp: runto: run to main FAIL: gdb.trace/mi-trace-frame-collected.exp: tfile: -trace-frame-collected (unexpected output) FAIL: gdb.trace/mi-trace-frame-collected.exp: tfile: -trace-frame-collected --var-print-values 2 --comp-print-values --simple-values --registers-format x --memory-contents (unexpected output) +FAIL: gdb.trace/mi-tsv-changed.exp: create delete modify: tvariable $tvar3 modified (unexpected output) +FAIL: gdb.trace/pending.exp: ftrace action_resolved: runto: run to main +FAIL: gdb.trace/pending.exp: ftrace disconn_resolved: runto: run to main +FAIL: gdb.trace/pending.exp: ftrace disconn: 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/pending.exp: ftrace resolved: (the program exited) FAIL: gdb.trace/pending.exp: ftrace works: continue to marker (the program is no longer running) FAIL: gdb.trace/pending.exp: ftrace works: start trace experiment @@ -899,16 +879,26 @@ FAIL: gdb.trace/pending.exp: ftrace works: tfind test frame 2 FAIL: gdb.trace/pending.exp: ftrace works: (the program exited) FAIL: gdb.trace/pending.exp: trace installed_in_trace: continue to marker 2 FAIL: gdb.trace/pending.exp: trace installed_in_trace: tfind test frame 0 -FAIL: gdb.trace/tspeed.exp: advance through tracing (the program is no longer running) -FAIL: gdb.trace/tspeed.exp: advance through tracing (the program is no longer running) -FAIL: gdb.trace/tspeed.exp: advance to trace begin (the program is no longer running) -FAIL: gdb.trace/tspeed.exp: advance to trace begin (the program is no longer running) -FAIL: gdb.trace/tspeed.exp: start trace experiment -FAIL: gdb.trace/tspeed.exp: start trace experiment +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: gdb_fast_trace_speed_test: advance through tracing (the program is no longer running) +FAIL: gdb.trace/tspeed.exp: gdb_fast_trace_speed_test: advance to trace begin (the program is no longer running) +FAIL: gdb.trace/tspeed.exp: gdb_fast_trace_speed_test: start trace experiment +FAIL: gdb.trace/tspeed.exp: gdb_slow_trace_speed_test: advance through tracing (the program is no longer running) +FAIL: gdb.trace/tspeed.exp: gdb_slow_trace_speed_test: advance to trace begin (the program is no longer running) +FAIL: gdb.trace/tspeed.exp: gdb_slow_trace_speed_test: start trace experiment +FAIL: gdb.trace/tspeed.exp: runto: run to main +FAIL: gdb.trace/tspeed.exp: runto: run to main FAIL: gdb.trace/unavailable.exp: collect globals: print object off: print derived_partial FAIL: gdb.trace/unavailable.exp: collect globals: print object on: print derived_partial FAIL: gdb.trace/unavailable.exp: collect globals: tfile: print object off: print derived_partial FAIL: gdb.trace/unavailable.exp: collect globals: tfile: print object on: print derived_partial +FAIL: gdb.trace/unavailable.exp: collect globals: tfile: is not the same as 0 in array element repetitions +FAIL: gdb.trace/unavailable.exp: collect globals: is not the same as 0 in array element repetitions FAIL: gdb.trace/unavailable.exp: unavailable locals: auto locals: info locals FAIL: gdb.trace/unavailable.exp: unavailable locals: auto locals: tfile: info locals FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: info locals @@ -919,60 +909,52 @@ FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: tfile: pri FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: tfile: print locf FAIL: gdb.trace/unavailable.exp: unavailable locals: static locals: info locals FAIL: gdb.trace/unavailable.exp: unavailable locals: static locals: tfile: info locals -UNRESOLVED: gdb.base/libsegfault.exp: gdb emits custom handler warning +KPASS: gdb.threads/process-dies-while-detaching.exp: single-process: continue: watchpoint:sw: continue (PRMS gdb/28375) +UNRESOLVED: gdb.ada/arrayptr.exp: scenario=all: gdb_breakpoint: set breakpoint at foo.adb:40 +UNRESOLVED: gdb.ada/arrayptr.exp: scenario=all: runto: run to foo.adb:40 (eof) +UNRESOLVED: gdb.ada/exprs.exp: gdb_breakpoint: set breakpoint at p.adb:40 +UNRESOLVED: gdb.ada/exprs.exp: runto: run to p.adb:40 (eof) +UNRESOLVED: gdb.ada/packed_array_assign.exp: gdb_breakpoint: set breakpoint at aggregates.run_test +UNRESOLVED: gdb.ada/packed_array_assign.exp: runto: run to aggregates.run_test (eof) +UNRESOLVED: gdb.ada/exprs.exp: Long_Long_Integer ** Y +UNRESOLVED: gdb.ada/exprs.exp: long_float'min +UNRESOLVED: gdb.ada/exprs.exp: long_float'max +UNRESOLVED: gdb.ada/packed_array_assign.exp: value of pra +UNRESOLVED: gdb.ada/packed_array_assign.exp: print pra(1) := pr +UNRESOLVED: gdb.ada/packed_array_assign.exp: print pra(1) +UNRESOLVED: gdb.ada/packed_array_assign.exp: value of npr +UNRESOLVED: gdb.ada/arrayptr.exp: scenario=all: gdb_breakpoint: set breakpoint at foo.adb:40 (eof) +UNRESOLVED: gdb.ada/array_return.exp: gdb_breakpoint: set breakpoint at main (eof) +UNRESOLVED: gdb.ada/array_subscript_addr.exp: gdb_breakpoint: set breakpoint at p.adb:27 (eof) +UNRESOLVED: gdb.ada/cond_lang.exp: gdb_breakpoint: set breakpoint at c_function (eof) +UNRESOLVED: gdb.ada/dyn_loc.exp: gdb_breakpoint: set breakpoint at pack.adb:25 (eof) +UNRESOLVED: gdb.ada/exprs.exp: gdb_breakpoint: set breakpoint at p.adb:40 (eof) +UNRESOLVED: gdb.ada/packed_array_assign.exp: gdb_breakpoint: set breakpoint at aggregates.run_test (eof) +UNRESOLVED: gdb.ada/ref_tick_size.exp: gdb_breakpoint: set breakpoint at p.adb:26 (eof) +UNRESOLVED: gdb.ada/set_wstr.exp: gdb_breakpoint: set breakpoint at a.adb:23 (eof) +UNRESOLVED: gdb.ada/taft_type.exp: gdb_breakpoint: set breakpoint at p.adb:22 (eof) 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 -UNRESOLVED: gdb.mi/mi-exec-run.exp: inferior-tty=main: mi=main: force-fail=1: run failure detected (eof) -UNRESOLVED: gdb.mi/mi-exec-run.exp: inferior-tty=main: mi=separate: force-fail=1: run failure detected (eof) -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.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 -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 +EOF + +cat <<'EOF' > known-failures-re-native-extended-gdbserver +FAIL: gdb.threads/attach-many-short-lived-threads.exp: .* 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" +known_failures_re_file="known-failures-re-${target_board}" +grep --invert-match --fixed-strings --file="$known_failures_file" "${WORKSPACE}/results/gdb.sum" | \ + grep --invert-match --extended-regexp --file="$known_failures_re_file" > "${WORKSPACE}/results/gdb.filtered.sum" +grep --extended-regexp --regexp="^(FAIL|XPASS|UNRESOLVED|DUPLICATE|ERROR):" "${WORKSPACE}/results/gdb.filtered.sum" > "${WORKSPACE}/results/gdb.fail.sum" || true # 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 +while read -r line; do if ! grep --silent --fixed-strings "$line" "${WORKSPACE}/results/gdb.sum"; then echo "$line" fi -done < "$known_failures_file" +done < "$known_failures_file" > "${WORKSPACE}/results/known-failures-not-found.sum" # Convert results to JUnit format. failed_tests=0