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