28e2c05d09838c04965d0324b4a2b6792c4b927d
[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 arch=${arch:-}
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 "$arch" 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=guile-2.2" "--enable-libctf")
177
178 CONF_OPTS+=("--enable-build-warnings" "--enable-gdb-build-warnings" "--enable-unit-tests")
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/interface.exp: print s
234 FAIL: gdb.ada/iwide.exp: print d_access.all
235 FAIL: gdb.ada/iwide.exp: print dp_access.all
236 FAIL: gdb.ada/iwide.exp: print My_Drawable
237 FAIL: gdb.ada/iwide.exp: print s_access.all
238 FAIL: gdb.ada/iwide.exp: print sp_access.all
239 FAIL: gdb.ada/mi_interface.exp: create ggg1 varobj (unexpected output)
240 FAIL: gdb.ada/mi_interface.exp: list ggg1's children (unexpected output)
241 FAIL: gdb.ada/tagged_access.exp: ptype c.all
242 FAIL: gdb.ada/tagged_access.exp: ptype c.menu_name
243 FAIL: gdb.ada/tagged.exp: print obj
244 FAIL: gdb.ada/tagged.exp: ptype obj
245 FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_bt_end
246 FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_bt_start
247 FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_fatal_msg
248 FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: [expr $internal_error_msg_count == 2]
249 FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_bt_end
250 FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_bt_start
251 FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_fatal_msg
252 FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: [expr $internal_error_msg_count == 2]
253 FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_bt_end
254 FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_bt_start
255 FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_fatal_msg
256 FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: [expr $internal_error_msg_count == 2]
257 FAIL: gdb.base/share-env-with-gdbserver.exp: strange named var: print result of getenv for 'asd ='
258 FAIL: gdb.base/step-over-syscall.exp: clone: displaced=off: single step over clone
259 FAIL: gdb.cp/no-dmgl-verbose.exp: gdb_breakpoint: set breakpoint at 'f(std::string)'
260 FAIL: gdb.dwarf2/dw2-inline-param.exp: running to *0x608 in runto
261 FAIL: gdb.gdb/python-interrupts.exp: run until breakpoint at captured_command_loop
262 FAIL: gdb.mi/mi-break.exp: mi-mode=main: test_explicit_breakpoints: -break-insert -c "foo == 3" --source basics.c --function main --label label (unexpected output)
263 FAIL: gdb.mi/mi-break.exp: mi-mode=main: test_explicit_breakpoints: -break-insert --source basics.c --function foobar (unexpected output)
264 FAIL: gdb.mi/mi-break.exp: mi-mode=main: test_explicit_breakpoints: -break-insert --source basics.c --function main --label foobar (unexpected output)
265 FAIL: gdb.mi/mi-break.exp: mi-mode=main: test_explicit_breakpoints: -break-insert --source basics.c (unexpected output)
266 FAIL: gdb.mi/mi-break.exp: mi-mode=separate: test_explicit_breakpoints: -break-insert -c "foo == 3" --source basics.c --function main --label label (unexpected output)
267 FAIL: gdb.mi/mi-break.exp: mi-mode=separate: test_explicit_breakpoints: -break-insert --source basics.c --function foobar (unexpected output)
268 FAIL: gdb.mi/mi-break.exp: mi-mode=separate: test_explicit_breakpoints: -break-insert --source basics.c --function main --label foobar (unexpected output)
269 FAIL: gdb.mi/mi-break.exp: mi-mode=separate: test_explicit_breakpoints: -break-insert --source basics.c (unexpected output)
270 FAIL: gdb.mi/mi-breakpoint-changed.exp: test_auto_disable: -break-enable count 1 2 (unexpected output)
271 FAIL: gdb.mi/mi-breakpoint-changed.exp: test_auto_disable: -break-insert -f pendfunc1 (unexpected output)
272 FAIL: gdb.threads/detach-step-over.exp: breakpoint-condition-evaluation=host: target-non-stop=on: non-stop=on: displaced=off: iter 3: attach (GDB internal error)
273 UNRESOLVED: gdb.base/libsegfault.exp: gdb emits custom handler warning
274 UNRESOLVED: gdb.base/readline-ask.exp: bell for more message
275 UNRESOLVED: gdb.base/symbol-without-target_section.exp: list -q main
276 UNRESOLVED: gdb.dwarf2/dw2-icc-opaque.exp: ptype p_struct
277 UNRESOLVED: gdb.opencl/vec_comps.exp: OpenCL support not detected
278 UNRESOLVED: gdb.threads/attach-many-short-lived-threads.exp: iter 8: detach
279 EOF
280
281 cat <<'EOF' > known-failures-native-gdbserver
282 DUPLICATE: gdb.base/cond-eval-mode.exp: awatch: awatch global
283 DUPLICATE: gdb.base/cond-eval-mode.exp: awatch: continue
284 DUPLICATE: gdb.base/cond-eval-mode.exp: break: break foo
285 DUPLICATE: gdb.base/cond-eval-mode.exp: break: continue
286 DUPLICATE: gdb.base/cond-eval-mode.exp: hbreak: continue
287 DUPLICATE: gdb.base/cond-eval-mode.exp: hbreak: hbreak foo
288 DUPLICATE: gdb.base/cond-eval-mode.exp: rwatch: continue
289 DUPLICATE: gdb.base/cond-eval-mode.exp: rwatch: rwatch global
290 DUPLICATE: gdb.base/cond-eval-mode.exp: watch: continue
291 DUPLICATE: gdb.base/cond-eval-mode.exp: watch: watch global
292 DUPLICATE: gdb.trace/circ.exp: check whether setting trace buffer size is supported
293 DUPLICATE: gdb.trace/ftrace-lock.exp: successfully compiled posix threads test case
294 DUPLICATE: gdb.trace/mi-tsv-changed.exp: create delete modify: tvariable $tvar3 modified
295 DUPLICATE: gdb.trace/signal.exp: get integer valueof "counter"
296 DUPLICATE: gdb.trace/status-stop.exp: buffer_full_tstart: tstart
297 DUPLICATE: gdb.trace/status-stop.exp: tstart_tstop_tstart: tstart
298 DUPLICATE: gdb.trace/tfind.exp: 8.17: tfind none
299 DUPLICATE: gdb.trace/trace-buffer-size.exp: set tracepoint at test_function
300 DUPLICATE: gdb.trace/trace-buffer-size.exp: tstart
301 DUPLICATE: gdb.trace/trace-mt.exp: successfully compiled posix threads test case
302 FAIL: gdb.ada/interface.exp: print s
303 FAIL: gdb.ada/iwide.exp: print d_access.all
304 FAIL: gdb.ada/iwide.exp: print dp_access.all
305 FAIL: gdb.ada/iwide.exp: print My_Drawable
306 FAIL: gdb.ada/iwide.exp: print s_access.all
307 FAIL: gdb.ada/iwide.exp: print sp_access.all
308 FAIL: gdb.ada/mi_interface.exp: create ggg1 varobj (unexpected output)
309 FAIL: gdb.ada/mi_interface.exp: list ggg1's children (unexpected output)
310 FAIL: gdb.ada/tagged_access.exp: ptype c.all
311 FAIL: gdb.ada/tagged_access.exp: ptype c.menu_name
312 FAIL: gdb.ada/tagged.exp: print obj
313 FAIL: gdb.ada/tagged.exp: ptype obj
314 FAIL: gdb.ada/task_switch_in_core.exp: save a corefile (timeout)
315 FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_bt_end
316 FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_bt_start
317 FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_fatal_msg
318 FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: [expr $internal_error_msg_count == 2]
319 FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_bt_end
320 FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_bt_start
321 FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_fatal_msg
322 FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: [expr $internal_error_msg_count == 2]
323 FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_bt_end
324 FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_bt_start
325 FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_fatal_msg
326 FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: [expr $internal_error_msg_count == 2]
327 FAIL: gdb.base/compare-sections.exp: after reload: compare-sections
328 FAIL: gdb.base/compare-sections.exp: after reload: compare-sections -r
329 FAIL: gdb.base/compare-sections.exp: after run to main: compare-sections
330 FAIL: gdb.base/compare-sections.exp: after run to main: compare-sections -r
331 FAIL: gdb.base/compare-sections.exp: compare-sections .text
332 FAIL: gdb.base/compare-sections.exp: read-only: compare-sections -r
333 FAIL: gdb.base/interrupt-daemon.exp: bg: continue& (timeout)
334 FAIL: gdb.base/interrupt-daemon.exp: bg: interrupt cmd stops process (timeout)
335 FAIL: gdb.base/interrupt-daemon.exp: bg: interrupt (timeout)
336 FAIL: gdb.base/interrupt-daemon.exp: fg: ctrl-c stops process (timeout)
337 FAIL: gdb.cp/no-dmgl-verbose.exp: gdb_breakpoint: set breakpoint at 'f(std::string)'
338 FAIL: gdb.threads/forking-threads-plus-breakpoint.exp: cond_bp_target=0: detach_on_fork=on: displaced=off: inferior 1 exited (timeout)
339 FAIL: gdb.threads/interrupted-hand-call.exp: continue until exit
340 FAIL: gdb.threads/multiple-successive-infcall.exp: thread=3: created new thread
341 FAIL: gdb.threads/multiple-successive-infcall.exp: thread=4: created new thread
342 FAIL: gdb.threads/multiple-successive-infcall.exp: thread=5: created new thread
343 FAIL: gdb.threads/non-ldr-exit.exp: program exits normally (timeout)
344 FAIL: gdb.threads/process-dies-while-detaching.exp: single-process: continue: killed outside: continue
345 FAIL: gdb.threads/process-dies-while-detaching.exp: single-process: continue: watchpoint:hw: continue (timeout)
346 FAIL: gdb.threads/thread-specific-bp.exp: all-stop: continue to end (timeout)
347 FAIL: gdb.threads/thread-specific-bp.exp: non-stop: continue to end (timeout)
348 FAIL: gdb.trace/actions.exp: tfile: tracepoint on gdb_asm_test
349 FAIL: gdb.trace/actions.exp: tfile: tracepoint on gdb_c_test
350 FAIL: gdb.trace/actions.exp: tfile: tracepoint on gdb_recursion_test 0
351 FAIL: gdb.trace/change-loc.exp: 1 trace: continue to marker 2
352 FAIL: gdb.trace/change-loc.exp: 1 trace: continue to marker 3
353 FAIL: gdb.trace/change-loc.exp: 1 trace: tfind frame 0
354 FAIL: gdb.trace/change-loc.exp: 1 trace: tracepoint with two locations - installed (unload)
355 FAIL: gdb.trace/change-loc.exp: 1 trace: tracepoint with two locations - pending (unload)
356 FAIL: gdb.trace/change-loc.exp: 2 ftrace: continue to marker 1 (the program is no longer running)
357 FAIL: gdb.trace/change-loc.exp: 2 ftrace: continue to marker 2 (the program is no longer running)
358 FAIL: gdb.trace/change-loc.exp: 2 ftrace: continue to marker 3 (the program is no longer running)
359 FAIL: gdb.trace/change-loc.exp: 2 ftrace: run to main (the program exited)
360 FAIL: gdb.trace/change-loc.exp: 2 ftrace: tfind frame 0
361 FAIL: gdb.trace/change-loc.exp: 2 ftrace: tfind frame 1
362 FAIL: gdb.trace/change-loc.exp: 2 ftrace: tfind frame 2
363 FAIL: gdb.trace/change-loc.exp: 2 ftrace: tracepoint with three locations
364 FAIL: gdb.trace/change-loc.exp: 2 ftrace: tracepoint with two locations - installed (unload)
365 FAIL: gdb.trace/change-loc.exp: 2 ftrace: tracepoint with two locations - pending (unload)
366 FAIL: gdb.trace/change-loc.exp: 2 ftrace: tstart
367 FAIL: gdb.trace/change-loc.exp: 2 ftrace: tstop
368 FAIL: gdb.trace/change-loc.exp: 2 trace: continue to marker 2
369 FAIL: gdb.trace/change-loc.exp: 2 trace: continue to marker 3
370 FAIL: gdb.trace/change-loc.exp: 2 trace: tfind frame 2
371 FAIL: gdb.trace/change-loc.exp: 2 trace: tracepoint with two locations - installed (unload)
372 FAIL: gdb.trace/change-loc.exp: 2 trace: tracepoint with two locations - pending (unload)
373 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local char
374 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local double
375 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local float
376 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local int
377 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member char
378 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member double
379 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member float
380 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member int
381 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #0
382 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #1
383 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #2
384 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #3
385 FAIL: gdb.trace/collection.exp: collect register locals collectively: start trace experiment
386 FAIL: gdb.trace/collection.exp: collect register locals collectively: tfind test frame
387 FAIL: gdb.trace/collection.exp: collect register locals individually: collected local char
388 FAIL: gdb.trace/collection.exp: collect register locals individually: collected local double
389 FAIL: gdb.trace/collection.exp: collect register locals individually: collected local float
390 FAIL: gdb.trace/collection.exp: collect register locals individually: collected local int
391 FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member char
392 FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member double
393 FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member float
394 FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member int
395 FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #0
396 FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #1
397 FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #2
398 FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #3
399 FAIL: gdb.trace/collection.exp: collect register locals individually: define actions
400 FAIL: gdb.trace/mi-trace-frame-collected.exp: tfile: -trace-frame-collected (unexpected output)
401 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)
402 FAIL: gdb.trace/pending.exp: ftrace resolved: (the program exited)
403 FAIL: gdb.trace/pending.exp: ftrace works: continue to marker (the program is no longer running)
404 FAIL: gdb.trace/pending.exp: ftrace works: start trace experiment
405 FAIL: gdb.trace/pending.exp: ftrace works: tfind test frame 0
406 FAIL: gdb.trace/pending.exp: ftrace works: tfind test frame 1
407 FAIL: gdb.trace/pending.exp: ftrace works: tfind test frame 2
408 FAIL: gdb.trace/pending.exp: ftrace works: (the program exited)
409 FAIL: gdb.trace/pending.exp: trace installed_in_trace: continue to marker 2
410 FAIL: gdb.trace/pending.exp: trace installed_in_trace: tfind test frame 0
411 FAIL: gdb.trace/unavailable.exp: collect globals: print object off: print derived_partial
412 FAIL: gdb.trace/unavailable.exp: collect globals: print object on: print derived_partial
413 FAIL: gdb.trace/unavailable.exp: collect globals: tfile: print object off: print derived_partial
414 FAIL: gdb.trace/unavailable.exp: collect globals: tfile: print object on: print derived_partial
415 FAIL: gdb.trace/unavailable.exp: unavailable locals: auto locals: info locals
416 FAIL: gdb.trace/unavailable.exp: unavailable locals: auto locals: tfile: info locals
417 FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: info locals
418 FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: print locd
419 FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: print locf
420 FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: tfile: info locals
421 FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: tfile: print locd
422 FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: tfile: print locf
423 FAIL: gdb.trace/unavailable.exp: unavailable locals: static locals: info locals
424 FAIL: gdb.trace/unavailable.exp: unavailable locals: static locals: tfile: info locals
425 UNRESOLVED: gdb.base/libsegfault.exp: gdb emits custom handler warning
426 UNRESOLVED: gdb.base/readline-ask.exp: bell for more message
427 UNRESOLVED: gdb.base/symbol-without-target_section.exp: list -q main
428 UNRESOLVED: gdb.dwarf2/dw2-icc-opaque.exp: ptype p_struct
429 FAIL: gdb.arch/ftrace-insn-reloc.exp: runto: run to main
430 FAIL: gdb.dwarf2/clztest.exp: runto: run to main
431 FAIL: gdb.dwarf2/dw2-inline-param.exp: running to *0x608 in runto
432 FAIL: gdb.multi/multi-re-run.exp: re_run_inf=1: iter=1: running to all_started in runto
433 FAIL: gdb.multi/multi-re-run.exp: re_run_inf=2: iter=1: running to all_started in runto
434 KPASS: gdb.threads/process-dies-while-detaching.exp: single-process: continue: watchpoint:sw: continue (PRMS gdb/28375)
435 FAIL: gdb.trace/change-loc.exp: 1 ftrace: runto: run to main
436 FAIL: gdb.trace/change-loc.exp: InstallInTrace disabled: ftrace: runto: run to main
437 FAIL: gdb.trace/ftrace-lock.exp: runto: run to main
438 FAIL: gdb.trace/ftrace.exp: runto: run to main
439 FAIL: gdb.trace/pending.exp: ftrace action_resolved: runto: run to main
440 FAIL: gdb.trace/pending.exp: ftrace disconn: runto: run to main
441 FAIL: gdb.trace/pending.exp: ftrace disconn_resolved: runto: run to main
442 FAIL: gdb.trace/pending.exp: ftrace installed_in_trace: runto: run to main
443 FAIL: gdb.trace/pending.exp: ftrace resolved_in_trace: runto: run to main
444 FAIL: gdb.trace/range-stepping.exp: runto: run to main
445 FAIL: gdb.trace/trace-break.exp: runto: run to main
446 FAIL: gdb.trace/trace-condition.exp: runto: run to main
447 FAIL: gdb.trace/trace-enable-disable.exp: test_tracepoint_enable_disable ftrace: runto: run to main
448 FAIL: gdb.trace/trace-enable-disable.exp: test_tracepoint_enable_disable trace: runto: run to main
449 FAIL: gdb.trace/trace-mt.exp: runto: run to main
450 FAIL: gdb.trace/tspeed.exp: runto: run to main
451 EOF
452
453 cat <<'EOF' > known-failures-native-extended-gdbserver
454 DUPLICATE: gdb.base/cond-eval-mode.exp: awatch: awatch global
455 DUPLICATE: gdb.base/cond-eval-mode.exp: awatch: continue
456 DUPLICATE: gdb.base/cond-eval-mode.exp: break: break foo
457 DUPLICATE: gdb.base/cond-eval-mode.exp: break: continue
458 DUPLICATE: gdb.base/cond-eval-mode.exp: hbreak: continue
459 DUPLICATE: gdb.base/cond-eval-mode.exp: hbreak: hbreak foo
460 DUPLICATE: gdb.base/cond-eval-mode.exp: rwatch: continue
461 DUPLICATE: gdb.base/cond-eval-mode.exp: rwatch: rwatch global
462 DUPLICATE: gdb.base/cond-eval-mode.exp: watch: continue
463 DUPLICATE: gdb.base/cond-eval-mode.exp: watch: watch global
464 FAIL: gdb.multi/multi-re-run.exp: re_run_inf=1: iter=2: continue until exit
465 FAIL: gdb.multi/multi-re-run.exp: re_run_inf=1: iter=2: print re_run_var_1
466 FAIL: gdb.multi/multi-re-run.exp: re_run_inf=2: iter=2: continue until exit
467 FAIL: gdb.multi/multi-re-run.exp: re_run_inf=2: iter=2: print re_run_var_2
468 DUPLICATE: gdb.threads/attach-into-signal.exp: threaded: thread apply 2 print $_siginfo.si_signo
469 DUPLICATE: gdb.trace/circ.exp: check whether setting trace buffer size is supported
470 DUPLICATE: gdb.trace/ftrace-lock.exp: successfully compiled posix threads test case
471 DUPLICATE: gdb.trace/mi-tsv-changed.exp: create delete modify: tvariable $tvar3 modified
472 DUPLICATE: gdb.trace/signal.exp: get integer valueof "counter"
473 DUPLICATE: gdb.trace/status-stop.exp: buffer_full_tstart: tstart
474 DUPLICATE: gdb.trace/status-stop.exp: tstart_tstop_tstart: tstart
475 DUPLICATE: gdb.trace/tfind.exp: 8.17: tfind none
476 DUPLICATE: gdb.trace/trace-buffer-size.exp: set tracepoint at test_function
477 DUPLICATE: gdb.trace/trace-buffer-size.exp: tstart
478 DUPLICATE: gdb.trace/trace-mt.exp: successfully compiled posix threads test case
479 DUPLICATE: gdb.trace/tspeed.exp: advance through tracing (the program is no longer running)
480 DUPLICATE: gdb.trace/tspeed.exp: advance to trace begin (the program is no longer running)
481 DUPLICATE: gdb.trace/tspeed.exp: check on trace status
482 DUPLICATE: gdb.trace/tspeed.exp: print iters = init_iters
483 DUPLICATE: gdb.trace/tspeed.exp: start trace experiment
484 FAIL: gdb.ada/interface.exp: print s
485 FAIL: gdb.ada/iwide.exp: print d_access.all
486 FAIL: gdb.ada/iwide.exp: print dp_access.all
487 FAIL: gdb.ada/iwide.exp: print My_Drawable
488 FAIL: gdb.ada/iwide.exp: print s_access.all
489 FAIL: gdb.ada/iwide.exp: print sp_access.all
490 FAIL: gdb.ada/mi_interface.exp: create ggg1 varobj (unexpected output)
491 FAIL: gdb.ada/mi_interface.exp: list ggg1's children (unexpected output)
492 FAIL: gdb.ada/tagged_access.exp: ptype c.all
493 FAIL: gdb.ada/tagged_access.exp: ptype c.menu_name
494 FAIL: gdb.ada/tagged.exp: print obj
495 FAIL: gdb.ada/tagged.exp: ptype obj
496 FAIL: gdb.base/a2-run.exp: run "a2-run" with shell (timeout)
497 FAIL: gdb.base/attach.exp: do_command_attach_tests: starting with --pid
498 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)
499 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
500 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)
501 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
502 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
503 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)
504 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
505 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)
506 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
507 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
508 FAIL: gdb.base/break-interp.exp: ldprelink=NO: ldsepdebug=NO: symbol-less: ld.so exit
509 FAIL: gdb.base/break-interp.exp: ldprelink=NO: ldsepdebug=NO: symbol-less: seen displacement message as NONZERO
510 FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_bt_end
511 FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_bt_start
512 FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: $saw_fatal_msg
513 FAIL: gdb.base/bt-on-fatal-signal.exp: BUS: [expr $internal_error_msg_count == 2]
514 FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_bt_end
515 FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_bt_start
516 FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: $saw_fatal_msg
517 FAIL: gdb.base/bt-on-fatal-signal.exp: FPE: [expr $internal_error_msg_count == 2]
518 FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_bt_end
519 FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_bt_start
520 FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: $saw_fatal_msg
521 FAIL: gdb.base/bt-on-fatal-signal.exp: SEGV: [expr $internal_error_msg_count == 2]
522 FAIL: gdb.base/compare-sections.exp: after run to main: compare-sections
523 FAIL: gdb.base/compare-sections.exp: after run to main: compare-sections -r
524 FAIL: gdb.base/compare-sections.exp: read-only: compare-sections -r
525 FAIL: gdb.base/gdbinit-history.exp: GDBHISTFILE is empty: show commands
526 FAIL: gdb.base/gdbinit-history.exp: load default history file: show commands
527 FAIL: gdb.base/gdbinit-history.exp: load GDBHISTFILE history file: show commands
528 FAIL: gdb.base/interrupt-daemon.exp: bg: continue& (timeout)
529 FAIL: gdb.base/interrupt-daemon.exp: bg: interrupt cmd stops process (timeout)
530 FAIL: gdb.base/interrupt-daemon.exp: bg: interrupt (timeout)
531 FAIL: gdb.base/interrupt-daemon.exp: fg: ctrl-c stops process (timeout)
532 FAIL: gdb.base/share-env-with-gdbserver.exp: strange named var: print result of getenv for 'asd ='
533 FAIL: gdb.base/startup-with-shell.exp: startup_with_shell = on; run_args = $TEST: testing first argument
534 FAIL: gdb.base/startup-with-shell.exp: startup_with_shell = on; run_args = *.unique-extension: first argument expanded
535 FAIL: gdb.base/with.exp: repeat: reinvoke with no previous command to relaunch
536 FAIL: gdb.cp/annota2.exp: annotate-quit
537 FAIL: gdb.cp/annota2.exp: break at main (got interactive prompt)
538 FAIL: gdb.cp/annota2.exp: continue until exit (timeout)
539 FAIL: gdb.cp/annota2.exp: delete bps
540 FAIL: gdb.cp/annota2.exp: set watch on a.x (timeout)
541 FAIL: gdb.cp/annota2.exp: watch triggered on a.x (timeout)
542 FAIL: gdb.cp/annota3.exp: continue to exit (pattern 4)
543 FAIL: gdb.cp/no-dmgl-verbose.exp: gdb_breakpoint: set breakpoint at 'f(std::string)'
544 FAIL: gdb.gdb/unittest.exp: executable loaded: maintenance selftest, failed none
545 FAIL: gdb.gdb/unittest.exp: no executable loaded: maintenance selftest, failed none
546 FAIL: gdb.mi/mi-exec-run.exp: inferior-tty=separate: mi=separate: force-fail=0: breakpoint hit reported on console (timeout)
547 FAIL: gdb.mi/mi-pending.exp: MI pending breakpoint on mi-pendshr.c:pendfunc2 if x==4 (unexpected output)
548 FAIL: gdb.multi/multi-re-run.exp: re_run_inf=1: iter=2: continue until exit
549 FAIL: gdb.multi/multi-re-run.exp: re_run_inf=1: iter=2: print re_run_var_1
550 FAIL: gdb.python/py-events.exp: get current thread
551 FAIL: gdb.server/connect-with-no-symbol-file.exp: sysroot=: action=delete: connection to GDBserver succeeded
552 FAIL: gdb.server/connect-with-no-symbol-file.exp: sysroot=: action=permission: connection to GDBserver succeeded
553 FAIL: gdb.server/connect-with-no-symbol-file.exp: sysroot=target:: action=delete: connection to GDBserver succeeded
554 FAIL: gdb.server/connect-with-no-symbol-file.exp: sysroot=target:: action=permission: connection to GDBserver succeeded
555 FAIL: gdb.threads/attach-into-signal.exp: threaded: thread apply 2 print $_siginfo.si_signo
556 FAIL: gdb.threads/detach-step-over.exp: breakpoint-condition-evaluation=host: target-non-stop=off: non-stop=off: displaced=off: iter 1: all threads running (GDB internal error)
557 FAIL: gdb.threads/detach-step-over.exp: breakpoint-condition-evaluation=target: target-non-stop=on: non-stop=off: displaced=off: iter 1: stop with SIGUSR1 (timeout)
558 FAIL: gdb.threads/detach-step-over.exp: breakpoint-condition-evaluation=target: target-non-stop=on: non-stop=off: displaced=off: iter 2: all threads running
559 FAIL: gdb.threads/detach-step-over.exp: breakpoint-condition-evaluation=target: target-non-stop=on: non-stop=off: displaced=off: iter 2: stop with SIGUSR1 (timeout)
560 FAIL: gdb.threads/detach-step-over.exp: breakpoint-condition-evaluation=target: target-non-stop=on: non-stop=off: displaced=off: iter 3: all threads running
561 FAIL: gdb.threads/detach-step-over.exp: breakpoint-condition-evaluation=target: target-non-stop=on: non-stop=off: displaced=off: iter 3: attach (got interactive prompt)
562 FAIL: gdb.threads/detach-step-over.exp: breakpoint-condition-evaluation=target: target-non-stop=on: non-stop=off: displaced=off: iter 3: stop with SIGUSR1 (timeout)
563 FAIL: gdb.threads/forking-threads-plus-breakpoint.exp: cond_bp_target=0: detach_on_fork=on: displaced=off: inferior 1 exited (timeout)
564 FAIL: gdb.threads/multiple-successive-infcall.exp: thread=3: created new thread
565 FAIL: gdb.threads/multiple-successive-infcall.exp: thread=4: created new thread
566 FAIL: gdb.threads/multiple-successive-infcall.exp: thread=5: created new thread
567 FAIL: gdb.threads/non-ldr-exit.exp: program exits normally (timeout)
568 FAIL: gdb.threads/process-dies-while-detaching.exp: single-process: continue: killed outside: continue
569 FAIL: gdb.threads/process-dies-while-detaching.exp: single-process: continue: watchpoint:hw: continue (timeout)
570 FAIL: gdb.threads/thread-specific-bp.exp: all-stop: continue to end (timeout)
571 FAIL: gdb.threads/tls.exp: print a_thread_local
572 FAIL: gdb.trace/actions.exp: tfile: tracepoint on gdb_asm_test
573 FAIL: gdb.trace/actions.exp: tfile: tracepoint on gdb_c_test
574 FAIL: gdb.trace/actions.exp: tfile: tracepoint on gdb_recursion_test 0
575 FAIL: gdb.trace/change-loc.exp: 1 trace: continue to marker 2
576 FAIL: gdb.trace/change-loc.exp: 1 trace: continue to marker 3
577 FAIL: gdb.trace/change-loc.exp: 1 trace: tfind frame 0
578 FAIL: gdb.trace/change-loc.exp: 1 trace: tracepoint with two locations - installed (unload)
579 FAIL: gdb.trace/change-loc.exp: 1 trace: tracepoint with two locations - pending (unload)
580 FAIL: gdb.trace/change-loc.exp: 2 ftrace: continue to marker 1 (the program is no longer running)
581 FAIL: gdb.trace/change-loc.exp: 2 ftrace: continue to marker 2 (the program is no longer running)
582 FAIL: gdb.trace/change-loc.exp: 2 ftrace: continue to marker 3 (the program is no longer running)
583 FAIL: gdb.trace/change-loc.exp: 2 ftrace: run to main (the program exited)
584 FAIL: gdb.trace/change-loc.exp: 2 ftrace: tfind frame 0
585 FAIL: gdb.trace/change-loc.exp: 2 ftrace: tfind frame 1
586 FAIL: gdb.trace/change-loc.exp: 2 ftrace: tfind frame 2
587 FAIL: gdb.trace/change-loc.exp: 2 ftrace: tracepoint with three locations
588 FAIL: gdb.trace/change-loc.exp: 2 ftrace: tracepoint with two locations - installed (unload)
589 FAIL: gdb.trace/change-loc.exp: 2 ftrace: tracepoint with two locations - pending (unload)
590 FAIL: gdb.trace/change-loc.exp: 2 ftrace: tstart
591 FAIL: gdb.trace/change-loc.exp: 2 ftrace: tstop
592 FAIL: gdb.trace/change-loc.exp: 2 trace: continue to marker 2
593 FAIL: gdb.trace/change-loc.exp: 2 trace: continue to marker 3
594 FAIL: gdb.trace/change-loc.exp: 2 trace: tfind frame 2
595 FAIL: gdb.trace/change-loc.exp: 2 trace: tracepoint with two locations - installed (unload)
596 FAIL: gdb.trace/change-loc.exp: 2 trace: tracepoint with two locations - pending (unload)
597 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local char
598 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local double
599 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local float
600 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local int
601 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member char
602 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member double
603 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member float
604 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected local member int
605 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #0
606 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #1
607 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #2
608 FAIL: gdb.trace/collection.exp: collect register locals collectively: collected locarray #3
609 FAIL: gdb.trace/collection.exp: collect register locals collectively: start trace experiment
610 FAIL: gdb.trace/collection.exp: collect register locals collectively: tfind test frame
611 FAIL: gdb.trace/collection.exp: collect register locals individually: collected local char
612 FAIL: gdb.trace/collection.exp: collect register locals individually: collected local double
613 FAIL: gdb.trace/collection.exp: collect register locals individually: collected local float
614 FAIL: gdb.trace/collection.exp: collect register locals individually: collected local int
615 FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member char
616 FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member double
617 FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member float
618 FAIL: gdb.trace/collection.exp: collect register locals individually: collected local member int
619 FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #0
620 FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #1
621 FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #2
622 FAIL: gdb.trace/collection.exp: collect register locals individually: collected locarray #3
623 FAIL: gdb.trace/collection.exp: collect register locals individually: define actions
624 FAIL: gdb.trace/mi-trace-frame-collected.exp: tfile: -trace-frame-collected (unexpected output)
625 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)
626 FAIL: gdb.trace/pending.exp: ftrace resolved: (the program exited)
627 FAIL: gdb.trace/pending.exp: ftrace works: continue to marker (the program is no longer running)
628 FAIL: gdb.trace/pending.exp: ftrace works: start trace experiment
629 FAIL: gdb.trace/pending.exp: ftrace works: tfind test frame 0
630 FAIL: gdb.trace/pending.exp: ftrace works: tfind test frame 1
631 FAIL: gdb.trace/pending.exp: ftrace works: tfind test frame 2
632 FAIL: gdb.trace/pending.exp: ftrace works: (the program exited)
633 FAIL: gdb.trace/pending.exp: trace installed_in_trace: continue to marker 2
634 FAIL: gdb.trace/pending.exp: trace installed_in_trace: tfind test frame 0
635 FAIL: gdb.trace/tspeed.exp: advance through tracing (the program is no longer running)
636 FAIL: gdb.trace/tspeed.exp: advance through tracing (the program is no longer running)
637 FAIL: gdb.trace/tspeed.exp: advance to trace begin (the program is no longer running)
638 FAIL: gdb.trace/tspeed.exp: advance to trace begin (the program is no longer running)
639 FAIL: gdb.trace/tspeed.exp: start trace experiment
640 FAIL: gdb.trace/tspeed.exp: start trace experiment
641 FAIL: gdb.trace/unavailable.exp: collect globals: print object off: print derived_partial
642 FAIL: gdb.trace/unavailable.exp: collect globals: print object on: print derived_partial
643 FAIL: gdb.trace/unavailable.exp: collect globals: tfile: print object off: print derived_partial
644 FAIL: gdb.trace/unavailable.exp: collect globals: tfile: print object on: print derived_partial
645 FAIL: gdb.trace/unavailable.exp: unavailable locals: auto locals: info locals
646 FAIL: gdb.trace/unavailable.exp: unavailable locals: auto locals: tfile: info locals
647 FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: info locals
648 FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: print locd
649 FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: print locf
650 FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: tfile: info locals
651 FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: tfile: print locd
652 FAIL: gdb.trace/unavailable.exp: unavailable locals: register locals: tfile: print locf
653 FAIL: gdb.trace/unavailable.exp: unavailable locals: static locals: info locals
654 FAIL: gdb.trace/unavailable.exp: unavailable locals: static locals: tfile: info locals
655 UNRESOLVED: gdb.base/libsegfault.exp: gdb emits custom handler warning
656 UNRESOLVED: gdb.base/readline-ask.exp: bell for more message
657 UNRESOLVED: gdb.base/symbol-without-target_section.exp: list -q main
658 UNRESOLVED: gdb.dwarf2/dw2-icc-opaque.exp: ptype p_struct
659 UNRESOLVED: gdb.mi/mi-exec-run.exp: inferior-tty=main: mi=main: force-fail=1: run failure detected (eof)
660 UNRESOLVED: gdb.mi/mi-exec-run.exp: inferior-tty=main: mi=separate: force-fail=1: run failure detected (eof)
661 UNRESOLVED: gdb.mi/mi-exec-run.exp: inferior-tty=separate: mi=main: force-fail=1: run failure detected (eof)
662 UNRESOLVED: gdb.mi/mi-exec-run.exp: inferior-tty=separate: mi=separate: force-fail=1: run failure detected (eof)
663 UNRESOLVED: gdb.threads/attach-into-signal.exp: threaded: attach (pass 2), pending signal catch
664 FAIL: gdb.arch/ftrace-insn-reloc.exp: runto: run to main
665 FAIL: gdb.dwarf2/dw2-inline-param.exp: running to *0x608 in runto
666 FAIL: gdb.multi/remove-inferiors.exp: runto: run to main
667 FAIL: gdb.threads/access-mem-running-thread-exit.exp: non-stop: second inferior: runto: run to main
668 FAIL: gdb.threads/break-while-running.exp: w/ithr: always-inserted off: non-stop: runto: run to main
669 FAIL: gdb.threads/break-while-running.exp: w/ithr: always-inserted on: non-stop: runto: run to main
670 FAIL: gdb.threads/break-while-running.exp: wo/ithr: always-inserted off: non-stop: runto: run to main
671 FAIL: gdb.threads/break-while-running.exp: wo/ithr: always-inserted on: non-stop: runto: run to main
672 FAIL: gdb.threads/gcore-stale-thread.exp: runto: run to main
673 FAIL: gdb.threads/multi-create-ns-info-thr.exp: runto: run to main
674 FAIL: gdb.threads/non-stop-fair-events.exp: runto: run to main
675 KPASS: gdb.threads/process-dies-while-detaching.exp: single-process: continue: watchpoint:sw: continue (PRMS gdb/28375)
676 FAIL: gdb.threads/thread-execl.exp: non-stop: runto: run to main
677 FAIL: gdb.threads/thread-specific-bp.exp: non-stop: runto: run to main
678 FAIL: gdb.trace/change-loc.exp: 1 ftrace: runto: run to main
679 FAIL: gdb.trace/change-loc.exp: InstallInTrace disabled: ftrace: runto: run to main
680 FAIL: gdb.trace/ftrace-lock.exp: runto: run to main
681 FAIL: gdb.trace/ftrace.exp: runto: run to main
682 FAIL: gdb.trace/pending.exp: ftrace action_resolved: runto: run to main
683 FAIL: gdb.trace/pending.exp: ftrace disconn: runto: run to main
684 FAIL: gdb.trace/pending.exp: ftrace disconn_resolved: runto: run to main
685 FAIL: gdb.trace/pending.exp: ftrace installed_in_trace: runto: run to main
686 FAIL: gdb.trace/pending.exp: ftrace resolved_in_trace: runto: run to main
687 FAIL: gdb.trace/range-stepping.exp: runto: run to main
688 FAIL: gdb.trace/trace-break.exp: runto: run to main
689 FAIL: gdb.trace/trace-condition.exp: runto: run to main
690 FAIL: gdb.trace/trace-enable-disable.exp: test_tracepoint_enable_disable ftrace: runto: run to main
691 FAIL: gdb.trace/trace-enable-disable.exp: test_tracepoint_enable_disable trace: runto: run to main
692 FAIL: gdb.trace/trace-mt.exp: runto: run to main
693 FAIL: gdb.trace/tspeed.exp: runto: run to main
694 FAIL: gdb.trace/tspeed.exp: runto: run to main
695 DUPLICATE: gdb.trace/tspeed.exp: runto: run to main
696 EOF
697
698 known_failures_file="known-failures-${target_board}"
699 grep --invert-match --fixed-strings --file="$known_failures_file" "${WORKSPACE}/results/gdb.sum" > "${WORKSPACE}/results/gdb.filtered.sum"
700
701 # For informational purposes: check if some known failure lines did not appear
702 # in the gdb.sum.
703 echo "Known failures that don't appear in gdb.sum:"
704 while read line; do
705 if ! grep --silent --fixed-strings "$line" "${WORKSPACE}/results/gdb.sum"; then
706 echo "$line"
707 fi
708 done < "$known_failures_file"
709
710 # Convert results to JUnit format.
711 failed_tests=0
712 sum2junit "${WORKSPACE}/results/gdb.filtered.sum" "${WORKSPACE}/results/gdb.xml" || failed_tests=1
713
714 # Clean the build directory
715 $MAKE clean
716
717 # Exit with failure if any of the tests failed
718 exit $failed_tests
719
720 # EOF
This page took 0.053239 seconds and 3 git commands to generate.