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