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