1 2020-04-21 Markus Metzger <markus.t.metzger@intel.com>
3 * gdb.btrace/enable-new-thread.c: New test.
4 * gdb.btrace/enable-new-thread.exp: New file.
6 2020-04-21 Tom de Vries <tdevries@suse.de>
9 * gdb.threads/killed-outside.c: New test.
10 * gdb.threads/killed-outside.exp: New file.
12 2020-04-20 Gary Benson <gbenson@redhat.com>
14 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
15 * gdb.base/nested-subp2.exp: Likewise.
16 * gdb.base/nested-subp3.exp: Likewise.
18 2020-04-20 Gary Benson <gbenson@redhat.com>
20 * gdb.base/nested-subp1.exp: Disable test when using clang.
21 * gdb.base/nested-subp2.exp: Likewise.
22 * gdb.base/nested-subp3.exp: Likewise.
24 2020-04-20 Gary Benson <gbenson@redhat.com>
26 * gdb.cp/exception.cc: Fix compilation error with clang.
28 2020-04-20 Gary Benson <gbenson@redhat.com>
30 * gdb.trace/tspeed.c: Fix compilation error with clang.
32 2020-04-20 Gary Benson <gbenson@redhat.com>
34 * gdb.base/jit-main.c: Fix compilation error with clang.
36 2020-04-17 Kamil Rytarowski <n54@gmx.com>
38 * gdb.base/attach-twice.c: Include "sys/types.h".
39 (PTRACE_ATTACH): Add fallback definition.
40 (main): Pass `0' to the 4th argument of `ptrace'.
42 2020-04-17 Kamil Rytarowski <n54@gmx.com>
44 * gdb.base/fork-running-state.c: Include "signal.h".
46 2020-04-17 Tom Tromey <tromey@adacore.com>
48 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
50 * gdb.btrace/cpu.exp: Update tests.
51 * gdb.base/maint.exp: Update tests.
52 * gdb.base/default.exp: Update tests.
53 * gdb.base/completion.exp: Update tests.
55 2020-04-16 Tom de Vries <tdevries@suse.de>
58 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
59 (ensure_gdb_index): and factor out and move ...
60 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
61 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
63 2020-04-16 Tom de Vries <tdevries@suse.de>
65 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
68 2020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
70 * gdb.base/many-completions.exp: New file.
72 2020-04-14 Tom de Vries <tdevries@suse.de>
75 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
77 2020-04-14 Tom de Vries <tdevries@suse.de>
80 * gdb.base/maint-expand-symbols-header-file.c: New test.
81 * gdb.base/maint-expand-symbols-header-file.exp: New file.
82 * gdb.base/maint-expand-symbols-header-file.h: New test.
84 2020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
86 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
87 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
89 (get_func_info): Delete.
90 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
91 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
92 * lib/dwarf.exp (get_func_info): New function.
94 2020-04-13 Tom de Vries <tdevries@suse.de>
96 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
97 to what find_gnatmake does.
99 2020-04-10 Tom de Vries <tdevries@suse.de>
101 * gdb.base/style.exp: Expect "Expanding full symbols" message for
104 2020-04-10 Tom de Vries <tdevries@suse.de>
107 * gdb.base/style.c: Add leading newlines.
108 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
109 Check listing of main's one-line body.
111 2020-04-08 Tom de Vries <tdevries@suse.de>
113 * lib/gdb.exp (psymtabs_p): New proc.
114 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
115 importing unit" unsupported if there are no partial symbols.
117 2020-04-08 Tom de Vries <tdevries@suse.de>
120 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
122 2020-04-07 Tom de Vries <tdevries@suse.de>
125 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
127 2020-04-07 Tom de Vries <tdevries@suse.de>
129 * gdb.base/check-psymtab.c: New test.
130 * gdb.base/check-psymtab.exp: New file.
132 2020-04-06 Tom Tromey <tromey@adacore.com>
134 * gdb.ada/variant-record/proc.adb: New file.
135 * gdb.ada/variant-record/value.adb: New file.
136 * gdb.ada/variant-record/value.s: New file.
137 * gdb.ada/variant-record.exp: New file.
139 2020-04-03 Hannes Domani <ssbssa@yahoo.de>
142 * gdb.cp/typed-enum.cc: New test.
143 * gdb.cp/typed-enum.exp: New file.
145 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
147 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
148 * gdb.dwarf2/dw2-inline-small-func.c: New file.
149 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
150 * gdb.dwarf2/dw2-inline-small-func.h: New file.
151 * gdb.opt/inline-small-func.c: New file.
152 * gdb.opt/inline-small-func.exp: New file.
153 * gdb.opt/inline-small-func.h: New file.
155 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
157 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
160 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
162 * lib/dwarf.exp (function_range): Allow compiler options to be
165 2020-04-02 Tom de Vries <tdevries@suse.de>
167 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
168 __attribute__((always_inline)).
169 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
171 2020-04-02 Tom de Vries <tdevries@suse.de>
173 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
174 (gdbserver_gdb_exit): ... here. Add timeout warning.
175 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
176 (connect_target_extended_remote): Append new server_spawn_id to
179 (setup, <toplevel>): Call cleanup.
181 2020-04-02 Tom de Vries <tdevries@suse.de>
183 * gdb.base/main-psymtab.exp: New file.
185 2020-04-02 Tom de Vries <tdevries@suse.de>
187 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
189 2020-04-01 Tom Tromey <tom@tromey.com>
191 * gdb.base/complex-parts.exp: Add type tests.
193 2020-04-01 Tom Tromey <tom@tromey.com>
195 * gdb.base/complex-parts.exp: Add arithmetic tests.
197 2020-04-01 Tom Tromey <tom@tromey.com>
199 * gdb.compile/compile.exp: Update.
200 * gdb.compile/compile-cplus.exp: Update.
201 * gdb.base/varargs.exp: Update.
202 * gdb.base/floatn.exp: Update.
203 * gdb.base/endianity.exp: Update.
204 * gdb.base/callfuncs.exp (do_function_calls): Update.
205 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
206 (complex_float_integral_args): Update.
207 * gdb.base/complex.exp: Update.
208 * gdb.base/complex-parts.exp: Update.
210 2020-04-01 Tom Tromey <tromey@adacore.com>
212 * gdb.rust/union.rs: New file.
213 * gdb.rust/union.exp: New file.
214 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
216 * gdb.rust/simple.exp: Move union tests to union.exp.
218 2020-04-01 Tom Tromey <tromey@adacore.com>
220 * gdb.rust/simple.rs (main): Remove "y0".
222 2020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
224 * gdb.multi/stop-all-on-exit.c: New test.
225 * gdb.multi/stop-all-on-exit.exp: New file.
227 2020-04-01 Hannes Domani <ssbssa@yahoo.de>
230 * gdb.cp/misc.cc: Add integer reference variable.
231 * gdb.cp/misc.exp: Add test.
233 2020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
235 * gdb.server/stop-reply-no-thread.exp: Enhance the test
236 scenario to cover execution until the end and also the case
238 2020-03-31 Tom de Vries <tdevries@suse.de>
240 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
241 c. Use "maint info symtabs" to check symtab expansion.
243 2020-03-30 Tom de Vries <tdevries@suse.de>
245 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
247 (verify_psymtab_expanded): Move ...
248 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
252 2020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
254 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
257 2020-03-20 Tom Tromey <tromey@adacore.com>
259 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
261 2020-03-20 Tom Tromey <tromey@adacore.com>
263 * gdb.ada/sub_variant/subv.adb: New file.
264 * gdb.ada/sub_variant.exp: New file.
266 2020-03-20 Tom de Vries <tdevries@suse.de>
268 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
270 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
272 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
274 * gdb.server/exit-multiple-threads.c: New file.
275 * gdb.server/exit-multiple-threads.exp: New file.
277 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
279 * gdb.fortran/mixed-lang-stack.c: New file.
280 * gdb.fortran/mixed-lang-stack.cpp: New file.
281 * gdb.fortran/mixed-lang-stack.exp: New file.
282 * gdb.fortran/mixed-lang-stack.f90: New file.
284 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
286 * gdb.linespec/cp-completion-aliases.cc: New file.
287 * gdb.linespec/cp-completion-aliases.exp: New file.
289 2020-03-19 Tom de Vries <tdevries@suse.de>
291 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
294 2020-03-18 Tom de Vries <tdevries@suse.de>
296 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
297 * gdb.dwarf2/break-inline-psymtab.c: New test.
298 * gdb.dwarf2/break-inline-psymtab.exp: New file.
300 2020-03-16 Tom de Vries <tdevries@suse.de>
302 * lib/cache.exp (gdb_do_cache): Add and handle local variables
303 cache_verify and cache_verify_proc.
305 2020-03-15 Tom de Vries <tdevries@suse.de>
307 * gdb.server/solib-list.exp: Handle
308 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
310 2020-03-15 Tom de Vries <tdevries@suse.de>
312 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
315 2020-03-14 Tom Tromey <tom@tromey.com>
317 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
319 2020-03-14 Tom de Vries <tdevries@suse.de>
321 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
323 2020-03-14 Tom de Vries <tdevries@suse.de>
325 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
326 result in line-by-line fashion.
328 2020-03-14 Tom de Vries <tdevries@suse.de>
330 * lib/gdb.exp (supports_statement_frontiers): New proc.
331 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
333 2020-03-14 Tom de Vries <tdevries@suse.de>
335 * gdb.base/printcmds.exp: Add missing quoting for "print
338 2020-03-13 Tom Tromey <tom@tromey.com>
340 * gdb.base/printcmds.exp (test_print_strings): Add regression
342 * gdb.base/printcmds.c (charptr): New typedef.
343 (teststring2): New global.
345 2020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
347 * gdb.base/break-interp.exp: Use the tail of the filename, not the
348 full path in the test name.
349 (test_ld): Add some with_test_prefix blocks to make test names
352 2020-03-13 Tom de Vries <tdevries@suse.de>
354 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
356 2020-03-13 Tom de Vries <tdevries@suse.de>
358 * gdb.mi/mi-sym-info.exp: Make matching more precise.
360 2020-03-13 Tom de Vries <tdevries@suse.de>
363 * gdb.dwarf2/imported-unit.exp: Add test.
365 2020-03-13 Tom de Vries <tdevries@suse.de>
367 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
368 (var1, var2): New variable.
369 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
372 2020-03-13 Tom de Vries <tdevries@suse.de>
374 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
375 (Term::command): Use prompt prefix.
376 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
377 * gdb.tui/tui-layout-asm-short-prog.exp: Use
378 command_no_prompt_prefix instead of prefix.
379 * gdb.tui/tui-layout-asm.exp: Same.
381 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
383 * gdb.base/break-interp.exp: Use foreach_with_prefix.
385 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
387 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
388 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
389 on" while stepping over the test instruction, match printed
392 2020-03-12 Tom de Vries <tdevries@suse.de>
394 * gdb.base/info-types.exp: Use exp_continue during matching of output
397 2020-03-12 Tom de Vries <tdevries@suse.de>
399 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
401 2020-03-12 Tom de Vries <tdevries@suse.de>
403 * gdb.fortran/module.exp: Use exp_continue during matching of output
404 of "info variable -n".
406 2020-03-12 Tom de Vries <tdevries@suse.de>
408 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
409 gdb.dwarf2/dw2-ranges-base.c.
411 2020-03-12 Tom de Vries <tdevries@suse.de>
413 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
414 in presence of GLIBC debuginfo.
416 2020-03-12 Tom de Vries <tdevries@suse.de>
418 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
421 2020-03-12 Tom de Vries <tdevries@suse.de>
423 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
426 2020-03-11 Simon Marchi <simon.marchi@efficios.com>
428 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
429 from Unix to Windows path.
431 2020-03-11 Tom de Vries <tdevries@suse.de>
433 * gdb.ada/minsyms.exp: Set language to ada.
435 2020-03-11 Tom de Vries <tdevries@suse.de>
437 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
439 2020-03-11 Tom de Vries <tdevries@suse.de>
441 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
443 2020-03-11 Tom Tromey <tromey@adacore.com>
445 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
447 2020-03-11 Tom de Vries <tdevries@suse.de>
449 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
451 2020-03-11 Tom de Vries <tdevries@suse.de>
453 * gdb.base/break-interp.exp: Limit verbose scope.
455 2020-03-11 Tom de Vries <tdevries@suse.de>
457 * gdb.fortran/logical.f90: Define variable with character type.
458 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
460 2020-03-11 Tom de Vries <tdevries@suse.de>
462 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
464 2020-03-11 Tom de Vries <tdevries@suse.de>
466 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
469 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
470 Bernd Edlinger <bernd.edlinger@hotmail.de>
472 * gdb.cp/step-and-next-inline.cc: New file.
473 * gdb.cp/step-and-next-inline.exp: New file.
474 * gdb.cp/step-and-next-inline.h: New file.
475 * gdb.dwarf2/dw2-is-stmt.c: New file.
476 * gdb.dwarf2/dw2-is-stmt.exp: New file.
477 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
478 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
479 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
481 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
483 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
484 is-stmt flag in the line table.
486 2020-03-09 Tom de Vries <tdevries@suse.de>
488 * lib/gdb.exp (cached_file): Create cache dir.
490 2020-03-07 Tom de Vries <tdevries@suse.de>
492 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
493 * gdb.cp/rvalue-ref-params.exp: Same.
495 2020-03-06 Tom de Vries <tdevries@suse.de>
497 * lib/gdb.exp (tentative_rename, cached_file): New proc.
498 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
500 2020-03-06 Tom de Vries <tdevries@suse.de>
502 * README: Fix "the the".
503 * gdb.base/dprintf.exp: Same.
505 2020-03-05 Tom de Vries <tdevries@suse.de>
507 * gdb.base/maint.exp: Update "main print statistics" expected output.
509 2020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
511 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
512 (fortran_int8): Likewise.
513 (fortran_real4): Likewise.
514 (fortran_real8): Likewise.
515 (fortran_complex4): Likewise.
516 (fortran_logical4): Likewise.
517 (fortran_character1): Likewise.
519 2020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
521 * gdb.fortran/logical.exp: Add tests that any non-zero value is
524 2020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
526 * gdb.base/printcmds.exp: Add test to verify printf of a
527 variable holding an address.
529 2020-03-03 Tom de Vries <tdevries@suse.de>
531 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
533 2020-03-03 Tom de Vries <tdevries@suse.de>
535 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
536 gdb_test_multiple call.
538 2020-03-03 Tom de Vries <tdevries@suse.de>
540 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
541 gdb_test_multiple calls.
543 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
545 * gdb.base/default.exp: Remove test of 'set history filename'.
546 * gdb.base/gdbinit-history.exp: Add tests for setting the history
547 filename to the empty string.
548 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
551 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
553 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
556 2020-03-02 Pedro Alves <palves@redhat.com>
557 Tom de Vries <tdevries@suse.de>
559 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
560 -prompt prefix, before user_code argument. Add -lbl option likewise.
561 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
562 (gdb_is_target_1): Add -prompt prefix and move to before user_code
564 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
565 have "\r\n" at start-of-line, instead of at end-of-line.
567 2020-02-28 Simon Marchi <simon.marchi@efficios.com>
569 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
572 2020-02-28 Luis Machado <luis.machado@linaro.org>
574 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
577 2020-02-28 Luis Machado <luis.machado@linaro.org>
579 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
580 asm/ptrace.h and error.h.
582 2020-02-28 Tom de Vries <tdevries@suse.de>
584 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
585 (struct wrapper, do_something, mundane/symada__cS): Move ...
586 * gdb.base/c-linkage-name-2.c: ... here. New source file.
587 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
588 Update "print symada__cS before partial symtab expansion" regexp.
589 Update breakpoint location. Flush symbol cache after expansion.
591 2020-02-28 Luis Machado <luis.machado@linaro.org>
593 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
595 2020-02-27 Tom de Vries <tdevries@suse.de>
597 * config/sid.exp: Remove unused globals.
598 * gdb.base/attach.exp: Same.
599 * gdb.base/catch-load.exp: Same.
600 * gdb.base/dbx.exp: Same.
602 * lib/mi-support.exp: Same.
603 * lib/prompt.exp: Same.
605 2020-02-27 Tom de Vries <tdevries@suse.de>
607 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
610 2020-02-26 Aaron Merey <amerey@redhat.com>
612 * gdb.debuginfod: New directory for debuginfod tests.
613 * gdb.debuginfod/main.c: New test file.
614 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
616 2020-02-26 Tom de Vries <tdevries@suse.de>
619 * gdb.base/persistent-lang.cc: New test.
620 * gdb.base/persistent-lang.exp: New file.
622 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
624 * gdb.fortran/derived-type-striding.exp: Add a new test.
625 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
628 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
630 * gdb.base/cached-source-file.exp: Avoid source file paths in test
633 2020-02-25 Tom de Vries <tdevries@suse.de>
636 * gdb.go/methods.exp: Remove gcc/93866 xfail.
638 2020-02-24 Tom de Vries <tdevries@suse.de>
641 * gdb.base/info-locals-unused-static-var.c: New test.
642 * gdb.base/info-locals-unused-static-var.exp: New file.
644 2020-02-22 Tom Tromey <tom@tromey.com>
646 * gdb.python/tui-window.exp: New file.
647 * gdb.python/tui-window.py: New file.
649 2020-02-22 Tom Tromey <tom@tromey.com>
652 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
655 2020-02-22 Tom Tromey <tom@tromey.com>
657 * gdb.tui/new-layout.exp: Add sub-layout tests.
659 2020-02-22 Tom Tromey <tom@tromey.com>
661 * gdb.tui/new-layout.exp: New file.
663 2020-02-22 Tom Tromey <tom@tromey.com>
665 * gdb.rust/rust-style.rs: New file.
666 * gdb.rust/rust-style.exp: New file.
667 * gdb.base/style.exp: Test structure printing.
668 * gdb.base/style.c (struct some_struct): New type.
669 (enum etype): New type.
670 (struct_value): New global.
672 2020-02-21 Tom de Vries <tdevries@suse.de>
675 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
676 Remove blanket xfails. Use message argument for gdb_breakpoint.
677 Make continuing to breakpoint test conditional on setting breakpoint.
678 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
679 DW_AT_name attribute. Add xfail for GCC PR93866.
681 2020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
683 * gdb.dwarf2/cpp-linkage-name.c: New file.
684 * gdb.dwarf2/cpp-linkage-name.exp: New file.
686 2020-02-21 Shahab Vahedi <shahab@synopsys.com>
688 * lib/gdb.exp (gdb_wrapper_init): Reset
689 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
692 2020-02-20 Tom de Vries <tdevries@suse.de>
695 * gdb.go/hello.exp: Copy ...
696 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
697 print of st to print value of global definition. Add xfail for GCC
699 * gdb.go/hello.exp: Remove printing of st before definition.
700 * gdb.go/hello.go: Copy ...
701 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
703 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
705 2020-02-20 Tom de Vries <tdevries@suse.de>
707 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
708 (gdb_simple_compile): Handle compile_flags go by using .go extension
710 * gdb.go/chan.exp: Use support_go_compile.
711 * gdb.go/handcall.exp: Same.
712 * gdb.go/hello.exp: Same.
713 * gdb.go/integers.exp: Same.
714 * gdb.go/max-depth.exp: Same.
715 * gdb.go/methods.exp: Same.
716 * gdb.go/package.exp: Same.
717 * gdb.go/strings.exp: Same.
718 * gdb.go/types.exp: Same.
719 * gdb.go/unsafe.exp: Same.
721 2020-02-19 Tom de Vries <tdevries@suse.de>
723 * gdb.python/lib-types.exp: Make xfail more strict.
725 2020-02-19 Tom de Vries <tdevries@suse.de>
727 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
729 2020-02-19 Doug Evans <dje@google.com>
732 * gdb.rust/simple.exp: Add test.
733 * gdb.rust/simple.rs: Add test.
735 2020-02-19 Tom de Vries <tdevries@suse.de>
737 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
740 2020-02-19 Tom de Vries <tdevries@suse.de>
742 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
744 2020-02-19 Tom de Vries <tdevries@suse.de>
746 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
749 2020-02-19 Tom de Vries <tdevries@suse.de>
751 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
752 (gdb_do_cache): Use gdb_do_cache_wrap.
753 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
755 2020-02-19 Tom de Vries <tdevries@suse.de>
757 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
760 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
762 * gdb.base/printcmds.exp (test_print_enums): Update expected
765 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
767 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
770 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
772 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
775 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
777 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
780 (enum flag_enum_without_zero): New enum.
781 (flag_enum_without_zero): New variable.
782 (enum not_flag_enum): New enum.
783 (three_not_flag): New variable.
784 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
785 (test_print_enums): Add more tests for printing flag enums.
787 2020-02-18 Tom de Vries <tdevries@suse.de>
789 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
790 (gdb_compile_ada): ... here.
791 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
792 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
794 2020-02-14 Tom Tromey <tom@tromey.com>
796 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
798 * boards/gdbserver-base.exp: Update path to gdbserver.
800 2020-02-13 Tom de Vries <tdevries@suse.de>
802 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
804 2020-02-13 Tom de Vries <tdevries@suse.de>
806 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
809 2020-02-13 Tom de Vries <tdevries@suse.de>
811 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
814 2020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
817 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
818 * gdb.base/cached-source-file.c: New file.
819 * gdb.base/cached-source-file.exp: New file.
821 2020-02-11 Tom de Vries <tdevries@suse.de>
824 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
826 2020-02-10 Tom de Vries <tdevries@suse.de>
828 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
830 2020-02-10 Maciej W. Rozycki <macro@wdc.com>
832 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
833 and $after_addr are both integers before making a comparison.
835 2020-02-09 Tom de Vries <tdevries@suse.de>
837 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
838 command output and paste it into gdb.log. If any, paste catch message
841 2020-02-07 Tom Tromey <tromey@adacore.com>
843 PR breakpoints/24915:
844 * gdb.base/annotate-symlink.exp: Use setup_xfail.
846 2020-02-06 Shahab Vahedi <shahab@synopsys.com>
848 * gdb.tui/tui-missing-src.exp: Add the "missing source
849 file" test for the TUI.
851 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
853 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
854 including a port number in the output.
856 2020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
858 * lib/fortran.exp (fortran_int4): Handle clang.
859 (fortran_int8): Likewise.
860 (fortran_real4): Likewise.
861 (fortran_real8): Likewise.
862 (fortran_complex4): Likewise.
863 (fortran_logical4): Likewise.
864 (fortran_character1): Likewise.
866 2020-02-04 Tom de Vries <tdevries@suse.de>
868 * README (Race detection): Add note.
870 2020-02-04 Tom de Vries <tdevries@suse.de>
872 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
874 2020-02-04 Tom de Vries <tdevries@suse.de>
876 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
878 2020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
880 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
881 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
882 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
884 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
885 binary for blttar, bnetarl.
886 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
887 wait instruction. Delete ldmx test.
888 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
890 2020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
892 * gdb.fortran/array-bounds-high.exp: New file.
893 * gdb.fortran/array-bounds-high.f90: New file.
895 2020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
897 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
898 Replace #include of <sys/fcntl.h> by <fcntl.h>.
900 2020-02-01 Tom de Vries <tdevries@suse.de>
902 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
904 2020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
907 * gdb.tui/tui-layout-asm-short-prog.S: New file.
908 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
910 2020-01-29 Luis Machado <luis.machado@linaro.org>
912 * gdb.arch/aarch64-brk-patterns.c: New source file.
913 * gdb.arch/aarch64-brk-patterns.exp: New test.
915 2020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
917 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
919 * gdb.cp/pass-by-ref.exp: Ditto.
921 2020-01-29 Tom de Vries <tdevries@suse.de>
923 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
924 * gdb.threads/watchpoint-fork-mt.c: Same.
925 * gdb.threads/watchpoint-fork-parent.c: Same.
926 * gdb.threads/watchpoint-fork-st.c: Same.
927 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
929 2020-01-27 Luis Machado <luis.machado@linaro.org>
931 * gdb.base/step-over-syscall.exp (setup): Check if we're already
932 sitting at a syscall instruction when we hit the syscall function's
934 Check PC against one obtained with the x command.
935 Validate syscall number.
936 (step_over_syscall): Don't continue to the syscall instruction if
939 2020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
941 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
943 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
945 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
946 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
948 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
950 * gdb.dwarf2/dw2-inline-stepping.c: New file.
951 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
953 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
955 * gdb.base/maint.exp: Update line table parsing test.
956 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
958 2020-01-24 Pedro Alves <palves@redhat.com>
961 * gdb.multi/multi-re-run-1.c: New.
962 * gdb.multi/multi-re-run-2.c: New.
963 * gdb.multi/multi-re-run.exp: New.
965 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
968 * gdb.server/server-kill-python.exp: New file.
970 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
972 * gdb.server/multi-ui-errors.c: New file.
973 * gdb.server/multi-ui-errors.exp: New file.
975 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
978 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
980 2020-01-19 Tom Tromey <tom@tromey.com>
982 * gdb.tui/main.exp: Add check for plain "file".
984 2020-01-16 Christian Biesinger <cbiesinger@google.com>
986 * lib/gdb.exp: Fix spelling error (seperatelly).
988 2020-01-14 Tom Tromey <tom@tromey.com>
991 * gdb.python/python.exp: Test decode_line with empty string
994 2020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
996 * gdb.base/skip-inline.exp: Extend test.
998 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
1000 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
1001 * gdb.dwarf2/dw2-bad-elf.c: New file.
1002 * gdb.dwarf2/dw2-bad-elf.exp: New file.
1004 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
1006 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
1009 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
1011 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
1014 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1016 * gdb.multi/multi-target.exp (setup): Factor out "info
1017 connections" and "info inferiors" tests to ...
1018 (test_info_inferiors): ... this new procedure.
1019 (top level): Run new "info-inferiors" tests.
1021 2020-01-10 Pedro Alves <palves@redhat.com>
1023 * gdb.server/bkpt-other-inferior.exp: New file.
1025 2020-01-10 Pedro Alves <palves@redhat.com>
1027 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
1029 * gdb.base/quit-live.exp: Likewise.
1030 * gdb.base/remote-exec-file.exp: Likewise.
1031 * gdb.guile/scm-progspace.exp: Likewise.
1032 * gdb.linespec/linespec.exp: Likewise.
1033 * gdb.mi/new-ui-mi-sync.exp: Likewise.
1034 * gdb.mi/user-selected-context-sync.exp: Likewise.
1035 * gdb.multi/multi-target.exp (setup): Add "info connection" and
1036 "info inferiors" tests.
1037 * gdb.multi/remove-inferiors.exp: Adjust expected output of
1039 * gdb.multi/watchpoint-multi.exp: Likewise.
1040 * gdb.python/py-inferior.exp: Likewise.
1041 * gdb.server/extended-remote-restart.exp: Likewise.
1042 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
1044 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
1045 * gdb.trace/report.exp: Likewise.
1047 2020-01-10 Pedro Alves <palves@redhat.com>
1049 * gdb.multi/multi-target.c: New file.
1050 * gdb.multi/multi-target.exp: New file.
1051 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
1052 mode requested, but remote does not support non-stop".
1054 2020-01-10 Pedro Alves <palves@redhat.com>
1056 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
1057 disconnect before reconnecting.
1059 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1060 Pedro Alves <palves@redhat.com>
1062 * gdb.server/connect-without-multi-process.exp: Also test
1065 2020-01-10 Pedro Alves <palves@redhat.com>
1067 * gdb.base/remote-exec-file.exp: New file.
1069 2020-01-10 Pedro Alves <palves@redhat.com>
1071 * gdb.base/fork-running-state.exp (do_test): Adjust expected
1073 * gdb.threads/async.c: New.
1074 * gdb.threads/async.exp: New.
1075 * gdb.multi/tids-gid-reset.c: New.
1076 * gdb.multi/tids-gid-reset.exp: New.
1078 2020-01-10 George Barrett <bob@bob131.so>
1080 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
1081 to help in finding the image relocation offset.
1082 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
1083 options in arguments.
1084 (stap_test_no_debuginfo): Likewise.
1085 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
1087 (stap_test): Add null semaphore relocation test.
1089 2020-01-10 George Barrett <bob@bob131.so>
1091 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
1092 * gdb.base/stap-probe.exp: Likewise.
1093 (stap_test): Pass argument as an additional flag.
1094 (stap_test_no_debuginfo): Likewise.
1095 (stap_test): Check `info probes stap' output for semaphore
1096 addresses if the test binary is supposed to have them.
1098 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1100 * gdb.tui/basic.exp: Add more scrolling tests.
1102 2020-01-09 Tom Tromey <tom@tromey.com>
1105 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
1107 (Term::command, Term::resize): Update.
1108 * gdb.tui/basic.exp: Add scrolling test.
1110 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1112 * gdb.tui/tui-layout-asm.exp: New file.
1114 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1116 * lib/tuiterm.exp (Term::check_box_contents): New proc.
1118 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1120 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
1121 (Term::enter_tui): Use Term::prepare_for_tui.
1123 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1125 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
1128 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1130 * gdb.base/skip.exp: Fix race condition in test.
1132 2020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
1134 * gdb.base/backtrace.c: New file.
1135 * gdb.base/backtrace.exp: New file.
1137 2020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
1139 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
1141 2020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1143 * gdb.base/style.exp: Test that warnings are styled.
1145 2019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
1147 * gdb.base/line65535.exp: New file.
1148 * gdb.base/line65535.c: New file.
1150 2019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
1152 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
1153 * lib/gnat_debug_info_test.adb: New file.
1154 * gdb.ada/ptype_tagged_param.exp: Use
1155 gnat_runtime_has_debug_info, expect a different output if
1156 runtime does not have debug info.
1158 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
1160 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
1161 (another) quote in test name.
1163 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
1165 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
1166 Add quote in test name.
1168 2019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1170 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
1172 * gdb.cp/pass-by-ref.exp: Extend with more cases.
1173 * gdb.cp/pass-by-ref-2.cc: New file.
1174 * gdb.cp/pass-by-ref-2.exp: New file.
1176 2019-12-20 Tom Tromey <tom@tromey.com>
1178 * gdb.tui/list-before.exp: New file.
1180 2019-12-20 Tom Tromey <tom@tromey.com>
1182 * gdb.tui/list.exp: Check for source on initial listing.
1184 2019-12-11 Tom Tromey <tromey@adacore.com>
1186 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
1189 2019-12-18 Simon Marchi <simon.marchi@efficios.com>
1191 * gdb.base/default.exp: Update value of $_gdb_major.
1193 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
1195 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
1197 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
1199 * gdb.base/skip.exp: Whitespace fix.
1201 2019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
1203 * gdb.base/skip-inline.c: New file.
1204 * gdb.base/skip-inline.exp: New file.
1206 2019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
1208 * gdb.base/jit-reader.exp (jit_reader_test): Rename
1209 jit_function_00 to jit_function_stack_mangle.
1210 * gdb.base/jithost.c (jit_function_t): Rename to...
1211 (jit_function_stack_mangle_t): ... this.
1212 (jit_function_add_t): New typedef.
1213 (jit_function_00_code): Rename to...
1214 (jit_function_stack_mangle_code): ... this, make static.
1215 (jit_function_add_code): New.
1216 (main): Generate "add" function and call it. Adjust to changes
1218 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
1219 (struct jithost_abi) <begin, end>: Remove fields.
1220 <object, function_stack_mangle, function_add>: New fields.
1221 * gdb.base/jitreader.c (struct reader_state) <code_begin,
1222 code_end>: Remove fields.
1223 <func_stack_mangle>: New field.
1224 (read_debug_info): Adjust to renaming, create block for "add"
1226 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
1228 2019-12-11 Tom Tromey <tom@tromey.com>
1230 * gdb.tui/resize.exp: Fix regexp.
1231 * gdb.tui/regs.exp: Fix regexps.
1232 * gdb.tui/main.exp: Fix regexp.
1234 2019-12-11 Tom Tromey <tom@tromey.com>
1236 * gdb.tui/resize.exp: Update.
1237 * gdb.tui/empty.exp (layouts): Update.
1239 2019-12-11 Tom Tromey <tom@tromey.com>
1241 * gdb.tui/regs.exp: Update.
1242 * gdb.tui/empty.exp (layouts): Update.
1243 * gdb.tui/basic.exp: Update.
1244 * lib/tuiterm.exp (_check_box): Don't check bottom border.
1246 2019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1248 * gdb.base/options.exp: Add -raw-values in the print completion list.
1249 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
1251 2019-12-10 Kevin Buettner <kevinb@redhat.com>
1253 * gdb.threads/omp-par-scope.c: New file.
1254 * gdb/threads/omp-par-scope.exp: New file.
1256 2019-12-10 Kevin Buettner <kevinb@redhat.com>
1258 * lib/gdb.exp (support_nested_function_tests): New proc.
1260 2019-12-10 Kevin Buettner <kevinb@redhat.com>
1262 * lib/gdb.exp (gdb_compile_openmp): New proc.
1263 (build_executable_from_specs): Add an "openmp" option.
1264 (gdb_compile_pthreads): Add non-executable case.
1266 2019-12-10 Tom Tromey <tromey@adacore.com>
1268 * gdb.ada/unchecked_union.exp: New file.
1269 * gdb.ada/unchecked_union/pck.adb: New file.
1270 * gdb.ada/unchecked_union/pck.ads: New file.
1271 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
1272 * gdb-utils.exp (string_to_regexp): Also quote "?".
1274 2019-12-10 George Barrett <bob@bob131.so>
1276 Test scripted probe breakpoints.
1277 * gdb.guile/scm-breakpoint.c (main): Add probe point.
1278 * gdb.python/py-breakpoint.c (main): Likewise.
1279 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
1281 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
1283 2019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1285 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
1286 an rvalue parameter.
1287 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
1290 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1292 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
1295 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1297 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
1298 broken version of GCC.
1300 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1302 * gdb.fortran/info-modules.exp: Rewrite to make use of new
1303 sym-info-cmds library.
1304 * gdb.fortran/info-types.exp: Likewise.
1305 * lib/sym-info-cmds.exp: New file.
1307 2019-12-08 Tom de Vries <tdevries@suse.de>
1309 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
1311 2019-12-07 Keith Seitz <keiths@redhat.com>
1313 * gdb.base/corefile-buildid-shlib-shr.c: New file.
1314 * gdb.base/corefile-buildid-shlib.c: New file.
1315 * gdb.base/corefile-buildid.c: New file.
1316 * gdb.base/corefile-buildid.exp: New file.
1318 2019-12-06 Tom de Vries <tdevries@suse.de>
1320 * gdb.dwarf2/varval.exp: Add decl before def test.
1322 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1324 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
1326 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1328 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
1329 CV and reference conversion for overload resolution.
1330 * gdb.cp/rvalue-ref-overload.exp: Test it.
1332 2019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1334 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
1335 * gdb.base/frameapply.exp: Test faas without command.
1337 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1339 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
1341 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
1344 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1346 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
1347 casting to type with no kind specified.
1348 (test_basic_parsing_of_type_kinds): Additional tests for types
1349 with no kind specified, and add tests for single/double
1350 precision/complex types.
1352 2019-12-04 Tom Tromey <tromey@adacore.com>
1354 * gdb.base/endianity.c (struct other) <x>: New field.
1355 (main): Initialize it.
1356 * gdb.base/endianity.exp: Update.
1358 2019-12-04 Tom Tromey <tromey@adacore.com>
1360 * gdb.ada/scalar_storage/storage.adb: New file.
1361 * gdb.ada/scalar_storage/pck.adb: New file.
1362 * gdb.ada/scalar_storage/pck.ads: New file.
1363 * gdb.ada/scalar_storage.exp: New file.
1365 2019-12-04 Tom Tromey <tromey@adacore.com>
1367 * gdb.base/endianity.c (struct otherendian) <f>: New field.
1368 (main): Initialize it.
1369 * gdb.base/endianity.exp: Update.
1371 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1373 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
1375 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1377 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
1378 -symbol-info-module-functions and -symbol-info-module-variables.
1380 2019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
1382 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
1384 2019-12-01 Richard Bunt <richard.bunt@arm.com>
1385 Andrew Burgess <andrew.burgess@embecosm.com>
1387 * gdb.fortran/derived-type-striding.exp: New file.
1388 * gdb.fortran/derived-type-striding.f90: New file.
1389 * gdb.fortran/array-slices.exp: New file.
1390 * gdb.fortran/array-slices.f90: New file.
1392 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1394 * gdb.base/define.exp: Test . in command names.
1395 * gdb.base/setshow.exp: Update test, as . is now part of
1398 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1400 * gdb.base/define-prefix.exp: New file.
1402 2019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
1404 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
1406 (skip_btrace_pt_tests): Likewise.
1408 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1410 * gdb.fortran/info-modules.exp: Compile source files in correct
1413 2019-11-27 Kevin Buettner <kevinb@redhat.com>
1415 * gdb.dwarf2/imported-unit.exp: New file.
1416 * gdb.dwarf2/imported-unit.c: New file.
1418 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1420 * gdb.mi/mi-fortran-modules-2.f90: New file.
1421 * gdb.mi/mi-fortran-modules.exp: New file.
1422 * gdb.mi/mi-fortran-modules.f90: New file.
1424 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1426 * gdb.mi/mi-sym-info-1.c: New file.
1427 * gdb.mi/mi-sym-info-2.c: New file.
1428 * gdb.mi/mi-sym-info.exp: New file.
1430 2019-11-22 Tom Tromey <tromey@adacore.com>
1432 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
1433 * gdb.ada/tasks/foo.adb: Add another stopping location.
1435 2019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
1437 * gdb.base/endianity.c: New test.
1438 * gdb.base/endianity.exp: New file.
1440 2019-11-21 Lukas Durfina <ldurfina@tachyum.com>
1442 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
1444 2019-11-21 Tom de Vries <tdevries@suse.de>
1447 * gdb.base/ui-redirect.exp: Test output of user-defined command.
1449 2019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1451 * gdb.python/py-progspace.exp: Add missing parentheses on some
1454 2019-11-19 Tom Tromey <tom@tromey.com>
1456 * gdb.tui/winheight.exp: New file.
1458 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1460 * gdb.base/ctf-whatis.c: Delete.
1461 * gdb.base/ctf-whatis.exp: Delete.
1462 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
1464 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1466 * gdb.base/ctf-cvexpr.exp: Delete.
1467 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
1469 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1471 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
1472 the compiler. Clean up header comment a little.
1473 * gdb.base/ctf-ptype.exp: Likewise.
1474 * gdb.base/ctf-whatis.exp: Likewise.
1475 * lib/gdb.exp (skip_ctf_tests): New proc.
1477 2019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
1479 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
1480 * gdb.tui/corefile-run.exp: New file.
1482 2019-11-14 Tom Tromey <tromey@adacore.com>
1484 * gdb.base/gdbvars.exp (test_convenience_variables): Add
1487 2019-11-12 Tom Tromey <tom@tromey.com>
1489 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
1490 after any command. Expect prompt after WAIT_FOR is seen.
1491 (enter_tui): Enable resize messages.
1492 (command): Expect command in output.
1493 (get_line): Avoid error when cursor appears to be off-screen.
1494 (dump_screen): Include screen size in title.
1495 (_do_resize): New proc, from "resize".
1496 (resize): Rewrite. Do resize in two steps.
1497 * gdb.tui/empty.exp (layouts): Fix entries.
1498 (check_boxes): Remove xfail.
1499 (check_text): Dump screen on failure.
1501 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
1503 * gdb.python/py-symbol.exp: Add test for
1504 gdb.lookup_static_symbols.
1506 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
1508 * gdb.python/py-symbol.c: Declare and call function from new
1510 * gdb.python/py-symbol.exp: Compile both source files, and add new
1511 tests for gdb.lookup_static_symbol.
1512 * gdb.python/py-symbol-2.c: New file.
1514 2019-11-02 Tom de Vries <tdevries@suse.de>
1516 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
1517 * gdb.base/anon.exp: Same.
1518 * gdb.base/auto-connect-native-target.exp: Same.
1519 * gdb.base/call-ar-st.exp: Same.
1520 * gdb.base/catch-syscall.exp: Same.
1521 * gdb.base/commands.exp: Same.
1522 * gdb.base/default.exp: Same.
1523 * gdb.base/display.exp: Same.
1524 * gdb.base/float.exp: Same.
1525 * gdb.base/foll-fork.exp: Same.
1526 * gdb.base/help.exp: Same.
1527 * gdb.base/info-macros.exp: Same.
1528 * gdb.base/info-proc.exp: Same.
1529 * gdb.base/info-target.exp: Same.
1530 * gdb.base/long_long.exp: Same.
1531 * gdb.base/macscp.exp: Same.
1532 * gdb.base/memattr.exp: Same.
1533 * gdb.base/nofield.exp: Same.
1534 * gdb.base/pointers.exp: Same.
1535 * gdb.base/printcmds.exp: Same.
1536 * gdb.base/ptype.exp: Same.
1537 * gdb.base/restore.exp: Same.
1538 * gdb.base/return.exp: Same.
1539 * gdb.base/scope.exp: Same.
1540 * gdb.base/set-noassign.exp: Same.
1541 * gdb.base/setshow.exp: Same.
1542 * gdb.base/shlib-call.exp: Same.
1543 * gdb.base/signals.exp: Same.
1544 * gdb.base/sigstep.exp: Same.
1545 * gdb.base/skip.exp: Same.
1546 * gdb.base/solib-symbol.exp: Same.
1547 * gdb.base/stap-probe.exp: Same.
1548 * gdb.base/step-line.exp: Same.
1549 * gdb.base/step-test.exp: Same.
1550 * gdb.base/style.exp: Same.
1551 * gdb.base/varargs.exp: Same.
1552 * gdb.base/vla-datatypes.exp: Same.
1553 * gdb.base/vla-ptr.exp: Same.
1554 * gdb.base/vla-sideeffect.exp: Same.
1555 * gdb.base/volatile.exp: Same.
1556 * gdb.base/watch-cond-infcall.exp: Same.
1557 * gdb.base/watchpoint.exp: Same.
1559 2019-11-02 Tom de Vries <tdevries@suse.de>
1561 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
1562 * gdb.cp/cpexprs.exp: Same.
1563 * gdb.cp/except-multi-location.exp: Same.
1564 * gdb.cp/exceptprint.exp: Same.
1565 * gdb.cp/gdb2384.exp: Same.
1566 * gdb.cp/inherit.exp: Same.
1567 * gdb.cp/m-static.exp: Same.
1568 * gdb.cp/meth-typedefs.exp: Same.
1569 * gdb.cp/misc.exp: Same.
1570 * gdb.cp/namespace.exp: Same.
1571 * gdb.cp/non-trivial-retval.exp: Same.
1572 * gdb.cp/overload.exp: Same.
1573 * gdb.cp/pr17132.exp: Same.
1574 * gdb.cp/re-set-overloaded.exp: Same.
1575 * gdb.cp/rvalue-ref-types.exp: Same.
1576 * gdb.cp/templates.exp: Same.
1578 2019-11-01 Luis Machado <luis.machado@linaro.org>
1582 * gdb.arch/pr25124.S: New file.
1583 * gdb.arch/pr25124.exp: New file.
1585 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1587 * gdb.fortran/info-modules.exp: Update expected results, and add
1588 additional tests for 'info module functinos', and 'info module
1590 * gdb.fortran/info-types.exp: Update expected results.
1591 * gdb.fortran/info-types.f90: Extend testcase with additional
1592 module variables and functions.
1594 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1596 * gdb.fortran/info-modules.exp: New file.
1597 * gdb.fortran/info-types.exp: Build with new file.
1598 * gdb.fortran/info-types.f90: Include and use new module.
1599 * gdb.fortran/info-types-2.f90: New file.
1601 2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1603 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
1604 * gdb.base/settings.exp: Test all settings types using
1605 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
1606 that now verifies that the value of "maint show" is the same as
1607 returned by the settings functions. Test the type of the
1608 maintenance settings.
1609 * gdb.base/default.exp: Update show_conv_list.
1611 2019-10-31 Tom de Vries <tdevries@suse.de>
1613 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
1615 * gdb.arch/amd64-disp-step.exp: Same.
1616 * gdb.asm/asm-source.exp: Same.
1617 * gdb.btrace/buffer-size.exp: Same.
1618 * gdb.btrace/cpu.exp: Same.
1619 * gdb.btrace/enable.exp: Same.
1620 * gdb.dwarf2/count.exp: Same.
1621 * gdb.dwarf2/dw2-ranges-func.exp: Same.
1622 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
1623 * gdb.fortran/vla-datatypes.exp: Same.
1624 * gdb.fortran/vla-history.exp: Same.
1625 * gdb.fortran/vla-ptype.exp: Same.
1626 * gdb.fortran/vla-value.exp: Same.
1627 * gdb.fortran/whatis_type.exp: Same.
1628 * gdb.guile/guile.exp: Same.
1629 * gdb.multi/tids.exp: Same.
1630 * gdb.python/py-finish-breakpoint.exp: Same.
1631 * gdb.python/py-framefilter.exp: Same.
1632 * gdb.python/py-pp-registration.exp: Same.
1633 * gdb.python/py-xmethods.exp: Same.
1634 * gdb.python/python.exp: Same.
1635 * gdb.server/connect-with-no-symbol-file.exp: Same.
1636 * gdb.server/no-thread-db.exp: Same.
1637 * gdb.server/run-without-local-binary.exp: Same.
1638 * gdb.stabs/weird.exp: Same.
1639 * gdb.threads/attach-many-short-lived-threads.exp: Same.
1640 * gdb.threads/thread-find.exp: Same.
1641 * gdb.threads/tls-shared.exp: Same.
1642 * gdb.threads/tls.exp: Same.
1643 * gdb.threads/wp-replication.exp: Same.
1644 * gdb.trace/ax.exp: Same.
1645 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
1647 2019-10-31 Tom de Vries <tdevries@suse.de>
1649 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
1650 * gdb.ada/array_subscript_addr.exp: Same.
1651 * gdb.ada/arrayidx.exp: Same.
1652 * gdb.ada/arrayparam.exp: Same.
1653 * gdb.ada/arrayptr.exp: Same.
1654 * gdb.ada/boolean_expr.exp: Same.
1655 * gdb.ada/call_pn.exp: Same.
1656 * gdb.ada/complete.exp: Same.
1657 * gdb.ada/fixed_cmp.exp: Same.
1658 * gdb.ada/fun_addr.exp: Same.
1659 * gdb.ada/funcall_param.exp: Same.
1660 * gdb.ada/interface.exp: Same.
1661 * gdb.ada/mod_from_name.exp: Same.
1662 * gdb.ada/null_array.exp: Same.
1663 * gdb.ada/packed_array.exp: Same.
1664 * gdb.ada/packed_tagged.exp: Same.
1665 * gdb.ada/print_chars.exp: Same.
1666 * gdb.ada/print_pc.exp: Same.
1667 * gdb.ada/ptype_arith_binop.exp: Same.
1668 * gdb.ada/ptype_field.exp: Same.
1669 * gdb.ada/ptype_tagged_param.exp: Same.
1670 * gdb.ada/rec_return.exp: Same.
1671 * gdb.ada/ref_tick_size.exp: Same.
1672 * gdb.ada/str_ref_cmp.exp: Same.
1673 * gdb.ada/taft_type.exp: Same.
1674 * gdb.ada/tagged.exp: Same.
1675 * gdb.ada/type_coercion.exp: Same.
1676 * gdb.ada/uninitialized_vars.exp: Same.
1678 2019-10-30 Tom de Vries <tdevries@suse.de>
1680 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
1682 2019-10-26 Tom de Vries <tdevries@suse.de>
1684 * gdb.base/bigcore.c: Fix typos in comments.
1685 * gdb.base/ctf-ptype.c: Same.
1686 * gdb.base/long_long.c: Same.
1687 * gdb.dwarf2/dw2-op-out-param.S: Same.
1688 * gdb.python/py-evthreads.c: Same.
1689 * gdb.reverse/i387-stack-reverse.c: Same.
1690 * gdb.trace/tfile.c: Same.
1691 * lib/compiler.c: Same.
1692 * lib/compiler.cc: Same.
1694 2019-10-25 Tom de Vries <tdevries@suse.de>
1696 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
1697 gdb_test_multiple calls.
1698 * gdb.reverse/sigall-reverse.exp: Same.
1699 * gdb.reverse/solib-precsave.exp: Same.
1700 * gdb.reverse/solib-reverse.exp: Same.
1701 * gdb.reverse/until-precsave.exp: Same.
1702 * gdb.reverse/until-reverse.exp: Same.
1704 2019-10-24 Tom de Vries <tdevries@suse.de>
1706 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
1707 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
1708 kfail using -wrap pattern flag and convenience variable
1711 2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
1713 * gdb.python/py-progspace.exp: Add tests for the
1714 Progspace.block_for_pc method.
1716 2019-10-23 Tom Tromey <tom@tromey.com>
1718 * configure: Rebuild.
1719 * aclocal.m4: Use m4_include, not sinclude.
1721 2019-10-21 Tom de Vries <tdevries@suse.de>
1723 * gdb.base/infcall-nested-structs.c: Add
1724 __attribute__((noinline,noclone)) to all functions.
1725 (call_all): Add missing variable initialization. Simplify return value.
1726 (breakpt): Increment volatile variable, to prevent call from being
1728 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
1730 2019-10-17 Tom de Vries <tdevries@suse.de>
1732 * gdb.fortran/module.exp: Allow info variables to print info for files
1733 other than module.f90.
1735 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
1737 * gdb.fortran/module.exp: Extend with 'info variables' test.
1739 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
1741 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
1744 2019-10-16 Tom de Vries <tdevries@suse.de>
1747 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
1749 2019-10-16 Tom de Vries <tdevries@suse.de>
1752 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
1753 Add KFAIL for PR tdep/25096.
1755 2019-10-16 Tom de Vries <tdevries@suse.de>
1758 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
1760 2019-10-16 Tom de Vries <tdevries@suse.de>
1762 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
1765 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
1767 * gdb.mi/list-thread-groups-available.exp: Read entries one by
1768 one instead of increasing timeout.
1770 2019-10-13 Tom de Vries <tdevries@suse.de>
1773 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
1774 * gdb.reverse/sigall-reverse.exp: Same.
1775 * gdb.reverse/solib-precsave.exp: Same.
1776 * gdb.reverse/solib-reverse.exp: Same.
1777 * gdb.reverse/step-precsave.exp: Same.
1778 * gdb.reverse/until-precsave.exp: Same.
1779 * gdb.reverse/until-reverse.exp: Same.
1780 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
1782 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
1784 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
1785 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
1786 (cmp_struct_05_01, cmp_struct_static_02_01)
1787 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
1790 2019-10-10 Tom de Vries <tdevries@suse.de>
1793 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
1796 2019-10-09 Tom de Vries <tdevries@suse.de>
1799 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
1801 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1803 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
1804 exceptions due to missing debug information.
1806 2019-10-07 Tom de Vries <tdevries@suse.de>
1808 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
1810 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1812 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
1813 * gdb.base/annota1.exp: Update to use gdb_test_name.
1815 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
1817 * gdb.base/ctf-whatis.exp: New file.
1818 * gdb.base/ctf-whatis.c: New file.
1819 * gdb.base/ctf-ptype.exp: New file.
1820 * gdb.base/ctf-ptype.c: New file.
1821 * gdb.base/ctf-constvars.exp: New file.
1822 * gdb.base/ctf-constvars.c: New file.
1823 * gdb.base/ctf-cvexpr.exp: New file.
1825 2019-10-04 Tom de Vries <tdevries@suse.de>
1827 * gdb.cp/local-static.c (main): Move declaration of int i out of the
1830 2019-10-03 Tom Tromey <tom@tromey.com>
1833 * gdb.rust/simple.rs (Union2): New type.
1835 * gdb.rust/simple.exp: Add test.
1837 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1839 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
1840 nested function prefix.
1842 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
1843 Richard Bunt <richard.bunt@arm.com>
1844 Andrew Burgess <andrew.burgess@embecosm.com>
1846 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
1848 * gdb.fortran/nested-funcs.f90: Update expected results.
1849 * gdb.fortran/nested-funcs-2.exp: New file.
1850 * gdb.fortran/nested-funcs-2.f90: New file.
1852 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1854 * gdb.python/py-parameter.exp: Make test names unique.
1855 * gdb.python/py-template.exp: Likewise.
1856 * gdb.python/py-value.exp: Likewise.
1858 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1860 * gdb.base/break-interp.exp: Reduce test name duplication.
1861 * gdb.base/call-sc.exp: Likewise.
1862 * gdb.base/callfuncs.exp: Likewise.
1863 * gdb.base/charset.exp: Likewise.
1864 * gdb.base/dump.exp: Likewise.
1865 * gdb.base/ena-dis-br.exp: Likewise.
1866 * gdb.base/relational.exp: Likewise.
1867 * gdb.base/step-over-syscall.exp: Likewise.
1868 * gdb.base/structs.exp: Likewise.
1870 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1872 * gdb.linespec/explicit.exp: Make test names unique.
1873 * gdb.linespec/ls-errs.exp: Likewise.
1875 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1877 * gdb.reverse/break-precsave.exp: Make test names unique.
1878 * gdb.reverse/break-reverse.exp: Likewise.
1879 * gdb.reverse/finish-precsave.exp: Likewise.
1880 * gdb.reverse/finish-reverse.exp: Likewise.
1881 * gdb.reverse/machinestate-precsave.exp: Likewise.
1882 * gdb.reverse/machinestate.exp: Likewise.
1883 * gdb.reverse/readv-reverse.exp: Likewise.
1884 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1885 * gdb.reverse/sigall-precsave.exp: Likewise.
1886 * gdb.reverse/sigall-reverse.exp: Likewise.
1887 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
1888 * gdb.reverse/watch-precsave.exp: Likewise.
1889 * gdb.reverse/watch-reverse.exp: Likewise.
1891 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1893 * gdb.threads/stop-with-handle.c: New file.
1894 * gdb.threads/stop-with-handle.exp: New file.
1896 2019-10-03 Tom de Vries <tdevries@suse.de>
1899 * gdb.base/list-missing-source.exp: Allowing the "Compilation
1900 directory" line to be missing.
1902 2019-10-03 Tom de Vries <tdevries@suse.de>
1905 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
1908 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
1910 * gdb.python/py-format-string.c (string.h): New include.
1911 (main): Fill a_struct_with_union.the_union.an_int with bytes of
1912 the same value, for endianness-independence.
1913 * gdb.python/py-format-string.exp (default_regexp_dict)
1914 (test_pretty_structs, test_format): Adjust expected output to the
1915 changed initialization.
1917 2019-10-02 Tom Tromey <tromey@adacore.com>
1919 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
1921 2019-10-02 Pedro Alves <palves@redhat.com>
1922 Andrew Burgess <andrew.burgess@embecosm.com>
1924 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
1926 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1927 (get_version_1): Print this_version_id and its address.
1928 Add extern "C" wrappers around interface functions.
1929 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
1931 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1932 (get_version_2): Print this_version_id and its address.
1933 Add extern "C" wrappers around interface functions.
1934 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
1935 <stddef.h> and "print-file-var.h".
1936 Add extern "C" wrappers around interface functions.
1937 [VERSION_ID_MAIN] (this_version_id): Define.
1938 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
1939 * gdb.base/print-file-var.h: Add some #defines to simplify setting
1940 up extern "C" blocks.
1941 * gdb.base/print-file-var.exp (test): New, factored out from top
1943 (top level): Test all combinations of attribute hidden or not,
1944 dlopen or not, and this_version_id symbol in main file or not.
1945 Compile tests as both C++ and C, make test names unique.
1947 2019-10-01 Tom Tromey <tom@tromey.com>
1949 * gdb.base/style.exp: Test "show logging filename".
1951 2019-10-01 Tom Tromey <tom@tromey.com>
1953 * lib/gdb-utils.exp (style): Handle "metadata" argument.
1954 * gdb.base/style.exp: Add metadata style test.
1956 2019-10-01 Tom Tromey <tom@tromey.com>
1958 * gdb.base/style.exp: Test "pwd".
1960 2019-10-01 Tom Tromey <tom@tromey.com>
1962 * gdb.base/style.exp: Update tests.
1964 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
1966 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
1968 (s1): Initialize fields 'four' and 'six' instead of 'three' and
1969 'five'. Use an all-ones bit pattern for each.
1970 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
1971 to its changed values.
1973 2019-09-30 Tom Tromey <tromey@adacore.com>
1975 * gdb.rust/traits.rs: Disable all warnings.
1977 2019-09-29 Tom de Vries <tdevries@suse.de>
1979 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
1981 2019-09-29 Tom de Vries <tdevries@suse.de>
1983 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
1985 2019-09-27 Tom de Vries <tdevries@suse.de>
1987 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
1989 2019-09-27 Tom de Vries <tdevries@suse.de>
1992 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
1994 2019-09-26 Tom Tromey <tromey@adacore.com>
1996 * gdb.ada/py_taft.exp: New file.
1997 * gdb.ada/py_taft/main.adb: New file.
1998 * gdb.ada/py_taft/pkg.adb: New file.
1999 * gdb.ada/py_taft/pkg.ads: New file.
2001 2019-09-24 Tom de Vries <tdevries@suse.de>
2004 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
2006 2019-09-22 Tom de Vries <tdevries@suse.de>
2008 * gdb.base/restore.exp: Allow register variables to be optimized out at
2011 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
2013 * gdb.arch/spu-info.exp: Remove file.
2014 * gdb.arch/spu-info.c: Remove file.
2015 * gdb.arch/spu-ls.exp: Remove file.
2016 * gdb.arch/spu-ls.c: Remove file.
2018 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
2019 * gdb.asm/spu.inc: Remove file.
2021 * gdb.base/dump.exp: Remove support for spu*-*-*.
2022 * gdb.base/stack-checking.exp: Likewise.
2023 * gdb.base/overlays.exp: Likewise.
2024 * gdb.base/ovlymgr.c: Likewise.
2025 * gdb.base/spu.ld: Remove file.
2027 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
2028 * gdb.cp/cpexprs.exp: Likewise.
2029 * gdb.cp/exception.exp: Likewise.
2030 * gdb.cp/gdb2495.exp: Likewise.
2031 * gdb.cp/mb-templates.exp: Likewise.
2032 * gdb.cp/pr9167.exp: Likewise.
2033 * gdb.cp/userdef.exp: Likewise.
2035 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
2037 * gdb.cell: Remove directory.
2038 * lib/cell.exp: Remove file.
2040 2019-09-19 Tom de Vries <tdevries@suse.de>
2042 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
2044 2019-09-19 Tom de Vries <tdevries@suse.de>
2046 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
2048 2019-09-19 Tom de Vries <tdevries@suse.de>
2050 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
2051 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
2052 (gdb_target_cmd): ... here.
2053 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
2056 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
2058 * gdb.base/source-dir.exp: Avoid having directory names in test
2061 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
2063 * gdb.base/source-dir.exp: Add extra test for mapped compilation
2066 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
2068 * gdb.base/list-missing-source.exp: New file.
2070 2019-09-14 Tom de Vries <tdevries@suse.de>
2073 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
2074 * lib/ada.exp (gnatmake_version_at_least): New proc.
2076 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
2078 * gdb.base/maint.exp: Use exec_has_index_section.
2080 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
2082 * gdb.base/maint.exp: Add test for 'maint info sections'.
2084 2019-09-12 Tom de Vries <tdevries@suse.de>
2086 * gdb.base/store.exp: Allow register variables to be optimized out at
2089 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2091 * gdb.ada/rdv_wait.exp: Update to new task names.
2092 * gdb.base/task_switch_in_core.exp: Likewise.
2093 * gdb.base/info_sources_base.c: Likewise.
2095 2019-09-10 Tom Tromey <tromey@adacore.com>
2097 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
2099 2019-09-10 Tom Tromey <tromey@adacore.com>
2101 * gdb.ada/dgopt.exp: New file.
2102 * gdb.ada/dgopt/x.adb: New file.
2104 2019-09-08 Tom Tromey <tom@tromey.com>
2106 * gdb.tui/resize.exp: Remove setup_xfail.
2107 * gdb.tui/regs.exp: Remove setup_xfail.
2108 * gdb.tui/basic.exp: Remove setup_xfail.
2110 2019-09-06 David Blaikie <dblaikie@gmail.com>
2112 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
2113 * gdb.cp/cplabel.exp: Ditto.
2114 * gdb.linespec/ls-errs.exp: Ditto.
2116 2019-09-05 Tom de Vries <tdevries@suse.de>
2118 * lib/gdb.exp (cmp_file_string): New proc.
2119 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
2120 runto_main. Verify save breakpoints output.
2122 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2124 * gdb.base/info-var.exp: Test info variables without running
2125 to main, to avoid expect's buffer overflow.
2127 2019-09-03 Tom Tromey <tromey@adacore.com>
2129 * gdb.ada/bias.exp: New file.
2130 * gdb.ada/bias/bias.adb: New file.
2131 * gdb.ada/print_chars.exp: Add regression test.
2132 * gdb.ada/print_chars/foo.adb (My_Character): New type.
2135 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
2137 * gdb.base/argv0-symlink.exp: Run only on native target
2140 2019-08-29 Tom de Vries <tdevries@suse.de>
2142 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
2144 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
2146 2019-08-28 Tom de Vries <tdevries@suse.de>
2148 * gdb.base/info-var.exp: Allow info variables to print info for files
2149 other than info-var-f1.c and info-var-f2.c.
2151 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
2153 * gdb.fortran/info-types.exp: Add module.
2154 * gdb.fortran/info-types.f90: Update expected results.
2156 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
2158 * gdb.fortran/info-types.exp: New file.
2159 * gdb.fortran/info-types.f90: New file.
2160 * lib/fortran.exp (fortran_character1): New proc.
2162 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
2164 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
2165 functions'. Reindent as needed.
2166 * gdb.base/info-var-f1.c: New file.
2167 * gdb.base/info-var-f2.c: New file.
2168 * gdb.base/info-var.exp: New file.
2169 * gdb.base/info-var.h: New file.
2171 2019-08-26 Tom de Vries <tdevries@suse.de>
2174 * gdb.cp/no-libstdcxx-probe.exp: New test.
2176 2019-08-26 Tom de Vries <tdevries@suse.de>
2178 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
2179 * tests need to be skipped.
2180 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
2181 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
2182 mi_skip_libstdcxx_probe_tests.
2184 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
2186 * gdb.python/py-xmethods.exp: Use raw strings when passing
2187 arguments to SimpleXMethodMatcher.
2189 2019-08-22 Tom de Vries <tdevries@suse.de>
2191 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
2194 2019-08-21 Pedro Alves <palves@redhat.com>
2196 * gdb.base/with.exp: Test "with" with no arguments.
2198 2019-08-21 Tom de Vries <tdevries@suse.de>
2200 * gdb.base/gdb-caching-proc.exp: Sort files.
2202 2019-08-20 Tom de Vries <tdevries@suse.de>
2204 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
2207 2019-08-16 Tom de Vries <tdevries@suse.de>
2209 * gdb.base/compare-sections.exp ("after run to main"): Allow
2210 mismatched read-only sections for PIE executables.
2212 2019-08-16 Tom Tromey <tom@tromey.com>
2214 * lib/tuiterm.exp (_csi_Z): New proc.
2215 * gdb.tui/basic.exp: Update window positions.
2216 * gdb.tui/empty.exp: Update window positions.
2218 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
2220 * gdb.base/examine-backward.exp: Correct regexp for
2221 "examine 3 bytes backward from ${address_zero}".
2223 2019-08-15 Tom Tromey <tom@tromey.com>
2225 * gdb.tui/empty.exp: Enable resizing tests.
2227 2019-08-15 Tom Tromey <tromey@adacore.com>
2229 * gdb.ada/char_enum.exp: Add regression tests.
2230 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
2232 (Char, Gchar): Update.
2233 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
2235 2019-08-15 Christian Biesinger <cbiesinger@google.com>
2237 * gdb.python/python.exp: Expect a leading underscore on
2238 GdbOutput{,Error}File.
2240 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
2242 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
2245 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
2247 * gdb.base/batch-preserve-term-settings.exp
2248 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
2250 2019-08-15 Christian Biesinger <cbiesinger@google.com>
2252 * lib/gdb.exp: When running on a mingw target, replace
2255 2019-08-14 Alan Hayward <alan.hayward@arm.com>
2257 * gdb.arch/aarch64-prologue.c: New test.
2258 * gdb.arch/aarch64-prologue.exp: New file.
2260 2019-08-13 Tom de Vries <tdevries@suse.de>
2262 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
2265 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
2267 * gdb.python/py-completion.exp: Download the .py file to the host
2268 and use its host pathname. Conditionalize tests that use
2269 tab completion and manipulate files on the build machine.
2270 * gdb.python/py-events.exp: Download the .py file to the host
2271 and use its host pathname.
2272 * gdb.python/py-evsignal.exp: Likewise.
2273 * gdb.python/py-evthreads.exp: Likewise.
2274 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
2276 * gdb.python/py-framefilter.exp: Download the .py file to the right
2277 place on the host. Match Windows pathname syntax.
2278 * gdb.python/py-mi-var-info-path-expression.exp: Download the
2279 .py file to the host and use its host pathname.
2280 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
2281 * gdb.python/py-objfile.exp: Expect a host pathname, not a
2282 build pathname. Skip symlink test on Windows host. Add missing
2283 newline at end of file.
2284 * gdb.python/py-pp-maint.exp: Download the .py file to the host
2285 and use its host pathname.
2286 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
2287 * gdb.python/py-section-script.exp: Use host location of binfile
2288 on safe-path. Use correct path separator on Windows host.
2289 Reorder alternatives in gdb_test_multiple to prevent matching
2290 the wrong alternative on success.
2291 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
2293 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
2295 * gdb.gdb/selftest.exp (test_with_self): Update test to now
2296 expect the GDB inferior to no longer immediately stop after
2297 being resumed with "signal SIGINT".
2299 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
2301 * gdb.linespec/break-ask.exp: Generalize regexps to match
2302 Windows pathnames too.
2304 2019-08-08 Tom de Vries <tdevries@suse.de>
2307 * lib/tuiterm.exp (_accept): Fix CSI regexp.
2309 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2311 * gdb.base/style.exp: Update tests for help doc new invariants.
2312 * gdb.base/help.exp: Likewise.
2314 2019-08-06 Tom Tromey <tom@tromey.com>
2316 * gdb.base/style.exp: Add disassemble test.
2317 * gdb.base/style.c (some_called_function): New function.
2320 2019-08-05 Christian Biesinger <cbiesinger@google.com>
2322 * gdb.python/py-block.exp: Test dictionary access on blocks.
2324 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
2327 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
2328 -list-thread-groups --available test when running under
2331 2019-08-05 Tom de Vries <tdevries@suse.de>
2334 * lib/gdb.exp (with_read1_timeout_factor): New proc.
2335 * gdb.base/help.exp: Use with_read1_timeout_factor.
2336 * gdb.base/info-macros.exp: Same.
2337 * gdb.cp/nested-types.exp: Same.
2339 2019-08-05 Tom de Vries <tdevries@suse.de>
2341 * lib/gdb.exp (version_at_least): Factor out of ...
2342 (tcl_version_at_least): ... here.
2343 (gdb_compile): Fail if pie results in non-PIE executable.
2344 (readelf_version, readelf_prints_pie): New proc.
2345 (exec_is_pie): Return -1 if unknown.
2347 2019-08-05 Tom de Vries <tdevries@suse.de>
2349 * lib/gdb.exp (tcl_version_at_least): Fix typo.
2351 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
2353 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
2355 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
2357 * lib/completion-support.exp (test_gdb_complete_none): Skip
2358 tab completion tests if no readline support.
2359 (test_gdb_complete_unique_re): Likewise.
2360 (test_gdb_complete_multiple): Likewise.
2362 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2364 * gdb.base/info_sources.exp: New file.
2365 * gdb.base/info_sources.c: New file.
2366 * gdb.base/info_sources_base.c: New file.
2368 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2370 * gdb.base/batch-exit-status.exp: Call test_exit_status with
2372 (test_exit_status): Add prefix argument.
2374 2019-08-01 Tom de Vries <tdevries@suse.de>
2377 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
2378 calling exp_continue for new thread and thread exited messages.
2380 2019-08-01 Tom de Vries <tdevries@suse.de>
2383 * gdb.base/structs.exp: Fix check-read1 timeout using
2385 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
2387 2019-08-01 Tom de Vries <tdevries@suse.de>
2390 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
2393 2019-08-01 Tom de Vries <tdevries@suse.de>
2396 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
2398 2019-07-30 Tom Tromey <tromey@adacore.com>
2400 * gdb.ada/display_nested.exp: New file.
2401 * gdb.ada/display_nested/foo.adb: New file.
2402 * gdb.ada/display_nested/pack.adb: New file.
2403 * gdb.ada/display_nested/pack.ads: New file.
2405 2019-07-30 Christian Biesinger <cbiesinger@google.com>
2407 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
2409 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
2411 2019-07-30 Tom de Vries <tdevries@suse.de>
2413 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
2416 2019-07-30 Tom de Vries <tdevries@suse.de>
2419 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
2420 (exec_is_pie): New proc.
2422 2019-07-29 Christian Biesinger <cbiesinger@google.com>
2424 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
2426 2019-07-29 Christian Biesinger <cbiesinger@google.com>
2428 * gdb.python/py-objfile.c: Add global and static vars.
2429 * gdb.python/py-objfile.exp: Test new functions Objfile.
2430 lookup_global_symbol and lookup_static_symbol.
2432 2019-07-29 Tom Tromey <tom@tromey.com>
2434 * lib/tuiterm.exp (Term::_csi_@): New proc.
2435 (Term::_csi_X): Don't move cursor.
2437 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2439 * gdb.base/options.exp: Update backtrace - completion to
2440 new option -frame-info.
2441 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
2442 Test new 'set print frame-info'. Test backtrace -frame-info
2443 overriding 'set print frame-info'.
2444 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
2445 Test new 'set print frame-info'.
2446 Verify consistency of backtrace with and without filters, with and
2447 without -no-filters.
2448 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
2451 2019-07-29 Tom de Vries <tdevries@suse.de>
2453 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
2456 2019-07-29 Tom de Vries <tdevries@suse.de>
2458 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
2459 is a substring of the first for "complete non-unique file name".
2461 2019-07-29 Tom de Vries <tdevries@suse.de>
2463 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
2466 2019-07-29 Tom de Vries <tdevries@suse.de>
2468 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
2469 Pass prompt_regexp parameter to gdb_test_multiple calls.
2471 2019-07-29 Tom de Vries <tdevries@suse.de>
2473 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
2474 print registers" regexps.
2476 2019-07-29 Tom de Vries <tdevries@suse.de>
2478 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
2480 2019-07-29 Tom de Vries <tdevries@suse.de>
2483 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
2484 (skip_python_tests_prompt): Add prompt_regexp argument to
2485 gdb_test_multiple calls.
2487 2019-07-27 Tom Tromey <tom@tromey.com>
2489 * gdb.tui/main.exp: New file.
2491 2019-07-27 Tom Tromey <tom@tromey.com>
2493 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
2495 * gdb.tui/empty.exp: New file.
2497 2019-07-27 Tom Tromey <tom@tromey.com>
2499 * lib/tuiterm.exp (spawn): New proc.
2500 (Term::resize): New proc.
2501 * gdb.tui/resize.exp: New file.
2503 2019-07-27 Tom Tromey <tom@tromey.com>
2505 * gdb.tui/list.exp: New file.
2507 2019-07-27 Tom Tromey <tom@tromey.com>
2509 * gdb.tui/regs.exp: New file.
2511 2019-07-27 Tom Tromey <tom@tromey.com>
2513 * gdb.tui/basic.exp: Add "layout split" test.
2515 2019-07-27 Tom Tromey <tom@tromey.com>
2517 * gdb.tui/basic.exp: Add "layout asm" test.
2519 2019-07-27 Tom Tromey <tom@tromey.com>
2521 * lib/tuiterm.exp: New file.
2522 * gdb.tui/basic.exp: New file.
2524 2019-07-27 Kevin Buettner <kevinb@redhat.com>
2526 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
2527 Enable tests associated with this flag. Adjust regex
2528 referencing "foo_low" to now refer to "foo_cold" instead.
2530 2019-07-27 Kevin Buettner <kevinb@redhat.com>
2532 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
2533 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
2534 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
2535 foo_cold. Revise comments to match.
2536 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
2537 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
2538 were wrapped into this proc; Call do_test in loop from outermost
2540 (foo_low): Rename all occurrences to "foo_cold".
2541 (backtrace from baz): New test.
2542 (x2/i foo_cold): New test.
2543 (info line *foo_cold): New test.
2545 2019-07-26 Tom de Vries <tdevries@suse.de>
2547 * gdb.arch/i386-pkru.exp: Fix unterminated string.
2549 2019-07-25 Tom de Vries <tdevries@suse.de>
2552 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
2553 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
2554 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
2555 (skip_libstdcxx_probe_tests): ... here.
2556 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
2558 2019-07-24 Tom de Vries <tdevries@suse.de>
2561 * gdb.objc/basicclass.m: Include stdio.h.
2562 * gdb.objc/nondebug.m: Same.
2563 * gdb.objc/objcdecode.m: Same.
2565 2019-07-24 Tom de Vries <tdevries@suse.de>
2568 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
2571 2019-07-24 Tom de Vries <tdevries@suse.de>
2574 * gdb.multi/tids.exp: Update error messages for info threads.
2576 2019-07-24 Tom de Vries <tdevries@suse.de>
2578 * gdb.base/info-types.exp: Allow info types to print info for more than
2581 2019-07-23 Tom de Vries <tdevries@suse.de>
2584 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
2585 gdb_spawn_with_cmdline_opts.
2587 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
2589 * gdb.arch/arm-cmse-sgstubs.c: New test.
2590 * gdb.arch/arm-cmse-sgstubs.exp: New file.
2592 2019-07-23 Tom de Vries <tdevries@suse.de>
2595 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
2596 issuing next command.
2598 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
2600 * gdb.ada/info_auto_lang.exp: Update expected results.
2601 * gdb.base/info-types.c: Add additional types to check.
2602 * gdb.base/info-types.exp: Update expected results.
2604 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
2606 * gdb.base/info-types.c: New file.
2607 * gdb.base/info-types.exp: New file.
2609 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
2611 * gdb.arch/riscv-bp-infcall.c: New file.
2612 * gdb.arch/riscv-bp-infcall.exp: New file.
2614 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
2616 PR breakpoints/24541
2617 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
2619 2019-07-14 Tom de Vries <tdevries@suse.de>
2622 * gdb.objc/basicclass.exp: Fix unterminated string.
2624 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
2625 Andrew Burgess <andrew.burgess@embecosm.com>
2627 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
2628 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
2630 * gdb.fortran/vla-value.exp: Print elements of an array with
2632 * gdb.fortran/vla.f90: Setup an array with negative bounds for
2635 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
2637 * gdb.base/options.exp (expect_string): Dequote strings in
2639 (test-string): Test strings with different quoting and reindent.
2641 2019-07-10 Tom Tromey <tromey@adacore.com>
2643 * gdb.ada/mi_ex_cond.exp: Update expected results.
2644 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
2645 * gdb.ada/mi_catch_ex.exp: Update expected results.
2646 * gdb.ada/mi_catch_assert.exp: Update expected results.
2647 * gdb.ada/catch_ex.exp (catch_exception_info)
2648 (catch_exception_entry, catch_assert_entry)
2649 (catch_unhandled_entry): Update.
2650 * gdb.ada/catch_assert_if.exp: Update expected results.
2652 2019-07-10 Richard Bunt <richard.bunt@arm.com>
2653 Stephen Roberts <stephen.roberts@arm.com>
2655 * gdb.base/define.exp: Restore original prompt.
2657 2019-07-09 Pedro Alves <palves@redhat.com>
2659 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
2660 breakpoints" output.
2661 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
2662 * gdb.python/py-breakpoint.exp: No longer expect that "catch
2663 throw" creates breakpoint.
2664 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
2665 'type="catchpoint"'.
2667 2019-07-09 Pedro Alves <palves@redhat.com>
2670 * gdb.cp/except-multi-location-lib.cc: New.
2671 * gdb.cp/except-multi-location-main.cc: New.
2672 * gdb.cp/except-multi-location.exp: New.
2674 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
2676 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
2677 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
2678 argument and update callers.
2680 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2682 * gdb.arch/amd64-break-on-asm-line.S: New file.
2683 * gdb.arch/amd64-break-on-asm-line.exp: New file.
2685 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2687 * gdb.base/printcmds.exp: Test printing C string and
2688 C wide string convenience vars without transiting via the inferior.
2689 Also make test names unique.
2691 2019-07-08 Alan Hayward <alan.hayward@arm.com>
2693 PR breakpoints/25011
2694 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
2696 2019-07-04 Pedro Alves <palves@redhat.com>
2698 * lib/gdb.exp (foreach_with_prefix): Don't return early if
2699 body returned ok(0), break(3) or continue(4).
2700 * gdb.testsuite/foreach_with_prefix.exp: New file.
2702 2019-07-04 Alan Hayward <alan.hayward@arm.com>
2704 * gdb.server/unittest.exp: Allow 0 unit tests to run.
2706 2019-07-03 Pedro Alves <palves@redhat.com>
2708 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
2711 2019-07-03 Pedro Alves <palves@redhat.com>
2714 * gdb.base/shell.exp: Load completion-support.exp.
2715 Adjust expected error output. Add completion tests.
2717 2019-07-03 Pedro Alves <palves@redhat.com>
2719 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
2722 2019-07-03 Pedro Alves <palves@redhat.com>
2724 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
2725 (expect_integer): Adjust to expect "-string".
2726 (expect_string): New.
2727 (all_options): Expect "-string".
2728 (test-flag, test-boolean): Adjust to expect "-string".
2729 (test-string): New proc.
2730 (top level): Call it.
2732 2019-07-03 Pedro Alves <palves@redhat.com>
2734 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
2735 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
2736 the expected output in the success.
2738 2019-07-03 Pedro Alves <palves@redhat.com>
2740 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
2741 Split one gdb_test_multiple call in two to avoid a race.
2743 2019-07-03 Pedro Alves <palves@redhat.com>
2745 * gdb.base/with.c: New file.
2746 * gdb.base/with.exp: New file.
2748 2019-07-03 Pedro Alves <palves@redhat.com>
2750 * gdb.base/settings.exp: Replace all references to "maint
2751 test-settings set" with references to "maint set test-settings",
2752 and all references to "maint test-settings show" with references
2753 to "maint show test-settings".
2755 2019-07-03 Pedro Alves <palves@redhat.com>
2757 * gdb.base/settings.exp (test-string): Adjust expected out when
2758 testing "maint test-settings show filename"
2760 2019-07-02 Pedro Alves <palves@redhat.com>
2762 * gdb.base/options.exp (test-info-threads): New procedure.
2763 (top level): Call it.
2765 2019-06-28 Tom Tromey <tromey@adacore.com>
2767 * gdb.dwarf2/ada-linkage-name.c: New file.
2768 * gdb.dwarf2/ada-linkage-name.exp: New file.
2770 2019-06-27 Tom Tromey <tromey@adacore.com>
2773 * gdb.cp/constexpr-field.exp: Use setup_xfail.
2775 2019-06-26 Tom de Vries <tdevries@suse.de>
2777 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
2779 2019-06-26 Tom de Vries <tdevries@suse.de>
2781 * gdb.base/index-cache.exp: Add back missing debug option.
2783 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2785 * gdb.base/alias.exp: Test non matching/non existing prefixes.
2787 2019-06-25 Tom de Vries <tdevries@suse.de>
2790 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
2792 2019-06-24 Tom de Vries <tdevries@suse.de>
2794 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
2796 2019-06-24 Tom de Vries <tdevries@suse.de>
2798 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
2799 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
2800 * gdb.trace/unavailable-dwarf-piece.exp: Same.
2802 2019-06-24 Tom de Vries <tdevries@suse.de>
2804 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
2806 2019-06-21 Tom de Vries <tdevries@suse.de>
2808 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
2810 2019-06-21 Tom de Vries <tdevries@suse.de>
2814 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
2817 2019-06-19 Tom Tromey <tromey@adacore.com>
2819 * gdb.ada/length_cond.exp: Add intro comment.
2821 2019-06-19 Tom Tromey <tromey@adacore.com>
2823 * gdb.ada/length_cond.exp: New file.
2824 * gdb.ada/length_cond/length_cond.adb: New file.
2825 * gdb.ada/length_cond/pck.adb: New file.
2826 * gdb.ada/length_cond/pck.ads: New file.
2828 2019-06-18 Tom de Vries <tdevries@suse.de>
2830 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
2832 2019-06-18 Tom Tromey <tromey@adacore.com>
2834 * gdb.base/list0.h: Add comment explaining control character.
2836 2019-06-18 Tom de Vries <tdevries@suse.de>
2838 * boards/fission.exp: Break up long debug_flags line.
2840 2019-06-16 Tom de Vries <tdevries@suse.de>
2843 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
2846 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
2849 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
2850 improve detection of bug gdb/24541.
2852 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
2855 * gdb.base/index-cache.exp (uses_readnow,
2856 expecting_index_cache_use): Define global variable.
2857 (test_cache_enabled_miss, test_cache_enabled_hit): Use
2858 expecting_index_cache_use.
2860 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
2861 Andrew Burgess <andrew.burgess@embecosm.com>
2863 * gdb.fortran/pointers.f90: New file.
2864 * gdb.fortran/print_type.exp: New file.
2865 * gdb.fortran/vla-ptype.exp: Adapt expected results.
2866 * gdb.fortran/vla-type.exp: Likewise.
2867 * gdb.fortran/vla-value.exp: Likewise.
2868 * gdb.mi/mi-vla-fortran.exp: Likewise.
2870 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2872 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
2873 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
2874 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
2877 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2879 * gdb.base/annota1.exp: Update expected results.
2880 * gdb.cp/annota2.exp: Likewise.
2881 * gdb.cp/annota3.exp: Likewise.
2883 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2885 * gdb.base/style-logging.exp: Remove path from test name.
2887 2019-06-14 Tom Tromey <tromey@adacore.com>
2890 * gdb.base/style-logging.exp: New file.
2892 2019-06-14 Tom Tromey <tromey@adacore.com>
2894 * gdb.base/symfile-warn.exp: New file.
2895 * gdb.base/symfile-warn.c: New file.
2897 2019-06-14 Tom Tromey <tromey@adacore.com>
2899 * gdb.base/annotate-symlink.exp: New file.
2901 2019-06-14 Tom Tromey <tromey@adacore.com>
2903 * gdb.ada/set_wstr.exp: Add reassignment test.
2905 2019-06-14 Tom Tromey <tromey@adacore.com>
2907 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
2908 'unchecked_access and 'unrestricted_access as well.
2910 2019-06-14 Tom Tromey <tromey@adacore.com>
2913 * gdb.ada/vla.exp: Update tests.
2914 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
2917 2019-06-13 Pedro Alves <palves@redhat.com>
2919 * gdb.base/settings.exp (test-integer): Test junk after
2922 2019-06-13 Pedro Alves <palves@redhat.com>
2924 * gdb.base/options.exp (test-thread-apply): New.
2925 (top level): Call it.
2927 2019-06-13 Pedro Alves <palves@redhat.com>
2929 * gdb.base/options.exp (test-frame-apply): New.
2930 (top level): Test print commands with different "frame apply"
2933 2019-06-13 Pedro Alves <palves@redhat.com>
2935 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
2936 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
2937 'max_completions' parameter and handle it.
2938 (test_gdb_completion_offers_commands): New.
2940 2019-06-13 Pedro Alves <palves@redhat.com>
2942 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
2944 2019-06-13 Pedro Alves <palves@redhat.com>
2946 * gdb.base/options.exp (test-backtrace): New.
2947 (top level): Call it.
2949 2019-06-13 Pedro Alves <palves@redhat.com>
2951 * gdb.guile/scm-frame-args.exp: Use "set print
2952 raw-frame-arguments" instead of "set print raw frame-arguments".
2953 * gdb.python/py-frame-args.exp: Likewise.
2955 2019-06-13 Pedro Alves <palves@redhat.com>
2957 * gdb.compile/compile.exp: Adjust expected output to option
2960 2019-06-13 Pedro Alves <palves@redhat.com>
2962 * gdb.base/options.exp: Build executable.
2963 (test-print): New procedure.
2964 (top level): Call it, once for "print" and another for "compile
2967 2019-06-13 Pedro Alves <palves@redhat.com>
2969 * gdb.base/options.c: New file.
2970 * gdb.base/options.exp: New file.
2972 2019-06-13 Pedro Alves <palves@redhat.com>
2974 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
2975 that "o" is ambiguous.
2977 2019-06-13 Pedro Alves <palves@redhat.com>
2979 * gdb.base/settings.c: New file.
2980 * gdb.base/settings.exp: New file.
2982 2019-06-13 Pedro Alves <palves@redhat.com>
2984 * gdb.base/completion.exp: Fix comment typo.
2986 2019-06-13 Pedro Alves <palves@redhat.com>
2988 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
2991 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
2993 * gdb.fortran/block-data.f: New.
2994 * gdb.fortran/block-data.exp: New.
2996 2019-06-11 Tom de Vries <tdevries@suse.de>
2999 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
3002 2019-06-11 Tom de Vries <tdevries@suse.de>
3005 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
3007 2019-06-11 Tom de Vries <tdevries@suse.de>
3009 * boards/readnow.exp: New file.
3011 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
3013 * gdb.fortran/vla-sizeof.exp: Update expected results.
3015 2019-06-06 Amos Bird <amosbird@gmail.com>
3017 * gdb.base/annota1.exp (thread_switch): Add test for
3018 thread-exited annotation.
3020 2019-06-06 Tom Tromey <tromey@adacore.com>
3022 * gdb.base/maint.exp: Expect command started/finished output.
3024 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
3026 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
3028 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
3030 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
3032 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
3033 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
3034 * gdb.arch/riscv-unwind-long-insn.c: New file.
3035 * gdb.arch/riscv-unwind-long-insn.exp: New file.
3037 2019-06-04 Christian Biesinger <cbiesinger@google.com>
3039 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
3041 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3043 * lib/gdb.exp (help_list_trailer): New regexp variable
3044 factorizing the help trailer message.
3045 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
3046 arg to allow to better factorize various tests.
3047 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
3048 (test_prefix_command_help): Use help_list_trailer.
3049 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
3050 * gdb.guile/scm-cmd.exp: Likewise.
3051 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
3052 * gdb.base/help.exp: Use test_user_defined_class_help.
3053 * gdb.base/style.exp: Add tests for styling of help and apropos.
3054 * lib/gdb-utils.exp (style): Add title and highlight styles.
3056 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3058 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
3060 * gdb.base/default.exp: Update for new convenience variables.
3062 2019-05-29 Tom Tromey <tromey@adacore.com>
3064 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
3065 to "break complete ada" test case's regexp.
3067 2019-05-29 Tom Tromey <tromey@adacore.com>
3070 * gdb.cp/constexpr-field.exp: New file.
3071 * gdb.cp/constexpr-field.cc: New file.
3073 2019-05-29 Tom Tromey <tromey@adacore.com>
3075 * gdb.base/finish.exp (finish_no_print): New proc.
3076 (finish_tests): Call it.
3078 2019-05-24 Tom de Vries <tdevries@suse.de>
3080 * gdb.dwarf2/gdb-add-index.exp: New file.
3082 2019-05-22 Tom Tromey <tromey@adacore.com>
3084 * gdb.base/info-shared.exp (check_info_shared): Use "style".
3085 * gdb.base/style.exp: Use "style".
3086 * lib/gdb-utils.exp (style): New proc.
3088 2019-05-22 Tom de Vries <tdevries@suse.de>
3090 * gdb.base/align.exp: Require c++11.
3092 2019-05-22 Tom de Vries <tdevries@suse.de>
3095 * gdb.python/py-mi-var-info-path-expression.exp: Call
3096 mi_skip_python_tests to check if python is supported.
3098 2019-05-22 Alan Hayward <alan.hayward@arm.com>
3100 * gdb.arch/aarch64-pauth.c: New test.
3101 * gdb.arch/aarch64-pauth.exp: New file.
3103 2019-05-22 Alan Hayward <alan.hayward@arm.com>
3105 * README (Re-running Tests Outside The Testsuite): New section.
3107 2019-05-21 Tom de Vries <tdevries@suse.de>
3109 * gdb.arch/amd64-eval.exp: Require c++11.
3110 * gdb.base/max-depth.exp: Same.
3111 * gdb.compile/compile-cplus-array-decay.exp: Same.
3112 * gdb.cp/meth-typedefs.exp: Same.
3113 * gdb.cp/subtypes.exp: Same.
3114 * gdb.cp/temargs.exp: Same.
3116 2019-05-21 Alan Hayward <alan.hayward@arm.com>
3118 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
3120 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
3123 * gdb.fortran/complex.exp: Remove setup_kfail calls.
3124 * gdb.fortran/printing-types.exp: Add new test.
3125 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
3127 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
3130 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3132 * README (Running the Testsuite): Change example.
3133 (Testsuite Parameters): Remove TRANSCRIPT.
3134 * lib/gdb.exp: Remove TRANSCRIPT check.
3136 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3138 * README (Testsuite Parameters): Add replay logging to
3140 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
3141 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
3142 as a comma separated list.
3143 (gdb_debug_init): Override procedure.
3145 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3147 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
3148 (gdb_write_cmd_file): New procedure.
3149 * lib/gdbserver-support.exp (gdbserver_start): Call
3150 gdbserver_write_cmd_file.
3151 (gdbserver_write_cmd_file): New procedure.
3153 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3155 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
3156 (delete_breakpoints): Likewise.
3157 (gdb_run_cmd): Likewise.
3158 (gdb_start_cmd): Likewise.
3159 (gdb_starti_cmd): Likewise.
3160 (gdb_internal_error_resync): Likewise.
3161 (gdb_test_multiple): Likewise.
3162 (gdb_reinitialize_dir): Likewise.
3163 (default_gdb_exit): Likewise.
3164 (gdb_file_cmd): Mark kill as optional.
3165 (default_gdb_start): Call gdb_stdin_log_init.
3166 (send_gdb): Call gdb_stdin_log_write.
3167 (rerun_to_main): Mark Y as an answer.
3168 (gdb_stdin_log_init): New function.
3169 (gdb_stdin_log_write): Likewise.
3171 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3173 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
3174 * gdb.base/debug-expr.exp: Likewise.
3175 * gdb.base/foll-fork.exp: Likewise.
3176 * gdb.base/foll-vfork.exp: Likewise.
3177 * gdb.base/fork-print-inferior-events.exp: Likewise.
3178 * gdb.base/gdb-sigterm.exp: Likewise.
3179 * gdb.base/gdbinit-history.exp: Likewise.
3180 * gdb.base/osabi.exp: Likewise.
3181 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
3182 * gdb.base/ui-redirect.exp: Likewise.
3183 * gdb.gdb/unittest.exp: Likewise.
3184 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
3185 * gdb.mi/mi-watch.exp: Likewise.
3186 * gdb.mi/new-ui-mi-sync.exp: Likewise.
3187 * gdb.mi/user-selected-context-sync.exp: Likewise.
3188 * gdb.python/python.exp: Disable debug test when debugging.
3189 * gdb.threads/check-libthread-db.exp: Disable when debugging.
3190 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3192 * gdb.threads/stepi-random-signal.exp: Likewise.
3194 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3196 * Makefile.in: Pass through GDB_DEBUG.
3197 * README (Testsuite Parameters): Add GDB_DEBUG.
3198 (gdb,debug): Add board setting.
3199 * lib/gdb.exp (default_gdb_start): Start debugging.
3200 (gdb_debug_enabled): New procedure.
3201 (gdb_debug_init): Likewise.
3203 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3205 * Makefile.in: Pass through GDB_DEBUG.
3206 * README (Testsuite Parameters): Add GDB_DEBUG.
3207 (gdb,debug): Add board setting.
3208 * lib/gdb.exp (default_gdb_start): Start debugging.
3209 (gdb_debug_enabled): New procedure.
3210 (gdb_debug_init): Likewise.
3212 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3214 * gdb.base/ui-redirect.exp: Add debug redirect tests.
3216 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3218 * gdb.base/ui-redirect.exp: Test redirection.
3220 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
3222 * gdb.mi/mi-complete.exp: New file.
3223 * gdb.mi/mi-complete.cc: Likewise.
3225 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
3227 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
3228 indexed and sliced arrays, and pointers to arrays.
3230 2019-05-14 Tom Tromey <tromey@adacore.com>
3232 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
3235 2019-05-14 Tom de Vries <tdevries@suse.de>
3237 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
3238 selection entry encoding.
3240 2019-05-10 Tom Tromey <tromey@adacore.com>
3242 * gdb.ada/info_exc.exp: Add "complete" test.
3244 2019-05-09 Tom de Vries <tdevries@suse.de>
3246 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
3249 2019-05-09 Tom de Vries <tdevries@suse.de>
3251 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
3254 2019-05-08 Joel Brobecker <brobecker@adacore.com>
3256 * gdb.ada/frame_arg_lang.exp: New testcase.
3257 * gdb.ada/frame_arg_lang/bla.adb: New file.
3258 * gdb.ada/frame_arg_lang/pck.ads: New file.
3259 * gdb.ada/frame_arg_lang/pck.adb: New file.
3260 * gdb.ada/frame_arg_lang/foo.c: New file.
3262 2019-05-08 Tom Tromey <tromey@adacore.com>
3264 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
3266 2019-05-08 Tom Tromey <tromey@adacore.com>
3268 * gdb.base/ptype-offsets.exp: Update tests.
3270 2019-05-08 Tom Tromey <tromey@adacore.com>
3272 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
3274 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
3277 2019-05-08 Tom Tromey <tromey@adacore.com>
3279 * gdb.ada/vla.exp: New file.
3280 * gdb.ada/vla/vla.adb: New file.
3282 2019-05-07 Tom de Vries <tdevries@suse.de>
3284 * gdb.base/index-cache.exp (ls_host): Fix return statement.
3286 2019-05-07 Tom de Vries <tdevries@suse.de>
3289 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
3292 2019-05-07 Tom de Vries <tdevries@suse.de>
3295 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
3296 .debug_aranges section.
3298 2019-05-07 Tom de Vries <tdevries@suse.de>
3301 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
3303 2019-05-06 Tom de Vries <tdevries@suse.de>
3305 * lib/gdb.exp (exec_has_index_section): New proc.
3306 * gdb.base/index-cache.exp: Handle case that binfile contains an index
3309 2019-05-04 Tom de Vries <tdevries@suse.de>
3311 * boards/cc-with-debug-names.exp: New file.
3313 2019-05-03 Tom Tromey <tromey@adacore.com>
3315 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
3316 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
3317 * gdb.ada/char_enum.exp: Add test.
3319 2019-05-03 Tom de Vries <tdevries@suse.de>
3321 * boards/cc-with-gdb-index.exp: New file.
3323 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
3325 * gdb.rust/simple.exp: Add new test case.
3326 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
3327 (main): Initialise an instance of the new struct.
3329 2019-05-01 Tom Tromey <tromey@adacore.com>
3331 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
3333 (NPR): New variable.
3334 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
3337 2019-05-01 Tom Tromey <tromey@adacore.com>
3339 * gdb.ada/packed_array_assign.exp: Add packed assignment
3342 2019-05-01 Tom de Vries <tdevries@suse.de>
3344 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
3346 2019-05-01 Tom de Vries <tdevries@suse.de>
3348 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
3350 2019-04-30 Ali Tamur <tamur@google.com>
3352 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
3354 2019-04-30 Tom Tromey <tromey@adacore.com>
3356 * lib/ada.exp (find_ada_tool): New proc.
3357 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
3358 * gdb.ada/catch_ex_std.exp: New file.
3359 * gdb.ada/catch_ex_std/foo.adb: New file.
3360 * gdb.ada/catch_ex_std/some_package.adb: New file.
3361 * gdb.ada/catch_ex_std/some_package.ads: New file.
3363 2019-04-30 Tom Tromey <tromey@adacore.com>
3366 * gdb.cp/temargs.cc: Add test code from PR.
3368 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3370 * gdb.fortran/vla-datatypes.exp: Update expected results.
3371 * gdb.fortran/vla-ptype.exp: Likewise.
3372 * gdb.fortran/vla-type.exp: Likewise.
3373 * gdb.fortran/vla-value.exp: Likewise.
3375 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3377 * gdb.fortran/ptr-indentation.exp: Update expected results.
3378 * gdb.fortran/ptype-on-functions.exp: Likewise.
3379 * gdb.fortran/vla-ptr-info.exp: Likewise.
3380 * gdb.fortran/vla-value.exp: Likewise.
3382 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3384 * gdb.fortran/ptype-on-functions.exp: New file.
3385 * gdb.fortran/ptype-on-functions.f90: New file.
3387 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3389 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
3392 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3394 * gdb.fortran/complex.exp: Expand.
3395 * gdb.fortran/complex.f: Renamed to...
3396 * gdb.fortran/complex.f90: ...this, and extended to add more
3399 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3401 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
3404 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
3405 Richard Bunt <richard.bunt@arm.com>
3407 * gdb.base/max-depth.c: New file.
3408 * gdb.base/max-depth.exp: New file.
3409 * gdb.python/py-nested-maps.c: New file.
3410 * gdb.python/py-nested-maps.exp: New file.
3411 * gdb.python/py-nested-maps.py: New file.
3412 * gdb.python/py-format-string.exp (test_max_depth): New proc.
3413 (test_all_common): Call test_max_depth.
3414 * gdb.fortran/max-depth.exp: New file.
3415 * gdb.fortran/max-depth.f90: New file.
3416 * gdb.go/max-depth.exp: New file.
3417 * gdb.go/max-depth.go: New file.
3418 * gdb.modula2/max-depth.exp: New file.
3419 * gdb.modula2/max-depth.c: New file.
3420 * lib/gdb.exp (get_print_expr_at_depths): New proc.
3422 2019-04-29 Tom de Vries <tdevries@suse.de>
3424 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
3426 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3428 * gdb.base/callexit.exp: Test may-call-functions off.
3430 2019-04-25 Keith Seitz <keiths@redhat.com>
3433 * gdb.cp/meth-typedefs.cc (incomplete_struct)
3434 (another_incomplete_struct, test_incomplete): New definitions.
3435 (main): Use new definitions.
3436 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
3439 2019-04-25 Ali Tamur <tamur@google.com>
3441 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
3443 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
3447 * gdb.base/coredump-filter-build-id.exp: New file.
3449 2019-04-25 Alan Hayward <alan.hayward@arm.com>
3451 * Makefile.in: Pass through GDBSERVER_DEBUG.
3452 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
3453 (gdbserver,debug): Add board setting.
3454 * gdb.trace/tspeed.exp: Skip when debugging.
3455 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
3456 * lib/gdbserver-support.exp: Likewise
3458 2019-04-24 Tom Tromey <tromey@adacore.com>
3460 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
3463 2019-04-24 Tom Tromey <tromey@adacore.com>
3465 * gdb.arch/amd64-eval.exp: Test bitfield return.
3466 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
3467 (class Foo) <return_bitfields>: New method.
3470 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
3472 * gdb.cp/many-args.cc: New file.
3473 * gdb.cp/many-args.exp: New file.
3475 2019-04-23 Tom de Vries <tdevries@suse.de>
3478 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
3480 2019-04-23 Alan Hayward <alan.hayward@arm.com>
3482 * gdb.trace/backtrace.exp: Use nopie flag.
3483 * gdb.trace/circ.exp: Likewise.
3484 * gdb.trace/collection.exp: Likewise.
3485 * gdb.trace/ftrace.exp: Likewise.
3486 * gdb.trace/mi-trace-unavailable.exp: Likewise.
3487 * gdb.trace/mi-traceframe-changed.exp: Likewise.
3488 * gdb.trace/qtro.exp: Likewise.
3489 * gdb.trace/read-memory.exp: Likewise.
3490 * gdb.trace/report.exp: Likewise.
3491 * gdb.trace/tfile.exp: Likewise.
3492 * gdb.trace/tfind.exp: Likewise.
3493 * gdb.trace/unavailable.exp: Likewise.
3495 2019-04-22 Pedro Alves <palves@redhat.com>
3497 * gdb.base/solib-probes-nosharedlibrary.c,
3498 gdb.base/solib-probes-nosharedlibrary.exp: New files.
3500 2019-04-19 Tom Tromey <tromey@adacore.com>
3502 * gdb.ada/ptype_union.c: New file.
3503 * gdb.ada/ptype_union.exp: New file.
3505 2019-04-19 Tom Tromey <tromey@adacore.com>
3508 * gdb.base/list0.h (foo): Add a control-l character.
3510 2019-04-18 Tom de Vries <tdevries@suse.de>
3513 * boards/local-board.exp: Set sysroot to "".
3515 2019-04-18 Tom de Vries <tdevries@suse.de>
3516 Pedro Alves <palves@redhat.com>
3519 * gdb.threads/vfork-follow-child-exec.c: New file.
3520 * gdb.threads/vfork-follow-child-exec.exp: New file.
3521 * gdb.threads/vfork-follow-child-exit.c: New file.
3522 * gdb.threads/vfork-follow-child-exit.exp: New file.
3524 2019-04-15 Leszek Swirski <leszeks@google.com>
3526 * gdb.arch/amd64-eval.cc: New file.
3527 * gdb.arch/amd64-eval.exp: New file.
3529 2019-04-11 Alan Hayward <alan.hayward@arm.com>
3531 * gdb.server/sysroot.c: New test.
3532 * gdb.server/sysroot.exp: New file.
3533 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
3536 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
3538 * gdb.base/align.exp: Extend test to cover structures containing
3541 2019-04-11 Tom de Vries <tdevries@suse.de>
3543 * boards/cc-with-dwz-m.exp: New file.
3544 * boards/cc-with-dwz.exp: New file.
3545 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
3547 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
3549 * gdb.base/start-cpp.exp: New file.
3550 * gdb.base/start-cpp.cc: New file.
3552 2019-04-08 Kevin Buettner <kevinb@redhat.com>
3554 * gdb.python/py-thrhandle.exp: Adjust tests to call
3555 thread_from_handle instead of thread_from_thread_handle.
3557 2019-04-08 Kevin Buettner <kevinb@redhat.com>
3559 * gdb.python/py-thrhandle.exp: Add tests for
3560 gdb.InferiorThread.handle.
3562 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3564 * gdb.python/py-function.exp: Check calling helper function from
3566 * lib/gdb.exp (gdb_supported_languages): New proc.
3568 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3570 * gdb.base/complex-parts.c: New file.
3571 * gdb.base/complex-parts.exp: New file.
3573 2019-04-01 Tom Tromey <tromey@adacore.com>
3576 * gdb.dwarf2/dw2-ranges-main.c: New file.
3577 * gdb.dwarf2/dw2-ranges-psym.c: New file.
3578 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
3580 2019-03-30 Simon Marchi <simark@simark.ca>
3582 * gdb.base/default.exp: Add values for $_gdb_major and
3585 2019-03-29 Tom Tromey <tromey@adacore.com>
3587 * gdb.base/help.exp: Tighten apropos regexp.
3589 2019-03-29 Keith Seitz <keiths@redhat.com>
3591 * gdb.fortran/array-bounds.exp: New file.
3592 * gdb.fortran/array-bounds.f90: New file.
3594 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3596 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
3598 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3600 * gdb.multi/hello.c (main): Increase alarm timer.
3602 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
3604 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
3605 factor when no hardware watchpoint support.
3607 2019-03-28 Alan Hayward <alan.hayward@arm.com>
3608 Pedro Alves <palves@redhat.com>
3610 * boards/local-board.exp: set sysroot to /.
3612 2019-03-27 Alan Hayward <alan.hayward@arm.com>
3614 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
3617 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3619 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
3621 (make_container): Initialise new field.
3622 * gdb.python/py-prettyprint.exp: Add new tests.
3623 * gdb.python/py-prettyprint.py (class ContainerPrinter)
3624 <display_hint>: New method.
3626 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3628 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
3629 gdb_continue_to_breakpoint more throughout this test.
3630 (run_lang_tests) Supply unique test names, and use
3633 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3635 * gdb.base/finish-pretty.exp: Update expected results.
3636 * gdb.base/pretty-print.c: New file.
3637 * gdb.base/pretty-print.exp: New file.
3639 2019-03-25 Pedro Alves <palves@redhat.com>
3641 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
3642 move comments outside list. Append '-i "" eof' section.
3644 2019-03-22 Alan Hayward <alan.hayward@arm.com>
3647 * README: Add pie options.
3648 * gdb.base/break-interp.exp: Ensure pie is disabled.
3649 * gdb.base/dump.exp: Likewise.
3650 * lib/gdb.exp (gdb_compile): Add pie option.
3652 2019-03-19 Tom Tromey <tromey@adacore.com>
3654 * gdb.mi/mi2-cli-display.c: New file.
3655 * gdb.mi/mi2-cli-display.exp: New file.
3657 2019-03-18 Joel Brobecker <brobecker@adacore.com>
3658 Tom Tromey <tromey@adacore.com>
3660 * gdb.ada/ptype_array/pck.adb: New file.
3661 * gdb.ada/ptype_array/pck.ads: New file.
3662 * gdb.ada/ptype_array/foo.adb: New file.
3663 * gdb.ada/ptype_array.exp: New file.
3665 2019-03-14 Tom Tromey <tromey@adacore.com>
3667 * gdb.base/style.exp: Add "set style sources" test.
3669 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
3671 * mi-breakpoint-location-ena-dis.exp: Rename to ...
3672 * mi-breakpoint-multiple-locations.exp: ... this.
3673 (make_breakpoints_pattern): New proc.
3674 (do_test): Add mi_version parameter, test -break-insert,
3675 -break-info and =breakpoint-created.
3677 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
3679 * config/default.exp: Remove 'load_lib gdb.exp'.
3680 * config/monitor.exp: Likewise.
3681 * config/sid.exp: Likewise.
3682 * config/sim.exp: Likewise.
3683 * config/slite.exp: Likewise.
3684 * config/unix.exp: Likewise.
3685 * gdb.base/default.exp: Remove unhelpful comment.
3687 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3689 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
3691 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3693 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
3695 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3697 * gdb.fortran/type-kinds.exp: Update expected results.
3699 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3701 * gdb.fortran/type-kinds.exp: Test new integer type kind.
3703 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3705 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
3707 (test_basic_parsing_of_type_kinds): Expand types tested.
3708 (test_parsing_invalid_type_kinds): New function.
3710 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3712 * gdb.fortran/intrinsics.exp: New file.
3713 * gdb.fortran/intrinsics.f90: New file.
3714 * gdb.fortran/type-kinds.exp: New file.
3716 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3718 * gdb.fortran/dot-ops.exp: New file.
3720 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3722 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
3723 Check upper and lower case logical literals.
3725 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3727 * gdb.fortran/types.exp (test_float_literal_types_accepted):
3728 Remove duplicate tests.
3730 2019-03-06 Alan Hayward <alan.hayward@arm.com>
3732 * lib/gdb.exp (builtin_cd): rename of cd.
3733 (cd): Override builtin.
3735 2019-03-06 Richard Bunt <richard.bunt@arm.com>
3737 * gdb.fortran/function-calls.exp: New file.
3738 * gdb.fortran/function-calls.f90: New test.
3740 2019-03-04 Richard Bunt <richard.bunt@arm.com>
3742 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
3743 on user program standard output.
3744 * gdb.fortran/short-circuit-argument-list.f90: Record function
3747 2019-02-28 Alan Hayward <alan.hayward@arm.com>
3749 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
3752 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3755 * gdb.base/interrupt-daemon-attach.c,
3756 gdb.base/interrupt-daemon-attach.exp: New test.
3758 2019-02-27 Pedro Alves <palves@redhat.com>
3760 * gdb.base/page.exp: Add tests for "set width/height -1".
3762 2019-02-27 Pedro Alves <palves@redhat.com>
3764 * gdb.base/page.exp: Add tests for "set/show width/height" with
3767 2019-02-27 Tom Tromey <tromey@adacore.com>
3769 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
3771 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
3774 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
3776 * gdb.base/align.exp: Extend to compile in both C and C++, and add
3777 tests for structs with static members.
3779 2019-02-26 Tom Tromey <tromey@adacore.com>
3781 * gdb.python/py-value.exp (test_value_from_buffer): Check for
3782 ValueError, not TypeError.
3784 2019-02-26 Kevin Buettner <kevinb@redhat.com>
3786 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
3787 call from main program.
3789 2019-02-23 Joel Brobecker <brobecker@adacore.com>
3791 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
3792 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
3793 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
3794 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
3795 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
3797 2019-02-22 Keith Seitz <keiths@redhat.com>
3800 * gdb.base/symlink-sourcefile.c: New file.
3801 * gdb.base/symlink-sourcefile.exp: New file.
3803 2019-02-20 Tom Tromey <tom@tromey.com>
3805 * gdb.base/info_qt.exp: Update.
3807 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
3809 * gdb.base/source.exp: Move "error in sourced script" code to
3811 * gdb.base/source-error.gdb: Move contents to
3812 source-error-1.gdb. Add new code to source source-error-1.gdb.
3813 * gdb.base/source-error-1.gdb: New file, from previous
3816 2019-02-17 Tom Tromey <tom@tromey.com>
3818 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
3820 * gdb.base/style.c (SOME_MACRO): New macro.
3822 2019-02-17 Tom Tromey <tom@tromey.com>
3824 * gdb.base/style.exp: Add line-wrapping tests.
3825 * gdb.base/page.exp: Add test for quitting during pagination.
3827 2019-02-17 Joel Brobecker <brobecker@adacore.com>
3829 * gdb.ada/big_packed_array: New testcase.
3830 * gdb.ada/homonym.exp: Fix incorrect expected output for
3831 "break <homonym__get_value>" test.
3833 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
3835 PR breakpoints/21870
3836 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
3837 and prepare_for_testing. Add comment.
3838 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
3839 redundant cleanup call. Clean up comment.
3841 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
3843 PR breakpoints/21870
3844 * gdb.arch/aarch64-dbreg-contents.exp: New file.
3845 * gdb.arch/aarch64-dbreg-contents.c: New file.
3847 2019-02-10 Joel Brobecker <brobecker@adacore.com>
3849 * gdb.ada/mi_ref_changeable: New testcase.
3851 2019-02-07 Alan Hayward <alan.hayward@arm.com>
3853 * gdb.base/attach.exp: Add double attach test.
3855 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
3857 * lib/gdb.exp (default_gdb_start): Don't match pagination
3859 (gdb_init): Set stty_init.
3861 2019-01-27 Tom Tromey <tom@tromey.com>
3863 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
3866 2019-01-24 Alan Hayward <alan.hayward@arm.com>
3868 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
3870 (struct struct_static_02_02): Likewise.
3871 (struct struct_static_02_03): Likewise.
3872 (struct struct_static_02_04): Likewise.
3873 (struct struct_static_04_01): Likewise.
3874 (struct struct_static_04_02): Likewise.
3875 (struct struct_static_04_03): Likewise.
3876 (struct struct_static_04_04): Likewise.
3877 (struct struct_static_06_01): Likewise.
3878 (struct struct_static_06_02): Likewise.
3879 (struct struct_static_06_03): Likewise.
3880 (struct struct_static_06_04): Likewise.
3881 (cmp_struct_static_02_01): Likewise.
3882 (cmp_struct_static_02_02): Likewise.
3883 (cmp_struct_static_02_03): Likewise.
3884 (cmp_struct_static_02_04): Likewise.
3885 (cmp_struct_static_04_01): Likewise.
3886 (cmp_struct_static_04_02): Likewise.
3887 (cmp_struct_static_04_03): Likewise.
3888 (cmp_struct_static_04_04): Likewise.
3889 (cmp_struct_static_06_01): Likewise.
3890 (cmp_struct_static_06_02): Likewise.
3891 (cmp_struct_static_06_03): Likewise.
3892 (cmp_struct_static_06_04): Likewise.
3893 (call_all): Test new structs.
3894 * gdb.base/infcall-nested-structs.exp: Likewise.
3896 2019-01-21 Alan Hayward <alan.hayward@arm.com>
3897 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
3899 2019-01-21 Alan Hayward <alan.hayward@arm.com>
3900 * gdb.base/stack-protector.c: New test.
3901 * gdb.base/stack-protector.exp: New file.
3902 * gdb.cp/ovldbreak.exp: Only allow a single break line.
3903 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
3905 (gdb_compile): Remove stack protector for GCC and prevent
3908 2019-01-16 Keith Seitz <keiths@redhat.com>
3911 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
3913 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3915 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
3917 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
3919 * gdb.arch/powerpc-vector-regs.c: New file.
3920 * gdb.arch/powerpc-vector-regs.exp: New file.
3922 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3924 * gdb.arch/altivec-regs.exp: Fix the list passed to
3925 gdb_expect_list when testing "info vector".
3927 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
3929 * gdb.base/style.exp: Don't include path in testname.
3931 2019-01-10 Keith Seitz <keiths@redhat.com>
3935 * gdb.dwarf2/multidictionary.exp: New file.
3937 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
3939 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
3940 (test_gnuv3_style_demangling): ... this.
3941 (test_lucid_style_demangling): Remove.
3942 (test_arm_style_demangling): Remove.
3943 (test_hp_style_demangling): Remove.
3944 (do_tests): Remove calls to the above.
3946 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3948 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
3951 2019-01-06 Tom Tromey <tom@tromey.com>
3954 * gdb.dwarf2/typedef-void-finish.exp: New file.
3956 2018-12-28 Tom Tromey <tom@tromey.com>
3957 Simon Marchi <simark@simark.ca>
3959 * gdb.base/jit-exec.exp: New file.
3960 * gdb.base/jit-exec.c: New file.
3961 * gdb.base/jit-execd.c: New file.
3963 2018-12-28 Tom Tromey <tom@tromey.com>
3965 * gdb.base/style.exp: Update test to check for address styling.
3967 2018-12-28 Tom Tromey <tom@tromey.com>
3969 * gdb.base/style.exp: Add test for styling of "Reading symbols"
3972 2018-12-28 Tom Tromey <tom@tromey.com>
3974 * gdb.base/style.exp: Add test for version number styling.
3976 2018-12-28 Tom Tromey <tom@tromey.com>
3978 * gdb.base/style.exp: Add test for print_address_symbolic.
3980 2018-12-28 Tom Tromey <tom@tromey.com>
3982 * gdb.base/style.exp: Add test for breakpoint setting.
3984 2018-12-28 Tom Tromey <tom@tromey.com>
3986 * gdb.base/style.exp: Add test for variable names.
3988 2018-12-28 Tom Tromey <tom@tromey.com>
3990 * gdb.base/style.exp: New file.
3991 * gdb.base/style.c: New file.
3993 2018-12-28 Tom Tromey <tom@tromey.com>
3995 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
3997 * gdb.base/readline.exp (operate_and_get_next): Save and restore
3998 the TERM environment variable.
4000 2018-12-27 Tom Tromey <tom@tromey.com>
4002 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
4005 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
4007 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
4008 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
4010 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4012 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
4013 Filename a.adb changed to bp_fun_addr.adb.
4014 gdb.ada/bp_fun_addr.exp: Update test accordingly.
4016 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
4018 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
4019 non-PIE executables.
4020 * README: Mention the gdb,nopie_flag board setting.
4021 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
4023 * gdb.arch/amd64-entry-value.exp: Likewise.
4024 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
4025 * gdb.arch/i386-float.exp: Likewise.
4026 * gdb.arch/i386-signal.exp: Likewise.
4027 * gdb.mi/mi-reg-undefined.exp: Likewise.
4029 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
4032 * gdb.base/info-os.exp: Check return for unknown "info os" type.
4034 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4036 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
4037 Update order of results accordingly.
4039 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
4041 * gdb.base/annota1.exp: Update a test regexp.
4043 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4045 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
4047 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4049 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
4050 (reuse_time): Initialize to REUSE_TIME_CAP.
4051 (check_rc): New function.
4052 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
4053 Check pthread_create rc.
4054 (spawner_thread_func): Check pthread_create and pthread_join rc.
4056 2018-12-08 Pedro Alves <palves@redhat.com>
4058 * gdb.base/list.exp (test_forward_search): Rename to ...
4059 (test_forward_reverse_search): ... this. Also test reverse-search
4060 and the forward-search alias.
4062 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
4064 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
4065 local timeout variable before return, and remove all local timeout
4067 (gdb_load): Likewise.
4069 2018-12-01 Tom de Vries <tdevries@suse.de>
4071 * gdb.base/gdb-caching-proc.exp: New file.
4073 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
4075 * Makefile.in (TIMESTAMP): New variable.
4076 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
4078 (check-single-racy): Likewise.
4079 (check/%.exp): Likewise.
4080 (check-racy/%.exp): Likewise.
4081 (workers/%.worker): Likewise.
4082 (build-perf): Likewise.
4083 (check-perf): Likewise.
4084 * README: Describe new "TS" and "TS_FORMAT" variables.
4085 * print-ts.py: New file.
4087 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
4090 * gdb.python/python.exp: Test command repetition after
4093 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
4095 * gdb.opt/inline-break.exp: Add test that info breakpoint output
4096 is correctly aligned.
4098 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4100 * gdb.ada/info_auto_lang.exp: New testcase.
4101 * gdb.ada/info_auto_lang/global_pack.ads: New file.
4102 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
4103 * gdb.ada/info_auto_lang/some_c.c: New file.
4105 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4107 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
4108 FUNC_lang language syntax.
4110 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4112 * gdb.base/info_minsym.c: New file.
4113 * gdb.base/info_minsym.exp: New file.
4115 2018-11-19 Tom Tromey <tom@tromey.com>
4118 * gdb.rust/simple.exp: Add ptype test. Update expected output.
4119 * gdb.rust/expr.exp: Update expected output. Change one test.
4121 2018-11-19 Tom Tromey <tom@tromey.com>
4123 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
4125 2018-11-19 Pedro Alves <palves@redhat.com>
4127 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
4128 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
4129 see the expected warning.
4131 2018-11-16 Alan Hayward <alan.hayward@arm.com>
4134 * gdb.cp/infcall-nodebug-lib.c: New test.
4135 * gdb.cp/infcall-nodebug-main.c: New test.
4136 * gdb.cp/infcall-nodebug.exp: New file.
4138 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
4140 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
4143 2018-11-09 Tom de Vries <tdevries@suse.de>
4145 * gdb.base/msym-lang.c: New test.
4146 * gdb.base/msym-lang.exp: New file.
4147 * gdb.base/msym-lang-main.c: New test.
4149 2018-11-08 Tom Tromey <tom@tromey.com>
4153 * gdb.base/warning.exp: New file.
4155 2018-11-08 Jan Beulich <jbeulich@suse.com>
4157 * testsuite/gdb.arch/i386-avx512.c,
4158 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
4160 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
4162 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
4165 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
4167 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
4168 * gdb.dwarf2/missing-type-name.exp: New file.
4170 2018-11-06 Tom de Vries <tdevries@suse.de>
4172 * gdb.base/many-headers.c: New test.
4173 * gdb.base/many-headers.exp: New file.
4175 2018-11-06 Jim Wilson <jimw@sifive.com>
4177 * gdb.base/code_elim.exp: For riscv, set additional_flags
4178 to include -msmall-data-limit=0.
4180 2018-11-01 Joel Brobecker <brobecker@adacore.com>
4182 * gdb.ada/watch_minus_l: New testcase.
4184 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
4186 * gdb.arch/aix-sighandle.c: New file.
4187 * gdb.arch/aix-sighandle.exp: New file.
4189 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4191 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
4192 registers being unions.
4194 2018-10-31 Tom de Vries <tdevries@suse.de>
4196 * lib/valgrind.exp: New file.
4197 (vgdb_start, vgdb_stop): New procs, factored out of ...
4198 * gdb.base/valgrind-bt.exp: ... here, ...
4199 * gdb.base/valgrind-disp-step.exp: ... here and ...
4200 * gdb.base/valgrind-infcall.exp: ... here.
4202 2018-10-31 Tom de Vries <tdevries@suse.de>
4204 * lib/gdb.exp (get_valueof): Don't output read value in test name.
4206 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4208 * gdb.dwarf2/void-type.c: New file.
4209 * gdb.dwarf2/void-type.exp: New file.
4211 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4213 * gdb.base/info_qt.c: New file.
4214 * gdb.base/info_qt.exp: New file.
4216 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4218 * gdb.arch/powerpc-htm-regs.c: New file.
4219 * gdb.arch/powerpc-htm-regs.exp: New file.
4221 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4223 * gdb.arch/powerpc-tar.c: New file.
4224 * gdb.arch/powerpc-tar.exp: New file.
4226 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4228 * gdb.arch/powerpc-ppr-dscr.c: New file.
4229 * gdb.arch/powerpc-ppr-dscr.exp: New file.
4231 2018-10-25 Tom de Vries <tdevries@suse.de>
4233 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
4235 2018-10-24 Tom de Vries <tdevries@suse.de>
4237 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
4238 longer exists error.
4240 2018-10-24 Tom de Vries <tdevries@suse.de>
4242 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
4244 2018-10-24 Tom de Vries <tdevries@suse.de>
4246 * gdb.base/valgrind-db-attach.exp: Handle removed support for
4247 --db-attach in valgrind.
4249 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
4251 * gdb.arch/riscv-reg-aliases.c: New file.
4252 * gdb.arch/riscv-reg-aliases.exp: New file.
4254 2018-10-19 Alan Hayward <alan.hayward@arm.com>
4256 * gdb.python/py-cmd.exp: Check for gdb_prompt.
4258 2018-10-19 Alan Hayward <alan.hayward@arm.com>
4260 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
4262 2018-10-19 Alan Hayward <alan.hayward@arm.com>
4264 * gdb.cp/ovldbreak.exp: Fix regexps.
4266 2018-10-19 Alan Hayward <alan.hayward@arm.com>
4268 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
4270 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
4273 * gdb.base/restore.exp: New test to check if "restore" with an
4274 invalid file doesn't segfault.
4276 2018-10-18 Tom de Vries <tdevries@suse.de>
4278 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
4279 * gdb.ada/excep_handle.exp: Same.
4280 * gdb.ada/mi_string_access.exp: Same.
4281 * gdb.ada/mi_var_union.exp: Same.
4282 * gdb.arch/arc-analyze-prologue.exp: Same.
4283 * gdb.arch/arc-decode-insn.exp: Same.
4284 * gdb.base/readnever.exp: Same.
4285 * gdb.fortran/printing-types.exp: Same.
4286 * gdb.guile/scm-lazy-string.exp: Same.
4288 2018-10-16 Tom de Vries <tdevries@suse.de>
4291 * gdb.base/catch-follow-exec.c: Add copyright notice.
4292 * gdb.base/catch-follow-exec.exp: Rewrite to use
4293 gdb_spawn_with_cmdline_opts. Require gdb-native.
4295 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
4297 * gdb.trace/actions-changed.exp: Check for arch support.
4298 * gdb.trace/actions.exp: Likewise.
4299 * gdb.trace/ax.exp: Likewise.
4300 * gdb.trace/backtrace.exp: Likewise.
4301 * gdb.trace/change-loc.exp: Likewise.
4302 * gdb.trace/deltrace.exp: Likewise.
4303 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
4304 * gdb.trace/ftrace.exp: Likewise.
4305 * gdb.trace/infotrace.exp: Check for arch support.
4306 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
4307 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
4308 * gdb.trace/mi-tsv-changed.exp: Likewise.
4309 * gdb.trace/packetlen.exp: Likewise.
4310 * gdb.trace/passc-dyn.exp: Likewise.
4311 * gdb.trace/passcount.exp: Likewise.
4312 * gdb.trace/pending.exp: Likewise.
4313 * gdb.trace/range-stepping.exp: Check for shlib support.
4314 * gdb.trace/report.exp: Check for arch support.
4315 * gdb.trace/save-trace.exp: Likewise.
4316 * gdb.trace/signal.exp: Check for signal support.
4317 * gdb.trace/tfind.exp: Check for arch support.
4318 * gdb.trace/trace-break.exp: Check for arch and shlib support.
4319 * gdb.trace/trace-common.h: Add comment.
4320 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
4321 * gdb.trace/trace-enable-disable.exp: Likewise.
4322 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
4323 * gdb.trace/tracecmd.exp: Check for arch support.
4324 * gdb.trace/tspeed.exp: Check for shlib and target support.
4325 * gdb.trace/tstatus.exp: Check for arch support.
4326 * gdb.trace/tsv.exp: Likewise.
4327 * gdb.trace/while-dyn.exp: Likewise.
4328 * gdb.trace/while-stepping.exp: Likewise.
4329 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
4331 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
4333 * gdb.trace/tspeed.exp: Remove nowarnings.
4334 (prepare_for_trace_test): Declare "global ipalib".
4335 * gdb.trace/tspeed.c: Include unistd.h.
4336 (main): Remove superfluous printf argument.
4338 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
4340 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
4341 directory prefix on the filename.
4343 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
4345 * gdb.gdb/unittest.exp: Update expected message informing that
4346 selftests have been disabled.
4347 * gdb.server/unittest.exp: Likewise.
4349 2018-10-09 Tom de Vries <tdevries@suse.de>
4351 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
4354 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
4357 * gdb.cp/virtbase2.cc: New file.
4358 * gdb.cp/virtbase2.exp: New file.
4360 2018-10-06 Tom Tromey <tom@tromey.com>
4363 * gdb.python/py-inferior.exp: Add architecture test.
4365 2018-10-06 Tom Tromey <tom@tromey.com>
4367 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
4368 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
4370 2018-10-06 Tom Tromey <tom@tromey.com>
4372 * gdb.python/py-breakpoint.exp (check_last_event): Check location
4373 of a "throw" catchpoint.
4375 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
4377 * gdb.base/info-proc.exp: Update string expected from "help info
4380 2018-10-04 Tom Tromey <tom@tromey.com>
4382 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
4383 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
4384 (test_initial_complaints, test_empty_complaints): Update.
4385 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
4387 2018-10-04 Tom Tromey <tom@tromey.com>
4390 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
4391 * lib/gdb.exp (gdb_file_cmd): Update.
4392 * gdb.stabs/weird.exp (print_weird_var): Update.
4393 * gdb.server/solib-list.exp: Update.
4394 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
4395 * gdb.mi/mi-cli.exp: Update.
4396 * gdb.linespec/linespec.exp: Update.
4397 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
4398 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
4399 * gdb.cp/cp-relocate.exp: Update.
4400 * gdb.base/sym-file.exp: Update.
4401 * gdb.base/relocate.exp: Update.
4402 * gdb.base/readnever.exp: Update.
4403 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
4404 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
4405 * gdb.base/dbx.exp (gdb_file_cmd): Update.
4406 * gdb.base/code_elim.exp: Update.
4407 * gdb.base/break-unload-file.exp (test_break): Update.
4408 * gdb.base/break-interp.exp (test_attach_gdb): Update.
4409 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
4411 * gdb.base/attach.exp (do_attach_tests): Update.
4412 * gdb.base/sepdebug.exp: Update.
4413 * gdb.python/py-section-script.exp: Update.
4415 2018-10-04 Tom Tromey <tom@tromey.com>
4418 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
4419 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
4422 2018-10-04 Tom Tromey <tom@tromey.com>
4424 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
4425 set width and height to 0.
4426 (test_command_line_attach_run): Use -quiet.
4428 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
4430 * lib/gdb.exp (skip_ifunc_tests): New.
4431 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
4432 other compile failures.
4433 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
4435 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
4437 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
4438 is_amd64_regs_target.
4440 2018-10-01 Alan Hayward <alan.hayward@arm.com>
4442 * gdb.arch/aarch64-sighandler-regs.c: New test.
4443 * gdb.arch/aarch64-sighandler-regs.exp: New file.
4444 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
4446 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
4448 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
4451 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
4453 * gdb.base/frame-selection.exp: New file.
4454 * gdb.base/frame-selection.c: New file.
4456 2018-09-27 Alan Hayward <alan.hayward@arm.com>
4458 * gdb.threads/check-libthread-db.c (thread_routine): Use a
4462 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
4464 * gdb.base/large-frame-1.c: New file.
4465 * gdb.base/large-frame-2.c: New file.
4466 * gdb.base/large-frame.exp: New file.
4467 * gdb.base/large-frame.h: New file.
4469 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
4472 * gdb.base/write_mem.exp: New test.
4473 * gdb.base/write_mem.c: Likewise.
4475 2018-09-23 Tom Tromey <tom@tromey.com>
4478 * gdb.python/py-parameter.exp: Add test for parameter that throws
4481 2018-09-23 Tom Tromey <tom@tromey.com>
4484 * gdb.python/py-template.exp (test_template_arg): Add test for
4485 negative template argument number.
4487 2018-09-23 Tom Tromey <tom@tromey.com>
4490 * gdb.python/python.exp: Add test for post_event error.
4492 2018-09-23 Tom Tromey <tom@tromey.com>
4495 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
4496 convert pointers to int and long.
4498 2018-09-23 Tom Tromey <tom@tromey.com>
4501 * gdb.python/py-value.exp (test_value_numeric_ops): Add
4502 signed-ness conversion tests.
4504 2018-09-23 Tom Tromey <tom@tromey.com>
4507 * gdb.python/py-value.exp (test_float_conversion): New proc.
4510 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
4512 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
4514 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
4516 * gdb.base/complete-empty.exp: Skip tab-completion tests if
4518 * gdb.base/utf8-identifiers.exp: Likewise.
4519 * gdb.cp/cpcompletion.exp: Likewise.
4520 * gdb.linespec/cpcompletion.exp: Likewise.
4521 * gdb.linespec/cpls-abi-tag.exp: Likewise.
4522 * gdb.linespec/cpls-ops.exp: Likewise.
4524 2018-09-19 Richard Bunt <richard.bunt@arm.com>
4525 Chris January <chris.january@arm.com>
4527 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
4528 * gdb.fortran/short-circuit-argument-list.exp: New file.
4529 * gdb.fortran/short-circuit-argument-list.f90: New test.
4531 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4533 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
4534 "arch=" keyword when executing "-stack-list-frames".
4536 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4538 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
4539 "arch=" keyword when executing "-stack-list-frames".
4541 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4543 * gdb.ada/complete.exp: Expect for "@" when doing "complete
4546 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
4549 * gdb.python/python.exp: Test gdb.execute("show commands").
4551 2018-09-16 Tom Tromey <tom@tromey.com>
4553 * gdb.base/new-ui.exp (do_execution_tests): Update.
4554 * gdb.base/dbx.exp (test_breakpoints): Update.
4556 2018-09-14 Alan Hayward <alan.hayward@arm.com>
4558 * lib/gdb.exp (gdb_simple_compile): Add proc.
4559 (is_elf_target): Use gdb_simple_compile.
4560 (skip_altivec_tests): Likewise.
4561 (skip_vsx_tests): Likewise.
4562 (skip_tsx_tests): Likewise.
4563 (skip_btrace_tests): Likewise.
4564 (skip_btrace_pt_tests): Likewise.
4565 (gdb_can_simple_compile): Likewise.
4566 (gdb_has_argv0): Likewise.
4567 (gdb_target_symbol_prefix): Likewise.
4568 (target_supports_scheduler_locking): Likewise.
4570 2018-09-13 Tom Tromey <tom@tromey.com>
4572 * Makefile.in (TAGS): Recognize proc_with_prefix and
4575 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4577 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
4580 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4582 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
4583 and a few other Inferior properties when the Inferior is no
4586 2018-09-13 Tom Tromey <tom@tromey.com>
4589 * gdb.rust/simple.exp: Add test for enum field access error.
4591 2018-09-13 Tom Tromey <tom@tromey.com>
4594 * gdb.rust/simple.rs (EmptyEnum): New type.
4596 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
4598 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4600 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
4601 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
4602 * gdb.python/py-symtab.exp: Update test printing an objfile.
4604 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
4606 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
4609 2018-09-12 Alan Hayward <alan.hayward@arm.com>
4611 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
4612 (support_complex_tests): Use gdb_can_simple_compile.
4613 (is_ilp32_target): Likewise.
4614 (is_lp64_target): Likewise.
4615 (is_64_target): Likewise.
4616 (is_amd64_regs_target): Likewise.
4617 (is_aarch32_target): Likewise.
4618 (gdb_int128_helper): Likewise.
4620 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4622 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
4624 2018-09-10 Jerome Guitton <guitton@adacore.com>
4626 * gdb.ada/same_component_name: Add test for case of tagged record
4627 with variable-length fields.
4629 2018-09-10 Xavier Roirand <roirand@adacore.com>
4631 * gdb.ada/access_to_unbounded_array.exp: New testcase.
4632 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
4633 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
4634 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
4636 2018-09-10 Xavier Roirand <roirand@adacore.com>
4638 * gdb.ada/mi_string_access.exp: New testcase.
4639 * gdb.ada/mi_string_access/bar.adb: New file.
4640 * gdb.ada/mi_string_access/pck.adb: New file.
4641 * gdb.ada/mi_string_access/pck.asd: New file.
4643 2018-09-10 Xavier Roirand <roirand@adacore.com>
4645 * gdb.ada/mi_var_union.exp: New testcase.
4646 * gdb.ada/mi_var_union/bar.adb: New file.
4647 * gdb.ada/mi_var_union/pck.adb: New file.
4648 * gdb.ada/mi_var_union/pck.asd: New file.
4650 2018-09-08 Tom Tromey <tom@tromey.com>
4652 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
4654 2018-09-08 Tom Tromey <tom@tromey.com>
4657 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
4658 (register_pretty_printers): Register new printer.
4659 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
4661 * gdb.python/py-prettyprint.c (int_type3): New typedef.
4662 (an_int_type3): New global.
4664 2018-09-08 Joel Brobecker <brobecker@adacore.com>
4666 * gdb.ada/expr_with_funcall: New testcase.
4668 2018-09-08 Joel Brobecker <brobecker@adacore.com>
4670 * gdb.ada/packed_array_assign: New testcase.
4672 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
4674 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
4675 names, and add test prefixes to make test names unique.
4677 2018-09-05 Tom de Vries <tdevries@suse.de>
4679 * gdb.dwarf2/varval.exp: Add test.
4681 2018-09-04 Gary Benson <gbenson@redhat.com>
4683 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
4684 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
4686 2018-08-31 Tom Tromey <tom@tromey.com>
4688 * gdb.rust/simple.rs: Rename second variable "v".
4690 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
4692 * gdb.base/funcargs.c (use_a): New function.
4693 (recurse): Call use_a.
4695 2018-08-29 Keith Seitz <keiths@redhat.com>
4697 * gdb.compile/compile-cplus-anonymous.cc: New file.
4698 * gdb.compile/compile-cplus-anonymous.exp: New file.
4699 * gdb.compile/compile-cplus-array-decay.cc: New file.
4700 * gdb.compile/compile-cplus-array-decay.exp: New file.
4701 * gdb.compile/compile-cplus-inherit.cc: New file.
4702 * gdb.compile/compile-cplus-inherit.exp: New file.
4703 * gdb.compile/compile-cplus-member.cc: New file.
4704 * gdb.compile/compile-cplus-member.exp: New file.
4705 * gdb.compile/compile-cplus-method.cc: New file.
4706 * gdb.compile/compile-cplus-method.exp: New file.
4707 * gdb.compile/compile-cplus-mod.c: "New" file.
4708 * gdb.compile/compile-cplus-namespace.cc: New file.
4709 * gdb.compile/compile-cplus-namespace.exp: New file.
4710 * gdb.compile/compile-cplus-nested.cc: New file.
4711 * gdb.compile/compile-cplus-nested.exp: New file.
4712 * gdb.compile/compile-cplus-print.c: "New" file.
4713 * gdb.compile/compile-cplus-print.exp: "New" file.
4714 * gdb.compile/compile-cplus-virtual.cc: New file.
4715 * gdb.compile/compile-cplus-virtual.exp: New file.
4716 * gdb.compile/compile-cplus.c: "New" file.
4717 * gdb.compile/compile-cplus.exp: "New" file.
4718 * lib/compile-support.exp: New file.
4720 2018-08-16 Gary Benson <gbenson@redhat.com>
4723 * gdb.base/batch-exit-status.exp: New file.
4724 * gdb.base/batch-exit-status.good-commands: Likewise.
4725 * gdb.base/batch-exit-status.bad-commands: Likewise.
4727 2018-08-29 Alan Hayward <alan.hayward@arm.com>
4729 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
4730 (struct struct02): Likewise.
4731 (struct struct03): Likewise.
4732 (struct struct04): Likewise.
4733 (struct struct_01_01): New struct.
4734 (struct struct_01_02): Likewise.
4735 (struct struct_01_03): Likewise.
4736 (struct struct_01_04): Likewise.
4737 (struct struct_02_01): Likewise.
4738 (struct struct_02_02): Likewise.
4739 (struct struct_02_03): Likewise.
4740 (struct struct_02_04): Likewise.
4741 (struct struct_04_01): Likewise.
4742 (struct struct_04_02): Likewise.
4743 (struct struct_04_03): Likewise.
4744 (struct struct_04_04): Likewise.
4745 (struct struct_05_01): Likewise.
4746 (struct struct_05_02): Likewise.
4747 (struct struct_05_03): Likewise.
4748 (struct struct_05_04): Likewise.
4749 (cmp_struct01): Remove function.
4750 (cmp_struct02): Likewise.
4751 (cmp_struct03): Likewise.
4752 (cmp_struct04): Likewise.
4753 (cmp_struct_01_01): Add Function.
4754 (cmp_struct_01_02): Likewise.
4755 (cmp_struct_01_03): Likewise.
4756 (cmp_struct_01_04): Likewise.
4757 (cmp_struct_02_01): Likewise.
4758 (cmp_struct_02_02): Likewise.
4759 (cmp_struct_02_03): Likewise.
4760 (cmp_struct_02_04): Likewise.
4761 (cmp_struct_04_01): Likewise.
4762 (cmp_struct_04_02): Likewise.
4763 (cmp_struct_04_03): Likewise.
4764 (cmp_struct_04_04): Likewise.
4765 (cmp_struct_05_01): Likewise.
4766 (cmp_struct_05_02): Likewise.
4767 (cmp_struct_05_03): Likewise.
4768 (cmp_struct_05_04): Likewise.
4769 (call_all): Add new structs.
4770 * gdb.base/infcall-nested-structs.exp: Likewise.
4772 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
4774 * gdb.python/py-framefilter-mi.exp: Update regexp to
4775 check for "arch" field in frame output.
4777 2018-08-23 Kevin Buettner <kevinb@redhat.com>
4779 * gdb.dwarf2/dw2-ranges-func.c: New file.
4780 * gdb.dwarf2/dw2-ranges-func.exp: New file.
4782 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
4784 * gdb.base/term.exp: Compare terminal settings with values from
4786 * gdb.base/term.c: Get and set terminal settings.
4788 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
4790 * lib/mi-support.exp (mi_expect_stop): Update regexp to
4791 accommodate new "arch" field in frame output.
4792 * gdb.mi/mi-return.exp: Likewise.
4793 * gdb.mi/mi-stack.exp: Likewise.
4794 * gdb.mi/mi-syn-frame.exp: Likewise.
4795 * gdb.mi/user-selected-context-sync.exp: Likewise.
4797 2018-08-19 Michael Spang <spang@google.com>
4800 * gdb.base/gcore-tls-pie.c: New file.
4801 * gdb.base/gcore-tls-pie.exp: New file.
4803 2018-08-18 Kevin Buettner <kevinb@redhat.com>
4805 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
4806 * gdb.dwarf2/varval.c: New file.
4807 * gdb.dwarf2/varval.exp: New file.
4809 2018-08-17 Alan Hayward <alan.hayward@arm.com>
4812 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
4814 2018-08-16 Keith Seitz <keiths@redhat.com>
4816 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
4817 tests expected to pass.
4819 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
4821 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
4822 -data-disassemble -a.
4823 (test_disassembly_bogus_args): Likewise.
4825 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
4827 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
4829 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4831 * gdb.base/vla-optimized-out.exp: Add new test.
4833 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4835 * gdb.base/vla-optimized-out-o3.exp: Delete.
4836 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
4837 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
4840 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
4843 * gdb.server/extended-remote-restart.c: New file.
4844 * gdb.server/extended-remote-restart.exp: New file.
4846 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
4848 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
4849 "set variable index = 42".
4851 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
4853 * boards/index-cache-gdb.exp: New file.
4854 * gdb.dwarf2/index-cache.exp: New file.
4855 * gdb.dwarf2/index-cache.c: New file.
4856 * gdb.base/maint.exp: Check if we are using the index cache.
4858 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4860 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
4863 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4865 * dg-extract-results.sh: Move to toplevel contrib.
4866 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
4867 * Makefile.in (check-parallel-racy): Likewise.
4869 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
4871 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
4872 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
4873 tests if the target supports scheduler locking.
4875 2018-08-04 Tom de Vries <tdevries@suse.de>
4877 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
4879 2018-08-02 Tom Tromey <tom@tromey.com>
4882 * gdb.cp/temargs.exp: Test "info address" of a template
4885 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
4887 * gdb.python/py-mi-var-info-path-expression.c: New file.
4888 * gdb.python/py-mi-var-info-path-expression.py: New file.
4889 * gdb.python/py-mi-var-info-path-expression.exp: New file.
4891 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
4893 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
4894 error after "cannot resolve name" string.
4896 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
4898 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
4900 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
4902 2018-07-28 Tom de Vries <tdevries@suse.de>
4904 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
4906 2018-07-26 Tom de Vries <tdevries@suse.de>
4908 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
4910 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
4912 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
4915 2018-07-26 Tom de Vries <tdevries@suse.de>
4917 PR breakpoints/23366
4918 * gdb.base/catch-follow-exec.c: New test.
4919 * gdb.base/catch-follow-exec.exp: New file.
4921 2018-07-25 Tom de Vries <tdevries@suse.de>
4923 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
4924 vla-optimized-out.c.
4926 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
4928 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
4929 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
4931 2018-07-20 Tom de Vries <tdevries@suse.de>
4933 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
4935 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
4937 2018-07-19 Tom de Vries <tdevries@suse.de>
4939 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
4942 2018-07-18 Tom de Vries <tdevries@suse.de>
4944 * gdb.base/vla-optimized-out.c: New test.
4945 * gdb.base/vla-optimized-out.exp: New file.
4947 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
4949 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
4950 message "No address associated with hostname" when gdbserver
4951 cannot resolve the hostname.
4953 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4955 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
4956 Add some test prefixes to make tests unique.
4958 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4960 * gdb.base/frameapply.c: New file.
4961 * gdb.base/frameapply.exp: New file.
4963 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4965 * gdb.base/skip.exp: Update expected error message.
4967 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4968 Jan Kratochvil <jan.kratochvil@redhat.com>
4969 Paul Fertser <fercerpav@gmail.com>
4970 Tsutomu Seki <sekiriki@gmail.com>
4972 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
4974 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
4976 * boards/native-gdbserver.exp: Likewise.
4977 * gdb.server/run-without-local-binary.exp: Improve regexp used
4978 for detecting when a remote debugging connection succeeds.
4979 * gdb.server/server-connect.exp: New file.
4980 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
4981 Do not prefix the port number with ":".
4982 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
4983 support for detecting and using it. Add '$debughost_gdbserver'
4984 to the list of arguments used to start gdbserver. Handle case
4985 when gdbserver cannot resolve a network name.
4987 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4990 * gdb.base/ptype-offsets.cc (struct static_member): New
4992 (main) <stmember>: New variable.
4993 * gdb.base/ptype-offsets.exp: Add test for printing a struct
4994 with a static member in it.
4996 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
4998 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
4999 watchpoints enabled and disabled.
5001 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5003 * gdb.base/examine-backward.exp: Still run tests around address
5004 0x0, even if address 0x0 is not readable. Update the pattern for
5005 matching address 0x0 in expected output.
5007 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
5009 * gdb.base/share-env-with-gdbserver.c (main): Add call to
5012 2018-07-04 Tom de Vries <tdevries@suse.de>
5014 * gdb.dwarf2/dw2-error.exp: Update expected error message.
5016 2018-07-02 Maciej W. Rozycki <macro@mips.com>
5019 * gdb.arch/mips-disassembler-options.exp: New test.
5020 * gdb.arch/mips-disassembler-options.s: New test source.
5022 2018-06-29 Pedro Alves <palves@redhat.com>
5024 * gdb.threads/names.exp: Adjust expected "info threads" output.
5026 2018-06-29 Pedro Alves <palves@redhat.com>
5028 * gdb.opt/inline-break.exp (line number, address): Add "info
5031 2018-06-29 Pedro Alves <palves@redhat.com>
5033 * gdb.opt/inline-break.c (func1): Add "break here" marker.
5034 * gdb.opt/inline-break.exp: Test setting breakpoints by line
5035 number and address and running to them.
5037 2018-06-29 Richard Bunt <richard.bunt@arm.com>
5039 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
5041 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5043 * lib/compiler.c: Remove executable permission flag.
5045 2018-06-28 Richard Bunt <richard.bunt@arm.com>
5047 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
5049 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
5051 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
5053 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
5055 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
5057 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
5058 address argument is omitted.
5060 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
5062 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
5064 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
5067 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
5068 * gdb.base/infoline-reloc-main-from-zero.c: New file.
5070 2018-06-26 Tom Tromey <tom@tromey.com>
5073 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
5074 * gdb.rust/simple.rs (struct SimpleLayout): New.
5076 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
5078 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
5079 "info registers" output.
5081 2018-06-21 Richard Bunt <richard.bunt@arm.com>
5083 * gdb.base/watchpoint-hw-attach.c: New test.
5084 * gdb.base/watchpoint-hw-attach.exp: New file.
5086 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
5088 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
5090 * boards/dwarf4-gdb-index.exp: Likewise.
5091 * boards/fission-dwp.exp: Likewise.
5093 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
5095 * gdb.base/float128.exp: Add comment and improved fail message
5096 to the failure case of "print large128" test.
5098 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
5100 * configure.ac: Remove AC_PREREQ.
5101 * configure: Re-generate.
5103 2018-06-19 Pedro Alves <palves@redhat.com>
5105 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
5106 (func_extern_caller): New.
5107 (main): Call func_extern_caller.
5108 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
5111 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
5114 * gdb.cp/typedef-base.cc: New file.
5115 * gdb.cp/typedef-base.exp: New file.
5117 2018-06-18 Tom de Vries <tdevries@suse.de>
5119 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
5121 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
5122 Richard Bunt <Richard.Bunt@arm.com>
5124 * gdb.threads/attach-slow-waitpid.c: New file.
5125 * gdb.threads/attach-slow-waitpid.exp: New file.
5126 * gdb.threads/slow-waitpid.c: New file.
5128 2018-06-14 Pedro Alves <palves@redhat.com>
5130 * gdb.base/fork-running-state.c: Include <errno.h>.
5131 (exit_if_relative_exits): New.
5132 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
5134 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
5137 2018-06-14 Tom de Vries <tdevries@suse.de>
5140 * gdb.base/finish-pretty.c: New test.
5141 * gdb.base/finish-pretty.exp: New file.
5143 2018-06-14 Pedro Alves <palves@redhat.com>
5145 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
5146 gdb's expected startup output.
5148 2018-06-14 Pedro Alves <palves@redhat.com>
5150 * lib/selftest-support.exp (selftest_setup): Remove inlined
5153 2018-06-14 Tom de Vries <tdevries@suse.de>
5155 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
5156 matching of breakpoint printing.
5158 2018-06-13 Tom de Vries <tdevries@suse.de>
5161 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
5162 (fork_child): ... here, and ...
5163 (fork_parent): ... here.
5165 2018-06-12 Tom de Vries <tdevries@suse.de>
5167 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
5169 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
5170 Stephen Roberts <stephen.roberts@arm.com>
5172 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
5173 rewrite test to describe action performed, rather than possible
5176 2018-06-08 Gary Benson <gbenson@redhat.com>
5178 * gdb.threads/check-libthread-db.exp: New file.
5179 * gdb.threads/check-libthread-db.c: Likewise.
5181 2018-06-05 Tom Tromey <tom@tromey.com>
5183 * gdb.base/default.exp: Update expected "show version" output.
5185 2018-06-05 Tom Tromey <tom@tromey.com>
5188 * gdb.cp/static-print-quit.exp: Update.
5189 * lib/gdb.exp (pagination_prompt): Update.
5190 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
5191 * gdb.python/python.exp: Update.
5193 2018-06-04 Joel Brobecker <brobecker@adacore.com>
5195 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
5197 2018-06-01 Joel Brobecker <brobecker@adacore.com>
5199 * gdb.ada/bp_fun_addr: New testcase.
5201 2018-06-01 Tom Tromey <tom@tromey.com>
5203 * gdb.xml/tdesc-regs.exp (load_description): Update expected
5205 * gdb.dwarf2/method-ptr.exp: Set language to C++.
5206 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
5207 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
5208 * gdb.base/maint.exp (maint_pass_if): Update.
5210 2018-05-31 Maciej W. Rozycki <macro@mips.com>
5212 * gdb.base/endian.exp: New test.
5213 * gdb.base/endian.c: New test source.
5215 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
5218 * gdb.base/bt-selected-frame.c: New file.
5219 * gdb.base/bt-selected-frame.exp: New file.
5220 * lib/gdb.exp (get_current_frame_number): New function.
5222 2018-05-24 Maciej W. Rozycki <macro@mips.com>
5223 Pedro Alves <palves@redhat.com>
5225 * gdb.threads/tls-core.c: Include <stdlib.h>
5226 (thread_proc): Call `abort'.
5227 * gdb.threads/tls-core.exp: Generate a core with core_find too.
5228 (tls_core_test): New procedure, bits factored out from ...
5229 (top level): ... here. Test both native cores and gcore cores.
5231 2018-05-23 Tom Tromey <tom@tromey.com>
5233 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
5235 2018-05-23 Tom Tromey <tom@tromey.com>
5237 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
5239 (test_short_complaints): Likewise.
5240 (test_empty_complaints): Likewise.
5241 (test_initial_complaints): Update.
5243 2018-05-23 Tom Tromey <tom@tromey.com>
5245 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
5247 2018-05-23 Tom Tromey <tom@tromey.com>
5249 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
5250 (test_short_complaints): Update.
5252 2018-05-22 Pedro Alves <palves@redhat.com>
5254 * gdb.base/remote.exp: Only gdb_start after compiling the
5255 testcase. Issue "disconnect" before testing "set remote" command
5256 defaults. Issue clean_restart before running to main.
5258 2018-05-22 Pedro Alves <palves@redhat.com>
5260 * gdb.base/remote.exp: Adjust expected output of "show remote
5261 memory-write-packet-size". Add tests for "set remote
5262 memory-write-packet-size 0" and "set remote
5263 memory-write-packet-size fixed/limit".
5265 2018-05-22 Pedro Alves <palves@redhat.com>
5268 * gdb.base/utf8-identifiers.c: New file.
5269 * gdb.base/utf8-identifiers.exp: New file.
5271 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
5273 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
5275 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
5277 * gdb.arch/powerpc-vsx-gcore.exp: New file.
5279 2018-05-18 Tom Tromey <tom@tromey.com>
5281 * gdb.base/ptype-offsets.exp: Update.
5283 2018-05-17 Keith Seitz <keiths@redhat.com>
5285 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
5286 in expected breakpoint stop locations.
5287 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
5288 move to proper scope to test variable values.
5289 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
5290 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
5292 (main): Call not_inline_func3.
5293 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
5294 inline_func1, inline_func2, and inline_func3. Test that when each
5295 breakpoint is hit, GDB properly reports both the stop location
5296 and the backtrace. Repeat tests for temporary breakpoints.
5298 2018-05-15 Maciej W. Rozycki <macro@mips.com>
5300 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
5301 rather then trying to access it in determining whether the PID
5302 of `gdbserver' could have been retrieved.
5304 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
5306 * gdb.arch/amd64-init-x87-values.S: New file.
5307 * gdb.arch/amd64-init-x87-values.exp: New file.
5309 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5311 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
5313 2018-05-04 Tom Tromey <tom@tromey.com>
5316 * gdb.python/python.exp: Test multi-line execute.
5318 2018-05-04 Tom Tromey <tom@tromey.com>
5321 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
5323 2018-05-04 Tom Tromey <tom@tromey.com>
5326 * gdb.base/define.exp: Test defining a user command inside a user
5328 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
5330 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5331 Pedro Alves <palves@redhat.com>
5333 PR breakpoints/19806 and support for PR external/20207.
5334 * gdb.base/watchpoint-unaligned.c: New file.
5335 * gdb.base/watchpoint-unaligned.exp: New file.
5337 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5339 * gdb.base/maint.exp: Make test names unique, use
5340 test_prefix_command_help to test 'help maint info', and remove
5341 repeated test of 'help maint'.
5343 2018-05-04 Tom Tromey <tom@tromey.com>
5346 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
5349 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5351 * gdb.base/maint.exp: Process output from 'maint print registers'
5354 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5356 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
5359 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
5361 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
5364 2018-05-02 Pedro Alves <palves@redhat.com>
5366 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
5367 to_log_command renames.
5368 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
5370 2018-05-02 Tom Tromey <tom@tromey.com>
5372 * gdb.python/py-parameter.exp: Set test message.
5374 2018-05-02 Tom Tromey <tom@tromey.com>
5377 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
5378 PARAM_ZUINTEGER_UNLIMITED tests.
5380 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
5383 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
5386 2018-04-30 Tom Tromey <tom@tromey.com>
5388 * gdb.python/py-type.exp: Check align attribute.
5389 * gdb.python/py-type.c: New "aligncheck" global.
5391 2018-04-30 Tom Tromey <tom@tromey.com>
5394 * gdb.dwarf2/dw2-align.exp: New file.
5395 * gdb.cp/align.exp: New file.
5396 * gdb.base/align.exp: New file.
5397 * lib/gdb.exp (gdb_int128_helper): New proc.
5398 (has_int128_c, has_int128_cxx): New caching procs.
5400 2018-04-27 Tom Tromey <tom@tromey.com>
5403 * gdb.rust/simple.exp: Add inclusive range tests.
5405 2018-04-26 Pedro Alves <palves@redhat.com>
5407 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
5408 ifunc breakpoint locations correctly of ifunc breakpoints set
5409 while the program resolves the ifunc.
5411 2018-04-26 Pedro Alves <palves@redhat.com>
5413 * gdb.base/gnu-ifunc-final.c: New file.
5414 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
5415 * gdb.base/gnu-ifunc.exp (executable): Delete.
5416 (staticexecutable): Adjust.
5417 (lib_opts, exec_opts): Delete.
5418 (make_binsuffix, build, set-break): New procedures.
5419 (misc_tests): New, with tests factored out from the top level.
5420 (top level): Test different combinations of ifunc resolver name,
5421 resolver with and with debug info, and ifunc target with and
5422 without debug info. Wrap static tests with with_target_prefix.
5424 2018-04-26 Pedro Alves <palves@redhat.com>
5426 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
5427 return type" warnings.
5429 2018-04-25 Pedro Alves <palves@redhat.com>
5431 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
5433 * gdb.base/kill-after-signal.exp: Likewise.
5434 * gdb.threads/kill.exp: Likewise.
5436 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5437 Sergio Durigan Junior <sergiodj@redhat.com>
5438 Pedro Alves <palves@redhat.com>
5440 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
5441 regexps to expect for '[Inferior ... detached]' as well.
5442 * gdb.base/attach.exp: Likewise.
5443 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
5444 "gdb_continue_to_end".
5445 (test_catch_syscall_with_wrong_args): Likewise.
5446 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
5447 ']'. Don't set 'verbose' on.
5448 * gdb.base/foll-vfork.exp: Likewise.
5449 * gdb.base/fork-print-inferior-events.c: New file.
5450 * gdb.base/fork-print-inferior-events.exp: New file.
5451 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
5452 '[Inferior ... has been killed]' message.
5453 * gdb.base/kill-after-signal.exp: Likewise.
5454 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
5456 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
5458 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
5459 regexps to expect for '[Inferior ... detached]' as well.
5460 * gdb.threads/process-dies-while-detaching.exp: Likewise.
5462 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
5465 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
5467 2018-04-22 Rajendra SY <rajendra.sy@gmail.com>
5470 * gdb.base/break-probes.exp: Pass shlib_load to
5471 prepare_for_testing. Set normal_bp to r_debug_state if target is
5474 2018-04-19 Richard Bunt <richard.bunt@arm.com>
5476 * gdb.threads/multiple-successive-infcall.c: New test.
5477 * gdb.threads/multiple-successive-infcall.exp: New file.
5479 2018-04-17 Tom Tromey <tom@tromey.com>
5481 * gdb.rust/simple.rs (Union): New type.
5482 (main): New local "u".
5483 * gdb.rust/simple.exp (test_one_slice): Add new test case.
5485 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5487 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
5488 number information in output of "whereis" command.
5489 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
5491 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5493 * gdb.ada/info_types.exp: Adjust expected output to the line
5494 numbers now printed by "info var/func/type".
5495 * gdb.base/completion.exp: Likewise.
5496 * gdb.base/included.exp: Likewise.
5497 * gdb.cp/cp-relocate.exp: Likewise.
5498 * gdb.cp/cplusfuncs.exp: Likewise.
5499 * gdb.cp/namespace.exp: Likewise.
5500 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
5502 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
5504 * gdb.btrace/cpu.exp: New.
5506 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
5508 * gdb.base/step-indirect-call-thunk.exp: New.
5509 * gdb.base/step-indirect-call-thunk.c: New.
5510 * gdb.reverse/step-indirect-call-thunk.exp: New.
5511 * gdb.reverse/step-indirect-call-thunk.c: New.
5513 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
5515 * gdb.base/pie-fork.c: New file.
5516 * gdb.base/pie-fork.exp: New file.
5518 2018-04-11 Tom Tromey <tom@tromey.com>
5520 * gdb.rust/simple.exp: Add test for ".." struct initializer.
5522 2018-04-10 Pedro Alves <palves@redhat.com>
5524 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
5525 exits. Instead loop running forever.
5526 (fork_parent): Run forever too.
5528 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
5530 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
5531 mi_continue_to_line.
5532 * gdb.mi/mi-stack.c (callee4): Add comment.
5534 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
5536 * gdb.mi/mi-stack.exp: Fix indentation.
5538 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
5541 * gdb.arch/amd64-osabi.exp: New file.
5543 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
5546 * gdb.base/osabi.exp: New file.
5548 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
5550 * gdb.cp/static-typedef-print.exp: New file.
5551 * gdb.cp/static-typedef-print.cc: New file.
5553 2018-03-27 Joel Brobecker <brobecker@adacore.com>
5555 * gdb.ada/varsize_limit: New testcase.
5557 2018-03-27 Joel Brobecker <brobecker@adacore.com>
5559 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
5561 * gdb.ada/notcplusplus: New testcase.
5563 * gdb.base/c-linkage-name.c: New file.
5564 * gdb.base/c-linkage-name.exp: New testcase.
5566 2018-03-26 Tom Tromey <tom@tromey.com>
5568 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
5569 * gdb.python/py-framefilter.py (name_error): New global.
5570 (ErrorInName.function): Use name_error.
5572 2018-03-26 Tom Tromey <tom@tromey.com>
5575 * gdb.python/py-framefilter.exp: Add "bt hide" test.
5577 2018-03-23 Keith Seitz <keiths@redhat.com>
5580 * gdb.cp/subtypes.exp: New file.
5581 * gdb.cp/subtypes.h: New file.
5582 * gdb.cp/subtypes.cc: New file.
5583 * gdb.cp/subtypes-2.cc: New file.
5585 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5587 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
5588 (done): Call '_exit' not 'exit' to avoid atexit handlers.
5589 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
5590 -nostartfiles when compiling the test. Confirm that all registers
5591 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
5593 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5595 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
5596 option, syntax was wrong anyway.
5597 * gdb.arch/arm-disp-step.exp: Likewise.
5598 * gdb.arch/sparc64-regs.exp: Likewise.
5599 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
5600 option, syntax was wrong anyway, switch to use
5601 prepare_for_testing.
5602 * gdb.arch/i386-disp-step.exp: Likewise.
5604 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
5606 * gdb.ada/exec_changed.exp: Replace "target_info exists
5607 use_gdb_stub" by "use_gdb_stub".
5608 * gdb.ada/start.exp: Likewise.
5609 * gdb.base/async-shell.exp: Likewise.
5610 * gdb.base/attach-pie-misread.exp: Likewise.
5611 * gdb.base/attach-wait-input.exp: Likewise.
5612 * gdb.base/break-entry.exp: Likewise.
5613 * gdb.base/break-interp.exp: Likewise.
5614 * gdb.base/dprintf-detach.exp: Likewise.
5615 * gdb.base/nostdlib.exp: Likewise.
5616 * gdb.base/solib-nodir.exp: Likewise.
5617 * gdb.base/statistics.exp: Likewise.
5618 * gdb.base/testenv.exp: Likewise.
5619 * gdb.mi/mi-exec-run.exp: Likewise.
5620 * gdb.mi/mi-start.exp: Likewise.
5621 * gdb.multi/dummy-frame-restore.exp: Likewise.
5622 * gdb.multi/multi-arch-exec.exp: Likewise.
5623 * gdb.multi/multi-arch.exp: Likewise.
5624 * gdb.multi/tids.exp: Likewise.
5625 * gdb.multi/watchpoint-multi.exp: Likewise.
5626 * gdb.python/py-events.exp: Likewise.
5627 * gdb.threads/attach-into-signal.exp: Likewise.
5628 * gdb.threads/attach-stopped.exp: Likewise.
5629 * gdb.threads/threadapply.exp: Likewise.
5630 * lib/selftest-support.exp: Likewise.
5632 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
5634 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
5636 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
5638 * gdb.perf/template-breakpoints.cc: New file.
5639 * gdb.perf/template-breakpoints.exp: New file.
5640 * gdb.perf/template-breakpoints.py: New file.
5642 2018-03-19 Tom Tromey <tom@tromey.com>
5644 * gdb.rust/simple.rs (main): Add local variables field1, field2,
5646 * gdb.rust/simple.exp: Test bare identifier form of struct
5649 2018-03-19 Tom Tromey <tom@tromey.com>
5651 * gdb.gdb/observer.exp: Remove.
5653 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5655 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
5656 "qualified" option when setting breakpoints.
5657 * gdb.trace/backtrace.exp: Likewise.
5658 * gdb.trace/circ.exp: Likewise.
5659 * gdb.trace/collection.exp: Likewise.
5660 * gdb.trace/disconnected-tracing.exp: Likewise.
5661 * gdb.trace/ftrace-lock.exp: Likewise.
5662 * gdb.trace/ftrace.exp: Likewise.
5663 * gdb.trace/infotrace.exp: Likewise.
5664 * gdb.trace/packetlen.exp: Likewise.
5665 * gdb.trace/passc-dyn.exp: Likewise.
5666 * gdb.trace/qtro.exp: Likewise.
5667 * gdb.trace/read-memory.exp: Likewise.
5668 * gdb.trace/report.exp: Likewise.
5669 * gdb.trace/signal.exp: Likewise.
5670 * gdb.trace/status-stop.exp: Likewise.
5671 * gdb.trace/strace.exp: Likewise.
5672 * gdb.trace/tfind.exp: Likewise.
5673 * gdb.trace/trace-break.exp: Likewise.
5674 * gdb.trace/trace-condition.exp: Likewise.
5675 * gdb.trace/trace-mt.exp: Likewise.
5676 * gdb.trace/tstatus.exp: Likewise.
5677 * gdb.trace/tsv.exp: Likewise.
5678 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
5679 * gdb.trace/unavailable.exp: Likewise.
5680 * gdb.trace/while-dyn.exp: Likewise.
5682 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5684 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
5685 that libinproctrace is copied to the target.
5687 2018-03-14 Tom Tromey <tom@tromey.com>
5690 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
5692 * gdb.base/wchar.exp: Likewise.
5694 2018-03-14 Tom Tromey <tom@tromey.com>
5697 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
5700 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
5703 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
5704 "target" to remote_exec.
5706 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
5709 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
5710 ${board}_upload): Remove.
5712 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
5714 * gdb.cp/watch-cp.cc: New test.
5715 * gdb.cp/watch-cp.exp: New file.
5717 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5719 * gdb.base/infcall-nested-structs.exp: New file.
5720 * gdb.base/infcall-nested-structs.c: New file.
5721 * gdb.base/float.exp: Add riscv support.
5723 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
5725 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
5726 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
5728 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
5730 * gdb.server/abspath.exp: New file.
5731 * lib/gdb.exp (with_cwd): New procedure.
5733 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
5735 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
5737 (gdb_is_target_remote_prompt): New proc.
5738 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
5739 (gdb_is_target_native): Pass prompt parameter to
5742 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
5744 * gdb.base/load-command.c: New file.
5745 * gdb.base/load-command.exp: New file.
5746 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
5747 (gdb_is_target_1): ...this, and generalize for other targets
5749 (gdb_is_target_remote): Use gdb_is_target_1.
5750 (gdb_is_target_native): use gdb_is_target_1.
5752 2018-02-26 Tom Tromey <tom@tromey.com>
5755 * gdb.python/py-framefilter.exp: Update test.
5757 2018-02-26 Tom Tromey <tom@tromey.com>
5759 * gdb.dwarf2/variant.c: New file.
5760 * gdb.dwarf2/variant.exp: New file.
5762 2018-02-26 Tom Tromey <tom@tromey.com>
5764 * gdb.rust/simple.exp: Accept more possible results in enum test.
5766 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
5768 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
5771 2018-02-23 Maciej W. Rozycki <macro@mips.com>
5773 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
5774 name of a variable: $actual_linejj -> $actual_line.
5776 2018-02-21 John Baldwin <jhb@FreeBSD.org>
5778 * gdb.arch/amd64-i386-address.exp: Fix a typo.
5780 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
5782 * gdb.btrace/buffer-size.exp: Do not force BTS.
5784 2018-02-14 Pedro Alves <palves@redhat.com>
5786 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
5789 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
5791 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
5794 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
5796 * gdb.cp/m-static.exp: Check type of optimized out static
5799 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
5801 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
5802 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
5804 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
5805 Leszek Swirski <leszeks@google.com>
5807 * gdb.python/py-prettyprint.c
5808 (struct to_string_returns_value_inner,
5809 struct to_string_returns_value_wrapper): New.
5810 (main): Add tsrvw variable.
5811 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
5812 ToStringReturnsValueWrapper): New classes.
5813 (register_pretty_printers): Register new pretty-printers.
5814 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
5815 recursive pretty printer.
5816 * gdb.python/py-mi.exp: Likewise.
5818 2018-02-01 Leszek Swirski <leszeks@google.com>
5820 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
5821 functions with the same name as an include file are parsed
5824 2018-02-01 Yao Qi <yao.qi@linaro.org>
5826 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
5829 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
5831 * gdb.arch/powerpc-prologue-frame.s: New file.
5832 * gdb.arch/powerpc-prologue-frame.c: Likewise.
5833 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
5835 2018-01-31 Joel Brobecker <brobecker@adacore.com>
5837 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
5839 2018-01-30 Pedro Alves <palves@redhat.com>
5842 * gdb.base/interrupt-daemon.c: New.
5843 * gdb.base/interrupt-daemon.exp: New.
5844 * gdb.multi/multi-term-settings.c: New.
5845 * gdb.multi/multi-term-settings.exp: New.
5847 2018-01-30 Joel Brobecker <brobecker@adacore.com>
5849 * gdb.base/break.exp: Save the location where the breakpoint
5850 on break.c:47 was actually inserted when debugging the version
5851 compiled at -O2 and use it in the expected output of the "info
5852 break" test performed soon after.
5854 2018-01-22 Pedro Alves <palves@redhat.com>
5855 Sergio Durigan Junior <sergiodj@redhat.com>
5857 * gdb.base/whatis.exp: Add tests for 'set print object on' +
5858 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
5860 2018-01-22 Joel Brobecker <brobecker@adacore.com>
5862 * gdb.base/break-include.c, gdb.base/break-include.inc,
5863 gdb.base/break-include.exp: New files.
5864 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
5865 line number now being the actual line number where the breakpoint
5867 * gdb.mi/mi-break.exp: Likewise.
5868 * gdb.mi/mi-reverse.exp: Likewise.
5869 * gdb.mi/mi-simplerun.exp: Ditto.
5871 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5873 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
5875 * gdb.mi/mi-var-create-rtti.exp: Likewise.
5877 2018-01-21 Don Breazeal <donb@codesourcery.com>
5878 Andrew Burgess <andrew.burgess@embecosm.com>
5880 * gdb.mi/basics.c: Add new global.
5881 * gdb.mi/mi-frame-regs.exp: New file.
5882 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
5885 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5887 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
5888 non-parameter, and on an unknown symbol.
5890 2018-01-19 Tom Tromey <tom@tromey.com>
5892 * gdb.rust/modules.rs (TWENTY_THREE): New global.
5893 * gdb.rust/modules.exp: Add ::-qualified lookup test.
5895 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5897 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
5898 setrlimit and chdir to int.
5900 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5902 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
5904 (my_tend): Likewise.
5905 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
5906 rationale of avoiding FP- and vector instructions.
5908 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
5910 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
5911 "info reg" with "\[ \t\]*".
5912 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
5914 * gdb.arch/s390-multiarch.exp: Ditto.
5915 * gdb.base/pc-fp.exp: Ditto.
5916 * gdb.reverse/i386-precsave.exp: Ditto.
5917 * gdb.reverse/i386-reverse.exp: Ditto.
5918 * gdb.reverse/i387-env-reverse.exp: Ditto.
5919 * gdb.reverse/i387-stack-reverse.exp: Ditto.
5921 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5923 * lib/gdb.exp (gdb_compile): Re-enable use of
5924 universal_compile_options for languages other than Rust.
5926 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5928 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
5930 2018-01-17 Mike Gulick <mgulick@mathworks.com>
5933 * gdb.base/solib-vanish.exp: New.
5934 * gdb.base/solib-vanish-main.c: New.
5935 * gdb.base/solib-vanish-lib1.c: New.
5936 * gdb.base/solib-vanish-lib2.c: New.
5938 2018-01-17 Yao Qi <yao.qi@linaro.org>
5940 * gdb.compile/compile.exp: Match the address printed for
5941 frame in the output of command "bt".
5943 2018-01-15 Tom Tromey <tom@tromey.com>
5945 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
5948 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
5950 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
5952 (prepare): Return 0 on error, 1 on success.
5954 2018-01-12 Pedro Alves <palves@redhat.com>
5956 * gdb.base/continue-after-aborted-step-over.c: New.
5957 * gdb.base/continue-after-aborted-step-over.exp: New.
5959 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
5961 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
5962 options when not creating an executable.
5964 2018-01-11 Pedro Alves <palves@redhat.com>
5967 * gdb.server/stop-reply-no-thread.c: New file.
5968 * gdb.server/stop-reply-no-thread.exp: New file.
5970 2018-01-10 Pedro Alves <palves@redhat.com>
5973 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
5974 functions too. Test setting breakpoints and printing C functions
5975 with no debug info too.
5976 * gdb.ada/bp_c_mixed_case/qux.c: New file.
5978 2018-01-10 Pedro Alves <palves@redhat.com>
5981 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
5984 2018-01-10 Pedro Alves <palves@redhat.com>
5987 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
5989 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5991 * gdb.server/unittest.exp: Match the output in non-development
5994 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5996 * gdb.gdb/unittest.exp: Match output in non-development mode.
5998 2018-01-08 Joel Brobecker <brobecker@adacore.com>
6000 * gdb.ada/access_tagged_param.exp: Relax expected output
6001 for value of "ObjL" in "continue" to pck.inspect breakpoint
6004 2018-01-08 Joel Brobecker <brobecker@adacore.com>
6006 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
6007 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
6009 2018-01-05 Pedro Alves <palves@redhat.com>
6012 * gdb.base/libsegfault.exp: New.
6014 2018-01-05 Joel Brobecker <brobecker@adacore.com>
6017 * gdb.ada/access_tagged_param.exp: New file.
6018 * gdb.ada/access_tagged_param/foo.adb: New file.
6020 2018-01-05 Pedro Alves <palves@redhat.com>
6023 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
6024 exercise lower case too, and to exercise both full matching and
6027 2018-01-05 Joel Brobecker <brobecker@adacore.com>
6029 * gdb.ada/rename_subscript_param: New testcase.
6031 2018-01-05 Jerome Guitton <guitton@adacore.com>
6033 * gdb.ada/arr_acc_idx_w_gap: New testcase.
6035 2018-01-05 Joel Brobecker <brobecker@adacore.com>
6037 * gdb.ada/convvar_comp: New testcase.
6039 2018-01-05 Xavier Roirand <roirand@adacore.com>
6041 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
6042 (My_Table): New global variable.
6043 * testsuite/gdb.ada/array_char_idx.exp: Add test.
6045 2018-01-04 Joel Brobecker <brobecker@adacore.com>
6048 * gdb.ada/maint_with_ada: New testcase.
6050 2018-01-04 Joel Brobecker <brobecker@adacore.com>
6053 * gdb.ada/bp_c_mixed_case: New testcase.
6055 2018-01-04 Joel Brobecker <brobecker@adacore.com>
6058 * gdb.ada/complete.exp: Add "complete break ada" test.
6060 2018-01-04 Joel Brobecker <brobecker@adacore.com>
6063 * gdb.ada/info_addr_mixed_case: New testcase.
6065 2018-01-03 Xavier Roirand <roirand@adacore.com>
6067 * gdb.ada/excep_handle.exp: New testcase.
6068 * gdb.ada/excep_handle/foo.adb: New file.
6069 * gdb.ada/excep_handle/pck.ads: New file.
6071 2018-01-03 Joel Brobecker <brobecker@adacore.com>
6073 * gdb.base/step-line.c: Add extra empty line in copyright header.
6074 * gdb.base/step-line.inp: Likewise.
6076 2018-01-02 Joel Brobecker <brobecker@adacore.com>
6078 * gdb.ada/dyn_stride.exp: Add slice test.
6080 2018-01-02 Joel Brobecker <brobecker@adacore.com>
6082 * gdb.ada/dyn_stride: New testcase.
6084 2017-12-27 Stafford Horne <shorne@gmail.com>
6086 * gdb.xml/extra-regs.xml: Add example foo reggroup.
6087 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
6089 2017-12-27 Stafford Horne <shorne@gmail.com>
6091 * gdb.base/reggroups.c: New file.
6092 * gdb.base/reggroups.exp: New file.
6094 2017-12-18 Joel Brobecker <brobecker@adacore.com>
6096 * gdb.dwarf2/ada-valprint-error.c: New file.
6097 * gdb.dwarf2/ada-valprint-error.exp: New file.
6099 2017-12-18 Joel Brobecker <brobecker@adacore.com>
6101 * gdb.ada/assign_arr: New testcase.
6103 2017-12-18 Xavier Roirand <roirand@adacore.com>
6105 * gdb.ada/funcall_ptr: New testcase.
6107 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
6110 * gdb.base/ptype-offsets.cc: New file.
6111 * gdb.base/ptype-offsets.exp: New file.
6113 2017-12-15 Yao Qi <yao.qi@linaro.org>
6115 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
6118 2017-12-15 Xavier Roirand <roirand@adacore.com>
6120 * gdb.ada/same_component_name: New testcase.
6122 2017-12-14 Joel Brobecker <brobecker@adacore.com>
6124 * gdb.ada/str_binop_equal: New testcase.
6126 2017-12-14 Joel Brobecker <brobecker@adacore.com>
6128 * gdb.ada/task_switch_in_core: New testcase.
6130 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
6132 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
6133 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
6134 call test_bkpt_qualified.
6135 (test_bkpt_qualified): New proc.
6137 2017-12-13 Pedro Alves <palves@redhat.com>
6139 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
6140 Tighten regexp by matching with an anchor.
6142 2017-12-13 Pedro Alves <palves@redhat.com>
6144 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
6145 ("expression with namespace"): New set of tests.
6146 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
6147 (Nested::Test_NS::qux): New.
6148 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
6149 defaults to 'start_quote_char' and 'end_quote_char' parameters.
6151 2017-12-13 Joel Brobecker <brobecker@adacore.com>
6153 * gdb.base/server-del-break.c: New file.
6154 * gdb.base/server-del-break.exp: New file.
6156 2017-12-12 Stafford Horne <shorne@gmail.com>
6158 * gdb.xml/tdesc-regs.exp: Add or1k support.
6160 2017-12-12 Stafford Horne <shorne@gmail.com>
6162 * gdb.base/bp-permanent.c: Define nop of or1k.
6164 2017-12-11 Joel Brobecker <brobecker@adacore.com>
6166 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
6167 output with components being reordered.
6169 2017-12-11 Joel Brobecker <brobecker@adacore.com>
6171 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
6172 output with components being reordered.
6174 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6175 Pedro Alves <palves@redhat.com>
6177 * gdb.base/maint.exp (check for .gdb_index): Check also for
6179 * gdb.dlang/watch-loc.c (.debug_aranges): New.
6180 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
6181 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
6182 (.gdb_index used after symbol reloading): Support also .debug_names.
6183 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
6185 2017-12-08 Yao Qi <yao.qi@linaro.org>
6187 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
6188 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
6190 2017-12-08 Yao Qi <yao.qi@linaro.org>
6192 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
6193 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
6195 2017-12-08 Yao Qi <yao.qi@linaro.org>
6197 * gdb.arch/aarch64-tagged-pointer.c: New file.
6198 * gdb.arch/aarch64-tagged-pointer.exp: New file.
6200 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
6202 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
6205 2017-12-07 Keith Seitz <keiths@redhat.com>
6207 PR breakpoints/22569
6208 * gdb.linespec/ls-errs.exp: Change expected result of "break
6209 -source this file has spaces.c -line 3".
6210 Check that an explicit source file followed by whitespace is
6211 identified as an invalid explicit location.
6213 2017-12-07 Keith Seitz <keiths@redhat.com>
6215 * gdb.cp/nested-types.cc: New file.
6216 * gdb.cp/nested-types.exp: New file.
6217 * lib/cp-support.exp: Load data-structures.exp library.
6218 (debug_cp_test_ptype_class): New global.
6219 (cp_ptype_class_verbose, next_line): New procedures.
6220 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
6221 Add and document new return value.
6222 Switch the list of lines to a queue.
6223 Add support for new `type' key for nested type definitions.
6224 Add debugging/troubleshooting messages.
6225 * lib/data-structures.exp: New file.
6227 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
6229 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
6230 with proc_with_prefix, don't use with_test_prefix.
6232 2017-12-07 Tom Tromey <tom@tromey.com>
6234 * gdb.base/break.exp: Add test for empty "commands".
6236 2017-12-07 Yao Qi <yao.qi@linaro.org>
6238 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
6239 malloc and catch syscall.
6241 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
6243 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
6244 tests for explicit locations.
6246 2017-12-06 Pedro Alves <palves@redhat.com>
6248 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
6249 force-disabling XML descriptions.
6251 2017-12-04 Pedro Alves <palves@redhat.com>
6254 * gdb.arch/amd64-disp-step-avx.S: New file.
6255 * gdb.arch/amd64-disp-step-avx.exp: New file.
6257 2017-12-03 Pedro Alves <palves@redhat.com>
6259 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
6261 (parent_function): Print distinct messages when waitpid fails, or
6262 the child exits with a signal, or the child exits for an unhandled
6264 * gdb.threads/process-dies-while-detaching.exp
6265 (detach_and_expect_exit): New 'inf_output_re' parameter and use
6266 it. Wait for both inferior output and GDB's prompt. Use an
6267 indirect spawn id list.
6268 (do_detach): New parameter 'child_exit'. Use it to compute
6269 expected inferior output.
6270 (test_detach, test_detach_watch, test_detach_killed_outside):
6271 Adjust to pass down the expected child exit kind.
6273 2017-12-01 Joel Brobecker <brobecker@adacore.com>
6274 Sergio Durigan Junior <sergiodj@redhat.com>
6275 Pedro Alves <palves@redhat.com>
6277 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
6279 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
6281 * gdb.base/relocate.exp: Add tests to guarantee that arguments
6282 to 'symbol-file' and 'add-symbol-file' can be
6283 position-independent.
6285 2017-12-01 Yao Qi <yao.qi@linaro.org>
6287 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
6288 the URL in copyright header.
6289 * gdb.arch/aarch64-fp.exp: Likewise.
6290 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
6291 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
6292 * gdb.base/expand-psymtabs.exp: Likewise.
6293 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
6294 * gdb.fortran/common-block.exp: Likewise.
6295 * gdb.fortran/common-block.f90: Likewise.
6296 * gdb.fortran/logical.exp: Likewise.
6297 * gdb.fortran/vla-datatypes.f90: Likewise.
6298 * gdb.fortran/vla-sub.f90: Likewise.
6300 2017-11-30 Joel Brobecker <brobecker@adacore.com>
6302 * gdb.ada/repeat_dyn: New testcase.
6304 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
6306 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
6307 Update for changed thread numbering.
6308 * gdb.cell/bt.exp: Update for changed GDB output.
6310 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
6312 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
6313 setting isremote by hand.
6314 * boards/dwarf4-gdb-index.exp: Likewise.
6315 * boards/fission.exp: Likewise.
6316 * boards/stabs.exp: Likewise.
6318 2017-11-30 Pedro Alves <palves@redhat.com>
6320 * gdb.linespec/cpls-ops.exp
6321 (check_explicit_skips_function_argument): Extract the underlying
6322 type of size_t instead of hardcoding it.
6324 2017-11-29 Pedro Alves <palves@redhat.com>
6327 * gdb.linespec/cpls-abi-tag.cc: New file.
6328 * gdb.linespec/cpls-abi-tag.exp: New file.
6330 2017-11-29 Pedro Alves <palves@redhat.com>
6332 * gdb.base/langs.exp: Use -qualified.
6333 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
6335 * gdb.cp/namespace.exp: Use -qualified.
6336 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
6337 (overload-3, template-overload, template-ret-type, const-overload)
6338 (const-overload-quoted, anon-ns, ambiguous-prefix): New
6340 (test_driver): Call them.
6341 * gdb.cp/save-bp-qualified.cc: New.
6342 * gdb.cp/save-bp-qualified.exp: New.
6343 * gdb.linespec/explicit.exp: Test -qualified.
6344 * lib/completion-support.exp (completion::explicit_opts_list): Add
6346 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
6348 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
6350 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
6352 2017-11-29 Tom Tromey <tom@tromey.com>
6354 * gdb.base/relocate.exp: Update invalid argument test.
6355 Add new tests for invalid arguments.
6357 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
6359 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
6361 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
6363 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
6365 * gdb.cp/breakpoint.cc (bar): Set return type to void.
6366 * gdb.cp/psymtab-parameter.cc (func): Likewise.
6367 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
6369 * gdb.cp/shadow.cc (B.func): Return 0.
6371 2017-11-27 Joel Brobecker <brobecker@adacore.com>
6373 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
6374 expected output in gdb_expect call to allow the exception
6375 message to be present as well. Fix syntax confusion to avoid
6376 TCL thinking that exception_name is an array.
6378 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
6380 * gdb.arch/spu-info.c: Include <unistd.h>.
6381 (do_signal_test): Fix broken calls to write.
6382 * gdb.arch/spu-info.exp: Use prepare_for_testing.
6383 Fix checks for empty mailboxes. Update signal tests for corrected
6384 do_signal_test routine. Allow nonzero event status.
6385 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
6386 * gdb.cell/arch.exp: Use standard_output_file.
6387 * gdb.cell/break.exp: Likewise.
6388 * gdb.cell/bt.exp: Likewise.
6389 * gdb.cell/core.exp: Likewise.
6390 * gdb.cell/dwarfaddr.exp: Likewise.
6391 * gdb.cell/ea-cache.exp: Likewise.
6392 * gdb.cell/ea-standalone.exp: Likewise.
6393 * gdb.cell/f-regs.exp: Likewise.
6394 * gdb.cell/fork.exp: Likewise.
6395 * gdb.cell/gcore.exp: Likewise.
6396 * gdb.cell/mem-access.exp: Likewise.
6397 * gdb.cell/ptype.exp: Likewise.
6398 * gdb.cell/registers.exp: Likewise.
6399 * gdb.cell/sizeof.exp: Likewise.
6400 * gdb.cell/solib-symbol.exp: Likewise.
6401 * gdb.cell/solib.exp: Likewise.
6403 2017-11-25 Pedro Alves <palves@redhat.com>
6405 * gdb.base/complete-empty.exp: New file.
6406 * gdb.base/completion.exp: Adjust.
6408 2017-11-25 Pedro Alves <palves@redhat.com>
6410 * gdb.linespec/cpls-ops.cc: New file.
6411 * gdb.linespec/cpls-ops.exp: New file.
6412 * lib/completion-support.exp (test_complete_prefix_range_re): New,
6413 factored out from ...
6414 (test_complete_prefix_range): ... this.
6416 2017-11-24 Pedro Alves <palves@redhat.com>
6418 * gdb.linespec/cpcompletion.exp: New file.
6419 * gdb.linespec/cpls-hyphen.cc: New file.
6420 * gdb.linespec/cpls.cc: New file.
6421 * gdb.linespec/cpls2.cc: New file.
6422 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
6423 test to use test_gdb_complete_unique. Add label completion,
6424 keyword completion and explicit location completion tests.
6425 * lib/completion-support.exp: New file.
6427 2017-11-24 Joel Brobecker <brobecker@adacore.com>
6429 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
6430 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
6431 when hitting an exception catchpoint.
6433 2017-11-22 Yao Qi <yao.qi@linaro.org>
6435 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
6437 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
6439 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
6440 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
6441 * gdb.dwarf2/info-locals-optimized-out.c: New file.
6443 2017-11-22 Yao Qi <yao.qi@linaro.org>
6445 * gdb.base/info-os.exp: Pass pthreads.
6446 * gdb.multi/multi-attach.exp: Likewise.
6448 2017-11-22 Yao Qi <yao.qi@linaro.org>
6450 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
6453 2017-11-22 Yao Qi <yao.qi@linaro.org>
6455 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
6456 * gdb.base/break-interp.exp: Likewise.
6457 * gdb.base/jit-attach-pie.exp: Likewise.
6459 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
6461 * gdb.base/float128.c (large128): New variable.
6462 * gdb.base/float128.exp: Add test to print largest __float128 value.
6464 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
6466 * gdb.arch/vsx-regs.exp: Update register content checks.
6468 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
6470 * gdb.arch/ppc-longdouble.exp: New file.
6471 * gdb.arch/ppc-longdouble.c: Likewise.
6473 2017-11-21 Pedro Alves <palves@redhat.com>
6475 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
6477 2017-11-20 Pedro Alves <palves@redhat.com>
6479 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
6480 (long_double_typedef): New typedefs.
6481 Use DEF on double and long double.
6482 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
6484 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
6485 and 'long_double_ptr_same_size' locals. Use them to decide
6486 whether cast from array/function to float is valid/invalid.
6488 2017-11-17 Tom Tromey <tom@tromey.com>
6490 * gdb.rust/traits.rs: New file.
6491 * gdb.rust/traits.exp: New file.
6493 2017-11-17 Joel Brobecker <brobecker@adacore.com>
6495 * gdb.ada/minsyms: New testcase.
6497 2017-11-16 Pedro Alves <palves@redhat.com>
6499 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
6500 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
6502 2017-11-16 Pedro Alves <palves@redhat.com>
6504 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
6505 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
6507 2017-11-16 Pedro Alves <palves@redhat.com>
6509 * gdb.server/reconnect-ctrl-c.c: New file.
6510 * gdb.server/reconnect-ctrl-c.exp: New file.
6512 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
6514 * gdb.python/py-rbreak.exp: New file.
6515 * gdb.python/py-rbreak.c: New file.
6516 * gdb.python/py-rbreak-func2.c: New file.
6518 2017-11-16 Pedro Alves <palves@redhat.com>
6520 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
6522 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
6525 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
6527 * gdb.tui/completionn.exp (test_tab_completion): Add space in
6530 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
6532 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
6535 2017-11-09 Pedro Alves <palves@redhat.com>
6537 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
6538 factored out from ...
6539 (top level): ... here, and adjusted to avoid expecting beyond the
6540 prompt in a single gdb_test_multiple.
6542 2017-11-09 Pedro Alves <palves@redhat.com>
6544 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
6546 * gdb.server/ext-attach.exp ("kill" test): Likewise.
6547 * gdb.server/ext-restart.exp ("kill" test): Likewise.
6548 * gdb.server/ext-run.exp ("kill" test): Likewise.
6549 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
6551 2017-11-09 Pedro Alves <palves@redhat.com>
6553 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
6554 match till end of line.
6556 2017-11-09 Pedro Alves <palves@redhat.com>
6558 * gdb.base/memattr.exp: Tighten regexes to match the end line.
6560 2017-11-09 Pedro Alves <palves@redhat.com>
6562 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
6563 New procedures, factored out from ...
6564 (top level): ... here, and adjusted to avoid expecting beyond the
6567 2017-11-09 Pedro Alves <palves@redhat.com>
6569 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
6570 output. Fix '?' match.
6572 2017-11-08 Joel Brobecker <brobecker@adacore.com>
6574 * gdb.ada/scoped_watch: New testcase.
6575 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
6576 which is actually correct.
6577 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
6578 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
6580 2017-11-08 Pedro Alves <palves@redhat.com>
6582 * gdb.gdb/complaints.exp (test_initial_complaints)
6583 (test_serial_complaints, test_short_complaints): Call
6584 complaint_internal instead of complaint.
6586 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
6588 * gdb.threads/tls-core.c: New file.
6589 * gdb.threads/tls-core.exp: Likewise.
6591 2017-11-08 Pedro Alves <palves@redhat.com>
6593 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
6594 (p Exported_Capitalized): New test.
6595 (p exported_capitalized): New test.
6597 2017-11-07 Pedro Alves <palves@redhat.com>
6599 * gdb.cp/ena-dis-br-range.exp: Add more tests.
6601 2017-11-07 Pedro Alves <palves@redhat.com>
6603 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
6604 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
6605 (disable_invalid, disable_inverted, disable_negative): New
6607 ("bad numbers"): New set of tests.
6609 2017-11-07 Pedro Alves <palves@redhat.com>
6611 * gdb.cp/ena-dis-br-range.exp: Add tests.
6613 2017-11-07 Pedro Alves <palves@redhat.com>
6615 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
6617 2017-11-07 Xavier Roirand <roirand@adacore.com>
6618 Pedro Alves <palves@redhat.com>
6620 * gdb.base/ena-dis-br.exp: Add reference to
6621 gdb.cp/ena-dis-br-range.exp.
6622 * gdb.cp/ena-dis-br-range.exp: New file.
6623 * gdb.cp/ena-dis-br-range.cc: New file.
6625 2017-11-06 Pedro Alves <palves@redhat.com>
6627 * gdb.base/attach-non-pgrp-leader.c: New.
6628 * gdb.base/attach-non-pgrp-leader.exp: New.
6630 2017-11-06 Pedro Alves <palves@redhat.com>
6632 * configure.ac: No longer check for termio.h and sgtty.h.
6633 * configure: Regenerate.
6634 * remote-utils.c: Include termios.h instead of gdb_termios.h.
6635 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
6636 Remove termio and sgtty code.
6638 2017-11-03 Yao Qi <yao.qi@linaro.org>
6640 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
6643 2017-11-03 Yao Qi <yao.qi@linaro.org>
6645 * gdb.python/py-thrhandle.exp: Skip it if python is not
6648 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
6650 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
6651 as a breakpoint command.
6653 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
6656 * gdb.python/py-infthread.exp: Test calling
6657 InferiorThread.inferior () multiple times in a row.
6659 2017-10-27 Keith Seitz <keiths@redhat.com>
6661 * gdb.opt/inline-break.exp (break_info_1): New procedure.
6662 Test "info break" for every inlined function breakpoint.
6664 2017-10-27 Yao Qi <yao.qi@linaro.org>
6666 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
6668 2017-10-26 Patrick Frants <osscontribute@gmail.com>
6670 * gdb.cp/classes.exp (test_static_members): Test printing
6672 * gdb.cp/classes.c (struct Inner, struct Outer): New.
6673 (Inner::instance, Outer::instance): New.
6675 2017-10-24 Pedro Alves <palves@redhat.com>
6677 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
6678 extra console" test in two stages.
6680 2017-10-24 Pedro Alves <palves@redhat.com>
6682 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
6684 2017-10-24 Pedro Alves <palves@redhat.com>
6686 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
6689 2017-10-24 Pedro Alves <palves@redhat.com>
6691 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
6692 $attempt" and "stoppedtry $stoppedtry" test prefixes.
6694 2017-10-24 Pedro Alves <palves@redhat.com>
6696 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
6697 parameter and handle it. Don't output read value in test name.
6699 2017-10-24 Pedro Alves <palves@redhat.com>
6701 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
6704 2017-10-24 Pedro Alves <palves@redhat.com>
6706 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
6707 include the unstable output directory name in the test's name.
6708 (initial_setup_simple) <'set args'>: Use custom test name.
6710 2017-10-24 Pedro Alves <palves@redhat.com>
6712 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
6713 with explicit test name.
6715 2017-10-20 Pedro Alves <palves@redhat.com>
6717 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
6718 'wait -i'. Use gdb_assert and remote_close.
6720 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
6722 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
6723 number from variable rather than hard-coded.
6725 2017-10-19 Pedro Alves <palves@redhat.com>
6727 * gdb.base/long-inferior-output.c: New file.
6728 * gdb.base/long-inferior-output.exp: New file.
6730 2017-11-18 Keith Seitz <keiths@redhat.com>
6732 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
6735 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
6736 Add additional user-defined conversion operator tests.
6738 2017-10-17 Pedro Alves <palves@redhat.com>
6740 * boards/native-stdio-gdbserver.exp: Load "local-board".
6742 2017-10-17 Pedro Alves <palves@redhat.com>
6744 * gdb.base/quit-live.c: New file.
6745 * gdb.base/quit-live.exp: New file.
6747 2017-10-16 Keith Seitz <keiths@redhat.com>
6749 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
6750 (class_with_protected_typedef, class_with_private_typedef)
6751 (struct_with_public_typedef, struct_with_protected_typedef)
6752 (struct_with_private_typedef): New classes/structs.
6753 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
6754 typedefs and access specifiers.
6756 2017-10-16 Pedro Alves <palves@redhat.com>
6757 Simon Marchi <simon.marchi@polymtl.ca>
6759 * README (Local vs Remote vs Native): New section.
6760 * boards/local-board.exp: New file, with bits factored out from
6762 * boards/native-extended-gdbserver.exp: ... here. Load
6764 * boards/native-gdbserver.exp: Load "local-board".
6765 (${board}_spawn, ${board}_exec): Delete.
6766 * boards/native-stdio-gdbserver.exp: Most contents factored out to
6768 * boards/stdio-gdbserver-base.exp: ... this new file.
6769 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
6770 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
6772 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
6773 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
6774 stdio_gdbserver_command.
6775 (${board}_get_remote_address, ${board}_get_comm_port)
6776 (${board}_download, ${board}_upload): Delete.
6777 (get_target_remote_pipe_cmd): New.
6779 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
6781 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
6782 test_bkpt_deletion, test_bkpt_cond_and_cmds,
6783 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
6784 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
6785 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
6786 remove with_test_prefix.
6788 2017-10-13 Pedro Alves <palves@redhat.com>
6790 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
6791 * gdb.base/annota1.exp: Use it instead of is_remote.
6792 * gdb.base/annota3.exp: Use it instead of is_remote.
6793 * gdb.cp/annota2.exp: Use it instead of is_remote.
6794 * gdb.cp/annota3.exp: Use it instead of is_remote.
6795 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
6797 2017-10-13 Pedro Alves <palves@redhat.com>
6799 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
6800 (test_num_test_vars, run_and_count_vars, find_env)
6801 (test_set_unset_env, test_inherit_env_var): New procedures.
6802 (top level): Use them.
6804 2017-10-13 Pedro Alves <palves@redhat.com>
6806 * lib/selftest-support.exp (selftest_setup): Extend comments, and
6807 also skip on stub-like targets.
6809 2017-10-13 Pedro Alves <palves@redhat.com>
6812 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
6813 (top level): Move some tests to ...
6814 (test_not_found): ... this new procedure.
6815 (top level): Call it.
6817 2017-10-13 Pedro Alves <palves@redhat.com>
6819 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
6820 expect different "info terminal" output if testing with a
6823 2017-10-13 Pedro Alves <palves@redhat.com>
6824 Simon Marchi <simon.marchi@polymtl.ca>
6827 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
6829 2017-10-13 Pedro Alves <palves@redhat.com>
6831 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
6834 2017-10-13 Pedro Alves <palves@redhat.com>
6836 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
6839 2017-10-13 Pedro Alves <palves@redhat.com>
6841 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
6844 2017-10-13 Pedro Alves <palves@redhat.com>
6846 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
6848 (corefile_test_attach): Likewise. Check can_spawn_for_attach
6849 instead of is_remote.
6851 2017-10-13 Pedro Alves <palves@redhat.com>
6853 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
6854 (top level): Add comment.
6856 2017-10-13 Pedro Alves <palves@redhat.com>
6858 * gdb.base/remote.exp (top level): Fix comment typo and add
6861 2017-10-13 Pedro Alves <palves@redhat.com>
6862 Simon Marchi <simon.marchi@polymtl.ca>
6864 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
6865 calls and add comments. Skip test if use_gdb_stub is set.
6866 (top level): Use "set cwd" command instead of "cd" command.
6868 2017-10-13 Pedro Alves <palves@redhat.com>
6870 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
6871 is_remote target check.
6873 2017-10-13 Pedro Alves <palves@redhat.com>
6875 * gdb.base/scope.exp: Use build_executable + clean_restart +
6876 gdb_file_cmd instead of prepare_for_testing and no longer skip
6877 "before run" tests on is_remote target boards. Update comments.
6878 * boards/native-extended-gdbserver.exp
6879 (extended_gdbserver_load_last_file): New, factored out from ...
6880 (gdb_load): ... this. Move further below and add comment.
6881 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
6883 2017-10-12 Pedro Alves <palves@redhat.com>
6885 * gdb.base/attach.exp: Remove references to gdb64.
6886 * gdb.base/dbx.exp: Remove references to gdb64.
6888 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6889 Pedro Alves <palves@redhat.com>
6891 * gdb.base/label.exp: Remove is_remote target check.
6893 2017-10-12 Pedro Alves <palves@redhat.com>
6895 * gdb.base/auvx.exp (coredir): Update comment.
6896 (top level) <core_works>: Use "set cwd" command instead of "cd"
6899 2017-10-12 Pedro Alves <palves@redhat.com>
6900 Simon Marchi <simon.marchi@polymtl.ca>
6902 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
6905 2017-10-12 Pedro Alves <palves@redhat.com>
6906 Simon Marchi <simon.marchi@polymtl.ca>
6908 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
6909 Instead skip if there's any gdb_protocol set.
6911 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6912 Pedro Alves <palves@redhat.com>
6914 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
6916 2017-10-12 Pedro Alves <palves@redhat.com>
6917 Simon Marchi <simon.marchi@polymtl.ca>
6919 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
6920 instead of on dejagnu remote boards.
6922 2017-10-12 Pedro Alves <palves@redhat.com>
6923 Simon Marchi <simon.marchi@polymtl.ca>
6925 * gdb.base/inferior-died.exp: Remove is_remote and isnative
6926 checks. Use build_executable + clean_restart instead of
6927 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
6928 of enabling non-stop after starting gdb.
6930 2017-10-12 Pedro Alves <palves@redhat.com>
6932 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
6933 * gdb.threads/non-ldr-exc-2.exp: Ditto.
6934 * gdb.threads/non-ldr-exc-3.exp: Ditto.
6935 * gdb.threads/non-ldr-exc-4.exp: Ditto.
6937 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
6939 * gdb.arch/arc-tdesc-cpu.exp: New file.
6940 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
6942 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
6944 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
6946 2017-10-10 Pedro Alves <palves@redhat.com>
6948 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
6951 2017-10-10 Pedro Alves <palves@redhat.com>
6953 * lib/selftest-support.exp (selftest_setup): Update for
6954 captured_command_loop's prototype change.
6956 2017-10-09 Pedro Alves <palves@redhat.com>
6958 Test both arch1=>arch2 and arch2=>arch1.
6960 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
6961 (srcfile2, binfile2, march1, march2): Remove globals. Largely
6963 (append_arch1_options, append_arch2_options, append_arch_options)
6964 (build_executables): New procedures.
6965 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
6967 (top level): Add new 'first_arch' testing axis.
6969 2017-10-09 Pedro Alves <palves@redhat.com>
6971 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
6973 (thread_start, all_started): New functions.
6974 (main): Spawn new thread and wait until it is scheduled.
6975 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
6977 (do_test): Add 'selected_thread' parameter. Run to all_started
6978 instead of main. Explicitly set the breakpoint at main. Switch
6979 to the SELECTED_THREAD thread.
6980 (top level): Test handling the exec event with either the main
6981 thread or the second thread selected.
6983 2017-10-09 Pedro Alves <palves@redhat.com>
6985 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
6986 logic. Move STOP marker after the value checks.
6987 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
6990 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
6992 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
6994 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
6996 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
6997 integer-to-dfp conversion.
6998 * gdb.base/dfp-test.exp: Likewise.
7000 2017-10-04 Pedro Alves <palves@redhat.com>
7002 * gdb.multi/hangout.c: Include <unistd.h>.
7003 (hangout_loop): New function.
7004 (main): Call alarm. Call hangout_loop in a loop.
7005 * gdb.multi/hello.c: Include <unistd.h>.
7006 (hello_loop): New function.
7007 (main): Call alarm. Call hangout_loop in a loop.
7008 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
7009 inferior with the other selected.
7011 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
7013 * gdb.mi/list-thread-groups-available.exp: New file.
7014 * gdb.mi/list-thread-groups-available.c: New file.
7016 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
7018 * gdb.base/set-cwd.exp: Make it available on
7019 native-extended-gdbserver.
7021 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
7023 * gdb.base/set-cwd.c: New file.
7024 * gdb.base/set-cwd.exp: Likewise.
7026 2017-10-02 Tom Tromey <tom@tromey.com>
7029 * gdb.rust/simple.rs (main): New variable "fslice".
7030 * gdb.rust/simple.exp: Add slice tests. Update string tests.
7032 2017-10-02 Tom Tromey <tom@tromey.com>
7034 * gdb.rust/simple.exp: Test ptype of a slice.
7036 2017-10-02 Tom Tromey <tom@tromey.com>
7038 * gdb.rust/simple.exp: Test index of slice.
7040 2017-09-27 Tom Tromey <tom@tromey.com>
7042 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
7044 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
7045 Pedro Alves <palves@redhat.com>
7047 * gdb.base/compare-sections.exp (get value of read-only section): Read
7049 (corrupt read-only section): Likewise and don't set written if patching
7052 2017-09-21 Kevin Buettner <kevinb@redhat.com>
7054 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
7057 2017-09-20 Pedro Alves <palves@redhat.com>
7059 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
7060 symbol names in gdb's output.
7061 * gdb.cp/overload.exp ("list all overloads"): Likewise.
7063 2017-09-20 Pedro Alves <palves@redhat.com>
7065 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
7067 (test_list_ambiguous_symbol): ... this and add a symbol name
7069 (test_list_ambiguous_function): Reimplement on top of
7070 test_list_ambiguous_symbol and also test listing ambiguous
7072 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
7073 (ambiguous_fun): ... this.
7074 (ambiguous_var): New.
7075 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
7076 (ambiguous_fun): ... this.
7077 (ambiguous_var): New.
7079 2017-09-19 John Baldwin <jhb@FreeBSD.org>
7081 * gdb.base/starti.c: New file.
7082 * gdb.base/starti.exp: New file.
7083 * lib/gdb.exp (gdb_starti_cmd): New procedure.
7085 2017-09-14 Pedro Alves <palves@redhat.com>
7087 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
7088 (top level): Use it instead of runto.
7090 2017-09-11 Tom Tromey <tom@tromey.com>
7092 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
7094 2017-09-11 Tom Tromey <tom@tromey.com>
7096 * gdb.python/py-infthread.exp: Add tests for new_thread event.
7097 * gdb.python/py-inferior.exp: Add tests for new inferior events.
7099 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
7101 * gdb.fortran/printing-types.exp: New file.
7102 * gdb.fortran/printing-types.exp: New file.
7104 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
7106 * gdb.fortran/vla-ptype.exp: Fix typos.
7107 * gdb.fortran/vla-value.exp: Same.
7109 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
7111 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
7112 * gdb.mi/mi-var-child-f.exp: Likewise.
7113 * gdb.mi/mi-vla-fortran.exp: Likewise.
7115 2017-09-08 Frank Penczek <frank.penczek@intel.com>
7116 Christoph Weinmann <christoph.t.weinmann@intel.com>
7117 Bernhard Heckel <bernhard.heckel@intel.com>
7119 * gdb.fortran/ptr-indentation.f90: New file.
7120 * gdb.fortran/ptr-indentation.exp: New file.
7122 2017-09-05 Tom Tromey <tom@tromey.com>
7125 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
7127 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
7129 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
7131 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7133 * gdb.threads/tls-nodebug-pie.c: New file.
7134 * gdb.threads/tls-nodebug-pie.exp: New file.
7136 2017-09-05 Tom Tromey <tom@tromey.com>
7138 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
7141 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
7143 * gdb.multi/multi-arch-exec.exp: Test with different
7144 "follow-exec-mode" settings.
7145 (do_test): New procedure.
7147 2017-09-04 Pedro Alves <palves@redhat.com>
7149 * gdb.base/func-static.c (S::method const, S::method volatile)
7150 (S::method volatile const): New methods.
7151 (c_s, v_s, cv_s): New instances.
7152 (main): Call method() on them.
7153 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
7154 (cannot_resolve): New procedure.
7155 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
7156 print-quote-unquoted columns.
7157 (do_test): Test printing each scope too.
7159 2017-09-04 Pedro Alves <palves@redhat.com>
7161 * gdb.base/local-static.exp: Also test with
7162 class::method::variable wholly quoted.
7163 * gdb.cp/m-static.exp (class::method::variable): Remove test.
7165 2017-09-04 Pedro Alves <palves@redhat.com>
7167 * gdb.base/local-static.c: New.
7168 * gdb.base/local-static.cc: New.
7169 * gdb.base/local-static.exp: New.
7171 2017-09-04 Pedro Alves <palves@redhat.com>
7173 * gdb.asm/asm-source.exp: Add casts to int.
7174 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
7175 (dataglobal64_1, dataglobal64_2): New globals.
7176 * gdb.base/nodebug.exp: Test different expressions involving the
7177 new globals, with print, whatis and ptype. Add casts to int.
7178 * gdb.base/solib-display.exp: Add casts to int.
7179 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
7180 * gdb.cp/m-static.exp: Add cast to int.
7181 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
7182 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
7183 tls variable with no debug info without a cast. Test with a cast
7185 * gdb.trace/entry-values.exp: Add casts.
7187 2017-09-04 Pedro Alves <palves@redhat.com>
7189 * gdb.base/nodebug.exp: Test that ptype's error about functions
7190 with unknown return type includes the function name too.
7192 2017-09-04 Pedro Alves <palves@redhat.com>
7194 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
7195 return type of munmap in infcall.
7196 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
7197 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
7198 type of ftell in infcall.
7199 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
7200 type of getpid in infcall.
7201 * gdb.base/infcall-exec.exp: Cast return type of execlp in
7203 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
7204 Bail on failure to extract the pid.
7205 * gdb.base/nodebug.c: #include <stdint.h>.
7206 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
7208 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
7209 Change expected output of print/whatis/ptype with functions with
7210 no debug info. Test all supported languages. Call
7211 test_call_promotion.
7212 * gdb.compile/compile.exp: Adjust expected output to expect
7214 * gdb.threads/siginfo-threads.exp: Likewise.
7216 2017-09-04 Pedro Alves <palves@redhat.com>
7218 * gdb.base/callfuncs.exp (do_function_calls): New parameter
7219 "prototypes". Test calling float functions via prototyped and
7220 unprototyped function pointers.
7221 (perform_all_tests): New parameter "prototypes". Pass it down.
7222 (top level): Pass down "prototypes" parameter to
7225 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
7227 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
7228 Test with nested loops.
7230 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
7232 * gdb.base/commands.exp: Call the new procedures.
7233 (loop_break_test, loop_continue_test): New procedures.
7235 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
7237 * gdb.base/commands.exp: Call new procedure.
7238 (define_if_without_arg_test): New procedure.
7240 2017-09-04 Pedro Alves <palves@redhat.com>
7242 * gdb.base/list-ambiguous.exp: New file.
7243 * gdb.base/list-ambiguous0.c: New file.
7244 * gdb.base/list-ambiguous1.c: New file.
7245 * gdb.base/list.exp (test_list_range): Adjust expected output.
7247 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
7249 * gdb.base/share-env-with-gdbserver.c: New file.
7250 * gdb.base/share-env-with-gdbserver.exp: Likewise.
7252 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
7254 * gdb.base/commands.exp (gdbvar_simple_if_test,
7255 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
7256 progvar_simple_if_test, progvar_simple_while_test,
7257 progvar_complex_if_while_test, user_defined_command_test,
7258 user_defined_command_args_eval,
7259 user_defined_command_args_stack_test,
7260 user_defined_command_manyargs_test, bp_deleted_in_command_test,
7261 temporary_breakpoint_commands,
7262 gdb_test_no_prompt, redefine_hook_test,
7263 redefine_backtrace_test): Remove "global gdb_prompt".
7265 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
7267 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
7268 New proc, call it from toplevel.
7270 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
7273 * gdb.server/normal.c: New file, copied from gdb.base.
7274 * gdb.server/run-without-local-binary.exp: New file.
7276 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
7278 * gdb.arch/sparc64-adi.exp: New file.
7279 * gdb.arch/sparc64-adi.c: New file.
7281 2017-08-22 Pedro Alves <palves@redhat.com>
7283 * gdb.cp/overload.exp (line_range_pattern): New procedure.
7284 (top level): Add "list all overloads" tests.
7286 2017-08-22 Tom Tromey <tom@tromey.com>
7288 * gdb.gdb/xfullpath.exp: Remove.
7290 2017-08-21 Pedro Alves <palves@redhat.com>
7293 * gdb.base/symbol-alias.c: New.
7294 * gdb.base/symbol-alias2.c: New.
7295 * gdb.base/symbol-alias.exp: New.
7297 2017-08-21 Pedro Alves <palves@redhat.com>
7299 * gdb.base/dfp-test.c
7300 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
7301 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
7302 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
7303 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
7304 * gdb.base/whatis-ptype-typedefs.c: New.
7305 * gdb.base/whatis-ptype-typedefs.exp: New.
7306 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
7307 (an_int, an_int_type, an_int_type2): New globals.
7308 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
7309 involving typedefs and cast expressions.
7310 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
7311 (lookup_typedefs_function): New.
7312 (typedefs_pretty_printers_dict): New.
7313 (top level): Register lookup_typedefs_function in
7314 gdb.pretty_printers.
7316 2017-08-18 Yao Qi <yao.qi@linaro.org>
7318 * gdb.server/unittest.exp: New.
7320 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
7323 * gdb.base/environ.exp: Add test to check if 'unset environment'
7326 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7328 * lib/gdb.exp (universal_compile_options): New caching proc.
7329 (gdb_compile): Suppress GCC's coloring of messages.
7331 2017-08-14 Tom Tromey <tom@tromey.com>
7334 * gdb.base/printcmds.exp (test_radices): New function.
7335 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
7336 * gdb.base/sizeof.exp (check_valueof): Use p/d.
7337 * lib/gdb.exp (get_integer_valueof): Use p/d.
7339 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
7341 * lib/gdb.exp (get_valueof): Don't capture end-of-line
7344 2017-08-05 Tom Tromey <tom@tromey.com>
7346 * gdb.rust/simple.exp: Allow String to appear in a different
7349 2017-07-26 Yao Qi <yao.qi@linaro.org>
7351 * gdb.gdb/unittest.exp: Invoke command
7352 "maintenance check xml-descriptions".
7354 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7356 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
7358 (hex128): Drop erroneous calculation of parameters.
7360 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
7362 * gdb.python/py-unwind.exp: Disable stack protection when
7365 2017-07-20 Pedro Alves <palves@redhat.com>
7367 * gdb.base/default.exp (set language): Adjust expected output.
7369 2017-07-20 Pedro Alves <palves@redhat.com>
7371 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
7372 (test_minsym): ... this, and make static.
7373 (get_pck__foo__bar__minsym): Rename to ...
7374 (get_test_minsym): ... this.
7375 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
7376 symbol names and comments.
7377 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
7378 (get_test_minsym): ... this.
7379 (pck__foo__bar__minsym__2): Rename to ...
7380 (test_minsym): ... this.
7383 2017-07-17 Pedro Alves <palves@redhat.com>
7385 * gdb.base/completion.exp: Adjust expected output.
7386 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
7387 the completer works.
7389 2017-07-17 Pedro Alves <palves@redhat.com>
7391 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
7393 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
7395 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
7397 2017-07-14 Tom Tromey <tom@tromey.com>
7400 * gdb.rust/simple.exp: Add tests.
7402 2017-07-14 Tom Tromey <tom@tromey.com>
7404 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
7406 2017-07-14 Pedro Alves <palves@redhat.com>
7408 * gdb.linespec/base/one/thefile.cc (z1): New function.
7409 * gdb.linespec/base/two/thefile.cc (z2): New function.
7410 * gdb.linespec/linespec.exp: Add tests.
7412 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
7414 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
7415 to mi_create_breakpoint.
7417 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
7419 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
7420 mi_create_breakpoint.
7422 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
7424 * gdb.dlang/demangle.exp: Update for demangling changes.
7426 2017-07-09 Tom Tromey <tom@tromey.com>
7428 * gdb.dwarf2/shortpiece.exp: New file.
7430 2017-07-06 David Blaikie <dblaikie@gmail.com>
7432 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
7433 built from fissiont-multi-cu{1,2}.c.
7434 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
7435 except putting 'main' and 'func' in separate CUs in the same DWO file.
7436 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
7438 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
7441 2017-07-06 Pedro Alves <palves@redhat.com>
7443 * gdb.python/py-unwind.exp: Test flushregs.
7445 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
7448 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
7449 tests for alias commands and trailing whitespace.
7451 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
7454 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
7457 2017-06-29 Pedro Alves <palves@redhat.com>
7459 * gdb.base/printcmds.exp: Add tests.
7461 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
7464 * gdb.base/reread-readsym.exp: New file.
7465 * gdb.base/reread-readsym.c: New file.
7467 2017-06-21 Kevin Buettner <kevinb@redhat.com>
7469 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
7472 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
7474 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
7476 * gdb.arch/powerpc-power9.s: Likewise.
7478 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7480 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
7481 on 32-bit x86 targets. Exploit is_*_target macros where
7484 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7486 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
7489 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7491 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
7492 located in one or more DWARF pieces.
7494 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7496 * lib/gdb.exp (get_endianness): New proc.
7497 * gdb.arch/aarch64-fp.exp: Use it.
7498 * gdb.arch/altivec-regs.exp: Likewise.
7499 * gdb.arch/e500-regs.exp: Likewise.
7500 * gdb.arch/vsx-regs.exp: Likewise.
7501 * gdb.base/dump.exp: Likewise.
7502 * gdb.base/funcargs.exp: Likewise.
7503 * gdb.base/gnu_vector.exp: Likewise.
7504 * gdb.dwarf2/formdata16.exp: Likewise.
7505 * gdb.dwarf2/implptrpiece.exp: Likewise.
7506 * gdb.dwarf2/nonvar-access.exp: Likewise.
7507 * gdb.python/py-inferior.exp: Likewise.
7508 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
7510 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7513 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
7514 stack value pieces are taken from the LSB end.
7516 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7518 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
7519 variable at nonzero offset.
7521 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7523 * gdb.dwarf2/var-access.c: New file.
7524 * gdb.dwarf2/var-access.exp: New test.
7525 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
7527 2017-06-12 Tom Tromey <tom@tromey.com>
7529 * gdb.dwarf2/formdata16.exp: Add tests.
7531 2017-06-12 Tom Tromey <tom@tromey.com>
7533 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
7535 2017-06-12 Tom Tromey <tom@tromey.com>
7538 * gdb.reverse/i386-sse-reverse.exp: Update tests.
7539 * gdb.arch/vsx-regs.exp: Update tests.
7540 * gdb.arch/s390-vregs.exp (hex128): New proc.
7542 * gdb.arch/altivec-regs.exp: Update tests.
7544 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
7546 * gdb.base/startup-with-shell.c: New file.
7547 * gdb.base/startup-with-shell.exp: Likewise.
7549 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
7551 * gdb.server/non-existing-program.exp: Update regex in order to
7552 reflect the fact that gdbserver is now using fork_inferior (with a
7553 shell) to startup the inferior.
7555 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
7557 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
7558 support function calls from GDB.
7560 2017-05-21 Tom Tromey <tom@tromey.com>
7563 * gdb.rust/unsized.exp: New file.
7564 * gdb.rust/unsized.rs: New file.
7566 2017-05-19 Tom Tromey <tom@tromey.com>
7569 * gdb.rust/watch.exp: New file.
7570 * gdb.rust/watch.rs: New file.
7572 2017-05-18 Tom Tromey <tom@tromey.com>
7574 * gdb.rust/simple.exp: Allow Box to be qualified.
7576 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
7578 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
7580 2017-05-18 Pedro Alves <palves@redhat.com>
7582 * gdb.base/fileio.c (test_write, test_read, test_close)
7583 (test_fstat): Don't print 'ret' in the fail path.
7585 2017-05-18 Pedro Alves <palves@redhat.com>
7587 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
7588 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
7589 (test_system, test_rename, test_unlink, test_time): Change
7591 * gdb.base/fileio.exp (stop_msg): Adjust.
7593 2017-05-18 Pedro Alves <palves@redhat.com>
7595 * gdb.base/fileio.c (null_str): New global.
7596 (test_stat): Use it.
7597 * gdb.base/fileio.exp: Remove nowarnings.
7599 2017-05-17 Yao Qi <yao.qi@linaro.org>
7601 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
7603 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
7605 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
7607 (top-level): Invoke test_set_inferior_tty.
7609 2017-05-04 Pedro Alves <palves@redhat.com>
7611 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
7612 Add parens to print call for Python 3.
7614 2017-05-03 Keith Seitz <keiths@redhat.com>
7616 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
7619 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7621 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
7624 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7626 * gdb.python/py-record-btrace.exp: Remove test for
7627 gdb.BtraceInstruction.error.
7629 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7631 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
7633 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7635 * gdb.python/py-record-btrace-threads.c: New file.
7636 * gdb.python/py-record-btrace-threads.exp: New file.
7638 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
7641 * gdb.base/environ.exp: Make test available in all architectures.
7642 Move bits related to "info program" testing to
7643 gdb.base/info-program.exp. Rewrite tests to use the two new
7644 procedures mentione below.
7645 (test_set_show_env_var) New procedure.
7646 (test_set_show_env_var_equal): Likewise.
7647 * gdb.base/info-program.exp: New file.
7649 2017-04-27 Keith Seitz <keiths@redhat.com>
7651 * gdb.cp/oranking.cc (test15): New function.
7652 (main): Call test15 and declare additional variables for testing.
7653 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
7654 "p foo101('abc')" tests.
7655 Add tests for cv qualifier overloads.
7656 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
7657 "lvalue reference overload" test.
7658 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
7659 "print value of f1 on Child&& in f2" test.
7661 2017-04-19 Pedro Alves <palves@redhat.com>
7663 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
7665 (top level): Call it.
7666 * lib/gdb.exp (gdb_define_cmd): New procedure.
7668 2017-04-12 Pedro Alves <palves@redhat.com>
7671 * gdb.cp/wide_char_types.c: Include <wchar.h>.
7672 (wchar): New global.
7673 * gdb.cp/wide_char_types.exp (wide_char_types_program)
7674 (do_test_wide_char, wide_char_types_no_program, top level): Add
7677 2017-04-12 Pedro Alves <palves@redhat.com>
7680 * gdb.cp/wide_char_types.c: New file.
7681 * gdb.cp/wide_char_types.exp: New file.
7683 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
7686 * gdb.trace/tsv.exp: Add test for "tsave -r".
7688 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
7690 * gdb.dlang/watch-loc.c: New file.
7691 * gdb.dlang/watch-loc.exp: New file.
7693 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7695 * gdb.python/py-section-script.exp (sepdebug): New testcases.
7697 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
7699 * gdb.arch/arc-analyze-prologue.S: New file.
7700 * gdb.arch/arc-analyze-prologue.exp: Likewise.
7702 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
7704 * gdb.arch/arc-decode-insn.S: New file.
7705 * gdb.arch/arc-decode-insn.exp: Likewise.
7707 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
7710 * gdb.arch/sparc64-regs.exp: New file.
7711 * gdb.arch/sparc64-regs.S: Likewise.
7713 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
7715 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
7716 and memory view on Python 3.
7718 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
7719 Keith Seitz <keiths@redhat.com>
7722 * gdb.cp/demangle.exp: Add rvalue reference tests.
7723 * gdb.cp/rvalue-ref-casts.cc: New file.
7724 * gdb.cp/rvalue-ref-casts.exp: New file.
7725 * gdb.cp/rvalue-ref-overload.cc: New file.
7726 * gdb.cp/rvalue-ref-overload.exp: New file.
7727 * gdb.cp/rvalue-ref-params.cc: New file.
7728 * gdb.cp/rvalue-ref-params.exp: New file.
7729 * gdb.cp/rvalue-ref-sizeof.cc: New file.
7730 * gdb.cp/rvalue-ref-sizeof.exp: New file.
7731 * gdb.cp/rvalue-ref-types.cc: New file.
7732 * gdb.cp/rvalue-ref-types.exp: New file.
7733 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
7734 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
7736 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7738 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
7741 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7743 * lib/mi-support.exp (mi_gdb_test): Add additional message
7744 for unexpected output.
7746 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7748 * gdb.base/examine-backward.c (Barrier): New character array
7749 constant, to ensure that TestStrings is preceded by a string
7752 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7754 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
7755 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
7756 and implicit pointer into such a location.
7758 2017-03-16 Doug Evans <dje@google.com>
7760 * gdb.python/py-lazy-string (pointer): Really add new typedef.
7762 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
7764 * gdb.cp/m-static.exp: Fix expectation for prototype of
7765 test5.single_constructor and single_constructor::single_constructor.
7767 2017-03-16 Doug Evans <dje@google.com>
7769 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
7770 * gdb.guile/scm-lazy-string.c: New file.
7771 * gdb.guile/scm-value.exp: Move lazy string tests to ...
7772 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
7773 for pointer, array, typedef lazy strings.
7775 2017-03-16 Doug Evans <dje@google.com>
7777 PR python/17728, python/18439, python/18779
7778 * gdb.python/py-value.c (main) Delete locals sptr, sn.
7779 * gdb.python/py-lazy-string.c (pointer): New typedef.
7780 (main): New locals ptr, array, typedef_ptr.
7781 * gdb.python/py-value.exp: Move lazy string tests to ...
7782 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
7783 array, typedef lazy strings.
7785 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
7787 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
7788 Add optional 'test' parameter.
7790 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7792 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7793 Skip for versions of DejaGnu < 1.5.
7795 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7797 * lib/gdb.exp (dejagnu_version): New proc.
7798 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
7799 Use dejagnu_version.
7801 2017-03-10 Keith Seitz <keiths@redhat.com>
7804 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
7805 type from destructor regexps.
7806 Add a branch which actually passes the test.
7807 Adjust "ptype t5i" test names.
7809 2017-03-08 Pedro Alves <palves@redhat.com>
7811 * gdb.base/step-over-exit.exp: Add explicit test message.
7813 2017-03-08 Pedro Alves <palves@redhat.com>
7816 * gdb.threads/interrupt-while-step-over.c: New file.
7817 * gdb.threads/interrupt-while-step-over.exp: New file.
7819 2017-03-08 Pedro Alves <palves@redhat.com>
7821 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
7822 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
7824 2017-03-08 Pedro Alves <palves@redhat.com>
7826 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
7827 PKRU as not supported as a PASS.
7829 2017-03-08 Pedro Alves <palves@redhat.com>
7831 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
7832 prefix instead of $binfile1/$binfile2.
7833 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
7835 * gdb.python/py-completion.exp: Use "load python file" as test
7836 messages instead of unstable path names.
7838 2017-03-08 Pedro Alves <palves@redhat.com>
7839 Jan Kratochvil <jan.kratochvil@redhat.com>
7842 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7844 (top level): Call it.
7846 2017-03-08 Pedro Alves <palves@redhat.com>
7849 * gdb.tui/tui-nl-filtered-output.exp: New file.
7851 2017-03-08 Pedro Alves <palves@redhat.com>
7853 * gdb.base/completion.exp: Move TUI completion tests to ...
7854 * gdb.tui/completion.exp: ... this new file.
7856 2017-03-08 Pedro Alves <palves@redhat.com>
7858 * gdb.base/tui-disasm-long-lines.c,
7859 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
7860 gdb.base/tui-layout.exp: Move to ...
7861 * gdb.tui/: ... this new directory.
7863 2017-03-07 Pedro Alves <palves@redhat.com>
7865 * gdb.base/tui-layout.c: New file.
7866 * gdb.base/tui-layout.exp: New file.
7868 2017-03-07 Pedro Alves <palves@redhat.com>
7870 * gdb.base/tui-layout.c: Rename to ...
7871 * gdb.base/tui-disasm-long-lines.c: ... this.
7872 * gdb.base/tui-layout.exp: Rename to ...
7873 * gdb.base/tui-disasm-long-lines.exp: ... this.
7875 2017-03-07 Pedro Alves <palves@redhat.com>
7877 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
7879 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
7881 * i386-mpx-call.c: New file.
7882 * i386-mpx-call.exp: New file.
7884 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
7886 * gdb.arch/powerpc-power.exp: Delete test.
7887 * gdb.arch/powerpc-power.s: Likewise.
7888 * gdb.disasm/disassembler-options.exp: New test.
7889 * gdb.arch/powerpc-altivec.exp: Likewise.
7890 * gdb.arch/powerpc-altivec.s: Likewise.
7891 * gdb.arch/powerpc-altivec2.exp: Likewise.
7892 * gdb.arch/powerpc-altivec2.s: Likewise.
7893 * gdb.arch/powerpc-altivec3.exp: Likewise.
7894 * gdb.arch/powerpc-altivec3.s: Likewise.
7895 * gdb.arch/powerpc-power7.exp: Likewise.
7896 * gdb.arch/powerpc-power7.s: Likewise.
7897 * gdb.arch/powerpc-power8.exp: Likewise.
7898 * gdb.arch/powerpc-power8.s: Likewise.
7899 * gdb.arch/powerpc-power9.exp: Likewise.
7900 * gdb.arch/powerpc-power9.s: Likewise.
7901 * gdb.arch/powerpc-vsx.exp: Likewise.
7902 * gdb.arch/powerpc-vsx.s: Likewise.
7903 * gdb.arch/powerpc-vsx2.exp: Likewise.
7904 * gdb.arch/powerpc-vsx2.s: Likewise.
7905 * gdb.arch/powerpc-vsx3.exp: Likewise.
7906 * gdb.arch/powerpc-vsx3.s: Likewise.
7907 * gdb.arch/arm-disassembler-options.exp: Likewise.
7908 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
7909 * gdb.arch/s390-disassembler-options.exp: Likewise.
7911 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
7913 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
7914 (check_supported_features): ... this. Changed return type to void.
7915 (supports_rdseed): New static global.
7916 (rdseed): Check supports_rdseed.
7917 (initialize): Call check_supported_features.
7919 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7921 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
7922 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
7924 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
7925 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
7927 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7929 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
7932 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7934 * gdb.dwarf2/formdata16.c: New file.
7935 * gdb.dwarf2/formdata16.exp: New file.
7936 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
7938 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7940 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
7941 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
7942 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
7943 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
7946 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7948 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
7950 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
7953 * gdb.base/maint.exp: Add testcases for when the commands do
7956 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
7958 * gdb.cp/chained-calls.exp: Use p instead of P.
7960 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
7962 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
7963 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
7965 2017-02-14 Tom Tromey <tom@tromey.com>
7968 * gdb.python/py-events.exp: Add before_prompt event tests.
7970 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7972 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
7974 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
7976 * gdb.linespec/explicit.c (my_unique_function_name): New function.
7977 (main): Call my_unique_function_name.
7978 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
7979 completion of patterns with a single match.
7980 Add missing -re switches to gdb_test_multiple calls.
7982 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
7984 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
7985 return if core file is not recognized.
7987 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7989 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
7992 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7994 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
7997 2017-02-10 Tom Tromey <tom@tromey.com>
7999 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
8001 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
8004 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
8006 2017-02-08 Jerome Guitton <guitton@adacore.com>
8008 * gdb.base/define.exp: Add test for command abbreviations
8011 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
8013 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
8014 * gdb.reverse/insn-reverse-x86.c: New file.
8016 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
8019 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
8021 2017-02-03 Tom Tromey <tom@tromey.com>
8024 * gdb.rust/simple.exp: Add new tests.
8026 2017-02-02 Pedro Alves <palves@redhat.com>
8028 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
8031 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
8033 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
8034 taking a 2-byte value out of a 4-byte DWARF implicit value on
8036 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
8037 logic. Add test cases for DW_OP_implicit.
8039 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8041 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
8043 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8045 * gdb.btrace/enable.exp: Call gdb_exit before
8046 skip_gdbserver_tests.
8048 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8050 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
8053 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8055 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
8056 the test is skipped.
8057 * gdb.btrace/data.exp: Likewise.
8058 * gdb.btrace/delta.exp: Likewise.
8059 * gdb.btrace/dlopen.exp: Likewise.
8060 * gdb.btrace/enable-running.exp: Likewise.
8061 * gdb.btrace/enable.exp: Likewise.
8062 * gdb.btrace/exception.exp: Likewise.
8063 * gdb.btrace/function_call_history.exp: Likewise.
8064 * gdb.btrace/gcore.exp: Likewise.
8065 * gdb.btrace/instruction_history.exp: Likewise.
8066 * gdb.btrace/multi-thread-step.exp: Likewise.
8067 * gdb.btrace/nohist.exp: Likewise.
8068 * gdb.btrace/non-stop.exp: Likewise.
8069 * gdb.btrace/reconnect.exp: Likewise.
8070 * gdb.btrace/record_goto-step.exp: Likewise.
8071 * gdb.btrace/record_goto.exp: Likewise.
8072 * gdb.btrace/rn-dl-bind.exp: Likewise.
8073 * gdb.btrace/segv.exp: Likewise.
8074 * gdb.btrace/step.exp: Likewise.
8075 * gdb.btrace/stepi.exp: Likewise.
8076 * gdb.btrace/tailcall-only.exp: Likewise.
8077 * gdb.btrace/tailcall.exp: Likewise.
8078 * gdb.btrace/tsx.exp: Likewise.
8079 * gdb.btrace/unknown_functions.exp: Likewise.
8080 * gdb.btrace/vdso.exp: Likewise.
8082 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8084 * gdb.btrace/enable-running.c: New.
8085 * gdb.btrace/enable-running.exp: New.
8087 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
8089 * gdb.arch/amd64-gs_base.c: New file.
8090 * gdb.arch/amd64-gs_base.exp: New file.
8092 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
8094 * lib/memory.exp: Remove spurious empty newlines.
8096 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
8098 * gdb.python/py-bad-printers.exp: Load python file using "source".
8099 * gdb.python/py-events.exp: Likewise.
8100 * gdb.python/py-evsignal.exp: Likewise.
8101 * gdb.python/py-evthreads.exp: Likewise.
8102 * gdb.python/py-frame-args.exp: Likewise.
8103 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
8104 * gdb.python/py-framefilter-mi.exp: Likewise.
8105 * gdb.python/py-framefilter.exp: Likewise.
8106 * gdb.python/py-mi.exp: Likewise.
8107 * gdb.python/py-pp-maint.exp: Likewise.
8108 * gdb.python/py-pp-registration.exp: Likewise.
8109 * gdb.python/py-prettyprint.exp: Likewise.
8110 (run_lang_tests): Likewise.
8111 * gdb.python/py-typeprint.exp: Likewise.
8113 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
8115 * lib/memory.exp: New file.
8116 * lib/gdb.exp: Load memory.exp.
8117 * gdb.base/memattr.exp (delete_memory): Move proc to
8118 lib/memory.exp and rename to delete_memory_regions.
8119 Replace delete_memory with delete_memory_regions.
8120 Cleanup memory regions before tests.
8121 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
8124 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
8126 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
8128 (initialize): New function conditionally defined.
8129 (testcases): Move within conditional block.
8130 (main): Call initialize.
8131 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
8132 of gdb.reverse/insn-reverse.c.
8133 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
8134 gdb.reverse/insn-reverse.c.
8136 2017-01-26 Yao Qi <yao.qi@linaro.org>
8138 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
8139 disassemble on address 0.
8141 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
8142 Yao Qi <yao.qi@linaro.org>
8144 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
8145 * gdb.dwarf2/implptr-64bit.S: Remove.
8146 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
8147 variables in caller's context. Add DW_OP_implicit_value.
8149 2017-01-25 Yao Qi <yao.qi@linaro.org>
8151 * lib/dwarf.exp (Dwarf::_location): Handle
8152 DW_OP_GNU_implicit_pointer with proper size.
8154 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
8156 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
8157 and add untested calls.
8159 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
8161 * gdb.python/python.exp: Check line number against what GDB thinks
8162 the line number is for func1.
8164 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
8166 * gdb.dlang/debug-expr.exp: New file.
8168 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
8170 Fix test names for the following files:
8172 * gdb.ada/exec_changed.exp
8173 * gdb.ada/info_types.exp
8174 * gdb.arch/aarch64-atomic-inst.exp
8175 * gdb.arch/aarch64-fp.exp
8176 * gdb.arch/altivec-abi.exp
8177 * gdb.arch/altivec-regs.exp
8178 * gdb.arch/amd64-byte.exp
8179 * gdb.arch/amd64-disp-step.exp
8180 * gdb.arch/amd64-dword.exp
8181 * gdb.arch/amd64-entry-value-inline.exp
8182 * gdb.arch/amd64-entry-value-param.exp
8183 * gdb.arch/amd64-entry-value-paramref.exp
8184 * gdb.arch/amd64-entry-value.exp
8185 * gdb.arch/amd64-i386-address.exp
8186 * gdb.arch/amd64-invalid-stack-middle.exp
8187 * gdb.arch/amd64-invalid-stack-top.exp
8188 * gdb.arch/amd64-optimout-repeat.exp
8189 * gdb.arch/amd64-prologue-skip.exp
8190 * gdb.arch/amd64-prologue-xmm.exp
8191 * gdb.arch/amd64-stap-special-operands.exp
8192 * gdb.arch/amd64-stap-wrong-subexp.exp
8193 * gdb.arch/amd64-tailcall-cxx.exp
8194 * gdb.arch/amd64-tailcall-noret.exp
8195 * gdb.arch/amd64-tailcall-ret.exp
8196 * gdb.arch/amd64-tailcall-self.exp
8197 * gdb.arch/amd64-word.exp
8198 * gdb.arch/arm-bl-branch-dest.exp
8199 * gdb.arch/arm-disp-step.exp
8200 * gdb.arch/arm-neon.exp
8201 * gdb.arch/arm-single-step-kernel-helper.exp
8202 * gdb.arch/avr-flash-qualifier.exp
8203 * gdb.arch/disp-step-insn-reloc.exp
8204 * gdb.arch/e500-abi.exp
8205 * gdb.arch/e500-regs.exp
8206 * gdb.arch/ftrace-insn-reloc.exp
8207 * gdb.arch/i386-avx512.exp
8208 * gdb.arch/i386-bp_permanent.exp
8209 * gdb.arch/i386-byte.exp
8210 * gdb.arch/i386-cfi-notcurrent.exp
8211 * gdb.arch/i386-disp-step.exp
8212 * gdb.arch/i386-dr3-watch.exp
8213 * gdb.arch/i386-float.exp
8214 * gdb.arch/i386-gnu-cfi.exp
8215 * gdb.arch/i386-mpx-map.exp
8216 * gdb.arch/i386-mpx-sigsegv.exp
8217 * gdb.arch/i386-mpx-simple_segv.exp
8218 * gdb.arch/i386-mpx.exp
8219 * gdb.arch/i386-permbkpt.exp
8220 * gdb.arch/i386-prologue.exp
8221 * gdb.arch/i386-signal.exp
8222 * gdb.arch/i386-size-overlap.exp
8223 * gdb.arch/i386-unwind.exp
8224 * gdb.arch/i386-word.exp
8225 * gdb.arch/mips-fcr.exp
8226 * gdb.arch/powerpc-d128-regs.exp
8227 * gdb.arch/powerpc-stackless.exp
8228 * gdb.arch/ppc64-atomic-inst.exp
8229 * gdb.arch/s390-stackless.exp
8230 * gdb.arch/s390-tdbregs.exp
8231 * gdb.arch/s390-vregs.exp
8232 * gdb.arch/sparc-sysstep.exp
8233 * gdb.arch/thumb-bx-pc.exp
8234 * gdb.arch/thumb-singlestep.exp
8235 * gdb.arch/thumb2-it.exp
8236 * gdb.arch/vsx-regs.exp
8237 * gdb.asm/asm-source.exp
8238 * gdb.base/a2-run.exp
8239 * gdb.base/advance.exp
8240 * gdb.base/all-bin.exp
8243 * gdb.base/arithmet.exp
8244 * gdb.base/async-shell.exp
8245 * gdb.base/async.exp
8246 * gdb.base/attach-pie-noexec.exp
8247 * gdb.base/attach-twice.exp
8248 * gdb.base/auto-load.exp
8250 * gdb.base/bitfields.exp
8251 * gdb.base/break-always.exp
8252 * gdb.base/break-caller-line.exp
8253 * gdb.base/break-entry.exp
8254 * gdb.base/break-inline.exp
8255 * gdb.base/break-on-linker-gcd-function.exp
8256 * gdb.base/break-probes.exp
8257 * gdb.base/break.exp
8258 * gdb.base/breakpoint-shadow.exp
8259 * gdb.base/call-ar-st.exp
8260 * gdb.base/call-sc.exp
8261 * gdb.base/call-signal-resume.exp
8262 * gdb.base/call-strs.exp
8263 * gdb.base/callfuncs.exp
8264 * gdb.base/catch-fork-static.exp
8265 * gdb.base/catch-gdb-caused-signals.exp
8266 * gdb.base/catch-load.exp
8267 * gdb.base/catch-signal-fork.exp
8268 * gdb.base/catch-signal.exp
8269 * gdb.base/catch-syscall.exp
8270 * gdb.base/charset.exp
8271 * gdb.base/checkpoint.exp
8272 * gdb.base/chng-syms.exp
8273 * gdb.base/code-expr.exp
8274 * gdb.base/code_elim.exp
8275 * gdb.base/commands.exp
8276 * gdb.base/completion.exp
8277 * gdb.base/complex.exp
8278 * gdb.base/cond-expr.exp
8279 * gdb.base/condbreak.exp
8280 * gdb.base/consecutive.exp
8281 * gdb.base/continue-all-already-running.exp
8282 * gdb.base/coredump-filter.exp
8283 * gdb.base/corefile.exp
8285 * gdb.base/debug-expr.exp
8286 * gdb.base/define.exp
8288 * gdb.base/disabled-location.exp
8289 * gdb.base/disasm-end-cu.exp
8290 * gdb.base/disasm-optim.exp
8291 * gdb.base/display.exp
8292 * gdb.base/duplicate-bp.exp
8293 * gdb.base/ena-dis-br.exp
8294 * gdb.base/ending-run.exp
8295 * gdb.base/enumval.exp
8296 * gdb.base/environ.exp
8297 * gdb.base/eu-strip-infcall.exp
8298 * gdb.base/eval-avoid-side-effects.exp
8299 * gdb.base/eval-skip.exp
8300 * gdb.base/exitsignal.exp
8301 * gdb.base/expand-psymtabs.exp
8302 * gdb.base/filesym.exp
8303 * gdb.base/find-unmapped.exp
8304 * gdb.base/finish.exp
8305 * gdb.base/float.exp
8306 * gdb.base/foll-exec-mode.exp
8307 * gdb.base/foll-exec.exp
8308 * gdb.base/foll-fork.exp
8309 * gdb.base/fortran-sym-case.exp
8310 * gdb.base/freebpcmd.exp
8311 * gdb.base/func-ptr.exp
8312 * gdb.base/func-ptrs.exp
8313 * gdb.base/funcargs.exp
8314 * gdb.base/gcore-buffer-overflow.exp
8315 * gdb.base/gcore-relro-pie.exp
8316 * gdb.base/gcore-relro.exp
8317 * gdb.base/gcore.exp
8318 * gdb.base/gdb1090.exp
8319 * gdb.base/gdb11530.exp
8320 * gdb.base/gdb11531.exp
8321 * gdb.base/gdb1821.exp
8322 * gdb.base/gdbindex-stabs.exp
8323 * gdb.base/gdbvars.exp
8324 * gdb.base/hbreak.exp
8325 * gdb.base/hbreak2.exp
8326 * gdb.base/included.exp
8327 * gdb.base/infcall-input.exp
8328 * gdb.base/inferior-died.exp
8329 * gdb.base/infnan.exp
8330 * gdb.base/info-macros.exp
8331 * gdb.base/info-os.exp
8332 * gdb.base/info-proc.exp
8333 * gdb.base/info-shared.exp
8334 * gdb.base/info-target.exp
8335 * gdb.base/infoline.exp
8336 * gdb.base/interp.exp
8337 * gdb.base/interrupt.exp
8338 * gdb.base/jit-reader.exp
8339 * gdb.base/jit-simple.exp
8340 * gdb.base/kill-after-signal.exp
8341 * gdb.base/kill-detach-inferiors-cmd.exp
8342 * gdb.base/label.exp
8343 * gdb.base/langs.exp
8344 * gdb.base/ldbl_e308.exp
8345 * gdb.base/line-symtabs.exp
8346 * gdb.base/linespecs.exp
8348 * gdb.base/long_long.exp
8349 * gdb.base/longest-types.exp
8350 * gdb.base/maint.exp
8351 * gdb.base/max-value-size.exp
8352 * gdb.base/memattr.exp
8353 * gdb.base/mips_pro.exp
8354 * gdb.base/morestack.exp
8355 * gdb.base/moribund-step.exp
8356 * gdb.base/multi-forks.exp
8357 * gdb.base/nested-addr.exp
8358 * gdb.base/nextoverexit.exp
8359 * gdb.base/noreturn-finish.exp
8360 * gdb.base/noreturn-return.exp
8361 * gdb.base/nostdlib.exp
8362 * gdb.base/offsets.exp
8363 * gdb.base/opaque.exp
8364 * gdb.base/pc-fp.exp
8365 * gdb.base/permissions.exp
8366 * gdb.base/print-symbol-loading.exp
8367 * gdb.base/prologue-include.exp
8368 * gdb.base/psymtab.exp
8369 * gdb.base/ptype.exp
8370 * gdb.base/random-signal.exp
8371 * gdb.base/randomize.exp
8372 * gdb.base/range-stepping.exp
8373 * gdb.base/readline-ask.exp
8374 * gdb.base/recpar.exp
8375 * gdb.base/recurse.exp
8376 * gdb.base/relational.exp
8377 * gdb.base/restore.exp
8378 * gdb.base/return-nodebug.exp
8379 * gdb.base/return.exp
8380 * gdb.base/run-after-attach.exp
8381 * gdb.base/save-bp.exp
8382 * gdb.base/scope.exp
8383 * gdb.base/sect-cmd.exp
8384 * gdb.base/set-lang-auto.exp
8385 * gdb.base/set-noassign.exp
8386 * gdb.base/setvar.exp
8387 * gdb.base/sigall.exp
8388 * gdb.base/sigbpt.exp
8389 * gdb.base/siginfo-addr.exp
8390 * gdb.base/siginfo-infcall.exp
8391 * gdb.base/siginfo-obj.exp
8392 * gdb.base/siginfo.exp
8393 * gdb.base/signals-state-child.exp
8394 * gdb.base/signest.exp
8395 * gdb.base/sigstep.exp
8396 * gdb.base/sizeof.exp
8398 * gdb.base/solib-corrupted.exp
8399 * gdb.base/solib-nodir.exp
8400 * gdb.base/solib-search.exp
8401 * gdb.base/stack-checking.exp
8402 * gdb.base/stale-infcall.exp
8403 * gdb.base/stap-probe.exp
8404 * gdb.base/start.exp
8405 * gdb.base/step-break.exp
8406 * gdb.base/step-bt.exp
8407 * gdb.base/step-line.exp
8408 * gdb.base/step-over-exit.exp
8409 * gdb.base/step-over-syscall.exp
8410 * gdb.base/step-resume-infcall.exp
8411 * gdb.base/step-test.exp
8412 * gdb.base/store.exp
8413 * gdb.base/structs3.exp
8414 * gdb.base/sym-file.exp
8415 * gdb.base/symbol-without-target_section.exp
8417 * gdb.base/testenv.exp
8418 * gdb.base/ui-redirect.exp
8419 * gdb.base/until.exp
8420 * gdb.base/unwindonsignal.exp
8421 * gdb.base/value-double-free.exp
8422 * gdb.base/vla-datatypes.exp
8423 * gdb.base/vla-ptr.exp
8424 * gdb.base/vla-sideeffect.exp
8425 * gdb.base/volatile.exp
8426 * gdb.base/watch-cond-infcall.exp
8427 * gdb.base/watch-cond.exp
8428 * gdb.base/watch-non-mem.exp
8429 * gdb.base/watch-read.exp
8430 * gdb.base/watch-vfork.exp
8431 * gdb.base/watchpoint-cond-gone.exp
8432 * gdb.base/watchpoint-delete.exp
8433 * gdb.base/watchpoint-hw-hit-once.exp
8434 * gdb.base/watchpoint-hw.exp
8435 * gdb.base/watchpoint-stops-at-right-insn.exp
8436 * gdb.base/watchpoints.exp
8437 * gdb.base/wchar.exp
8438 * gdb.base/whatis-exp.exp
8439 * gdb.btrace/buffer-size.exp
8440 * gdb.btrace/data.exp
8441 * gdb.btrace/delta.exp
8442 * gdb.btrace/dlopen.exp
8443 * gdb.btrace/enable.exp
8444 * gdb.btrace/exception.exp
8445 * gdb.btrace/function_call_history.exp
8446 * gdb.btrace/gcore.exp
8447 * gdb.btrace/instruction_history.exp
8448 * gdb.btrace/nohist.exp
8449 * gdb.btrace/reconnect.exp
8450 * gdb.btrace/record_goto-step.exp
8451 * gdb.btrace/record_goto.exp
8452 * gdb.btrace/rn-dl-bind.exp
8453 * gdb.btrace/segv.exp
8454 * gdb.btrace/step.exp
8455 * gdb.btrace/stepi.exp
8456 * gdb.btrace/tailcall-only.exp
8457 * gdb.btrace/tailcall.exp
8458 * gdb.btrace/tsx.exp
8459 * gdb.btrace/unknown_functions.exp
8460 * gdb.btrace/vdso.exp
8461 * gdb.compile/compile-ifunc.exp
8462 * gdb.compile/compile-ops.exp
8463 * gdb.compile/compile-print.exp
8464 * gdb.compile/compile-setjmp.exp
8465 * gdb.cp/abstract-origin.exp
8466 * gdb.cp/ambiguous.exp
8467 * gdb.cp/annota2.exp
8468 * gdb.cp/annota3.exp
8469 * gdb.cp/anon-ns.exp
8470 * gdb.cp/anon-struct.exp
8471 * gdb.cp/anon-union.exp
8472 * gdb.cp/arg-reference.exp
8473 * gdb.cp/baseenum.exp
8475 * gdb.cp/breakpoint.exp
8476 * gdb.cp/bs15503.exp
8479 * gdb.cp/chained-calls.exp
8481 * gdb.cp/classes.exp
8482 * gdb.cp/cmpd-minsyms.exp
8483 * gdb.cp/converts.exp
8484 * gdb.cp/cp-relocate.exp
8485 * gdb.cp/cpcompletion.exp
8486 * gdb.cp/cpexprs.exp
8487 * gdb.cp/cplabel.exp
8488 * gdb.cp/cplusfuncs.exp
8489 * gdb.cp/cpsizeof.exp
8491 * gdb.cp/derivation.exp
8492 * gdb.cp/destrprint.exp
8493 * gdb.cp/dispcxx.exp
8494 * gdb.cp/enum-class.exp
8495 * gdb.cp/exception.exp
8496 * gdb.cp/exceptprint.exp
8497 * gdb.cp/expand-psymtabs-cxx.exp
8498 * gdb.cp/expand-sals.exp
8499 * gdb.cp/extern-c.exp
8500 * gdb.cp/filename.exp
8501 * gdb.cp/formatted-ref.exp
8502 * gdb.cp/fpointer.exp
8503 * gdb.cp/gdb1355.exp
8504 * gdb.cp/gdb2495.exp
8506 * gdb.cp/impl-this.exp
8507 * gdb.cp/infcall-dlopen.exp
8508 * gdb.cp/inherit.exp
8509 * gdb.cp/iostream.exp
8513 * gdb.cp/m-static.exp
8514 * gdb.cp/mb-ctor.exp
8515 * gdb.cp/mb-inline.exp
8516 * gdb.cp/mb-templates.exp
8517 * gdb.cp/member-name.exp
8518 * gdb.cp/member-ptr.exp
8519 * gdb.cp/meth-typedefs.exp
8521 * gdb.cp/method2.exp
8522 * gdb.cp/minsym-fallback.exp
8524 * gdb.cp/namelessclass.exp
8525 * gdb.cp/namespace-enum.exp
8526 * gdb.cp/namespace-nested-import.exp
8527 * gdb.cp/namespace.exp
8528 * gdb.cp/nextoverthrow.exp
8529 * gdb.cp/no-dmgl-verbose.exp
8530 * gdb.cp/non-trivial-retval.exp
8531 * gdb.cp/noparam.exp
8533 * gdb.cp/nsimport.exp
8534 * gdb.cp/nsnested.exp
8535 * gdb.cp/nsnoimports.exp
8536 * gdb.cp/nsrecurs.exp
8537 * gdb.cp/nsstress.exp
8538 * gdb.cp/nsusing.exp
8539 * gdb.cp/operator.exp
8540 * gdb.cp/oranking.exp
8541 * gdb.cp/overload-const.exp
8542 * gdb.cp/overload.exp
8543 * gdb.cp/ovldbreak.exp
8545 * gdb.cp/paren-type.exp
8546 * gdb.cp/parse-lang.exp
8547 * gdb.cp/pass-by-ref.exp
8548 * gdb.cp/pr-1023.exp
8549 * gdb.cp/pr-1210.exp
8551 * gdb.cp/pr10687.exp
8552 * gdb.cp/pr12028.exp
8553 * gdb.cp/pr17132.exp
8554 * gdb.cp/pr17494.exp
8558 * gdb.cp/printmethod.exp
8560 * gdb.cp/psymtab-parameter.exp
8561 * gdb.cp/ptype-cv-cp.exp
8562 * gdb.cp/ptype-flags.exp
8563 * gdb.cp/re-set-overloaded.exp
8564 * gdb.cp/ref-types.exp
8566 * gdb.cp/scope-err.exp
8569 * gdb.cp/static-method.exp
8570 * gdb.cp/static-print-quit.exp
8571 * gdb.cp/temargs.exp
8572 * gdb.cp/templates.exp
8573 * gdb.cp/try_catch.exp
8574 * gdb.cp/typedef-operator.exp
8576 * gdb.cp/userdef.exp
8577 * gdb.cp/using-crash.exp
8578 * gdb.cp/var-tag.exp
8579 * gdb.cp/virtbase.exp
8580 * gdb.cp/virtfunc.exp
8581 * gdb.cp/virtfunc2.exp
8582 * gdb.cp/vla-cxx.exp
8583 * gdb.disasm/t01_mov.exp
8584 * gdb.disasm/t02_mova.exp
8585 * gdb.disasm/t03_add.exp
8586 * gdb.disasm/t04_sub.exp
8587 * gdb.disasm/t05_cmp.exp
8588 * gdb.disasm/t06_ari2.exp
8589 * gdb.disasm/t07_ari3.exp
8590 * gdb.disasm/t08_or.exp
8591 * gdb.disasm/t09_xor.exp
8592 * gdb.disasm/t10_and.exp
8593 * gdb.disasm/t11_logs.exp
8594 * gdb.disasm/t12_bit.exp
8595 * gdb.disasm/t13_otr.exp
8596 * gdb.dlang/circular.exp
8597 * gdb.dwarf2/arr-stride.exp
8598 * gdb.dwarf2/arr-subrange.exp
8599 * gdb.dwarf2/atomic-type.exp
8600 * gdb.dwarf2/bad-regnum.exp
8601 * gdb.dwarf2/bitfield-parent-optimized-out.exp
8602 * gdb.dwarf2/callframecfa.exp
8603 * gdb.dwarf2/clztest.exp
8604 * gdb.dwarf2/corrupt.exp
8605 * gdb.dwarf2/data-loc.exp
8606 * gdb.dwarf2/dup-psym.exp
8607 * gdb.dwarf2/dw2-anon-mptr.exp
8608 * gdb.dwarf2/dw2-anonymous-func.exp
8609 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
8610 * gdb.dwarf2/dw2-bad-unresolved.exp
8611 * gdb.dwarf2/dw2-basic.exp
8612 * gdb.dwarf2/dw2-canonicalize-type.exp
8613 * gdb.dwarf2/dw2-case-insensitive.exp
8614 * gdb.dwarf2/dw2-common-block.exp
8615 * gdb.dwarf2/dw2-compdir-oldgcc.exp
8616 * gdb.dwarf2/dw2-compressed.exp
8617 * gdb.dwarf2/dw2-const.exp
8618 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
8619 * gdb.dwarf2/dw2-cu-size.exp
8620 * gdb.dwarf2/dw2-dup-frame.exp
8621 * gdb.dwarf2/dw2-entry-value.exp
8622 * gdb.dwarf2/dw2-icycle.exp
8623 * gdb.dwarf2/dw2-ifort-parameter.exp
8624 * gdb.dwarf2/dw2-inline-break.exp
8625 * gdb.dwarf2/dw2-inline-param.exp
8626 * gdb.dwarf2/dw2-intercu.exp
8627 * gdb.dwarf2/dw2-intermix.exp
8628 * gdb.dwarf2/dw2-lexical-block-bare.exp
8629 * gdb.dwarf2/dw2-linkage-name-trust.exp
8630 * gdb.dwarf2/dw2-minsym-in-cu.exp
8631 * gdb.dwarf2/dw2-noloc.exp
8632 * gdb.dwarf2/dw2-op-call.exp
8633 * gdb.dwarf2/dw2-op-out-param.exp
8634 * gdb.dwarf2/dw2-opt-structptr.exp
8635 * gdb.dwarf2/dw2-param-error.exp
8636 * gdb.dwarf2/dw2-producer.exp
8637 * gdb.dwarf2/dw2-ranges-base.exp
8638 * gdb.dwarf2/dw2-ref-missing-frame.exp
8639 * gdb.dwarf2/dw2-reg-undefined.exp
8640 * gdb.dwarf2/dw2-regno-invalid.exp
8641 * gdb.dwarf2/dw2-restore.exp
8642 * gdb.dwarf2/dw2-restrict.exp
8643 * gdb.dwarf2/dw2-single-line-discriminators.exp
8644 * gdb.dwarf2/dw2-strp.exp
8645 * gdb.dwarf2/dw2-undefined-ret-addr.exp
8646 * gdb.dwarf2/dw2-unresolved.exp
8647 * gdb.dwarf2/dw2-var-zero-addr.exp
8648 * gdb.dwarf2/dw4-sig-types.exp
8649 * gdb.dwarf2/dwz.exp
8650 * gdb.dwarf2/dynarr-ptr.exp
8651 * gdb.dwarf2/enum-type.exp
8652 * gdb.dwarf2/gdb-index.exp
8653 * gdb.dwarf2/implptr-64bit.exp
8654 * gdb.dwarf2/implptr-optimized-out.exp
8655 * gdb.dwarf2/implptr.exp
8656 * gdb.dwarf2/implref-array.exp
8657 * gdb.dwarf2/implref-const.exp
8658 * gdb.dwarf2/implref-global.exp
8659 * gdb.dwarf2/implref-struct.exp
8660 * gdb.dwarf2/mac-fileno.exp
8661 * gdb.dwarf2/main-subprogram.exp
8662 * gdb.dwarf2/member-ptr-forwardref.exp
8663 * gdb.dwarf2/method-ptr.exp
8664 * gdb.dwarf2/missing-sig-type.exp
8665 * gdb.dwarf2/nonvar-access.exp
8666 * gdb.dwarf2/opaque-type-lookup.exp
8667 * gdb.dwarf2/pieces-optimized-out.exp
8668 * gdb.dwarf2/pieces.exp
8669 * gdb.dwarf2/pr10770.exp
8670 * gdb.dwarf2/pr13961.exp
8671 * gdb.dwarf2/staticvirtual.exp
8672 * gdb.dwarf2/subrange.exp
8673 * gdb.dwarf2/symtab-producer.exp
8674 * gdb.dwarf2/trace-crash.exp
8675 * gdb.dwarf2/typeddwarf.exp
8676 * gdb.dwarf2/valop.exp
8677 * gdb.dwarf2/watch-notconst.exp
8678 * gdb.fortran/array-element.exp
8679 * gdb.fortran/charset.exp
8680 * gdb.fortran/common-block.exp
8681 * gdb.fortran/complex.exp
8682 * gdb.fortran/derived-type-function.exp
8683 * gdb.fortran/derived-type.exp
8684 * gdb.fortran/logical.exp
8685 * gdb.fortran/module.exp
8686 * gdb.fortran/multi-dim.exp
8687 * gdb.fortran/nested-funcs.exp
8688 * gdb.fortran/print-formatted.exp
8689 * gdb.fortran/subarray.exp
8690 * gdb.fortran/vla-alloc-assoc.exp
8691 * gdb.fortran/vla-datatypes.exp
8692 * gdb.fortran/vla-history.exp
8693 * gdb.fortran/vla-ptr-info.exp
8694 * gdb.fortran/vla-ptype-sub.exp
8695 * gdb.fortran/vla-ptype.exp
8696 * gdb.fortran/vla-sizeof.exp
8697 * gdb.fortran/vla-type.exp
8698 * gdb.fortran/vla-value-sub-arbitrary.exp
8699 * gdb.fortran/vla-value-sub-finish.exp
8700 * gdb.fortran/vla-value-sub.exp
8701 * gdb.fortran/vla-value.exp
8702 * gdb.fortran/whatis_type.exp
8704 * gdb.go/handcall.exp
8706 * gdb.go/integers.exp
8707 * gdb.go/methods.exp
8708 * gdb.go/package.exp
8709 * gdb.go/strings.exp
8712 * gdb.guile/scm-arch.exp
8713 * gdb.guile/scm-block.exp
8714 * gdb.guile/scm-breakpoint.exp
8715 * gdb.guile/scm-cmd.exp
8716 * gdb.guile/scm-disasm.exp
8717 * gdb.guile/scm-equal.exp
8718 * gdb.guile/scm-frame-args.exp
8719 * gdb.guile/scm-frame-inline.exp
8720 * gdb.guile/scm-frame.exp
8721 * gdb.guile/scm-iterator.exp
8722 * gdb.guile/scm-math.exp
8723 * gdb.guile/scm-objfile.exp
8724 * gdb.guile/scm-ports.exp
8725 * gdb.guile/scm-symbol.exp
8726 * gdb.guile/scm-symtab.exp
8727 * gdb.guile/scm-value-cc.exp
8728 * gdb.guile/types-module.exp
8729 * gdb.linespec/break-ask.exp
8730 * gdb.linespec/cpexplicit.exp
8731 * gdb.linespec/explicit.exp
8732 * gdb.linespec/keywords.exp
8733 * gdb.linespec/linespec.exp
8734 * gdb.linespec/ls-dollar.exp
8735 * gdb.linespec/ls-errs.exp
8736 * gdb.linespec/skip-two.exp
8737 * gdb.linespec/thread.exp
8738 * gdb.mi/mi-async.exp
8739 * gdb.mi/mi-basics.exp
8740 * gdb.mi/mi-break.exp
8741 * gdb.mi/mi-catch-load.exp
8743 * gdb.mi/mi-cmd-param-changed.exp
8744 * gdb.mi/mi-console.exp
8745 * gdb.mi/mi-detach.exp
8746 * gdb.mi/mi-disassemble.exp
8747 * gdb.mi/mi-eval.exp
8748 * gdb.mi/mi-file-transfer.exp
8749 * gdb.mi/mi-file.exp
8750 * gdb.mi/mi-fill-memory.exp
8751 * gdb.mi/mi-inheritance-syntax-error.exp
8752 * gdb.mi/mi-linespec-err-cp.exp
8753 * gdb.mi/mi-logging.exp
8754 * gdb.mi/mi-memory-changed.exp
8755 * gdb.mi/mi-read-memory.exp
8756 * gdb.mi/mi-record-changed.exp
8757 * gdb.mi/mi-reg-undefined.exp
8758 * gdb.mi/mi-regs.exp
8759 * gdb.mi/mi-return.exp
8760 * gdb.mi/mi-reverse.exp
8761 * gdb.mi/mi-simplerun.exp
8762 * gdb.mi/mi-solib.exp
8763 * gdb.mi/mi-stack.exp
8764 * gdb.mi/mi-stepi.exp
8765 * gdb.mi/mi-syn-frame.exp
8766 * gdb.mi/mi-until.exp
8767 * gdb.mi/mi-var-block.exp
8768 * gdb.mi/mi-var-child.exp
8769 * gdb.mi/mi-var-cmd.exp
8770 * gdb.mi/mi-var-cp.exp
8771 * gdb.mi/mi-var-display.exp
8772 * gdb.mi/mi-var-invalidate.exp
8773 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
8774 * gdb.mi/mi-vla-fortran.exp
8775 * gdb.mi/mi-watch.exp
8776 * gdb.mi/mi2-var-child.exp
8777 * gdb.mi/user-selected-context-sync.exp
8778 * gdb.modula2/unbounded-array.exp
8779 * gdb.multi/dummy-frame-restore.exp
8780 * gdb.multi/multi-arch-exec.exp
8781 * gdb.multi/multi-arch.exp
8782 * gdb.multi/tids.exp
8783 * gdb.multi/watchpoint-multi.exp
8784 * gdb.opencl/callfuncs.exp
8785 * gdb.opencl/convs_casts.exp
8786 * gdb.opencl/datatypes.exp
8787 * gdb.opencl/operators.exp
8788 * gdb.opencl/vec_comps.exp
8789 * gdb.opt/clobbered-registers-O2.exp
8790 * gdb.opt/inline-break.exp
8791 * gdb.opt/inline-bt.exp
8792 * gdb.opt/inline-cmds.exp
8793 * gdb.opt/inline-locals.exp
8794 * gdb.pascal/case-insensitive-symbols.exp
8795 * gdb.pascal/floats.exp
8796 * gdb.pascal/gdb11492.exp
8797 * gdb.python/lib-types.exp
8798 * gdb.python/py-arch.exp
8799 * gdb.python/py-as-string.exp
8800 * gdb.python/py-bad-printers.exp
8801 * gdb.python/py-block.exp
8802 * gdb.python/py-breakpoint-create-fail.exp
8803 * gdb.python/py-breakpoint.exp
8804 * gdb.python/py-caller-is.exp
8805 * gdb.python/py-cmd.exp
8806 * gdb.python/py-explore-cc.exp
8807 * gdb.python/py-explore.exp
8808 * gdb.python/py-finish-breakpoint.exp
8809 * gdb.python/py-finish-breakpoint2.exp
8810 * gdb.python/py-frame-args.exp
8811 * gdb.python/py-frame-inline.exp
8812 * gdb.python/py-frame.exp
8813 * gdb.python/py-framefilter-mi.exp
8814 * gdb.python/py-infthread.exp
8815 * gdb.python/py-lazy-string.exp
8816 * gdb.python/py-linetable.exp
8817 * gdb.python/py-mi-events.exp
8818 * gdb.python/py-mi-objfile.exp
8819 * gdb.python/py-mi.exp
8820 * gdb.python/py-objfile.exp
8821 * gdb.python/py-pp-integral.exp
8822 * gdb.python/py-pp-maint.exp
8823 * gdb.python/py-pp-re-notag.exp
8824 * gdb.python/py-pp-registration.exp
8825 * gdb.python/py-recurse-unwind.exp
8826 * gdb.python/py-strfns.exp
8827 * gdb.python/py-symbol.exp
8828 * gdb.python/py-symtab.exp
8829 * gdb.python/py-sync-interp.exp
8830 * gdb.python/py-typeprint.exp
8831 * gdb.python/py-unwind-maint.exp
8832 * gdb.python/py-unwind.exp
8833 * gdb.python/py-value-cc.exp
8834 * gdb.python/py-xmethods.exp
8835 * gdb.reverse/amd64-tailcall-reverse.exp
8836 * gdb.reverse/break-precsave.exp
8837 * gdb.reverse/break-reverse.exp
8838 * gdb.reverse/consecutive-precsave.exp
8839 * gdb.reverse/consecutive-reverse.exp
8840 * gdb.reverse/finish-precsave.exp
8841 * gdb.reverse/finish-reverse-bkpt.exp
8842 * gdb.reverse/finish-reverse.exp
8843 * gdb.reverse/fstatat-reverse.exp
8844 * gdb.reverse/getresuid-reverse.exp
8845 * gdb.reverse/i386-precsave.exp
8846 * gdb.reverse/i386-reverse.exp
8847 * gdb.reverse/i386-sse-reverse.exp
8848 * gdb.reverse/i387-env-reverse.exp
8849 * gdb.reverse/i387-stack-reverse.exp
8850 * gdb.reverse/insn-reverse.exp
8851 * gdb.reverse/machinestate-precsave.exp
8852 * gdb.reverse/machinestate.exp
8853 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8854 * gdb.reverse/pipe-reverse.exp
8855 * gdb.reverse/readv-reverse.exp
8856 * gdb.reverse/recvmsg-reverse.exp
8857 * gdb.reverse/rerun-prec.exp
8858 * gdb.reverse/s390-mvcle.exp
8859 * gdb.reverse/step-precsave.exp
8860 * gdb.reverse/step-reverse.exp
8861 * gdb.reverse/time-reverse.exp
8862 * gdb.reverse/until-precsave.exp
8863 * gdb.reverse/until-reverse.exp
8864 * gdb.reverse/waitpid-reverse.exp
8865 * gdb.reverse/watch-precsave.exp
8866 * gdb.reverse/watch-reverse.exp
8867 * gdb.rust/generics.exp
8868 * gdb.rust/methods.exp
8869 * gdb.rust/modules.exp
8870 * gdb.rust/simple.exp
8871 * gdb.server/connect-with-no-symbol-file.exp
8872 * gdb.server/ext-attach.exp
8873 * gdb.server/ext-restart.exp
8874 * gdb.server/ext-wrapper.exp
8875 * gdb.server/file-transfer.exp
8876 * gdb.server/server-exec-info.exp
8877 * gdb.server/server-kill.exp
8878 * gdb.server/server-mon.exp
8879 * gdb.server/wrapper.exp
8880 * gdb.stabs/exclfwd.exp
8881 * gdb.stabs/gdb11479.exp
8882 * gdb.threads/clone-new-thread-event.exp
8883 * gdb.threads/corethreads.exp
8884 * gdb.threads/current-lwp-dead.exp
8885 * gdb.threads/dlopen-libpthread.exp
8886 * gdb.threads/gcore-thread.exp
8887 * gdb.threads/sigstep-threads.exp
8888 * gdb.threads/watchpoint-fork.exp
8889 * gdb.trace/actions-changed.exp
8890 * gdb.trace/backtrace.exp
8891 * gdb.trace/change-loc.exp
8892 * gdb.trace/circ.exp
8893 * gdb.trace/collection.exp
8894 * gdb.trace/disconnected-tracing.exp
8895 * gdb.trace/ftrace.exp
8896 * gdb.trace/mi-trace-frame-collected.exp
8897 * gdb.trace/mi-trace-unavailable.exp
8898 * gdb.trace/mi-traceframe-changed.exp
8899 * gdb.trace/mi-tsv-changed.exp
8900 * gdb.trace/no-attach-trace.exp
8901 * gdb.trace/passc-dyn.exp
8902 * gdb.trace/qtro.exp
8903 * gdb.trace/range-stepping.exp
8904 * gdb.trace/read-memory.exp
8905 * gdb.trace/save-trace.exp
8906 * gdb.trace/signal.exp
8907 * gdb.trace/status-stop.exp
8908 * gdb.trace/tfile.exp
8909 * gdb.trace/trace-break.exp
8910 * gdb.trace/trace-buffer-size.exp
8911 * gdb.trace/trace-condition.exp
8912 * gdb.trace/tracefile-pseudo-reg.exp
8913 * gdb.trace/tstatus.exp
8914 * gdb.trace/unavailable.exp
8915 * gdb.trace/while-dyn.exp
8916 * gdb.trace/while-stepping.exp
8918 2016-12-22 Doug Evans <xdje42@gmail.com>
8920 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
8923 2016-12-19 Yao Qi <yao.qi@linaro.org>
8925 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
8926 (test_with_self): Don't call do_steps_and_nexts, and remove
8927 code about stepping into xmalloc.
8929 2016-12-09 Yao Qi <yao.qi@linaro.org>
8931 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
8933 2016-12-09 Yao Qi <yao.qi@linaro.org>
8935 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
8937 2016-12-09 Pedro Alves <palves@redhat.com>
8939 * gdb.base/all-architectures-0.exp: New file.
8940 * gdb.base/all-architectures-1.exp: New file.
8941 * gdb.base/all-architectures-2.exp: New file.
8942 * gdb.base/all-architectures-3.exp: New file.
8943 * gdb.base/all-architectures-4.exp: New file.
8944 * gdb.base/all-architectures-5.exp: New file.
8945 * gdb.base/all-architectures-6.exp: New file.
8946 * gdb.base/all-architectures-7.exp: New file.
8947 * gdb.base/all-architectures.exp.in: New file.
8949 2016-12-09 Yao Qi <yao.qi@linaro.org>
8951 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
8953 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
8955 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
8957 Remove useless pattern-matching code.
8959 2016-12-02 Pedro Alves <palves@redhat.com>
8961 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
8963 (top level): Call it.
8965 2016-12-02 Pedro Alves <palves@redhat.com>
8967 * gdb.base/commands.exp (user_defined_command_args_stack_test):
8969 (top level): Call it.
8971 2016-12-02 Pedro Alves <palves@redhat.com>
8974 * gdb.base/commands.exp (user_defined_command_args_eval): New
8976 (top level): Call it.
8978 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
8980 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
8983 2016-12-02 Tom Tromey <tom@tromey.com>
8985 * gdb.dwarf2/main-subprogram.c: New file.
8986 * gdb.dwarf2/main-subprogram.exp: New file.
8988 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8990 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
8991 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
8992 gdb_test_no_output for a couple of cases.
8993 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
8995 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8997 Fix test names and standardize compilation error messages throughout
8998 the following files:
9001 * gdb.arch/alpha-step.exp
9002 * gdb.arch/e500-prologue.exp
9003 * gdb.arch/ftrace-insn-reloc.exp
9004 * gdb.arch/gdb1291.exp
9005 * gdb.arch/gdb1431.exp
9006 * gdb.arch/gdb1558.exp
9007 * gdb.arch/i386-dr3-watch.exp
9008 * gdb.arch/i386-sse-stack-align.exp
9009 * gdb.arch/ia64-breakpoint-shadow.exp
9010 * gdb.arch/pa-nullify.exp
9011 * gdb.arch/powerpc-aix-prologue.exp
9012 * gdb.arch/thumb-bx-pc.exp
9013 * gdb.base/annota1.exp
9014 * gdb.base/annota3.exp
9015 * gdb.base/arrayidx.exp
9016 * gdb.base/assign.exp
9017 * gdb.base/attach.exp
9020 * gdb.base/bfp-test.exp
9021 * gdb.base/bigcore.exp
9022 * gdb.base/bitfields2.exp
9023 * gdb.base/break-fun-addr.exp
9024 * gdb.base/break-probes.exp
9025 * gdb.base/call-rt-st.exp
9026 * gdb.base/callexit.exp
9027 * gdb.base/catch-fork-kill.exp
9028 * gdb.base/charset.exp
9029 * gdb.base/checkpoint.exp
9030 * gdb.base/comprdebug.exp
9031 * gdb.base/constvars.exp
9032 * gdb.base/coredump-filter.exp
9033 * gdb.base/cursal.exp
9034 * gdb.base/cvexpr.exp
9035 * gdb.base/detach.exp
9036 * gdb.base/display.exp
9037 * gdb.base/dmsym.exp
9038 * gdb.base/dprintf-pending.exp
9039 * gdb.base/dso2dso.exp
9040 * gdb.base/dtrace-probe.exp
9042 * gdb.base/enum_cond.exp
9043 * gdb.base/exe-lock.exp
9044 * gdb.base/exec-invalid-sysroot.exp
9045 * gdb.base/execl-update-breakpoints.exp
9046 * gdb.base/exprs.exp
9047 * gdb.base/fileio.exp
9049 * gdb.base/finish.exp
9050 * gdb.base/fixsection.exp
9051 * gdb.base/foll-vfork.exp
9052 * gdb.base/frame-args.exp
9053 * gdb.base/gcore.exp
9054 * gdb.base/gdb1250.exp
9055 * gdb.base/global-var-nested-by-dso.exp
9056 * gdb.base/gnu-ifunc.exp
9057 * gdb.base/hashline1.exp
9058 * gdb.base/hashline2.exp
9059 * gdb.base/hashline3.exp
9060 * gdb.base/hbreak-in-shr-unsupported.exp
9062 * gdb.base/infcall-input.exp
9063 * gdb.base/info-fun.exp
9064 * gdb.base/info-shared.exp
9065 * gdb.base/jit-simple.exp
9066 * gdb.base/jit-so.exp
9069 * gdb.base/label.exp
9070 * gdb.base/lineinc.exp
9071 * gdb.base/logical.exp
9072 * gdb.base/longjmp.exp
9073 * gdb.base/macscp.exp
9074 * gdb.base/miscexprs.exp
9075 * gdb.base/new-ui-echo.exp
9076 * gdb.base/new-ui-pending-input.exp
9077 * gdb.base/new-ui.exp
9078 * gdb.base/nodebug.exp
9079 * gdb.base/nofield.exp
9080 * gdb.base/offsets.exp
9081 * gdb.base/overlays.exp
9082 * gdb.base/pending.exp
9083 * gdb.base/pointers.exp
9084 * gdb.base/pr11022.exp
9085 * gdb.base/printcmds.exp
9086 * gdb.base/prologue.exp
9087 * gdb.base/ptr-typedef.exp
9088 * gdb.base/realname-expand.exp
9089 * gdb.base/relativedebug.exp
9090 * gdb.base/relocate.exp
9091 * gdb.base/remote.exp
9092 * gdb.base/reread.exp
9093 * gdb.base/return2.exp
9094 * gdb.base/savedregs.exp
9096 * gdb.base/sepdebug.exp
9097 * gdb.base/sepsymtab.exp
9098 * gdb.base/set-inferior-tty.exp
9099 * gdb.base/setshow.exp
9100 * gdb.base/shlib-call.exp
9101 * gdb.base/sigaltstack.exp
9102 * gdb.base/siginfo-addr.exp
9103 * gdb.base/signals.exp
9104 * gdb.base/signull.exp
9105 * gdb.base/sigrepeat.exp
9106 * gdb.base/so-impl-ld.exp
9107 * gdb.base/solib-display.exp
9108 * gdb.base/solib-overlap.exp
9109 * gdb.base/solib-search.exp
9110 * gdb.base/solib-symbol.exp
9111 * gdb.base/structs.exp
9112 * gdb.base/structs2.exp
9113 * gdb.base/symtab-search-order.exp
9114 * gdb.base/twice.exp
9115 * gdb.base/unload.exp
9116 * gdb.base/varargs.exp
9117 * gdb.base/watchpoint-solib.exp
9118 * gdb.base/watchpoint.exp
9119 * gdb.base/whatis.exp
9120 * gdb.base/wrong_frame_bt_full.exp
9121 * gdb.btrace/dlopen.exp
9122 * gdb.cell/ea-standalone.exp
9123 * gdb.cell/ea-test.exp
9124 * gdb.cp/dispcxx.exp
9125 * gdb.cp/gdb2384.exp
9126 * gdb.cp/method2.exp
9127 * gdb.cp/nextoverthrow.exp
9128 * gdb.cp/pr10728.exp
9129 * gdb.disasm/am33.exp
9130 * gdb.disasm/h8300s.exp
9131 * gdb.disasm/mn10300.exp
9132 * gdb.disasm/sh3.exp
9133 * gdb.dwarf2/dw2-dir-file-name.exp
9134 * gdb.fortran/complex.exp
9135 * gdb.fortran/library-module.exp
9136 * gdb.guile/scm-pretty-print.exp
9137 * gdb.guile/scm-symbol.exp
9138 * gdb.guile/scm-type.exp
9139 * gdb.guile/scm-value.exp
9140 * gdb.linespec/linespec.exp
9143 * gdb.mi/mi-breakpoint-changed.exp
9144 * gdb.mi/mi-dprintf-pending.exp
9145 * gdb.mi/mi-dprintf.exp
9146 * gdb.mi/mi-exit-code.exp
9147 * gdb.mi/mi-pending.exp
9148 * gdb.mi/mi-solib.exp
9149 * gdb.mi/new-ui-mi-sync.exp
9150 * gdb.mi/pr11022.exp
9151 * gdb.mi/user-selected-context-sync.exp
9152 * gdb.opt/solib-intra-step.exp
9153 * gdb.python/py-events.exp
9154 * gdb.python/py-finish-breakpoint.exp
9155 * gdb.python/py-mi.exp
9156 * gdb.python/py-prettyprint.exp
9157 * gdb.python/py-shared.exp
9158 * gdb.python/py-symbol.exp
9159 * gdb.python/py-template.exp
9160 * gdb.python/py-type.exp
9161 * gdb.python/py-value.exp
9162 * gdb.reverse/solib-precsave.exp
9163 * gdb.reverse/solib-reverse.exp
9164 * gdb.server/solib-list.exp
9165 * gdb.stabs/weird.exp
9166 * gdb.threads/reconnect-signal.exp
9167 * gdb.threads/stepi-random-signal.exp
9168 * gdb.trace/actions.exp
9170 * gdb.trace/backtrace.exp
9171 * gdb.trace/change-loc.exp
9172 * gdb.trace/deltrace.exp
9173 * gdb.trace/ftrace-lock.exp
9174 * gdb.trace/ftrace.exp
9175 * gdb.trace/infotrace.exp
9176 * gdb.trace/mi-tracepoint-changed.exp
9177 * gdb.trace/packetlen.exp
9178 * gdb.trace/passcount.exp
9179 * gdb.trace/pending.exp
9180 * gdb.trace/range-stepping.exp
9181 * gdb.trace/report.exp
9182 * gdb.trace/stap-trace.exp
9183 * gdb.trace/tfind.exp
9184 * gdb.trace/trace-break.exp
9185 * gdb.trace/trace-condition.exp
9186 * gdb.trace/trace-enable-disable.exp
9187 * gdb.trace/trace-mt.exp
9188 * gdb.trace/tracecmd.exp
9189 * gdb.trace/tspeed.exp
9193 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9195 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
9196 with gdb_test_no_output.
9197 Use command as test name.
9199 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9201 Fix test names starting with uppercase throughout the files.
9203 * gdb.ada/assign_1.exp
9204 * gdb.ada/boolean_expr.exp
9205 * gdb.base/arrayidx.exp
9207 * gdb.base/gcore-buffer-overflow.exp
9208 * gdb.base/testenv.exp
9209 * gdb.compile/compile.exp
9210 * gdb.python/py-framefilter-invalidarg.exp
9211 * gdb.python/py-framefilter.exp
9213 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9215 Fix test names starting with uppercase throughout the files.
9217 * gdb.ada/array_return.exp
9218 * gdb.ada/expr_delims.exp
9219 * gdb.ada/mi_dyn_arr.exp
9220 * gdb.ada/mi_interface.exp
9221 * gdb.ada/mi_var_array.exp
9222 * gdb.ada/watch_arg.exp
9223 * gdb.arch/alpha-step.exp
9224 * gdb.arch/altivec-regs.exp
9225 * gdb.arch/e500-regs.exp
9226 * gdb.arch/powerpc-d128-regs.exp
9227 * gdb.base/arrayidx.exp
9228 * gdb.base/break.exp
9229 * gdb.base/checkpoint.exp
9230 * gdb.base/debug-expr.exp
9231 * gdb.base/dmsym.exp
9232 * gdb.base/radix.exp
9233 * gdb.base/sepdebug.exp
9234 * gdb.base/testenv.exp
9235 * gdb.base/watch_thread_num.exp
9236 * gdb.base/watchpoint-cond-gone.exp
9237 * gdb.cell/break.exp
9238 * gdb.cell/ea-cache.exp
9239 * gdb.compile/compile.exp
9240 * gdb.cp/gdb2495.exp
9241 * gdb.gdb/selftest.exp
9242 * gdb.gdb/xfullpath.exp
9244 * gdb.go/integers.exp
9245 * gdb.objc/basicclass.exp
9246 * gdb.pascal/hello.exp
9247 * gdb.pascal/integers.exp
9248 * gdb.python/py-breakpoint.exp
9249 * gdb.python/py-cmd.exp
9250 * gdb.python/py-linetable.exp
9251 * gdb.python/py-xmethods.exp
9252 * gdb.python/python.exp
9253 * gdb.reverse/consecutive-precsave.exp
9254 * gdb.reverse/finish-precsave.exp
9255 * gdb.reverse/i386-precsave.exp
9256 * gdb.reverse/machinestate-precsave.exp
9257 * gdb.reverse/sigall-precsave.exp
9258 * gdb.reverse/solib-precsave.exp
9259 * gdb.reverse/step-precsave.exp
9260 * gdb.reverse/until-precsave.exp
9261 * gdb.reverse/watch-precsave.exp
9262 * gdb.threads/leader-exit.exp
9263 * gdb.threads/pthreads.exp
9264 * gdb.threads/wp-replication.exp
9265 * gdb.trace/actions.exp
9266 * gdb.trace/mi-tsv-changed.exp
9269 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9271 Fix test names starting with uppercase throughout the files.
9273 * gdb.arch/i386-bp_permanent.exp
9274 * gdb.arch/i386-gnu-cfi.exp
9275 * gdb.base/disasm-end-cu.exp
9276 * gdb.base/macscp.exp
9277 * gdb.base/pending.exp
9278 * gdb.base/watch_thread_num.exp
9279 * gdb.cp/exception.exp
9280 * gdb.cp/gdb2495.exp
9282 * gdb.python/py-evsignal.exp
9283 * gdb.python/python.exp
9284 * gdb.trace/tracecmd.exp
9286 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9288 Fix test names starting with uppercase throughout the files.
9290 * gdb.base/charset.exp
9292 * gdb.base/multi-forks.exp
9293 * gdb.guile/scm-progspace.exp
9294 * gdb.opencl/datatypes.exp
9295 * gdb.python/py-block.exp
9296 * gdb.python/py-function.exp
9297 * gdb.python/py-symbol.exp
9298 * gdb.python/py-symtab.exp
9299 * gdb.python/py-xmethods.exp
9300 * gdb.reverse/break-precsave.exp
9301 * gdb.reverse/break-reverse.exp
9302 * gdb.reverse/consecutive-precsave.exp
9303 * gdb.reverse/consecutive-reverse.exp
9304 * gdb.reverse/finish-precsave.exp
9305 * gdb.reverse/finish-reverse-bkpt.exp
9306 * gdb.reverse/finish-reverse.exp
9307 * gdb.reverse/fstatat-reverse.exp
9308 * gdb.reverse/getresuid-reverse.exp
9309 * gdb.reverse/i386-precsave.exp
9310 * gdb.reverse/i386-reverse.exp
9311 * gdb.reverse/i386-sse-reverse.exp
9312 * gdb.reverse/i387-stack-reverse.exp
9313 * gdb.reverse/insn-reverse.exp
9314 * gdb.reverse/machinestate-precsave.exp
9315 * gdb.reverse/machinestate.exp
9316 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9317 * gdb.reverse/pipe-reverse.exp
9318 * gdb.reverse/readv-reverse.exp
9319 * gdb.reverse/recvmsg-reverse.exp
9320 * gdb.reverse/rerun-prec.exp
9321 * gdb.reverse/s390-mvcle.exp
9322 * gdb.reverse/sigall-precsave.exp
9323 * gdb.reverse/sigall-reverse.exp
9324 * gdb.reverse/solib-precsave.exp
9325 * gdb.reverse/solib-reverse.exp
9326 * gdb.reverse/step-precsave.exp
9327 * gdb.reverse/step-reverse.exp
9328 * gdb.reverse/time-reverse.exp
9329 * gdb.reverse/until-precsave.exp
9330 * gdb.reverse/until-reverse.exp
9331 * gdb.reverse/waitpid-reverse.exp
9332 * gdb.reverse/watch-precsave.exp
9333 * gdb.reverse/watch-reverse.exp
9335 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9337 Fix test names starting with uppercase throughout the files.
9339 * gdb.arch/i386-mpx-simple_segv.exp
9340 * gdb.arch/i386-mpx.exp
9341 * gdb.arch/i386-permbkpt.exp
9342 * gdb.arch/pa-nullify.exp
9343 * gdb.arch/powerpc-d128-regs.exp
9344 * gdb.arch/vsx-regs.exp
9345 * gdb.base/bfp-test.exp
9346 * gdb.base/break.exp
9347 * gdb.base/breakpoint-shadow.exp
9348 * gdb.base/callfuncs.exp
9349 * gdb.base/charset.exp
9350 * gdb.base/commands.exp
9351 * gdb.base/completion.exp
9352 * gdb.base/dfp-test.exp
9354 * gdb.base/ending-run.exp
9356 * gdb.base/expand-psymtabs.exp
9357 * gdb.base/float128.exp
9358 * gdb.base/floatn.exp
9359 * gdb.base/foll-exec-mode.exp
9360 * gdb.base/gdb1056.exp
9361 * gdb.base/gdb11531.exp
9362 * gdb.base/kill-after-signal.exp
9363 * gdb.base/multi-forks.exp
9364 * gdb.base/overlays.exp
9365 * gdb.base/pending.exp
9366 * gdb.base/sepdebug.exp
9367 * gdb.base/testenv.exp
9368 * gdb.base/valgrind-db-attach.exp
9369 * gdb.base/watch_thread_num.exp
9370 * gdb.base/watchpoint-cond-gone.exp
9371 * gdb.base/watchpoint.exp
9372 * gdb.base/watchpoints.exp
9373 * gdb.cp/arg-reference.exp
9374 * gdb.cp/baseenum.exp
9375 * gdb.cp/operator.exp
9377 * gdb.dwarf2/dw2-op-out-param.exp
9378 * gdb.dwarf2/dw2-reg-undefined.exp
9381 * gdb.go/integers.exp
9382 * gdb.go/methods.exp
9383 * gdb.go/package.exp
9384 * gdb.guile/scm-parameter.exp
9385 * gdb.guile/scm-progspace.exp
9386 * gdb.guile/scm-value.exp
9387 * gdb.mi/mi-pending.exp
9388 * gdb.mi/user-selected-context-sync.exp
9389 * gdb.multi/multi-attach.exp
9390 * gdb.multi/tids.exp
9391 * gdb.opt/clobbered-registers-O2.exp
9392 * gdb.pascal/floats.exp
9393 * gdb.pascal/integers.exp
9394 * gdb.python/py-block.exp
9395 * gdb.python/py-events.exp
9396 * gdb.python/py-parameter.exp
9397 * gdb.python/py-symbol.exp
9398 * gdb.python/py-symtab.exp
9399 * gdb.python/py-type.exp
9400 * gdb.python/py-value.exp
9401 * gdb.python/py-xmethods.exp
9402 * gdb.python/python.exp
9403 * gdb.reverse/break-precsave.exp
9404 * gdb.reverse/consecutive-precsave.exp
9405 * gdb.reverse/finish-precsave.exp
9406 * gdb.reverse/i386-precsave.exp
9407 * gdb.reverse/machinestate-precsave.exp
9408 * gdb.reverse/sigall-precsave.exp
9409 * gdb.reverse/solib-precsave.exp
9410 * gdb.reverse/step-precsave.exp
9411 * gdb.reverse/until-precsave.exp
9412 * gdb.reverse/watch-precsave.exp
9413 * gdb.server/ext-attach.exp
9414 * gdb.server/ext-restart.exp
9415 * gdb.server/ext-run.exp
9416 * gdb.server/ext-wrapper.exp
9417 * gdb.stabs/gdb11479.exp
9418 * gdb.stabs/weird.exp
9419 * gdb.threads/attach-many-short-lived-threads.exp
9420 * gdb.threads/kill.exp
9421 * gdb.threads/watchpoint-fork.exp
9423 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9425 Fix test names starting with uppercase throughout all the files below.
9427 * gdb.ada/array_return.exp
9428 * gdb.ada/catch_ex.exp
9429 * gdb.ada/info_exc.exp
9430 * gdb.ada/mi_catch_ex.exp
9431 * gdb.ada/mi_dyn_arr.exp
9432 * gdb.ada/mi_ex_cond.exp
9433 * gdb.ada/mi_exc_info.exp
9434 * gdb.ada/mi_interface.exp
9435 * gdb.ada/mi_task_arg.exp
9436 * gdb.ada/mi_task_info.exp
9437 * gdb.ada/mi_var_array.exp
9438 * gdb.arch/alpha-step.exp
9439 * gdb.arch/amd64-disp-step.exp
9440 * gdb.arch/arm-disp-step.exp
9441 * gdb.arch/disp-step-insn-reloc.exp
9442 * gdb.arch/e500-prologue.exp
9443 * gdb.arch/ftrace-insn-reloc.exp
9444 * gdb.arch/gdb1558.exp
9445 * gdb.arch/i386-bp_permanent.exp
9446 * gdb.arch/i386-disp-step.exp
9447 * gdb.arch/i386-float.exp
9448 * gdb.arch/i386-gnu-cfi.exp
9449 * gdb.arch/ia64-breakpoint-shadow.exp
9450 * gdb.arch/mips16-thunks.exp
9451 * gdb.arch/pa-nullify.exp
9452 * gdb.arch/powerpc-aix-prologue.exp
9453 * gdb.arch/powerpc-power.exp
9454 * gdb.arch/ppc-dfp.exp
9455 * gdb.arch/s390-tdbregs.exp
9456 * gdb.arch/spu-info.exp
9457 * gdb.arch/spu-ls.exp
9458 * gdb.arch/thumb-bx-pc.exp
9459 * gdb.base/advance.exp
9460 * gdb.base/annota-input-while-running.exp
9461 * gdb.base/arrayidx.exp
9462 * gdb.base/asmlabel.exp
9463 * gdb.base/async.exp
9464 * gdb.base/attach-wait-input.exp
9465 * gdb.base/auto-connect-native-target.exp
9466 * gdb.base/batch-preserve-term-settings.exp
9467 * gdb.base/bfp-test.exp
9468 * gdb.base/bigcore.exp
9469 * gdb.base/bp-permanent.exp
9470 * gdb.base/break-always.exp
9471 * gdb.base/break-fun-addr.exp
9472 * gdb.base/break-idempotent.exp
9473 * gdb.base/break-main-file-remove-fail.exp
9474 * gdb.base/break-probes.exp
9475 * gdb.base/break-unload-file.exp
9476 * gdb.base/break.exp
9477 * gdb.base/call-ar-st.exp
9478 * gdb.base/call-rt-st.exp
9479 * gdb.base/call-sc.exp
9480 * gdb.base/call-signal-resume.exp
9481 * gdb.base/call-strs.exp
9482 * gdb.base/callexit.exp
9483 * gdb.base/callfuncs.exp
9484 * gdb.base/catch-gdb-caused-signals.exp
9485 * gdb.base/catch-signal-siginfo-cond.exp
9486 * gdb.base/catch-syscall.exp
9487 * gdb.base/compare-sections.exp
9488 * gdb.base/cond-eval-mode.exp
9489 * gdb.base/condbreak-call-false.exp
9490 * gdb.base/consecutive-step-over.exp
9491 * gdb.base/cursal.exp
9492 * gdb.base/disabled-location.exp
9493 * gdb.base/disasm-end-cu.exp
9494 * gdb.base/display.exp
9495 * gdb.base/double-prompt-target-event-error.exp
9496 * gdb.base/dprintf-bp-same-addr.exp
9497 * gdb.base/dprintf-detach.exp
9498 * gdb.base/dprintf-next.exp
9499 * gdb.base/dprintf-non-stop.exp
9500 * gdb.base/dprintf-pending.exp
9501 * gdb.base/dso2dso.exp
9502 * gdb.base/ending-run.exp
9503 * gdb.base/enum_cond.exp
9504 * gdb.base/examine-backward.exp
9505 * gdb.base/exe-lock.exp
9506 * gdb.base/exec-invalid-sysroot.exp
9507 * gdb.base/execl-update-breakpoints.exp
9508 * gdb.base/execution-termios.exp
9509 * gdb.base/fileio.exp
9510 * gdb.base/fixsection.exp
9511 * gdb.base/foll-exec-mode.exp
9512 * gdb.base/foll-exec.exp
9513 * gdb.base/fork-running-state.exp
9514 * gdb.base/frame-args.exp
9515 * gdb.base/fullpath-expand.exp
9516 * gdb.base/func-ptr.exp
9517 * gdb.base/gcore-relro-pie.exp
9518 * gdb.base/gdb1090.exp
9519 * gdb.base/gdb1555.exp
9520 * gdb.base/global-var-nested-by-dso.exp
9521 * gdb.base/gnu-ifunc.exp
9522 * gdb.base/hbreak-in-shr-unsupported.exp
9523 * gdb.base/hbreak-unmapped.exp
9524 * gdb.base/hook-stop.exp
9525 * gdb.base/infcall-input.exp
9526 * gdb.base/info-fun.exp
9527 * gdb.base/info-shared.exp
9528 * gdb.base/interrupt-noterm.exp
9529 * gdb.base/jit-so.exp
9531 * gdb.base/line-symtabs.exp
9533 * gdb.base/longjmp.exp
9534 * gdb.base/macscp.exp
9535 * gdb.base/max-value-size.exp
9536 * gdb.base/nodebug.exp
9537 * gdb.base/nofield.exp
9538 * gdb.base/overlays.exp
9539 * gdb.base/paginate-after-ctrl-c-running.exp
9540 * gdb.base/paginate-bg-execution.exp
9541 * gdb.base/paginate-inferior-exit.exp
9542 * gdb.base/pending.exp
9543 * gdb.base/pr11022.exp
9544 * gdb.base/printcmds.exp
9545 * gdb.base/ptr-typedef.exp
9546 * gdb.base/ptype.exp
9547 * gdb.base/randomize.exp
9548 * gdb.base/range-stepping.exp
9549 * gdb.base/realname-expand.exp
9550 * gdb.base/relativedebug.exp
9551 * gdb.base/remote.exp
9552 * gdb.base/savedregs.exp
9553 * gdb.base/sepdebug.exp
9554 * gdb.base/set-noassign.exp
9555 * gdb.base/shlib-call.exp
9556 * gdb.base/shreloc.exp
9557 * gdb.base/sigaltstack.exp
9558 * gdb.base/sigbpt.exp
9559 * gdb.base/siginfo-addr.exp
9560 * gdb.base/siginfo-obj.exp
9561 * gdb.base/siginfo-thread.exp
9562 * gdb.base/signest.exp
9563 * gdb.base/signull.exp
9564 * gdb.base/sigrepeat.exp
9566 * gdb.base/so-impl-ld.exp
9567 * gdb.base/solib-corrupted.exp
9568 * gdb.base/solib-disc.exp
9569 * gdb.base/solib-display.exp
9570 * gdb.base/solib-overlap.exp
9571 * gdb.base/solib-search.exp
9572 * gdb.base/solib-symbol.exp
9573 * gdb.base/source-execution.exp
9574 * gdb.base/sss-bp-on-user-bp-2.exp
9575 * gdb.base/sss-bp-on-user-bp.exp
9576 * gdb.base/stack-checking.exp
9577 * gdb.base/stale-infcall.exp
9578 * gdb.base/step-break.exp
9579 * gdb.base/step-line.exp
9580 * gdb.base/step-over-exit.exp
9581 * gdb.base/step-test.exp
9582 * gdb.base/structs.exp
9583 * gdb.base/sym-file.exp
9584 * gdb.base/symtab-search-order.exp
9586 * gdb.base/type-opaque.exp
9587 * gdb.base/unload.exp
9588 * gdb.base/until-nodebug.exp
9589 * gdb.base/until.exp
9590 * gdb.base/unwindonsignal.exp
9591 * gdb.base/watch-cond.exp
9592 * gdb.base/watch-non-mem.exp
9593 * gdb.base/watch_thread_num.exp
9594 * gdb.base/watchpoint-reuse-slot.exp
9595 * gdb.base/watchpoint-solib.exp
9596 * gdb.base/watchpoint.exp
9597 * gdb.btrace/dlopen.exp
9599 * gdb.cell/break.exp
9603 * gdb.cell/dwarfaddr.exp
9604 * gdb.cell/ea-cache.exp
9605 * gdb.cell/ea-standalone.exp
9606 * gdb.cell/ea-test.exp
9607 * gdb.cell/f-regs.exp
9609 * gdb.cell/gcore.exp
9610 * gdb.cell/mem-access.exp
9611 * gdb.cell/ptype.exp
9612 * gdb.cell/registers.exp
9613 * gdb.cell/sizeof.exp
9614 * gdb.cell/solib-symbol.exp
9615 * gdb.cell/solib.exp
9616 * gdb.compile/compile-tls.exp
9617 * gdb.cp/exception.exp
9618 * gdb.cp/gdb2495.exp
9620 * gdb.cp/mb-inline.exp
9621 * gdb.cp/mb-templates.exp
9622 * gdb.cp/pr10687.exp
9624 * gdb.cp/scope-err.exp
9625 * gdb.cp/templates.exp
9626 * gdb.cp/virtfunc.exp
9627 * gdb.dwarf2/dw2-dir-file-name.exp
9628 * gdb.dwarf2/dw2-single-line-discriminators.exp
9629 * gdb.fortran/complex.exp
9630 * gdb.fortran/library-module.exp
9631 * gdb.guile/guile.exp
9632 * gdb.guile/scm-cmd.exp
9633 * gdb.guile/scm-frame-inline.exp
9634 * gdb.guile/scm-objfile.exp
9635 * gdb.guile/scm-pretty-print.exp
9636 * gdb.guile/scm-symbol.exp
9637 * gdb.guile/scm-type.exp
9638 * gdb.guile/scm-value.exp
9639 * gdb.linespec/keywords.exp
9640 * gdb.linespec/ls-errs.exp
9641 * gdb.linespec/macro-relative.exp
9642 * gdb.linespec/thread.exp
9643 * gdb.mi/mi-breakpoint-changed.exp
9644 * gdb.mi/mi-dprintf-pending.exp
9645 * gdb.mi/mi-fullname-deleted.exp
9646 * gdb.mi/mi-logging.exp
9647 * gdb.mi/mi-pending.exp
9648 * gdb.mi/mi-solib.exp
9649 * gdb.mi/new-ui-mi-sync.exp
9650 * gdb.mi/user-selected-context-sync.exp
9651 * gdb.multi/dummy-frame-restore.exp
9652 * gdb.multi/multi-arch-exec.exp
9653 * gdb.multi/remove-inferiors.exp
9654 * gdb.multi/watchpoint-multi-exit.exp
9655 * gdb.opt/solib-intra-step.exp
9656 * gdb.perf/backtrace.exp
9657 * gdb.perf/single-step.exp
9658 * gdb.perf/skip-command.exp
9659 * gdb.perf/skip-prologue.exp
9660 * gdb.perf/solib.exp
9661 * gdb.python/lib-types.exp
9662 * gdb.python/py-as-string.exp
9663 * gdb.python/py-bad-printers.exp
9664 * gdb.python/py-block.exp
9665 * gdb.python/py-breakpoint.exp
9666 * gdb.python/py-cmd.exp
9667 * gdb.python/py-events.exp
9668 * gdb.python/py-evthreads.exp
9669 * gdb.python/py-finish-breakpoint.exp
9670 * gdb.python/py-finish-breakpoint2.exp
9671 * gdb.python/py-frame-inline.exp
9672 * gdb.python/py-frame.exp
9673 * gdb.python/py-inferior.exp
9674 * gdb.python/py-infthread.exp
9675 * gdb.python/py-mi.exp
9676 * gdb.python/py-objfile.exp
9677 * gdb.python/py-pp-maint.exp
9678 * gdb.python/py-pp-registration.exp
9679 * gdb.python/py-prettyprint.exp
9680 * gdb.python/py-recurse-unwind.exp
9681 * gdb.python/py-shared.exp
9682 * gdb.python/py-symbol.exp
9683 * gdb.python/py-symtab.exp
9684 * gdb.python/py-template.exp
9685 * gdb.python/py-type.exp
9686 * gdb.python/py-unwind-maint.exp
9687 * gdb.python/py-unwind.exp
9688 * gdb.python/py-value.exp
9689 * gdb.python/python.exp
9690 * gdb.reverse/finish-reverse-bkpt.exp
9691 * gdb.reverse/insn-reverse.exp
9692 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9693 * gdb.reverse/solib-precsave.exp
9694 * gdb.reverse/solib-reverse.exp
9695 * gdb.stabs/gdb11479.exp
9696 * gdb.stabs/weird.exp
9697 * gdb.threads/fork-child-threads.exp
9698 * gdb.threads/fork-plus-threads.exp
9699 * gdb.threads/fork-thread-pending.exp
9700 * gdb.threads/forking-threads-plus-breakpoint.exp
9701 * gdb.threads/hand-call-in-threads.exp
9702 * gdb.threads/interrupted-hand-call.exp
9703 * gdb.threads/linux-dp.exp
9704 * gdb.threads/local-watch-wrong-thread.exp
9705 * gdb.threads/next-while-other-thread-longjmps.exp
9706 * gdb.threads/non-ldr-exit.exp
9707 * gdb.threads/pending-step.exp
9708 * gdb.threads/print-threads.exp
9709 * gdb.threads/process-dies-while-detaching.exp
9710 * gdb.threads/process-dies-while-handling-bp.exp
9711 * gdb.threads/pthreads.exp
9712 * gdb.threads/queue-signal.exp
9713 * gdb.threads/reconnect-signal.exp
9714 * gdb.threads/signal-command-handle-nopass.exp
9715 * gdb.threads/signal-command-multiple-signals-pending.exp
9716 * gdb.threads/signal-delivered-right-thread.exp
9717 * gdb.threads/signal-sigtrap.exp
9718 * gdb.threads/sigthread.exp
9719 * gdb.threads/staticthreads.exp
9720 * gdb.threads/stepi-random-signal.exp
9721 * gdb.threads/thread-unwindonsignal.exp
9722 * gdb.threads/thread_check.exp
9723 * gdb.threads/thread_events.exp
9724 * gdb.threads/tid-reuse.exp
9725 * gdb.threads/tls-nodebug.exp
9726 * gdb.threads/tls-shared.exp
9727 * gdb.threads/tls-so_extern.exp
9728 * gdb.threads/tls.exp
9729 * gdb.threads/wp-replication.exp
9730 * gdb.trace/actions-changed.exp
9731 * gdb.trace/actions.exp
9732 * gdb.trace/backtrace.exp
9733 * gdb.trace/change-loc.exp
9734 * gdb.trace/collection.exp
9735 * gdb.trace/deltrace.exp
9736 * gdb.trace/disconnected-tracing.exp
9737 * gdb.trace/entry-values.exp
9738 * gdb.trace/ftrace-lock.exp
9739 * gdb.trace/ftrace.exp
9740 * gdb.trace/infotrace.exp
9741 * gdb.trace/mi-trace-frame-collected.exp
9742 * gdb.trace/mi-trace-unavailable.exp
9743 * gdb.trace/mi-traceframe-changed.exp
9744 * gdb.trace/mi-tracepoint-changed.exp
9745 * gdb.trace/mi-tsv-changed.exp
9746 * gdb.trace/no-attach-trace.exp
9747 * gdb.trace/packetlen.exp
9748 * gdb.trace/passc-dyn.exp
9749 * gdb.trace/passcount.exp
9750 * gdb.trace/pending.exp
9751 * gdb.trace/pr16508.exp
9752 * gdb.trace/qtro.exp
9753 * gdb.trace/range-stepping.exp
9754 * gdb.trace/read-memory.exp
9755 * gdb.trace/report.exp
9756 * gdb.trace/save-trace.exp
9757 * gdb.trace/signal.exp
9758 * gdb.trace/stap-trace.exp
9759 * gdb.trace/status-stop.exp
9760 * gdb.trace/strace.exp
9761 * gdb.trace/tfile.exp
9762 * gdb.trace/tfind.exp
9763 * gdb.trace/trace-break.exp
9764 * gdb.trace/trace-condition.exp
9765 * gdb.trace/trace-enable-disable.exp
9766 * gdb.trace/trace-mt.exp
9767 * gdb.trace/tracecmd.exp
9768 * gdb.trace/tracefile-pseudo-reg.exp
9769 * gdb.trace/tspeed.exp
9770 * gdb.trace/tstatus.exp
9772 * gdb.trace/unavailable.exp
9773 * gdb.trace/while-dyn.exp
9774 * gdb.trace/while-stepping.exp
9777 * lib/mi-support.exp
9780 * lib/prelink-support.exp
9781 * lib/selftest-support.exp
9783 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
9785 * Makefile.in: Include disable-implicit-rules.mk.
9787 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9789 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
9790 non-byte-aligned bit fields.
9792 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9795 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
9796 respects the DW_AT_data_bit_offset attribute.
9798 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
9800 * gdb.base/default.exp: Fix output of "set language".
9802 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
9804 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
9805 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
9807 * configure.ac: Remove checks for the make program.
9808 * configure: Re-generate.
9810 2016-11-16 Kevin Buettner <kevinb@redhat.com>
9812 * gdb.python/py-recurse-unwind.c (main): Add loop.
9813 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
9814 to read_register() and gdb.parse_and_eval(). Make each code
9815 call a separate case that can be individually tested.
9816 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
9817 proc. Call cont_and_backtrace for each of the code paths that
9818 we want to test in the unwinder.
9820 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
9822 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
9823 the definition of struct S.
9825 2016-11-11 Catherine Moore <clm@codesourcery.com>
9827 * gdb.base/dump.exp: Identify verilog format dump tests as such.
9829 2016-11-09 Pedro Alves <palves@redhat.com>
9831 * gdb.base/commands.exp (runto_or_return): New procedure.
9832 (gdbvar_simple_if_test, gdbvar_simple_while_test)
9833 (gdbvar_complex_if_while_test, progvar_simple_if_test)
9834 (progvar_simple_while_test, progvar_complex_if_while_test)
9835 (if_while_breakpoint_command_test)
9836 (infrun_breakpoint_command_test, breakpoint_command_test)
9837 (user_defined_command_test, watchpoint_command_test)
9838 (test_command_prompt_position, redefine_hook_test)
9839 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
9840 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
9841 multi_line_input and multi_line. Remove gdb_expect and
9842 gdb_stop_suppressing_tests uses.
9843 * lib/gdb.exp (valnum_re): New global.
9844 (multi_line_input): New procedure.
9846 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
9848 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
9850 (test_setup): Define with proc_with_prefix.
9851 (test_cli_inferior): Likewise.
9852 (test_cli_thread): Likewise.
9853 (test_cli_frame): Likewise.
9854 (test_cli_select_frame): Likewise.
9855 (test_cli_up_down): Likewise.
9856 (test_mi_thread_select): Likewise.
9857 (test_mi_stack_select_frame): Likewise.
9858 (test_cli_in_mi_inferior): Likewise.
9859 (test_cli_in_mi_thread): Likewise.
9860 (test_cli_in_mi_frame): Likewise.
9861 (top level): Do not use with_test_prefix_procname.
9863 2016-11-09 Pedro Alves <palves@redhat.com>
9865 * gdb.base/commands.exp (gdbvar_simple_if_test)
9866 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
9867 (progvar_simple_if_test, progvar_simple_while_test)
9868 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
9869 (infrun_breakpoint_command_test, breakpoint_command_test)
9870 (user_defined_command_test, watchpoint_command_test)
9871 (test_command_prompt_position, deprecated_command_test)
9872 (bp_deleted_in_command, temporary_breakpoint_commands)
9873 (stray_arg0_test, source_file_with_indented_comment)
9874 (recursive_source_test, if_commands_test)
9875 (error_clears_commands_left, redefine_hook_test)
9876 (redefine_backtrace_test): Use proc_with_prefix.
9877 * lib/gdb.exp (proc_with_prefix): New proc.
9879 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9881 * gdb.base/tui-layout.c: New file.
9882 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
9883 disassembly window contains very long lines.
9885 2016-11-08 Tom Tromey <tom@tromey.com>
9887 * gdb.python/py-value.exp (test_value_creation): Make "long" test
9890 2016-11-08 Tom Tromey <tom@tromey.com>
9892 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
9895 2016-10-29 Manish Goregaokar <manish@mozilla.com>
9897 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
9899 2016-10-27 Manish Goregaokar <manish@mozilla.com>
9901 * gdb.rust/simple.rs: Add test for univariant enums without
9902 discriminants and for encoded struct-like enums.
9904 2016-10-28 Pedro Alves <palves@redhat.com>
9906 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
9907 gdb_test_multiple, tighten regexps and match symtabs and line
9908 tables incrementally.
9910 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
9912 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
9915 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
9917 * gdb.base/exec-invalid-sysroot.exp: New file.
9919 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9921 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
9923 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9925 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
9927 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
9929 * gdb.base/killed-outside.exp: Remove $options from a call to
9930 `prepare_for_testing'.
9932 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9934 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9935 Change test message.
9937 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9939 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9942 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9944 * gdb.trace/mi-trace-save.exp: New file.
9946 2016-10-13 Yao Qi <yao.qi@linaro.org>
9948 * gdb.base/code_elim.exp (get_var_address): Remove.
9949 * gdb.base/relocate.exp: Likewise.
9950 * gdb.base/shreloc.exp: Likewise.
9951 * lib/gdb.exp (get_var_address): New.
9953 2016-10-13 Yao Qi <yao.qi@linaro.org>
9955 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
9956 floating point tests if $skip_float_test is false.
9958 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
9960 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
9961 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
9963 Add 1 to argc so we guarantee distinct initial/modified argc values.
9965 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9967 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
9969 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9971 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
9972 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
9973 * gdb.arch/vsx-regs.exp: Likewise.
9975 2016-10-07 Yao Qi <yao.qi@linaro.org>
9977 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
9979 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
9981 * gdb.python/python.exp: Test decode_line("*0").
9983 2016-10-06 Doug Evans <dje@google.com>
9985 * gdb.python/py-value.exp (test_value_creation): Add test for large
9986 unsigned 64-bit value.
9988 2016-10-06 Tom Tromey <tom@tromey.com>
9990 * gdb.compile/compile.exp: Change java tests to rust.
9991 * gdb.base/setshow.exp: Change java tests to rust.
9992 * gdb.base/default.exp: Remove java from language list.
9993 * README (Examples): Update language example.
9994 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
9996 * lib/gdb.exp (skip_java_tests): Remove.
9997 * lib/java.exp: Remove.
10000 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
10002 * gdb.arch/mips-fcr.exp: New test.
10003 * gdb.arch/mips-fcr.c: Source for the new test.
10005 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
10007 * gdb.base/solib-disc.exp: Use `standard_output_file'
10010 2016-10-06 Pedro Alves <palves@redhat.com>
10012 * gdb.base/jit-simple-dl.c: New file.
10013 * gdb.base/jit-simple-jit.c: New file, factored out from ...
10014 * gdb.base/jit-simple.c: ... this.
10015 * gdb.base/jit-simple.exp (jit_run): Delete.
10016 (build_jit): New proc.
10017 (jit_test_reread): Recompile either the main program or the shared
10018 library, depending on what is being tested. Skip changing address
10019 if caller wants to. Compare before/after addresses. If testing
10020 standalone, explicitly load the binary. Test "maint info
10022 (top level): Add "standalone vs shared lib" and "change address"
10023 vs "same address" axes.
10025 2016-10-06 Pedro Alves <palves@redhat.com>
10027 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
10030 (jit_test_reread): Use with_test_prefix. Reload the main binary
10031 explicitly. Compare the before/after addresses of the JIT
10034 2016-08-15 Doug Evans <dje@google.com>
10036 * gdb.xml/extra-regs.xml: Update, end field now required, default type
10037 for single bitfields is bool.
10038 * gdb.xml/tdesc-regs.exp: Ditto.
10040 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10042 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
10044 2016-10-05 Yao Qi <yao.qi@linaro.org>
10046 * lib/gdb.exp (support_complex_tests): Return zero if
10047 gdb_skip_float_test return true.
10049 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
10050 Simon Marchi <simon.marchi@ericsson.com>
10053 * gdb.mi/user-selected-context-sync.exp: New file.
10054 * gdb.mi/user-selected-context-sync.c: New file.
10056 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
10057 Simon Marchi <simon.marchi@ericsson.com>
10060 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
10061 =thread-select-event check.
10063 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
10065 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
10066 the compulsory L operand changes.
10067 * gdb.arch/powerpc-power.s: Likewise.
10069 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10071 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
10072 * gdb.base/jit-attach-pie.c: New file.
10073 * gdb.base/jit-attach-pie.exp: New file.
10075 2016-09-28 Pedro Alves <palves@redhat.com>
10077 * gdb.base/infcall-input.c: New file.
10078 * gdb.base/infcall-input.exp: New file.
10080 2016-09-22 Yao Qi <yao.qi@linaro.org>
10082 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
10083 (gdb_exit): Rename it to ...
10084 (gdbserver_gdb_exit): ... Close GDBserver.
10085 (gdb_exit): New proc, call gdbserver_gdb_exit.
10086 (mi_gdb_exit): Likewise.
10088 2016-09-22 Yao Qi <yao.qi@linaro.org>
10090 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
10092 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
10093 Remove duplication.
10095 2016-09-22 Yao Qi <yao.qi@linaro.org>
10097 * lib/gdbserver-support.exp: Check the existence of
10098 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
10100 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
10102 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
10104 2016-09-21 Tom Tromey <tom@tromey.com>
10107 * gdb.base/quit.exp: New file.
10109 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
10111 * .gitignore: New file.
10113 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
10115 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
10118 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10120 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
10122 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10124 * gdb.cp/casts.cc (decltype): Move it ...
10125 (main): ... with its call to ...
10126 * gdb.cp/casts03.cc: ... a new file.
10127 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
10129 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10131 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
10133 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
10135 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
10136 and sync up the test with tests in gas/testsuite/gas/ppc.
10137 * gdb.arch/powerpc-power.exp: Likewise.
10139 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10141 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
10143 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
10144 Jan Kratochvil <jan.kratochvil@redhat.com>
10146 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
10147 make m1's definition to be different from m2's. Use 'dummy' as an
10148 argument for probe 'two'.
10150 2016-09-10 Jon Beniston <jon@beniston.com>
10152 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
10155 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
10157 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
10158 variable declaration.
10159 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
10160 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
10161 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
10162 received HWCAP as its argument.
10164 2016-09-06 Pedro Alves <palves@redhat.com>
10166 * gdb.base/new-ui-pending-input.c: New file.
10167 * gdb.base/new-ui-pending-input.exp: New file.
10168 * gdb.exp (clear_gdb_spawn_id): New procedure.
10169 (with_spawn_id): Check whether gdb_spawn_id exists before
10170 referencing it. If gdb_spawn_id didn't exist on entry, clear it
10173 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
10175 * gdb.base/float128.c: New file.
10176 * gdb.base/float128.exp: Likewise.
10177 * gdb.base/floatn.c: Likewise.
10178 * gdb.base/floatn.exp: Likewise.
10180 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
10182 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
10184 2016-09-05 Pedro Alves <palves@redhat.com>
10187 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
10188 unwinders are immediately called as side effect of "source" or
10189 "disable unwinder" commands.
10190 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
10192 2016-09-02 Yao Qi <yao.qi@linaro.org>
10194 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
10195 is true and $type is "float" or "double".
10197 2016-09-02 Yao Qi <yao.qi@linaro.org>
10199 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
10201 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
10202 * gdb.base/call-rt-st.exp: Likewise.
10203 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
10204 return value instead of gdb,skip_float_test.
10205 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
10206 (do_function_calls): Use its return value instead of
10207 gdb,skip_float_test.
10208 * gdb.base/finish.exp: Likewise.
10209 * gdb.base/funcargs.exp: Likewise.
10210 * gdb.base/return.exp: Likewise.
10211 * gdb.base/return2.exp: Likewise.
10212 * gdb.base/varargs.exp: Likewise.
10213 * lib/gdb.exp (gdb_skip_float_test): Change it to
10214 gdb_caching_proc. Detect the broken ptrace on arm-linux.
10216 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
10218 * gdb.multi/tids.exp: Test "thread apply all".
10220 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10222 * gdb.base/default.exp (tty): Remove.
10224 2016-08-24 Kevin Buettner <kevinb@redhat.com>
10226 * gdb.python/py-recurse-unwind.c: New file.
10227 * gdb.python/py-recurse-unwind.py: New file.
10228 * gdb.python/py-recurse-unwind.exp: New file.
10230 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
10232 * gdb.base/set-inferior-tty.exp: New file.
10233 * gdb.base/set-inferior-tty.c: New file.
10235 2016-08-23 Pedro Alves <palves@redhat.com>
10238 * gdb.base/new-ui-echo.c: New file.
10239 * gdb.base/new-ui-echo.exp: New file.
10241 2016-08-23 Yao Qi <yao.qi@linaro.org>
10243 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
10245 * gdb.server/connect-without-multi-process.exp (do_test):
10248 2016-08-23 Yao Qi <yao.qi@linaro.org>
10250 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
10251 standalone_txt. Delete gdb_txt and standalone_txt on host
10252 and target. Spawn the binary on target. Copy files from
10255 2016-08-22 Pedro Alves <palves@redhat.com>
10258 * gdb.base/vdso-warning.exp: Test core dumps too. Use
10259 with_test_prefix. Factor out bits to ...
10260 (test_no_vdso): ... this new procedure.
10262 2016-08-19 Carl Love <cel@us.ibm.com>
10264 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
10265 maintaining separate logic for constructing the output path.
10266 * gdb.arch/powerpc-d128-regs.exp: Likewise.
10267 * gdb.arch/ppc-dfp.exp: Likewise.
10268 * gdb.arch/ppc-fp.exp: Likewise.
10269 * gdb.arch/vsx-regs.exp: Likewise.
10270 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
10271 binprefix for generating the additional binary files.
10273 2016-08-19 Pedro Alves <palves@redhat.com>
10275 * gdb.trace/mi-trace-frame-collected.exp
10276 (test_trace_frame_collected): On x32, expect two registers.
10278 2016-08-18 Carl Love <cel@us.ibm.com>
10280 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
10281 and sync up the test with tests in gas/testsuite/gas/ppc.
10282 * gdb.arch/powerpc-power.exp: Likewise.
10284 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
10286 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
10287 expected error message.
10289 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
10291 * gdb.multi/remove-inferiors.exp: New file.
10292 * gdb.multi/remove-inferiors.c: New file.
10294 2016-08-12 Yao Qi <yao.qi@linaro.org>
10296 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
10299 2016-08-10 Pedro Alves <palves@redhat.com>
10302 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
10305 2016-08-09 Pedro Alves <palves@redhat.com>
10306 Simon Marchi <simon.marchi@ericsson.com>
10309 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
10310 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
10312 2016-08-09 Pedro Alves <palves@redhat.com>
10315 * gdb.mi/mi-cmd-error.exp: New file.
10317 2016-08-09 Pedro Alves <palves@redhat.com>
10320 * gdb.base/signals-state-child.c: New file.
10321 * gdb.base/signals-state-child.exp: New file.
10322 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
10324 2016-08-09 Pedro Alves <palves@redhat.com>
10326 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
10328 2016-08-03 Tom Tromey <tom@tromey.com>
10331 * gdb.python/py-frame-inline.exp: Add Frame.function test.
10333 2016-08-01 Yao Qi <yao.qi@linaro.org>
10335 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
10336 variable mode to "multi-process" if $multi_process is 1, otherwise
10337 set it to "single-process".
10339 2016-08-01 Yao Qi <yao.qi@linaro.org>
10341 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
10342 * gdb.cp/cpexprs.exp: Likewise.
10343 * gdb.cp/m-static.exp: Likewise.
10345 2016-07-26 Tom Tromey <tom@tromey.com>
10348 * gdb.threads/tls.exp (check_thread_local): Add python symbol
10351 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
10353 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
10354 selecting assembly source files.
10355 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
10356 assembly source files.
10357 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
10358 assembly source files.
10359 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
10360 selecting assembly source files.
10362 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
10364 * gdb.base/new-ui.exp (do_test_invalid_args): New
10367 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
10369 * gdb.btrace/reconnect.c: New file.
10370 * gdb.btrace/reconnect.exp: New file.
10372 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
10374 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
10375 to test_catch_syscall_group.
10376 (test_catch_syscall_group): New.
10378 2016-07-21 Tom Tromey <tom@tromey.com>
10380 * gdb.rust/simple.rs (main): Use empty struct expression.
10381 * gdb.rust/simple.exp: Add tests for empty struct expression.
10383 2016-07-21 Yao Qi <yao.qi@linaro.org>
10385 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
10386 if gdb_skip_xml_test is true on some targets.
10388 2016-07-21 Yao Qi <yao.qi@linaro.org>
10390 * gdb.server/solib-list.exp: Unset last_loaded_file.
10392 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10394 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
10395 "step into captured_main (args)".
10397 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10399 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
10401 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10403 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
10405 2016-07-19 Pedro Alves <palves@redhat.com>
10407 * gdb.opt/inline-break.exp: Remove optimize=-O2.
10408 * gdb.opt/inline-bt.exp: Likewise.
10409 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
10410 additional_flags=-Winline.
10411 * gdb.opt/inline-locals.exp: Likewise.
10412 * gdb.opt/inline-markers.c (ATTR): Define.
10413 (inlined_fn): Use it.
10415 2016-07-19 Yao Qi <yao.qi@linaro.org>
10417 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
10418 (test_with_self): Remove some code. Remove argument executable.
10419 (top-level): Use do_self_tests.
10421 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
10422 Don Breazeal <donb@codesourcery.com>
10424 * gdb.base/maint.exp: Escape paths used in regular expressions.
10425 * gdb.stabs/weird.exp: Likewise.
10427 2016-07-13 Tom Tromey <tom@tromey.com>
10429 PR python/15620, PR python/18620:
10430 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
10431 (test_bkpt_events): New procs.
10433 2016-07-13 Tom Tromey <tom@tromey.com>
10436 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
10438 (test_watchpoints): Likewise.
10439 (test_bkpt_pending): New proc.
10441 2016-07-13 Tom Tromey <tom@tromey.com>
10444 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
10447 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10449 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
10450 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
10451 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
10453 (g): Rename g_end_lbl to g_label.
10454 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
10455 low_pc and high_pc.
10456 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
10458 2016-07-12 Tom Tromey <tom@tromey.com>
10461 * gdb.python/py-unwind-maint.exp: Update tests.
10463 2016-07-12 Yao Qi <yao.qi@linaro.org>
10465 * lib/selftest-support.exp (selftest_setup): Match the output
10466 when captured_main is inlined.
10468 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
10470 * gdb.fortran/derived-types.exp (result_line, result_line_2):
10472 (print this%a, print this%b, print this): New tests.
10473 * gdb.fortran/derived-types.f90 (this): New object and
10476 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
10478 * gdb.ada/arraydim.exp: Remove extra directory level in build
10481 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
10483 * lib/ada.exp: Remove extra directory level in build directory.
10484 * gdb.ada/cond_lang.exp: Likewise.
10485 * gdb.ada/exec_changed.exp: Likewise.
10486 * gdb.ada/lang_switch.exp: Likewise.
10488 2016-07-06 Manish Goregaokar <manish@mozilla.com>
10490 * simple.rs: Add test for raw pointer subscripting.
10491 * simple.exp: Add test expectations.
10493 2016-07-05 Yao Qi <yao.qi@linaro.org>
10495 * gdb.mi/mi-reverse.exp: Match =record-started output.
10497 2016-07-01 Pedro Alves <palves@redhat.com>
10499 * gdb.base/jit-reader.exp (info_registers_current_frame): New
10501 (jit_reader_test): Test the jit reader's unwinder.
10502 * gdb.base/jithost.c (jit_function_00_code): New global.
10503 (main): Use memcpy to fill in the mmapped code, instead of poking
10504 bytes manually here.
10505 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
10507 (read_debug_info): Save the function's range.
10508 (read_sp): New function.
10509 (unwind_frame): Use it. Also unwind RBP.
10510 (get_frame_id): Use read_sp.
10511 (gdb_init_reader): Use calloc instead of malloc.
10512 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
10513 parameter. Use gdb_test_multiple.
10515 2016-07-01 Pedro Alves <palves@redhat.com>
10516 Antoine Tremblay <antoine.tremblay@ericsson.com>
10518 * gdb.threads/process-dies-while-detaching.c: New file.
10519 * gdb.threads/process-dies-while-detaching.exp: New file.
10521 2016-07-01 Pedro Alves <palves@redhat.com>
10523 * gdb.multi/watchpoint-multi-exit.c: New file.
10524 * gdb.multi/watchpoint-multi-exit.exp: New file.
10526 2016-06-30 Pedro Alves <palves@redhat.com>
10528 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
10529 unset inferior_spawn_id.
10531 2016-06-30 Pedro Alves <palves@redhat.com>
10533 * lib/mi-support.exp (default_mi_gdb_start): Declare global
10534 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
10536 2016-06-29 Yao Qi <yao.qi@linaro.org>
10538 * gdb.base/return.c: Add copyright header.
10540 2016-06-29 Tom Tromey <tom@tromey.com>
10543 * gdb.python/py-framefilter.exp: Add tests for setting priority
10544 and disabling of non-existent frame filter.
10546 2016-06-29 Yao Qi <yao.qi@linaro.org>
10548 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
10551 2016-06-28 Yao Qi <yao.qi@linaro.org>
10553 * gdb.base/catch-syscall.exp: Remove check on isnative and target
10554 triplets. Start gdb, execute catch syscall, and continue. Check
10555 gdb's output to determine catch syscall is supported.
10557 2016-06-27 Manish Goregaokar <manish@mozilla.com>
10559 * gdb.rust/simple.rs: Add test for returning unit in a function.
10560 * gdb.rust/simple.exp: Add expectation for functions returning
10563 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
10565 * gdb.python/py-breakpoint-create-fail.c,
10566 gdb.python/py-breakpoint-create-fail.exp,
10567 gdb.python/py-breakpoint-create-fail.py: New testcase.
10569 2016-06-25 Manish Goregaokar <manish@mozilla.com>
10572 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
10573 * gdb.rust/simple.exp: Add test expectations for new NonZero
10576 2016-06-24 David Taylor <dtaylor@emc.com>
10578 * gdb.base/offsets.exp: New file.
10579 * gdb.base/offsets.c: New file.
10581 2016-06-23 Tom Tromey <tom@tromey.com>
10584 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
10585 before any filters are loaded.
10587 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
10589 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
10590 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
10592 * gdb.fortran/derived-type-function.exp: New file.
10593 * gdb.fortran/derived-type-function.f90: New file.
10596 2016-06-21 Pedro Alves <palves@redhat.com>
10598 * gdb.base/new-ui.exp: New file.
10599 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
10600 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
10601 (with_spawn_id): New procedure.
10603 2016-06-21 Pedro Alves <palves@redhat.com>
10605 * gdb.mi/mi-exec-run.exp: New file.
10607 2016-06-21 Pedro Alves <palves@redhat.com>
10609 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
10610 breakpoint command's output on the main UI.
10611 (test_break): New procedure, factored out from calls in the top
10613 (top level): Use foreach_with_prefix to test MI as main UI and as
10616 2016-06-21 Pedro Alves <palves@redhat.com>
10618 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
10619 (test_awatch_creation_and_listing)
10620 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
10621 Remove 'type' parameter.
10622 (test_watchpoint_all): New parameter mi_mode. Remove
10624 (top level): Use foreach_with_prefix, and add main/separate UI MI
10627 2016-06-21 Pedro Alves <palves@redhat.com>
10629 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
10630 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
10631 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
10632 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
10633 (gdb_main_spawn_id, mi_spawn_id): Declare and
10635 (mi_create_inferior_pty): New procedure,
10636 factored out from default_mi_gdb_start.
10637 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
10639 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
10640 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
10641 Use mi_create_inferior_pty.
10642 (mi_gdb_start): Use eval to pass down args list.
10644 2016-06-21 Pedro Alves <palves@redhat.com>
10646 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
10647 * gdb.opt/inline-cmds.exp: Add MI tests.
10649 2016-06-21 Pedro Alves <palves@redhat.com>
10651 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
10653 2016-06-21 Pedro Alves <palves@redhat.com>
10655 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
10656 (top level): Use it instead of mi_execute_to.
10658 2016-06-21 Pedro Alves <palves@redhat.com>
10660 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
10661 (cont_handler_str): New.
10662 (signal_stop_handler): Set stop_handler_str instead of printing to
10664 (continue_handler): Set cont_handler_str instead of printing to
10666 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
10667 mi_send_resuming_command. Print stop_handler_str and
10668 cont_handler_str instead of expecting the python events print
10671 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
10673 * gdb.base/jit-reader.exp: New file.
10674 * gdb.base/jithost.c: New file.
10675 * gdb.base/jithost.h: New file.
10676 * gdb.base/jitreader.c : New file.
10677 * gdb.base/jit-protocol.h: New file.
10679 2016-06-17 Yao Qi <yao.qi@linaro.org>
10681 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
10682 parameters follow_fork and detach_on_fork. Set follow-fork-mode
10683 and detach-on-fork. Adjust tests.
10684 (top level): Invoke break_cond_on_syscall with combinations of
10685 syscall, follow-fork-mode and detach-on-fork.
10687 2016-06-17 Yao Qi <yao.qi@linaro.org>
10689 * gdb.base/step-over-exit.c: New.
10690 * gdb.base/step-over-exit.exp: New.
10692 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
10694 * gdb.base/float.exp: Add target check for nds32*-*-*.
10695 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
10697 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
10699 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
10700 for unsupported target features.
10701 * gdb.base/call-rt-st.exp: Likewise.
10702 * gdb.base/call-sc.exp: Likewise.
10703 * gdb.base/call-signal-resume.exp: Likewise.
10704 * gdb.base/call-strs.exp: Likewise.
10705 * gdb.base/callexit.exp: Likewise.
10706 * gdb.base/callfuncs.exp: Likewise.
10707 * gdb.base/nodebug.exp: Likewise.
10708 * gdb.base/printcmds.exp: Likewise.
10709 * gdb.base/ptype.exp: Likewise.
10710 * gdb.base/structs.exp: Likewise.
10711 * gdb.base/unwindonsignal.exp: Likewise.
10712 * gdb.cp/gdb2495.exp: Likewise.
10713 * gdb.cp/templates.exp: Likewise.
10714 * gdb.cp/virtfunc.exp: Likewise.
10715 * gdb.threads/hand-call-in-threads.exp: Likewise.
10716 * gdb.threads/interrupted-hand-call.exp: Likewise.
10717 * gdb.threads/thread-unwindonsignal.exp: Likewise.
10719 2016-06-10 Tom Tromey <tom@tromey.com>
10722 * gdb.rust/expr.exp: Add test for integer constant larger than
10725 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
10727 * gdb.fortran/nested-funcs.exp: New.
10728 * gdb.fortran/nested-funcs.f90: New.
10730 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
10732 * gdb.base/examine-backward.c: New file.
10733 * gdb.base/examine-backward.exp: New file.
10735 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
10737 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
10740 2016-06-02 Tom Tromey <tom@tromey.com>
10743 * gdb.python/py-shared.exp: Add solib_name test.
10745 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
10747 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
10749 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
10752 * gdb.dwarf2/implref.exp: Rename to...
10753 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
10754 * gdb.dwarf2/implref-array.c: New file.
10755 * gdb.dwarf2/implref-array.exp: Likewise.
10756 * gdb.dwarf2/implref-global.c: Likewise.
10757 * gdb.dwarf2/implref-global.exp: Likewise.
10758 * gdb.dwarf2/implref-struct.c: Likewise.
10759 * gdb.dwarf2/implref-struct.exp: Likewise.
10761 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10763 * gdb.trace/trace-condition.exp: Add 64bit tests.
10765 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10767 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
10769 (main): Adapt to 8 to 64 bits types.
10770 * gdb.trace/trace-condition.exp: Add new tests.
10772 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10774 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
10776 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10778 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
10779 Move condition tests...
10780 * gdb.trace/trace-condition.exp: Here.
10782 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10784 * gdb.trace/trace-condition.exp: Add counter-case tests.
10786 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10789 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
10790 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
10792 2016-05-27 Pedro Alves <palves@redhat.com>
10794 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
10796 (top level): Call it, and bail out of DejaGnu is known to be bad.
10798 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
10800 * gdb.base/whatis.c: Extend the test case.
10801 * gdb.base/whatis.exp: Add additional tests.
10803 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10805 * gdb.fortran/type.f90: Add pointer variable.
10806 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
10808 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10810 * gdb.fortran/vla-type.exp: Fix testcase name.
10812 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10814 * gdb.fortran/vla-type.exp: Access elements in nested structs.
10816 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10818 * gdb.fortran/type.f90: Add nested structures.
10819 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
10820 * gdb.fortran/derived-type.exp: Adapt expected output.
10821 * gdb.fortran/vla-type.exp: Adapt expected output.
10823 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10825 * gdb.fortran/whatis_type.exp: Adapt expected output.
10827 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10829 * gdb.fortran/print_type.exp: Fix expected output.
10830 * gdb.fortran/whatis_type.exp: Fix expected output.
10832 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10834 * gdb.fortran/whatis_type.exp: Use multi_line.
10836 2016-05-24 Tom Tromey <tom@tromey.com>
10839 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
10840 use value as an index.
10842 2016-05-23 Tom Tromey <tom@tromey.com>
10845 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
10846 no-breakpoint case.
10848 2016-05-24 Pedro Alves <palves@redhat.com>
10851 * gdb.threads/clone-attach-detach.c: New file.
10852 * gdb.threads/clone-attach-detach.exp: New file.
10854 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
10856 * gdb.base/annota-input-while-running.exp: Fix syntax error.
10858 2016-05-23 Tom Tromey <tom@tromey.com>
10860 PR python/19438, PR python/18393:
10861 * gdb.python/py-progspace.exp: Add "dir" test.
10862 * gdb.python/py-objfile.exp: Add "dir" test.
10864 2016-05-23 Yao Qi <yao.qi@linaro.org>
10866 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
10867 * gdb.arch/thumb2-it.exp: Likewise.
10869 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
10871 * gdb.mi/mi-threads-interrupt.c: New file.
10872 * gdb.mi/mi-threads-interrupt.exp: New file.
10874 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
10877 * gdb.mi/mi-async-run.exp: New file.
10878 * gdb.mi/mi-async-run.c: New file.
10880 2016-05-17 Tom Tromey <tom@tromey.com>
10881 Manish Goregaokar <manishsmail@gmail.com>
10883 * lib/rust-support.exp: New file.
10884 * lib/gdb.exp (skip_rust_tests): New proc.
10885 (build_executable_from_specs): Handle rust.
10886 * lib/future.exp (gdb_find_rustc): New proc.
10887 (gdb_default_target_compile): Handle rust.
10888 * gdb.rust/expr.exp: New file.
10889 * gdb.rust/generics.exp: New file.
10890 * gdb.rust/generics.rs: New file.
10891 * gdb.rust/methods.exp: New file.
10892 * gdb.rust/methods.rs: New file.
10893 * gdb.rust/modules.exp: New file.
10894 * gdb.rust/modules.rs: New file.
10895 * gdb.rust/simple.exp: New file.
10896 * gdb.rust/simple.rs: New file.
10898 2016-05-17 Tom Tromey <tom@tromey.com>
10900 * gdb.base/default.exp (set language): Add rust.
10902 2016-05-17 Tom Tromey <tom@tromey.com>
10904 * gdb.gdb/unittest.exp: New file.
10906 2016-05-16 Yao Qi <yao.qi@linaro.org>
10908 * gdb.base/batch-preserve-term-settings.exp: Remove variable
10909 shell_prompt. Update shell_prompt_re.
10911 2016-05-12 Doug Evans <dje@google.com>
10914 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
10915 $options when building executable.
10916 * gdb.dwarf2/fission-loclists-pie.S: New file.
10917 * gdb.dwarf2/fission-loclists-pie.exp: New file.
10919 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10921 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
10922 of [is_remote target],
10924 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10926 * lib/gdb.exp (use_gdb_stub): New procedure.
10928 2016-05-03 Yunlian Jiang <yunlian@google.com>
10929 Doug Evans <dje@google.com>
10932 * gdb.dwarf2/dwp-sepdebug.c: New file.
10933 * gdb.dwarf2/dwp-sepdebug.exp: New file.
10935 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10937 * gdb.base/detach.exp: Remove is_remote check.
10939 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10941 * gdb.base/annota-input-while-running.exp: Don't check for
10942 [is_remote target]. Enable annotations after running to main.
10943 Remove unused "set test..." line.
10945 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10947 * gdb.trace/trace-enable-disable.exp: New file.
10948 * gdb.trace/trace-enable-disable.c: New file.
10950 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10952 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
10953 use it in info sharedlibrary test.
10954 * gdb.trace/ftrace-lock.exp: Likewise.
10955 * gdb.trace/ftrace.exp: Likewise.
10956 * gdb.trace/range-stepping.exp: Likewise.
10957 * gdb.trace/trace-break.exp: Likewise.
10958 * gdb.trace/trace-condition.exp: Likewise.
10959 * gdb.trace/trace-mt.exp: Likewise.
10961 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10963 * lib/gdb.exp (gdb_load_shlibs): Rename to...
10964 (gdb_load_shlib): ... this.
10965 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
10967 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
10968 * gdb.base/ctxobj.exp: Likewise.
10969 * gdb.base/dprintf-pending.exp: Likewise.
10970 * gdb.base/dso2dso.exp: Likewise.
10971 * gdb.base/fixsection.exp: Likewise.
10972 * gdb.base/gcore-relro.exp: Likewise.
10973 * gdb.base/gdb1555.exp: Likewise.
10974 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10975 * gdb.base/gnu-ifunc.exp: Likewise.
10976 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
10977 * gdb.base/jit-so.exp (one_jit_test): Likewise.
10978 * gdb.base/pending.exp: Likewise.
10979 * gdb.base/print-file-var.exp: Likewise.
10980 * gdb.base/print-symbol-loading.exp: Likewise.
10981 * gdb.base/shlib-call.exp: Likewise.
10982 * gdb.base/shreloc.exp: Likewise.
10983 * gdb.base/so-impl-ld.exp: Likewise.
10984 * gdb.base/solib-disc.exp: Likewise.
10985 * gdb.base/solib-nodir.exp: Likewise.
10986 * gdb.base/solib-overlap.exp: Likewise.
10987 * gdb.base/solib-symbol.exp: Likewise.
10988 * gdb.base/solib-weak.exp (do_test): Likewise.
10989 * gdb.base/sym-file.exp: Likewise.
10990 * gdb.base/symtab-search-order.exp: Likewise.
10991 * gdb.base/type-opaque.exp: Likewise.
10992 * gdb.base/unload.exp: Likewise.
10993 * gdb.base/watchpoint-solib.exp: Likewise.
10994 * gdb.compile/compile.exp: Likewise.
10995 * gdb.cp/gdb2384.exp: Likewise.
10996 * gdb.cp/infcall-dlopen.exp: Likewise.
10997 * gdb.cp/re-set-overloaded.exp: Likewise.
10998 * gdb.fortran/library-module.exp: Likewise.
10999 * gdb.opt/solib-intra-step.exp: Likewise.
11000 * gdb.python/py-finish-breakpoint.exp: Likewise.
11001 * gdb.python/py-shared.exp: Likewise.
11002 * gdb.reverse/solib-precsave.exp: Likewise.
11003 * gdb.reverse/solib-reverse.exp: Likewise.
11004 * gdb.server/solib-list.exp: Likewise.
11005 * gdb.threads/dlopen-libpthread.exp: Likewise.
11006 * gdb.threads/tls-shared.exp: Likewise.
11007 * gdb.threads/tls-so_extern.exp: Likewise.
11008 * gdb.trace/change-loc.exp: Likewise.
11009 * gdb.trace/ftrace-lock.exp: Likewise.
11010 * gdb.trace/ftrace.exp: Likewise.
11011 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
11012 * gdb.trace/pending.exp: Likewise.
11013 * gdb.trace/range-stepping.exp: Likewise.
11014 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
11015 (strace_info_marker): Likewise.
11016 (strace_probe_marker): Likewise.
11017 (strace_trace_on_same_addr): Likewise.
11018 (strace_trace_on_diff_addr): Likewise.
11019 * gdb.trace/trace-break.exp: Likewise.
11020 * gdb.trace/trace-condition.exp: Likewise.
11021 * gdb.trace/trace-mt.exp: Likewise.
11023 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
11025 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
11026 result of gdb_remote_download.
11027 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
11028 * gdb.base/dso2dso.exp: Likewise.
11029 * gdb.base/global-var-nested-by-dso.exp: Likewise.
11030 * gdb.base/print-file-var.exp: Likewise.
11031 * gdb.base/shlib-call.exp: Likewise.
11032 * gdb.base/shreloc.exp: Likewise.
11033 * gdb.base/solib-overlap.exp: Likewise.
11034 * gdb.base/solib-weak.exp (do_test): Likewise.
11035 * gdb.base/unload.exp: Likewise.
11037 2016-04-27 Yao Qi <yao.qi@linaro.org>
11039 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
11042 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
11044 * vla-type.exp: Print structure from toplevel.
11046 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
11048 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
11050 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
11053 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
11055 * gdb.fortran/vla-type.f90: New file.
11056 * gdb.fortran/vla-type.exp: New file.
11058 2016-04-25 Yao Qi <yao.qi@linaro.org>
11060 * gdb.base/branch-to-self.c: New file.
11061 * gdb.base/branch-to-self.exp: New file.
11063 2016-04-22 Yao Qi <yao.qi@linaro.org>
11065 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
11068 2016-04-22 Yao Qi <yao.qi@linaro.org>
11070 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
11071 * gdb.base/annota3.exp: Likewise.
11073 2016-04-22 Yao Qi <yao.qi@linaro.org>
11075 * gdb.reverse/step-precsave.exp: Do one step and test program
11076 stops in "callee" and do multiple steps until program goes out
11078 * gdb.reverse/step-reverse.exp: Likewise.
11080 2016-04-22 Yao Qi <yao.qi@linaro.org>
11082 * gdb.trace/signal.exp: Also pass if
11083 $tracepoint_hits($i) > $iterations.
11085 2016-04-22 Yao Qi <yao.qi@linaro.org>
11087 * gdb.trace/signal.c: New file.
11088 * gdb.trace/signal.exp: New file.
11090 2016-04-19 Doug Evans <xdje42@gmail.com>
11092 * gdb.base/bad-file.exp: New file.
11094 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
11096 * gdb.dwarf2/implref.exp: New file.
11098 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
11100 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
11101 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
11102 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
11103 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
11104 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
11105 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
11106 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
11107 * lib/fortran.exp (fortran_int4): New procedure.
11108 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
11109 (fortran_logical4): Likewise.
11111 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
11113 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
11115 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
11117 * lib/compiler.c: Add Intel specific preprocessor macros.
11118 * lib/compiler.cc: Likewise.
11120 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
11122 * gdb.server/connect-with-no-symbol-file.c: New file.
11123 * gdb.server/connect-with-no-symbol-file.exp: New file.
11125 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
11127 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
11129 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
11131 * boards/gdbserver-base.exp (${board}_download): Copy source file to
11132 standard output directory.
11134 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
11136 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
11138 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
11140 * gdb.btrace/instruction_history.c (loop): Add declaration.
11142 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
11144 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
11146 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
11148 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
11149 parentheses to print.
11150 (continue_handler): Likewise.
11152 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
11154 * gdb.server/solib-list.exp: Remove is_remote check.
11155 Pass shlib= to gdb_compile. Don't link shared library with
11156 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
11157 Run binary filename through "readlink -f" on the target.
11159 2016-04-08 Pedro Alves <palves@redhat.com>
11161 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
11162 interpreter filename as argument to gdbserver_spawn.
11163 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
11164 Return empty if $last_loaded_file does not exist.
11166 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11168 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
11169 * gdb.base/jit-main.c: Use exit after usage.
11171 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11173 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
11174 GDBHISTSIZE prior to the tests.
11175 * gdb.base/gdbinit-history.exp: Likewise.
11177 2016-04-07 Pedro Alves <palves@redhat.com>
11179 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
11180 instead of build_executable. Use gdb_load_shlibs.
11182 2016-04-07 Yao Qi <yao.qi@linaro.org>
11184 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
11185 Execute "si" command.
11187 2016-04-07 Yao Qi <yao.qi@linaro.org>
11189 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
11190 number instead of the comments on some line.
11192 2016-04-06 Don Breazeal <donb@codesourcery.com>
11194 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
11195 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
11197 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
11199 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
11200 standard_output_file. Remove unused binfile variable.
11202 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
11204 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
11205 * gdb.python/py-mi-objfile.exp: Match "list main" output
11208 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
11210 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
11213 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
11215 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
11217 * gdb.trace/ftrace.exp: Likewise.
11218 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
11220 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
11221 (gdb_load_shlibs): Copy libraries to test directory when testing
11222 natively. Only set solib-search-path if testing remotely.
11223 * lib/mi-support.exp (mi_load_shlibs): Likewise.
11225 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
11227 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
11228 gdb_download. Use it even if the target is not remote.
11229 * gdb.base/jit.exp (compile_jit_test): Likewise.
11230 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
11231 output directory if the destination board is local, otherwise use
11232 the standard remote_download from DejaGnu.
11233 (gdb_download): Remove.
11234 (gdb_load_shlibs): Use gdb_remote_download instead of
11236 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
11237 Use gdb_remote_download instead of gdb_download. Use it even if
11238 the target is not remote.
11239 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
11240 instead of gdb_download.
11242 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
11244 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
11245 (test_insert_delete_modify): Call mi_load_shlibs before trying to
11248 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
11251 * gdb.base/printcmds.exp: Add artificial arrays tests.
11253 2016-03-31 Pedro Alves <palves@redhat.com>
11256 * gdb.base/jit-main.c: Include unistd.h.
11257 (ATTACH): Define to 0 if not already defined.
11258 (wait_for_gdb, mypid): New globals.
11259 (WAIT_FOR_GDB): New macro.
11260 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
11261 some breakpoint locations.
11262 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
11264 (one_jit_test): Add REATTACH parameter, and handle it. Use
11265 continue_to_test_location.
11266 (top level): Test attach, and adjusts calls to one_jit_test.
11268 2016-03-31 Pedro Alves <palves@redhat.com>
11271 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
11272 BINSUFFIX parameter, and handle it.
11273 (top level): Adjust calls compile_jit_test.
11275 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
11278 * gdb.python/py-mi-events-gdb.py: New file.
11279 * gdb.python/py-mi-events.c: New file.
11280 * gdb.python/py-mi-events.exp: New file.
11282 2016-03-30 Yao Qi <yao.qi@linaro.org>
11284 * gdb.reverse/until-precsave.exp: Match function name only.
11285 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
11286 Move malloc to a condition block.
11287 * gdb.reverse/until-reverse.exp: Match function name only.
11289 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
11291 * gdb.trace/ftrace.exp: Set arg0exp for s390.
11292 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
11293 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
11294 variable for GPR 0 instead of assuming it is register 0.
11295 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
11296 * lib/trace-support.exp: Add s390 registers.
11298 2016-03-29 Yao Qi <yao.qi@linaro.org>
11300 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
11302 2016-03-24 Yao Qi <yao.qi@linaro.org>
11304 * gdb.reverse/break-reverse.exp: Add quotation mark in the
11307 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11309 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
11310 maintaining separate logic for constructing the output path.
11312 2016-03-16 Don Breazeal <donb@codesourcery.com>
11314 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
11315 Retry fork and waitpid on interrupted system call errors.
11316 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11317 Use with_timeout_factor to increase timeout by factor of 10.
11319 2016-03-15 Don Breazeal <donb@codesourcery.com>
11321 * gdb.cp/scope-err.cc: New test program.
11322 * gdb.cp/scope-err.exp: New test script.
11323 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
11324 lines and "set breakpoint here" comment.
11325 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
11326 Fixed some whitespace and format issues.
11327 * gdb.mi/mi-linespec-err-cp.cc: New test program.
11328 * gdb.mi/mi-linespec-err-cp.exp: New test script.
11330 2016-03-15 Doug Evans <dje@google.com>
11332 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
11333 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
11334 All callers updated. Add tests for enums, mixed flags register.
11336 2016-03-15 Doug Evans <dje@google.com>
11338 * gdb.base/skip.c (main): Call test_skip_file_and_function.
11339 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
11341 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
11343 * gdb.base/default.exp: Add $_as_string to the list of expected
11344 convenience functions.
11346 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
11348 * gdb.base/maint.exp: New tests for 'maint info line-table'.
11350 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
11352 * gdb.python/py-as-string.exp: New file.
11353 * gdb.python/py-as-string.c: New file.
11355 2016-03-09 Pedro Alves <palves@redhat.com>
11357 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
11358 signal" -> "Thread NN received signal" output change.
11359 * gdb.threads/ia64-sigill.exp: Likewise.
11360 * gdb.threads/linux-dp.exp: Likewise.
11361 * gdb.threads/manythreads.exp: Likewise.
11362 * gdb.threads/pending-step.exp: Likewise.
11363 * gdb.threads/print-threads.exp: Likewise.
11364 * gdb.threads/sigstep-threads.exp: Likewise.
11365 * gdb.threads/staticthreads.exp: Likewise.
11366 * gdb.threads/tls.exp: Likewise.
11368 2016-03-09 Pedro Alves <palves@redhat.com>
11370 * gdb.base/command-line-input.exp: New file.
11372 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11374 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
11375 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
11376 * gdb.trace/pending.exp: Accept leading dot before function name.
11377 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
11378 * lib/trace-support.exp: Set registers for ppc.
11380 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11382 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
11383 use it for disassembly; accept .main in addition to main in backtrace.
11385 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
11386 Marcin Kościelnicki <koriakin@0x04.net>
11388 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
11389 (gdb_recursion_test_ptr): New global variable.
11390 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
11391 gdb_recursion_test.
11392 (gdb_c_test): Ditto.
11394 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11396 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
11399 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11401 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
11402 (bar): Add bar_start_lbl label.
11403 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
11404 of foo/bar for emitting DWARF and tracing.
11406 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
11408 * analyze-racy-logs.py: Set executable bit.
11410 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
11412 * Makefile.in (DEFAULT_RACY_ITER): New variable.
11413 (CHECK_TARGET_TMP): Likewise.
11414 (check-single-racy): New rule.
11415 (check-parallel-racy): Likewise.
11416 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
11417 (do-check-parallel-racy): New rule.
11418 (check-racy/%.exp): Likewise.
11419 * README (Racy testcases): New section.
11420 * analyze-racy-logs.py: New file.
11422 2016-03-03 Doug Evans <dje@google.com>
11424 * gdb.base/skip.exp: Use with_test_prefix.
11426 2016-03-03 Yao Qi <yao.qi@linaro.org>
11428 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
11429 Invoke step_over_syscall "clone" and break_cond_on_syscall
11431 * gdb.base/step-over-clone.c: New file.
11433 2016-03-03 Yao Qi <yao.qi@linaro.org>
11435 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
11438 2016-03-03 Yao Qi <yao.qi@linaro.org>
11440 * gdb.base/disp-step-fork.c: Rename to ...
11441 * gdb.base/step-over-fork.c: ... it. New file.
11442 * gdb.base/disp-step-vfork.c: Rename to ...
11443 * gdb.base/step-over-vfork.c: ... it. New file.
11444 * gdb.base/disp-step-syscall.exp: Rename to ...
11445 * gdb.base/step-over-syscall.exp: ... it. New file.
11446 (disp_step_cross_syscall): Rename to ...
11447 (step_over_syscall): ... it.
11449 2016-03-03 Yao Qi <yao.qi@linaro.org>
11451 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
11452 If target supports condition evaluation on target, invoke
11453 break_cond_on_syscall for fork and vfork.
11455 2016-03-03 Yao Qi <yao.qi@linaro.org>
11457 * gdb.base/disp-step-syscall.exp: Don't invoke
11458 support_displaced_stepping.
11459 (disp_step_cross_syscall): Test with displaced stepping off and
11462 2016-03-03 Yao Qi <yao.qi@linaro.org>
11464 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
11467 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
11470 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11472 * gdb.fortran/vla-history.exp: Remove breakpoint.
11474 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11476 * gdb.fortran/vla-history.exp: Lookup array elements and printing
11479 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11481 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
11484 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11486 * gdb.mi/vla.f90: Nullify pointer after declaration.
11488 2016-03-01 Pedro Alves <palves@redhat.com>
11490 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
11492 2016-03-01 Pedro Alves <palves@redhat.com>
11494 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
11495 before anything else.
11496 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
11498 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
11499 before anything else.
11500 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
11502 2016-03-01 Pedro Alves <palves@redhat.com>
11504 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
11506 2016-03-01 Yao Qi <yao.qi@linaro.org>
11508 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
11509 prepare_for_testing.
11511 2016-03-01 Yao Qi <yao.qi@linaro.org>
11513 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
11515 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11517 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
11518 manually constructing the output path.
11520 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11522 * gdb.arch/s390-stackless.S: New.
11523 * gdb.arch/s390-stackless.exp: New.
11525 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
11527 * gdb.dlang/circular.c: New file.
11528 * gdb.dlang/circular.exp: New file.
11530 2016-02-26 Yao Qi <yao.qi@linaro.org>
11532 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
11533 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
11534 (testcases): Update.
11536 2016-02-26 Yao Qi <yao.qi@linaro.org>
11538 * gdb.reverse/aarch64.c: Rename to ...
11539 * gdb.reverse/insn-reverse.c: ... it.
11540 * gdb.reverse/aarch64.exp: Rename to ...
11541 * gdb.reverse/insn-reverse.exp: ... it.
11543 2016-02-26 Yao Qi <yao.qi@linaro.org>
11545 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
11546 (testcase_ftype): New.
11547 (testcases): New array.
11548 (n_testcases): New.
11549 (main): Call each element in testcases.
11550 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
11551 (read_testcase): New.
11552 Do the tests in a loop.
11554 2016-02-25 Yao Qi <yao.qi@linaro.org>
11556 * gdb.base/branches.c: Remove.
11558 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11561 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
11563 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11565 * gdb.trace/ftrace.exp: Remove unnecessary target check.
11567 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11569 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
11570 change x86_64 call_insn to 'callq'.
11572 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
11574 * gdb.trace/tfile-avx.c: Move to...
11575 * gdb.trace/tracefile-pseudo-reg.c: Here.
11576 * gdb.trace/tfile-avx.exp: Move to...
11577 * gdb.trace/tracefile-pseudo-reg.exp: Here.
11579 2016-02-24 Gary Benson <gbenson@redhat.com>
11581 * gdb.base/attach-pie-noexec.exp: Do not expect an error
11584 2016-02-23 Doug Evans <dje@google.com>
11586 * gdb.base/skip.c (test_skip): New function.
11587 (end_test_skip_file_and_function): New function.
11588 (test_skip_file_and_function): New function.
11589 * gdb.base/skip1.c (test_skip): New function.
11590 (skip1_test_skip_file_and_function): New function.
11591 * gdb.base/skip.exp: Add tests for new skip options.
11592 * gdb.base/skip-solib.exp: Update expected output.
11593 * gdb.perf/skip-command.cc: New file.
11594 * gdb.perf/skip-command.exp: New file.
11595 * gdb.perf/skip-command.py: New file.
11597 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
11599 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
11600 info registers pattern.
11602 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
11604 * lib/future.exp: Add D support.
11605 (gdb_find_gdc): New proc.
11606 (gdb_default_target_compile): Add D support.
11608 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
11610 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
11612 (trace_speed_test): Determine the iteration count for a time
11613 between 15..30 seconds.
11615 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
11617 * gdb.arch/i386-mpx-sigsegv.c: New file.
11618 * gdb.arch/i386-mpx-sigsegv.exp: New file.
11619 * gdb.arch/i386-mpx-simple_segv.c: New file.
11620 * gdb.arch/i386-mpx-simple_segv.exp: New file.
11622 2016-02-18 Yao Qi <yao.qi@linaro.org>
11624 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
11625 Don't call setup_kfail.
11627 2016-02-18 Yao Qi <yao.qi@linaro.org>
11629 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11630 Set "set breakpoint condition-evaluation" per $cond_bp_target.
11632 2016-02-16 Doug Evans <dje@google.com>
11634 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
11635 * gdb.base/skip1.c: Ditto.
11636 * gdb.base/skip.exp: Whitespace cleanup.
11638 2016-02-16 Don Breazeal <donb@codesourcery.com>
11641 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11642 Remove kfail for PR remote/19496.
11644 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
11646 * lib/gdb.exp (standard_temp_file): Return a path specific to
11647 the runtest invocation.
11649 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
11651 * gdb.trace/save-trace.exp: Change relative path to be in the
11652 standard output directory.
11654 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11656 * gdb.arch/i386-prologue.c: Add missing prototypes.
11658 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11660 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
11661 * gdb.arch/i386-prologue.exp: Likewise.
11662 * gdb.arch/i386-size.exp: Likewise.
11664 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
11666 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
11667 define object file path.
11668 * gdb.btrace/gcore.exp: Use standard_output_file to define core
11670 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
11671 standard_output_file to define binfile.
11673 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11675 Fix compatibility with recent gfortran-5.3.1.
11676 * gdb.fortran/vla-history.exp (print vla1 allocated)
11677 (print vla2 allocated, print $2, print $3): Remove
11678 (print $4): Rename to ...
11679 (print $2): ... here.
11680 (print $9): Rename to ...
11681 (print $5): ... here.
11682 (print $10): Rename to ...
11683 (print $6): ... here.
11684 * gdb.fortran/vla.f90: Add pvla initialization.
11686 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11688 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
11690 * gdb.fortran/vla-value-sub.exp: Likewise.
11692 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
11694 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
11696 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
11698 * i386-biarch-core.exp: Define corefile using
11699 standard_output_file.
11701 2016-02-12 Yao Qi <yao.qi@linaro.org>
11703 * gdb.arch/arm-single-step-kernel-helper.c: New.
11704 * gdb.arch/arm-single-step-kernel-helper.exp: New.
11706 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
11708 * gdb.btrace/tailcall-only.exp: New.
11709 * gdb.btrace/tailcall-only.c: New.
11710 * gdb.btrace/x86_64-tailcall-only.S: New.
11711 * gdb.btrace/i686-tailcall-only.S: New.
11713 2016-02-11 Pedro Alves <palves@redhat.com>
11715 * README (Parallel testing): Add missing double quotes.
11717 2016-02-11 Pedro Alves <palves@redhat.com>
11719 * README (Parallel testing): New section.
11720 (GDB_PARALLEL): Rewrite.
11721 (FORCE_PARALLEL): Document.
11723 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
11725 * gdb.trace/tfile-avx.c: New test.
11726 * gdb.trace/tfile-avx.exp: New test.
11728 2016-02-09 Keith Seitz <keiths@redhat.com>
11730 PR breakpoints/19546
11731 * gdb.base/infcall-exec.c: New file.
11732 * gdb.base/infcall-exec2.c: New file.
11733 * gdb.base/infcall-exec.exp: New file.
11735 2016-02-09 Keith Seitz <keiths@redhat.com>
11737 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
11738 (toplevel): Call test_bkpt_address.
11740 2016-02-09 Keith Seitz <keiths@redhat.com>
11743 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
11744 (toplevel): Call test_bkpt_address.
11746 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
11748 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
11750 * configure: Regenerate.
11752 2016-02-09 Pedro Alves <palves@redhat.com>
11754 PR breakpoints/19548
11755 * gdb.base/execl-update-breakpoints.c (some_function): New
11758 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
11759 Tighten expected GDB output.
11761 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11763 * Makefile.in (ALL_SUBDIRS): Remove.
11764 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
11765 (distclean maintainer-clean realclean): Likewise.
11766 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
11767 * configure: Regenerate.
11768 * gdb.ada/Makefile.in: Delete.
11769 * gdb.arch/Makefile.in: Likewise.
11770 * gdb.asm/Makefile.in: Likewise.
11771 * gdb.base/Makefile.in: Likewise.
11772 * gdb.btrace/Makefile.in: Likewise.
11773 * gdb.cell/Makefile.in: Likewise.
11774 * gdb.compile/Makefile.in: Likewise.
11775 * gdb.cp/Makefile.in: Likewise.
11776 * gdb.disasm/Makefile.in: Likewise.
11777 * gdb.dlang/Makefile.in: Likewise.
11778 * gdb.dwarf2/Makefile.in: Likewise.
11779 * gdb.fortran/Makefile.in: Likewise.
11780 * gdb.gdb/Makefile.in: Likewise.
11781 * gdb.go/Makefile.in: Likewise.
11782 * gdb.guile/Makefile.in: Likewise.
11783 * gdb.java/Makefile.in: Likewise.
11784 * gdb.linespec/Makefile.in: Likewise.
11785 * gdb.mi/Makefile.in: Likewise.
11786 * gdb.modula2/Makefile.in: Likewise.
11787 * gdb.multi/Makefile.in: Likewise.
11788 * gdb.objc/Makefile.in: Likewise.
11789 * gdb.opencl/Makefile.in: Likewise.
11790 * gdb.opt/Makefile.in: Likewise.
11791 * gdb.pascal/Makefile.in: Likewise.
11792 * gdb.perf/Makefile.in: Likewise.
11793 * gdb.python/Makefile.in: Likewise.
11794 * gdb.reverse/Makefile.in: Likewise.
11795 * gdb.server/Makefile.in: Likewise.
11796 * gdb.stabs/Makefile.in: Likewise.
11797 * gdb.threads/Makefile.in: Likewise.
11798 * gdb.trace/Makefile.in: Likewise.
11799 * gdb.xml/Makefile.in: Likewise.
11800 * lib/gdb.exp (make_gdb_parallel_path): Add check for
11802 (standard_output_file): Remove check for GDB_PARALLEL, always
11803 return path in outputs/$subdir/$testname.
11805 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11807 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
11808 (site.exp): Assign abs_srcdir to tcl's srcdir.
11810 2016-02-04 Yao Qi <yao.qi@linaro.org>
11812 * gdb.base/foll-exec-mode.c: Include limits.h.
11813 (main): Add parameters argc and argv. Get directory from
11815 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
11817 * gdb.base/foll-exec.c: Include limits.h.
11818 (main): Add parameters argc and argv.
11819 Get directory from argv[0].
11820 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
11821 Adjust tests on the number of lines as source code changed.
11822 * gdb.base/foll-vfork-exit.c: Include limits.h.
11823 (main): Add one line of statement before vfork.
11824 * gdb.base/foll-vfork.c: Include limits.h and string.h.
11825 (main): Add parameters argc and argv. Get directory from
11827 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
11828 (setup_gdb): Set tbreak to skip some source lines.
11829 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
11830 (main): Add parameters argc and argv. Get directory from
11832 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
11834 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
11835 (main): Add parameters argc and argv. Get directory from
11837 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
11840 2016-02-01 Doug Evans <dje@google.com>
11842 * gdb.base/skip.exp: Clean up multiple references to same test name.
11844 2016-02-01 Pedro Alves <palves@redhat.com>
11847 * gdb.threads/forking-threads-plus-breakpoint.exp
11848 (displaced_stepping_supported): New global.
11849 (probe_displaced_stepping_support): New procedure.
11850 (do_test): Add 'displaced' parameter, and use it.
11851 (top level): Check for displaced stepping support. Add displaced
11852 stepping on/off testing axis.
11854 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11856 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
11857 pointer. Don't perform further tests on the unassociated pointer
11858 if the first test fails.
11860 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11862 * gdb.base/max-value-size.c: New file.
11863 * gdb.base/max-value-size.exp: New file.
11864 * gdb.base/huge.exp: Disable max-value-size for this test.
11866 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
11868 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
11870 2016-01-28 Yao Qi <yao.qi@linaro.org>
11872 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
11874 2016-01-25 Pedro Alves <palves@redhat.com>
11877 * gdb.base/fork-running-state.c: New file.
11878 * gdb.base/fork-running-state.exp: New file.
11880 2016-01-25 Pedro Alves <palves@redhat.com>
11883 * gdb.base/catch-fork-kill.c: New file.
11884 * gdb.base/catch-fork-kill.exp: New file.
11886 2016-01-25 Pedro Alves <palves@redhat.com>
11888 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
11889 Delete, moved to lib/gdb.exp.
11890 * gdb.threads/forking-threads-plus-breakpoint.exp
11891 (foreach_with_prefix): Likewise.
11892 * gdb.threads/process-dies-while-handling-bp.exp
11893 (foreach_with_prefix): Likewise.
11894 * lib/gdb.exp (foreach_with_prefix): New procedure.
11896 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
11898 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
11899 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
11901 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
11903 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
11906 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11907 Pedro Alves <palves@redhat.com>
11909 Fix testsuite compatibility with Guile.
11910 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
11913 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11915 Fix testsuite compatibility with Guile.
11916 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
11917 (thread 1): New test for backtrace through signal handler.
11919 2016-01-22 Yao Qi <yao.qi@linaro.org>
11922 * gdb.base/multi-forks.c: Include
11923 ../lib/unbuffer_output.c
11924 (main): Call gdb_unbuffer_output.
11926 2016-01-21 Doug Evans <dje@google.com>
11928 * lib/ada.exp (gdb_compile_ada): Fix typo.
11930 2016-01-21 Joel Brobecker <brobecker@adacore.com>
11932 * gdb.base/break-fun-addr.exp: New file.
11933 * gdb.base/break-fun-addr1.c: New file.
11934 * gdb.base/break-fun-addr2.c: New file.
11936 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
11938 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
11939 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
11942 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11944 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
11945 when GDB can not set the vector return value. Add more comments
11948 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
11950 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
11953 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11955 * Makefile.in (DO_RUNTEST): Add --status and update usages.
11957 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11959 * Makefile.in (check-single): Pass --status to runtest.
11960 (check/%.exp): Likewise.
11962 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11964 * Makefile.in (check-parallel): Propagate return code from make
11967 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
11969 * gdb.trace/ftrace.exp: Fix expected message on continue.
11970 * gdb.trace/pending.exp: Fix expected message on continue.
11971 * gdb.trace/trace-break.exp: Fix expected message on continue.
11973 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
11975 * lib/gdb.exp (gdb_test): Remove unused global references.
11977 2016-01-18 Pedro Alves <palves@redhat.com>
11979 * gdb.base/async-shell.exp: Adjust expected output.
11980 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
11981 * gdb.base/siginfo-thread.exp: Adjust expected output.
11982 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
11983 * gdb.java/jnpe.exp: Adjust expected output.
11984 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
11985 * gdb.threads/continue-pending-status.exp: Adjust expected output.
11986 * gdb.threads/leader-exit.exp: Adjust expected output.
11987 * gdb.threads/manythreads.exp: Adjust expected output.
11988 * gdb.threads/pthreads.exp: Adjust expected output.
11989 * gdb.threads/schedlock.exp: Adjust expected output.
11990 * gdb.threads/siginfo-threads.exp: Adjust expected output.
11991 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
11993 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
11995 * gdb.threads/sigthread.exp: Adjust expected output.
11996 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
11998 2016-01-18 Yao Qi <yao.qi@linaro.org>
12000 * gdb.guile/scm-section-script.c: Replace @progbits with
12002 * gdb.python/py-section-script.c: Likewise.
12004 2016-01-15 Pedro Alves <palves@redhat.com>
12006 * gdb.multi/tids.exp: Test star wildcard ranges.
12008 2016-01-15 Pedro Alves <palves@redhat.com>
12010 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
12011 command from "thread apply" invocation.
12012 (thr_apply_info_thr_invalid): Default the expected output to the
12014 (top level): Add tests that use convenience variables. Add tests
12015 for "thread apply" with a valid TID list, but missing the command.
12017 2016-01-13 Pedro Alves <palves@redhat.com>
12019 * gdb.base/default.exp: Expect $_gthread as well.
12020 * gdb.multi/tids.exp: Test $_gthread.
12021 * gdb.threads/thread-specific.exp: Test $_gthread.
12023 2016-01-13 Pedro Alves <palves@redhat.com>
12025 * gdb.multi/tids.exp: Test "info threads -gid".
12027 2016-01-13 Pedro Alves <palves@redhat.com>
12029 * gdb.multi/tids.exp: Test InferiorThread.global_num and
12031 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
12033 2016-01-07 Pedro Alves <palves@redhat.com>
12035 * gdb.base/break.exp: Adjust to output changes.
12036 * gdb.base/hbreak2.exp: Likewise.
12037 * gdb.base/sepdebug.exp: Likewise.
12038 * gdb.base/watch_thread_num.exp: Likewise.
12039 * gdb.linespec/keywords.exp: Likewise.
12040 * gdb.multi/info-threads.exp: Likewise.
12041 * gdb.threads/thread-find.exp: Likewise.
12042 * gdb.multi/tids.c: New file.
12043 * gdb.multi/tids.exp: New file.
12045 2016-01-13 Pedro Alves <palves@redhat.com>
12047 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
12049 2016-01-13 Pedro Alves <palves@redhat.com>
12051 * gdb.base/default.exp: Expect $_inferior as well.
12052 * gdb.multi/base.exp: Test $_inferior.
12054 2016-01-13 Pedro Alves <palves@redhat.com>
12056 PR breakpoints/19388
12057 * gdb.base/catch-signal-siginfo-cond.c: New file.
12058 * gdb.base/catch-signal-siginfo-cond.exp: New file.
12060 2016-01-12 Josh Stone <jistone@redhat.com>
12061 Philippe Waroquiers <philippe.waroquiers@skynet.be>
12063 * gdb.base/catch-syscall.c (do_execve): New variable.
12064 (main): Conditionally trigger an execve.
12065 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
12066 (test_catch_syscall_execve): New, check entry/return across execve.
12067 (do_syscall_tests): Call test_catch_syscall_execve.
12069 2016-01-12 Pedro Alves <palves@redhat.com>
12071 * gdb.base/random-signal.exp (do_test): New procedure, with body
12072 of testcase moved in.
12074 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12075 Pedro Alves <palves@redhat.com>
12077 * gdb.base/funcargs.exp (finish from indirectly called function):
12078 Reintroduce the case for 'First'.
12080 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12081 Pedro Alves <palves@redhat.com>
12083 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
12084 (tcatch_vfork_then_child_follow_exec)
12085 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
12088 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12090 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
12091 and repeats to unlimited.
12092 * gdb.python/py-value.exp: Likewise.
12093 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
12094 and repeats to unlimited.
12096 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12098 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
12099 and reordering the functions.
12100 * gdb.multi/hangout.c: Likewise.
12101 * gdb.multi/hello.c: Likewise.
12103 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
12105 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
12107 (SingleStatisticTestResult.report): Use dict.keys instead of
12110 2016-01-06 Pedro Alves <palves@redhat.com>
12112 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
12114 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
12116 * gdb.btrace/dlopen.exp: New.
12117 * gdb.btrace/dlopen.c: New.
12118 * gdb.btrace/dlopen-dso.c: New.
12120 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
12122 * lib/gdb.exp (gdb_test): Update comments to clarify that the
12123 PATTERN argument is optional.
12125 2015-12-24 Joel Brobecker <brobecker@adacore.com>
12127 * lib/ada.exp (target_compile_ada_from_dir): New function.
12128 (gdb_compile_ada): Reimplement avoiding the use of project files.
12129 * gdb.ada/gnat_ada.gpr: Delete.
12130 * gdb.ada/cond_lang.exp: Adjust test to make path before
12132 * gdb.ada/small_reg_param.exp: Likewise.
12134 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
12136 * gdb.base/foll-vork.exp: Remove HP-UX special case.
12138 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
12140 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
12143 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
12145 * gdb.base/break.exp: Remove dead code.
12146 * gdb.base/sepdebug.exp: Likewise.
12148 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
12150 * gdb.asm/asm-source.exp: Remove HP-UX references.
12151 * gdb.base/annota1.exp: Likewise.
12152 * gdb.base/annota3.exp: Likewise.
12153 * gdb.base/attach.exp: Likewise.
12154 * gdb.base/bigcore.exp: Likewise.
12155 * gdb.base/break.exp: Likewise.
12156 * gdb.base/call-ar-st.exp: Likewise.
12157 * gdb.base/callfuncs.exp: Likewise.
12158 * gdb.base/catch-fork-static.exp: Likewise.
12159 * gdb.base/display.exp: Likewise.
12160 * gdb.base/foll-exec-mode.exp: Likewise.
12161 * gdb.base/foll-exec.exp: Likewise.
12162 * gdb.base/foll-fork.exp: Likewise.
12163 * gdb.base/foll-vfork.exp: Likewise.
12164 * gdb.base/funcargs.exp: Likewise.
12165 * gdb.base/hbreak2.exp: Likewise.
12166 * gdb.base/inferior-died.exp: Likewise.
12167 * gdb.base/interrupt.exp: Likewise.
12168 * gdb.base/multi-forks.exp: Likewise.
12169 * gdb.base/nodebug.exp: Likewise.
12170 * gdb.base/sepdebug.exp: Likewise.
12171 * gdb.base/solib1.c: Likewise.
12172 * gdb.base/step-test.exp: Likewise.
12173 * gdb.mi/non-stop.c: Likewise.
12174 * gdb.mi/pthreads.c: Likewise.
12175 * gdb.multi/bkpt-multi-exec.ex: Likewise.
12176 * gdb.threads/pthreads.c: Likewise.
12177 * gdb.threads/staticthreads.exp: Likewise.
12178 * lib/future.exp: Likewise.
12179 * lib/gdb.exp: Likewise.
12180 * gdb.base/so-indr-cl.c: Remove.
12181 * gdb.base/so-indr-cl.exp: Likewise.
12182 * gdb.base/solib.c: Likewise.
12183 * gdb.base/solib.exp: Likewise.
12184 * gdb.base/solib2.c: Likewise.
12186 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
12188 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
12189 * gdb.base/call-ar-st.exp: Likewise.
12190 * gdb.base/callfuncs.exp: Likewise.
12191 * gdb.base/condbreak.exp: Likewise.
12192 * gdb.base/constvars.exp: Likewise.
12193 * gdb.base/hbreak2.exp: Likewise.
12194 * gdb.base/langs.exp: Likewise.
12195 * gdb.base/list.exp: Likewise.
12196 * gdb.base/long_long.exp: Likewise.
12197 * gdb.base/ptype.exp: Likewise.
12198 * gdb.base/scope.exp: Likewise.
12199 * gdb.base/signals.exp: Likewise.
12200 * gdb.base/so-impl-ld.exp: Likewise.
12201 * gdb.base/varargs.exp: Likewise.
12202 * gdb.base/volatile.exp: Likewise.
12203 * gdb.base/whatis.exp: Likewise.
12204 * gdb.cp/cplusfuncs.exp: Likewise.
12205 * gdb.cp/inherit.exp: Likewise.
12206 * gdb.cp/local.exp: Likewise.
12207 * gdb.cp/member-ptr.exp: Likewise.
12208 * gdb.cp/method.exp: Likewise.
12209 * gdb.cp/overload.exp: Likewise.
12210 * gdb.cp/templates.exp: Likewise.
12211 * gdb.stabs/weird.exp: Likewise.
12212 * lib/compiler.c: Likewise.
12213 * lib/compiler.cc: Likewise.
12214 * lib/cp-support.exp: Likewise.
12215 * lib/gdb.exp: Likewise.
12217 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
12219 * configure.ac: Remove HP-UX case.
12220 * configure: Regenerate.
12222 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
12224 * lib/gdb.exp (gdb_compile): Add function doc.
12226 2015-12-17 Pedro Alves <palves@redhat.com>
12229 * gdb.multi/info-threads.exp: New file.
12231 2015-12-15 Yao Qi <yao.qi@linaro.org>
12233 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
12236 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12238 * gdb.base/history-duplicates.exp: Skip if no readline support.
12240 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12242 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
12244 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12246 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
12248 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12250 * gdb.base/completion.exp: Skip tests that interrupt GDB with
12251 ctrl-C if nointerrupts target property is set.
12252 * gdb.base/double-prompt-target-event-error.exp: Likewise.
12253 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
12254 * gdb.base/paginate-bg-execution.exp: Likewise.
12255 * gdb.base/paginate-execution-startup.exp: Likewise.
12256 * gdb.base/random-signal.exp: Likewise.
12257 * gdb.base/range-stepping.exp: Likewise.
12258 * gdb.cp/annota2.exp: Likewise.
12259 * gdb.cp/annota3.exp: Likewise.
12260 * gdb.gdb/selftest.exp: Likewise.
12261 * gdb.threads/continue-pending-status.exp: Likewise.
12262 * gdb.threads/leader-exit.exp: Likewise.
12263 * gdb.threads/manythreads.exp: Likewise.
12264 * gdb.threads/pthreads.exp: Likewise.
12265 * gdb.threads/schedlock.exp: Likewise.
12266 * gdb.threads/sigthread.exp: Likewise.
12268 2015-12-11 Don Breazeal <donb@codesourcery.com>
12270 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
12272 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
12273 * gdb.base/foll-exec.exp (main): Enable for target remote.
12274 * gdb.base/foll-fork.exp (main): Likewise.
12275 * gdb.base/foll-vfork.exp (main): Likewise.
12276 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
12277 (proc continue_to_exit_bp_loc): Use clean_restart.
12278 * gdb.base/pie-execl.exp (main): Disable for target remote.
12279 * gdb.base/watch-vfork.exp (main): Enable for target remote.
12280 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
12281 * gdb.threads/execl.exp (main): Likewise.
12282 * gdb.threads/fork-child-threads.exp (main): Likewise.
12283 * gdb.threads/fork-plus-threads.exp (main): Disable for target
12285 * gdb.threads/fork-thread-pending.exp (main): Enable for target
12287 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
12288 pid.tid style ptids, instead of just tid.
12289 * gdb.threads/thread-execl.exp (main): Enable for target remote.
12290 * gdb.threads/watchpoint-fork.exp (main): Likewise.
12291 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
12292 ptids, instead of just tid.
12294 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12296 * gdb.base/list.exp (test_list_forward): Add end of file error
12298 (test_repeat_list_command): Add end of file error test.
12299 (test_list_backwards): Add beginning of file error test.
12301 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12303 * gdb.base/list.exp (test_list_invalid_args): New function,
12304 defined, and called.
12306 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12308 * gdb.base/list.exp (test_list): Make test names unique.
12310 2015-12-11 Yao Qi <yao.qi@linaro.org>
12312 * gdb.base/coremaker2.c: Remove.
12314 2015-12-10 Pedro Alves <palves@redhat.com>
12316 * gdb.multi/base.exp: Remove stale "spaces" references.
12318 2015-12-10 Pedro Alves <palves@redhat.com>
12320 * gdb.multi/base.exp: Don't use nowarnings.
12321 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
12322 * gdb.multi/hangout.c: Include stdio.h.
12323 * gdb.multi/hello.c: Include stdlib.h.
12324 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
12325 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
12326 * gdb.multi/multi-arch.exp: Don't use nowarnings.
12328 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
12330 * gdb.dwarf2/dw2-ranges-base.c: New file.
12331 * gdb.dwarf2/dw2-ranges-base.exp: New file.
12332 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
12333 support additional line table, and debug ranges generation.
12334 (Dwarf::ranges): New function, generate .debug_ranges.
12335 (Dwarf::lines): Support generating simple line table programs.
12336 (Dwarf::assemble): Initialise new namespace variables.
12338 2015-12-09 Kevin Buettner <kevinb@redhat.com>
12340 * gdb.base/async.exp (proc test_background): Add case for
12341 asynchronous execution not supported.
12343 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
12345 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
12346 format and change test names to make them unique.
12348 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
12349 Pedro Alves <pedro@redhat.com>
12352 Add checking of floatformats setup on x86_64 hosts.
12353 * gdb.arch/i386-float.S (main): Load bigval and smallval.
12354 (smallval, bigval): New labels/constants.
12355 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
12356 float" after loading bigval and smallval.
12358 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
12360 * gdb.ada/fun_overload_menu.exp: New testcase.
12361 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
12363 2015-12-04 Josh Stone <jistone@redhat.com>
12365 * gdb.base/catch-fork-static.exp: New.
12367 2015-12-03 Yao Qi <yao.qi@linaro.org>
12369 * gdb.base/sizeof.c: Don't include stdio.h and
12370 ../lib/unbuffer_output.c.
12371 (main): New variable 'size' and 'value'. Remove printf and
12372 gdb_unbuffer_output. Assign return value to size and value.
12373 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
12375 (check_sizeof): Check the result by printing variable 'size'.
12376 (check_valueof): Check the result by printing variable 'value'.
12378 2015-12-01 Yao Qi <yao.qi@linaro.org>
12380 * gdb.base/disp-step-syscall.exp: Define syscall instruction
12381 for aarch64*-*-linux* target.
12383 2015-11-30 Pedro Alves <palves@redhat.com>
12385 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
12387 2015-11-30 Pedro Alves <palves@redhat.com>
12389 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
12390 Handle non-stop mode vCont replies.
12392 2015-11-30 Pedro Alves <palves@redhat.com>
12394 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
12395 prepare_for_testing. Start gdb with "set non-stop on" appended to
12396 GDBFLAGS. Lax expected stop output.
12398 2015-11-27 Yao Qi <yao.qi@linaro.org>
12400 * gdb.arch/arm-neon.exp: New.
12401 * gdb.arch/arm-neon.c: New.
12403 2015-11-27 Yao Qi <yao.qi@linaro.org>
12405 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
12407 2015-11-27 Yao Qi <yao.qi@linaro.org>
12409 * gdb.cp/annota2.exp: Allow multiple occurrences of the
12410 frames-invalid annotation.
12412 2015-11-27 Yao Qi <yao.qi@linaro.org>
12414 * gdb.cp/annota2.exp: Use ${frames_invalid}.
12416 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
12418 * gdb.threads/names.exp: New file.
12419 * gdb.threads/names.c: New file.
12420 * README: Mention gdb,no_thread_names.
12422 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
12425 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
12428 2015-11-24 Pedro Alves <palves@redhat.com>
12431 * gdb.base/display.exp: Expect displays to be sorted in ascending
12432 order. Use multi_line.
12433 * gdb.base/solib-display.exp: Likewise.
12435 2015-11-24 Pedro Alves <palves@redhat.com>
12438 * gdb.base/display.exp: Expect displays to be sorted in ascending
12439 order. Use multi_line.
12440 * gdb.base/solib-display.exp: Likewise.
12442 2015-11-24 Pedro Alves <palves@redhat.com>
12445 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
12446 threads in ascending order.
12447 * gdb.base/foll-fork.exp: Likewise.
12448 * gdb.base/foll-vfork.exp: Likewise.
12449 * gdb.base/multi-forks.exp: Likewise.
12450 * gdb.mi/mi-nonstop.exp: Likewise.
12451 * gdb.mi/mi-nsintrall.exp: Likewise.
12452 * gdb.multi/base.exp: Likewise.
12453 * gdb.multi/multi-arch.exp: Likewise.
12454 * gdb.python/py-inferior.exp: Likewise.
12455 * gdb.threads/break-while-running.exp: Likewise.
12456 * gdb.threads/execl.exp: Likewise.
12457 * gdb.threads/gcore-thread.exp: Likewise.
12458 * gdb.threads/info-threads-cur-sal.exp: Likewise.
12459 * gdb.threads/kill.exp: Likewise.
12460 * gdb.threads/linux-dp.exp: Likewise.
12461 * gdb.threads/multiple-step-overs.exp: Likewise.
12462 * gdb.threads/next-bp-other-thread.exp: Likewise.
12463 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
12464 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
12465 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
12466 * gdb.threads/thread-find.exp: Likewise.
12467 * gdb.threads/tls.exp: Likewise.
12468 * lib/mi-support.exp (mi_reverse_list): Delete.
12469 (mi_check_thread_states): No longer reverse list.
12471 2015-11-24 Pedro Alves <palves@redhat.com>
12473 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
12476 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
12478 * gdb.trace/actions.c: Include trace-common.h.
12479 (main): Add a location for a fast tracepoint.
12480 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
12481 the normal tracepoints.
12482 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
12484 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
12486 * save-trace.exp: Factor out code to these...
12487 (gdb_save_tracepoints): New.
12488 (gdb_load_tracepoints): New.
12489 (do_save_load_test): New.
12491 2015-11-23 Kevin Buettner <kevinb@redhat.com>
12493 * gdb.base/asmlabel.exp: New test.
12494 * gdb.base/asmlabel.c: New test case.
12496 2015-11-23 Joel Brobecker <brobecker@adacore.com>
12498 * gdb.base/wrong_frame_bt_full-main.c: New file.
12499 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
12500 * gdb.base/wrong_frame_bt_full.exp: New file.
12502 2015-11-23 Joel Brobecker <brobecker@adacore.com>
12504 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
12506 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
12508 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
12509 pstate register when comparing registers values in
12510 sparc64-*-linux-gnu targets to avoid spurious differences.
12512 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
12514 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
12516 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
12518 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
12519 as type argument to gdb_compile.
12520 * gdb.base/nested-subp2.exp: Likewise.
12521 * gdb.base/nested-subp3.exp: Likewise.
12523 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
12525 * lib/dwarf.exp (_note): Fix left shift of negative value.
12526 * gdb.trace/trace-condition.exp: Likewise.
12528 2015-11-13 Yao Qi <yao.qi@linaro.org>
12530 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
12531 comments about d10v.
12532 (test_scalar_returns): Likewise.
12533 * gdb.base/d10v.ld: Remove.
12534 * gdb.base/overlays.exp: Remove the target triplet checking for
12536 * gdb.base/structs.exp (test_struct_returns): Remove the
12537 comments about d10v.
12538 (test_struct_calls): Likewise.
12540 2015-11-13 Yao Qi <yao.qi@linaro.org>
12542 * gdb.base/gnu_vector.exp: Check the return value by "p res".
12543 * gdb.base/gnu_vector.c: Don't include stdio.h.
12544 (main): Don't print res and call add_some_intvecs.
12546 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
12548 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
12551 (func4): Use FAST_TRACEPOINT_LABEL.
12552 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
12555 (thread_function): Use FAST_TRACEPOINT_LABEL.
12556 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
12558 (marker): Use FAST_TRACEPOINT_LABEL.
12559 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
12560 (pendfunc1): Remove.
12561 (pendfunc): Use FAST_TRACEPOINT_LABEL.
12562 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
12564 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
12565 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
12568 (marker): Use FAST_TRACEPOINT_LABEL.
12569 * gdb.trace/trace-common.h: New header.
12570 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
12573 (marker): Use FAST_TRACEPOINT_LABEL.
12574 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
12576 (thread_function): Use FAST_TRACEPOINT_LABEL.
12578 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
12580 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
12582 * gdb.trace/change-loc.exp: Use global pcreg definition.
12583 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
12584 * gdb.trace/entry-values.exp: Use global spreg definition, add $
12586 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
12587 * gdb.trace/pending.exp: Likewise.
12588 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
12589 * gdb.trace/trace-break.exp: Likewise.
12590 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
12592 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
12593 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
12595 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
12597 2015-11-09 Joel Brobecker <brobecker@adacore.com>
12599 * gdb.ada/fin_fun_out: New testcase.
12601 2015-11-07 Kevin Buettner <kevinb@redhat.com>
12603 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
12604 value associated with DW_AT_byte_size.
12605 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
12606 constants for DW_AT_byte_size, DW_AT_lower_bound, and
12609 2015-11-07 Kevin Buettner <kevinb@redhat.com>
12611 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
12612 (gdb_target_symbol_prefix_flags): Define in terms of _asm
12614 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
12615 gdb.dwarf2/dw2-canonicalize-type.exp,
12616 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
12617 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
12618 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
12619 provided by gdb_target_symbol_prefix_flags_asm.
12620 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
12621 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
12622 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
12623 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
12624 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
12625 macros where needed). Use this macro for symbols which require
12626 the prefix provided by SYMBOL_PREFIX.
12628 2015-11-05 Kevin Buettner <kevinb@redhat.com>
12630 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
12632 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
12633 representing expressions, of more than one list element.
12634 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
12635 to prepend linker symbol prefix to f.
12636 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
12637 table_1 and table_2.
12638 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
12639 Likewise, for f and g.
12640 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
12642 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
12644 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
12645 table_1_ptr and table_2_ptr.
12647 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12648 Joel Brobecker <brobecker@adacore.com>
12650 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
12652 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
12654 * gdb.reverse/s390-mvcle.c: New test.
12655 * gdb.reverse/s390-mvcle.exp: New file.
12656 * lib/gdb.exp: Enable reverse tests on s390*-linux.
12658 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
12660 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
12662 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
12664 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
12666 * gdb.reverse/getresuid-reverse.exp: Likewise.
12667 * gdb.reverse/pipe-reverse.exp: Likewise.
12668 * gdb.reverse/readv-reverse.exp: Likewise.
12669 * gdb.reverse/recvmsg-reverse.exp: Likewise.
12670 * gdb.reverse/time-reverse.exp: Likewise.
12671 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
12673 2015-10-30 Yao Qi <yao.qi@linaro.org>
12675 * gdb.threads/wp-replication.c (watch_count_done): Remove.
12676 (empty_cycle): Remove.
12677 (main): Don't call empty_cycle. Don't use watch_count_done.
12678 * gdb.threads/wp-replication.exp: Don't set breakpoint on
12679 empty_cycle. Rewrite the code counting HW watchpoints.
12681 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
12683 * gdb.reverse/fstatat-reverse.c: New test.
12684 * gdb.reverse/fstatat-reverse.exp: New file.
12685 * gdb.reverse/getresuid-reverse.c: New test.
12686 * gdb.reverse/getresuid-reverse.exp: New file.
12687 * gdb.reverse/pipe-reverse.c: New test.
12688 * gdb.reverse/pipe-reverse.exp: New file.
12689 * gdb.reverse/readv-reverse.c: New test.
12690 * gdb.reverse/readv-reverse.exp: New file.
12691 * gdb.reverse/recvmsg-reverse.c: New test.
12692 * gdb.reverse/recvmsg-reverse.exp: New file.
12693 * gdb.reverse/time-reverse.c: New test.
12694 * gdb.reverse/time-reverse.exp: New file.
12695 * gdb.reverse/waitpid-reverse.c: New test.
12696 * gdb.reverse/waitpid-reverse.exp: New file.
12698 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12700 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
12702 2015-10-26 Doug Evans <dje@google.com>
12705 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
12706 * gdb.dwarf2/bad-regnum.c: New file.
12707 * gdb.dwarf2/bad-regnum.exp: New file.
12709 2015-10-26 Doug Evans <dje@google.com>
12712 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
12715 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12717 * gdb.compile/compile.exp (compile code globalvar): Update expectation
12718 for a change by "Mention language in compile error message".
12720 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
12723 * gdb.python/py-type.c (C::a_method): New.
12724 (C::a_const_method): New.
12725 (C::a_static_method): New.
12727 * gdb.python/py-type.exp (test_fields): Test getting fields
12728 from function and method.
12730 2015-10-21 Keven Boell <keven.boell@intel.com>
12732 * gdb.fortran/vla-alloc-assoc.exp: New file.
12733 * gdb.fortran/vla-datatypes.exp: New file.
12734 * gdb.fortran/vla-datatypes.f90: New file.
12735 * gdb.fortran/vla-history.exp: New file.
12736 * gdb.fortran/vla-ptype-sub.exp: New file.
12737 * gdb.fortran/vla-ptype.exp: New file.
12738 * gdb.fortran/vla-sizeof.exp: New file.
12739 * gdb.fortran/vla-sub.f90: New file.
12740 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
12741 * gdb.fortran/vla-value-sub-finish.exp: New file.
12742 * gdb.fortran/vla-value-sub.exp: New file.
12743 * gdb.fortran/vla-value.exp: New file.
12744 * gdb.fortran/vla-ptr-info.exp: New file.
12745 * gdb.mi/mi-vla-fortran.exp: New file.
12746 * gdb.mi/vla.f90: New file.
12748 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
12750 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
12751 of hardwired timeout value.
12753 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12754 Pedro Alves <palves@redhat.com>
12756 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
12757 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
12759 2015-10-19 Josh Stone <jistone@redhat.com>
12761 * gdb.base/catch-syscall.c: Include <sched.h>.
12762 (unknown_syscall): New variable.
12763 (main): Trigger a vfork and an unknown syscall.
12764 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
12765 (unknown_syscall_number): Likewise.
12766 (check_call_to_syscall): Accept an optional syscall pattern.
12767 (check_return_from_syscall): Likewise.
12768 (check_continue): Likewise.
12769 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
12770 (test_catch_syscall_skipping_return): New test toggling off 'catch
12771 syscall' to step over the syscall return, then toggling back on.
12772 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
12773 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
12774 (do_syscall_tests): Call test_catch_syscall_without_args and
12775 test_catch_syscall_mid_vfork.
12776 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
12777 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
12779 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
12781 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
12782 print g_vE): Add new pass patterns.
12783 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
12784 print various symbol names for vptr fields.
12786 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
12788 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
12791 2015-10-12 Yao Qi <yao.qi@linaro.org>
12793 * gdb.arch/disp-step-insn-reloc.exp: New test case.
12795 2015-10-12 Yao Qi <yao.qi@linaro.org>
12797 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
12798 is aarch64*-*-linux*.
12800 2015-10-12 Yao Qi <yao.qi@linaro.org>
12802 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
12803 (can_relocate_bcond_true): ... it.
12804 (can_relocate_bcond_false): New function.
12806 (can_relocate_bl): Likewise.
12807 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
12810 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
12812 * gdb.base/nested-addr.c: New file.
12813 * gdb.base/nested-addr.exp: New testcase.
12815 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
12817 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
12818 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
12819 its output. Ignore the output of "record goto begin" and instead
12820 check that GDB is replaying.
12822 2015-10-09 Pedro Alves <palves@redhat.com>
12824 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
12825 (top level): Use it in the run with no args test.
12827 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
12829 * gdb.dlang/properties.exp: New file.
12831 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
12833 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
12834 whether or not address 0x1000 is mapped on the target.
12836 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
12838 * gdb.python/py-type.exp: Do not run tests if binaries fail to
12841 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
12843 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
12844 instruction-history test.
12846 2015-09-28 Doug Evans <dje@google.com>
12848 * gdb.base/gcore.c (array_func): Add reference to static_array.
12850 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
12852 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
12855 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
12857 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
12858 short or char as base type.
12860 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
12862 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
12863 to allow any size enum.
12865 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
12867 * gdb.ada/array_ptr_renaming.exp: New testcase.
12868 * gdb.ada/array_ptr_renaming/foo.adb: New file.
12869 * gdb.ada/array_ptr_renaming/pack.ads: New file.
12871 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12873 * gdb.trace/ftrace-lock.c: New file.
12874 * gdb.trace/ftrace-lock.exp: New file.
12876 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12878 * gdb.arch/insn-reloc.c: New file.
12879 * gdb.arch/ftrace-insn-reloc.exp: New file.
12881 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12883 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
12885 * gdb.trace/pendshr1.c (pendfunc): Likewise.
12886 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
12887 * gdb.trace/range-stepping.c: Likewise.
12888 * gdb.trace/trace-break.c: Likewise.
12889 * gdb.trace/trace-mt.c (thread_function): Likewise.
12890 * gdb.trace/ftrace.c (marker): Likewise.
12891 * gdb.trace/trace-condition.c (marker): Likewise.
12892 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
12893 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
12896 2015-09-18 Doug Evans <xdje42@gmail.com>
12898 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
12899 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
12901 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12903 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
12906 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12908 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
12909 the pending breakpoint. Remove timeout override for "Run till
12910 MI pending breakpoint on pendfunc3 on thread 2" test.
12912 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12914 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
12917 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12919 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
12920 in breakpoint filename pattern.
12922 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12924 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
12926 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12928 * gdb.linespec/explicit.exp: Check for readline support for
12929 tab-completion tests. Fix obvious typo.
12931 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12933 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
12936 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12938 * gdb.btrace/non-stop.c: New.
12939 * gdb.btrace/non-stop.exp: New.
12941 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
12942 Yao Qi <yao.qi@linaro.org>
12944 * gdb.trace/trace-condition.c: New file.
12945 * gdb.trace/trace-condition.exp: New file.
12947 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
12949 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
12950 for testing bytecode compilation.
12952 2015-09-16 Pedro Alves <palves@redhat.com>
12953 Sandra Loosemore <sandra@codesourcery.com>
12955 * gdb.threads/non-stop-fair-events.c (timeout): New global.
12956 (SECONDS): Redefine.
12957 (main): Call pthread_kill and alarm early.
12958 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
12960 (test): If the target can't hardware step and doesn't support
12961 displaced stepping, increase the timeout.
12963 2015-09-16 Pedro Alves <palves@redhat.com>
12965 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
12966 (enable_debug): New procedures.
12967 (test): Use them. Bail out if waiting for threads fails.
12968 (top level): Bail out if a test fails.
12970 2015-09-16 Yao Qi <yao.qi@linaro.org>
12972 * gdb.asm/asm-source.exp: Set asm-arch for
12973 aarch64*-*-* target.
12974 * gdb.asm/aarch64.inc: New file.
12976 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
12978 * gdb.ada/array_of_variable_length.exp: New testcase.
12979 * gdb.ada/array_of_variable_length/foo.adb: New file.
12980 * gdb.ada/array_of_variable_length/pck.adb: New file.
12981 * gdb.ada/array_of_variable_length/pck.ads: New file.
12983 2015-09-15 Doug Evans <dje@google.com>
12985 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
12986 of function static local variable.
12988 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
12990 * gdb.threads/tls-so_extern.exp: New test file.
12991 * gdb.threads/tls-so_extern.c: New test file.
12992 * gdb.threads/tls-so_extern_main.c: New test file.
12994 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12996 * gdb.opt/solib-intra-step-lib.c: New file.
12997 * gdb.opt/solib-intra-step-main.c: New file.
12998 * gdb.opt/solib-intra-step.exp: New file.
13000 2015-09-15 Pedro Alves <palves@redhat.com>
13002 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
13003 gdb_continue_to_breakpoint instead of gdb_test_multiple.
13005 2015-09-14 Pedro Alves <palves@redhat.com>
13007 * gdb.base/hook-stop-continue.c: Delete.
13008 * gdb.base/hook-stop-continue.exp: Delete.
13009 * gdb.base/hook-stop-frame.c: Delete.
13010 * gdb.base/hook-stop-frame.exp: Delete.
13011 * gdb.base/hook-stop.c: New file.
13012 * gdb.base/hook-stop.exp: New file.
13014 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
13016 * gdb.ada/access_to_packed_array.exp: New testcase.
13017 * gdb.ada/access_to_packed_array/foo.adb: New file.
13018 * gdb.ada/access_to_packed_array/pack.adb: New file.
13019 * gdb.ada/access_to_packed_array/pack.ads: New file.
13021 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
13023 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
13026 2015-09-11 Don Breazeal <donb@codesourcery.com>
13028 * gdb.base/foll-exec.c: Add copyright header. Fix
13030 * gdb.base/foll-exec.exp (zap_session): Delete proc.
13031 (do_exec_tests): Use clean_restart in place of zap_session,
13032 and for test initialization. Fix formatting issues. Use
13033 fail in place of perror.
13034 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
13035 an expect statement to match an expression with output from
13036 the program under debug.
13037 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
13038 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
13039 * gdb.threads/non-ldr-exc-2.exp: Likewise.
13040 * gdb.threads/non-ldr-exc-3.exp: Likewise.
13041 * gdb.threads/non-ldr-exc-4.exp: Likewise.
13043 2015-09-09 Doug Evans <dje@google.com>
13045 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
13047 2015-09-09 Doug Evans <dje@google.com>
13049 * gdb.base/pie-execl.exp: Fix result test of build_executable.
13051 2015-09-09 Doug Evans <dje@google.com>
13053 * gdb.base/savedregs.exp: Fix typo.
13055 2015-09-09 Pedro Alves <palves@redhat.com>
13057 * gdb.mi/mi-cli.exp: Add CLI finish tests.
13059 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
13061 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
13062 command actually switches threads. Give up on remaining
13063 tests if target fails to stop at breakpoint.
13065 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
13067 * gdb.ada/funcall_char.exp: New testcase.
13068 * gdb.ada/funcall_char/foo.adb: New file.
13070 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
13072 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
13073 expected outputs. Add two testcases for completing ambiguous
13075 * gdb.ada/complete/aux_pck.adb: New file.
13076 * gdb.ada/complete/aux_pck.ads: New file.
13077 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
13078 Ambiguous_Func functions.
13079 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
13080 * gdb.ada/complete/pck.adb: Likewise.
13082 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
13084 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
13085 failures to run the test program under GDB.
13087 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
13089 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
13092 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
13094 * gdb.base/run-after-attach.exp: New test file.
13095 * gdb.base/run-after-attach.c: New test file.
13097 2015-08-26 Don Breazeal <donb@codesourcery.com>
13099 * gdb.base/foll-exec-2.c: New test program.
13100 * gdb.base/foll-exec-2.exp: New test.
13102 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
13104 * gdb.base/nested-subp1.exp: New file.
13105 * gdb.base/nested-subp1.c: New file.
13106 * gdb.base/nested-subp2.exp: New file.
13107 * gdb.base/nested-subp2.c: New file.
13108 * gdb.base/nested-subp3.exp: New file.
13109 * gdb.base/nested-subp3.c: New file.
13111 2015-08-24 Pedro Alves <palves@redhat.com>
13113 * gdb.server/connect-without-multi-process.c: New file.
13114 * gdb.server/connect-without-multi-process.exp: New file.
13116 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
13118 * gdb.opt/inline-markers.c: Make z int.
13120 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
13122 * gdb.opt/inline-markers.c: Make z volatile.
13124 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
13126 * gdb.opt/inline-bt.c: New volatile global z.
13127 * gdb.opt/inline-cmds.c: Likewise.
13128 * gdb.opt/inline-locals.c: Likewise.
13129 * gdb.opt/inline-markers.c: New extern global z.
13131 (inline_fn): Likewise.
13133 2015-08-24 Pedro Alves <palves@redhat.com>
13135 * config/m32r-stub.exp: Remove file.
13136 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
13137 * gdb.base/call-rt-st.exp: Likewise.
13138 * gdb.base/call-strs.exp: Likewise.
13139 * gdb.base/default.exp: Remove references to h8300-*-hms and
13141 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
13143 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
13145 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
13146 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
13147 and "return" use KFAIL when GDB can not read/write the vector
13150 2015-08-21 Gary Benson <gbenson@redhat.com>
13152 * gdb.trace/pending.exp: Cope with remote transfer warnings.
13154 2015-08-20 Pedro Alves <palves@redhat.com>
13156 * gdb.server/solib-list.exp: No longer expect an interior stop in
13159 2015-08-20 Pedro Alves <palves@redhat.com>
13161 * gdb.server/connect-stopped-target.c: New file.
13162 * gdb.server/connect-stopped-target.exp: New file.
13164 2015-08-20 Pedro Alves <palves@redhat.com>
13166 * gdb.dwarf2/comp-unit-lang.exp: New file.
13167 * gdb.dwarf2/comp-unit-lang.c: New file.
13169 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
13171 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
13172 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
13174 2015-08-19 Kevin Buettner <kevinb@redhat.com>
13176 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
13177 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
13179 2015-08-18 Doug Evans <dje@google.com>
13180 Adrian Sendroiu <adrian.sendroiu@freescale.com>
13182 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
13183 skip_python_tests. New arg prompt_regexp.
13184 (skip_python_tests): New function.
13185 * lib/mi-support.exp (mi_skip_python_tests): New function.
13186 * gdb.python/py-mi-objfile-gdb.py: New file.
13187 * gdb.python/py-mi-objfile.c: New file.
13188 * gdb.python/py-mi-objfile.exp: New file.
13190 2015-08-17 Keith Seitz <keiths@redhat.com>
13192 * gdb.linespec/explicit.exp: Move strace test from here ...
13193 * gdb.trace/strace.exp: ... to here.
13195 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
13197 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
13198 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
13200 2015-08-14 Doug Evans <xdje42@gmail.com>
13202 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
13203 inferior before selecting a new file.
13205 2015-08-14 Doug Evans <xdje42@gmail.com>
13207 * gdb.mi/mi-disassemble.exp: Update.
13208 * gdb.base/disasm-optim.S: New file.
13209 * gdb.base/disasm-optim.c: New file.
13210 * gdb.base/disasm-optim.h: New file.
13211 * gdb.base/disasm-optim.exp: New file.
13213 2015-08-14 Keith Seitz <keiths@redhat.com>
13215 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
13218 2015-08-13 Joel Brobecker <brobecker@adacore.com>
13220 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
13222 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
13224 * gdb.ada/fun_renaming.exp: New testcase.
13225 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
13226 * gdb.ada/fun_renaming/pack.adb: New file.
13227 * gdb.ada/fun_renaming/pack.ads: New file.
13229 2015-08-12 Keith Seitz <keiths@redhat.com>
13231 * gdb.base/dso2dso.exp: Pass basename of source file in call to
13232 gdb_get_line_number.
13234 2015-08-12 Joel Brobecker <brobecker@adacore.com>
13236 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
13237 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
13238 gdb.base/dso2dso.exp: New files.
13240 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
13241 Pedro Alves <palves@redhat.com>
13242 Keith Seitz <keiths@redhat.com>
13244 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
13247 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
13249 * gdb.base/gdbhistsize-history.exp
13250 (test_histsize_history_setting): Use save_vars.
13251 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13253 (test_no_truncation_of_unlimited_history_file): Use save_vars.
13254 * gdb.base/readline.exp: Use save_vars.
13256 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
13258 * lib/gdb.exp (save_vars): New proc.
13260 2015-08-11 Keith Seitz <keiths@redhat.com>
13262 * gdb.base/help.exp: Update help_breakpoint_text.
13264 2015-08-11 Keith Seitz <keiths@redhat.com>
13266 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
13267 (at toplevel): Call test_explicit_breakpoints.
13268 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
13270 * lib/mi-support.exp (mi_make_breakpoint): Add support for
13271 breakpoint conditions, "-cond".
13273 2015-08-11 Keith Seitz <keiths@redhat.com>
13275 * gdb.linespec/3explicit.c: New file.
13276 * gdb.linespec/cpexplicit.cc: New file.
13277 * gdb.linespec/cpexplicit.exp: New file.
13278 * gdb.linespec/explicit.c: New file.
13279 * gdb.linespec/explicit.exp: New file.
13280 * gdb.linespec/explicit2.c: New file.
13281 * gdb.linespec/ls-errs.exp: Add explicit location tests.
13282 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
13283 before using in the matching pattern.
13284 Clarify that `prefix' is a regular expression.
13286 2015-08-11 Keith Seitz <keiths@redhat.com>
13288 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
13290 Add tests for missing ",FMT" and ",".
13292 2015-08-10 Doug Evans <dje@google.com>
13293 Keith Seitz <keiths@redhat.com>
13296 * gdb.base/completion.exp: Add location completer tests.
13298 2015-08-07 Pedro Alves <palves@redhat.com>
13300 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
13302 (top level): Run do_test with and without displaced stepping.
13304 2015-08-07 Pedro Alves <palves@redhat.com>
13306 * gdb.base/valgrind-disp-step.c: New file.
13307 * gdb.base/valgrind-disp-step.exp: New file.
13309 2015-08-07 Pedro Alves <palves@redhat.com>
13311 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
13313 (main): Add alarm. Run an infinite loop instead of calling
13315 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
13317 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
13319 (main): Add alarm. Run an infinite loop instead of calling
13321 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
13324 2015-08-07 Pedro Alves <palves@redhat.com>
13326 * gdb.base/checkpoint-ns.exp: New file.
13327 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
13330 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
13332 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
13333 * gdb.btrace/instruction_history.exp: Update.
13334 * gdb.btrace/tsx.exp: New.
13335 * gdb.btrace/tsx.c: New.
13337 2015-08-06 Pedro Alves <palves@redhat.com>
13339 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
13341 * gdb.reverse/until-precsave.exp: Bump timeouts.
13343 2015-08-06 Pedro Alves <palves@redhat.com>
13345 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
13347 2015-08-06 Pedro Alves <palves@redhat.com>
13350 * gdb.threads/process-dies-while-handling-bp.c: New file.
13351 * gdb.threads/process-dies-while-handling-bp.exp: New file.
13353 2015-08-06 Pedro Alves <palves@redhat.com>
13355 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
13356 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
13358 2015-08-05 Pedro Alves <palves@redhat.com>
13360 * gdb.threads/next-while-other-thread-longjmps.c: New file.
13361 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
13363 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
13365 * gdb.base/bp-permanent.exp: Report test as unsupported if
13366 the target cannot stop at the permanent breakpoint.
13368 2015-08-03 Doug Evans <dje@google.com>
13370 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
13373 2015-08-03 Doug Evans <dje@google.com>
13375 * Makefile.in (workers/%.worker, build-perf): New rule.
13376 (GDB_PERFTEST_MODE): New variable.
13377 (check-perf): Use it.
13378 (clean): Clean up gdb.perf parallel build subdirs.
13379 * lib/build-piece.exp: New file.
13380 * lib/gdb.exp (make_gdb_parallel_path): New function
13381 (standard_output_file, standard_temp_file): Call it.
13382 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13384 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
13386 2015-08-03 Doug Evans <dje@google.com>
13388 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
13389 (LOG_FILE_NAME): New global.
13390 (TextReporter.__init__): Initialize self.txt_sum.
13391 (TextReporter.report): Add support for multiple data-points.
13392 Move report to perftest.sum, put raw data in perftest.log.
13393 (TextReporter.start): Open sum and log files.
13394 (TextReporter.end): Close sum and log files.
13395 * gdb.perf/lib/perftest/testresult.py
13396 (SingleStatisticTestResult.record): Handle multiple data-points.
13398 2015-07-31 Pedro Alves <palves@redhat.com>
13400 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
13401 Use spawn_id_get_pid. Wait for spawn id after eof. Use
13402 kill_wait_spawned_process instead of explicit "kill -9".
13403 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
13404 returning a spawn id instead of a pid. Use spawn_id_get_pid and
13405 kill_wait_spawned_process.
13406 * gdb.base/attach-twice.exp: Likewise.
13407 * gdb.base/attach.exp: Likewise.
13408 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
13410 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
13411 returning a spawn id instead of a pid. Use spawn_id_get_pid and
13412 kill_wait_spawned_process.
13413 * gdb.base/valgrind-infcall.exp: Likewise.
13414 * gdb.multi/multi-attach.exp: Likewise.
13415 * gdb.python/py-prompt.exp: Likewise.
13416 * gdb.python/py-sync-interp.exp: Likewise.
13417 * gdb.server/ext-attach.exp: Likewise.
13418 * gdb.threads/attach-into-signal.exp (corefunc): Use
13419 spawn_wait_for_attach, spawn_id_get_pid and
13420 kill_wait_spawned_process.
13421 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
13422 spawn_wait_for_attach returning a spawn id instead of a pid. Use
13423 spawn_id_get_pid and kill_wait_spawned_process.
13424 * gdb.threads/attach-stopped.exp (corefunc): Use
13425 spawn_wait_for_attach, spawn_id_get_pid and
13426 kill_wait_spawned_process.
13427 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
13428 Use spawn_id_get_pid. Wait for spawn id after eof. Use
13429 kill_wait_spawned_process instead of explicit "kill -9".
13430 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
13431 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
13432 (spawn_wait_for_attach): Use spawn instead of exec to spawn
13433 processes. Don't map cygwin/windows pids here. Now returns a
13436 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13438 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
13439 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
13442 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13444 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
13446 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13449 2014-05-21 Mark Wielaard <mjw@redhat.com>
13451 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
13453 2015-07-30 Pedro Alves <palves@redhat.com>
13455 * linux-low.c (handle_extended_wait): Set the child's last
13456 reported status to TARGET_WAITKIND_STOPPED.
13458 2015-07-30 Pedro Alves <palves@redhat.com>
13461 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
13462 only shows inferior 1.
13464 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
13465 Pedro Alves <palves@redhat.com>
13468 * gdb.threads/fork-plus-threads.c: New file.
13469 * gdb.threads/fork-plus-threads.exp: New file.
13471 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13473 * gdb.base/batch-preserve-term-settings.exp
13474 (test_terminal_settings_preserved_after_cli_exit): Use
13477 2015-07-29 Pedro Alves <palves@redhat.com>
13478 Don Breazeal <donb@codesourcery.com>
13480 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
13481 output from both inferior_spawn_id and gdb_spawn_id.
13483 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
13485 * gdb.threads/attach-into-signal.exp (corefunc): Use
13486 with_test_prefix on nested loops, uniquefying the test messages.
13488 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
13490 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
13493 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13495 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
13497 (test_terminal_settings_preserved_after_sigterm): New test.
13499 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13501 * gdb.base/batch-preserve-term-settings.exp
13502 (test_terminal_settings_preserved_after_cli_exit): New test.
13504 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13506 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
13507 manipulation of saved_gdbflags.
13508 (test_terminal_settings_preserved): Remove global declaration of
13509 the unused variable pagination_prompt. Remove manipulation of
13510 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
13513 2015-07-29 Pedro Alves <palves@redhat.com>
13515 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
13517 2015-07-29 Pedro Alves <palves@redhat.com>
13519 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
13522 2015-07-29 Pedro Alves <palves@redhat.com>
13524 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
13525 (main): Call gdb_unbuffer_output.
13526 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
13527 (main): Call gdb_unbuffer_output.
13528 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
13529 (main): Call gdb_unbuffer_output.
13530 * gdb.base/call-strs.exp: Adjust to step over the
13531 gdb_unbuffer_output call.
13532 * gdb.base/catch-gdb-caused-signals.c: Include
13533 "../lib/unbuffer_output.c".
13534 (main): Call gdb_unbuffer_output.
13535 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
13536 (main): Call gdb_unbuffer_output.
13537 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
13538 (main): Call gdb_unbuffer_output.
13539 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
13540 (main): Call gdb_unbuffer_output.
13541 * gdb.base/shlib-call.exp: Adjust to step over the
13542 gdb_unbuffer_output call.
13543 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
13544 (main): Call gdb_unbuffer_output.
13545 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
13546 (main): Call gdb_unbuffer_output.
13547 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
13548 (main): Rename to ...
13550 (main): Reimplement.
13551 * gdb.base/varargs.exp: Run to test instead of to main.
13552 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
13553 (main): Call gdb_unbuffer_output.
13555 2015-07-29 Pedro Alves <palves@redhat.com>
13557 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
13558 factore out from mi_continue_dprintf. For call-style dprintfs,
13559 expect dprintf output out of $inferior_spawn_id.
13560 (mi_continue_dprintf): Use mi_expect_dprintf.
13561 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
13562 (main): Call gdb_unbuffer_output.
13564 2015-07-29 Pedro Alves <palves@redhat.com>
13566 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
13567 (default_mi_gdb_start): Set inferior_spawn_id instead of
13568 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
13570 (mi_gdb_test): Always expect inferior output from both
13571 $inferior_spawn_id and $gdb_spawn_id.
13573 2015-07-29 Pedro Alves <palves@redhat.com>
13575 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
13576 send_inferior and $inferior_spawn_id.
13578 2015-07-29 Pedro Alves <palves@redhat.com>
13580 * gdb.gdb/complaints.exp (test_initial_complaints)
13581 (test_serial_complaints, test_short_complaints): Use
13583 (test_empty_complaint): Handle $inferior_spawn_id !=
13586 2015-07-29 Pedro Alves <palves@redhat.com>
13588 * gdb.base/varargs.exp: Use gdb_test_stdio.
13590 2015-07-29 Pedro Alves <palves@redhat.com>
13592 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
13594 2015-07-29 Pedro Alves <palves@redhat.com>
13596 * gdb.base/ending-run.exp: Use gdb_test_stdio.
13598 2015-07-29 Pedro Alves <palves@redhat.com>
13600 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
13601 parameter into two new parameters, "inf_result" and "gdb_result".
13602 Expect inferior output and gdb output from $inferior_spawn_id and
13603 $gdb_spawn_id, respectively. Adjust all callers.
13605 2015-07-29 Pedro Alves <palves@redhat.com>
13607 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
13608 of gdb_test_sequence.
13610 2015-07-29 Pedro Alves <palves@redhat.com>
13612 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
13613 (saw_spurious_output): Expect inferior output from
13614 $inferior_spawn_id. Use gdb_test_stdio.
13616 2015-07-29 Pedro Alves <palves@redhat.com>
13618 * gdb.base/dprintf.exp: Use standard_testfile. Change
13619 prepare_for_testing call.
13620 (srcfile): Don't set.
13621 (restart): New procedure.
13622 (test_dprintf): New procecure, use to continue over dprintfs.
13623 (test_call, test_agent): New procedures, tests moved here.
13624 Restart gdb and recreate dprintfs. Adjust expected output.
13626 2015-07-29 Pedro Alves <palves@redhat.com>
13628 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
13630 2015-07-29 Pedro Alves <palves@redhat.com>
13632 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
13634 2015-07-29 Pedro Alves <palves@redhat.com>
13636 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
13639 2015-07-29 Pedro Alves <palves@redhat.com>
13641 * lib/gdb.exp (gdb_test_stdio): New procedure.
13643 2015-07-29 Pedro Alves <palves@redhat.com>
13645 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
13647 2015-07-29 Pedro Alves <palves@redhat.com>
13649 * gdb.base/call-signal-resume.exp: Remove check for
13650 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
13651 * gdb.base/unwindonsignal.exp: Likewise.
13652 * gdb.base/call-signals.c (gen_signal): Remove printf call.
13653 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
13655 2015-07-29 Pedro Alves <palves@redhat.com>
13657 * gdb.base/siginfo-addr.c (pass): New function.
13658 (handler): Call it iff si_addr is correct.
13659 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
13660 Set a breakpoint at "pass" and continue to it.
13662 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
13664 * gdb.python/py-objfile.exp: Make some tests have unique names.
13665 * gdb.python/py-pp-registration.exp: Likewise.
13667 2015-07-28 Pedro Alves <palves@redhat.com>
13669 * gdb.server/server-exec-info.exp: Issue a "disconnect".
13671 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
13673 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
13675 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
13677 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
13679 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
13681 * gdb.base/gdb-sigterm-2.exp: New test.
13683 2015-07-25 Doug Evans <xdje42@gmail.com>
13686 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
13687 (workers/%.worker, build-perf): New rule.
13688 (GDB_PERFTEST_MODE): New variable.
13689 (check-perf): Use it.
13690 (clean): Clean up gdb.perf parallel build subdirs.
13691 * lib/build-piece.exp: New file.
13692 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
13693 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
13695 (standard_temp_file): Ditto.
13696 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13699 2015-07-24 Doug Evans <dje@google.com>
13701 * gdb.perf/lib/perftest/utils.py: New file.
13702 * gdb.perf/gm-hello.cc: New file.
13703 * gdb.perf/gm-pervasive-typedef.cc: New file.
13704 * gdb.perf/gm-pervasive-typedef.h: New file.
13705 * gdb.perf/gm-std.cc: New file.
13706 * gdb.perf/gm-std.h: New file.
13707 * gdb.perf/gm-use-cerr.cc: New file.
13708 * gdb.perf/gm-utils.h: New file.
13709 * gdb.perf/gmonster-null-lookup.py: New file.
13710 * gdb.perf/gmonster-pervasive-typedef.py: New file.
13711 * gdb.perf/gmonster-print-cerr.py: New file.
13712 * gdb.perf/gmonster-ptype-string.py: New file.
13713 * gdb.perf/gmonster-runto-main.py: New file.
13714 * gdb.perf/gmonster-select-file.py: New file.
13715 * gdb.perf/gmonster1-null-lookup.exp: New file.
13716 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
13717 * gdb.perf/gmonster1-print-cerr.exp: New file.
13718 * gdb.perf/gmonster1-ptype-string.exp: New file.
13719 * gdb.perf/gmonster1-runto-main.exp: New file.
13720 * gdb.perf/gmonster1-select-file.exp: New file.
13721 * gdb.perf/gmonster1.cc: New file.
13722 * gdb.perf/gmonster1.exp: New file.
13723 * gdb.perf/gmonster2-null-lookup.exp: New file.
13724 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
13725 * gdb.perf/gmonster2-print-cerr.exp: New file.
13726 * gdb.perf/gmonster2-ptype-string.exp: New file.
13727 * gdb.perf/gmonster2-runto-main.exp: New file.
13728 * gdb.perf/gmonster2-select-file.exp: New file.
13729 * gdb.perf/gmonster2.cc: New file.
13730 * gdb.perf/gmonster2.exp: New file.
13732 2015-07-24 Doug Evans <dje@google.com>
13734 * gdb.perf/README: New file.
13735 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
13736 * lib/gen-perf-test.exp: New file.
13738 2015-07-24 Doug Evans <dje@google.com>
13740 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
13741 (PerfTest::startup): New function.
13742 (PerfTest::run): Return result of calling body.
13743 (PerfTest::assemble): Rewrite.
13744 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
13745 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
13746 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
13747 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
13748 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
13750 2015-07-24 Doug Evans <dje@google.com>
13752 * lib/gdb.exp (clean_restart): Make executable optional.
13754 2015-07-24 Doug Evans <dje@google.com>
13756 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
13757 compiler_info references.
13758 * gdb.cp/temargs.exp: Ditto.
13759 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
13760 (get_compiler_info): Early exit if already computed. Set compiler_info
13761 to "unknown" if there was a problem.
13762 (test_compiler_info): Add function comment. Call get_compiler_info.
13764 2015-07-24 Doug Evans <dje@google.com>
13766 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
13767 (workers/%.worker, build-perf): New rule.
13768 (GDB_PERFTEST_MODE): New variable.
13769 (check-perf): Use it.
13770 (clean): Clean up gdb.perf parallel build subdirs.
13771 * lib/build-piece.exp: New file.
13772 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
13773 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
13775 (standard_temp_file): Ditto.
13776 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13779 2015-07-24 Doug Evans <dje@google.com>
13781 * lib/future.exp (gdb_default_target_compile): New option
13783 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
13786 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
13788 * gdb.base/catch-syscall.exp: Call gdb_exit before
13791 2015-07-24 Pedro Alves <palves@redhat.com>
13793 * gdb.python/py-events.exp: Accept output between the stop event
13795 * gdb.python/py-evsignal.exp: Likewise.
13796 * gdb.python/py-evthreads.exp: Likewise.
13798 2015-07-24 Pedro Alves <palves@redhat.com>
13801 * gdb.threads/non-ldr-exit.c: New file.
13802 * gdb.threads/non-ldr-exit.exp: New file.
13804 2015-07-24 Yao Qi <yao.qi@linaro.org>
13806 * gdb.server/ext-wrapper.exp: Test --wrapper option when
13807 restarting process.
13809 2015-07-24 Yao Qi <yao.qi@linaro.org>
13811 * gdb.server/ext-restart.exp: New file.
13813 2015-07-24 Yao Qi <yao.qi@linaro.org>
13815 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
13817 * gdb.server/ext-wrapper.exp: New file.
13819 2015-07-23 Doug Evans <dje@google.com>
13821 * gdb.dwarf2/dw2-dummy-cu.S: New file.
13822 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
13824 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
13826 * gdb.ada/var_arr_typedef.exp: New testcase.
13827 * gdb.ada/var_arr_typedef/pack.adb: New file.
13828 * gdb.ada/var_arr_typedef/pack.ads: New file.
13829 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
13831 2015-07-20 Joel Brobecker <brobecker@adacore.com>
13833 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
13835 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13837 * gdb.arch/i386-biarch-core.exp: Replace istarget
13838 by "complete set gnutarget". Remove expectation for the "core-file"
13841 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13843 Revert the previous commit:
13844 Tests for validate symbol file using build-id.
13846 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
13848 Tests for validate symbol file using build-id.
13849 * gdb.base/solib-mismatch-lib.c: New file.
13850 * gdb.base/solib-mismatch-libmod.c: New file.
13851 * gdb.base/solib-mismatch.c: New file.
13852 * gdb.base/solib-mismatch.exp: New file.
13854 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
13856 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
13858 * gdb.base/sigbpt.exp (stepi_out): Likewise.
13859 * gdb.base/siginfo.exp: Likewise.
13860 * gdb.base/sigstep.exp (advance, advancei): Likewise.
13862 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
13864 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
13866 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
13868 * gdb.trace/range-stepping.exp: Check that the target supports
13871 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13873 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
13875 2015-07-14 Pedro Alves <palves@redhat.com>
13877 * gdb.base/killed-outside.exp: New file.
13878 * gdb.base/killed-outside.c: New file.
13880 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
13882 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
13884 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
13886 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
13888 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
13889 infcall tests instead of setting up for KFAIL.
13891 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
13893 * gdb.btrace/record_goto-step.exp: New.
13895 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13898 * gdb.compile/compile.c (struct struct_type): Add volatile to
13900 * gdb.compile/compile.exp
13901 (compile code struct_object.selffield = &struct_object): Skip further
13902 struct_object tests if this one xfails.
13904 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
13907 * gdb.trace/ax.exp: Add test.
13909 2015-07-07 Yao Qi <yao.qi@linaro.org>
13911 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
13912 instead of istarget "aarch64*-*-*".
13913 * gdb.arch/aarch64-fp.exp: Likewise.
13914 * gdb.base/float.exp: Likewise.
13915 * gdb.reverse/aarch64.exp: Likewise.
13916 * lib/gdb.exp (is_aarch64_target): New proc.
13918 2015-07-07 Yao Qi <yao.qi@linaro.org>
13920 * lib/gdb.exp (is_aarch32_target): New proc.
13921 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
13922 instead of "istarget "arm*-*-*"".
13923 * gdb.arch/arm-disp-step.exp: Likewise.
13924 * gdb.arch/thumb-bx-pc.exp: Likewise.
13925 * gdb.arch/thumb-prologue.exp: Likewise.
13926 * gdb.arch/thumb-singlestep.exp: Likewise.
13927 * gdb.base/disp-step-syscall.exp: Likewise.
13928 * gdb.base/float.exp: Likewise.
13930 2015-07-07 Yao Qi <yao.qi@linaro.org>
13932 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
13933 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
13935 2015-07-07 Yao Qi <yao.qi@linaro.org>
13937 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
13938 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
13940 * gdb.multi/multi-arch.exp: Likewise.
13942 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
13944 * gdb.python/py-lazy-string.exp: Add missing parentheses to
13947 2015-07-07 Yao Qi <yao.qi@linaro.org>
13949 * gdb.arch/thumb-singlestep.exp: Do one more single step.
13951 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
13953 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
13954 '[' and ']' characters.
13956 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
13958 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
13960 2015-06-29 Pedro Alves <palves@redhat.com>
13963 * gdb.threads/hand-call-new-thread.c: New file.
13964 * gdb.threads/hand-call-new-thread.c: New file.
13966 2015-06-26 Keith Seitz <keiths@redhat.com>
13967 Doug Evans <dje@google.com>
13970 * gdb.cp/var-tag-2.cc: New file.
13971 * gdb.cp/var-tag-3.cc: New file.
13972 * gdb.cp/var-tag-4.cc: New file.
13973 * gdb.cp/var-tag.cc: New file.
13974 * gdb.cp/var-tag.exp: New file.
13976 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13978 * gdb.base/history-duplicates.exp: New test.
13980 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13982 * gdb.base/completion.exp: Test the completion of the "focus"
13985 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13987 * gdb.arch/amd64-prologue-skip.S: New file.
13988 * gdb.arch/amd64-prologue-skip.exp: New file.
13990 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
13992 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
13993 is_address_zero_readable check.
13995 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
13997 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
13998 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
14000 2015-06-24 Yao Qi <yao.qi@linaro.org>
14002 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
14005 2015-06-24 Yao Qi <yao.qi@linaro.org>
14007 * lib/gdb.exp (supports_get_siginfo_type): New proc.
14008 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
14009 * gdb.base/siginfo-thread.exp: Likewise.
14011 2015-06-22 Yao Qi <yao.qi@linaro.org>
14013 * boards/remote-gdbserver-on-localhost.exp: Add comments.
14015 2015-06-22 Yao Qi <yao.qi@linaro.org>
14017 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
14019 (skip_hw_watchpoint_tests): Likewise.
14021 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
14023 * gdb.base/gdbinit-history.exp: Test the interaction between
14024 setting GDBHISTSIZE and setting the history size via .gdbinit.
14026 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
14029 * gdb.base/gdbhistsize-history.exp: New test.
14031 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
14033 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
14035 * gdb.base/readline.exp: Likewise.
14037 2015-06-17 Yao Qi <yao.qi@linaro.org>
14039 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
14042 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
14044 * gdb.base/gdbinit-history.exp: Add test case to check that
14045 an unlimited history file does not get truncated on exit.
14047 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14049 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
14050 (VECTOR): New macro. Use it...
14051 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
14052 ...for these typedefs.
14053 (int8, char1, int1, double1): New typedefs.
14054 (struct just_int2, struct two_int2): New structures.
14055 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
14056 (add_structvecs, add_singlevecs): New functions.
14057 (main): Call add_some_intvecs twice.
14058 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
14059 the compile and exit upon failure. Try compiling for the "native"
14060 architecture. Test inferior function calls with vector arguments
14061 and vector return value handling with "finish" and "return".
14063 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
14065 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
14066 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
14068 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
14070 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
14072 PR breakpoints/16465
14073 * gdb.mi/mi-dprintf-pending.c: New file.
14074 * gdb.mi/mi-dprintf-pending.exp: New test.
14075 * gdb.mi/mi-dprintf-pendshr.c: New file.
14077 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
14078 Mircea Gherzan <mircea.gherzan@intel.com>
14080 * gdb.arch/i386-mpx-map.c: New file.
14081 * gdb.arch/i386-mpx-map.exp: New File.
14083 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
14085 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
14086 * gdb.arch/i386-mpx.exp: Indentation fixed.
14088 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
14090 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
14091 function and improved indentation.
14092 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
14093 gdb_test_multiple. Added additional tests to skip the test.
14095 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
14097 * gdb.arch/i386-avx512.c: Change path in include file.
14098 * gdb.arch/i386-avx512.exp: Change include dir path
14100 * gdb.arch/i386-mpx.c: Change path in include file.
14101 * gdb.arch/i386-mpx.exp: Change include dir path compilation
14104 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
14106 * gdb.compile/compile-print.exp (compile print *vararray@3)
14107 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
14109 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14111 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
14112 (do not keep jit in memory): ... this.
14113 (expect 5): Change it to ...
14114 (expect no 5): ... this.
14116 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
14119 * gdb.mi/mi-detach.exp: New file.
14121 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14124 * gdb.arch/amd64-tailcall-self.S: New file.
14125 * gdb.arch/amd64-tailcall-self.c: New file.
14126 * gdb.arch/amd64-tailcall-self.exp: New file.
14128 2015-05-28 Don Breazeal <donb@codesourcery.com>
14130 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
14131 tests for remote targets by checking is_target_gdbserver.
14133 2015-05-27 Doug Evans <dje@google.com>
14135 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
14136 * gdb.dwarf2/opaque-type-lookup.c: New file.
14137 * gdb.dwarf2/opaque-type-lookup.exp: New file.
14139 2015-05-26 Doug Evans <dje@google.com>
14141 * gdb.cp/iostream.cc: New file.
14142 * gdb.cp/iostream.exp: New file.
14144 2015-05-26 Doug Evans <dje@google.com>
14146 * gdb.dwarf2/dw2-op-call.exp: Update.
14147 * gdb.dwarf2/dw4-sig-types.exp: Update.
14148 * gdb.dwarf2/implptr.exp: Update.
14149 * gdb.mi/mi-cmd-param-changed.exp: Update.
14151 2015-05-26 Doug Evans <dje@google.com>
14153 * gdb.python/py-lazy-string.c: New file.
14154 * gdb.python/py-lazy-string.exp: New file.
14155 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
14156 (main): Update. Add estring3.
14157 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
14158 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
14160 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
14161 Yao Qi <yao.qi@linaro.org>
14163 * gdb.reverse/aarch64.c: New.
14164 * gdb.reverse/aarch64.exp: New.
14166 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
14168 * lib/gdb.exp (supports_process_record): Return true for
14170 (supports_reverse): Likewise.
14172 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
14174 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
14175 Use with_test_prefix.
14177 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
14179 * gdb.base/completion.exp: Add test for completion of layout
14182 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
14184 * lib/gdb.exp (skip_tui_tests): New proc.
14185 * gdb.base/tui-layout.exp: Check skip_tui_tests.
14187 2015-05-19 Pedro Alves <palves@redhat.com>
14189 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
14190 Save the whole env array instead of just HOME. Unset HISTSIZE in
14191 the environment while testing. Restore whole environment
14194 2015-05-16 Doug Evans <xdje42@gmail.com>
14196 * gdb.guile/scm-ports.c: New file.
14197 * gdb.guile/scm-ports.exp: Add memory port tests.
14199 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14201 * gdb.compile/compile-print.c: New file.
14202 * gdb.compile/compile-print.exp: New file.
14204 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14206 * gdb.compile/compile-ops.exp: Cast param to void.
14207 * gdb.compile/compile.exp: Complete type for _gdb_expr.
14208 (compile code struct_object.selffield = &struct_object): Add xfail.
14210 2015-05-15 Joel Brobecker <brobecker@adacore.com>
14212 * gdb.ada/arr_enum_with_gap: New testcase.
14214 2015-05-15 Joel Brobecker <brobecker@adacore.com>
14216 * gdb.ada/byte_packed_arr: New testcase.
14218 2015-05-15 Joel Brobecker <brobecker@adacore.com>
14220 * gdb.ada/pckd_neg: New testcase.
14222 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
14225 * gdb.base/gdbinit-history.exp: New test.
14226 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
14227 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
14229 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
14231 * gdb.python/py-xmethods.cc: Enhance test case.
14232 * gdb.python/py-xmethods.exp: New tests.
14233 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
14235 (B_indexoper): Likewise.
14236 (global_dm_list) : Add new xmethod worker functions.
14238 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
14240 * gdb.base/coredump-filter.exp: Correctly unset
14241 "coredump_var_addr" array.
14243 2015-05-08 Pedro Alves <palves@redhat.com>
14245 * gdb.server/non-existing-program.exp: Unset spawn_id.
14247 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
14250 * gdb.python/py-xmethods.exp: Add tests.
14252 2015-05-08 Yao Qi <yao.qi@linaro.org>
14255 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
14256 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
14257 function set_coredump_filter, and remove remote_exec call.
14258 Remove argument ipid. Callers update.
14259 (top level): Don't get inferior's PID.
14261 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
14263 * gdb.base/watch_thread_num.exp: Skip test on targets without
14264 access watchpoints.
14266 2015-05-06 Pedro Alves <palves@redhat.com>
14269 * gdb.server/non-existing-program.exp: New file.
14271 2015-05-05 Joel Brobecker <brobecker@adacore.com>
14273 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
14275 2015-05-05 Joel Brobecker <brobecker@adacore.com>
14277 * gdb.ada/out_of_line_in_inlined: New testcase.
14279 2015-05-05 Joel Brobecker <brobecker@adacore.com>
14281 * gdb.ada/var_rec_arr: New testcase.
14283 2015-04-30 Yao Qi <yao.qi@linaro.org>
14285 * gdb.base/break-idempotent.exp: If
14286 skip_hw_watchpoint_multi_tests returns true, skip the tests
14287 on "rwatch" and "awatch".
14289 2015-04-30 Yao Qi <yao.qi@linaro.org>
14291 * gdb.base/relativedebug.exp: Invoke gdb command
14292 "info sharedlibrary", and if libc.so doesn't have debug info,
14295 2015-04-29 Doug Evans <dje@google.com>
14297 * gdb.python/py-xmethods.exp: Add ptype tests.
14298 * gdb.python/py-xmethods.py (E_method_char_worker): Add
14299 get_result_type method.
14301 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
14303 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
14304 the target does not support hardware watchpoints.
14306 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
14308 * gdb.base/break-always.exp: Abort testing if writing to memory
14311 2015-04-28 Doug Evans <dje@google.com>
14313 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
14314 * gdb.python/py-pp-registration.exp: ... here. New file.
14315 * gdb.python/py-pp-registration.c: New file.
14316 * gdb.python/py-pp-registration.py: New file.
14318 2015-04-28 Doug Evans <dje@google.com>
14320 * gdb.python/py-bad-printers.c: New file.
14321 * gdb.python/py-bad-printers.py: New file.
14322 * gdb.python/py-bad-printers.exp: New file.
14324 2015-04-28 Sasha Smundak <asmundak@google.com>
14326 * gdb.python/py-type.exp: New test.
14328 2015-04-28 Andy Wingo <wingo@igalia.com>
14330 * gdb.python/py-parameter.exp:
14331 * gdb.guile/scm-parameter.exp: Escape the path that we are
14332 matching against, as it might contain characters that are special
14333 to regular expressions.
14335 2015-04-27 Joel Brobecker <brobecker@adacore.com>
14337 * gdb.ada/rec_comp: New testcase.
14339 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
14341 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
14344 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
14346 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
14347 new tests for verilog output.
14349 2015-04-24 Yao Qi <yao.qi@linaro.org>
14351 * boards/remote-gdbserver-on-localhost.exp: New file.
14353 2015-04-23 Pedro Alves <palves@redhat.com>
14355 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
14356 $inferior_spawn_id instead of $inferior_spawn_id directly. On
14357 "end of file", remove $inferior_spawn_id from the indirect list.
14359 2015-04-23 Pedro Alves <palves@redhat.com>
14361 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
14363 2015-04-23 Pedro Alves <palves@redhat.com>
14365 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
14366 on $any_spawn_id instead of only on $gdb_spawn_id.
14368 2015-04-21 Pierre Muller <muller@sourceware.org>
14371 * lib/pascal.exp (gpc_compile): Add new option "class".
14372 (fpc_compile): Likewise.
14373 * gdb.pascal/case-insensitive-symbols.pas: New file.
14374 * gdb.pascal/case-insensitive-symbols.exp: New file.
14376 2015-04-20 Gary Benson <gbenson@redhat.com>
14378 * gdb.base/attach.exp: Fix three extended remote failures.
14380 2015-04-17 Gary Benson <gbenson@redhat.com>
14382 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
14383 the main executable over the remote protocol.
14385 2015-04-16 Pedro Alves <palves@redhat.com>
14387 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
14388 a new gdbserver if gdbserver_reconnect_p is set.
14390 2015-04-16 Pedro Alves <palves@redhat.com>
14392 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
14393 is set, don't exit gdbserver.
14395 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14397 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
14398 appropriate .insn, such that an older assembler can be used.
14399 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
14400 the z/Architecture instruction set on 31-bit targets as well.
14402 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14404 * gdb.go/handcall.exp: Remove all logic related to the first
14405 breakpoint and rely on go_runto_main instead.
14406 * gdb.go/strings.exp: Likewise.
14407 * gdb.go/unsafe.exp: Likewise.
14408 * gdb.go/hello.exp: Likewise. Also rename the remaining
14409 breakpoint marker to "breakpoint 1".
14410 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
14411 * gdb.go/strings.go: Likewise.
14412 * gdb.go/unsafe.go: Likewise.
14413 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
14414 "set breakpoint 2 here" and rename the remaining breakpoint marker
14417 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
14419 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
14420 if itertools.imap is not present.
14421 * gdb.python/py-objfile.exp: Add parentheses.
14422 * gdb.python/py-type.exp: Same.
14423 * gdb.python/py-unwind-maint.py: Same.
14425 2015-04-15 Yao Qi <yao.qi@linaro.org>
14427 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
14428 of ":$ptr_size" and set its form explicitly.
14430 2015-04-15 Pedro Alves <palves@redhat.com>
14431 Yao Qi <yao.qi@linaro.org>
14433 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
14434 timeout by factor of 4.
14435 (test_regular_watch): Likewise.
14436 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
14437 * gdb.reverse/sigall-reverse.exp: Likewise.
14438 * gdb.reverse/until-precsave.exp: Likewise.
14439 * lib/gdb.exp (with_timeout_factor): New proc.
14440 (gdb_expect): Move some code to ...
14441 (get_largest_timeout): ... here. New procedure.
14443 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
14445 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
14447 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
14449 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
14450 to write to the .text section.
14452 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
14454 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
14455 Handle the case of targets that do not provide PID information.
14457 2015-04-13 Yao Qi <yao.qi@linaro.org>
14459 * lib/gdbserver-support.exp (gdb_exit): Catch exception
14460 and use expect instead of gdb_expect.
14462 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
14464 * gdb.base/coredump-filter.exp: Rename variable "addr" to
14465 "coredump_var_addr" to avoid naming conflict with other testcases.
14467 2015-04-10 Pedro Alves <palves@redhat.com>
14469 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
14470 gdb_test_sequence and gdb_assert.
14472 2015-04-10 Pedro Alves <palves@redhat.com>
14474 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
14475 test messages that don't include the breakpoint address.
14477 2015-04-10 Yao Qi <yao.qi@linaro.org>
14479 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
14480 false for some offset and width combinations which aren't
14481 supported by linux kernel.
14483 2015-04-10 Pedro Alves <palves@redhat.com>
14485 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
14486 procedure, factored out from ...
14487 (top level): ... here. Add "set displaced-stepping" testing axis.
14488 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
14489 parameter "displaced". Use it.
14490 (top level): Use foreach and add "set displaced-stepping" testing
14493 2015-04-10 Pedro Alves <palves@redhat.com>
14495 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
14497 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
14498 both the address of the instruction that triggers the watchpoint
14499 and the address of the instruction immediately after, and use
14500 those addresses for the test. Fix comment.
14502 2015-04-10 Pedro Alves <palves@redhat.com>
14504 * gdb.base/sigstep.exp (breakpoint_to_handler)
14505 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
14506 Test "backtrace" in handler.
14507 (breakpoint_over_handler): New parameter 'displaced'. Use it.
14508 (top level): Add new "displaced" test axis to
14509 breakpoint_to_handler, breakpoint_to_handler_entry and
14510 breakpoint_over_handler.
14512 2015-04-10 Pedro Alves <palves@redhat.com>
14515 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
14517 2015-04-10 Yao Qi <yao.qi@linaro.org>
14519 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
14520 (test_add_rn_pc): New function.
14521 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
14522 (top level): Invoke test_add_rn_pc.
14524 2015-04-10 Pedro Alves <palves@redhat.com>
14527 * gdb.base/step-over-no-symbols.exp: New file.
14529 2015-04-09 Andy Wingo <wingo@igalia.com>
14531 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
14532 after the Python tests.
14534 2015-04-08 Keith Seitz <keiths@redhat.com>
14537 * gdb.python/py-completion.exp: New tests for completion.
14538 * gdb.python/py-completion.py (CompleteLimit1): New class.
14539 (CompleteLimit2): Likewise.
14540 (CompleteLimit3): Likewise.
14541 (CompleteLimit4): Likewise.
14542 (CompleteLimit5): Likewise.
14543 (CompleteLimit6): Likewise.
14544 (CompleteLimit7): Likewise.
14546 2015-04-08 Pedro Alves <palves@redhat.com>
14550 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
14552 (main): Install it as SIGUSR1 handler.
14553 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
14554 parameter. Always use "setup" as prefix. Toggle "set
14555 displaced-stepping" off/on depending on global. Don't switch to
14557 (top level): Add displaced stepping "off/on" test axis. Update
14558 "setup" calls. Wrap each subtest with with_test_prefix. Test
14559 continuing with a queued signal in each thread.
14561 2015-04-08 Pedro Alves <palves@redhat.com>
14563 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
14564 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
14565 gdb_breakpoint instead of gdb_test that doesn't expect anything.
14566 Return early if running to main fails.
14567 * gdb.trace/while-stepping.exp: Likewise.
14569 2015-04-07 Pedro Alves <palves@redhat.com>
14571 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
14572 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
14573 interact with inferior program.
14575 2015-04-07 Pedro Alves <palves@redhat.com>
14577 * lib/gdb.exp (inferior_spawn_id): New global.
14578 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
14579 spawn id after processing the user code.
14580 (default_gdb_start): Set inferior_spawn_id.
14581 (send_inferior): New procedure.
14582 * lib/gdbserver-support.exp (gdbserver_start): Set
14584 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
14586 2015-04-07 Pedro Alves <palves@redhat.com>
14588 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
14589 * lib/gdbserver-support.exp (gdbserver_start): Make
14590 $server_spawn_id global.
14591 (gdbserver_start): Don't wait for gdbserver's spawn id with
14593 (close_gdbserver): New procedure.
14594 (gdb_exit): Rename the default version and reimplement.
14596 2015-04-07 Pedro Alves <palves@redhat.com>
14598 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
14599 append the substituted item, not the original item.
14601 2015-04-07 Pedro Alves <palves@redhat.com>
14603 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
14606 2015-04-07 Pedro Alves <palves@redhat.com>
14608 * gdb.base/interrupt.exp: Don't handle the case of the inferior
14609 output appearing once only.
14611 2015-04-07 Pedro Alves <palves@redhat.com>
14613 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
14614 that doesn't expect anything. Return early if running to main
14617 2015-04-07 Yao Qi <yao.qi@linaro.org>
14619 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
14620 (child_function): Call alarm.
14621 (main): Move call to alarm into the loop.
14622 * gdb.threads/non-stop-fair-events.exp: Build program with
14623 -DTIMEOUT=$timeout.
14625 2015-04-06 Doug Evans <xdje42@gmail.com>
14627 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
14628 Fix dest parameter to board_info.
14629 (fpc_compile): Ditto.
14630 (gdb_compile_pascal): Rename dest arg to destfile.
14632 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
14634 * gdb.ada/funcall_ref.exp: New file.
14635 * gdb.ada/funcall_ref/foo.adb: New file.
14637 2015-04-02 Yao Qi <yao.qi@linaro.org>
14639 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
14642 2015-04-02 Gary Benson <gbenson@redhat.com>
14644 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
14646 2015-04-01 Sasha Smundak <asmundak@google.com>
14648 * gdb.python/py-unwind-maint.c: New file.
14649 * gdb.python/py-unwind-maint.exp: New test.
14650 * gdb.python/py-unwind-maint.py: New file.
14651 * gdb.python/py-unwind.c: New file.
14652 * gdb.python/py-unwind.exp: New test.
14653 * gdb.python/py-unwind.py: New test.
14655 2015-04-01 Pedro Alves <palves@redhat.com>
14657 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
14658 to fail instead of non-existent $test.
14660 2015-04-01 Pedro Alves <palves@redhat.com>
14662 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
14663 GDBFLAGS if not empty.
14665 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
14667 * gdb.ada/complete.exp: Remove "multi_line".
14668 * gdb.ada/info_exc.exp: Remove "multi_line".
14669 * gdb.ada/packed_tagged.exp: Remove "multi_line".
14670 * gdb.ada/ptype_field.exp: Remove "multi_line".
14671 * gdb.ada/sym_print_name.exp: Remove "multi_line".
14672 * gdb.ada/tagged.exp: Remove "multi_line".
14673 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
14675 * gdb.btrace/delta.exp: Likewise.
14676 * gdb.btrace/exception.exp: Likewise.
14677 * gdb.btrace/function_call_history.exp: Likewise.
14678 * gdb.btrace/instruction_history.exp: Likewise.
14679 * gdb.btrace/nohist.exp: Likewise.
14680 * gdb.btrace/record_goto.exp: Likewise.
14681 * gdb.btrace/segv.exp: Likewise.
14682 * gdb.btrace/stepi.exp: Likewise.
14683 * gdb.btrace/tailcall.exp: Likewise.
14684 * gdb.btrace/unknown_functions.exp: Likewise.
14685 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
14686 * lib/gdb.exp: Add the "multi_line" helper.
14688 2015-04-01 Pedro Alves <palves@redhat.com>
14690 * gdb.threads/tid-reuse.c: New file.
14691 * gdb.threads/tid-reuse.exp: New file.
14693 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
14696 * gdb.base/coredump-filter.c: New file.
14697 * gdb.base/coredump-filter.exp: Likewise.
14699 2015-03-27 Petr Machata <pmachata@redhat.com>
14701 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
14702 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
14703 (Dwarf::assemble): Initialize them.
14704 (Dwarf::lines): New function.
14706 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
14708 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
14709 SYMBOL_PREFIX for x86_64-*-cygwin.
14711 2015-03-26 Andy Wingo <wingo@igalia.com>
14714 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
14715 const_value but not a location.
14716 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
14717 location defined in non-main CUs are visible.
14719 2015-03-26 Yao Qi <yao.qi@linaro.org>
14722 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
14723 Add a line number entry for the same line.
14724 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
14725 Add a line number entry for the same line.
14727 2015-03-26 Yao Qi <yao.qi@linaro.org>
14729 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
14731 (func): Likewise. Add .Lfunc_1 label.
14732 Use .Lfunc_1 label.
14733 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
14736 Use .Lfunc_1 label.
14738 2015-03-26 Yao Qi <yao.qi@linaro.org>
14740 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
14741 Call gdb_compile instead to compile each .s files without debug
14744 2015-03-26 Yao Qi <yao.qi@linaro.org>
14746 * gdb.base/savedregs.exp (process_saved_regs): Make
14747 "Saved registers:" optional in the pattern.
14749 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
14751 * gdb.btrace/next.exp: Merged into step.exp.
14752 * gdb.btrace/finish.exp: Merged into step.exp.
14753 * gdb.btrace/nexti.exp: Merged into stepi.exp.
14754 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
14755 "record goto" and checking the exact replay position.
14756 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
14757 check for "Recording format" in "info record" output.
14758 * gdb.btrace/record_goto.exp: Choose test file based on target.
14759 * gdb.btrace/x86-record_goto.S: Renamed into ...
14760 * gdb.btrace/x86_64-record_goto.S: ... this.
14761 * gdb.btrace/i686-record_goto.S: New.
14762 * gdb.btrace/x86-tailcall.S: Renamed into ...
14763 * gdb.btrace/x86_64-tailcall.S: ... this.
14764 * gdb.btrace/i686-tailcall.S: New.
14765 * gdb.btrace/x86-tailcall.c: Renamed into ...
14766 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
14767 separate statements. Update test.
14768 * gdb.btrace/delta.exp: Use record_goto.c as test file.
14769 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
14770 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
14771 * gdb.btrace/tailcall.exp: Choose test file based on target.
14772 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
14774 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
14776 * gdb.btrace/exception.exp: Increase BTS buffer size.
14778 2015-03-24 Pedro Alves <palves@redhat.com>
14780 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
14782 2015-03-24 Pedro Alves <palves@redhat.com>
14784 * gdb.threads/schedlock.exp (test_step): No longer expect that
14785 "set scheduler-locking step" with "next" over a function call runs
14788 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14790 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
14792 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14794 PR breakpoints/16466
14795 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
14796 * gdb.mi/mi-pending.c (thread_func): New function.
14797 (int main): Add threading support required.
14798 * gdb.mi/mi-pending.exp: Add tests for this issue.
14799 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
14800 (pendfunc2): Remove stdio dependency.
14801 * gdb.mi/mi-pendshr2.c: New file.
14803 2015-03-23 Keith Seitz <keiths@redhat.com>
14805 * gdb.linespec/keywords.c: New file.
14806 * gdb.linespec/keywords.exp: New file.
14808 2015-03-23 Keith Seitz <keiths@redhat.com>
14811 * gdb.dwarf2/staticvirtual.exp: New test.
14813 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14815 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
14816 * README: Remove HP-UX and gdb.hp.
14818 * configure: Regenerate.
14819 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
14820 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
14821 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
14822 gdb.hp/gdb.defects/Makefile.
14823 * gdb.hp/Makefile.in: File deleted.
14824 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
14825 * gdb.hp/gdb.aCC/optimize.c: File deleted.
14826 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
14827 * gdb.hp/gdb.aCC/run.c: File deleted.
14828 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
14829 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
14830 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
14831 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
14832 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
14833 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
14834 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
14835 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
14836 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
14837 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
14838 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
14839 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
14840 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
14841 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
14842 * gdb.hp/gdb.base-hp/reg.s: File deleted.
14843 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
14844 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
14845 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
14846 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
14847 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
14848 * gdb.hp/gdb.compat/Makefile.in: File deleted.
14849 * gdb.hp/gdb.compat/average.c: File deleted.
14850 * gdb.hp/gdb.compat/sum.c: File deleted.
14851 * gdb.hp/gdb.compat/xdb.c: File deleted.
14852 * gdb.hp/gdb.compat/xdb0.c: File deleted.
14853 * gdb.hp/gdb.compat/xdb0.h: File deleted.
14854 * gdb.hp/gdb.compat/xdb1.c: File deleted.
14855 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
14856 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
14857 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
14858 * gdb.hp/gdb.defects/Makefile.in: File deleted.
14859 * gdb.hp/gdb.defects/bs14602.c: File deleted.
14860 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
14861 * gdb.hp/gdb.defects/solib-d.c: File deleted.
14862 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
14863 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
14864 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
14865 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
14866 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
14867 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
14868 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
14869 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
14870 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
14871 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
14872 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
14873 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
14874 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
14875 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
14876 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
14877 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
14878 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
14879 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
14880 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
14881 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
14882 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
14883 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
14884 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
14885 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
14886 * gdb.hp/tools/odump: File deleted.
14888 2015-03-19 Pedro Alves <palves@redhat.com>
14890 * gdb.threads/continue-pending-status.exp (saw_thread_2)
14891 (saw_thread_3): New globals.
14892 (top level): Increment them when an event for the corresponding
14894 (no thread starvation): New test.
14896 2015-03-19 Pedro Alves <palves@redhat.com>
14898 * gdb.threads/continue-pending-status.c: New file.
14899 * gdb.threads/continue-pending-status.exp: New file.
14901 2015-03-18 Pedro Alves <palves@redhat.com>
14903 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
14904 Use gdb_is_target_remote instead of is_remote. Use
14905 gdb_test_multiple instead of gdb_expect. Exit early if
14906 gdb_test_multiple hits its internal matches. Tighten stepi tests
14907 expected output. Fail on exit with any signal, instead of just
14910 2015-03-18 Yao Qi <yao.qi@linaro.org>
14913 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
14915 * gdb.base/catch-syscall.exp: Don't skip it on
14916 aarch64*-*-linux* target. Remove elements in all_syscalls.
14917 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
14919 (setup_all_syscalls): New proc.
14921 2015-03-16 Yao Qi <yao.qi@linaro.org>
14923 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
14924 (top level): Skip tests if valid_addr_p returns false for
14927 2015-03-11 Andy Wingo <wingo@igalia.com>
14929 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
14931 2015-03-11 Yao Qi <yao.qi@linaro.org>
14933 * gdb.base/catch-syscall.exp: Fix typo in comments.
14935 2015-03-11 Yao Qi <yao.qi@linaro.org>
14937 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
14939 2015-03-09 Pedro Alves <palves@redhat.com>
14941 * dg-extract-results.py: Delete.
14943 2015-03-09 Pedro Alves <palves@redhat.com>
14945 Merge dg-extract-results.sh from GCC upstream (r218843).
14947 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
14948 * dg-extract-results.sh: Use --text with grep to avoid issues with
14949 binary files. Fall back to cat -v, if that doesn't work.
14951 2015-03-05 Pedro Alves <palves@redhat.com>
14953 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
14955 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
14957 * lib/mi-support.exp (mi_expect_interrupt): Accept
14958 alternative event for when in all-stop mode.
14960 2015-03-04 Pedro Alves <palves@redhat.com>
14962 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
14964 2015-03-04 Mark Kettenis <kettenis@gnu.org>
14966 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
14968 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14970 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
14971 regexps for GDB's current line display, accept a hex address
14972 preceding the line number.
14974 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14976 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
14977 the 'arch1' variable for "s390*-linux*" targets.
14979 2015-03-04 Pedro Alves <palves@redhat.com>
14981 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
14982 (main): Pass missing retval argument to pthread_join call.
14984 2015-03-02 Pedro Alves <palves@redhat.com>
14986 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
14987 (top level): Call do_test with non-stop as well.
14989 2015-03-02 Pedro Alves <palves@redhat.com>
14991 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
14994 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14996 * gdb.arch/s390-vregs.exp: New test.
14997 * gdb.arch/s390-vregs.S: New file.
14999 2015-02-27 Pedro Alves <palves@redhat.com>
15001 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
15002 call to catch_command_errors.
15003 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
15004 catch_command_errors.
15006 2015-02-27 Pedro Alves <palves@redhat.com>
15008 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
15009 "true" for boolean result.
15010 * gdb.gdb/selftest.exp (test_with_self): Also accept full
15013 2015-02-27 Pedro Alves <palves@redhat.com>
15015 * lib/unbuffer_output.c: New file.
15016 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
15017 (main): Call gdb_unbuffer_output.
15019 2015-02-27 Yao Qi <yao.qi@linaro.org>
15021 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
15024 2015-02-26 Doug Evans <dje@google.com>
15026 * gdb.cp/class2.cc (Dbase, D): New classes.
15027 (main): New local delta.
15028 * gdb.cp/class2.exp: Test printing delta.
15029 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
15030 (dynbar): New global.
15031 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
15033 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
15035 * gdb.compile/compile-ifunc.c: New file.
15036 * gdb.compile/compile-ifunc.exp: New file.
15038 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
15040 * gdb.base/structs.exp: Check for correct struct on finish.
15042 2015-02-26 Yao Qi <yao.qi@linaro.org>
15044 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
15047 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
15049 * gdb.arch/cordic.ko.bz2: New file.
15050 * gdb.arch/cordic.ko.debug.bz2: New file.
15051 * gdb.arch/ppc64-symtab-cordic.exp: New file.
15053 2015-02-25 Yao Qi <yao.qi@linaro.org>
15055 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
15056 aarch64*-*-* target.
15058 2015-02-23 Pedro Alves <palves@redhat.com>
15060 * lib/gdb.exp (delete_breakpoints): Rewrite using
15063 2015-02-23 Pedro Alves <palves@redhat.com>
15065 * gdb.base/info-os.c: Include stdlib.h.
15067 2015-02-22 Doug Evans <xdje42@gmail.com>
15070 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
15071 is read after symbols have been re-read.
15072 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
15073 * gdb.ada/exec_changed/second.adb (Second): Ditto.
15075 2015-02-21 Doug Evans <dje@google.com>
15077 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
15079 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15082 * gdb.arch/i386-biarch-core.core.bz2: New file.
15083 * gdb.arch/i386-biarch-core.exp: New file.
15085 2015-02-21 Pedro Alves <palves@redhat.com>
15087 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
15090 2015-02-20 Pedro Alves <palves@redhat.com>
15092 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
15095 2015-02-20 Pedro Alves <palves@redhat.com>
15097 * gdb.threads/multi-create-ns-info-thr.exp: New file.
15099 2015-02-20 Pedro Alves <palves@redhat.com>
15101 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
15102 clean_restart before gdb_target_supports_trace.
15104 2015-02-20 Pedro Alves <palves@redhat.com>
15107 * gdb.threads/clone-thread_db.c: New file.
15108 * gdb.threads/clone-thread_db.exp: New file.
15110 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
15112 PR breakpoints/16812
15113 * gdb.base/catch-gdb-caused-signals.c: New file.
15114 * gdb.base/catch-gdb-caused-signals.exp: New file.
15116 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
15118 * configure: Regenerated.
15119 * configure.ac: Use GDB_AC_TRANSFORM.
15120 * aclocal.m4: sinclude ../transform.m4.
15122 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
15124 * lib/dtrace.exp: New file.
15125 * gdb.base/dtrace-probe.exp: Likewise.
15126 * gdb.base/dtrace-probe.d: Likewise.
15127 * gdb.base/dtrace-probe.c: Likewise.
15128 * lib/pdtrace.in: Likewise.
15129 * configure.ac: Output variables with the transformed names of
15130 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
15131 * configure: Regenerated.
15133 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
15135 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
15136 expected message when trying to access $_probe_* convenience
15137 variables while not on a probe.
15139 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15141 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
15143 2015-02-11 Pedro Alves <pedro@codesourcery.com>
15145 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
15146 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
15148 2015-02-10 Doug Evans <xdje42@gmail.com>
15150 * lib/gdb.exp (gdb_load): Always return a result.
15152 2015-02-10 Pedro Alves <palves@redhat.com>
15154 * gdb.threads/signal-sigtrap.c: New file.
15155 * gdb.threads/signal-sigtrap.exp: New file.
15157 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
15159 * gdb.trace/no-attach-trace.c: New file.
15160 * gdb.trace/no-attach-trace.exp: New file.
15162 2015-02-09 Mark Wielaard <mjw@redhat.com>
15164 * gdb.dwarf2/atomic.c: New file.
15165 * gdb.dwarf2/atomic-type.exp: Likewise.
15167 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
15169 * gdb.btrace/buffer-size.exp: Update "info record" output.
15170 * gdb.btrace/delta.exp: Update "info record" output.
15171 * gdb.btrace/enable.exp: Update "info record" output.
15172 * gdb.btrace/finish.exp: Update "info record" output.
15173 * gdb.btrace/instruction_history.exp: Update "info record" output.
15174 * gdb.btrace/next.exp: Update "info record" output.
15175 * gdb.btrace/nexti.exp: Update "info record" output.
15176 * gdb.btrace/step.exp: Update "info record" output.
15177 * gdb.btrace/stepi.exp: Update "info record" output.
15178 * gdb.btrace/nohist.exp: Update "info record" output.
15180 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
15182 * gdb.btrace/buffer-size: New.
15184 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
15186 * gdb.btrace/delta.exp: Update "info record" output.
15187 * gdb.btrace/enable.exp: Update "info record" output.
15188 * gdb.btrace/finish.exp: Update "info record" output.
15189 * gdb.btrace/instruction_history.exp: Update "info record" output.
15190 * gdb.btrace/next.exp: Update "info record" output.
15191 * gdb.btrace/nexti.exp: Update "info record" output.
15192 * gdb.btrace/step.exp: Update "info record" output.
15193 * gdb.btrace/stepi.exp: Update "info record" output.
15194 * gdb.btrace/nohist.exp: Update "info record" output.
15196 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
15199 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
15201 2015-02-06 Pedro Alves <palves@redhat.com>
15203 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
15205 (seconds_left, again): New globals.
15206 (main): Wait seconds_left in a 1-second sleep loop instead of
15207 sleeping 180 seconds. If 'again' is set, reset the seconds
15209 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
15210 'again' in the inferior before detaching. Print the seconds left.
15211 (options): New global.
15212 (top level): Build program with -DTIMEOUT=$timeout.
15214 2015-02-06 Pedro Alves <palves@redhat.com>
15216 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
15217 determine how many seconds to pass to 'alarm'.
15218 * gdb.base/gdb-sigterm.exp (top level): Build program with
15219 -DTIMEOUT=$timeout.
15220 (do_test): Return success/failure indication. Add more verbose
15221 logging. Don't fail if 200 single steps are seen. Instead, fail
15222 when the test times out.
15223 (passes): New global.
15224 (top level): Break the testing loop if testing fails on any
15225 iteration. Use gdb_assert.
15227 2015-02-04 Don Breazeal <donb@codesourcery.com>
15229 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
15230 and initialize them.
15231 (ipc_cleanup): New function.
15232 (main): Don't declare shmid, semid, and msqid. Add a call to
15233 atexit so that we call ipc_cleanup on exit.
15235 2015-02-04 Pedro Alves <palves@redhat.com>
15237 * boards/native-extended-gdbserver.exp: Remove any target variant
15238 specifications from the board name before clearing the isremote
15239 flag from board_info.
15241 2015-01-31 Doug Evans <xdje42@gmail.com>
15243 * gdb.base/maint.exp <maint print type argc>: Update expected output.
15245 2015-01-31 Gary Benson <gbenson@redhat.com>
15247 * gdb.base/completion.exp: Disable completion limiting for
15248 existing tests. Add new tests to check completion limiting.
15249 * gdb.linespec/ls-errs.exp: Disable completion limiting.
15251 2015-01-31 Doug Evans <xdje42@gmail.com>
15253 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
15255 2015-01-31 Doug Evans <xdje42@gmail.com>
15257 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
15258 entries. Duplicate file section script entries.
15259 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
15260 inlined entries. Add test for safe-path rejection.
15261 * gdb.python/py-section-script.c: Add duplicate inlined section script
15262 entries. Duplicate file section script entries.
15263 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
15264 inlined entries. Add test for safe-path rejection.
15266 2015-01-29 Joel Brobecker <brobecker@adacore.com>
15268 * gdb.ada/disc_arr_bound: New testcase.
15270 2015-01-29 Joel Brobecker <brobecker@adacore.com>
15272 * gdb.ada/mi_var_array: New testcase.
15274 2015-01-27 Doug Evans <dje@google.com>
15276 * gdb.python/py-objfile.exp: Add tests for objfile.username.
15277 Add test for objfile.filename, objfile.username after objfile
15280 2015-01-26 Joel Brobecker <brobecker@adacore.com>
15282 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
15283 the second test to print the name attribute of value
15284 returned by the call to gdb.lookup_type, and adjust
15285 the expected output accordingly.
15287 2015-01-25 Mark Wielaard <mjw@redhat.com>
15289 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
15290 * gdb.base/disp-step-fork.c: Include unistd.h.
15291 * gdb.base/siginfo-obj.c: Include stdio.h.
15292 * gdb.base/siginfo-thread.c: Likewise.
15293 * gdb.mi/non-stop.c: Include unistd.h.
15294 * gdb.mi/nsthrexec.c: Include stdio.h.
15295 * gdb.mi/pthreads.c: Include unistd.h.
15296 * gdb.modula2/unbounded1.c (main): Declare returns int.
15297 * gdb.reverse/consecutive-reverse.c: Likewise.
15298 * gdb.threads/create-fail.c: Include unistd.h.
15299 * gdb.threads/killed.c: Likewise.
15300 * gdb.threads/linux-dp.c: Likewise.
15301 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
15302 * gdb.threads/non-ldr-exc-2.c: Likewise.
15303 * gdb.threads/non-ldr-exc-3.c: Likewise.
15304 * gdb.threads/non-ldr-exc-4.c: Likewise.
15305 * gdb.threads/pthreads.c: Include unistd.h.
15306 (main): Declare returns int.
15307 * gdb.threads/tls-main.c (foo): New declaration.
15308 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
15310 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
15312 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
15313 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
15315 2015-01-15 Mark Wielaard <mjw@redhat.com>
15317 * gdb.base/noreturn-return.c: New file.
15318 * gdb.base/noreturn-return.exp: New file.
15319 * gdb.base/noreturn-finish.c: New file.
15320 * gdb.base/noreturn-finish.exp: New file.
15322 2015-01-23 Pedro Alves <palves@redhat.com>
15324 * gdb.threads/continue-pending-after-query.c: New file.
15325 * gdb.threads/continue-pending-after-query.exp: New file.
15327 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
15328 Simon Marchi <simon.marchi@ericsson.com>
15330 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
15331 * gdb.base/valgrind-db-attach.exp: Same.
15332 * gdb.base/valgrind-infcall.exp: Same.
15333 * lib/mi-support.exp (default_mi_gdb_start): Same.
15334 * lib/prompt.exp (default_prompt_gdb_start): Same.
15335 * lib/gdb.exp (default_gdb_spawn): Same.
15336 (gdb_interact): New.
15339 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15341 * gdb.compile/compile.exp (pointer to jit function): New test.
15343 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
15345 * lib/gdb.exp (supports_process_record): Return true for
15347 (supports_reverse): Likewise.
15349 2015-01-15 Don Breazeal <donb@codesourcery.com>
15351 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
15352 instead of checking whether the target board is remote and
15353 use spawn_wait_for_attach instead of exec/sleep.
15354 * gdb.base/attach-twice.exp: Likewise.
15356 2015-01-15 Joel Brobecker <brobecker@adacore.com>
15358 * gdb.ada/var_arr_attrs: New testcase.
15360 2015-01-14 Pedro Alves <palves@redhat.com>
15361 Joel Brobecker <brobecker@adacore.com>
15364 * gdb.base/bp-cmds-execution-x-script.c: New file.
15365 * gdb.base/bp-cmds-execution-x-script.exp: New file.
15366 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
15368 2015-01-14 Pedro Alves <palves@redhat.com>
15371 * gdb.base/batch-preserve-term-settings.c: New file.
15372 * gdb.base/batch-preserve-term-settings.exp: New file.
15374 2015-01-13 Doug Evans <dje@google.com>
15376 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
15379 2015-01-13 Joel Brobecker <brobecker@adacore.com>
15381 * Makefile.in (clean mostlyclean): Do not delete *.py.
15383 2015-01-13 Joel Brobecker <brobecker@adacore.com>
15385 * gdb.python/py-lookup-type.exp: New file.
15387 2015-01-12 Pedro Alves <palves@redhat.com>
15389 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
15390 restore GDBFLAGS before returning.
15392 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15394 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
15395 is_amd64_regs_target and is_x86_like_target.
15397 2015-01-11 Doug Evans <xdje42@gmail.com>
15399 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
15400 is given without an explicit form.
15401 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
15403 * gdb.dwarf/corrupt.exp: Ditto.
15404 * gdb.dwarf2/enum-type.exp: Ditto.
15405 * gdb.trace/entry-values.exp: Ditto.
15406 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
15408 2015-01-11 Doug Evans <xdje42@gmail.com>
15411 * gdb.base/maint.exp: Remove references to "maint demangle".
15412 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
15413 Add tests for explicitly specifying language to demangle.
15414 * gdb.dlang/demangle.exp: Ditto.
15416 2015-01-09 Pedro Alves <palves@redhat.com>
15418 * gdb.threads/non-stop-fair-events.c: New file.
15419 * gdb.threads/non-stop-fair-events.exp: New file.
15421 2015-01-09 Pedro Alves <palves@redhat.com>
15423 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
15424 the global scope. Set a breakpoint after all threads are started
15425 rather than stepping over two source lines. Expect the prompt.
15426 * gdb.base/watch_thread_num.c (threads_started_barrier): New
15429 (main): Use threads_started_barrier to wait for all threads to
15430 start. Main thread no longer calls thread_function. Exit after
15432 (loop): New function.
15433 (thread_function): Wait on threads_started_barrier barrier. Call
15434 'loop' at each iteration.
15435 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
15436 threads have started, instead of hardcoding number of "next"
15437 steps. Use an access watchpoint instead of a write watchpoint.
15439 2015-01-09 Pedro Alves <palves@redhat.com>
15441 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
15442 (thread_func): Wait on barrier.
15443 (main): Wait for all threads to start before stopping GDB.
15444 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
15446 (thread1_func, thread2_func): Wait on barrier.
15447 (main): Wait for all threads to start before stopping GDB.
15448 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
15450 (thread1_func, thread2_func): Wait on barrier.
15451 (main): Wait for all threads to start before stopping GDB.
15453 2015-01-09 Pedro Alves <palves@redhat.com>
15455 * gdb.threads/attach-many-short-lived-threads.c: New file.
15456 * gdb.threads/attach-many-short-lived-threads.exp: New file.
15458 2014-01-09 Pedro Alves <palves@redhat.com>
15460 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
15461 instead of to thread 2.
15462 * gdb.threads/signal-command-multiple-signals-pending.c (main):
15463 Add barrier around each pthread_create call instead of around all
15465 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
15466 Set a break on thread_function and have the child threads hit it
15469 2015-01-09 Pedro Alves <palves@redhat.com>
15471 * lib/gdb.exp (can_spawn_for_attach): New procedure.
15472 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
15474 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
15475 checking whether the target board is remote.
15476 * gdb.multi/multi-attach.exp: Likewise.
15477 * gdb.python/py-sync-interp.exp: Likewise.
15478 * gdb.server/ext-attach.exp: Likewise.
15479 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
15480 tests that need to attach, instead of checking whether the target
15481 board is remote at the top of the file.
15483 2015-01-08 Yao Qi <yao@codesourcery.com>
15485 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
15487 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15489 Fix testcase compilation.
15490 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
15492 2015-01-06 Joel Brobecker <brobecker@adacore.com>
15494 * gdb.python/py-type.exp: Add a couple test about empty
15495 array creation, and negative-length array creation.
15497 2015-01-02 Doug Evans <xdje42@gmail.com>
15499 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
15501 2015-01-02 Doug Evans <dje@google.com>
15503 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
15505 2014-12-29 Yao Qi <yao@codesourcery.com>
15507 * gdb.trace/entry-values.exp: Update comments. Rename variable
15508 bar_call_foo to returned_from_foo.
15510 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
15513 * gdb.linespec/break-asm-file.c: New file.
15514 * gdb.linespec/break-asm-file.exp: New file.
15515 * gdb.linespec/break-asm-file0.s: New file.
15516 * gdb.linespec/break-asm-file1.s: New file.
15518 2014-12-18 Nigel Stephens <nigel@mips.com>
15519 Maciej W. Rozycki <macro@codesourcery.com>
15521 * gdb.base/float.exp: Handle the new output from "info float" on
15524 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
15526 Fix MinGW compilation.
15527 * gdb.compile/compile-ops.exp: Update untested message if
15528 !skip_compile_feature_tests.
15529 * gdb.compile/compile-setjmp.exp: Likewise.
15530 * gdb.compile/compile-tls.exp: Likewise.
15531 * gdb.compile/compile.exp: Likewise.
15532 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
15533 supported on this host".
15535 2014-12-16 Doug Evans <xdje42@gmail.com>
15537 * boards/stabs.exp: New file.
15539 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
15541 * gdb.base/completion.exp: Adjust to format changes of "maint
15542 print user-registers".
15544 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
15547 * gdb.arch/aarch64-fp.c: New file.
15548 * gdb.arch/aarch64-fp.exp: New file.
15550 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
15552 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
15553 r210637, r210913, r211666, r215400, r215817).
15555 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
15556 * dg-extract-results.py: New file.
15557 * dg-extract-results.sh: Use it if the environment seems
15560 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
15562 * dg-extract-results.py (parse_run): Handle warnings that
15563 are printed before a test harness is run.
15565 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
15567 * dg-extract-results.py (Named): Remove __cmp__ method.
15568 (output_variation): Use a key to sort variation.harnesses.
15570 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
15572 * dg-extract-results.py: For Python 3, force sys.stdout to
15573 handle surrogate escape sequences.
15574 (safe_open): New function.
15575 (output_segment, main): Use it.
15577 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
15579 * dg-extract-results.py (Prog.result_re): Include options
15582 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
15584 * dg-extract-results.py (output_variation): Always sort if
15587 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
15589 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
15590 as long as we get pagination notifications.
15592 2014-12-15 Jason Merrill <jason@redhat.com>
15594 * Makefile.in (check-gdb.%): Restore.
15595 * README: Mention it.
15597 2014-12-13 Joel Brobecker <brobecker@adacore.com>
15599 * gdb.ada/str_uninit: New testcase.
15601 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15604 * gdb.base/vla-stub-define.c: New file.
15605 * gdb.base/vla-stub.c: New file.
15606 * gdb.base/vla-stub.exp: New file.
15608 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
15609 Jan Kratochvil <jan.kratochvil@redhat.com>
15610 Tom Tromey <tromey@redhat.com>
15612 * configure.ac: Add gdb.compile/.
15613 * configure: Regenerate.
15614 * gdb.compile/Makefile.in: New file.
15615 * gdb.compile/compile-ops.exp: New file.
15616 * gdb.compile/compile-ops.c: New file.
15617 * gdb.compile/compile-tls.c: New file.
15618 * gdb.compile/compile-tls.exp: New file.
15619 * gdb.compile/compile-constvar.S: New file.
15620 * gdb.compile/compile-constvar.c: New file.
15621 * gdb.compile/compile-mod.c: New file.
15622 * gdb.compile/compile-nodebug.c: New file.
15623 * gdb.compile/compile-setjmp-mod.c: New file.
15624 * gdb.compile/compile-setjmp.c: New file.
15625 * gdb.compile/compile-setjmp.exp: New file.
15626 * gdb.compile/compile-shlib.c: New file.
15627 * gdb.compile/compile.c: New file.
15628 * gdb.compile/compile.exp: New file.
15629 * lib/gdb.exp (skip_compile_feature_tests): New proc.
15631 2014-12-12 Tom Tromey <tromey@redhat.com>
15633 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
15634 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
15636 2014-12-12 Doug Evans <dje@google.com>
15638 * lib/gdb-python.exp (get_python_valueof): New function.
15639 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
15641 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15643 * gdb.base/completion.exp: Add test for completion of "info
15646 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
15648 * gdb.base/func-ptrs.c: New file.
15649 * gdb.base/func-ptrs.exp: New file.
15651 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
15653 PR breakpoints/17012
15654 * gdb.base/dprintf-detach.c: New file.
15655 * gdb.base/dprintf-detach.exp: New file.
15657 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
15659 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
15660 * lib/gdb.exp (target_is_gdbserver): New procedure.
15662 2014-12-08 Doug Evans <dje@google.com>
15664 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
15666 2014-12-05 Yao Qi <yao@codesourcery.com>
15668 * gdb.guile/scm-error.exp: Remove the third argument to
15669 gdb_remote_download.
15670 * gdb.guile/scm-frame-args.exp: Likewise.
15671 * gdb.guile/scm-section-script.exp: Likewise.
15673 2014-12-05 Yao Qi <yao@codesourcery.com>
15675 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
15677 2014-12-04 Doug Evans <dje@google.com>
15679 * gdb.python/py-objfile.exp: Add tests for
15680 objfile.add_separate_debug_file.
15682 2014-12-04 Doug Evans <dje@google.com>
15684 * lib/gdb.exp (get_build_id): New function.
15685 (build_id_debug_filename_get): Rewrite to use it.
15686 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
15688 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
15690 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
15691 `method(long)', not just 0x0.
15692 * gdb.cp/nsalias.exp: Align code labels to 4.
15693 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
15694 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
15695 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
15696 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
15697 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
15698 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
15700 2014-12-02 Doug Evans <dje@google.com>
15703 * gdb.cp/anon-ns.cc: Move guts of this file to ...
15704 * gdb.cp/anon-ns2.cc: ... here. New file.
15705 * gdb.cp/anon-ns.exp: Update.
15707 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
15709 * gdb.python/py-events.py (inferior_call_handler): New.
15710 (register_changed_handler, memory_changed_handler): New.
15711 (test_events.invoke): Register new handlers.
15712 * gdb.python/py-events.exp: Add tests for inferior call,
15713 memory_changed and register_changed events.
15715 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
15717 * gdb.base/execl-update-breakpoints.exp: Specify the link address
15718 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
15719 if the linker doesn't understand this.
15721 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
15723 * gdb.python/python.exp: Change expected reply to help().
15725 2014-12-01 Yao Qi <yao@codesourcery.com>
15727 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
15728 AC_CONFIG_SUBDIRS(gdb.gdbtk).
15729 * configure: Re-generated.
15731 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
15733 * gdb.cp/chained-calls.cc: New file.
15734 * gdb.cp/chained-calls.exp: New file.
15735 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
15737 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
15739 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
15740 * gdb.dwarf2/symtab-producer.exp: Same.
15741 * gdb.gdb/python-interrupts.exp: Same.
15742 * gdb.gdb/python-selftest.exp: Same.
15743 * gdb.python/py-linetable.exp: Same.
15744 * gdb.python/py-type.exp: Same.
15745 * gdb.python/py-value-cc.exp: Same.
15746 * gdb.python/py-value.exp: Same.
15748 2014-11-28 Yao Qi <yao@codesourcery.com>
15750 * gdb.base/break-probes.exp: Match library name prefixed with
15753 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
15755 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
15756 test expected output. Add parentheses for the call to print.
15757 Remove L suffix from integers.
15759 2014-11-26 Doug Evans <dje@google.com>
15761 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
15763 2014-11-22 Yao Qi <yao@codesourcery.com>
15765 * gdb.trace/entry-values.c: Remove asms.
15766 (foo): Add foo_label.
15767 (bar): Add bar_label.
15768 * gdb.trace/entry-values.exp: Remove code computing foo's
15769 length and bar's length.
15770 (Dwarf::assemble): Invoke function_range for bar and use
15771 MACRO_AT_func for foo.
15773 2014-11-22 Yao Qi <yao@codesourcery.com>
15775 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
15776 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
15777 Use .Lgcc43_procstart instead of gcc43.
15779 2014-11-21 Joel Brobecker <brobecker@adacore.com>
15781 * gdb.ada/n_arr_bound: New testcase.
15783 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
15785 PR breakpoints/10737
15786 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
15787 test_catch_syscall_multi_arch.
15788 (test_catch_syscall_multi_arch): New function.
15790 2014-11-20 Doug Evans <xdje42@gmail.com>
15792 * gdb.base/maint.exp: Update expected output.
15794 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
15796 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
15797 4-byte instruction on S390.
15799 2014-11-19 Joel Brobecker <brobecker@adacore.com>
15801 * gdb.ada/arr_arr: New testcase.
15803 2014-11-19 Joel Brobecker <brobecker@adacore.com>
15805 * gdb.ada/pkd_arr_elem: New Testcase.
15807 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
15809 * gdb.reverse/break-precsave: Expect completion message for
15811 * gdb.reverse/consecutive-precsave.exp: Likewise.
15812 * gdb.reverse/finish-precsave.exp: Likewise.
15813 * gdb.reverse/i386-precsave.exp: Likewise.
15814 * gdb.reverse/machinestate-precsave.exp: Likewise.
15815 * gdb.reverse/sigall-precsave.exp: Likewise.
15816 * gdb.reverse/solib-precsave.exp: Likewise.
15817 * gdb.reverse/step-precsave.exp: Likewise.
15818 * gdb.reverse/until-precsave.exp: Likewise.
15819 * gdb.reverse/watch-precsave.exp: Likewise.
15821 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15823 * gdb.base/bp-permanent.c: Include unistd.h.
15824 * gdb.python/py-framefilter-mi.c (main): Add return type.
15825 * gdb.python/py-framefilter.c (main): Likewise.
15826 * gdb.trace/actions-changed.c (main): Likewise.
15828 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15830 * gdb.mi/until.c: Add eye-catchers.
15831 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
15834 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15836 * gdb.base/condbreak.exp: Drop references to removed non-prototype
15837 function header variants in break1.c.
15838 * gdb.base/ena-dis-br.exp: Likewise.
15839 * gdb.base/hbreak2.exp: Likewise.
15840 * gdb.reverse/until-precsave.exp: Drop references to removed
15841 non-prototype function header variants in ur1.c.
15842 * gdb.reverse/until-reverse.exp: Likewise.
15844 2014-11-17 Petr Machata <pmachata@redhat.com>
15846 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
15847 ${_cu_offset_size} bytes abbrev offset.
15849 2014-11-15 Doug Evans <xdje42@gmail.com>
15852 * gdb.base/line-symtabs.exp: New file.
15853 * gdb.base/line-symtabs.c: New file.
15854 * gdb.base/line-symtabs.h: New file.
15856 2014-11-14 Yao Qi <yao@codesourcery.com>
15858 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
15859 (func): Add label func_label.
15860 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
15861 Replace low_pc and high_pc with MACRO_AT_range.
15862 Replace name, low_pc and high_pc with MACRO_AT_func.
15864 2014-11-14 Yao Qi <yao@codesourcery.com>
15866 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
15867 Replace name, low_pc and high_pc with MACRO_AT_func.
15869 2014-11-14 Yao Qi <yao@codesourcery.com>
15871 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
15872 produce debug information.
15873 * gdb.dwarf2/implptr-optimized-out.S: Removed.
15875 2014-11-14 Yao Qi <yao@codesourcery.com>
15877 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
15878 object and get function length.
15879 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
15880 with MACRO_AT_func.
15881 (top-level): Replace gdb_compile and clean_restart with
15882 prepare_for_testing.
15883 * gdb.dwarf2/main.c (main): Add label main_label.
15885 2014-11-14 Yao Qi <yao@codesourcery.com>
15887 * lib/dwarf.exp (function_range): New procedure.
15888 (Dwarf::_handle_macro_at_func): New procedure.
15889 (Dwarf::_handle_macro_at_range): New procedure.
15890 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
15892 2014-11-14 Yao Qi <yao@codesourcery.com>
15894 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
15895 (_handle_attribute): New procedure.
15897 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15899 * gdb.ada/cond_lang/foo.c (callme): Add return type.
15900 * gdb.base/call-sc.c (zed): Likewise.
15901 * gdb.base/checkpoint.c (main): Likewise.
15902 * gdb.base/dump.c (main): Likewise.
15903 * gdb.base/gcore.c (main): Likewise.
15904 * gdb.base/huge.c (main): Likewise.
15905 * gdb.base/multi-forks.c (main): Likewise.
15906 * gdb.base/pr10179-a.c (main): Likewise.
15907 * gdb.base/savedregs.c (main): Likewise.
15908 * gdb.base/sigaltstack.c (main): Likewise.
15909 * gdb.base/siginfo.c (main): Likewise.
15910 * gdb.base/structs.c (zed): Likewise.
15911 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
15912 * gdb.mi/mi-syn-frame.c (main): Likewise.
15913 * gdb.mi/until.c (foo, main): Likewise.
15914 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
15915 * gdb.base/solib-weak.c (foo): Declare.
15916 * gdb.base/attach-twice.c: Include stdio.h.
15917 * gdb.base/weaklib1.c: Likewise.
15918 * gdb.base/weaklib2.c: Likewise.
15919 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
15920 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
15922 * gdb.base/attach-pie-misread.c: Include stdlib.h.
15923 * gdb.mi/mi-exit-code.c: Likewise.
15924 * gdb.base/break-interp-lib.c: Include string.h.
15925 * gdb.base/coremaker.c: Likewise.
15926 * gdb.base/testenv.c: Likewise.
15927 * gdb.python/py-finish-breakpoint.c: Likewise.
15928 * gdb.base/inferior-died.c: Include sys/wait.h.
15929 * gdb.base/fileio.c: Include time.h.
15930 * gdb.base/async-shell.c: Include unistd.h.
15931 * gdb.base/dprintf-non-stop.c: Likewise.
15932 * gdb.base/info-os.c: Likewise.
15933 * gdb.mi/mi-console.c: Likewise.
15934 * gdb.mi/watch-nonstop.c: Likewise.
15935 * gdb.python/py-events.c: Likewise.
15936 * gdb.base/async.c (baz): Move up before its invocation.
15937 * gdb.base/code_elim2.c (my_global_func): Likewise.
15938 * gdb.base/skip-solib-lib.c (multiply): Likewise.
15939 * gdb.base/advance.c (func2): Likewise.
15941 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15943 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
15945 * gdb.base/annota3.c: Likewise.
15946 * gdb.base/async.c: Likewise.
15947 * gdb.base/average.c: Likewise.
15948 * gdb.base/call-ar-st.c: Likewise.
15949 * gdb.base/call-rt-st.c: Likewise.
15950 * gdb.base/call-sc.c: Likewise.
15951 * gdb.base/call-strs.c: Likewise.
15952 * gdb.base/ending-run.c: Likewise.
15953 * gdb.base/execd-prog.c: Likewise.
15954 * gdb.base/exprs.c: Likewise.
15955 * gdb.base/foll-exec.c: Likewise.
15956 * gdb.base/foll-fork.c: Likewise.
15957 * gdb.base/foll-vfork.c: Likewise.
15958 * gdb.base/funcargs.c: Likewise.
15959 * gdb.base/gcore.c: Likewise.
15960 * gdb.base/jump.c: Likewise.
15961 * gdb.base/langs0.c: Likewise.
15962 * gdb.base/langs1.c: Likewise.
15963 * gdb.base/langs2.c: Likewise.
15964 * gdb.base/mips_pro.c: Likewise.
15965 * gdb.base/nodebug.c: Likewise.
15966 * gdb.base/opaque0.c: Likewise.
15967 * gdb.base/opaque1.c: Likewise.
15968 * gdb.base/recurse.c: Likewise.
15969 * gdb.base/run.c: Likewise.
15970 * gdb.base/scope0.c: Likewise.
15971 * gdb.base/scope1.c: Likewise.
15972 * gdb.base/setshow.c: Likewise.
15973 * gdb.base/setvar.c: Likewise.
15974 * gdb.base/shmain.c: Likewise.
15975 * gdb.base/shr1.c: Likewise.
15976 * gdb.base/shr2.c: Likewise.
15977 * gdb.base/sigall.c: Likewise.
15978 * gdb.base/signals.c: Likewise.
15979 * gdb.base/so-indr-cl.c: Likewise.
15980 * gdb.base/solib2.c: Likewise.
15981 * gdb.base/structs.c: Likewise.
15982 * gdb.base/sum.c: Likewise.
15983 * gdb.base/vforked-prog.c: Likewise.
15984 * gdb.base/watchpoint.c: Likewise.
15985 * gdb.reverse/shr2.c: Likewise.
15986 * gdb.reverse/until-reverse.c: Likewise.
15987 * gdb.reverse/ur1.c: Likewise.
15988 * gdb.reverse/watch-reverse.c: Likewise.
15990 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15992 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
15994 * gdb.base/sepdebug.exp: Drop references to removed code.
15996 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15998 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
15999 variant. Preserve original line numbering.
16000 * gdb.base/list1.c: Likewise.
16002 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16004 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
16006 * gdb.base/break1.c: Likewise.
16007 * gdb.base/break.exp: Drop references to removed code.
16009 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16011 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
16014 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16016 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
16018 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16020 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
16021 logic into perform_all_tests() and invoke it with and without
16022 function header prototypes.
16023 (do_function_calls): Remove conditional XFAIL for PR 5318.
16024 (rerun_and_prepare): Remove duplicate code.
16025 (perform_all_tests): New. Main logic moved here.
16027 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16029 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
16030 code guarded by #ifdef NO_PROTOTYPES.
16031 (t_double_many_args): Likewise.
16032 (DEF_FUNC_MANY_ARGS_1): Likewise.
16033 (DEF_FUNC_VALUES_1): Likewise.
16034 (t_structs_ldc): Renamed from t_structs_fc in conditional code
16035 guarded by #ifdef PROTOTYPES.
16037 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16039 * gdb.mi/mi-console.c: Add eye-catcher.
16040 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
16041 instead of literal line number.
16043 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16045 * gdb.base/shr2.c: Add eye-catcher.
16046 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
16049 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16051 * gdb.base/jump.c: Add eye-catchers.
16052 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
16055 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16057 * gdb.base/execd-prog.c: Add eye-catchers.
16058 * gdb.base/foll-exec.c: Likewise.
16059 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
16062 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16064 * gdb.base/ending-run.c: Add eye-catchers.
16065 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
16066 literal line numbers.
16068 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16070 * gdb.base/call-rt-st.c: Add eye-catchers.
16071 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
16072 literal line numbers.
16074 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16076 * gdb.base/call-ar-st.c: Add eye-catchers.
16077 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
16078 literal line numbers.
16080 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16082 * gdb.base/average.c: Add eye-catchers.
16083 * gdb.base/sum.c: Likewise.
16084 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
16085 regexps dynamically.
16087 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16089 * gdb.base/solib1.c: Add eye-catchers.
16090 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
16091 literal line numbers.
16093 2014-11-12 Pedro Alves <palves@redhat.com>
16095 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
16098 2014-11-12 Pedro Alves <palves@redhat.com>
16100 * gdb.arch/i386-bp_permanent.c: New file.
16101 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
16102 (srcfile): Set to i386-bp_permanent.c.
16103 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
16104 that stepi does not execute the 'leave' instruction, instead of
16105 testing it does execute.
16106 * gdb.base/bp-permanent.c: New file.
16107 * gdb.base/bp-permanent.exp: New file.
16109 2014-11-10 Doug Evans <xdje42@gmail.com>
16112 * gdb.base/symtab-search-order.exp: New file.
16113 * gdb.base/symtab-search-order.c: New file.
16114 * gdb.base/symtab-search-order-1.c: New file.
16115 * gdb.base/symtab-search-order-shlib-1.c: New file.
16117 2014-11-07 Pedro Alves <palves@redhat.com>
16120 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
16123 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
16126 * gdb.cp/pr17494.cc: New file.
16127 * gdb.cp/pr17494.exp: New file.
16129 2014-11-02 Yao Qi <yao@codesourcery.com>
16131 * gdb.python/python.exp: Get working directory and match the
16132 output of "set extended-prompt \\w " with it.
16134 2014-10-30 Doug Evans <dje@google.com>
16136 * gdb.python/py-objfile.exp: Add tests for setting random attributes
16138 * gdb.python/py-progspace.exp: Add tests for setting random attributes
16141 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
16143 * gdb.base/fullpath-expand.exp: Skip for a remote host.
16144 * gdb.base/realname-expand.exp: Likewise.
16145 * gdb.linespec/macro-relative.exp: Likewise.
16147 2014-10-29 Pedro Alves <palves@redhat.com>
16150 * gdb.threads/schedlock.c (some_function): New function.
16151 (call_function): New global.
16152 (MAYBE_CALL_SOME_FUNCTION): New macro.
16153 (thread_function): Call it.
16154 * gdb.threads/schedlock.exp (get_args): Add description parameter,
16155 and use it instead of a global counter. Adjust all callers.
16156 (get_current_thread): Use "find current thread" for test message
16157 here rather than having all callers pass down the same string.
16158 (goto_loop): New procedure, factored out from ...
16159 (my_continue): ... this.
16160 (step_ten_loops): Change parameter from test message to command to
16162 (list_count): Delete global.
16163 (check_result): New procedure, factored out from duplicate top
16165 (continue tests): Wrap in with_test_prefix.
16166 (test_step): New procedure, factored out from duplicate top level
16168 (top level): Test "step" in combination with all scheduler-locking
16169 modes. Test "next" in combination with all scheduler-locking
16170 modes, and in combination with stepping over a function call or
16172 * gdb.threads/next-bp-other-thread.c: New file.
16173 * gdb.threads/next-bp-other-thread.exp: New file.
16175 2014-10-29 Pedro Alves <palves@redhat.com>
16178 * gdb.python/python.exp: Test a multi-line command that spawns
16179 interactive Python.
16180 * gdb.base/multi-line-starts-subshell.exp: New file.
16182 2014-10-29 Yao Qi <yao@codesourcery.com>
16184 * gdb.base/fileio.exp: Make directories on host.
16186 2014-10-29 Yao Qi <yao@codesourcery.com>
16188 * gdb.base/fileio.c (test_write): Close the file.
16190 2014-10-28 Pedro Alves <palves@redhat.com>
16193 * gdb.base/sigstep.c (no_handler): New global.
16194 (main): If 'no_handler is true, set the signal handlers to
16196 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
16197 with_sw_watch and no_handler parameters. Handle them.
16198 (top level) <stepping over handler when stopped at a breakpoint
16199 test>: Add a test axis for testing with a software watchpoint, and
16200 another for testing with the signal handler set to SIG_IGN.
16201 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
16202 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
16204 2014-10-28 Pedro Alves <palves@redhat.com>
16207 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
16208 * gdb.base/sigstep.exp (other_handler_location): New global.
16209 (advance): Support stepping into the signal handler, and running
16210 commands while in the handler.
16211 (in_handler_map): New global.
16212 (top level): In the advance test, add combinations for getting
16213 into the handler with stepping commands, and for running commands
16214 in the handler. Add comment descripting the advancei tests.
16216 2014-10-28 Pedro Alves <palves@redhat.com>
16218 * gdb.base/sigstep.exp: Use build_executable instead of
16219 prepare_for_testing.
16220 (top level): Move code that starts GDB, runs to main and creates a
16222 (restart): ... this new procedure.
16223 (top level): Move backtrace from signal handler test to ...
16224 (validate_backtrace): ... this new procedure.
16225 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
16226 with_test_prefix. Always restart GDB.
16227 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
16228 with_test_prefix. Always restart GDB. No need to delete
16229 breakpoints after the test.
16230 (test_skip_handler): Remove prefix parameter.
16231 (skip_over_handler, breakpoint_to_handler)
16232 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
16233 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
16234 restart GDB. No need to delete breakpoints after the test.
16235 (top level): Use foreach to call the test procedures with
16236 different commands.
16238 2014-10-28 Pedro Alves <palves@redhat.com>
16240 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
16241 instead of GNATS numbers.
16242 * gdb.base/sigbpt.exp: Likewise.
16243 * gdb.base/siginfo.exp: Likewise.
16244 * gdb.base/sigstep.exp: Likewise.
16246 2014-10-27 Pedro Alves <palves@redhat.com>
16248 * gdb.base/sigstep.c (dummy): New global.
16249 (main): Issue a couple writes to the new global.
16250 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
16252 (skip_over_handler): Use test_skip_handler.
16253 (top level): Call skip_over_handler for stepi and nexti too.
16254 (breakpoint_over_handler): Use test_skip_handler.
16255 (top level): Call breakpoint_over_handler for stepi and nexti too.
16257 2014-10-27 Yao Qi <yao@codesourcery.com>
16259 * gdb.trace/tfile.c (adjust_function_address)
16260 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
16261 function descriptor.
16263 2014-10-24 Don Breazeal <donb@codesourcery.com>
16265 * gdb.base/foll-fork.exp (test_follow_fork,
16266 catch_fork_child_follow): Check for updated fork messages emitted
16268 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
16269 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
16270 vfork_and_exec_child_follow_through_step): Check for updated vfork
16271 messages emitted from infrun.c.
16273 2014-10-24 Pedro Alves <palves@redhat.com>
16275 * gdb.base/corefile.exp: Remove references to ultrix.
16276 * gdb.base/interrupt.exp: Likewise.
16277 * gdb.base/whatis.exp: Likewise.
16278 * gdb.gdb/selftest.exp: Likewise.
16279 * gdb.threads/manythreads.exp: Likewise.
16280 * gdb.threads/print-threads.exp: Likewise.
16281 * gdb.threads/pthreads.exp:: Likewise.
16282 * gdb.threads/schedlock.exp: Likewise.
16284 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
16286 * gdb.cp/non-trivial-retval.cc: Add a test case.
16287 * gdb.cp/non-trivial-retval.exp: Add a test.
16289 2014-10-20 Yao Qi <yao@codesourcery.com>
16291 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
16292 * gdb.python/py-objfile-script-gdb.py: New file.
16293 * gdb.python/py-objfile-script.exp: Update reference to
16294 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
16295 of remote_download. Remove the dest file.
16297 2014-10-20 Yao Qi <yao@codesourcery.com>
16299 * gdb.base/checkpoint.exp: Don't remove file copied on host.
16300 * gdb.base/step-line.exp: Likewise.
16301 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
16302 * gdb.dwarf2/dw2-basic.exp: Likewise.
16303 * gdb.dwarf2/dw2-compressed.exp: Likewise.
16304 * gdb.dwarf2/dw2-filename.exp: Likewise.
16305 * gdb.dwarf2/dw2-intercu.exp: Likewise.
16306 * gdb.dwarf2/dw2-intermix.exp: Likewise.
16307 * gdb.dwarf2/dw2-producer.exp: Likewise.
16308 * gdb.dwarf2/mac-fileno.exp: Likewise.
16309 * gdb.python/py-frame-args.exp: Likewise.
16310 * gdb.python/py-framefilter.exp: Likewise.
16311 * gdb.python/py-mi.exp: Likewise.
16312 * gdb.python/py-objfile-script.exp: Likewise
16313 * gdb.python/py-pp-integral.exp: Likewise.
16314 * gdb.python/py-pp-re-notag.exp: Likewise.
16315 * gdb.python/py-prettyprint.exp: Likewise.
16316 * gdb.python/py-section-script.exp: Likewise.
16317 * gdb.python/py-typeprint.exp: Likewise.
16318 * gdb.python/py-xmethods.exp: Likewise.
16319 * gdb.stabs/weird.exp: Likewise.
16320 * gdb.xml/tdesc-regs.exp: Likewise.
16322 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
16324 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
16325 (out_cu): Use addr_len for the size of addresses.
16326 (out_line): Likewise. Size DW_LNE_set_address instruction
16327 according to addr_len.
16328 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
16329 (FUNC): Add START_INSNS to definition.
16331 2014-10-18 Yao Qi <yao@codesourcery.com>
16333 * gdb.base/argv0-symlink.exp: Check argv[0] value if
16334 gdb_has_argv0 return true.
16335 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
16336 check [target_info exists noargs], check [gdb_has_argv0]
16338 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
16339 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
16342 2014-10-17 Doug Evans <dje@google.com>
16344 * gdb.python/py-events.exp: Update expected output for clear_objfiles
16346 * gdb.python/py-events.py: Add clear_objfiles event.
16348 2014-10-17 Doug Evans <dje@google.com>
16350 * gdb.python/py-objfile.exp: Test progspace attribute.
16352 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
16354 * gdb.guile/scm-breakpoint.exp: Do not assume any
16355 directory separators when matching source file paths.
16356 * gdb.python/py-breakpoint.exp: Likewise.
16357 * gdb.reverse/break-precsave.exp: Likewise.
16358 * gdb.reverse/break-reverse.exp: Likewise.
16359 * gdb.reverse/consecutive-precsave.exp: Likewise.
16360 * gdb.reverse/finish-precsave.exp: Likewise.
16361 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
16362 * gdb.reverse/finish-reverse.exp: Likewise.
16363 * gdb.reverse/i386-precsave.exp: Likewise.
16364 * gdb.reverse/i387-env-reverse.exp: Likewise.
16365 * gdb.reverse/i387-stack-reverse.exp: Likewise.
16366 * gdb.reverse/machinestate-precsave.exp: Likewise.
16367 * gdb.reverse/machinestate.exp: Likewise.
16368 * gdb.reverse/sigall-precsave.exp: Likewise.
16369 * gdb.reverse/solib-precsave.exp: Likewise.
16370 * gdb.reverse/step-precsave.exp: Likewise.
16371 * gdb.reverse/until-precsave.exp: Likewise.
16372 * gdb.reverse/watch-precsave.exp: Likewise.
16373 * gdb.reverse/watch-reverse.exp: Likewise.
16375 2014-10-17 Yao Qi <yao@codesourcery.com>
16377 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
16378 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
16380 2014-10-17 Pedro Alves <palves@redhat.com>
16383 * gdb.base/bg-execution-repeat.c: New file.
16384 * gdb.base/bg-execution-repeat.exp: New file.
16386 2014-10-17 Pedro Alves <palves@redhat.com>
16389 * gdb.base/continue-all-already-running.c: New file.
16390 * gdb.base/continue-all-already-running.exp: New file.
16392 2014-10-17 Pedro Alves <palves@redhat.com>
16395 * gdb.base/annota-input-while-running.c: New file.
16396 * gdb.base/annota-input-while-running.exp: New file.
16398 2014-10-17 Pedro Alves <palves@redhat.com>
16400 * gdb.base/callfuncs.exp: emove references to osf.
16401 * gdb.base/sigall.exp: Likewise.
16402 * gdb.gdb/selftest.exp: Likewise.
16403 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
16404 * gdb.mi/non-stop.c: Likewise.
16405 * gdb.mi/pthreads.c: Likewise.
16406 * gdb.reverse/sigall-precsave.exp: Likewise.
16407 * gdb.reverse/sigall-reverse.exp: Likewise.
16408 * gdb.threads/pthreads.c: Likewise.
16409 * gdb.threads/pthreads.exp: Likewise.
16411 2014-10-17 Yao Qi <yao@codesourcery.com>
16413 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
16414 check 'target_info exists noargs'.
16415 (test_command_prompt_position): Likewise.
16416 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
16418 (progvar_simple_while_test): Likewise.
16419 (progvar_complex_if_while_test): Likewise.
16420 (if_while_breakpoint_command_test): Likewise.
16421 (infrun_breakpoint_command_test): Likewise.
16422 (breakpoint_command_test): Likewise.
16423 (watchpoint_command_test): Likewise.
16424 (bp_deleted_in_command_test): Likewise.
16425 (temporary_breakpoint_commands): Likewise.
16427 2014-10-16 Yao Qi <yao@codesourcery.com>
16429 * gdb.base/remotetimeout.exp: Remove noargs checking.
16431 2014-10-15 Pedro Alves <palves@redhat.com>
16433 PR breakpoints/9649
16434 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
16435 * gdb.base/breakpoint-in-ro-region.exp
16436 (probe_target_hardware_step): New procedure.
16437 (top level): Probe hardware stepping and hardware breakpoint
16438 support. Test stepping through a read-only region, with both
16439 "breakpoint auto-hw" on and off and both "always-inserted" on and
16442 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
16444 * gdb.dlang/demangle.exp: Update for demangling changes.
16446 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
16448 * gdb.cp/non-trivial-retval.cc: Add new test cases.
16449 * gdb.cp/non-trivial-retval.exp: Add new tests.
16451 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
16455 * gdb.cp/non-trivial-retval.cc: New file.
16456 * gdb.cp/non-trivial-retval.exp: New file.
16458 2014-10-15 Yao Qi <yao@codesourcery.com>
16460 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
16463 2014-10-15 Yao Qi <yao@codesourcery.com>
16465 * gdb.python/py-symbol.exp: Match file base name if host is
16466 remote, otherwise match file name with dir name.
16467 * gdb.python/py-symtab.exp: Likewise.
16468 * gdb.python/python.exp: Likewise.
16470 2014-10-15 Yao Qi <yao@codesourcery.com>
16472 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
16474 * gdb.python/py-symtab.exp: Likewise.
16475 * gdb.python/python.exp: Remove trailing ".*". Fix typo
16478 2014-10-14 Joel Brobecker <brobecker@adacore.com>
16480 * gdb.ada/addr_arith: New testcase.
16482 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
16484 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
16485 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
16486 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
16487 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
16489 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
16491 * gdb.arch/stap-eval-lang-ada.S: Likewise.
16492 * gdb.arch/stap-eval-lang-ada.c: Likewise.
16493 * gdb.arch/stap-eval-lang-ada.exp: New file.
16495 2014-10-14 Yao Qi <yao@codesourcery.com>
16497 * gdb.mi/mi-var-child.c (nothing1): New function.
16498 (nothing2): New function.
16499 (do_children_tests): Set function pointers by nothing1 and
16501 * gdb.mi/mi-var-child.exp: Step over new added statements.
16502 Update test to match the new output.
16503 * gdb.mi/var-cmd.c (nothing1): New function.
16504 (nothing2): New function.
16505 (do_children_tests): Set function pointers by nothing1 and
16507 * gdb.mi/mi-var-display.exp: Update test to match output.
16508 Step to the line specified by $line_dct_nothing.
16509 Increase the number of lines to step.
16511 2014-10-14 Yao Qi <yao@codesourcery.com>
16513 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
16515 * gdb.mi/mi2-var-child.exp: Likewise.
16517 2014-10-13 Doug Evans <dje@google.com>
16519 * gdb.python/py-objfile.exp: Change name of file name test.
16521 2014-10-13 Doug Evans <dje@google.com>
16523 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
16524 from the start of the CU.
16526 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
16527 Yao Qi <yao@codesourcery.com>
16529 Fix "save breakpoints" for "catch" command.
16530 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
16531 Remove -nonewline. Match also the added "main" line.
16533 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16535 Fix "save breakpoints" for "disable $bpnum" command.
16536 * gdb.base/save-bp.c (main): Add label.
16537 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
16539 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16541 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
16543 2014-10-11 Yao Qi <yao@codesourcery.com>
16545 * gdb.server/server-kill.exp: Execute command
16546 "set remote trace-status-packet on" before "tstatus".
16548 2014-10-11 Yao Qi <yao@codesourcery.com>
16550 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
16551 (main): Call getppid.
16552 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
16553 and continue to it. Read variable "server_pid".
16555 2014-10-11 Yao Qi <yao@codesourcery.com>
16557 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
16559 2014-10-11 Yao Qi <yao@codesourcery.com>
16561 * gdb.threads/thread-find.exp: Don't execute command
16563 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
16564 * gdb.threads/linux-dp.exp: Don't check the condition
16565 $threads_created equals to zero.
16567 2014-10-10 Pedro Alves <palves@redhat.com>
16569 * gdb.base/bigcore.exp: Remove references to IRIX.
16570 * gdb.base/funcargs.exp: Likewise.
16571 * gdb.base/interrupt.exp: Likewise.
16572 * gdb.base/mips_pro.exp: Likewise.
16573 * gdb.base/nodebug.exp: Likewise.
16574 * gdb.base/setvar.exp: Likewise.
16575 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
16577 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16578 Pedro Alves <palves@redhat.com>
16581 * gdb.base/vdso-warning.c: New file.
16582 * gdb.base/vdso-warning.exp: New file.
16584 2014-10-02 Doug Evans <dje@google.com>
16586 * gdb.base/structs.c (main): Don't run forever.
16588 2014-10-02 Pedro Alves <palves@redhat.com>
16590 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
16591 (top level) <stop threads 1, stop threads 2>: Use it.
16593 2014-10-02 Pedro Alves <palves@redhat.com>
16595 * gdb.threads/break-while-running.exp (test): Add new
16596 'update_thread_list' argument. Skip "info threads" if false.
16597 (top level): Add new 'update_thread_list' axis.
16599 2014-10-02 Pedro Alves <palves@redhat.com>
16601 PR breakpoints/17431
16602 * gdb.base/execl-update-breakpoints.c: New file.
16603 * gdb.base/execl-update-breakpoints.exp: New file.
16605 2014-10-01 Pedro Alves <palves@redhat.com>
16607 * gdb.base/breakpoint-in-ro-region.c: New file.
16608 * gdb.base/breakpoint-in-ro-region.exp: New file.
16610 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
16612 * gdb.mi/mi-exit-code.exp: New file.
16613 * gdb.mi/mi-exit-code.c: New file.
16615 2014-09-30 Yao Qi <yao@codesourcery.com>
16617 * lib/prelink-support.exp (build_executable_own_libs): Error if
16618 the target isn't native.
16620 2014-09-30 Yao Qi <yao@codesourcery.com>
16622 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
16625 2014-09-22 Pedro Alves <palves@redhat.com>
16627 * gdb.threads/break-while-running.exp: New file.
16628 * gdb.threads/break-while-running.c: New file.
16630 2014-09-19 Yao Qi <yao@codesourcery.com>
16632 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
16633 Invoke test. Restart GDB with --readnow and invoke test again.
16635 2014-09-19 Yao Qi <yao@codesourcery.com>
16637 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
16638 proc set_breakpoint_on_gcd_function. Invoke
16639 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
16640 invoke set_breakpoint_on_gcd_function again.
16642 2014-09-18 Doug Evans <dje@google.com>
16644 * gdb.dwarf2/symtab-producer.exp: New file.
16646 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
16648 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
16649 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
16650 * gdb.base/global-var-nested-by-dso.c: Likewise.
16651 * gdb.base/global-var-nested-by-dso.exp: Likewise.
16653 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
16654 Pedro Alves <palves@redhat.com>
16656 * gdb.base/watch-bitfields.exp: Pass string other than test file
16657 name to prepare_for_testing.
16658 (watch): New procedure.
16659 (expect_watchpoint): Use with_test_prefix.
16660 (top level): Factor out tests to ...
16661 (test_watch_location, test_regular_watch): ... these new
16662 procedures, and use with_test_prefix and gdb_continue_to_end.
16664 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
16666 PR breakpoints/12526
16667 * gdb.base/watch-bitfields.exp: New file.
16668 * gdb.base/watch-bitfields.c: New file.
16670 2014-09-16 Pedro Alves <palves@redhat.com>
16672 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
16673 software and hardware addresses, not software address against
16676 2014-09-16 Pedro Alves <palves@redhat.com>
16678 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
16679 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
16681 2014-09-16 Pedro Alves <palves@redhat.com>
16683 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
16685 * gdb.base/a2-run.exp: Remove all code guarded by istarget
16686 "*-*-vxworks*" throughout.
16687 * gdb.base/break.exp: Likewise.
16688 * gdb.base/default.exp: Likewise.
16689 * gdb.base/scope.exp: Likewise.
16690 * gdb.base/sepdebug.exp: Likewise.
16691 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
16693 * gdb.base/run.c: Likewise.
16694 * gdb.base/sepdebug.c: Likewise.
16695 * gdb.hp/gdb.aCC/run.c: Likewise.
16696 * gdb.reverse/until-reverse.c: Likewise.
16697 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
16699 2014-09-16 Yao Qi <yao@codesourcery.com>
16701 * boards/local-remote-host-native.exp: New file.
16703 2014-09-14 Doug Evans <xdje42@gmail.com>
16705 * gdb.threads/queue-signal.c (thread_count): New variable.
16706 (thread_count_mutex, thread_count_condvar): New variables.
16707 (incr_thread_count, wait_all_threads_running): New functions.
16708 (main): Wait for all threads to be in their thread functions.
16710 2014-09-13 Doug Evans <xdje42@gmail.com>
16712 * gdb.threads/queue-signal.c: New file.
16713 * gdb.threads/queue-signal.exp: New file.
16715 2014-09-13 Doug Evans <xdje42@gmail.com>
16717 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
16718 be consistent with what default_gdb_init uses.
16719 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
16720 the plain text of the prompt. Add some logging printfs.
16721 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
16723 2014-09-12 Pedro Alves <palves@redhat.com>
16725 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
16726 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
16727 * gdb.arch/i386-size-overlap.exp: Likewise.
16728 * gdb.arch/i386-size.exp: Likewise.
16729 * gdb.arch/i386-unwind.exp: Likewise.
16730 * gdb.base/a2-run.exp: Likewise.
16731 * gdb.base/break.exp: Likewise.
16732 * gdb.base/charset.exp: Likewise.
16733 * gdb.base/chng-syms.exp: Likewise.
16734 * gdb.base/commands.exp: Likewise.
16735 * gdb.base/dbx.exp: Likewise.
16736 * gdb.base/find.exp: Likewise.
16737 * gdb.base/funcargs.exp: Likewise.
16738 * gdb.base/jit-simple.exp: Likewise.
16739 * gdb.base/reread.exp: Likewise.
16740 * gdb.base/sepdebug.exp: Likewise.
16741 * gdb.base/step-bt.exp: Likewise.
16742 * gdb.cp/mb-inline.exp: Likewise.
16743 * gdb.cp/mb-templates.exp: Likewise.
16744 * gdb.objc/basicclass.exp: Likewise.
16745 * gdb.threads/killed.exp: Likewise.
16747 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16750 * gdb.arch/powerpc-stackless.S: New file.
16751 * gdb.arch/powerpc-stackless.exp: New file.
16753 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16755 * gdb.base/attach.c: Include unistd.h.
16756 (main): Call alarm. Add label postloop.
16757 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
16758 gdb_breakpoint, gdb_continue_to_breakpoint.
16759 (test_command_line_attach_run): Kill ${testpid} in one exit path.
16761 2014-09-11 Pedro Alves <palves@redhat.com>
16764 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
16765 * gdb.base/attach.exp (test_command_line_attach_run): New
16767 (top level): Call it.
16769 2014-09-11 Pedro Alves <palves@redhat.com>
16771 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
16772 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
16773 (do_command_attach_tests): Use spawn_wait_for_attach.
16774 * gdb.base/solib-overlap.exp: Likewise.
16775 * gdb.multi/multi-attach.exp: Likewise.
16776 * gdb.python/py-prompt.exp: Likewise.
16777 * gdb.python/py-sync-interp.exp: Likewise.
16778 * gdb.server/ext-attach.exp: Likewise.
16780 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
16782 * gdb.fortran/array-element.exp: Remove unexpected "continue"
16783 command in testcase. Simplify testcase.
16785 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16787 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
16789 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16791 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
16793 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16795 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
16797 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16799 * gdb.dwarf2/dynarr-ptr.c: New file.
16800 * gdb.dwarf2/dynarr-ptr.exp: New file.
16802 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16804 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
16805 of 30 rather than hardcoding 120 for a slow test case. Take the
16806 `gdb,timeout' target setting into account for this calculation.
16807 Don't extend the timeout for the test cases that don't need it.
16809 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16811 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
16812 a factor of 2 for a slow test case. Take the `gdb,timeout'
16813 target setting into account for this calculation.
16814 * gdb.reverse/until-precsave.exp: Increase the timeout by
16815 a factor of 15 and 3 respectively rather than adding 120
16816 for a pair of slow test cases. Take the `gdb,timeout'
16817 target setting into account for this calculation.
16819 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16821 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
16822 timeout, don't pass one down to gdb_expect.
16823 (gdb_expect): Rework timeout selection.
16825 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16827 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
16828 exception on timeout.
16829 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
16830 (gdbserver_start_extended): Catch any `gdbserver_start' error
16832 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
16833 * lib/mi-support.exp (mi_gdb_target_load): Catch any
16834 `gdbserver_gdb_load' error exceptions.
16836 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16838 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
16839 120 on waiting for the TCP socket to open.
16841 2014-09-09 Doug Evans <xdje42@gmail.com>
16843 * gdb.base/default.exp (show_conv_list): Add _caller_is,
16844 _caller_matches, _any_caller_is, _any_caller_matches.
16846 2014-09-09 Doug Evans <xdje42@gmail.com>
16848 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
16850 2014-09-09 Yao Qi <yao@codesourcery.com>
16852 * gdb.mi/mi-var-display.exp: Set print symbol off.
16854 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
16857 * gdb.base/commands.exp: Add tests to verify user-defined
16858 commands with empty bodies.
16859 * gdb.python/py-cmd.exp: Test that we don't show user-defined
16860 python commands in `show user command`.
16861 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
16862 scheme commands in `show user command`.
16864 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16867 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
16868 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
16869 * gdb.python/py-framefilter-invalidarg.exp: New file.
16870 * gdb.python/py-framefilter-invalidarg.py: New file.
16872 2014-09-06 Doug Evans <xdje42@gmail.com>
16875 * gdb.python/py-caller-is.c: New file.
16876 * gdb.python/py-caller-is.exp: New file.
16878 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
16881 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
16882 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
16884 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
16887 * gdb.fortran/print-formatted.exp: New file.
16888 * gdb.fortran/print-formatted.f90: Likewise.
16890 2014-09-03 Sasha Smundak <asmundak@google.com>
16892 * gdb.python/py-frame.exp: Test Frame.read_register.
16894 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
16897 * gdb.python/py-completion.exp: New file.
16898 * gdb.python/py-completion.py: Likewise.
16900 2014-08-28 Doug Evans <dje@google.com>
16902 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
16903 eax,etc. are live with values set by gdb and thus the compiler can't
16905 * gdb.arch/i386-pseudo.c (main): Ditto.
16907 2014-08-27 Doug Evans <dje@google.com>
16909 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
16911 2014-08-25 Doug Evans <dje@google.com>
16913 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
16916 2014-08-25 Doug Evans <dje@google.com>
16918 * gdb.threads/thread-execl.exp: #include <stdio.h>.
16920 2014-08-24 Yao Qi <yao@codesourcery.com>
16922 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
16924 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
16926 2014-08-22 Doug Evans <dje@google.com>
16929 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
16930 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
16931 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
16933 2014-08-22 Yao Qi <yao@codesourcery.com>
16935 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
16936 * gdb.python/py-finish-breakpoint2.exp: Likewise.
16937 * gdb.python/python.exp: Likewise. Use .py file on the host
16938 instead of the build.
16940 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16942 * gdb.threads/gcore-stale-thread.c: New file.
16943 * gdb.threads/gcore-stale-thread.exp: New file.
16945 2014-08-21 Pedro Alves <palves@redhat.com>
16947 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
16948 * gdb.base/gcore-relro-pie.exp: Likewise.
16949 * gdb.base/gcore-relro.exp: Likewise.
16950 * gdb.base/gcore.exp: Likewise.
16951 * gdb.base/print-symbol-loading.exp: Likewise.
16952 * gdb.threads/gcore-thread.exp: Likewise.
16953 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
16955 2014-08-20 Pedro Alves <palves@redhat.com>
16956 Jan Kratochvil <jan.kratochvil@redhat.com>
16958 * Makefile.in (EXTRA_RULES, CC): New variables, get from
16960 (EXPECT): Handle READ1 being set.
16961 (all): Depend on EXTRA_RULES.
16962 (check-read1, expect-read1, read1.so, read1): New rules.
16963 * README (Testsuite Parameters): Document the READ1 make variable.
16964 (Race detection): New section.
16965 * configure: Regenerate.
16966 * configure.ac: If build==host==target, and running under a
16967 GNU/glibc system, add read1 to the extra Makefile rules.
16968 (EXTRA_RULES): AC_SUBST it.
16969 * lib/read1.c: New file.
16971 2014-08-20 Joel Brobecker <brobecker@adacore.com>
16973 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
16974 the handling of variables declared as a typedef to an array
16975 which a DW_AT_data_location attribute.
16977 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
16978 Pedro Alves <palves@redhat.com>
16982 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
16985 2014-08-19 Pedro Alves <palves@redhat.com>
16987 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
16989 2014-08-19 Yao Qi <yao@codesourcery.com>
16991 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
16994 2014-08-18 David Blaikie <dblaikie@gmail.com>
16996 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
16998 2014-08-18 Joel Brobecker <brobecker@adacore.com>
17000 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
17001 attribute in array range.
17003 2014-08-18 Joel Brobecker <brobecker@adacore.com>
17005 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
17007 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
17010 * gdb.cp/pr17132.cc: New file.
17011 * gdb.cp/pr17132.exp: New file.
17013 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
17015 * gdb.python/py-xmethods.py (A_getarrayind)
17016 (E_method_char_worker.__call__, E_method_int_worker.__call__):
17017 Use 'print' with function call syntax.
17018 (E_method_matcher.match): Fix tab vs space indentation mixup.
17020 2014-08-15 Yao Qi <yao@codesourcery.com>
17022 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
17025 2014-08-15 Yao Qi <yao@codesourcery.com>
17027 * gdb.cp/casts.exp: Set print symbol off.
17028 * gdb.cp/class2.exp: Likewise.
17029 * gdb.cp/overload.exp: Likewise.
17030 * gdb.cp/templates.exp: Likewise.
17032 2014-08-11 Doug Evans <dje@google.com>
17034 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
17035 (test_load_shlib): Update.
17037 2014-08-09 Yao Qi <yao@codesourcery.com>
17039 * gdb.base/display.exp: Invoke is_address_zero_readable.
17040 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
17041 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
17042 * gdb.base/hbreak-unmapped.exp: Return if
17043 is_address_zero_readable returns true.
17044 * gdb.base/signest.exp: Likewise.
17045 * gdb.base/signull.exp: Likewise.
17046 * gdb.base/sigbpt.exp: Likewise.
17047 * gdb.guile/scm-disasm.exp: Do the test if
17048 is_address_zero_readable returns false.
17049 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
17050 * gdb.python/py-arch.exp: Likewise.
17051 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
17052 * lib/gdb.exp (is_address_zero_readable): New proc.
17054 2014-08-09 Yao Qi <yao@codesourcery.com>
17057 * gdb.mi/mi-var-display.exp: Make test messages unique.
17059 2014-08-04 Tom Tromey <tromey@redhat.com>
17061 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
17064 2014-08-04 Tom Tromey <tromey@redhat.com>
17066 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
17069 2014-08-01 Joel Brobecker <brobecker@adacore.com>
17071 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
17072 inner_vla_struct_object_size.
17073 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
17076 2014-07-30 Pedro Alves <palves@redhat.com>
17078 * gdb.threads/signal-command-handle-nopass.exp (test): Add
17081 2014-07-29 Yao Qi <yao@codesourcery.com>
17084 * gdb.base/until-nodebug.exp: New.
17086 2014-07-28 Doug Evans <xdje42@gmail.com>
17089 * gdb.guile/scm-parameter.exp: Add tests for trying to create
17090 previously existing parameter, and previously ambiguously spelled
17093 2014-07-28 Will Newton <will.newton@linaro.org>
17095 * gdb.base/varargs.exp: Remove KFAILs for ARM.
17097 2014-07-26 Ludovic Courtès <ludo@gnu.org>
17098 Doug Evans <xdje42@gmail.com>
17101 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
17103 2014-07-25 Pedro Alves <palves@redhat.com>
17105 * gdb.threads/signal-command-handle-nopass.c: New file.
17106 * gdb.threads/signal-command-handle-nopass.exp: New file.
17107 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
17108 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
17109 * gdb.threads/signal-delivered-right-thread.c: New file.
17110 * gdb.threads/signal-delivered-right-thread.exp: New file.
17112 2014-07-25 Pedro Alves <palves@redhat.com>
17114 * gdb.base/double-prompt-target-event-error.exp
17115 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
17117 (cancel_pagination_in_target_event): Rework double prompt
17119 * gdb.base/paginate-after-ctrl-c-running.exp
17120 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
17122 * gdb.base/paginate-bg-execution.exp
17123 (test_bg_execution_pagination_return)
17124 (test_bg_execution_pagination_cancel): Remove '-notransfer
17126 * gdb.base/paginate-execution-startup.exp
17127 (test_fg_execution_pagination_return)
17128 (test_fg_execution_pagination_cancel): Remove '-notransfer
17130 * gdb.base/paginate-inferior-exit.exp
17131 (test_paginate_inferior_exited): Remove '-notransfer <return>'
17133 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
17134 * lib/gdb.exp (pagination_prompt): Run text through
17136 (gdb_test_multiple): Match $pagination_prompt instead of
17138 (string_to_regexp): Move to lib/gdb-utils.exp.
17140 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17142 * gdb.arch/amd64-entry-value-paramref.S: New file.
17143 * gdb.arch/amd64-entry-value-paramref.cc: New file.
17144 * gdb.arch/amd64-entry-value-paramref.exp: New file.
17145 * gdb.arch/amd64-optimout-repeat.S: New file.
17146 * gdb.arch/amd64-optimout-repeat.c: New file.
17147 * gdb.arch/amd64-optimout-repeat.exp: New file.
17149 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
17152 * gdb.base/statistics.exp: New file.
17154 2014-07-17 Doug Evans <dje@google.com>
17157 * gdb.base/maint.exp: Update testing of per-command stats.
17159 2014-07-16 Pedro Alves <palves@redhat.com>
17161 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
17162 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
17163 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
17164 (tfile_write_buf): New functions.
17165 (add_memory_block): Rewrite using the above.
17166 (adjust_function_address): New function.
17167 (FUNCTION_ADDRESS): New macro.
17168 (write_basic_trace_file): Remove short_x local, and use
17169 tfile_write_16. Change type of func_addr local to unsigned long
17170 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
17171 here. Cast argument of add_memory_block to char pointer.
17172 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
17173 (main): Remove parameters.
17174 * gdb.trace/tfile.exp: Remove nowarnings.
17176 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
17178 * gdb.base/debug-expr.exp: Test string evaluation with
17179 "debug expression" on.
17181 2014-07-15 Pedro Alves <palves@redhat.com>
17183 * gdb.base/reread.exp: Use clean_restart.
17185 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
17187 * gdb.arch/avr-flash-qualifer.c: New.
17188 * gdb.arch/avr-flash-qualifer.exp: New.
17190 2014-07-14 Pedro Alves <palves@redhat.com>
17192 * gdb.base/paginate-after-ctrl-c-running.c: New file.
17193 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
17195 2014-07-14 Pedro Alves <palves@redhat.com>
17197 * gdb.base/double-prompt-target-event-error.c: New file.
17198 * gdb.base/double-prompt-target-event-error.exp: New file.
17200 2014-07-14 Pedro Alves <palves@redhat.com>
17203 * gdb.base/paginate-inferior-exit.c: New file.
17204 * gdb.base/paginate-inferior-exit.exp: New file.
17206 2014-07-14 Pedro Alves <palves@redhat.com>
17209 * gdb.base/paginate-bg-execution.c: New file.
17210 * gdb.base/paginate-bg-execution.exp: New file.
17212 2014-07-14 Pedro Alves <palves@redhat.com>
17215 * gdb.base/paginate-execution-startup.c: New file.
17216 * gdb.base/paginate-execution-startup.exp: New file.
17217 * lib/gdb.exp (pagination_prompt): New global.
17218 (default_gdb_spawn): New procedure, factored out from
17220 (default_gdb_start): Adjust to call default_gdb_spawn.
17221 (gdb_spawn): New procedure.
17223 2014-07-14 Pedro Alves <palves@redhat.com>
17225 * lib/gdb.exp (gdb_assert): New procedure.
17226 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
17228 2014-07-14 Pedro Alves <palves@redhat.com>
17230 * gdb.base/execution-termios.c: New file.
17231 * gdb.base/execution-termios.exp: New file.
17233 2014-07-14 Tom Tromey <tromey@redhat.com>
17235 * gdb.cp/vla-cxx.cc: New file.
17236 * gdb.cp/vla-cxx.exp: New file.
17238 2014-07-14 Tom Tromey <tromey@redhat.com>
17240 * gdb.reverse/rerun-prec.c: New file.
17241 * gdb.reverse/rerun-prec.exp: New file.
17243 2014-07-12 Maciej W. Rozycki <macro@mips.com>
17244 Maciej W. Rozycki <macro@codesourcery.com>
17246 * lib/gdb-utils.exp: New file.
17247 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
17248 inline `gdb_init_command' processing.
17249 (gdb_start_cmd): Likewise.
17250 * lib/mi-support.exp (mi_run_cmd): Likewise.
17251 * README: Document `gdb_init_command' and `gdb_init_commands'.
17253 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17255 Fix false FAIL running under a very long directory name.
17256 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
17257 and "set print elements 10000". Twice.
17259 2014-07-11 Yao Qi <yao@codesourcery.com>
17261 * gdb.base/exprs.exp: "set print symbol off".
17263 2014-07-11 Pedro Alves <palves@redhat.com>
17265 * gdb.threads/kill.c: New file.
17266 * gdb.threads/kill.exp: New file.
17268 2014-07-10 Yao Qi <yao@codesourcery.com>
17270 * gdb.trace/tfile.c (write_basic_trace_file)
17271 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
17272 address written to trace file.
17274 2014-07-09 Pedro Alves <palves@redhat.com>
17276 * gdb.base/attach-wait-input.exp: New file.
17277 * gdb.base/attach-wait-input.c: New file.
17279 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
17281 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
17282 setting up test structures.
17283 (main): Call new test function.
17284 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
17285 test function, continue into test function and walk test
17288 2014-07-02 Yao Qi <yao@codesourcery.com>
17290 * gdb.trace/entry-values.c: Define labels 'foo_start' and
17291 'bar_start' at the beginning of functions 'foo' and 'bar'
17293 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
17294 instead of 'foo' and 'bar'.
17296 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
17298 * gdb.btrace/segv.exp: New.
17299 * gdb.btrace/segv.c: New.
17301 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
17303 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
17306 2014-06-30 Mark Wielaard <mjw@redhat.com>
17308 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
17309 vulture, vilify, villar): New volatile array constants.
17310 (vindictive, vegetation): New const volatile array constants.
17311 * gdb.base/volatile.exp: Test volatile and const volatile array
17314 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
17316 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
17317 target lacks support for awatch, rwatch, or hbreak.
17319 2014-06-27 Yao Qi <yao@codesourcery.com>
17321 * gdb.multi/dummy-frame-restore.exp: New.
17322 * gdb.multi/dummy-frame-restore.c: New.
17324 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
17326 * gdb.btrace/gcore.exp: New.
17328 2014-06-23 Pedro Alves <palves@redhat.com>
17330 * gdb.base/watchpoint-reuse-slot.c: New file.
17331 * gdb.base/watchpoint-reuse-slot.exp: New file.
17333 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
17335 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
17336 progspace's filename in 'info', 'enable' and 'disable' command
17339 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
17341 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
17342 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
17343 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
17345 2014-06-20 Gary Benson <gbenson@redhat.com>
17347 * gdb.arch/i386-avx.exp: Fix include file location.
17348 * gdb.arch/i386-sse.exp: Likewise.
17350 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
17352 * gdb.dlang/expression.exp: New file.
17354 2014-06-19 Pedro Alves <palves@redhat.com>
17356 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
17358 (top level): ... here. Iterate running tests under different
17359 scheduler-locking settings.
17361 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
17363 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
17364 to DW_FORM_addr and use non-zero addresses.
17366 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
17369 * gdb.python/py-xmethods.cc: Add global function call counters and
17370 increment them in their respective functions. Remove "cout"
17372 * gdb.python/py-xmethods.exp: Make tests check the global function
17373 call counters instead of depending on inferior IO.
17375 2014-06-18 Don Breazeal <donb@codesourcery.com>
17377 * gdb.base/foll-fork.exp (default_fork_parent_follow):
17379 (explicit_fork_parent_follow): Deleted procedure.
17380 (explicit_fork_child_follow): Deleted procedure.
17381 (test_follow_fork): New procedure.
17382 (do_fork_tests): Replace calls to deleted procedures with
17383 calls to test_follow_fork and reset GDB for subsequent
17386 2014-06-17 Yao Qi <yao@codesourcery.com>
17388 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
17391 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
17393 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
17394 Initialize ptr and S explicitly.
17395 (skip_type_update_when_not_use_rtti_test): Likewise.
17397 2014-06-16 Keith Seitz <keiths@redhat.com>
17400 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
17401 the inferior is started.
17403 2014-06-16 Pedro Alves <palves@redhat.com>
17405 * gdb.base/break-main-file-remove-fail.c: New file.
17406 * gdb.base/break-main-file-remove-fail.exp: New file.
17407 * gdb.base/break-unload-file.exp: Use build_executable instead of
17408 prepare_for_testing.
17409 (test_break): New parameter "initial_load". Handle it.
17410 (top level): Add initial_load cmdline/file axis.
17412 2014-06-12 Tom Tromey <tromey@redhat.com>
17414 * gdb.base/completion.exp: Don't use directory name in test.
17416 2014-06-09 Gary Benson <gbenson@redhat.com>
17418 * gdb.base/sigall.c [Functions to send signals]: Reorder to
17419 separate the always-available ANSI-standard signals from the
17420 signals that require checking.
17422 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
17426 2014-06-07 Keith Seitz <keiths@redhat.com>
17430 * gdb.cp/var-tag.cc: New file.
17431 * gdb.cp/var-tag.exp: New file.
17432 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
17433 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
17434 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
17435 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
17437 2014-06-06 Doug Evans <xdje42@gmail.com>
17439 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
17441 2014-06-06 Pedro Alves <palves@redhat.com>
17443 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
17444 in target debug output instead of looking at RSP packets,
17445 disabling the test on any target that uses hardware stepping.
17448 2014-06-06 Pedro Alves <palves@redhat.com>
17450 * gdb.base/break-unload-file.exp: Fix typo.
17452 2014-06-06 Yao Qi <yao@codesourcery.com>
17454 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
17455 from "jit_function" to "^jit_function".
17457 2014-06-06 Yao Qi <yao@codesourcery.com>
17459 * gdb.base/async.c (foo): Add one statement.
17460 * gdb.base/async.exp: Get the next instruction address and
17461 match the output of "nexti" by instruction address. Match
17462 the hex address in the output of "finish".
17464 2014-06-06 Gary Benson <gbenson@redhat.com>
17466 * gdb.base/call-signals.c: Remove preprocessor conditionals
17467 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
17468 SIGSEGV and SIGTERM.
17469 * gdb.base/sigall.c: Likewise.
17470 * gdb.base/unwindonsignal.c: Likewise.
17471 * gdb.reverse/sigall-reverse.c: Likewise.
17473 2014-06-06 Yao Qi <yao@codesourcery.com>
17475 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
17476 readable, skip the test.
17478 2014-06-06 Yao Qi <yao@codesourcery.com>
17480 * gdb.threads/staticthreads.c (thread_function): Move the line
17481 setting breakpoint on forward.
17482 * gdb.threads/staticthreads.exp: Update comments.
17484 2014-06-05 Ludovic Courtès <ludo@gnu.org>
17486 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
17487 "history-append! type error".
17489 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
17491 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
17492 erroneous dprintf expected input.
17494 2014-06-04 Doug Evans <xdje42@gmail.com>
17496 * gdb.guile/scm-generics.exp: Delete.
17498 2014-06-04 Doug Evans <xdje42@gmail.com>
17500 * gdb.guile/scm-breakpoint.exp: Update.
17501 Add tests for breakpoint registration.
17503 2014-06-04 Tom Tromey <tromey@redhat.com>
17505 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
17507 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
17508 inner_vla_struct, vla_union types. Initialize objects of those
17509 types and compute their sizes.
17511 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
17512 Hui Zhu <hui@codesourcery.com>
17514 * gdb.base/fileio.exp: Add test for shell not available as well as
17516 * gdb.base/fileio.c (test_system): Check for shell twice.
17518 2014-06-04 Yao Qi <yao@codesourcery.com>
17520 * gdb.base/auto-connect-native-target.exp: Remove redundant
17521 space from the regexp pattern.
17523 2014-06-04 Yao Qi <yao@codesourcery.com>
17525 * gdb.base/default.exp: Replace "child" with "native" in
17528 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
17530 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
17531 * gdb.python/py-xmethods.exp: New tests to test xmethods.
17532 * gdb.python/py-xmethods.py: Python script supporting the
17533 new testcase and tests.
17535 2014-06-03 Joel Brobecker <brobecker@adacore.com>
17536 Pedro Alves <palves@redhat.com>
17538 PR breakpoints/17000
17539 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
17540 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
17542 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
17544 * gdb.base/subst.exp: Add tests to verify partial path matching
17547 2014-06-03 Pedro Alves <palves@redhat.com>
17549 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
17550 target that doesn't use software single-stepping.
17552 2014-06-03 Pedro Alves <palves@redhat.com>
17554 PR breakpoints/17000
17555 * gdb.base/sss-bp-on-user-bp-2.c: New file.
17556 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
17558 2014-06-02 Doug Evans <xdje42@gmail.com>
17560 * gdb.guile/scm-parameter.exp: New file.
17562 2014-06-02 Doug Evans <xdje42@gmail.com>
17564 * gdb.guile/scm-cmd.c: New file.
17565 * gdb.guile/scm-cmd.exp: New file.
17567 2014-06-02 Doug Evans <xdje42@gmail.com>
17569 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
17570 pretty-printer lookup.
17571 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
17572 (make-pp_s-printer): Call it.
17573 (make-pretty-printer-from-dict): New function.
17574 (lookup-pretty-printer-maker-from-dict): New function.
17575 (*pretty-printer*): Simplify.
17576 (make-objfile-pp_s-printer): New function.
17577 (install-objfile-pretty-printers!): New function.
17578 (make-progspace-pp_s-printer): New function.
17579 (install-progspace-pretty-printers!): New function.
17580 * gdb.guile/scm-progspace.c: New file.
17581 * gdb.guile/scm-progspace.exp: New file.
17583 2014-06-02 Pedro Alves <palves@redhat.com>
17585 * gdb.base/dprintf-bp-same-addr.c: New file.
17586 * gdb.base/dprintf-bp-same-addr.exp: New file.
17588 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17590 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
17591 * gdb.arch/powerpc-power.s: Likewise.
17593 2014-06-02 Joel Brobecker <brobecker@adacore.com>
17595 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
17597 2014-06-01 Yao Qi <yao@codesourcery.com>
17599 * gdb.base/watchpoint.exp (test_watch_location): Check null
17600 pointer can be dereferenced. If not, do the test, otherwise
17603 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
17605 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
17607 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
17609 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
17611 * gdb.arch/amd64-invalid-stack-middle.S: New file.
17612 * gdb.arch/amd64-invalid-stack-middle.c: New file.
17613 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
17614 * gdb.arch/amd64-invalid-stack-top.c: New file.
17615 * gdb.arch/amd64-invalid-stack-top.exp: New file.
17617 2014-05-30 Pedro Alves <palves@redhat.com>
17619 PR breakpoints/17000
17620 * gdb.base/sss-bp-on-user-bp.c: New file.
17621 * gdb.base/sss-bp-on-user-bp.exp: New file.
17623 2014-05-30 David Blaikie <dblaikie@gmail.com>
17625 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
17626 gnu_inline semantics via attribute.
17627 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
17628 source explicitly specifies the required semantics.
17630 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
17632 * gdb.reverse/sigall-reverse.exp: Fix a typo.
17634 2014-05-29 Pedro Alves <palves@redhat.com>
17635 Tom Tromey <tromey@redhat.com>
17637 * gdb.base/async-shell.exp: Don't enable target-async.
17638 * gdb.base/async.exp
17639 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
17641 (top level): Don't test with "target-async".
17642 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
17643 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
17644 * gdb.base/inferior-died.exp: Don't enable target-async.
17645 * gdb.base/interrupt-noterm.exp: Likewise.
17646 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
17647 * gdb.mi/mi-nonstop-exit.exp: Likewise.
17648 * gdb.mi/mi-nonstop.exp: Likewise.
17649 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
17650 * gdb.mi/mi-nsintrall.exp: Likewise.
17651 * gdb.mi/mi-nsmoribund.exp: Likewise.
17652 * gdb.mi/mi-nsthrexec.exp: Likewise.
17653 * gdb.mi/mi-watch-nonstop.exp: Likewise.
17654 * gdb.multi/watchpoint-multi.exp: Adjust comment.
17655 * gdb.python/py-evsignal.exp: Don't enable target-async.
17656 * gdb.python/py-evthreads.exp: Likewise.
17657 * gdb.python/py-prompt.exp: Likewise.
17658 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
17659 * gdb.server/solib-list.exp: Don't enable target-async.
17660 * gdb.threads/thread-specific-bp.exp: Likewise.
17661 * lib/mi-support.exp: Adjust to use mi-async.
17663 2014-05-29 Pedro Alves <palves@redhat.com>
17666 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
17667 reason, even in sync mode.
17669 2014-05-29 Pedro Alves <palves@redhat.com>
17670 Hui Zhu <hui@codesourcery.com>
17673 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
17674 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
17675 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
17676 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
17678 2014-05-28 Joel Brobecker <brobecker@adacore.com>
17680 * config/monitor.exp (gdb_target_monitor): Replace use of
17681 "set remotebaud" by "set serial baud".
17683 2014-05-26 Andy Wingo <wingo@igalia.com>
17685 * gdb.guile/scm-breakpoint.exp:
17686 * gdb.guile/scm-gsmob.exp: Update to use plain old object
17687 properties instead of gdb-object-properties.
17689 2014-05-26 Yao Qi <yao@codesourcery.com>
17691 * gdb.server/no-thread-db.exp: Specify source file name
17692 explicitly when setting a breakpoint.
17694 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17696 * gdb.btrace/vdso.c: New.
17697 * gdb.btrace/vdso.exp: New.
17699 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17701 * gdb.base/gcore.exp (capture_command_output): Move ...
17702 * lib/gdb.exp (capture_command_output): ... here.
17704 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17706 * gdb.btrace/data.exp: Test memory access during btrace replay.
17708 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
17710 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
17712 2014-05-21 Pedro Alves <palves@redhat.com>
17715 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
17716 (top level): Test that output related to execution commands is
17717 sent to the console with CLI commands, but not with MI commands.
17718 Test that breakpoint events are always mirrored to the console.
17719 Also expect the new source line to be output after a "next" in
17720 async mode too. Make it a pass/fail test.
17721 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
17723 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
17725 2014-05-21 Pedro Alves <palves@redhat.com>
17727 * gdb.base/list.exp (build_pattern, test_list): New procedures.
17728 Use them to test variations of "list" after reaching a breakpoint.
17729 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
17730 Test "list" with listsize 10 after reaching a breakpoint.
17731 * gdb.python/python.exp (decode_line current location line
17732 number): Adjust expected line number.
17734 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
17736 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
17737 behavior for $args, pass it directly to "run".
17739 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
17741 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
17744 2014-05-21 Pedro Alves <palves@redhat.com>
17746 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
17747 auto-connect-native-target off".
17748 * gdb.base/auto-connect-native-target.c: New file.
17749 * gdb.base/auto-connect-native-target.exp: New file.
17751 2014-05-21 Pedro Alves <palves@redhat.com>
17753 * gdb.base/default.exp: Test "target native" instead of "target
17756 2014-05-21 Mark Wielaard <mjw@redhat.com>
17758 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
17760 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17762 Fix TLS access for -static -pthread.
17763 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
17764 <HAVE_TLS> (thread_function, main): Initialize it.
17765 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
17767 <$have_tls != "">: Check TLSVAR.
17769 2014-05-21 Pedro Alves <palves@redhat.com>
17771 * gdb.base/dcache-line-read-error.c: New.
17772 * gdb.base/dcache-line-read-error.exp: New.
17774 2014-05-20 Pedro Alves <palves@redhat.com>
17776 * gdb.base/compare-sections.c: New file.
17777 * gdb.base/compare-sections.exp: New file.
17779 2014-05-20 Pedro Alves <palves@redhat.com>
17781 * gdb.base/break-idempotent.c: New file.
17782 * gdb.base/break-idempotent.exp: New file.
17784 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
17786 * gdb.btrace/nohist.exp: New.
17788 2014-05-20 Yao Qi <yao@codesourcery.com>
17790 * lib/gdb.exp (gdb_init): Set timeout if test file is under
17791 gdb.reverse directory and gdb_reverse_timeout exists in board
17793 * README: Document gdb_reverse_timeout.
17795 2014-05-20 Yao Qi <yao@codesourcery.com>
17797 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
17798 'test_file_name'. Treat args as a string instead of a list.
17799 (gdb_init): Rename argument 'args' by 'test_file_name'.
17801 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
17803 * gdb.arch/powerpc-power.exp: New file.
17804 * gdb.arch/powerpc-power.s: New file.
17806 2014-05-16 Doug Evans <dje@google.com>
17808 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
17809 * gdb.base/completion.exp: Check that all expected files exist
17810 before doing file completion.
17812 2014-05-16 Doug Evans <dje@google.com>
17814 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
17816 (do_syscall_tests_without_xml): Update.
17818 2014-05-16 Pedro Alves <palves@redhat.com>
17820 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
17821 instead of "unknown output after running".
17823 2014-05-16 Yao Qi <yao@codesourcery.com>
17825 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
17826 file1.txt from host at the end.
17827 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
17829 2014-05-15 Doug Evans <dje@google.com>
17831 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
17832 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
17833 loading file. Add test for TU lookup.
17835 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17837 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
17838 calling "-exec-arguments" or "set args" before running the
17841 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17843 * lib/mi-support.exp (mi_expect_stop): Expect message for
17844 inferiors that exit with non-zero exit code.
17846 2014-05-14 Yao Qi <yao@codesourcery.com>
17848 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
17849 match absolute path on remote host.
17850 (test_file_list_exec_source_files): Remove "/" from the
17853 2014-05-14 Yao Qi <yao@codesourcery.com>
17855 * boards/local-remote-host-notty.exp (${board}_file): New
17858 2014-05-07 Kyle McMartin <kyle@redhat.com>
17860 Pushed by Joel Brobecker <brobecker@adacore.com>.
17861 * gdb.arch/aarch64-atomic-inst.c: New file.
17862 * gdb.arch/aarch64-atomic-inst.exp: New file.
17864 2014-05-07 Yao Qi <yao@codesourcery.com>
17866 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
17867 in current context" too.
17869 2014-05-05 Keith Seitz <keiths@redhat.com>
17871 * gdb.linespec/ls-dollar.exp: Add test for linespec
17872 file:convenience_variable.
17874 2014-05-05 Yao Qi <yao@codesourcery.com>
17876 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
17877 traceframes into tfile and ctf trace files. Read data from
17878 trace file and test collected data.
17879 (gdb_collect_locals_test): Likewise.
17880 (gdb_unavailable_registers_test): Likewise.
17881 (gdb_unavailable_floats): Likewise.
17882 (gdb_collect_globals_test): Likewise.
17883 (top-level): Append "ctf" to trace_file_targets if GDB
17886 2014-05-05 Yao Qi <yao@codesourcery.com>
17888 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
17890 (gdb_collect_args_test_1): ... it. New proc.
17891 (gdb_collect_locals_test): Move some code to ...
17892 (gdb_collect_locals_test_1): ... it. New proc.
17893 (gdb_unavailable_registers_test): Move some code to ...
17894 (gdb_unavailable_registers_test_1): ... it. New proc.
17895 (gdb_unavailable_floats): Move some code to ...
17896 (gdb_unavailable_floats_1): ... it. New proc.
17898 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17900 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
17901 probes to test for bitness recognition.
17902 * gdb.arch/amd64-stap-optional-prefix.exp
17903 (test_probe_value_without_reg): New procedure.
17904 Add code to test for different kinds of bitness.
17906 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17908 PR breakpoints/16889
17909 * gdb.arch/amd64-stap-optional-prefix.S: New file.
17910 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
17912 2014-05-01 Pedro Alves <palves@redhat.com>
17914 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
17915 gdb_file_cmd if no file is specified.
17916 * boards/native-extended-gdbserver.exp (gdb_load): Use the
17917 last_loaded_file to set the remote exec-file.
17919 2014-05-01 Pedro Alves <palves@redhat.com>
17921 * boards/local-remote-host.exp: New file.
17923 2014-05-01 Pedro Alves <palves@redhat.com>
17925 * boards/local-remote-host.exp: Rename to ...
17926 * boards/local-remote-host-notty.exp: ... this.
17928 2014-04-28 Joel Brobecker <brobecker@adacore.com>
17930 * gdb.ada/dyn_arrayidx: New testcase.
17932 2014-04-26 Yao Qi <yao@codesourcery.com>
17934 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
17935 and compute the length of function main. Save it in
17937 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
17938 (top-level): Use gdb_compile to compile objects into
17939 executable and restart GDB. Remove invocation to
17940 prepare_for_testing.
17942 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
17943 Pedro Alves <palves@redhat.com>
17946 * gdb.multi/multi-attach.c: New file.
17947 * gdb.multi/multi-attach.exp: New file.
17949 2014-04-25 Pedro Alves <palves@redhat.com>
17951 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
17953 (top level): Test that "set remote conditional-breakpoints-packet
17954 off" works as intended.
17955 * gdb.base/dprintf.exp: Test that "set remote
17956 breakpoint-commands-packet off" works as intended.
17957 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
17959 (top level): Call it.
17960 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
17961 remote fast-tracepoints-packet off" works as intended.
17962 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
17963 * lib/gdb.exp (gdb_is_target_remote): ... here.
17965 2014-04-24 David Blaikie <dblaikie@gmail.com>
17967 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
17968 ensure clang would not discard them.
17969 * gdb.base/gdbvars.c: Ditto.
17970 * gdb.base/memattr.c: Ditto.
17971 * gdb.base/whatis.c: Ditto.
17972 * gdb.python/py-prettyprint.c: Ditto.
17973 * gdb.trace/actions.c: Ditto.
17974 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
17975 ensure clang would not discard it.
17977 2014-04-24 David Blaikie <dblaikie@gmail.com>
17979 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
17980 clang to emit the full definition of type required by the test
17981 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
17983 2014-04-24 David Blaikie <dblaikie@gmail.com>
17985 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
17986 coax Clang into emitting the definition of the type.
17987 * gdb.cp/pr10728-x.h (y): Ditto.
17988 * gdb.cp/pr10728-y.cc (y): Ditto.
17990 2014-04-24 David Blaikie <dblaikie@gmail.com>
17992 * gdb.base/label.exp: XFAIL label related tests under Clang.
17993 * gdb.cp/cplabel.exp: Ditto.
17994 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
17995 under Clang those using labels.
17997 2014-04-25 Yao Qi <yao@codesourcery.com>
17999 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
18001 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
18002 partial_label and double_label.
18004 2014-04-24 David Blaikie <dblaikie@gmail.com>
18006 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
18008 2014-04-24 David Blaikie <dblaikie@gmail.com>
18010 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
18011 of the function to work across GCC and Clang.
18012 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
18013 pointer types (const void ** const V void **).
18015 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
18016 Walfred Tedeschi <walfred.tedeschi@intel.com>
18018 * Makefile.in (EXECUTABLES): Added i386-avx512.
18019 * gdb.arch/i386-avx512.c: New file.
18020 * gdb.arch/i386-avx512.exp: Likewise.
18022 2014-04-23 Keith Seitz <keiths@redhat.com>
18024 * lib/mi-support.exp (mi_list_breakpoints): Delete.
18025 (mi_make_breakpoint_table): New procedure.
18026 (mi_create_breakpoint): Use mi_make_breakpoint
18027 and return the result.
18028 (mi_make_breakpoint): New procedure.
18029 (mi_build_kv_pairs): New procedure.
18031 * gdb.mi/mi-break.exp: Remove unused globals,
18032 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
18033 All callers updated.
18034 * gdb.mi/mi-dprintf.exp: Use variable to track command
18036 Update all callers of mi_create_breakpoint and use
18037 mi_make_breakpoint_table.
18038 Remove any unused global variables.
18039 * gdb.mi/mi-nonstop.exp: Likewise.
18040 * gdb.mi/mi-nsintrall.exp: Likewise.
18041 * gdb.mi/mi-nsmoribund.exp: Likewise.
18042 * gdb.mi/mi-nsthrexec.exp: Likewise.
18043 * gdb.mi/mi-reverse.exp: Likewise.
18044 * gdb.mi/mi-simplerun.exp: Likewise.
18045 * gdb.mi/mi-stepn.exp: Likewise.
18046 * gdb.mi/mi-syn-frame.exp: Likewise.
18047 * gdb.mi/mi-until.exp: Likewise.
18048 * gdb.mi/mi-var-cp.exp: Likewise.
18049 * gdb.mi/mi-var-display.exp: Likewise.
18050 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
18051 * gdb.mi/mi2-var-child.exp: Likewise.
18052 * gdb.mi/mi-vla-c99.exp: Likewise.
18053 * lib/mi-support.exp: Likewise.
18055 From Ian Lance Taylor <iant@cygnus.com>:
18056 * lib/gdb.exp (parse_args): New procedure.
18058 2014-04-23 Pedro Alves <palves@redhat.com>
18060 * gdb.base/break-unload-file.c: New file.
18061 * gdb.base/break-unload-file.exp: New file.
18062 * gdb.base/sym-file-lib.c (baz): New function.
18063 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
18065 (load): Store the segment's mapped size.
18066 (unload): New function.
18067 (unload_shlib): New function.
18068 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
18069 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
18070 set a breakpoint at baz, and call it.
18071 * gdb.base/sym-file.exp: New tests for stale breakpoint
18074 2014-04-23 Pedro Alves <palves@redhat.com>
18076 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
18077 * gdb.base/hbreak-in-shr-unsupported.c: New file.
18078 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
18079 * gdb.base/hbreak-unmapped.c: New file.
18080 * gdb.base/hbreak-unmapped.exp: New file.
18081 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
18082 * lib/gdb.exp (gdb_is_target_remote): ... here.
18084 2014-04-22 Pedro Alves <palves@redhat.com>
18086 * gdb.base/consecutive-step-over.c: New file.
18087 * gdb.base/consecutive-step-over.exp: New file.
18089 2014-04-22 Pedro Alves <palves@redhat.com>
18091 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
18092 instead of send_gdb/gdb_expect.
18094 2014-04-22 Yao Qi <yao@codesourcery.com>
18096 * lib/trace-support.exp (generate_tracefile): New procedure.
18097 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
18099 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
18100 if generate_tracefile returns 1.
18102 2014-04-18 Tom Tromey <palves@redhat.com>
18103 Pedro alves <tromey@redhat.com>
18106 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
18107 with a backtrace limit.
18108 * gdb.python/py-frame-inline.exp: Test running to an inline
18109 function with a backtrace limit, and printing the newest frame.
18110 * gdb.python/py-frame-inline.c (main): Call f.
18112 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
18114 * gdb.java/jnpe.exp: Drop srcdir from untested path.
18116 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
18118 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
18119 Drop prefix from unsupported source file path.
18121 2014-04-17 Yao Qi <yao@codesourcery.com>
18123 * lib/gdb.exp (with_target_charset): New proc.
18124 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
18125 with_target_charset.
18126 (test_print_strings): Likewise.
18127 (test_repeat_bytes): Likewise.
18128 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
18131 2014-04-16 Keith Seitz <keiths@redhat.com>
18134 * gdb.dwarf2/corrupt.c: New file.
18135 * gdb.dwarf2/corrupt.exp: New file.
18137 2014-04-16 Keith Seitz <keiths@redhat.com>
18140 * gdb.cp/namelessclass.cc: New file.
18141 * gdb.cp/namelessclass.exp: New file.
18142 * gdb.cp/namelessclass.S: New file.
18144 2014-04-16 Doug Evans <dje@google.com>
18146 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
18148 (gdbserver_default_get_comm_port): New function.
18149 (gdbserver_start): Check if board file provided
18150 "gdbserver,get_comm_port" and use it if so.
18151 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
18152 (gdb,socketport): Set to "stdio".
18153 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
18154 (stdio_gdbserver_template): Delete.
18155 (${board}_get_remote_address): Update.
18156 (${board}_build_remote_cmd): Delete.
18157 (${board}_get_comm_port): New function.
18158 (${board}_spawn): Update.
18159 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
18161 (${board}_get_remote_address): Update.
18162 (${board}_get_comm_port): New function.
18164 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
18166 * gdb.base/memattr.exp: Improve regexps to handle memory regions
18167 appearing in any order.
18169 2014-04-15 Doug Evans <dje@google.com>
18171 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
18172 uninitialized value of "description".
18174 2014-04-15 Keith Seitz <keiths@redhat.com>
18176 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
18177 Remove unused globals.
18178 (test_running_the_program): Likewise.
18179 (test_controlled_execution): Likewise.
18180 (test_controlling_breakpoints): Likewise.
18181 (test_program_termination): Likewise.
18183 2014-04-15 Keith Seitz <keiths@redhat.com>
18185 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
18187 (test_rbreak_creation_and_listing): Likewise.
18188 (test_ignore_count): Likewise.
18189 (test_error): Likewise.
18191 2014-04-15 Pedro Alves <palves@redhat.com>
18193 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
18194 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
18196 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
18197 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
18198 to sym-file-loader.c.
18199 (struct library): Forward declare.
18200 (load_shlib, lookup_function): Change prototypes.
18201 (find_shstrtab, find_strtab, find_shdr, find_symtab)
18202 (translate_offset): Remove declarations.
18203 (get_text_addr): New declaration.
18204 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
18205 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
18207 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
18208 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
18209 here from sym-file-loader.h.
18210 (struct library): New structure.
18211 (load_shlib, lookup_function): Change prototypes and adjust to
18212 work with a struct library.
18213 (find_shstrtab, find_strtab, find_shdr, find_symtab)
18214 (translate_offset): Make static.
18215 (get_text_addr): New function.
18216 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
18218 2014-04-15 Pedro Alves <palves@redhat.com>
18220 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
18222 2014-04-15 Pedro Alves <palves@redhat.com>
18224 * gdb.base/sym-file-loader.c: Include <limits.h>.
18225 (SELF_LINK): New define.
18226 (get_origin): New function.
18227 (load_shlib): Use it.
18228 * gdb.base/sym-file.exp: Don't early return if the target is
18229 remote. Use runto_main, and issue fail is that fails. Use
18231 (shlib_name): Delete.
18232 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
18234 2014-04-15 Pedro Alves <palves@redhat.com>
18236 * gdb.base/sym-file.exp: Remove regex characters from test
18237 message. Don't refer to breakpoint numbers in test messages.
18239 2014-04-14 Keith Seitz <keiths@redhat.com>
18242 * gdb.cp/var-tag.cc: New file.
18243 * gdb.cp/var-tag.exp: New file.
18244 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
18245 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
18246 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
18247 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
18249 2014-04-14 Tom Tromey <tromey@redhat.com>
18251 * gdb.cp/classes.exp (test_enums): Handle underlying type.
18252 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
18254 * gdb.cp/enum-class.exp: New file.
18255 * gdb.cp/enum-class.cc: New file.
18257 2014-04-14 Tom Tromey <tromey@redhat.com>
18259 * gdb.dwarf2/enum-type.exp: New file.
18261 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18263 * gdb.mi/mi-vla-c99.exp: New file.
18264 * gdb.mi/vla.c: New file.
18266 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18268 * gdb.base/vla-datatypes.c: New file.
18269 * gdb.base/vla-datatypes.exp: New file.
18271 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18273 * gdb.base/vla-ptr.c: New file.
18274 * gdb.base/vla-ptr.exp: New file.
18276 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18278 * gdb.dwarf2/count.exp: New file.
18280 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18282 * gdb.base/vla-sideeffect.c: New file.
18283 * gdb.base/vla-sideeffect.exp: New file.
18285 2014-04-14 David Blaikie <dblaikie@gmail.com>
18287 * gdb.mi/non-stop.c: Add return value for non-void function return
18289 * gdb.threads/staticthreads.c: Ditto.
18291 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
18292 Doug Evans <xdje42@gmail.com>
18294 * gdb.guile/scm-value.c: Improve test case.
18295 * gdb.guile/scm-value.exp: Add new test.
18297 2014-04-11 David Blaikie <dblaikie@gmail.com>
18299 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
18300 override Clang's default.
18302 2014-04-11 Joel Brobecker <brobecker@adacore.com>
18304 Revert the following changes (regressions):
18306 * gdb.base/vla-sideeffect.c: New file.
18307 * gdb.base/vla-sideeffect.exp: New file.
18309 * gdb.dwarf2/count.exp: New file.
18311 * gdb.base/vla-multi.c: New file.
18312 * gdb.base/vla-multi.exp: New file.
18314 * gdb.base/vla-ptr.c: New file.
18315 * gdb.base/vla-ptr.exp: New file.
18317 * gdb.base/vla-datatypes.c: New file.
18318 * gdb.base/vla-datatypes.exp: New file.
18320 * gdb.mi/mi-vla-c99.exp: New file.
18321 * gdb.mi/vla.c: New file.
18323 2014-04-11 Keith Seitz <keiths@redhat.com>
18326 * gdb.cp/cpsizeof.exp: New file.
18327 * gdb.cp/cpsizeof.cc: New file.
18329 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18331 * gdb.mi/mi-vla-c99.exp: New file.
18332 * gdb.mi/vla.c: New file.
18334 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18336 * gdb.base/vla-datatypes.c: New file.
18337 * gdb.base/vla-datatypes.exp: New file.
18339 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18341 * gdb.base/vla-ptr.c: New file.
18342 * gdb.base/vla-ptr.exp: New file.
18344 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18346 * gdb.base/vla-multi.c: New file.
18347 * gdb.base/vla-multi.exp: New file.
18349 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18351 * gdb.dwarf2/count.exp: New file.
18353 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18355 * gdb.base/vla-sideeffect.c: New file.
18356 * gdb.base/vla-sideeffect.exp: New file.
18358 2014-04-11 Yao Qi <yao@codesourcery.com>
18360 * gdb.base/completion.exp: Check file exists before running tests
18361 on file completion.
18363 2014-04-10 Pedro Alves <palves@redhat.com>
18365 * gdb.base/cond-eval-mode.c: New file.
18366 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
18367 prepare_for_testing to build the new file. Check result of
18369 (test_break, test_watch): New procedures.
18370 (top level): Use them.
18372 2014-04-08 Pierre Muller <muller@sourceware.org>
18374 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
18375 Ctrl-V use for mingw hosts.
18377 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
18379 * gdb.python/py-value.c: Improve test case.
18380 * gdb.python/py-value.exp: Add new test.
18382 2014-04-07 David Blaikie <dblaikie@gmail.com>
18384 * lib/compiler.c: Identify the clang compiler.
18385 * lib/compiler.cc: Ditto.
18387 2014-04-03 Yao Qi <yao@codesourcery.com>
18389 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
18391 2014-04-01 Anton Blanchard <anton@samba.org>
18393 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
18396 2014-04-01 Anton Blanchard <anton@samba.org>
18398 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
18399 prepare_for_testing.
18401 2014-04-01 Anton Blanchard <anton@samba.org>
18403 * gdb.arch/ppc64-atomic-inst.c: Remove.
18404 * gdb.arch/ppc64-atomic-inst.S: New file.
18405 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
18407 2014-03-31 Doug Evans <dje@google.com>
18409 * gdb.base/print-symbol-loading-lib.c: New file.
18410 * gdb.base/print-symbol-loading-main.c: New file.
18411 * gdb.base/print-symbol-loading.exp: New file.
18413 2014-03-31 Yao Qi <yao@codesourcery.com>
18415 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
18417 2014-03-28 Joel Brobecker <brobecker@adacore.com>
18419 * gdb.ada/mi_dyn_arr: New testcase.
18421 2014-03-27 Doug Evans <dje@google.com>
18423 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
18425 2014-03-27 Yao Qi <yao@codesourcery.com>
18427 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
18428 if target is nios2-*-*.
18430 2014-03-26 Yao Qi <yao@codesourcery.com>
18432 * lib/gdb.exp (readline_is_used): New proc.
18433 * gdb.base/completion.exp: Move tests on command complete up.
18434 Skip the rest of tests if readline is not used.
18435 * gdb.ada/complete.exp: Skp the test if readline is not
18437 * gdb.base/filesym.exp: Likewise.
18438 * gdb.base/macscp.exp: Likewise.
18439 * gdb.base/readline-ask.exp: Likewise.
18440 * gdb.base/readline.exp: Likewise.
18441 * gdb.python/py-cmd.exp: Likewise.
18442 * gdb.trace/tfile.exp: Likewise.
18444 2014-03-26 Yao Qi <yao@codesourcery.com>
18446 * gdb.base/macscp.exp: Fix code format issues.
18448 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
18450 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
18451 * gdb.asm/powerpc64le.inc: New file.
18453 2014-03-25 Pedro Alves <palves@redhat.com>
18454 Doug Evans <dje@google.com>
18456 * gdb.base/source-execution.c: New file.
18457 * gdb.base/source-execution.exp: New file.
18458 * gdb.base/source-execution.gdb: New file.
18460 2014-03-24 Doug Evans <dje@google.com>
18462 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
18465 2014-03-24 Hui Zhu <hui@codesourcery.com>
18466 Pedro Alves <palves@redhat.com>
18468 PR breakpoints/16101
18469 * gdb.base/dprintf.exp: Use unsupported rather than changing the
18470 test pass/fail messages. Detect missing support for dprintf when
18471 breakpoints are actually inserted.
18472 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
18473 breakpoints are actually inserted.
18474 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
18477 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
18479 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
18481 2014-03-22 Doug Evans <xdje42@gmail.com>
18483 * gdb.python/python.exp (python not supported): Verify multi-line
18484 python command issues an error.
18485 * gdb.guile/guile.exp (guile not supported): Verify multi-line
18486 guile command issues an error.
18488 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
18490 * gdb.threads/thread-specific.exp: Handle the lack of usable
18491 $this_breakpoint and $this_thread.
18493 2014-03-21 Hui Zhu <hui@codesourcery.com>
18495 * gdb.base/attach.exp (do_command_attach_tests): New.
18497 2014-03-20 Tom Tromey <tromey@redhat.com>
18498 Pedro Alves <palves@redhat.com>
18501 * gdb.base/condbreak-call-false.c: New file.
18502 * gdb.base/condbreak-call-false.exp: New file.
18504 2014-03-20 Pedro Alves <palves@redhat.com>
18506 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
18508 (block_signals, unblock_signals): Delete.
18509 (child_function_2, main): Remove references to deleted variable
18512 2014-03-20 Pedro Alves <palves@redhat.com>
18514 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
18515 Use pthread_kill to signal thread 2.
18516 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18517 Adjust to make the test send itself a signal rather than using the
18518 host's "kill" command.
18520 2014-03-20 Pedro Alves <palves@redhat.com>
18522 * gdb.threads/multiple-step-overs.c: New file.
18523 * gdb.threads/multiple-step-overs.exp: New file.
18524 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18525 Adjust expected infrun debug output.
18527 2014-03-20 Pedro Alves <palves@redhat.com>
18529 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
18530 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
18532 2014-03-20 Pedro Alves <palves@redhat.com>
18534 PR breakpoints/7143
18535 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
18536 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
18537 of gdb_test_multiple.
18538 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
18539 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
18541 2014-03-20 Pedro Alves <palves@redhat.com>
18543 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
18544 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
18546 2014-03-19 Pedro Alves <palves@redhat.com>
18548 * gdb.base/async.exp: Remove early return.
18550 2014-03-19 Pedro Alves <palves@redhat.com>
18552 * gdb.base/async.exp (step& tests): Pass explicit test messages.
18554 2014-03-19 Pedro Alves <palves@redhat.com>
18556 * gdb.base/async.exp (test_background): Expect \r\n after
18557 "completed." in the fail pattern.
18559 2014-03-19 Pedro Alves <palves@redhat.com>
18561 * gdb.base/async.exp (test_background): New procedure.
18562 Use it for all background execution command tests.
18564 2014-03-19 Pedro Alves <palves@redhat.com>
18566 * gdb.base/async.exp: Use prepare_for_testing.
18568 2014-03-19 Pedro Alves <palves@redhat.com>
18570 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
18573 2014-03-19 Pedro Alves <palves@redhat.com>
18575 * gdb.base/async.c (main): Add "jump here" and "until here" line
18577 * gdb.base/async.exp (jump_here): New global.
18578 (jump& test): Use it.
18579 (until_here): New global.
18580 (until& test): Use it.
18582 2014-03-19 Pedro Alves <palves@redhat.com>
18584 * gdb.base/async.exp: Don't frob gdb_protocol.
18586 2014-03-18 Doug Evans <xdje42@gmail.com>
18588 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
18589 Fix spelling of exec-done-display.
18591 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
18594 * gdb.base/gdb-sigterm.c: New file.
18595 * gdb.base/gdb-sigterm.exp: New file.
18597 2014-03-18 Pedro Alves <palves@redhat.com>
18600 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
18601 * lib/mi-support.exp (mi_expect_stop): Add special handling for
18604 2014-03-17 Joel Brobecker <brobecker@adacore.com>
18606 * gdb.ada/pckd_arr_ren: New testcase.
18608 2014-03-13 Doug Evans <xdje42@gmail.com>
18611 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
18612 collect after discarding symbols.
18614 2014-03-13 Ludovic Courtès <ludo@gnu.org>
18615 Doug Evans <xdje42@gmail.com>
18617 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
18618 to history survives a gc.
18620 2014-03-13 Pedro Alves <palves@redhat.com>
18622 * gdb.base/default.exp: Don't test "target procfs".
18624 2014-03-13 Pedro Alves <palves@redhat.com>
18626 * gdb.base/default.exp: Update "target child" and "target procfs"
18627 tests to not expect "Unix".
18629 2014-03-12 Tom Tromey <tromey@redhat.com>
18631 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
18632 New procs. Add target-async tests.
18633 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
18634 Add target-async tests.
18636 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18638 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
18639 'func_start' and 'func_end' for the beginning and end of the
18640 function code, respectively.
18641 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
18642 'func_end' instead of 'func' and 'main'.
18644 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18646 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
18647 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
18648 generate the debug info assembler source.
18650 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18652 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
18653 * gdb.dwarf2/arr-subrange.exp: Likewise.
18654 * gdb.dwarf2/dwz.exp: Likewise.
18655 * gdb.dwarf2/method-ptr.exp: Likewise.
18656 * gdb.dwarf2/missing-sig-type.exp: Likewise.
18657 * gdb.dwarf2/subrange.exp: Likewise.
18658 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
18659 * gdb.dwarf2/implptrpiece.exp: Likewise.
18660 * gdb.dwarf2/nostaticblock.exp: Likewise.
18662 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18664 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
18665 directory to absolute path name arguments.
18667 2014-03-10 Joel Brobecker <brobecker@adacore.com>
18669 * gdb.ada/tagged_access: New testcase.
18671 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
18673 * gdb.btrace/data.exp: Update expected output.
18675 2014-03-06 Yao Qi <yao@codesourcery.com>
18677 * gdb.trace/pr16508.exp: New file.
18679 2014-03-05 Pedro Alves <palves@redhat.com>
18682 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
18684 (top level): Adjust to use it. Add tests that exercise breakpoint
18685 interaction with the code-cache.
18687 2014-02-26 Ludovic Courtès <ludo@gnu.org>
18689 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
18690 test for 'history-append!'.
18692 2014-02-26 Joel Brobecker <brobecker@adacore.com>
18694 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
18695 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
18696 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
18697 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
18698 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
18699 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
18701 2014-02-26 Joel Brobecker <brobecker@adacore.com>
18703 * testsuite/gdb.python/py-pp-re-notag.c: New file.
18704 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
18705 * testsuite/gdb.python/py-pp-re-notag.p: New file.
18707 2014-02-26 Joel Brobecker <brobecker@adacore.com>
18709 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
18711 2014-02-26 Joel Brobecker <brobecker@adacore.com>
18713 * gdb.dwarf2/arr-stride.c: New file.
18714 * gdb.dwarf2/arr-stride.exp: New file.
18716 2014-02-26 Pedro Alves <palves@redhat.com>
18718 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
18719 that won't ever trigger. Make sure that GDB reports the correct
18720 breakpoint that caused the stop.
18722 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18725 * gdb.base/auto-load-script: New file.
18726 * gdb.base/auto-load.c: New file.
18727 * gdb.base/auto-load.exp: New file.
18730 * gdb.base/auto-load.exp: Fix out-of-srctree run.
18732 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18734 Fix dw2-icycle.exp -fsanitize=address GDB crash.
18735 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
18737 2014-02-24 Doug Evans <dje@google.com>
18739 * lib/gdb.exp (run_on_host): Log error output if program fails.
18741 2014-02-21 Pedro Alves <palves@redhat.com>
18743 * gdb.threads/step-after-sr-lock.c: Rename to ...
18744 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
18745 * gdb.threads/step-after-sr-lock.exp: Rename to ...
18746 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18749 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
18752 * gdb.arch/amd64-stap-special-operands.exp: New file.
18753 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
18754 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
18755 * gdb.arch/amd64-stap-triplet.S: Likewise.
18756 * gdb.arch/amd64-stap-triplet.c: Likewise.
18758 2014-02-20 Joel Brobecker <brobecker@adacore.com>
18760 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
18761 in .section pseudo-op.
18763 2014-02-20 lin zuojian <manjian2006@gmail.com>
18764 Joel Brobecker <brobecker@adacore.com>
18765 Doug Evans <xdje42@gmail.com>
18768 * gdb.dwarf2/dw2-icycle.S: New file.
18769 * gdb.dwarf2/dw2-icycle.c: New file.
18770 * gdb.dwarf2/dw2-icycle.exp: New file.
18772 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
18774 * gdb.python/py-value-cc.cc: Improve test case to enable testing
18775 operations on gdb.Value objects.
18776 * gdb.python/py-value-cc.exp: Add new test to test operations on
18779 2014-02-18 Doug Evans <dje@google.com>
18781 * Makefile.in (TESTS): New variable.
18782 (expanded_tests, expanded_tests_or_none): New variables
18783 (check-single): Pass $(expanded_tests_or_none) to runtest.
18784 (check-parallel): Only run tests in $(TESTS) if non-empty.
18785 (check/no-matching-tests-found): New rule.
18786 * README: Document TESTS makefile variable.
18788 2014-02-18 Doug Evans <dje@google.com>
18790 * Makefile.in (check-parallel): rm -rf outputs temp.
18792 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18794 Fix "ERROR: no fileid for" in the testsuite.
18795 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
18797 2014-02-12 Doug Evans <dje@google.com>
18799 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
18800 (MISCELLANEOUS): New variable.
18801 (clean): rm -rf $(MISCELLANEOUS).
18802 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
18803 dwp live in the same directory as symlinks, with each symlink pointed
18804 to a differently named file in a different directory.
18806 2014-02-11 Doug Evans <dje@google.com>
18808 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
18809 of Tcl file commands.
18811 2014-02-10 Mark Kettenis <kettenis@gnu.org>
18813 * gdb.threads/step-after-sr-lock.exp: Avoid executing
18814 "kill -SIGUSR1 -1".
18816 2014-02-10 Joel Brobecker <brobecker@adacore.com>
18818 * gdb.ada/tick_length_array_enum_idx: New testcase.
18820 2014-02-10 Doug Evans <xdje42@gmail.com>
18822 * configure.ac (AC_OUTPUT): Add gdb.guile.
18823 * configure: Regenerate.
18824 * lib/gdb-guile.exp: New file.
18825 * lib/gdb.exp (get_target_charset): New function.
18826 * gdb.base/help.exp: Update expected output from "apropos apropos".
18827 * gdb.guile/Makefile.in: New file.
18828 * gdb.guile/guile.exp: New file.
18829 * gdb.guile/scm-arch.c: New file.
18830 * gdb.guile/scm-arch.exp: New file.
18831 * gdb.guile/scm-block.c: New file.
18832 * gdb.guile/scm-block.exp: New file.
18833 * gdb.guile/scm-breakpoint.c: New file.
18834 * gdb.guile/scm-breakpoint.exp: New file.
18835 * gdb.guile/scm-disasm.c: New file.
18836 * gdb.guile/scm-disasm.exp: New file.
18837 * gdb.guile/scm-equal.c: New file.
18838 * gdb.guile/scm-equal.exp: New file.
18839 * gdb.guile/scm-error.exp: New file.
18840 * gdb.guile/scm-error.scm: New file.
18841 * gdb.guile/scm-frame-args.c: New file.
18842 * gdb.guile/scm-frame-args.exp: New file.
18843 * gdb.guile/scm-frame-args.scm: New file.
18844 * gdb.guile/scm-frame-inline.c: New file.
18845 * gdb.guile/scm-frame-inline.exp: New file.
18846 * gdb.guile/scm-frame.c: New file.
18847 * gdb.guile/scm-frame.exp: New file.
18848 * gdb.guile/scm-generics.exp: New file.
18849 * gdb.guile/scm-gsmob.exp: New file.
18850 * gdb.guile/scm-iterator.c: New file.
18851 * gdb.guile/scm-iterator.exp: New file.
18852 * gdb.guile/scm-math.c: New file.
18853 * gdb.guile/scm-math.exp: New file.
18854 * gdb.guile/scm-objfile-script-gdb.in: New file.
18855 * gdb.guile/scm-objfile-script.c: New file.
18856 * gdb.guile/scm-objfile-script.exp: New file.
18857 * gdb.guile/scm-objfile.c: New file.
18858 * gdb.guile/scm-objfile.exp: New file.
18859 * gdb.guile/scm-ports.exp: New file.
18860 * gdb.guile/scm-pretty-print.c: New file.
18861 * gdb.guile/scm-pretty-print.exp: New file.
18862 * gdb.guile/scm-pretty-print.scm: New file.
18863 * gdb.guile/scm-section-script.c: New file.
18864 * gdb.guile/scm-section-script.exp: New file.
18865 * gdb.guile/scm-section-script.scm: New file.
18866 * gdb.guile/scm-symbol.c: New file.
18867 * gdb.guile/scm-symbol.exp: New file.
18868 * gdb.guile/scm-symtab-2.c: New file.
18869 * gdb.guile/scm-symtab.c: New file.
18870 * gdb.guile/scm-symtab.exp: New file.
18871 * gdb.guile/scm-type.c: New file.
18872 * gdb.guile/scm-type.exp: New file.
18873 * gdb.guile/scm-value-cc.cc: New file.
18874 * gdb.guile/scm-value-cc.exp: New file.
18875 * gdb.guile/scm-value.c: New file.
18876 * gdb.guile/scm-value.exp: New file.
18877 * gdb.guile/source2.scm: New file.
18878 * gdb.guile/types-module.cc: New file.
18879 * gdb.guile/types-module.exp: New file.
18881 2014-02-10 Yao Qi <yao@codesourcery.com>
18884 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
18885 * configure: Regenerated.
18886 * Makefile.in: New file.
18888 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
18890 * gdb.python/py-framefilter.exp: Fix typo.
18892 2014-02-08 Yao Qi <yao@codesourcery.com>
18894 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
18895 that no =breakpoint-modified is emitted when breakpoints are
18896 modified through MI commands.
18898 2014-02-07 Pedro Alves <pedro@codesourcery.com>
18899 Pedro Alves <palves@redhat.com>
18901 * gdb.threads/step-after-sr-lock.c: New file.
18902 * gdb.threads/step-after-sr-lock.exp: New file.
18904 2014-02-07 Pedro Alves <palves@redhat.com>
18906 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
18908 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
18910 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
18911 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
18913 2014-02-06 Doug Evans <xdje42@gmail.com>
18915 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
18918 * gdb.gdb/python-interrupts.exp: New file.
18920 2014-02-05 Yao Qi <yao@codesourcery.com>
18922 * gdb.trace/report.exp (use_collected_data): Test the output
18923 of "info threads" and "info inferiors".
18925 2014-02-05 Yao Qi <yao@codesourcery.com>
18929 2013-05-24 Yao Qi <yao@codesourcery.com>
18931 * gdb.trace/tfile.exp: Test inferior and thread.
18933 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18935 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
18937 * gdb.base/step-bt.c: Call hello via function pointer to make
18938 sure its first instruction is executed on powerpc64le-linux.
18940 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18942 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
18944 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18946 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
18947 of the test patterns for use on little-endian systems.
18949 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18951 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
18952 (decimal_vector): Fix for little-endian.
18954 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
18956 * gdb.arch/sparc-sysstep.exp: New file.
18957 * gdb.arch/sparc-sysstep.c: Likewise.
18959 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
18961 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18963 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
18965 2014-01-23 Tom Tromey <tromey@redhat.com>
18967 * gdb.ada/array_char_idx: New testcase.
18969 2014-01-23 Tom Tromey <tromey@redhat.com>
18972 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
18973 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
18976 2014-01-23 Tom Tromey <tromey@redhat.com>
18979 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
18980 string from an inferior frame.
18981 * gdb.python/py-framefilter-mi.exp: Update.
18983 2014-01-22 Doug Evans <dje@google.com>
18985 * gdb.server/server-mon.exp: Add tests for "set debug-format".
18987 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18989 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
18991 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18993 * gdb.trace/entry-values.exp: Remove excess space character from
18994 regex patterns. Handle s390 call instruction.
18996 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18998 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
18999 define "*_start" label. Make "name" static.
19000 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
19001 ${name} by references to ${name}_start.
19003 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
19005 * gdb.base/info-macros.exp: Remove "debug" from the compile
19008 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
19010 * gdb.dlang/demangle.exp: New file.
19012 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
19014 * gdb.dlang/primitive-types.exp: New file.
19016 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
19018 * configure.ac: Create gdb.dlang/Makefile.
19019 * configure: Regenerate.
19020 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
19021 * gdb.dlang/Makefile.in: New file.
19022 * lib/d-support.exp: New file.
19023 * lib/gdb.exp (skip_d_tests): New proc.
19025 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19027 * gdb.btrace/delta.exp: Check reverse stepi.
19028 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
19029 * gdb.btrace/finish.exp: New.
19030 * gdb.btrace/next.exp: New.
19031 * gdb.btrace/nexti.exp: New.
19032 * gdb.btrace/record_goto.c: Add comments.
19033 * gdb.btrace/step.exp: New.
19034 * gdb.btrace/stepi.exp: New.
19035 * gdb.btrace/multi-thread-step.c: New.
19036 * gdb.btrace/multi-thread-step.exp: New.
19037 * gdb.btrace/rn-dl-bind.c: New.
19038 * gdb.btrace/rn-dl-bind.exp: New.
19039 * gdb.btrace/data.c: New.
19040 * gdb.btrace/data.exp: New.
19041 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
19043 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19045 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
19046 * gdb.btrace/exception.exp: Update.
19047 * gdb.btrace/instruction_history.exp: Update.
19048 * gdb.btrace/record_goto.exp: Update.
19049 * gdb.btrace/tailcall.exp: Update.
19050 * gdb.btrace/unknown_functions.exp: Update.
19051 * gdb.btrace/delta.exp: New.
19053 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19055 * gdb.btrace/record_goto.exp: Add backtrace test.
19056 * gdb.btrace/tailcall.exp: Add backtrace test.
19058 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19060 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
19061 * gdb.btrace/record_goto.c: New.
19062 * gdb.btrace/record_goto.exp: New.
19063 * gdb.btrace/x86-record_goto.S: New.
19065 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19067 * gdb.btrace/function_call_history.exp: Update tests.
19068 * gdb.btrace/instruction_history.exp: Update tests.
19070 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19072 * gdb.btrace/function_call_history.exp: Fix expected field
19073 order for "record function-call-history".
19074 Add new tests for "record function-call-history /c".
19075 * gdb.btrace/exception.cc: New.
19076 * gdb.btrace/exception.exp: New.
19077 * gdb.btrace/tailcall.exp: New.
19078 * gdb.btrace/x86-tailcall.S: New.
19079 * gdb.btrace/x86-tailcall.c: New.
19080 * gdb.btrace/unknown_functions.c: New.
19081 * gdb.btrace/unknown_functions.exp: New.
19082 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
19084 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19086 * gdb.btrace/instruction_history.exp: Update.
19087 * gdb.btrace/function_call_history.exp: Update.
19089 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19091 * gdb.btrace/function_call_history.exp: Fix expected function
19093 * gdb.btrace/instruction_history.exp: Initialize traced.
19094 Remove traced_functions.
19096 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19098 * gdb.btrace/function_call_history.exp: Update
19099 * gdb.btrace/instruction_history.exp: Update.
19101 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19103 * gdb.btrace/enable.exp: Update expected text.
19105 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
19107 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
19110 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
19112 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
19114 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
19116 * lib/gdb.exp (supports_process_record): Return true for
19117 arm*-linux*. (supports_reverse): Likewise.
19119 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
19123 * gdb.python/py-type.c: Enhance test case.
19124 * gdb.python/py-value-cc.cc: Likewise
19125 * gdb.python/py-type.exp: Add new tests.
19126 * gdb.python/py-value-cc.exp: Likewise
19128 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
19129 Pedro Alves <palves@redhat.com>
19131 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
19132 Make "name" extern.
19133 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
19134 references to ${name}_start by references to ${name}.
19136 2014-01-10 Joel Brobecker <brobecker@adacore.com>
19138 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
19140 2014-01-10 Joel Brobecker <brobecker@adacore.com>
19142 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
19144 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
19145 Pedro Alves <palves@redhat.com>
19147 * gdb.mi/mi-info-os.exp: Connect to the target with
19148 mi_gdb_target_load.
19150 2014-01-08 Pedro Alves <palves@redhat.com>
19152 * gdb.threads/reconnect-signal.c: New file.
19153 * gdb.threads/reconnect-signal.exp: New file.
19155 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
19157 * gdb.base/source-dir.exp: New file.
19159 2014-01-07 Joel Brobecker <brobecker@adacore.com>
19161 * gdb.ada/mi_interface: New testcase.
19163 2014-01-07 Joel Brobecker <brobecker@adacore.com>
19165 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
19166 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
19167 gdb.ada/pp-rec-component/pck.ads: New files.
19169 2014-01-07 Joel Brobecker <brobecker@adacore.com>
19171 * gdb.python/py-pp-integral.c: New file.
19172 * gdb.python/py-pp-integral.py: New file.
19173 * gdb.python/py-pp-integral.exp: New file.
19175 For older changes see ChangeLog-1993-2013.
19177 ;; Local Variables:
19178 ;; mode: change-log
19181 ;; version-control: never
19184 Copyright 2014-2020 Free Software Foundation, Inc.
19185 Copying and distribution of this file, with or without modification,
19186 are permitted provided the copyright notice and this notice are preserved.