3 # Copyright (C) 2021 Michael Jeanson <mjeanson@efficios.com>
5 # This program is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation, either version 3 of the License, or
8 # (at your option) any later version.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program. If not, see <http://www.gnu.org/licenses/>.
27 message_len
="${#message}"
28 padding_len
=$
(( (80 - (message_len
)) / 2 ))
30 printf '\n'; printf -- '#%.0s' {1.
.80}; printf '\n'
31 printf -- '-%.0s' {1.
.80}; printf '\n'
32 printf -- '#%.0s' $
(seq 1 $padding_len); printf '%s' "$message"; printf -- '#%.0s' $
(seq 1 $padding_len); printf '\n'
33 printf -- '-%.0s' {1.
.80}; printf '\n'
34 printf -- '#%.0s' {1.
.80}; printf '\n\n'
40 # Assume we are in the configured build directory
41 echo "#################### BEGIN config.log ####################"
43 echo "#################### END config.log ####################"
51 cat <<EOF > sum2junit.py
53 from datetime import datetime
55 from xml.etree.ElementTree import ElementTree, Element, SubElement
58 r"^(PASS|XPASS|FAIL|XFAIL|KFAIL|DUPLICATE|UNTESTED|UNSUPPORTED|UNRESOLVED): (.*?\.exp): (.*)"
60 running_re = re.compile(r"^Running .*/(gdb\.[^/]+/.*\.exp)")
61 error_re = re.compile(r"^ERROR: (.*)")
67 now = datetime.now().isoformat(timespec="seconds")
72 "xmlns": "https://raw.githubusercontent.com/windyroad/JUnit-Schema/master/JUnit.xsd"
75 testsuite = SubElement(
84 "hostname": "hostname",
87 SubElement(testsuite, "properties")
91 for line in sys.stdin:
92 m = running_re.match(line)
97 m = error_re.match(line)
99 test = cur_test if cur_test else "<unknown test>"
101 print("ERROR: {} - {}".format(test, msg), file=sys.stderr)
105 testcase = SubElement(
108 {"name": testcase_name, "classname": "classname", "time": "0"},
110 SubElement(testcase, "error", {"type": "ERROR"})
112 m = line_re.match(line)
116 state, exp_filename, test_name = m.groups()
118 testcase_name = "{} - {}".format(exp_filename, test_name)
120 testcase = SubElement(
123 {"name": testcase_name, "classname": "classname", "time": "0"},
126 if state in ("PASS", "XFAIL", "KFAIL"):
128 elif state in ("FAIL", "XPASS"):
129 print("{}: {}".format(state, testcase_name), file=sys.stderr)
131 SubElement(testcase, "failure", {"type": state})
132 elif state in ("UNRESOLVED", "DUPLICATE"):
133 print("{}: {}".format(state, testcase_name), file=sys.stderr)
135 SubElement(testcase, "error", {"type": state})
136 elif state in ("UNTESTED", "UNSUPPORTED"):
138 SubElement(testcase, "skipped")
142 testsuite.attrib["tests"] = str(pass_count + fail_count + skip_count + error_count)
143 testsuite.attrib["failures"] = str(fail_count)
144 testsuite.attrib["skipped"] = str(skip_count)
145 testsuite.attrib["errors"] = str(error_count)
147 SubElement(testsuite, "system-out")
148 SubElement(testsuite, "system-err")
150 et = ElementTree(testsuites)
151 et.write(sys.stdout, encoding="unicode")
153 sys.exit(1 if fail_count > 0 or error_count > 0 else 0)
156 python3 sum2junit.py
< "$infile" > "$outfile"
160 WORKSPACE
=${WORKSPACE:-}
162 platform
=${platform:-}
165 target_board
=${target_board:-unix}
168 SRCDIR
="$WORKSPACE/src/binutils-gdb"
169 TMPDIR
="$WORKSPACE/tmp"
172 function use_ccache
()
184 # Create tmp directory
189 export CFLAGS
="-O2 -g -fsanitize=address"
190 export CXXFLAGS
="-O2 -g -fsanitize=address -D_GLIBCXX_DEBUG=1"
191 export LDFLAGS
="-fsanitize=address"
200 # To make GDB find libcc1.so
201 export LD_LIBRARY_PATH
="/usr/lib/gcc/x86_64-linux-gnu/11:${LD_LIBRARY_PATH:-}"
203 # Set platform variables
209 export NPROC
="getconf _NPROCESSORS_ONLN"
210 export PATH
="/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
211 export CPPFLAGS
="-I/opt/local/include"
212 export LDFLAGS
="-L/opt/local/lib"
213 export PYTHON
="python3.9"
214 export PYTHON_CONFIG
="python3.9-config"
221 # Print build env details
222 print_header
"Build environment details"
223 print_hardware || true
225 print_tooling || true
231 # This job has been seen generating cores in /tmp, filling and and causing
232 # problems. Remove any leftover core from a previous job.
233 rm /tmp
/core.
* || true
235 # Enter the source directory
238 # Run bootstrap in the source directory prior to configure
241 # Get source version from configure script
242 #eval "$(grep '^PACKAGE_VERSION=' ./configure)"
243 #PACKAGE_VERSION=${PACKAGE_VERSION//\-pre*/}
245 # Set configure options and environment variables for each build
247 CONF_OPTS
=("--prefix=$PREFIX")
251 echo "Standard configuration"
254 CONF_OPTS
+=("--disable-binutils" "--disable-ld" "--disable-gold" "--disable-gas" "--disable-sim" "--disable-gprof" "--disable-gprofng")
257 CONF_OPTS
+=("--with-system-readline" "--with-system-zlib")
259 # Enable optional features
260 CONF_OPTS
+=("--enable-targets=all" "--with-expat=yes" "--with-python=python3" "--with-guile" "--enable-libctf")
262 CONF_OPTS
+=("--enable-build-warnings" "--enable-gdb-build-warnings" "--enable-unit-tests" "--enable-ubsan")
269 CONF_OPTS
+=("--disable-werror")
274 # oot : out-of-tree build
275 # dist : build via make dist
276 # oot-dist: build via make dist out-of-tree
277 # * : normal tree build
279 # Make sure to move to the build directory and run configure
283 echo "Out of tree build"
285 # Create and enter a temporary build directory
286 builddir
=$
(mktemp
-d)
289 "$SRCDIR/configure" "${CONF_OPTS[@]}" || failed_configure
293 # We are now inside a configured build directory
296 $MAKE -j "$($NPROC)" V
=1 MAKEINFO
=true
298 # Install in the workspace
299 $MAKE install DESTDIR
="$WORKSPACE" MAKEINFO
=true
303 # Stop there, don't run tests on macOS.
308 case "$target_board" in
309 unix | native-gdbserver | native-extended-gdbserver
)
310 RUNTESTFLAGS
="--target_board=$target_board"
314 echo "Unknown \$target_board value: $target_board"
319 # Run tests, don't fail now, we know that "make check" is going to fail,
320 # since some tests don't pass.
321 $MAKE -C gdb
/testsuite site.exp
322 # shellcheck disable=SC2016
323 echo 'set gdb_test_timeout [expr 5 * $timeout]' >> gdb
/testsuite
/site.exp
324 $MAKE -C gdb
--keep-going check RUNTESTFLAGS
="$RUNTESTFLAGS" || true
326 # Copy the dejagnu test results for archiving before cleaning the build dir
327 mkdir
"${WORKSPACE}/results"
328 cp gdb
/testsuite
/gdb.log
"${WORKSPACE}/results/"
329 cp gdb
/testsuite
/gdb.
sum "${WORKSPACE}/results/"
331 # Filter out some known failures. There is one file per target board.
332 cat <<'EOF' > known-failures-unix
333 FAIL: gdb.ada/mi_var_access.exp: Create varobj (unexpected output)
334 FAIL: gdb.ada/mi_var_access.exp: update at stop 2 (unexpected output)
335 FAIL: gdb.ada/packed_array_assign.exp: value of pra
336 FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_bt_end
337 FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_bt_start
338 FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_fatal_msg
339 FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: [expr $internal_error_msg_count == 2]
340 FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_bt_end
341 FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_bt_start
342 FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_fatal_msg
343 FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: [expr $internal_error_msg_count == 2]
344 FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_bt_end
345 FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_bt_start
346 FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_fatal_msg
347 FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: [expr $internal_error_msg_count == 2]
348 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
349 FAIL: gdb.base/ending-run.exp: step out of main
350 FAIL: gdb.base/ending-run.exp: step to end of run
351 FAIL: gdb.base/gdb-sigterm.exp: pass=16: expect eof (GDB internal error)
352 FAIL: gdb.base/share-env-with-gdbserver.exp: strange named var: print result of getenv for 'asd ='
353 FAIL: gdb.base/step-over-syscall.exp: clone: displaced=off: single step over clone
354 FAIL: gdb.compile/compile-cplus.exp: bt
355 FAIL: gdb.compile/compile-cplus.exp: compile code extern int globalshadow; globalshadow += 5;
356 FAIL: gdb.compile/compile-cplus.exp: print 'compile-cplus.c'::globalshadow
357 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var ()
358 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var ()
359 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast<unsigned long> (1))
360 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast<unsigned long> (1))
361 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast<int> (1))
362 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast<int> (1))
363 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast<float> (1))
364 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast<float> (1))
365 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast<void *> (a))
366 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast<void *> (a))
367 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (*a)
368 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (*a)
369 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (*ac)
370 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (*ac)
371 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var1 (1)
372 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var1 (1)
373 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var2 (1, 2)
374 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var2 (1, 2)
375 FAIL: gdb.compile/compile-cplus-method.exp: compile code A::get_1 (a->get_var ())
376 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code A::get_1 (a->get_var ())
377 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var1 (a->get_var () - 16)
378 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var1 (a->get_var () - 16)
379 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var2 (a->get_var (), A::get_1 (2))
380 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var2 (a->get_var (), A::get_1 (2))
381 FAIL: gdb.compile/compile-cplus-method.exp: compile code get_value (a)
382 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code get_value (a)
383 FAIL: gdb.compile/compile-cplus-method.exp: compile code (a->*pmf) (1)
384 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code (a->*pmf) (1)
385 FAIL: gdb.compile/compile-cplus-method.exp: compile code pmf = &A::get_var1; var = (a->*pmf) (2); pmf = &A::get_var
386 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code pmf = &A::get_var1; var = (a->*pmf) (2); pmf = &A::get_var
387 FAIL: gdb.compile/compile-cplus-method.exp: compile code (a->**pmf_p) (1)
388 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code (a->**pmf_p) (1)
389 FAIL: gdb.compile/compile-cplus-virtual.exp: compile code ap->doit ()
390 FAIL: gdb.compile/compile-cplus-virtual.exp: compile code ap->doit2 ()
391 FAIL: gdb.cp/no-dmgl-verbose.exp: gdb_breakpoint: set breakpoint at 'f(std::string)'
392 FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 1
393 FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 2
394 FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 3
395 FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 4
396 FAIL: gdb.gdb/python-interrupts.exp: run until breakpoint at captured_command_loop
397 FAIL: gdb.mi/list-thread-groups-available.exp: list available thread groups with filter (unexpected output)
398 FAIL: gdb.threads/attach-stopped.exp: threaded: attach2 to stopped bt
399 FAIL: gdb.threads/clone-attach-detach.exp: bg attach 2: attach (timeout)
400 FAIL: gdb.threads/process-dies-while-detaching.exp: single-process: continue: detach: continue
401 FAIL: gdb.threads/process-dies-while-detaching.exp: single-process: continue: killed outside: continue
402 FAIL: gdb.threads/process-dies-while-detaching.exp: single-process: continue: watchpoint:hw: continue
403 FAIL: gdb.threads/signal-command-handle-nopass.exp: step-over no: signal SIGUSR1
404 FAIL: gdb.threads/signal-command-handle-nopass.exp: step-over yes: signal SIGUSR1
405 FAIL: gdb.threads/signal-sigtrap.exp: sigtrap thread 1: signal SIGTRAP reaches handler
406 FAIL: gdb.threads/signal-while-stepping-over-bp-other-thread.exp: step (pattern 3)
407 UNRESOLVED: gdb.ada/arrayptr.exp: scenario=all: gdb_breakpoint: set breakpoint at foo.adb:40
408 UNRESOLVED: gdb.ada/arrayptr.exp: scenario=all: runto: run to foo.adb:40 (eof)
409 UNRESOLVED: gdb.ada/arrayptr.exp: scenario=all: gdb_breakpoint: set breakpoint at foo.adb:40 (eof)
410 UNRESOLVED: gdb.ada/exprs.exp: gdb_breakpoint: set breakpoint at p.adb:40
411 UNRESOLVED: gdb.ada/exprs.exp: runto: run to p.adb:40 (eof)
412 UNRESOLVED: gdb.ada/exprs.exp: Long_Long_Integer ** Y
413 UNRESOLVED: gdb.ada/exprs.exp: long_float'min
414 UNRESOLVED: gdb.ada/exprs.exp: long_float'max
415 UNRESOLVED: gdb.ada/exprs.exp: gdb_breakpoint: set breakpoint at p.adb:40 (eof)
416 UNRESOLVED: gdb.ada/packed_array_assign.exp: gdb_breakpoint: set breakpoint at aggregates.run_test
417 UNRESOLVED: gdb.ada/packed_array_assign.exp: runto: run to aggregates.run_test (eof)
418 UNRESOLVED: gdb.ada/packed_array_assign.exp: gdb_breakpoint: set breakpoint at aggregates.run_test (eof)
419 UNRESOLVED: gdb.ada/packed_array_assign.exp: value of pra
420 UNRESOLVED: gdb.ada/packed_array_assign.exp: print pra(1) := pr
421 UNRESOLVED: gdb.ada/packed_array_assign.exp: print pra(1)
422 UNRESOLVED: gdb.ada/packed_array_assign.exp: value of npr
423 UNRESOLVED: gdb.base/gdb-sigterm.exp: 50 SIGTERM passes
424 UNRESOLVED: gdb.base/readline-ask.exp: bell for more message
425 UNRESOLVED: gdb.python/py-disasm.exp: global_disassembler=GlobalPreInfoDisassembler: disassemble main
428 cat <<'EOF' > known-failures-re-unix
429 FAIL: gdb.base/gdb-sigterm.exp: pass=[0-9]+: expect eof \(GDB internal error\)
430 FAIL: gdb.threads/step-N-all-progress.exp: non-stop=on: target-non-stop=on: next .*
433 cat <<'EOF' > known-failures-native-gdbserver
434 DUPLICATE: gdb.base/cond-eval-mode.exp: awatch: awatch global
435 DUPLICATE: gdb.base/cond-eval-mode.exp: awatch: continue
436 DUPLICATE: gdb.base/cond-eval-mode.exp: break: break foo
437 DUPLICATE: gdb.base/cond-eval-mode.exp: break: continue
438 DUPLICATE: gdb.base/cond-eval-mode.exp: hbreak: continue
439 DUPLICATE: gdb.base/cond-eval-mode.exp: hbreak: hbreak foo
440 DUPLICATE: gdb.base/cond-eval-mode.exp: rwatch: continue
441 DUPLICATE: gdb.base/cond-eval-mode.exp: rwatch: rwatch global
442 DUPLICATE: gdb.base/cond-eval-mode.exp: watch: continue
443 DUPLICATE: gdb.base/cond-eval-mode.exp: watch: watch global
444 DUPLICATE: gdb.trace/circ.exp: check whether setting trace buffer size is supported
445 DUPLICATE: gdb.trace/ftrace-lock.exp: successfully compiled posix threads test case
446 DUPLICATE: gdb.trace/mi-tsv-changed.exp: create delete modify: tvariable $tvar3 modified
447 DUPLICATE: gdb.trace/signal.exp: get integer valueof "counter"
448 DUPLICATE: gdb.trace/status-stop.exp: buffer_full_tstart: tstart
449 DUPLICATE: gdb.trace/status-stop.exp: tstart_tstop_tstart: tstart
450 DUPLICATE: gdb.trace/tfind.exp: 8.17: tfind none
451 DUPLICATE: gdb.trace/trace-buffer-size.exp: set tracepoint at test_function
452 DUPLICATE: gdb.trace/trace-buffer-size.exp: tstart
453 DUPLICATE: gdb.trace/trace-mt.exp: successfully compiled posix threads test case
454 FAIL: gdb.ada/mi_var_access.exp: Create varobj (unexpected output)
455 FAIL: gdb.ada/mi_var_access.exp: update at stop 2 (unexpected output)
456 FAIL: gdb.ada/packed_array_assign.exp: value of pra
457 FAIL: gdb.arch/ftrace-insn-reloc.exp: runto: run to main
458 FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_bt_end
459 FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_bt_start
460 FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_fatal_msg
461 FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: [expr $internal_error_msg_count == 2]
462 FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_bt_end
463 FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_bt_start
464 FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_fatal_msg
465 FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: [expr $internal_error_msg_count == 2]
466 FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_bt_end
467 FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_bt_start
468 FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_fatal_msg
469 FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: [expr $internal_error_msg_count == 2]
470 FAIL: gdb.base/compare-sections.exp: after reload: compare-sections
471 FAIL: gdb.base/compare-sections.exp: after reload: compare-sections -r
472 FAIL: gdb.base/compare-sections.exp: after run to main: compare-sections
473 FAIL: gdb.base/compare-sections.exp: after run to main: compare-sections -r
474 FAIL: gdb.base/compare-sections.exp: compare-sections .text
475 FAIL: gdb.base/compare-sections.exp: read-only: compare-sections -r
476 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
477 FAIL: gdb.base/ending-run.exp: step out of main
478 FAIL: gdb.base/ending-run.exp: step to end of run
479 FAIL: gdb.base/interrupt-daemon.exp: bg: continue& (timeout)
480 FAIL: gdb.base/interrupt-daemon.exp: bg: interrupt cmd stops process (timeout)
481 FAIL: gdb.base/interrupt-daemon.exp: bg: interrupt (timeout)
482 FAIL: gdb.base/interrupt-daemon.exp: fg: ctrl-c stops process (timeout)
483 FAIL: gdb.base/options.exp: test-backtrace: cmd complete "backtrace "
484 FAIL: gdb.base/options.exp: test-backtrace: tab complete "backtrace " (clearing input line) (timeout)
485 FAIL: gdb.base/range-stepping.exp: step over func: next: vCont;r=2
486 FAIL: gdb.compile/compile-cplus.exp: bt
487 FAIL: gdb.compile/compile-cplus.exp: compile code extern int globalshadow; globalshadow += 5;
488 FAIL: gdb.compile/compile-cplus.exp: print 'compile-cplus.c'::globalshadow
489 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var ()
490 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var ()
491 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast<unsigned long> (1))
492 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast<unsigned long> (1))
493 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast<int> (1))
494 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast<int> (1))
495 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast<float> (1))
496 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast<float> (1))
497 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast<void *> (a))
498 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast<void *> (a))
499 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (*a)
500 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (*a)
501 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (*ac)
502 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (*ac)
503 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var1 (1)
504 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var1 (1)
505 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var2 (1, 2)
506 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var2 (1, 2)
507 FAIL: gdb.compile/compile-cplus-method.exp: compile code A::get_1 (a->get_var ())
508 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code A::get_1 (a->get_var ())
509 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var1 (a->get_var () - 16)
510 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var1 (a->get_var () - 16)
511 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var2 (a->get_var (), A::get_1 (2))
512 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var2 (a->get_var (), A::get_1 (2))
513 FAIL: gdb.compile/compile-cplus-method.exp: compile code get_value (a)
514 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code get_value (a)
515 FAIL: gdb.compile/compile-cplus-method.exp: compile code (a->*pmf) (1)
516 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code (a->*pmf) (1)
517 FAIL: gdb.compile/compile-cplus-method.exp: compile code pmf = &A::get_var1; var = (a->*pmf) (2); pmf = &A::get_var
518 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code pmf = &A::get_var1; var = (a->*pmf) (2); pmf = &A::get_var
519 FAIL: gdb.compile/compile-cplus-method.exp: compile code (a->**pmf_p) (1)
520 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code (a->**pmf_p) (1)
521 FAIL: gdb.compile/compile-cplus-virtual.exp: compile code ap->doit ()
522 FAIL: gdb.compile/compile-cplus-virtual.exp: compile code ap->doit2 ()
523 FAIL: gdb.cp/no-dmgl-verbose.exp: gdb_breakpoint: set breakpoint at 'f(std::string)'
524 FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 1
525 FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 2
526 FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 3
527 FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 4
528 FAIL: gdb.dwarf2/clztest.exp: runto: run to main
529 FAIL: gdb.threads/multiple-successive-infcall.exp: thread=3: created new thread
530 FAIL: gdb.threads/multiple-successive-infcall.exp: thread=4: created new thread
531 FAIL: gdb.threads/multiple-successive-infcall.exp: thread=5: created new thread
532 FAIL: gdb.threads/process-dies-while-detaching.exp: single-process: continue: killed outside: continue
533 FAIL: gdb.threads/signal-command-handle-nopass.exp: step-over no: signal SIGUSR1
534 FAIL: gdb.threads/signal-command-handle-nopass.exp: step-over yes: signal SIGUSR1
535 FAIL: gdb.threads/signal-sigtrap.exp: sigtrap thread 1: signal SIGTRAP reaches handler
536 FAIL: gdb.threads/thread-specific-bp.exp: all-stop: continue to end (timeout)
537 FAIL: gdb.threads/thread-specific-bp.exp: non-stop: continue to end (timeout)
538 FAIL: gdb.trace/actions.exp: tfile: tracepoint on gdb_asm_test
539 FAIL: gdb.trace/actions.exp: tfile: tracepoint on gdb_c_test
540 FAIL: gdb.trace/actions.exp: tfile: tracepoint on gdb_recursion_test 0
541 FAIL: gdb.trace/change-loc.exp: 1 ftrace: runto: run to main
542 FAIL: gdb.trace/change-loc.exp: 1 trace: continue to marker 2
543 FAIL: gdb.trace/change-loc.exp: 1 trace: continue to marker 3
544 FAIL: gdb.trace/change-loc.exp: 1 trace: tfind frame 0
545 FAIL: gdb.trace/change-loc.exp: 1 trace: tracepoint with two locations - installed (unload)
546 FAIL: gdb.trace/change-loc.exp: 1 trace: tracepoint with two locations - pending (unload)
547 FAIL: gdb.trace/change-loc.exp: 2 ftrace: continue to marker 1 (the program is no longer running)
548 FAIL: gdb.trace/change-loc.exp: 2 ftrace: continue to marker 2 (the program is no longer running)
549 FAIL: gdb.trace/change-loc.exp: 2 ftrace: continue to marker 3 (the program is no longer running)
550 FAIL: gdb.trace/change-loc.exp: 2 ftrace: run to main (the program exited)
551 FAIL: gdb.trace/change-loc.exp: 2 ftrace: tfind frame 0
552 FAIL: gdb.trace/change-loc.exp: 2 ftrace: tfind frame 1
553 FAIL: gdb.trace/change-loc.exp: 2 ftrace: tfind frame 2
554 FAIL: gdb.trace/change-loc.exp: 2 ftrace: tracepoint with three locations
555 FAIL: gdb.trace/change-loc.exp: 2 ftrace: tracepoint with two locations - installed (unload)
556 FAIL: gdb.trace/change-loc.exp: 2 ftrace: tracepoint with two locations - pending (unload)
557 FAIL: gdb.trace/change-loc.exp: 2 ftrace: tstart
558 FAIL: gdb.trace/change-loc.exp: 2 ftrace: tstop
559 FAIL: gdb.trace/change-loc.exp: 2 trace: continue to marker 2
560 FAIL: gdb.trace/change-loc.exp: 2 trace: continue to marker 3
561 FAIL: gdb.trace/change-loc.exp: 2 trace: tfind frame 2
562 FAIL: gdb.trace/change-loc.exp: 2 trace: tracepoint with two locations - installed (unload)
563 FAIL: gdb.trace/change-loc.exp: 2 trace: tracepoint with two locations - pending (unload)
564 FAIL: gdb.trace/change-loc.exp: InstallInTrace disabled: ftrace: runto: run to main
565 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local char
566 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local double
567 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local float
568 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local int
569 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member char
570 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member double
571 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member float
572 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member int
573 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #0
574 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #1
575 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #2
576 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #3
577 FAIL: gdb.trace/collection.exp: collect register locals collectively: run trace experiment: start trace experiment
578 FAIL: gdb.trace/collection.exp: collect register locals collectively: run trace experiment: tfind test frame
579 FAIL: gdb.trace/collection.exp: collect register locals collectively: start trace experiment
580 FAIL: gdb.trace/collection.exp: collect register locals collectively: tfind test frame
581 FAIL: gdb.trace/collection.exp: collect register locals individually: collected local char
582 FAIL: gdb.trace/collection.exp: collect register locals individually: collected local double
583 FAIL: gdb.trace/collection.exp: collect register locals individually: collected local float
584 FAIL: gdb.trace/collection.exp: collect register locals individually: collected local int
585 FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member char
586 FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member double
587 FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member float
588 FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member int
589 FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #0
590 FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #1
591 FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #2
592 FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #3
593 FAIL: gdb.trace/collection.exp: collect register locals individually: define actions
594 FAIL: gdb.trace/ftrace.exp: runto: run to main
595 FAIL: gdb.trace/ftrace-lock.exp: runto: run to main
596 FAIL: gdb.trace/mi-trace-frame-collected.exp: tfile: -trace-frame-collected (unexpected output)
597 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)
598 FAIL: gdb.trace/mi-tsv-changed.exp: create delete modify: tvariable $tvar3 modified (unexpected output)
599 FAIL: gdb.trace/pending.exp: ftrace action_resolved: runto: run to main
600 FAIL: gdb.trace/pending.exp: ftrace disconn_resolved: runto: run to main
601 FAIL: gdb.trace/pending.exp: ftrace disconn: runto: run to main
602 FAIL: gdb.trace/pending.exp: ftrace installed_in_trace: runto: run to main
603 FAIL: gdb.trace/pending.exp: ftrace resolved_in_trace: runto: run to main
604 FAIL: gdb.trace/pending.exp: ftrace resolved: (the program exited)
605 FAIL: gdb.trace/pending.exp: ftrace works: continue to marker (the program is no longer running)
606 FAIL: gdb.trace/pending.exp: ftrace works: start trace experiment
607 FAIL: gdb.trace/pending.exp: ftrace works: tfind test frame 0
608 FAIL: gdb.trace/pending.exp: ftrace works: tfind test frame 1
609 FAIL: gdb.trace/pending.exp: ftrace works: tfind test frame 2
610 FAIL: gdb.trace/pending.exp: ftrace works: (the program exited)
611 FAIL: gdb.trace/pending.exp: trace installed_in_trace: continue to marker 2
612 FAIL: gdb.trace/pending.exp: trace installed_in_trace: tfind test frame 0
613 FAIL: gdb.trace/range-stepping.exp: runto: run to main
614 FAIL: gdb.trace/trace-break.exp: runto: run to main
615 FAIL: gdb.trace/trace-condition.exp: runto: run to main
616 FAIL: gdb.trace/trace-enable-disable.exp: test_tracepoint_enable_disable ftrace: runto: run to main
617 FAIL: gdb.trace/trace-enable-disable.exp: test_tracepoint_enable_disable trace: runto: run to main
618 FAIL: gdb.trace/trace-mt.exp: runto: run to main
619 FAIL: gdb.trace/tspeed.exp: runto: run to main
620 FAIL: gdb.trace/unavailable.exp: collect globals: print object off: print derived_partial
621 FAIL: gdb.trace/unavailable.exp: collect globals: print object on: print derived_partial
622 FAIL: gdb.trace/unavailable.exp: collect globals: tfile: print object off: print derived_partial
623 FAIL: gdb.trace/unavailable.exp: collect globals: tfile: print object on: print derived_partial
624 FAIL: gdb.trace/unavailable.exp: collect globals: tfile: <unavailable> is not the same as 0 in array element repetitions
625 FAIL: gdb.trace/unavailable.exp: collect globals: <unavailable> is not the same as 0 in array element repetitions
626 FAIL: gdb.trace/unavailable.exp: unavailable locals: auto locals: info locals
627 FAIL: gdb.trace/unavailable.exp: unavailable locals: auto locals: tfile: info locals
628 FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: info locals
629 FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: print locd
630 FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: print locf
631 FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: tfile: info locals
632 FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: tfile: print locd
633 FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: tfile: print locf
634 FAIL: gdb.trace/unavailable.exp: unavailable locals: static locals: info locals
635 FAIL: gdb.trace/unavailable.exp: unavailable locals: static locals: tfile: info locals
636 KPASS: gdb.threads/process-dies-while-detaching.exp: single-process: continue: watchpoint:sw: continue (PRMS gdb/28375)
637 UNRESOLVED: gdb.ada/arrayptr.exp: scenario=all: gdb_breakpoint: set breakpoint at foo.adb:40
638 UNRESOLVED: gdb.ada/arrayptr.exp: scenario=all: runto: run to foo.adb:40 (eof)
639 UNRESOLVED: gdb.ada/exprs.exp: gdb_breakpoint: set breakpoint at p.adb:40
640 UNRESOLVED: gdb.ada/exprs.exp: runto: run to p.adb:40 (eof)
641 UNRESOLVED: gdb.ada/packed_array_assign.exp: gdb_breakpoint: set breakpoint at aggregates.run_test
642 UNRESOLVED: gdb.ada/packed_array_assign.exp: runto: run to aggregates.run_test (eof)
643 UNRESOLVED: gdb.ada/exprs.exp: Long_Long_Integer ** Y
644 UNRESOLVED: gdb.ada/exprs.exp: long_float'min
645 UNRESOLVED: gdb.ada/exprs.exp: long_float'max
646 UNRESOLVED: gdb.ada/packed_array_assign.exp: value of pra
647 UNRESOLVED: gdb.ada/packed_array_assign.exp: print pra(1) := pr
648 UNRESOLVED: gdb.ada/packed_array_assign.exp: print pra(1)
649 UNRESOLVED: gdb.ada/packed_array_assign.exp: value of npr
650 UNRESOLVED: gdb.ada/arrayptr.exp: scenario=all: gdb_breakpoint: set breakpoint at foo.adb:40 (eof)
651 UNRESOLVED: gdb.ada/array_return.exp: gdb_breakpoint: set breakpoint at main (eof)
652 UNRESOLVED: gdb.ada/array_subscript_addr.exp: gdb_breakpoint: set breakpoint at p.adb:27 (eof)
653 UNRESOLVED: gdb.ada/cond_lang.exp: gdb_breakpoint: set breakpoint at c_function (eof)
654 UNRESOLVED: gdb.ada/dyn_loc.exp: gdb_breakpoint: set breakpoint at pack.adb:25 (eof)
655 UNRESOLVED: gdb.ada/exprs.exp: gdb_breakpoint: set breakpoint at p.adb:40 (eof)
656 UNRESOLVED: gdb.ada/packed_array_assign.exp: gdb_breakpoint: set breakpoint at aggregates.run_test (eof)
657 UNRESOLVED: gdb.ada/ref_tick_size.exp: gdb_breakpoint: set breakpoint at p.adb:26 (eof)
658 UNRESOLVED: gdb.ada/set_wstr.exp: gdb_breakpoint: set breakpoint at a.adb:23 (eof)
659 UNRESOLVED: gdb.ada/taft_type.exp: gdb_breakpoint: set breakpoint at p.adb:22 (eof)
660 UNRESOLVED: gdb.base/libsegfault.exp: gdb emits custom handler warning
663 cat <<'EOF' > known-failures-re-native-gdbserver
666 cat <<'EOF' > known-failures-native-extended-gdbserver
667 DUPLICATE: gdb.base/cond-eval-mode.exp: awatch: awatch global
668 DUPLICATE: gdb.base/cond-eval-mode.exp: awatch: continue
669 DUPLICATE: gdb.base/cond-eval-mode.exp: break: break foo
670 DUPLICATE: gdb.base/cond-eval-mode.exp: break: continue
671 DUPLICATE: gdb.base/cond-eval-mode.exp: hbreak: continue
672 DUPLICATE: gdb.base/cond-eval-mode.exp: hbreak: hbreak foo
673 DUPLICATE: gdb.base/cond-eval-mode.exp: rwatch: continue
674 DUPLICATE: gdb.base/cond-eval-mode.exp: rwatch: rwatch global
675 DUPLICATE: gdb.base/cond-eval-mode.exp: watch: continue
676 DUPLICATE: gdb.base/cond-eval-mode.exp: watch: watch global
677 DUPLICATE: gdb.threads/attach-into-signal.exp: threaded: thread apply 2 print $_siginfo.si_signo
678 DUPLICATE: gdb.trace/circ.exp: check whether setting trace buffer size is supported
679 DUPLICATE: gdb.trace/ftrace-lock.exp: successfully compiled posix threads test case
680 DUPLICATE: gdb.trace/mi-tsv-changed.exp: create delete modify: tvariable $tvar3 modified
681 DUPLICATE: gdb.trace/signal.exp: get integer valueof "counter"
682 DUPLICATE: gdb.trace/status-stop.exp: buffer_full_tstart: tstart
683 DUPLICATE: gdb.trace/status-stop.exp: tstart_tstop_tstart: tstart
684 DUPLICATE: gdb.trace/tfind.exp: 8.17: tfind none
685 DUPLICATE: gdb.trace/trace-buffer-size.exp: set tracepoint at test_function
686 DUPLICATE: gdb.trace/trace-buffer-size.exp: tstart
687 DUPLICATE: gdb.trace/trace-mt.exp: successfully compiled posix threads test case
688 DUPLICATE: gdb.trace/tspeed.exp: advance through tracing (the program is no longer running)
689 DUPLICATE: gdb.trace/tspeed.exp: advance to trace begin (the program is no longer running)
690 DUPLICATE: gdb.trace/tspeed.exp: check on trace status
691 DUPLICATE: gdb.trace/tspeed.exp: print iters = init_iters
692 DUPLICATE: gdb.trace/tspeed.exp: runto: run to main
693 DUPLICATE: gdb.trace/tspeed.exp: start trace experiment
694 FAIL: gdb.ada/mi_var_access.exp: Create varobj (unexpected output)
695 FAIL: gdb.ada/mi_var_access.exp: update at stop 2 (unexpected output)
696 FAIL: gdb.ada/packed_array_assign.exp: value of pra
697 FAIL: gdb.arch/ftrace-insn-reloc.exp: runto: run to main
698 FAIL: gdb.base/a2-run.exp: run "a2-run" with shell (timeout)
699 FAIL: gdb.base/attach.exp: do_command_attach_tests: gdb_spawn_attach_cmdline: info thread (no thread)
700 FAIL: gdb.base/attach.exp: do_command_attach_tests: gdb_spawn_attach_cmdline: start gdb with --pid
701 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)
702 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
703 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)
704 FAIL: gdb.base/break-interp.exp: ldprelink=NO: ldsepdebug=IN: binprelink=NO: binsepdebug=NO: binpie=YES: INNER: symbol-less: reach-(_dl_debug_state|dl_main)-3: reach
705 FAIL: gdb.base/break-interp.exp: ldprelink=NO: ldsepdebug=IN: binprelink=NO: binsepdebug=NO: binpie=YES: INNER: symbol-less: reach-(_dl_debug_state|dl_main)-3: seen displacement message as NONZERO
706 FAIL: gdb.base/break-interp.exp: ldprelink=NO: ldsepdebug=NO: binprelink=NO: binsepdebug=NO: binpie=NO: INNER: symbol-less: entry point reached (the program is no longer running)
707 FAIL: gdb.base/break-interp.exp: ldprelink=NO: ldsepdebug=NO: binprelink=NO: binsepdebug=NO: binpie=NO: INNER: symbol-less: reach-(_dl_debug_state|dl_main)-3: reach
708 FAIL: gdb.base/break-interp.exp: ldprelink=NO: ldsepdebug=NO: binprelink=NO: binsepdebug=NO: binpie=YES: INNER: symbol-less: entry point reached (the program is no longer running)
709 FAIL: gdb.base/break-interp.exp: ldprelink=NO: ldsepdebug=NO: binprelink=NO: binsepdebug=NO: binpie=YES: INNER: symbol-less: reach-(_dl_debug_state|dl_main)-3: reach
710 FAIL: gdb.base/break-interp.exp: ldprelink=NO: ldsepdebug=NO: binprelink=NO: binsepdebug=NO: binpie=YES: INNER: symbol-less: reach-(_dl_debug_state|dl_main)-3: seen displacement message as NONZERO
711 FAIL: gdb.base/break-interp.exp: ldprelink=NO: ldsepdebug=NO: symbol-less: ld.so exit
712 FAIL: gdb.base/break-interp.exp: ldprelink=NO: ldsepdebug=NO: symbol-less: seen displacement message as NONZERO
713 FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_bt_end
714 FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_bt_start
715 FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_fatal_msg
716 FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: [expr $internal_error_msg_count == 2]
717 FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_bt_end
718 FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_bt_start
719 FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_fatal_msg
720 FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: [expr $internal_error_msg_count == 2]
721 FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_bt_end
722 FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_bt_start
723 FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_fatal_msg
724 FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: [expr $internal_error_msg_count == 2]
725 FAIL: gdb.base/compare-sections.exp: after run to main: compare-sections
726 FAIL: gdb.base/compare-sections.exp: after run to main: compare-sections -r
727 FAIL: gdb.base/compare-sections.exp: read-only: compare-sections -r
728 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
729 FAIL: gdb.base/ending-run.exp: step out of main
730 FAIL: gdb.base/ending-run.exp: step to end of run
731 FAIL: gdb.base/gdbinit-history.exp: GDBHISTFILE is empty: show commands
732 FAIL: gdb.base/gdbinit-history.exp: load default history file: show commands
733 FAIL: gdb.base/gdbinit-history.exp: load GDBHISTFILE history file: show commands
734 FAIL: gdb.base/interrupt-daemon.exp: bg: continue& (timeout)
735 FAIL: gdb.base/interrupt-daemon.exp: bg: interrupt cmd stops process (timeout)
736 FAIL: gdb.base/interrupt-daemon.exp: bg: interrupt (timeout)
737 FAIL: gdb.base/interrupt-daemon.exp: fg: ctrl-c stops process (timeout)
738 FAIL: gdb.base/range-stepping.exp: step over func: next: vCont;r=2
739 FAIL: gdb.base/share-env-with-gdbserver.exp: strange named var: print result of getenv for 'asd ='
740 FAIL: gdb.base/startup-with-shell.exp: startup_with_shell = off; run_args = *.unique-extension: first argument not expanded
741 FAIL: gdb.base/startup-with-shell.exp: startup_with_shell = on; run_args = $TEST: testing first argument
742 FAIL: gdb.base/startup-with-shell.exp: startup_with_shell = on; run_args = *.unique-extension: first argument expanded
743 FAIL: gdb.base/with.exp: repeat: reinvoke with no previous command to relaunch
744 FAIL: gdb.compile/compile-cplus.exp: bt
745 FAIL: gdb.compile/compile-cplus.exp: compile code extern int globalshadow; globalshadow += 5;
746 FAIL: gdb.compile/compile-cplus.exp: print 'compile-cplus.c'::globalshadow
747 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var ()
748 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var ()
749 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast<unsigned long> (1))
750 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast<unsigned long> (1))
751 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast<int> (1))
752 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast<int> (1))
753 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast<float> (1))
754 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast<float> (1))
755 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast<void *> (a))
756 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast<void *> (a))
757 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (*a)
758 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (*a)
759 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (*ac)
760 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (*ac)
761 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var1 (1)
762 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var1 (1)
763 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var2 (1, 2)
764 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var2 (1, 2)
765 FAIL: gdb.compile/compile-cplus-method.exp: compile code A::get_1 (a->get_var ())
766 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code A::get_1 (a->get_var ())
767 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var1 (a->get_var () - 16)
768 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var1 (a->get_var () - 16)
769 FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var2 (a->get_var (), A::get_1 (2))
770 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var2 (a->get_var (), A::get_1 (2))
771 FAIL: gdb.compile/compile-cplus-method.exp: compile code get_value (a)
772 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code get_value (a)
773 FAIL: gdb.compile/compile-cplus-method.exp: compile code (a->*pmf) (1)
774 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code (a->*pmf) (1)
775 FAIL: gdb.compile/compile-cplus-method.exp: compile code pmf = &A::get_var1; var = (a->*pmf) (2); pmf = &A::get_var
776 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code pmf = &A::get_var1; var = (a->*pmf) (2); pmf = &A::get_var
777 FAIL: gdb.compile/compile-cplus-method.exp: compile code (a->**pmf_p) (1)
778 FAIL: gdb.compile/compile-cplus-method.exp: result of compile code (a->**pmf_p) (1)
779 FAIL: gdb.compile/compile-cplus-virtual.exp: compile code ap->doit ()
780 FAIL: gdb.compile/compile-cplus-virtual.exp: compile code ap->doit2 ()
781 FAIL: gdb.cp/annota2.exp: annotate-quit
782 FAIL: gdb.cp/annota2.exp: break at main (got interactive prompt)
783 FAIL: gdb.cp/annota2.exp: continue until exit (timeout)
784 FAIL: gdb.cp/annota2.exp: delete bps
785 FAIL: gdb.cp/annota2.exp: set watch on a.x (timeout)
786 FAIL: gdb.cp/annota2.exp: watch triggered on a.x (timeout)
787 FAIL: gdb.cp/annota3.exp: continue to exit (pattern 4)
788 FAIL: gdb.cp/no-dmgl-verbose.exp: gdb_breakpoint: set breakpoint at 'f(std::string)'
789 FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 1
790 FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 2
791 FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 3
792 FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 4
793 FAIL: gdb.gdb/unittest.exp: executable loaded: maintenance selftest, failed none
794 FAIL: gdb.gdb/unittest.exp: no executable loaded: maintenance selftest, failed none
795 FAIL: gdb.gdb/unittest.exp: reversed initialization: maintenance selftest, failed none
796 FAIL: gdb.guile/scm-ports.exp: buffered: test byte at sp, before flush
797 FAIL: gdb.mi/list-thread-groups-available.exp: list available thread groups with filter (unexpected output)
798 FAIL: gdb.mi/mi-exec-run.exp: inferior-tty=separate: mi=separate: force-fail=0: breakpoint hit reported on console (timeout)
799 FAIL: gdb.mi/mi-pending.exp: MI pending breakpoint on mi-pendshr.c:pendfunc2 if x==4 (unexpected output)
800 FAIL: gdb.multi/remove-inferiors.exp: runto: run to main
801 FAIL: gdb.server/connect-with-no-symbol-file.exp: sysroot=: action=delete: connection to GDBserver succeeded
802 FAIL: gdb.server/connect-with-no-symbol-file.exp: sysroot=: action=permission: connection to GDBserver succeeded
803 FAIL: gdb.server/connect-with-no-symbol-file.exp: sysroot=target:: action=delete: connection to GDBserver succeeded
804 FAIL: gdb.server/connect-with-no-symbol-file.exp: sysroot=target:: action=permission: connection to GDBserver succeeded
805 FAIL: gdb.threads/access-mem-running-thread-exit.exp: non-stop: access mem (print global_var after writing again, inf=2, iter=1)
806 FAIL: gdb.threads/attach-into-signal.exp: threaded: thread apply 2 print $_siginfo.si_signo
807 FAIL: gdb.threads/attach-non-stop.exp: target-non-stop=off: non-stop=off: cmd=attach&: all threads running
808 FAIL: gdb.threads/attach-non-stop.exp: target-non-stop=off: non-stop=off: cmd=attach&: detach
809 FAIL: gdb.threads/attach-stopped.exp: threaded: attach2 to stopped bt
810 FAIL: gdb.threads/break-while-running.exp: w/ithr: always-inserted off: non-stop: runto: run to main
811 FAIL: gdb.threads/break-while-running.exp: w/ithr: always-inserted on: non-stop: runto: run to main
812 FAIL: gdb.threads/break-while-running.exp: wo/ithr: always-inserted off: non-stop: runto: run to main
813 FAIL: gdb.threads/break-while-running.exp: wo/ithr: always-inserted on: non-stop: runto: run to main
814 FAIL: gdb.threads/gcore-stale-thread.exp: runto: run to main
815 FAIL: gdb.threads/multi-create-ns-info-thr.exp: runto: run to main
816 FAIL: gdb.threads/multiple-successive-infcall.exp: thread=3: created new thread
817 FAIL: gdb.threads/multiple-successive-infcall.exp: thread=4: created new thread
818 FAIL: gdb.threads/multiple-successive-infcall.exp: thread=5: created new thread
819 FAIL: gdb.threads/non-stop-fair-events.exp: runto: run to main
820 FAIL: gdb.threads/process-dies-while-detaching.exp: single-process: continue: killed outside: continue
821 FAIL: gdb.threads/signal-command-handle-nopass.exp: step-over yes: signal SIGUSR1
822 FAIL: gdb.threads/signal-command-handle-nopass.exp: step-over no: signal SIGUSR1
823 FAIL: gdb.threads/signal-sigtrap.exp: sigtrap thread 1: signal SIGTRAP reaches handler
824 FAIL: gdb.threads/thread-execl.exp: non-stop: runto: run to main
825 FAIL: gdb.threads/thread-specific-bp.exp: all-stop: continue to end (timeout)
826 FAIL: gdb.threads/thread-specific-bp.exp: non-stop: runto: run to main
827 FAIL: gdb.threads/tls.exp: print a_thread_local
828 FAIL: gdb.trace/actions.exp: tfile: tracepoint on gdb_asm_test
829 FAIL: gdb.trace/actions.exp: tfile: tracepoint on gdb_c_test
830 FAIL: gdb.trace/actions.exp: tfile: tracepoint on gdb_recursion_test 0
831 FAIL: gdb.trace/change-loc.exp: 1 ftrace: runto: run to main
832 FAIL: gdb.trace/change-loc.exp: 1 trace: continue to marker 2
833 FAIL: gdb.trace/change-loc.exp: 1 trace: continue to marker 3
834 FAIL: gdb.trace/change-loc.exp: 1 trace: tfind frame 0
835 FAIL: gdb.trace/change-loc.exp: 1 trace: tracepoint with two locations - installed (unload)
836 FAIL: gdb.trace/change-loc.exp: 1 trace: tracepoint with two locations - pending (unload)
837 FAIL: gdb.trace/change-loc.exp: 2 ftrace: continue to marker 1 (the program is no longer running)
838 FAIL: gdb.trace/change-loc.exp: 2 ftrace: continue to marker 2 (the program is no longer running)
839 FAIL: gdb.trace/change-loc.exp: 2 ftrace: continue to marker 3 (the program is no longer running)
840 FAIL: gdb.trace/change-loc.exp: 2 ftrace: run to main (the program exited)
841 FAIL: gdb.trace/change-loc.exp: 2 ftrace: tfind frame 0
842 FAIL: gdb.trace/change-loc.exp: 2 ftrace: tfind frame 1
843 FAIL: gdb.trace/change-loc.exp: 2 ftrace: tfind frame 2
844 FAIL: gdb.trace/change-loc.exp: 2 ftrace: tracepoint with three locations
845 FAIL: gdb.trace/change-loc.exp: 2 ftrace: tracepoint with two locations - installed (unload)
846 FAIL: gdb.trace/change-loc.exp: 2 ftrace: tracepoint with two locations - pending (unload)
847 FAIL: gdb.trace/change-loc.exp: 2 ftrace: tstart
848 FAIL: gdb.trace/change-loc.exp: 2 ftrace: tstop
849 FAIL: gdb.trace/change-loc.exp: 2 trace: continue to marker 2
850 FAIL: gdb.trace/change-loc.exp: 2 trace: continue to marker 3
851 FAIL: gdb.trace/change-loc.exp: 2 trace: tfind frame 2
852 FAIL: gdb.trace/change-loc.exp: 2 trace: tracepoint with two locations - installed (unload)
853 FAIL: gdb.trace/change-loc.exp: 2 trace: tracepoint with two locations - pending (unload)
854 FAIL: gdb.trace/change-loc.exp: InstallInTrace disabled: ftrace: runto: run to main
855 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local char
856 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local double
857 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local float
858 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local int
859 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member char
860 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member double
861 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member float
862 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member int
863 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #0
864 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #1
865 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #2
866 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #3
867 FAIL: gdb.trace/collection.exp: collect register locals collectively: run trace experiment: start trace experiment
868 FAIL: gdb.trace/collection.exp: collect register locals collectively: run trace experiment: tfind test frame
869 FAIL: gdb.trace/collection.exp: collect register locals collectively: start trace experiment
870 FAIL: gdb.trace/collection.exp: collect register locals collectively: tfind test frame
871 FAIL: gdb.trace/collection.exp: collect register locals individually: collected local char
872 FAIL: gdb.trace/collection.exp: collect register locals individually: collected local double
873 FAIL: gdb.trace/collection.exp: collect register locals individually: collected local float
874 FAIL: gdb.trace/collection.exp: collect register locals individually: collected local int
875 FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member char
876 FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member double
877 FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member float
878 FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member int
879 FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #0
880 FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #1
881 FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #2
882 FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #3
883 FAIL: gdb.trace/collection.exp: collect register locals individually: define actions
884 FAIL: gdb.trace/ftrace.exp: runto: run to main
885 FAIL: gdb.trace/ftrace-lock.exp: runto: run to main
886 FAIL: gdb.trace/mi-trace-frame-collected.exp: tfile: -trace-frame-collected (unexpected output)
887 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)
888 FAIL: gdb.trace/mi-tsv-changed.exp: create delete modify: tvariable $tvar3 modified (unexpected output)
889 FAIL: gdb.trace/pending.exp: ftrace action_resolved: runto: run to main
890 FAIL: gdb.trace/pending.exp: ftrace disconn_resolved: runto: run to main
891 FAIL: gdb.trace/pending.exp: ftrace disconn: runto: run to main
892 FAIL: gdb.trace/pending.exp: ftrace installed_in_trace: runto: run to main
893 FAIL: gdb.trace/pending.exp: ftrace resolved_in_trace: runto: run to main
894 FAIL: gdb.trace/pending.exp: ftrace resolved: (the program exited)
895 FAIL: gdb.trace/pending.exp: ftrace works: continue to marker (the program is no longer running)
896 FAIL: gdb.trace/pending.exp: ftrace works: start trace experiment
897 FAIL: gdb.trace/pending.exp: ftrace works: tfind test frame 0
898 FAIL: gdb.trace/pending.exp: ftrace works: tfind test frame 1
899 FAIL: gdb.trace/pending.exp: ftrace works: tfind test frame 2
900 FAIL: gdb.trace/pending.exp: ftrace works: (the program exited)
901 FAIL: gdb.trace/pending.exp: trace installed_in_trace: continue to marker 2
902 FAIL: gdb.trace/pending.exp: trace installed_in_trace: tfind test frame 0
903 FAIL: gdb.trace/range-stepping.exp: runto: run to main
904 FAIL: gdb.trace/trace-break.exp: runto: run to main
905 FAIL: gdb.trace/trace-condition.exp: runto: run to main
906 FAIL: gdb.trace/trace-enable-disable.exp: test_tracepoint_enable_disable ftrace: runto: run to main
907 FAIL: gdb.trace/trace-enable-disable.exp: test_tracepoint_enable_disable trace: runto: run to main
908 FAIL: gdb.trace/trace-mt.exp: runto: run to main
909 FAIL: gdb.trace/tspeed.exp: gdb_fast_trace_speed_test: advance through tracing (the program is no longer running)
910 FAIL: gdb.trace/tspeed.exp: gdb_fast_trace_speed_test: advance to trace begin (the program is no longer running)
911 FAIL: gdb.trace/tspeed.exp: gdb_fast_trace_speed_test: start trace experiment
912 FAIL: gdb.trace/tspeed.exp: gdb_slow_trace_speed_test: advance through tracing (the program is no longer running)
913 FAIL: gdb.trace/tspeed.exp: gdb_slow_trace_speed_test: advance to trace begin (the program is no longer running)
914 FAIL: gdb.trace/tspeed.exp: gdb_slow_trace_speed_test: start trace experiment
915 FAIL: gdb.trace/tspeed.exp: runto: run to main
916 FAIL: gdb.trace/tspeed.exp: runto: run to main
917 FAIL: gdb.trace/unavailable.exp: collect globals: print object off: print derived_partial
918 FAIL: gdb.trace/unavailable.exp: collect globals: print object on: print derived_partial
919 FAIL: gdb.trace/unavailable.exp: collect globals: tfile: print object off: print derived_partial
920 FAIL: gdb.trace/unavailable.exp: collect globals: tfile: print object on: print derived_partial
921 FAIL: gdb.trace/unavailable.exp: collect globals: tfile: <unavailable> is not the same as 0 in array element repetitions
922 FAIL: gdb.trace/unavailable.exp: collect globals: <unavailable> is not the same as 0 in array element repetitions
923 FAIL: gdb.trace/unavailable.exp: unavailable locals: auto locals: info locals
924 FAIL: gdb.trace/unavailable.exp: unavailable locals: auto locals: tfile: info locals
925 FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: info locals
926 FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: print locd
927 FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: print locf
928 FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: tfile: info locals
929 FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: tfile: print locd
930 FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: tfile: print locf
931 FAIL: gdb.trace/unavailable.exp: unavailable locals: static locals: info locals
932 FAIL: gdb.trace/unavailable.exp: unavailable locals: static locals: tfile: info locals
933 KPASS: gdb.threads/process-dies-while-detaching.exp: single-process: continue: watchpoint:sw: continue (PRMS gdb/28375)
934 UNRESOLVED: gdb.ada/arrayptr.exp: scenario=all: gdb_breakpoint: set breakpoint at foo.adb:40
935 UNRESOLVED: gdb.ada/arrayptr.exp: scenario=all: runto: run to foo.adb:40 (eof)
936 UNRESOLVED: gdb.ada/exprs.exp: gdb_breakpoint: set breakpoint at p.adb:40
937 UNRESOLVED: gdb.ada/exprs.exp: runto: run to p.adb:40 (eof)
938 UNRESOLVED: gdb.ada/packed_array_assign.exp: gdb_breakpoint: set breakpoint at aggregates.run_test
939 UNRESOLVED: gdb.ada/packed_array_assign.exp: runto: run to aggregates.run_test (eof)
940 UNRESOLVED: gdb.ada/exprs.exp: Long_Long_Integer ** Y
941 UNRESOLVED: gdb.ada/exprs.exp: long_float'min
942 UNRESOLVED: gdb.ada/exprs.exp: long_float'max
943 UNRESOLVED: gdb.ada/packed_array_assign.exp: value of pra
944 UNRESOLVED: gdb.ada/packed_array_assign.exp: print pra(1) := pr
945 UNRESOLVED: gdb.ada/packed_array_assign.exp: print pra(1)
946 UNRESOLVED: gdb.ada/packed_array_assign.exp: value of npr
947 UNRESOLVED: gdb.ada/arrayptr.exp: scenario=all: gdb_breakpoint: set breakpoint at foo.adb:40 (eof)
948 UNRESOLVED: gdb.ada/array_return.exp: gdb_breakpoint: set breakpoint at main (eof)
949 UNRESOLVED: gdb.ada/array_subscript_addr.exp: gdb_breakpoint: set breakpoint at p.adb:27 (eof)
950 UNRESOLVED: gdb.ada/cond_lang.exp: gdb_breakpoint: set breakpoint at c_function (eof)
951 UNRESOLVED: gdb.ada/dyn_loc.exp: gdb_breakpoint: set breakpoint at pack.adb:25 (eof)
952 UNRESOLVED: gdb.ada/exprs.exp: gdb_breakpoint: set breakpoint at p.adb:40 (eof)
953 UNRESOLVED: gdb.ada/packed_array_assign.exp: gdb_breakpoint: set breakpoint at aggregates.run_test (eof)
954 UNRESOLVED: gdb.ada/ref_tick_size.exp: gdb_breakpoint: set breakpoint at p.adb:26 (eof)
955 UNRESOLVED: gdb.ada/set_wstr.exp: gdb_breakpoint: set breakpoint at a.adb:23 (eof)
956 UNRESOLVED: gdb.ada/taft_type.exp: gdb_breakpoint: set breakpoint at p.adb:22 (eof)
957 UNRESOLVED: gdb.base/readline-ask.exp: bell for more message
958 UNRESOLVED: gdb.threads/attach-into-signal.exp: threaded: attach (pass 2), pending signal catch
961 cat <<'EOF' > known-failures-re-native-extended-gdbserver
962 FAIL: gdb.threads/attach-many-short-lived-threads.exp: .*
965 known_failures_file
="known-failures-${target_board}"
966 known_failures_re_file
="known-failures-re-${target_board}"
967 grep --invert-match --fixed-strings --file="$known_failures_file" "${WORKSPACE}/results/gdb.sum" | \
968 grep --invert-match --extended-regexp --file="$known_failures_re_file" > "${WORKSPACE}/results/gdb.filtered.sum"
969 grep --extended-regexp --regexp="^(FAIL|XPASS|UNRESOLVED|DUPLICATE|ERROR):" "${WORKSPACE}/results/gdb.filtered.sum" > "${WORKSPACE}/results/gdb.fail.sum" || true
971 # For informational purposes: check if some known failure lines did not appear
973 echo "Known failures that don't appear in gdb.sum:"
974 while read -r line
; do
975 if ! grep --silent --fixed-strings "$line" "${WORKSPACE}/results/gdb.sum"; then
978 done < "$known_failures_file" > "${WORKSPACE}/results/known-failures-not-found.sum"
980 # Convert results to JUnit format.
982 sum2junit
"${WORKSPACE}/results/gdb.filtered.sum" "${WORKSPACE}/results/gdb.xml" || failed_tests
=1
984 # Clean the build directory
987 # Exit with failure if any of the tests failed