jjb: Add missing function to binutils build script
[lttng-ci.git] / scripts / binutils-gdb / build.sh
CommitLineData
91ba8aa1
MJ
1#!/bin/bash
2#
3# Copyright (C) 2021 Michael Jeanson <mjeanson@efficios.com>
4#
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.
9#
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.
14#
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/>.
17
18set -exu
19
f295b56d
KS
20print_header() {
21 set +x
22
23 local message=" $1 "
24 local message_len
25 local padding_len
26
27 message_len="${#message}"
28 padding_len=$(( (80 - (message_len)) / 2 ))
29
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'
35
36 set -x
37}
38
91ba8aa1
MJ
39failed_configure() {
40 # Assume we are in the configured build directory
41 echo "#################### BEGIN config.log ####################"
42 cat config.log
43 echo "#################### END config.log ####################"
44 exit 1
45}
46
47sum2junit() {
48 local infile="$1"
49 local outfile="$2"
50
bcd0bdf1
SM
51cat <<EOF > sum2junit.py
52import sys
53from datetime import datetime
54import re
55from xml.etree.ElementTree import ElementTree, Element, SubElement
56
57line_re = re.compile(
58 r"^(PASS|XPASS|FAIL|XFAIL|KFAIL|DUPLICATE|UNTESTED|UNSUPPORTED|UNRESOLVED): (.*?\.exp): (.*)"
59)
e9ba7f91
SM
60running_re = re.compile(r"^Running .*/(gdb\.[^/]+/.*\.exp)")
61error_re = re.compile(r"^ERROR: (.*)")
bcd0bdf1
SM
62
63pass_count = 0
64fail_count = 0
65skip_count = 0
66error_count = 0
67now = datetime.now().isoformat(timespec="seconds")
68
69testsuites = Element(
70 "testsuites",
71 {
72 "xmlns": "https://raw.githubusercontent.com/windyroad/JUnit-Schema/master/JUnit.xsd"
73 },
74)
75testsuite = SubElement(
76 testsuites,
77 "testsuite",
78 {
79 "name": "GDB",
80 "package": "package",
81 "id": "0",
82 "time": "1",
83 "timestamp": now,
84 "hostname": "hostname",
85 },
86)
87SubElement(testsuite, "properties")
88
e9ba7f91
SM
89cur_test = None
90
bcd0bdf1 91for line in sys.stdin:
e9ba7f91
SM
92 m = running_re.match(line)
93 if m:
94 cur_test = m.group(1)
95 continue
96
97 m = error_re.match(line)
98 if m:
99 test = cur_test if cur_test else "<unknown test>"
100 msg = m.group(1)
101 print("ERROR: {} - {}".format(test, msg), file=sys.stderr)
102 error_count += 1
103
104 testcase_name = test
105 testcase = SubElement(
106 testsuite,
107 "testcase",
108 {"name": testcase_name, "classname": "classname", "time": "0"},
109 )
110 SubElement(testcase, "error", {"type": "ERROR"})
111
bcd0bdf1
SM
112 m = line_re.match(line)
113 if not m:
114 continue
115
116 state, exp_filename, test_name = m.groups()
117
118 testcase_name = "{} - {}".format(exp_filename, test_name)
119
120 testcase = SubElement(
121 testsuite,
122 "testcase",
123 {"name": testcase_name, "classname": "classname", "time": "0"},
124 )
125
126 if state in ("PASS", "XFAIL", "KFAIL"):
127 pass_count += 1
128 elif state in ("FAIL", "XPASS"):
6e30c08a 129 print("{}: {}".format(state, testcase_name), file=sys.stderr)
bcd0bdf1
SM
130 fail_count += 1
131 SubElement(testcase, "failure", {"type": state})
132 elif state in ("UNRESOLVED", "DUPLICATE"):
6e30c08a 133 print("{}: {}".format(state, testcase_name), file=sys.stderr)
bcd0bdf1
SM
134 error_count += 1
135 SubElement(testcase, "error", {"type": state})
136 elif state in ("UNTESTED", "UNSUPPORTED"):
137 skip_count += 1
138 SubElement(testcase, "skipped")
139 else:
140 assert False
141
e9ba7f91 142testsuite.attrib["tests"] = str(pass_count + fail_count + skip_count + error_count)
bcd0bdf1
SM
143testsuite.attrib["failures"] = str(fail_count)
144testsuite.attrib["skipped"] = str(skip_count)
145testsuite.attrib["errors"] = str(error_count)
146
147SubElement(testsuite, "system-out")
148SubElement(testsuite, "system-err")
149
150et = ElementTree(testsuites)
151et.write(sys.stdout, encoding="unicode")
152
153sys.exit(1 if fail_count > 0 or error_count > 0 else 0)
91ba8aa1
MJ
154EOF
155
bcd0bdf1 156 python3 sum2junit.py < "$infile" > "$outfile"
91ba8aa1
MJ
157}
158
159# Required variables
160WORKSPACE=${WORKSPACE:-}
161
e901a9db 162platform=${platform:-}
91ba8aa1
MJ
163conf=${conf:-}
164build=${build:-}
748dd275 165target_board=${target_board:-unix}
91ba8aa1
MJ
166
167
168SRCDIR="$WORKSPACE/src/binutils-gdb"
169TMPDIR="$WORKSPACE/tmp"
170PREFIX="/build"
171
f0f8dde0
SM
172function use_ccache()
173{
174 case "$platform" in
175 macos-*)
176 return 1
177 ;;
178 *)
179 return 0
180 ;;
181 esac
182}
183
91ba8aa1
MJ
184# Create tmp directory
185rm -rf "$TMPDIR"
186mkdir -p "$TMPDIR"
187
188export TMPDIR
f561bfa0
SM
189export CFLAGS="-O2 -g -fsanitize=address"
190export CXXFLAGS="-O2 -g -fsanitize=address -D_GLIBCXX_DEBUG=1"
91ba8aa1 191export LDFLAGS="-fsanitize=address"
f0f8dde0
SM
192export CC="cc"
193export CXX="c++"
194
195if use_ccache; then
196 CC="ccache $CC"
197 CXX="ccache $CXX"
198fi
199
200# To make GDB find libcc1.so
201export LD_LIBRARY_PATH="/usr/lib/gcc/x86_64-linux-gnu/11:${LD_LIBRARY_PATH:-}"
91ba8aa1
MJ
202
203# Set platform variables
f0f8dde0
SM
204export TAR=tar
205export MAKE=make
206
e901a9db 207case "$platform" in
f0f8dde0
SM
208macos-*)
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"
215 ;;
91ba8aa1 216*)
91ba8aa1
MJ
217 export NPROC=nproc
218 ;;
219esac
220
221# Print build env details
8c956c4b
MJ
222print_header "Build environment details"
223print_hardware || true
91ba8aa1
MJ
224print_os || true
225print_tooling || true
226
83068918
SM
227if use_ccache; then
228 ccache -c
229fi
230
da3d3606
SM
231# This job has been seen generating cores in /tmp, filling and and causing
232# problems. Remove any leftover core from a previous job.
233rm /tmp/core.* || true
234
91ba8aa1
MJ
235# Enter the source directory
236cd "$SRCDIR"
237
238# Run bootstrap in the source directory prior to configure
239#./bootstrap
240
241# Get source version from configure script
242#eval "$(grep '^PACKAGE_VERSION=' ./configure)"
243#PACKAGE_VERSION=${PACKAGE_VERSION//\-pre*/}
244
245# Set configure options and environment variables for each build
246# configuration.
247CONF_OPTS=("--prefix=$PREFIX")
248
249case "$conf" in
250*)
251 echo "Standard configuration"
252
253 # Use system tools
1c76805c 254 CONF_OPTS+=("--disable-binutils" "--disable-ld" "--disable-gold" "--disable-gas" "--disable-sim" "--disable-gprof" "--disable-gprofng")
91ba8aa1
MJ
255
256 # Use system libs
257 CONF_OPTS+=("--with-system-readline" "--with-system-zlib")
258
259 # Enable optional features
6549901d 260 CONF_OPTS+=("--enable-targets=all" "--with-expat=yes" "--with-python=python3" "--with-guile" "--enable-libctf")
91ba8aa1 261
b91b655f 262 CONF_OPTS+=("--enable-build-warnings" "--enable-gdb-build-warnings" "--enable-unit-tests" "--enable-ubsan")
91ba8aa1
MJ
263
264 ;;
265esac
266
f0f8dde0
SM
267case "$platform" in
268macos-*)
269 CONF_OPTS+=("--disable-werror")
270 ;;
271esac
272
91ba8aa1
MJ
273# Build type
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
278#
279# Make sure to move to the build directory and run configure
280# before continuing.
281case "$build" in
282*)
283 echo "Out of tree build"
284
285 # Create and enter a temporary build directory
286 builddir=$(mktemp -d)
287 cd "$builddir"
288
289 "$SRCDIR/configure" "${CONF_OPTS[@]}" || failed_configure
290 ;;
291esac
292
293# We are now inside a configured build directory
294
295# BUILD!
f0f8dde0 296$MAKE -j "$($NPROC)" V=1 MAKEINFO=true
91ba8aa1
MJ
297
298# Install in the workspace
593cd35e 299$MAKE install DESTDIR="$WORKSPACE" MAKEINFO=true
91ba8aa1 300
f0f8dde0
SM
301case "$platform" in
302macos-*)
303 # Stop there, don't run tests on macOS.
304 exit 0
305 ;;
306esac
307
748dd275
SM
308case "$target_board" in
309unix | native-gdbserver | native-extended-gdbserver)
310 RUNTESTFLAGS="--target_board=$target_board"
311 ;;
312
313*)
314 echo "Unknown \$target_board value: $target_board"
315 exit 1
316 ;;
317esac
318
bcd0bdf1
SM
319# Run tests, don't fail now, we know that "make check" is going to fail,
320# since some tests don't pass.
d0568940
SM
321$MAKE -C gdb/testsuite site.exp
322# shellcheck disable=SC2016
323echo 'set gdb_test_timeout [expr 5 * $timeout]' >> gdb/testsuite/site.exp
f8743131 324$MAKE -C gdb --keep-going check RUNTESTFLAGS="$RUNTESTFLAGS" || true
91ba8aa1
MJ
325
326# Copy the dejagnu test results for archiving before cleaning the build dir
327mkdir "${WORKSPACE}/results"
f5dbc8e5 328cp gdb/testsuite/gdb.log "${WORKSPACE}/results/"
91ba8aa1 329cp gdb/testsuite/gdb.sum "${WORKSPACE}/results/"
bcd0bdf1 330
748dd275
SM
331# Filter out some known failures. There is one file per target board.
332cat <<'EOF' > known-failures-unix
d05fa6f1
SM
333FAIL: gdb.ada/mi_var_access.exp: Create varobj (unexpected output)
334FAIL: gdb.ada/mi_var_access.exp: update at stop 2 (unexpected output)
335FAIL: gdb.ada/packed_array_assign.exp: value of pra
795db243
SM
336FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_bt_end
337FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_bt_start
338FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_fatal_msg
339FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: [expr $internal_error_msg_count == 2]
340FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_bt_end
341FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_bt_start
342FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_fatal_msg
343FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: [expr $internal_error_msg_count == 2]
344FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_bt_end
345FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_bt_start
346FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_fatal_msg
347FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: [expr $internal_error_msg_count == 2]
d05fa6f1
SM
348FAIL: 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
349FAIL: gdb.base/ending-run.exp: step out of main
350FAIL: gdb.base/ending-run.exp: step to end of run
351FAIL: gdb.base/gdb-sigterm.exp: pass=16: expect eof (GDB internal error)
795db243 352FAIL: gdb.base/share-env-with-gdbserver.exp: strange named var: print result of getenv for 'asd ='
d05fa6f1
SM
353FAIL: gdb.base/step-over-syscall.exp: clone: displaced=off: single step over clone
354FAIL: gdb.compile/compile-cplus.exp: bt
355FAIL: gdb.compile/compile-cplus.exp: compile code extern int globalshadow; globalshadow += 5;
356FAIL: gdb.compile/compile-cplus.exp: print 'compile-cplus.c'::globalshadow
357FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var ()
358FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var ()
359FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast<unsigned long> (1))
360FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast<unsigned long> (1))
361FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast<int> (1))
362FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast<int> (1))
363FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast<float> (1))
364FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast<float> (1))
365FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast<void *> (a))
366FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast<void *> (a))
367FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (*a)
368FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (*a)
369FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (*ac)
370FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (*ac)
371FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var1 (1)
372FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var1 (1)
373FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var2 (1, 2)
374FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var2 (1, 2)
375FAIL: gdb.compile/compile-cplus-method.exp: compile code A::get_1 (a->get_var ())
376FAIL: gdb.compile/compile-cplus-method.exp: result of compile code A::get_1 (a->get_var ())
377FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var1 (a->get_var () - 16)
378FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var1 (a->get_var () - 16)
379FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var2 (a->get_var (), A::get_1 (2))
380FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var2 (a->get_var (), A::get_1 (2))
381FAIL: gdb.compile/compile-cplus-method.exp: compile code get_value (a)
382FAIL: gdb.compile/compile-cplus-method.exp: result of compile code get_value (a)
383FAIL: gdb.compile/compile-cplus-method.exp: compile code (a->*pmf) (1)
384FAIL: gdb.compile/compile-cplus-method.exp: result of compile code (a->*pmf) (1)
385FAIL: gdb.compile/compile-cplus-method.exp: compile code pmf = &A::get_var1; var = (a->*pmf) (2); pmf = &A::get_var
386FAIL: gdb.compile/compile-cplus-method.exp: result of compile code pmf = &A::get_var1; var = (a->*pmf) (2); pmf = &A::get_var
387FAIL: gdb.compile/compile-cplus-method.exp: compile code (a->**pmf_p) (1)
388FAIL: gdb.compile/compile-cplus-method.exp: result of compile code (a->**pmf_p) (1)
389FAIL: gdb.compile/compile-cplus-virtual.exp: compile code ap->doit ()
390FAIL: gdb.compile/compile-cplus-virtual.exp: compile code ap->doit2 ()
812328f9 391FAIL: gdb.cp/no-dmgl-verbose.exp: gdb_breakpoint: set breakpoint at 'f(std::string)'
d05fa6f1
SM
392FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 1
393FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 2
394FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 3
395FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 4
795db243 396FAIL: gdb.gdb/python-interrupts.exp: run until breakpoint at captured_command_loop
d05fa6f1
SM
397FAIL: gdb.mi/list-thread-groups-available.exp: list available thread groups with filter (unexpected output)
398FAIL: gdb.threads/attach-stopped.exp: threaded: attach2 to stopped bt
399FAIL: gdb.threads/clone-attach-detach.exp: bg attach 2: attach (timeout)
400FAIL: gdb.threads/process-dies-while-detaching.exp: single-process: continue: detach: continue
401FAIL: gdb.threads/process-dies-while-detaching.exp: single-process: continue: killed outside: continue
402FAIL: gdb.threads/process-dies-while-detaching.exp: single-process: continue: watchpoint:hw: continue
403FAIL: gdb.threads/signal-command-handle-nopass.exp: step-over no: signal SIGUSR1
404FAIL: gdb.threads/signal-command-handle-nopass.exp: step-over yes: signal SIGUSR1
405FAIL: gdb.threads/signal-sigtrap.exp: sigtrap thread 1: signal SIGTRAP reaches handler
406FAIL: gdb.threads/signal-while-stepping-over-bp-other-thread.exp: step (pattern 3)
407UNRESOLVED: gdb.ada/arrayptr.exp: scenario=all: gdb_breakpoint: set breakpoint at foo.adb:40
408UNRESOLVED: gdb.ada/arrayptr.exp: scenario=all: runto: run to foo.adb:40 (eof)
409UNRESOLVED: gdb.ada/arrayptr.exp: scenario=all: gdb_breakpoint: set breakpoint at foo.adb:40 (eof)
410UNRESOLVED: gdb.ada/exprs.exp: gdb_breakpoint: set breakpoint at p.adb:40
411UNRESOLVED: gdb.ada/exprs.exp: runto: run to p.adb:40 (eof)
412UNRESOLVED: gdb.ada/exprs.exp: Long_Long_Integer ** Y
413UNRESOLVED: gdb.ada/exprs.exp: long_float'min
414UNRESOLVED: gdb.ada/exprs.exp: long_float'max
415UNRESOLVED: gdb.ada/exprs.exp: gdb_breakpoint: set breakpoint at p.adb:40 (eof)
416UNRESOLVED: gdb.ada/packed_array_assign.exp: gdb_breakpoint: set breakpoint at aggregates.run_test
417UNRESOLVED: gdb.ada/packed_array_assign.exp: runto: run to aggregates.run_test (eof)
418UNRESOLVED: gdb.ada/packed_array_assign.exp: gdb_breakpoint: set breakpoint at aggregates.run_test (eof)
419UNRESOLVED: gdb.ada/packed_array_assign.exp: value of pra
420UNRESOLVED: gdb.ada/packed_array_assign.exp: print pra(1) := pr
421UNRESOLVED: gdb.ada/packed_array_assign.exp: print pra(1)
422UNRESOLVED: gdb.ada/packed_array_assign.exp: value of npr
423UNRESOLVED: gdb.base/gdb-sigterm.exp: 50 SIGTERM passes
795db243 424UNRESOLVED: gdb.base/readline-ask.exp: bell for more message
d05fa6f1
SM
425UNRESOLVED: gdb.python/py-disasm.exp: global_disassembler=GlobalPreInfoDisassembler: disassemble main
426EOF
427
428cat <<'EOF' > known-failures-re-unix
429FAIL: gdb.base/gdb-sigterm.exp: pass=[0-9]+: expect eof \(GDB internal error\)
430FAIL: gdb.threads/step-N-all-progress.exp: non-stop=on: target-non-stop=on: next .*
795db243
SM
431EOF
432
748dd275 433cat <<'EOF' > known-failures-native-gdbserver
748dd275
SM
434DUPLICATE: gdb.base/cond-eval-mode.exp: awatch: awatch global
435DUPLICATE: gdb.base/cond-eval-mode.exp: awatch: continue
436DUPLICATE: gdb.base/cond-eval-mode.exp: break: break foo
437DUPLICATE: gdb.base/cond-eval-mode.exp: break: continue
438DUPLICATE: gdb.base/cond-eval-mode.exp: hbreak: continue
439DUPLICATE: gdb.base/cond-eval-mode.exp: hbreak: hbreak foo
440DUPLICATE: gdb.base/cond-eval-mode.exp: rwatch: continue
441DUPLICATE: gdb.base/cond-eval-mode.exp: rwatch: rwatch global
442DUPLICATE: gdb.base/cond-eval-mode.exp: watch: continue
443DUPLICATE: gdb.base/cond-eval-mode.exp: watch: watch global
748dd275
SM
444DUPLICATE: gdb.trace/circ.exp: check whether setting trace buffer size is supported
445DUPLICATE: gdb.trace/ftrace-lock.exp: successfully compiled posix threads test case
446DUPLICATE: gdb.trace/mi-tsv-changed.exp: create delete modify: tvariable $tvar3 modified
447DUPLICATE: gdb.trace/signal.exp: get integer valueof "counter"
448DUPLICATE: gdb.trace/status-stop.exp: buffer_full_tstart: tstart
449DUPLICATE: gdb.trace/status-stop.exp: tstart_tstop_tstart: tstart
450DUPLICATE: gdb.trace/tfind.exp: 8.17: tfind none
451DUPLICATE: gdb.trace/trace-buffer-size.exp: set tracepoint at test_function
452DUPLICATE: gdb.trace/trace-buffer-size.exp: tstart
453DUPLICATE: gdb.trace/trace-mt.exp: successfully compiled posix threads test case
d05fa6f1
SM
454FAIL: gdb.ada/mi_var_access.exp: Create varobj (unexpected output)
455FAIL: gdb.ada/mi_var_access.exp: update at stop 2 (unexpected output)
456FAIL: gdb.ada/packed_array_assign.exp: value of pra
457FAIL: gdb.arch/ftrace-insn-reloc.exp: runto: run to main
748dd275
SM
458FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_bt_end
459FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_bt_start
460FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_fatal_msg
461FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: [expr $internal_error_msg_count == 2]
462FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_bt_end
463FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_bt_start
464FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_fatal_msg
465FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: [expr $internal_error_msg_count == 2]
466FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_bt_end
467FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_bt_start
468FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_fatal_msg
469FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: [expr $internal_error_msg_count == 2]
470FAIL: gdb.base/compare-sections.exp: after reload: compare-sections
471FAIL: gdb.base/compare-sections.exp: after reload: compare-sections -r
472FAIL: gdb.base/compare-sections.exp: after run to main: compare-sections
473FAIL: gdb.base/compare-sections.exp: after run to main: compare-sections -r
474FAIL: gdb.base/compare-sections.exp: compare-sections .text
475FAIL: gdb.base/compare-sections.exp: read-only: compare-sections -r
d05fa6f1
SM
476FAIL: 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
477FAIL: gdb.base/ending-run.exp: step out of main
478FAIL: gdb.base/ending-run.exp: step to end of run
748dd275
SM
479FAIL: gdb.base/interrupt-daemon.exp: bg: continue& (timeout)
480FAIL: gdb.base/interrupt-daemon.exp: bg: interrupt cmd stops process (timeout)
481FAIL: gdb.base/interrupt-daemon.exp: bg: interrupt (timeout)
482FAIL: gdb.base/interrupt-daemon.exp: fg: ctrl-c stops process (timeout)
d05fa6f1
SM
483FAIL: gdb.base/options.exp: test-backtrace: cmd complete "backtrace "
484FAIL: gdb.base/options.exp: test-backtrace: tab complete "backtrace " (clearing input line) (timeout)
485FAIL: gdb.base/range-stepping.exp: step over func: next: vCont;r=2
486FAIL: gdb.compile/compile-cplus.exp: bt
487FAIL: gdb.compile/compile-cplus.exp: compile code extern int globalshadow; globalshadow += 5;
488FAIL: gdb.compile/compile-cplus.exp: print 'compile-cplus.c'::globalshadow
489FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var ()
490FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var ()
491FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast<unsigned long> (1))
492FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast<unsigned long> (1))
493FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast<int> (1))
494FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast<int> (1))
495FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast<float> (1))
496FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast<float> (1))
497FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast<void *> (a))
498FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast<void *> (a))
499FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (*a)
500FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (*a)
501FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (*ac)
502FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (*ac)
503FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var1 (1)
504FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var1 (1)
505FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var2 (1, 2)
506FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var2 (1, 2)
507FAIL: gdb.compile/compile-cplus-method.exp: compile code A::get_1 (a->get_var ())
508FAIL: gdb.compile/compile-cplus-method.exp: result of compile code A::get_1 (a->get_var ())
509FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var1 (a->get_var () - 16)
510FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var1 (a->get_var () - 16)
511FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var2 (a->get_var (), A::get_1 (2))
512FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var2 (a->get_var (), A::get_1 (2))
513FAIL: gdb.compile/compile-cplus-method.exp: compile code get_value (a)
514FAIL: gdb.compile/compile-cplus-method.exp: result of compile code get_value (a)
515FAIL: gdb.compile/compile-cplus-method.exp: compile code (a->*pmf) (1)
516FAIL: gdb.compile/compile-cplus-method.exp: result of compile code (a->*pmf) (1)
517FAIL: gdb.compile/compile-cplus-method.exp: compile code pmf = &A::get_var1; var = (a->*pmf) (2); pmf = &A::get_var
518FAIL: gdb.compile/compile-cplus-method.exp: result of compile code pmf = &A::get_var1; var = (a->*pmf) (2); pmf = &A::get_var
519FAIL: gdb.compile/compile-cplus-method.exp: compile code (a->**pmf_p) (1)
520FAIL: gdb.compile/compile-cplus-method.exp: result of compile code (a->**pmf_p) (1)
521FAIL: gdb.compile/compile-cplus-virtual.exp: compile code ap->doit ()
522FAIL: gdb.compile/compile-cplus-virtual.exp: compile code ap->doit2 ()
812328f9 523FAIL: gdb.cp/no-dmgl-verbose.exp: gdb_breakpoint: set breakpoint at 'f(std::string)'
d05fa6f1
SM
524FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 1
525FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 2
526FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 3
527FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 4
528FAIL: gdb.dwarf2/clztest.exp: runto: run to main
748dd275
SM
529FAIL: gdb.threads/multiple-successive-infcall.exp: thread=3: created new thread
530FAIL: gdb.threads/multiple-successive-infcall.exp: thread=4: created new thread
531FAIL: gdb.threads/multiple-successive-infcall.exp: thread=5: created new thread
748dd275 532FAIL: gdb.threads/process-dies-while-detaching.exp: single-process: continue: killed outside: continue
d05fa6f1
SM
533FAIL: gdb.threads/signal-command-handle-nopass.exp: step-over no: signal SIGUSR1
534FAIL: gdb.threads/signal-command-handle-nopass.exp: step-over yes: signal SIGUSR1
535FAIL: gdb.threads/signal-sigtrap.exp: sigtrap thread 1: signal SIGTRAP reaches handler
748dd275
SM
536FAIL: gdb.threads/thread-specific-bp.exp: all-stop: continue to end (timeout)
537FAIL: gdb.threads/thread-specific-bp.exp: non-stop: continue to end (timeout)
538FAIL: gdb.trace/actions.exp: tfile: tracepoint on gdb_asm_test
539FAIL: gdb.trace/actions.exp: tfile: tracepoint on gdb_c_test
540FAIL: gdb.trace/actions.exp: tfile: tracepoint on gdb_recursion_test 0
d05fa6f1 541FAIL: gdb.trace/change-loc.exp: 1 ftrace: runto: run to main
748dd275
SM
542FAIL: gdb.trace/change-loc.exp: 1 trace: continue to marker 2
543FAIL: gdb.trace/change-loc.exp: 1 trace: continue to marker 3
544FAIL: gdb.trace/change-loc.exp: 1 trace: tfind frame 0
545FAIL: gdb.trace/change-loc.exp: 1 trace: tracepoint with two locations - installed (unload)
546FAIL: gdb.trace/change-loc.exp: 1 trace: tracepoint with two locations - pending (unload)
547FAIL: gdb.trace/change-loc.exp: 2 ftrace: continue to marker 1 (the program is no longer running)
548FAIL: gdb.trace/change-loc.exp: 2 ftrace: continue to marker 2 (the program is no longer running)
549FAIL: gdb.trace/change-loc.exp: 2 ftrace: continue to marker 3 (the program is no longer running)
550FAIL: gdb.trace/change-loc.exp: 2 ftrace: run to main (the program exited)
551FAIL: gdb.trace/change-loc.exp: 2 ftrace: tfind frame 0
552FAIL: gdb.trace/change-loc.exp: 2 ftrace: tfind frame 1
553FAIL: gdb.trace/change-loc.exp: 2 ftrace: tfind frame 2
554FAIL: gdb.trace/change-loc.exp: 2 ftrace: tracepoint with three locations
555FAIL: gdb.trace/change-loc.exp: 2 ftrace: tracepoint with two locations - installed (unload)
556FAIL: gdb.trace/change-loc.exp: 2 ftrace: tracepoint with two locations - pending (unload)
557FAIL: gdb.trace/change-loc.exp: 2 ftrace: tstart
558FAIL: gdb.trace/change-loc.exp: 2 ftrace: tstop
559FAIL: gdb.trace/change-loc.exp: 2 trace: continue to marker 2
560FAIL: gdb.trace/change-loc.exp: 2 trace: continue to marker 3
561FAIL: gdb.trace/change-loc.exp: 2 trace: tfind frame 2
562FAIL: gdb.trace/change-loc.exp: 2 trace: tracepoint with two locations - installed (unload)
563FAIL: gdb.trace/change-loc.exp: 2 trace: tracepoint with two locations - pending (unload)
d05fa6f1 564FAIL: gdb.trace/change-loc.exp: InstallInTrace disabled: ftrace: runto: run to main
748dd275
SM
565FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local char
566FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local double
567FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local float
568FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local int
569FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member char
570FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member double
571FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member float
572FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member int
573FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #0
574FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #1
575FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #2
576FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #3
d05fa6f1
SM
577FAIL: gdb.trace/collection.exp: collect register locals collectively: run trace experiment: start trace experiment
578FAIL: gdb.trace/collection.exp: collect register locals collectively: run trace experiment: tfind test frame
748dd275
SM
579FAIL: gdb.trace/collection.exp: collect register locals collectively: start trace experiment
580FAIL: gdb.trace/collection.exp: collect register locals collectively: tfind test frame
581FAIL: gdb.trace/collection.exp: collect register locals individually: collected local char
582FAIL: gdb.trace/collection.exp: collect register locals individually: collected local double
583FAIL: gdb.trace/collection.exp: collect register locals individually: collected local float
584FAIL: gdb.trace/collection.exp: collect register locals individually: collected local int
585FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member char
586FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member double
587FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member float
588FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member int
589FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #0
590FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #1
591FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #2
592FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #3
593FAIL: gdb.trace/collection.exp: collect register locals individually: define actions
d05fa6f1
SM
594FAIL: gdb.trace/ftrace.exp: runto: run to main
595FAIL: gdb.trace/ftrace-lock.exp: runto: run to main
748dd275
SM
596FAIL: gdb.trace/mi-trace-frame-collected.exp: tfile: -trace-frame-collected (unexpected output)
597FAIL: 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)
d05fa6f1
SM
598FAIL: gdb.trace/mi-tsv-changed.exp: create delete modify: tvariable $tvar3 modified (unexpected output)
599FAIL: gdb.trace/pending.exp: ftrace action_resolved: runto: run to main
600FAIL: gdb.trace/pending.exp: ftrace disconn_resolved: runto: run to main
601FAIL: gdb.trace/pending.exp: ftrace disconn: runto: run to main
602FAIL: gdb.trace/pending.exp: ftrace installed_in_trace: runto: run to main
603FAIL: gdb.trace/pending.exp: ftrace resolved_in_trace: runto: run to main
748dd275
SM
604FAIL: gdb.trace/pending.exp: ftrace resolved: (the program exited)
605FAIL: gdb.trace/pending.exp: ftrace works: continue to marker (the program is no longer running)
606FAIL: gdb.trace/pending.exp: ftrace works: start trace experiment
607FAIL: gdb.trace/pending.exp: ftrace works: tfind test frame 0
608FAIL: gdb.trace/pending.exp: ftrace works: tfind test frame 1
609FAIL: gdb.trace/pending.exp: ftrace works: tfind test frame 2
610FAIL: gdb.trace/pending.exp: ftrace works: (the program exited)
611FAIL: gdb.trace/pending.exp: trace installed_in_trace: continue to marker 2
612FAIL: gdb.trace/pending.exp: trace installed_in_trace: tfind test frame 0
d05fa6f1
SM
613FAIL: gdb.trace/range-stepping.exp: runto: run to main
614FAIL: gdb.trace/trace-break.exp: runto: run to main
615FAIL: gdb.trace/trace-condition.exp: runto: run to main
616FAIL: gdb.trace/trace-enable-disable.exp: test_tracepoint_enable_disable ftrace: runto: run to main
617FAIL: gdb.trace/trace-enable-disable.exp: test_tracepoint_enable_disable trace: runto: run to main
618FAIL: gdb.trace/trace-mt.exp: runto: run to main
619FAIL: gdb.trace/tspeed.exp: runto: run to main
748dd275
SM
620FAIL: gdb.trace/unavailable.exp: collect globals: print object off: print derived_partial
621FAIL: gdb.trace/unavailable.exp: collect globals: print object on: print derived_partial
622FAIL: gdb.trace/unavailable.exp: collect globals: tfile: print object off: print derived_partial
623FAIL: gdb.trace/unavailable.exp: collect globals: tfile: print object on: print derived_partial
d05fa6f1
SM
624FAIL: gdb.trace/unavailable.exp: collect globals: tfile: <unavailable> is not the same as 0 in array element repetitions
625FAIL: gdb.trace/unavailable.exp: collect globals: <unavailable> is not the same as 0 in array element repetitions
748dd275
SM
626FAIL: gdb.trace/unavailable.exp: unavailable locals: auto locals: info locals
627FAIL: gdb.trace/unavailable.exp: unavailable locals: auto locals: tfile: info locals
628FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: info locals
629FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: print locd
630FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: print locf
631FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: tfile: info locals
632FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: tfile: print locd
633FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: tfile: print locf
634FAIL: gdb.trace/unavailable.exp: unavailable locals: static locals: info locals
635FAIL: gdb.trace/unavailable.exp: unavailable locals: static locals: tfile: info locals
748dd275 636KPASS: gdb.threads/process-dies-while-detaching.exp: single-process: continue: watchpoint:sw: continue (PRMS gdb/28375)
d05fa6f1
SM
637UNRESOLVED: gdb.ada/arrayptr.exp: scenario=all: gdb_breakpoint: set breakpoint at foo.adb:40
638UNRESOLVED: gdb.ada/arrayptr.exp: scenario=all: runto: run to foo.adb:40 (eof)
639UNRESOLVED: gdb.ada/exprs.exp: gdb_breakpoint: set breakpoint at p.adb:40
640UNRESOLVED: gdb.ada/exprs.exp: runto: run to p.adb:40 (eof)
641UNRESOLVED: gdb.ada/packed_array_assign.exp: gdb_breakpoint: set breakpoint at aggregates.run_test
642UNRESOLVED: gdb.ada/packed_array_assign.exp: runto: run to aggregates.run_test (eof)
643UNRESOLVED: gdb.ada/exprs.exp: Long_Long_Integer ** Y
644UNRESOLVED: gdb.ada/exprs.exp: long_float'min
645UNRESOLVED: gdb.ada/exprs.exp: long_float'max
646UNRESOLVED: gdb.ada/packed_array_assign.exp: value of pra
647UNRESOLVED: gdb.ada/packed_array_assign.exp: print pra(1) := pr
648UNRESOLVED: gdb.ada/packed_array_assign.exp: print pra(1)
649UNRESOLVED: gdb.ada/packed_array_assign.exp: value of npr
650UNRESOLVED: gdb.ada/arrayptr.exp: scenario=all: gdb_breakpoint: set breakpoint at foo.adb:40 (eof)
651UNRESOLVED: gdb.ada/array_return.exp: gdb_breakpoint: set breakpoint at main (eof)
652UNRESOLVED: gdb.ada/array_subscript_addr.exp: gdb_breakpoint: set breakpoint at p.adb:27 (eof)
653UNRESOLVED: gdb.ada/cond_lang.exp: gdb_breakpoint: set breakpoint at c_function (eof)
654UNRESOLVED: gdb.ada/dyn_loc.exp: gdb_breakpoint: set breakpoint at pack.adb:25 (eof)
655UNRESOLVED: gdb.ada/exprs.exp: gdb_breakpoint: set breakpoint at p.adb:40 (eof)
656UNRESOLVED: gdb.ada/packed_array_assign.exp: gdb_breakpoint: set breakpoint at aggregates.run_test (eof)
657UNRESOLVED: gdb.ada/ref_tick_size.exp: gdb_breakpoint: set breakpoint at p.adb:26 (eof)
658UNRESOLVED: gdb.ada/set_wstr.exp: gdb_breakpoint: set breakpoint at a.adb:23 (eof)
659UNRESOLVED: gdb.ada/taft_type.exp: gdb_breakpoint: set breakpoint at p.adb:22 (eof)
660UNRESOLVED: gdb.base/libsegfault.exp: gdb emits custom handler warning
661EOF
662
663cat <<'EOF' > known-failures-re-native-gdbserver
748dd275
SM
664EOF
665
666cat <<'EOF' > known-failures-native-extended-gdbserver
748dd275
SM
667DUPLICATE: gdb.base/cond-eval-mode.exp: awatch: awatch global
668DUPLICATE: gdb.base/cond-eval-mode.exp: awatch: continue
669DUPLICATE: gdb.base/cond-eval-mode.exp: break: break foo
670DUPLICATE: gdb.base/cond-eval-mode.exp: break: continue
671DUPLICATE: gdb.base/cond-eval-mode.exp: hbreak: continue
672DUPLICATE: gdb.base/cond-eval-mode.exp: hbreak: hbreak foo
673DUPLICATE: gdb.base/cond-eval-mode.exp: rwatch: continue
674DUPLICATE: gdb.base/cond-eval-mode.exp: rwatch: rwatch global
675DUPLICATE: gdb.base/cond-eval-mode.exp: watch: continue
676DUPLICATE: gdb.base/cond-eval-mode.exp: watch: watch global
748dd275
SM
677DUPLICATE: gdb.threads/attach-into-signal.exp: threaded: thread apply 2 print $_siginfo.si_signo
678DUPLICATE: gdb.trace/circ.exp: check whether setting trace buffer size is supported
679DUPLICATE: gdb.trace/ftrace-lock.exp: successfully compiled posix threads test case
680DUPLICATE: gdb.trace/mi-tsv-changed.exp: create delete modify: tvariable $tvar3 modified
681DUPLICATE: gdb.trace/signal.exp: get integer valueof "counter"
682DUPLICATE: gdb.trace/status-stop.exp: buffer_full_tstart: tstart
683DUPLICATE: gdb.trace/status-stop.exp: tstart_tstop_tstart: tstart
684DUPLICATE: gdb.trace/tfind.exp: 8.17: tfind none
685DUPLICATE: gdb.trace/trace-buffer-size.exp: set tracepoint at test_function
686DUPLICATE: gdb.trace/trace-buffer-size.exp: tstart
687DUPLICATE: gdb.trace/trace-mt.exp: successfully compiled posix threads test case
688DUPLICATE: gdb.trace/tspeed.exp: advance through tracing (the program is no longer running)
689DUPLICATE: gdb.trace/tspeed.exp: advance to trace begin (the program is no longer running)
690DUPLICATE: gdb.trace/tspeed.exp: check on trace status
691DUPLICATE: gdb.trace/tspeed.exp: print iters = init_iters
d05fa6f1 692DUPLICATE: gdb.trace/tspeed.exp: runto: run to main
748dd275 693DUPLICATE: gdb.trace/tspeed.exp: start trace experiment
d05fa6f1
SM
694FAIL: gdb.ada/mi_var_access.exp: Create varobj (unexpected output)
695FAIL: gdb.ada/mi_var_access.exp: update at stop 2 (unexpected output)
696FAIL: gdb.ada/packed_array_assign.exp: value of pra
697FAIL: gdb.arch/ftrace-insn-reloc.exp: runto: run to main
748dd275 698FAIL: gdb.base/a2-run.exp: run "a2-run" with shell (timeout)
d05fa6f1
SM
699FAIL: gdb.base/attach.exp: do_command_attach_tests: gdb_spawn_attach_cmdline: info thread (no thread)
700FAIL: gdb.base/attach.exp: do_command_attach_tests: gdb_spawn_attach_cmdline: start gdb with --pid
748dd275
SM
701FAIL: 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)
702FAIL: 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
703FAIL: 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)
704FAIL: 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
705FAIL: 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
706FAIL: 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)
707FAIL: 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
708FAIL: 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)
709FAIL: 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
710FAIL: 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
711FAIL: gdb.base/break-interp.exp: ldprelink=NO: ldsepdebug=NO: symbol-less: ld.so exit
712FAIL: gdb.base/break-interp.exp: ldprelink=NO: ldsepdebug=NO: symbol-less: seen displacement message as NONZERO
713FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_bt_end
714FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_bt_start
715FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_fatal_msg
716FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: [expr $internal_error_msg_count == 2]
717FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_bt_end
718FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_bt_start
719FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_fatal_msg
720FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: [expr $internal_error_msg_count == 2]
721FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_bt_end
722FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_bt_start
723FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_fatal_msg
724FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: [expr $internal_error_msg_count == 2]
725FAIL: gdb.base/compare-sections.exp: after run to main: compare-sections
726FAIL: gdb.base/compare-sections.exp: after run to main: compare-sections -r
727FAIL: gdb.base/compare-sections.exp: read-only: compare-sections -r
d05fa6f1
SM
728FAIL: 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
729FAIL: gdb.base/ending-run.exp: step out of main
730FAIL: gdb.base/ending-run.exp: step to end of run
748dd275
SM
731FAIL: gdb.base/gdbinit-history.exp: GDBHISTFILE is empty: show commands
732FAIL: gdb.base/gdbinit-history.exp: load default history file: show commands
733FAIL: gdb.base/gdbinit-history.exp: load GDBHISTFILE history file: show commands
734FAIL: gdb.base/interrupt-daemon.exp: bg: continue& (timeout)
735FAIL: gdb.base/interrupt-daemon.exp: bg: interrupt cmd stops process (timeout)
736FAIL: gdb.base/interrupt-daemon.exp: bg: interrupt (timeout)
737FAIL: gdb.base/interrupt-daemon.exp: fg: ctrl-c stops process (timeout)
d05fa6f1 738FAIL: gdb.base/range-stepping.exp: step over func: next: vCont;r=2
748dd275 739FAIL: gdb.base/share-env-with-gdbserver.exp: strange named var: print result of getenv for 'asd ='
d05fa6f1 740FAIL: gdb.base/startup-with-shell.exp: startup_with_shell = off; run_args = *.unique-extension: first argument not expanded
748dd275
SM
741FAIL: gdb.base/startup-with-shell.exp: startup_with_shell = on; run_args = $TEST: testing first argument
742FAIL: gdb.base/startup-with-shell.exp: startup_with_shell = on; run_args = *.unique-extension: first argument expanded
743FAIL: gdb.base/with.exp: repeat: reinvoke with no previous command to relaunch
d05fa6f1
SM
744FAIL: gdb.compile/compile-cplus.exp: bt
745FAIL: gdb.compile/compile-cplus.exp: compile code extern int globalshadow; globalshadow += 5;
746FAIL: gdb.compile/compile-cplus.exp: print 'compile-cplus.c'::globalshadow
747FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var ()
748FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var ()
749FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast<unsigned long> (1))
750FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast<unsigned long> (1))
751FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast<int> (1))
752FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast<int> (1))
753FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast<float> (1))
754FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast<float> (1))
755FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (static_cast<void *> (a))
756FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (static_cast<void *> (a))
757FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (*a)
758FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (*a)
759FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var (*ac)
760FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var (*ac)
761FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var1 (1)
762FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var1 (1)
763FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var2 (1, 2)
764FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var2 (1, 2)
765FAIL: gdb.compile/compile-cplus-method.exp: compile code A::get_1 (a->get_var ())
766FAIL: gdb.compile/compile-cplus-method.exp: result of compile code A::get_1 (a->get_var ())
767FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var1 (a->get_var () - 16)
768FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var1 (a->get_var () - 16)
769FAIL: gdb.compile/compile-cplus-method.exp: compile code a->get_var2 (a->get_var (), A::get_1 (2))
770FAIL: gdb.compile/compile-cplus-method.exp: result of compile code a->get_var2 (a->get_var (), A::get_1 (2))
771FAIL: gdb.compile/compile-cplus-method.exp: compile code get_value (a)
772FAIL: gdb.compile/compile-cplus-method.exp: result of compile code get_value (a)
773FAIL: gdb.compile/compile-cplus-method.exp: compile code (a->*pmf) (1)
774FAIL: gdb.compile/compile-cplus-method.exp: result of compile code (a->*pmf) (1)
775FAIL: gdb.compile/compile-cplus-method.exp: compile code pmf = &A::get_var1; var = (a->*pmf) (2); pmf = &A::get_var
776FAIL: gdb.compile/compile-cplus-method.exp: result of compile code pmf = &A::get_var1; var = (a->*pmf) (2); pmf = &A::get_var
777FAIL: gdb.compile/compile-cplus-method.exp: compile code (a->**pmf_p) (1)
778FAIL: gdb.compile/compile-cplus-method.exp: result of compile code (a->**pmf_p) (1)
779FAIL: gdb.compile/compile-cplus-virtual.exp: compile code ap->doit ()
780FAIL: gdb.compile/compile-cplus-virtual.exp: compile code ap->doit2 ()
748dd275
SM
781FAIL: gdb.cp/annota2.exp: annotate-quit
782FAIL: gdb.cp/annota2.exp: break at main (got interactive prompt)
783FAIL: gdb.cp/annota2.exp: continue until exit (timeout)
784FAIL: gdb.cp/annota2.exp: delete bps
785FAIL: gdb.cp/annota2.exp: set watch on a.x (timeout)
786FAIL: gdb.cp/annota2.exp: watch triggered on a.x (timeout)
787FAIL: gdb.cp/annota3.exp: continue to exit (pattern 4)
812328f9 788FAIL: gdb.cp/no-dmgl-verbose.exp: gdb_breakpoint: set breakpoint at 'f(std::string)'
d05fa6f1
SM
789FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 1
790FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 2
791FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 3
792FAIL: gdb.cp/step-and-next-inline.exp: no_header: next step 4
748dd275
SM
793FAIL: gdb.gdb/unittest.exp: executable loaded: maintenance selftest, failed none
794FAIL: gdb.gdb/unittest.exp: no executable loaded: maintenance selftest, failed none
dfa2dcd2 795FAIL: gdb.gdb/unittest.exp: reversed initialization: maintenance selftest, failed none
d05fa6f1
SM
796FAIL: gdb.guile/scm-ports.exp: buffered: test byte at sp, before flush
797FAIL: gdb.mi/list-thread-groups-available.exp: list available thread groups with filter (unexpected output)
748dd275
SM
798FAIL: gdb.mi/mi-exec-run.exp: inferior-tty=separate: mi=separate: force-fail=0: breakpoint hit reported on console (timeout)
799FAIL: gdb.mi/mi-pending.exp: MI pending breakpoint on mi-pendshr.c:pendfunc2 if x==4 (unexpected output)
d05fa6f1 800FAIL: gdb.multi/remove-inferiors.exp: runto: run to main
748dd275
SM
801FAIL: gdb.server/connect-with-no-symbol-file.exp: sysroot=: action=delete: connection to GDBserver succeeded
802FAIL: gdb.server/connect-with-no-symbol-file.exp: sysroot=: action=permission: connection to GDBserver succeeded
803FAIL: gdb.server/connect-with-no-symbol-file.exp: sysroot=target:: action=delete: connection to GDBserver succeeded
804FAIL: gdb.server/connect-with-no-symbol-file.exp: sysroot=target:: action=permission: connection to GDBserver succeeded
d05fa6f1 805FAIL: gdb.threads/access-mem-running-thread-exit.exp: non-stop: access mem (print global_var after writing again, inf=2, iter=1)
748dd275 806FAIL: gdb.threads/attach-into-signal.exp: threaded: thread apply 2 print $_siginfo.si_signo
d05fa6f1
SM
807FAIL: gdb.threads/attach-non-stop.exp: target-non-stop=off: non-stop=off: cmd=attach&: all threads running
808FAIL: gdb.threads/attach-non-stop.exp: target-non-stop=off: non-stop=off: cmd=attach&: detach
809FAIL: gdb.threads/attach-stopped.exp: threaded: attach2 to stopped bt
810FAIL: gdb.threads/break-while-running.exp: w/ithr: always-inserted off: non-stop: runto: run to main
811FAIL: gdb.threads/break-while-running.exp: w/ithr: always-inserted on: non-stop: runto: run to main
812FAIL: gdb.threads/break-while-running.exp: wo/ithr: always-inserted off: non-stop: runto: run to main
813FAIL: gdb.threads/break-while-running.exp: wo/ithr: always-inserted on: non-stop: runto: run to main
814FAIL: gdb.threads/gcore-stale-thread.exp: runto: run to main
815FAIL: gdb.threads/multi-create-ns-info-thr.exp: runto: run to main
748dd275
SM
816FAIL: gdb.threads/multiple-successive-infcall.exp: thread=3: created new thread
817FAIL: gdb.threads/multiple-successive-infcall.exp: thread=4: created new thread
818FAIL: gdb.threads/multiple-successive-infcall.exp: thread=5: created new thread
d05fa6f1 819FAIL: gdb.threads/non-stop-fair-events.exp: runto: run to main
748dd275 820FAIL: gdb.threads/process-dies-while-detaching.exp: single-process: continue: killed outside: continue
d05fa6f1
SM
821FAIL: gdb.threads/signal-command-handle-nopass.exp: step-over yes: signal SIGUSR1
822FAIL: gdb.threads/signal-command-handle-nopass.exp: step-over no: signal SIGUSR1
823FAIL: gdb.threads/signal-sigtrap.exp: sigtrap thread 1: signal SIGTRAP reaches handler
824FAIL: gdb.threads/thread-execl.exp: non-stop: runto: run to main
748dd275 825FAIL: gdb.threads/thread-specific-bp.exp: all-stop: continue to end (timeout)
d05fa6f1 826FAIL: gdb.threads/thread-specific-bp.exp: non-stop: runto: run to main
748dd275
SM
827FAIL: gdb.threads/tls.exp: print a_thread_local
828FAIL: gdb.trace/actions.exp: tfile: tracepoint on gdb_asm_test
829FAIL: gdb.trace/actions.exp: tfile: tracepoint on gdb_c_test
830FAIL: gdb.trace/actions.exp: tfile: tracepoint on gdb_recursion_test 0
d05fa6f1 831FAIL: gdb.trace/change-loc.exp: 1 ftrace: runto: run to main
748dd275
SM
832FAIL: gdb.trace/change-loc.exp: 1 trace: continue to marker 2
833FAIL: gdb.trace/change-loc.exp: 1 trace: continue to marker 3
834FAIL: gdb.trace/change-loc.exp: 1 trace: tfind frame 0
835FAIL: gdb.trace/change-loc.exp: 1 trace: tracepoint with two locations - installed (unload)
836FAIL: gdb.trace/change-loc.exp: 1 trace: tracepoint with two locations - pending (unload)
837FAIL: gdb.trace/change-loc.exp: 2 ftrace: continue to marker 1 (the program is no longer running)
838FAIL: gdb.trace/change-loc.exp: 2 ftrace: continue to marker 2 (the program is no longer running)
839FAIL: gdb.trace/change-loc.exp: 2 ftrace: continue to marker 3 (the program is no longer running)
840FAIL: gdb.trace/change-loc.exp: 2 ftrace: run to main (the program exited)
841FAIL: gdb.trace/change-loc.exp: 2 ftrace: tfind frame 0
842FAIL: gdb.trace/change-loc.exp: 2 ftrace: tfind frame 1
843FAIL: gdb.trace/change-loc.exp: 2 ftrace: tfind frame 2
844FAIL: gdb.trace/change-loc.exp: 2 ftrace: tracepoint with three locations
845FAIL: gdb.trace/change-loc.exp: 2 ftrace: tracepoint with two locations - installed (unload)
846FAIL: gdb.trace/change-loc.exp: 2 ftrace: tracepoint with two locations - pending (unload)
847FAIL: gdb.trace/change-loc.exp: 2 ftrace: tstart
848FAIL: gdb.trace/change-loc.exp: 2 ftrace: tstop
849FAIL: gdb.trace/change-loc.exp: 2 trace: continue to marker 2
850FAIL: gdb.trace/change-loc.exp: 2 trace: continue to marker 3
851FAIL: gdb.trace/change-loc.exp: 2 trace: tfind frame 2
852FAIL: gdb.trace/change-loc.exp: 2 trace: tracepoint with two locations - installed (unload)
853FAIL: gdb.trace/change-loc.exp: 2 trace: tracepoint with two locations - pending (unload)
d05fa6f1 854FAIL: gdb.trace/change-loc.exp: InstallInTrace disabled: ftrace: runto: run to main
748dd275
SM
855FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local char
856FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local double
857FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local float
858FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local int
859FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member char
860FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member double
861FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member float
862FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member int
863FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #0
864FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #1
865FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #2
866FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #3
d05fa6f1
SM
867FAIL: gdb.trace/collection.exp: collect register locals collectively: run trace experiment: start trace experiment
868FAIL: gdb.trace/collection.exp: collect register locals collectively: run trace experiment: tfind test frame
748dd275
SM
869FAIL: gdb.trace/collection.exp: collect register locals collectively: start trace experiment
870FAIL: gdb.trace/collection.exp: collect register locals collectively: tfind test frame
871FAIL: gdb.trace/collection.exp: collect register locals individually: collected local char
872FAIL: gdb.trace/collection.exp: collect register locals individually: collected local double
873FAIL: gdb.trace/collection.exp: collect register locals individually: collected local float
874FAIL: gdb.trace/collection.exp: collect register locals individually: collected local int
875FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member char
876FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member double
877FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member float
878FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member int
879FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #0
880FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #1
881FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #2
882FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #3
883FAIL: gdb.trace/collection.exp: collect register locals individually: define actions
d05fa6f1
SM
884FAIL: gdb.trace/ftrace.exp: runto: run to main
885FAIL: gdb.trace/ftrace-lock.exp: runto: run to main
748dd275
SM
886FAIL: gdb.trace/mi-trace-frame-collected.exp: tfile: -trace-frame-collected (unexpected output)
887FAIL: 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)
d05fa6f1
SM
888FAIL: gdb.trace/mi-tsv-changed.exp: create delete modify: tvariable $tvar3 modified (unexpected output)
889FAIL: gdb.trace/pending.exp: ftrace action_resolved: runto: run to main
890FAIL: gdb.trace/pending.exp: ftrace disconn_resolved: runto: run to main
891FAIL: gdb.trace/pending.exp: ftrace disconn: runto: run to main
892FAIL: gdb.trace/pending.exp: ftrace installed_in_trace: runto: run to main
893FAIL: gdb.trace/pending.exp: ftrace resolved_in_trace: runto: run to main
748dd275
SM
894FAIL: gdb.trace/pending.exp: ftrace resolved: (the program exited)
895FAIL: gdb.trace/pending.exp: ftrace works: continue to marker (the program is no longer running)
896FAIL: gdb.trace/pending.exp: ftrace works: start trace experiment
897FAIL: gdb.trace/pending.exp: ftrace works: tfind test frame 0
898FAIL: gdb.trace/pending.exp: ftrace works: tfind test frame 1
899FAIL: gdb.trace/pending.exp: ftrace works: tfind test frame 2
900FAIL: gdb.trace/pending.exp: ftrace works: (the program exited)
901FAIL: gdb.trace/pending.exp: trace installed_in_trace: continue to marker 2
902FAIL: gdb.trace/pending.exp: trace installed_in_trace: tfind test frame 0
d05fa6f1
SM
903FAIL: gdb.trace/range-stepping.exp: runto: run to main
904FAIL: gdb.trace/trace-break.exp: runto: run to main
905FAIL: gdb.trace/trace-condition.exp: runto: run to main
906FAIL: gdb.trace/trace-enable-disable.exp: test_tracepoint_enable_disable ftrace: runto: run to main
907FAIL: gdb.trace/trace-enable-disable.exp: test_tracepoint_enable_disable trace: runto: run to main
908FAIL: gdb.trace/trace-mt.exp: runto: run to main
04047f44
SM
909FAIL: gdb.trace/tspeed.exp: gdb_fast_trace_speed_test: advance through tracing (the program is no longer running)
910FAIL: gdb.trace/tspeed.exp: gdb_fast_trace_speed_test: advance to trace begin (the program is no longer running)
911FAIL: gdb.trace/tspeed.exp: gdb_fast_trace_speed_test: start trace experiment
912FAIL: gdb.trace/tspeed.exp: gdb_slow_trace_speed_test: advance through tracing (the program is no longer running)
913FAIL: gdb.trace/tspeed.exp: gdb_slow_trace_speed_test: advance to trace begin (the program is no longer running)
914FAIL: gdb.trace/tspeed.exp: gdb_slow_trace_speed_test: start trace experiment
d05fa6f1
SM
915FAIL: gdb.trace/tspeed.exp: runto: run to main
916FAIL: gdb.trace/tspeed.exp: runto: run to main
748dd275
SM
917FAIL: gdb.trace/unavailable.exp: collect globals: print object off: print derived_partial
918FAIL: gdb.trace/unavailable.exp: collect globals: print object on: print derived_partial
919FAIL: gdb.trace/unavailable.exp: collect globals: tfile: print object off: print derived_partial
920FAIL: gdb.trace/unavailable.exp: collect globals: tfile: print object on: print derived_partial
d05fa6f1
SM
921FAIL: gdb.trace/unavailable.exp: collect globals: tfile: <unavailable> is not the same as 0 in array element repetitions
922FAIL: gdb.trace/unavailable.exp: collect globals: <unavailable> is not the same as 0 in array element repetitions
748dd275
SM
923FAIL: gdb.trace/unavailable.exp: unavailable locals: auto locals: info locals
924FAIL: gdb.trace/unavailable.exp: unavailable locals: auto locals: tfile: info locals
925FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: info locals
926FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: print locd
927FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: print locf
928FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: tfile: info locals
929FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: tfile: print locd
930FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: tfile: print locf
931FAIL: gdb.trace/unavailable.exp: unavailable locals: static locals: info locals
932FAIL: gdb.trace/unavailable.exp: unavailable locals: static locals: tfile: info locals
d05fa6f1
SM
933KPASS: gdb.threads/process-dies-while-detaching.exp: single-process: continue: watchpoint:sw: continue (PRMS gdb/28375)
934UNRESOLVED: gdb.ada/arrayptr.exp: scenario=all: gdb_breakpoint: set breakpoint at foo.adb:40
935UNRESOLVED: gdb.ada/arrayptr.exp: scenario=all: runto: run to foo.adb:40 (eof)
936UNRESOLVED: gdb.ada/exprs.exp: gdb_breakpoint: set breakpoint at p.adb:40
937UNRESOLVED: gdb.ada/exprs.exp: runto: run to p.adb:40 (eof)
938UNRESOLVED: gdb.ada/packed_array_assign.exp: gdb_breakpoint: set breakpoint at aggregates.run_test
939UNRESOLVED: gdb.ada/packed_array_assign.exp: runto: run to aggregates.run_test (eof)
940UNRESOLVED: gdb.ada/exprs.exp: Long_Long_Integer ** Y
941UNRESOLVED: gdb.ada/exprs.exp: long_float'min
942UNRESOLVED: gdb.ada/exprs.exp: long_float'max
943UNRESOLVED: gdb.ada/packed_array_assign.exp: value of pra
944UNRESOLVED: gdb.ada/packed_array_assign.exp: print pra(1) := pr
945UNRESOLVED: gdb.ada/packed_array_assign.exp: print pra(1)
946UNRESOLVED: gdb.ada/packed_array_assign.exp: value of npr
947UNRESOLVED: gdb.ada/arrayptr.exp: scenario=all: gdb_breakpoint: set breakpoint at foo.adb:40 (eof)
948UNRESOLVED: gdb.ada/array_return.exp: gdb_breakpoint: set breakpoint at main (eof)
949UNRESOLVED: gdb.ada/array_subscript_addr.exp: gdb_breakpoint: set breakpoint at p.adb:27 (eof)
950UNRESOLVED: gdb.ada/cond_lang.exp: gdb_breakpoint: set breakpoint at c_function (eof)
951UNRESOLVED: gdb.ada/dyn_loc.exp: gdb_breakpoint: set breakpoint at pack.adb:25 (eof)
952UNRESOLVED: gdb.ada/exprs.exp: gdb_breakpoint: set breakpoint at p.adb:40 (eof)
953UNRESOLVED: gdb.ada/packed_array_assign.exp: gdb_breakpoint: set breakpoint at aggregates.run_test (eof)
954UNRESOLVED: gdb.ada/ref_tick_size.exp: gdb_breakpoint: set breakpoint at p.adb:26 (eof)
955UNRESOLVED: gdb.ada/set_wstr.exp: gdb_breakpoint: set breakpoint at a.adb:23 (eof)
956UNRESOLVED: gdb.ada/taft_type.exp: gdb_breakpoint: set breakpoint at p.adb:22 (eof)
748dd275 957UNRESOLVED: gdb.base/readline-ask.exp: bell for more message
748dd275 958UNRESOLVED: gdb.threads/attach-into-signal.exp: threaded: attach (pass 2), pending signal catch
d05fa6f1
SM
959EOF
960
961cat <<'EOF' > known-failures-re-native-extended-gdbserver
962FAIL: gdb.threads/attach-many-short-lived-threads.exp: .*
748dd275
SM
963EOF
964
965known_failures_file="known-failures-${target_board}"
d05fa6f1
SM
966known_failures_re_file="known-failures-re-${target_board}"
967grep --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"
e9ba7f91 969grep --extended-regexp --regexp="^(FAIL|XPASS|UNRESOLVED|DUPLICATE|ERROR):" "${WORKSPACE}/results/gdb.filtered.sum" > "${WORKSPACE}/results/gdb.fail.sum" || true
795db243 970
f204fdf1
SM
971# For informational purposes: check if some known failure lines did not appear
972# in the gdb.sum.
973echo "Known failures that don't appear in gdb.sum:"
97e9c4c3 974while read -r line; do
f204fdf1
SM
975 if ! grep --silent --fixed-strings "$line" "${WORKSPACE}/results/gdb.sum"; then
976 echo "$line"
977 fi
3837269d 978done < "$known_failures_file" > "${WORKSPACE}/results/known-failures-not-found.sum"
f204fdf1 979
bcd0bdf1
SM
980# Convert results to JUnit format.
981failed_tests=0
795db243 982sum2junit "${WORKSPACE}/results/gdb.filtered.sum" "${WORKSPACE}/results/gdb.xml" || failed_tests=1
91ba8aa1
MJ
983
984# Clean the build directory
985$MAKE clean
986
91ba8aa1
MJ
987# Exit with failure if any of the tests failed
988exit $failed_tests
989
990# EOF
This page took 0.070502 seconds and 4 git commands to generate.