1 2020-03-12 Tom de Vries <tdevries@suse.de>
3 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
6 2020-03-11 Simon Marchi <simon.marchi@efficios.com>
8 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
9 from Unix to Windows path.
11 2020-03-11 Tom de Vries <tdevries@suse.de>
13 * gdb.ada/minsyms.exp: Set language to ada.
15 2020-03-11 Tom de Vries <tdevries@suse.de>
17 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
19 2020-03-11 Tom de Vries <tdevries@suse.de>
21 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
23 2020-03-11 Tom Tromey <tromey@adacore.com>
25 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
27 2020-03-11 Tom de Vries <tdevries@suse.de>
29 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
31 2020-03-11 Tom de Vries <tdevries@suse.de>
33 * gdb.base/break-interp.exp: Limit verbose scope.
35 2020-03-11 Tom de Vries <tdevries@suse.de>
37 * gdb.fortran/logical.f90: Define variable with character type.
38 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
40 2020-03-11 Tom de Vries <tdevries@suse.de>
42 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
44 2020-03-11 Tom de Vries <tdevries@suse.de>
46 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
49 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
50 Bernd Edlinger <bernd.edlinger@hotmail.de>
52 * gdb.cp/step-and-next-inline.cc: New file.
53 * gdb.cp/step-and-next-inline.exp: New file.
54 * gdb.cp/step-and-next-inline.h: New file.
55 * gdb.dwarf2/dw2-is-stmt.c: New file.
56 * gdb.dwarf2/dw2-is-stmt.exp: New file.
57 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
58 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
59 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
61 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
63 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
64 is-stmt flag in the line table.
66 2020-03-09 Tom de Vries <tdevries@suse.de>
68 * lib/gdb.exp (cached_file): Create cache dir.
70 2020-03-07 Tom de Vries <tdevries@suse.de>
72 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
73 * gdb.cp/rvalue-ref-params.exp: Same.
75 2020-03-06 Tom de Vries <tdevries@suse.de>
77 * lib/gdb.exp (tentative_rename, cached_file): New proc.
78 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
80 2020-03-06 Tom de Vries <tdevries@suse.de>
82 * README: Fix "the the".
83 * gdb.base/dprintf.exp: Same.
85 2020-03-05 Tom de Vries <tdevries@suse.de>
87 * gdb.base/maint.exp: Update "main print statistics" expected output.
89 2020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
91 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
92 (fortran_int8): Likewise.
93 (fortran_real4): Likewise.
94 (fortran_real8): Likewise.
95 (fortran_complex4): Likewise.
96 (fortran_logical4): Likewise.
97 (fortran_character1): Likewise.
99 2020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
101 * gdb.fortran/logical.exp: Add tests that any non-zero value is
104 2020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
106 * gdb.base/printcmds.exp: Add test to verify printf of a
107 variable holding an address.
109 2020-03-03 Tom de Vries <tdevries@suse.de>
111 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
113 2020-03-03 Tom de Vries <tdevries@suse.de>
115 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
116 gdb_test_multiple call.
118 2020-03-03 Tom de Vries <tdevries@suse.de>
120 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
121 gdb_test_multiple calls.
123 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
125 * gdb.base/default.exp: Remove test of 'set history filename'.
126 * gdb.base/gdbinit-history.exp: Add tests for setting the history
127 filename to the empty string.
128 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
131 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
133 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
136 2020-03-02 Pedro Alves <palves@redhat.com>
137 Tom de Vries <tdevries@suse.de>
139 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
140 -prompt prefix, before user_code argument. Add -lbl option likewise.
141 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
142 (gdb_is_target_1): Add -prompt prefix and move to before user_code
144 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
145 have "\r\n" at start-of-line, instead of at end-of-line.
147 2020-02-28 Simon Marchi <simon.marchi@efficios.com>
149 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
152 2020-02-28 Luis Machado <luis.machado@linaro.org>
154 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
157 2020-02-28 Luis Machado <luis.machado@linaro.org>
159 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
160 asm/ptrace.h and error.h.
162 2020-02-28 Tom de Vries <tdevries@suse.de>
164 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
165 (struct wrapper, do_something, mundane/symada__cS): Move ...
166 * gdb.base/c-linkage-name-2.c: ... here. New source file.
167 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
168 Update "print symada__cS before partial symtab expansion" regexp.
169 Update breakpoint location. Flush symbol cache after expansion.
171 2020-02-28 Luis Machado <luis.machado@linaro.org>
173 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
175 2020-02-27 Tom de Vries <tdevries@suse.de>
177 * config/sid.exp: Remove unused globals.
178 * gdb.base/attach.exp: Same.
179 * gdb.base/catch-load.exp: Same.
180 * gdb.base/dbx.exp: Same.
182 * lib/mi-support.exp: Same.
183 * lib/prompt.exp: Same.
185 2020-02-27 Tom de Vries <tdevries@suse.de>
187 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
190 2020-02-26 Aaron Merey <amerey@redhat.com>
192 * gdb.debuginfod: New directory for debuginfod tests.
193 * gdb.debuginfod/main.c: New test file.
194 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
196 2020-02-26 Tom de Vries <tdevries@suse.de>
199 * gdb.base/persistent-lang.cc: New test.
200 * gdb.base/persistent-lang.exp: New file.
202 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
204 * gdb.fortran/derived-type-striding.exp: Add a new test.
205 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
208 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
210 * gdb.base/cached-source-file.exp: Avoid source file paths in test
213 2020-02-25 Tom de Vries <tdevries@suse.de>
216 * gdb.go/methods.exp: Remove gcc/93866 xfail.
218 2020-02-24 Tom de Vries <tdevries@suse.de>
221 * gdb.base/info-locals-unused-static-var.c: New test.
222 * gdb.base/info-locals-unused-static-var.exp: New file.
224 2020-02-22 Tom Tromey <tom@tromey.com>
226 * gdb.python/tui-window.exp: New file.
227 * gdb.python/tui-window.py: New file.
229 2020-02-22 Tom Tromey <tom@tromey.com>
232 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
235 2020-02-22 Tom Tromey <tom@tromey.com>
237 * gdb.tui/new-layout.exp: Add sub-layout tests.
239 2020-02-22 Tom Tromey <tom@tromey.com>
241 * gdb.tui/new-layout.exp: New file.
243 2020-02-22 Tom Tromey <tom@tromey.com>
245 * gdb.rust/rust-style.rs: New file.
246 * gdb.rust/rust-style.exp: New file.
247 * gdb.base/style.exp: Test structure printing.
248 * gdb.base/style.c (struct some_struct): New type.
249 (enum etype): New type.
250 (struct_value): New global.
252 2020-02-21 Tom de Vries <tdevries@suse.de>
255 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
256 Remove blanket xfails. Use message argument for gdb_breakpoint.
257 Make continuing to breakpoint test conditional on setting breakpoint.
258 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
259 DW_AT_name attribute. Add xfail for GCC PR93866.
261 2020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
263 * gdb.dwarf2/cpp-linkage-name.c: New file.
264 * gdb.dwarf2/cpp-linkage-name.exp: New file.
266 2020-02-21 Shahab Vahedi <shahab@synopsys.com>
268 * lib/gdb.exp (gdb_wrapper_init): Reset
269 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
272 2020-02-20 Tom de Vries <tdevries@suse.de>
275 * gdb.go/hello.exp: Copy ...
276 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
277 print of st to print value of global definition. Add xfail for GCC
279 * gdb.go/hello.exp: Remove printing of st before definition.
280 * gdb.go/hello.go: Copy ...
281 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
283 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
285 2020-02-20 Tom de Vries <tdevries@suse.de>
287 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
288 (gdb_simple_compile): Handle compile_flags go by using .go extension
290 * gdb.go/chan.exp: Use support_go_compile.
291 * gdb.go/handcall.exp: Same.
292 * gdb.go/hello.exp: Same.
293 * gdb.go/integers.exp: Same.
294 * gdb.go/max-depth.exp: Same.
295 * gdb.go/methods.exp: Same.
296 * gdb.go/package.exp: Same.
297 * gdb.go/strings.exp: Same.
298 * gdb.go/types.exp: Same.
299 * gdb.go/unsafe.exp: Same.
301 2020-02-19 Tom de Vries <tdevries@suse.de>
303 * gdb.python/lib-types.exp: Make xfail more strict.
305 2020-02-19 Tom de Vries <tdevries@suse.de>
307 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
309 2020-02-19 Doug Evans <dje@google.com>
312 * gdb.rust/simple.exp: Add test.
313 * gdb.rust/simple.rs: Add test.
315 2020-02-19 Tom de Vries <tdevries@suse.de>
317 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
320 2020-02-19 Tom de Vries <tdevries@suse.de>
322 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
324 2020-02-19 Tom de Vries <tdevries@suse.de>
326 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
329 2020-02-19 Tom de Vries <tdevries@suse.de>
331 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
332 (gdb_do_cache): Use gdb_do_cache_wrap.
333 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
335 2020-02-19 Tom de Vries <tdevries@suse.de>
337 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
340 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
342 * gdb.base/printcmds.exp (test_print_enums): Update expected
345 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
347 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
350 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
352 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
355 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
357 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
360 (enum flag_enum_without_zero): New enum.
361 (flag_enum_without_zero): New variable.
362 (enum not_flag_enum): New enum.
363 (three_not_flag): New variable.
364 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
365 (test_print_enums): Add more tests for printing flag enums.
367 2020-02-18 Tom de Vries <tdevries@suse.de>
369 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
370 (gdb_compile_ada): ... here.
371 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
372 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
374 2020-02-14 Tom Tromey <tom@tromey.com>
376 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
378 * boards/gdbserver-base.exp: Update path to gdbserver.
380 2020-02-13 Tom de Vries <tdevries@suse.de>
382 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
384 2020-02-13 Tom de Vries <tdevries@suse.de>
386 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
389 2020-02-13 Tom de Vries <tdevries@suse.de>
391 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
394 2020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
397 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
398 * gdb.base/cached-source-file.c: New file.
399 * gdb.base/cached-source-file.exp: New file.
401 2020-02-11 Tom de Vries <tdevries@suse.de>
404 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
406 2020-02-10 Tom de Vries <tdevries@suse.de>
408 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
410 2020-02-10 Maciej W. Rozycki <macro@wdc.com>
412 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
413 and $after_addr are both integers before making a comparison.
415 2020-02-09 Tom de Vries <tdevries@suse.de>
417 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
418 command output and paste it into gdb.log. If any, paste catch message
421 2020-02-07 Tom Tromey <tromey@adacore.com>
423 PR breakpoints/24915:
424 * gdb.base/annotate-symlink.exp: Use setup_xfail.
426 2020-02-06 Shahab Vahedi <shahab@synopsys.com>
428 * gdb.tui/tui-missing-src.exp: Add the "missing source
429 file" test for the TUI.
431 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
433 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
434 including a port number in the output.
436 2020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
438 * lib/fortran.exp (fortran_int4): Handle clang.
439 (fortran_int8): Likewise.
440 (fortran_real4): Likewise.
441 (fortran_real8): Likewise.
442 (fortran_complex4): Likewise.
443 (fortran_logical4): Likewise.
444 (fortran_character1): Likewise.
446 2020-02-04 Tom de Vries <tdevries@suse.de>
448 * README (Race detection): Add note.
450 2020-02-04 Tom de Vries <tdevries@suse.de>
452 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
454 2020-02-04 Tom de Vries <tdevries@suse.de>
456 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
458 2020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
460 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
461 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
462 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
464 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
465 binary for blttar, bnetarl.
466 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
467 wait instruction. Delete ldmx test.
468 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
470 2020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
472 * gdb.fortran/array-bounds-high.exp: New file.
473 * gdb.fortran/array-bounds-high.f90: New file.
475 2020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
477 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
478 Replace #include of <sys/fcntl.h> by <fcntl.h>.
480 2020-02-01 Tom de Vries <tdevries@suse.de>
482 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
484 2020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
487 * gdb.tui/tui-layout-asm-short-prog.S: New file.
488 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
490 2020-01-29 Luis Machado <luis.machado@linaro.org>
492 * gdb.arch/aarch64-brk-patterns.c: New source file.
493 * gdb.arch/aarch64-brk-patterns.exp: New test.
495 2020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
497 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
499 * gdb.cp/pass-by-ref.exp: Ditto.
501 2020-01-29 Tom de Vries <tdevries@suse.de>
503 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
504 * gdb.threads/watchpoint-fork-mt.c: Same.
505 * gdb.threads/watchpoint-fork-parent.c: Same.
506 * gdb.threads/watchpoint-fork-st.c: Same.
507 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
509 2020-01-27 Luis Machado <luis.machado@linaro.org>
511 * gdb.base/step-over-syscall.exp (setup): Check if we're already
512 sitting at a syscall instruction when we hit the syscall function's
514 Check PC against one obtained with the x command.
515 Validate syscall number.
516 (step_over_syscall): Don't continue to the syscall instruction if
519 2020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
521 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
523 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
525 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
526 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
528 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
530 * gdb.dwarf2/dw2-inline-stepping.c: New file.
531 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
533 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
535 * gdb.base/maint.exp: Update line table parsing test.
536 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
538 2020-01-24 Pedro Alves <palves@redhat.com>
541 * gdb.multi/multi-re-run-1.c: New.
542 * gdb.multi/multi-re-run-2.c: New.
543 * gdb.multi/multi-re-run.exp: New.
545 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
548 * gdb.server/server-kill-python.exp: New file.
550 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
552 * gdb.server/multi-ui-errors.c: New file.
553 * gdb.server/multi-ui-errors.exp: New file.
555 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
558 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
560 2020-01-19 Tom Tromey <tom@tromey.com>
562 * gdb.tui/main.exp: Add check for plain "file".
564 2020-01-16 Christian Biesinger <cbiesinger@google.com>
566 * lib/gdb.exp: Fix spelling error (seperatelly).
568 2020-01-14 Tom Tromey <tom@tromey.com>
571 * gdb.python/python.exp: Test decode_line with empty string
574 2020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
576 * gdb.base/skip-inline.exp: Extend test.
578 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
580 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
581 * gdb.dwarf2/dw2-bad-elf.c: New file.
582 * gdb.dwarf2/dw2-bad-elf.exp: New file.
584 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
586 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
589 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
591 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
594 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
596 * gdb.multi/multi-target.exp (setup): Factor out "info
597 connections" and "info inferiors" tests to ...
598 (test_info_inferiors): ... this new procedure.
599 (top level): Run new "info-inferiors" tests.
601 2020-01-10 Pedro Alves <palves@redhat.com>
603 * gdb.server/bkpt-other-inferior.exp: New file.
605 2020-01-10 Pedro Alves <palves@redhat.com>
607 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
609 * gdb.base/quit-live.exp: Likewise.
610 * gdb.base/remote-exec-file.exp: Likewise.
611 * gdb.guile/scm-progspace.exp: Likewise.
612 * gdb.linespec/linespec.exp: Likewise.
613 * gdb.mi/new-ui-mi-sync.exp: Likewise.
614 * gdb.mi/user-selected-context-sync.exp: Likewise.
615 * gdb.multi/multi-target.exp (setup): Add "info connection" and
616 "info inferiors" tests.
617 * gdb.multi/remove-inferiors.exp: Adjust expected output of
619 * gdb.multi/watchpoint-multi.exp: Likewise.
620 * gdb.python/py-inferior.exp: Likewise.
621 * gdb.server/extended-remote-restart.exp: Likewise.
622 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
624 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
625 * gdb.trace/report.exp: Likewise.
627 2020-01-10 Pedro Alves <palves@redhat.com>
629 * gdb.multi/multi-target.c: New file.
630 * gdb.multi/multi-target.exp: New file.
631 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
632 mode requested, but remote does not support non-stop".
634 2020-01-10 Pedro Alves <palves@redhat.com>
636 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
637 disconnect before reconnecting.
639 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
640 Pedro Alves <palves@redhat.com>
642 * gdb.server/connect-without-multi-process.exp: Also test
645 2020-01-10 Pedro Alves <palves@redhat.com>
647 * gdb.base/remote-exec-file.exp: New file.
649 2020-01-10 Pedro Alves <palves@redhat.com>
651 * gdb.base/fork-running-state.exp (do_test): Adjust expected
653 * gdb.threads/async.c: New.
654 * gdb.threads/async.exp: New.
655 * gdb.multi/tids-gid-reset.c: New.
656 * gdb.multi/tids-gid-reset.exp: New.
658 2020-01-10 George Barrett <bob@bob131.so>
660 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
661 to help in finding the image relocation offset.
662 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
663 options in arguments.
664 (stap_test_no_debuginfo): Likewise.
665 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
667 (stap_test): Add null semaphore relocation test.
669 2020-01-10 George Barrett <bob@bob131.so>
671 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
672 * gdb.base/stap-probe.exp: Likewise.
673 (stap_test): Pass argument as an additional flag.
674 (stap_test_no_debuginfo): Likewise.
675 (stap_test): Check `info probes stap' output for semaphore
676 addresses if the test binary is supposed to have them.
678 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
680 * gdb.tui/basic.exp: Add more scrolling tests.
682 2020-01-09 Tom Tromey <tom@tromey.com>
685 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
687 (Term::command, Term::resize): Update.
688 * gdb.tui/basic.exp: Add scrolling test.
690 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
692 * gdb.tui/tui-layout-asm.exp: New file.
694 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
696 * lib/tuiterm.exp (Term::check_box_contents): New proc.
698 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
700 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
701 (Term::enter_tui): Use Term::prepare_for_tui.
703 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
705 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
708 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
710 * gdb.base/skip.exp: Fix race condition in test.
712 2020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
714 * gdb.base/backtrace.c: New file.
715 * gdb.base/backtrace.exp: New file.
717 2020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
719 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
721 2020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
723 * gdb.base/style.exp: Test that warnings are styled.
725 2019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
727 * gdb.base/line65535.exp: New file.
728 * gdb.base/line65535.c: New file.
730 2019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
732 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
733 * lib/gnat_debug_info_test.adb: New file.
734 * gdb.ada/ptype_tagged_param.exp: Use
735 gnat_runtime_has_debug_info, expect a different output if
736 runtime does not have debug info.
738 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
740 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
741 (another) quote in test name.
743 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
745 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
746 Add quote in test name.
748 2019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
750 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
752 * gdb.cp/pass-by-ref.exp: Extend with more cases.
753 * gdb.cp/pass-by-ref-2.cc: New file.
754 * gdb.cp/pass-by-ref-2.exp: New file.
756 2019-12-20 Tom Tromey <tom@tromey.com>
758 * gdb.tui/list-before.exp: New file.
760 2019-12-20 Tom Tromey <tom@tromey.com>
762 * gdb.tui/list.exp: Check for source on initial listing.
764 2019-12-11 Tom Tromey <tromey@adacore.com>
766 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
769 2019-12-18 Simon Marchi <simon.marchi@efficios.com>
771 * gdb.base/default.exp: Update value of $_gdb_major.
773 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
775 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
777 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
779 * gdb.base/skip.exp: Whitespace fix.
781 2019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
783 * gdb.base/skip-inline.c: New file.
784 * gdb.base/skip-inline.exp: New file.
786 2019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
788 * gdb.base/jit-reader.exp (jit_reader_test): Rename
789 jit_function_00 to jit_function_stack_mangle.
790 * gdb.base/jithost.c (jit_function_t): Rename to...
791 (jit_function_stack_mangle_t): ... this.
792 (jit_function_add_t): New typedef.
793 (jit_function_00_code): Rename to...
794 (jit_function_stack_mangle_code): ... this, make static.
795 (jit_function_add_code): New.
796 (main): Generate "add" function and call it. Adjust to changes
798 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
799 (struct jithost_abi) <begin, end>: Remove fields.
800 <object, function_stack_mangle, function_add>: New fields.
801 * gdb.base/jitreader.c (struct reader_state) <code_begin,
802 code_end>: Remove fields.
803 <func_stack_mangle>: New field.
804 (read_debug_info): Adjust to renaming, create block for "add"
806 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
808 2019-12-11 Tom Tromey <tom@tromey.com>
810 * gdb.tui/resize.exp: Fix regexp.
811 * gdb.tui/regs.exp: Fix regexps.
812 * gdb.tui/main.exp: Fix regexp.
814 2019-12-11 Tom Tromey <tom@tromey.com>
816 * gdb.tui/resize.exp: Update.
817 * gdb.tui/empty.exp (layouts): Update.
819 2019-12-11 Tom Tromey <tom@tromey.com>
821 * gdb.tui/regs.exp: Update.
822 * gdb.tui/empty.exp (layouts): Update.
823 * gdb.tui/basic.exp: Update.
824 * lib/tuiterm.exp (_check_box): Don't check bottom border.
826 2019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
828 * gdb.base/options.exp: Add -raw-values in the print completion list.
829 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
831 2019-12-10 Kevin Buettner <kevinb@redhat.com>
833 * gdb.threads/omp-par-scope.c: New file.
834 * gdb/threads/omp-par-scope.exp: New file.
836 2019-12-10 Kevin Buettner <kevinb@redhat.com>
838 * lib/gdb.exp (support_nested_function_tests): New proc.
840 2019-12-10 Kevin Buettner <kevinb@redhat.com>
842 * lib/gdb.exp (gdb_compile_openmp): New proc.
843 (build_executable_from_specs): Add an "openmp" option.
844 (gdb_compile_pthreads): Add non-executable case.
846 2019-12-10 Tom Tromey <tromey@adacore.com>
848 * gdb.ada/unchecked_union.exp: New file.
849 * gdb.ada/unchecked_union/pck.adb: New file.
850 * gdb.ada/unchecked_union/pck.ads: New file.
851 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
852 * gdb-utils.exp (string_to_regexp): Also quote "?".
854 2019-12-10 George Barrett <bob@bob131.so>
856 Test scripted probe breakpoints.
857 * gdb.guile/scm-breakpoint.c (main): Add probe point.
858 * gdb.python/py-breakpoint.c (main): Likewise.
859 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
861 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
863 2019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
865 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
867 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
870 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
872 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
875 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
877 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
878 broken version of GCC.
880 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
882 * gdb.fortran/info-modules.exp: Rewrite to make use of new
883 sym-info-cmds library.
884 * gdb.fortran/info-types.exp: Likewise.
885 * lib/sym-info-cmds.exp: New file.
887 2019-12-08 Tom de Vries <tdevries@suse.de>
889 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
891 2019-12-07 Keith Seitz <keiths@redhat.com>
893 * gdb.base/corefile-buildid-shlib-shr.c: New file.
894 * gdb.base/corefile-buildid-shlib.c: New file.
895 * gdb.base/corefile-buildid.c: New file.
896 * gdb.base/corefile-buildid.exp: New file.
898 2019-12-06 Tom de Vries <tdevries@suse.de>
900 * gdb.dwarf2/varval.exp: Add decl before def test.
902 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
904 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
906 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
908 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
909 CV and reference conversion for overload resolution.
910 * gdb.cp/rvalue-ref-overload.exp: Test it.
912 2019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
914 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
915 * gdb.base/frameapply.exp: Test faas without command.
917 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
919 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
921 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
924 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
926 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
927 casting to type with no kind specified.
928 (test_basic_parsing_of_type_kinds): Additional tests for types
929 with no kind specified, and add tests for single/double
930 precision/complex types.
932 2019-12-04 Tom Tromey <tromey@adacore.com>
934 * gdb.base/endianity.c (struct other) <x>: New field.
935 (main): Initialize it.
936 * gdb.base/endianity.exp: Update.
938 2019-12-04 Tom Tromey <tromey@adacore.com>
940 * gdb.ada/scalar_storage/storage.adb: New file.
941 * gdb.ada/scalar_storage/pck.adb: New file.
942 * gdb.ada/scalar_storage/pck.ads: New file.
943 * gdb.ada/scalar_storage.exp: New file.
945 2019-12-04 Tom Tromey <tromey@adacore.com>
947 * gdb.base/endianity.c (struct otherendian) <f>: New field.
948 (main): Initialize it.
949 * gdb.base/endianity.exp: Update.
951 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
953 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
955 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
957 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
958 -symbol-info-module-functions and -symbol-info-module-variables.
960 2019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
962 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
964 2019-12-01 Richard Bunt <richard.bunt@arm.com>
965 Andrew Burgess <andrew.burgess@embecosm.com>
967 * gdb.fortran/derived-type-striding.exp: New file.
968 * gdb.fortran/derived-type-striding.f90: New file.
969 * gdb.fortran/array-slices.exp: New file.
970 * gdb.fortran/array-slices.f90: New file.
972 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
974 * gdb.base/define.exp: Test . in command names.
975 * gdb.base/setshow.exp: Update test, as . is now part of
978 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
980 * gdb.base/define-prefix.exp: New file.
982 2019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
984 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
986 (skip_btrace_pt_tests): Likewise.
988 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
990 * gdb.fortran/info-modules.exp: Compile source files in correct
993 2019-11-27 Kevin Buettner <kevinb@redhat.com>
995 * gdb.dwarf2/imported-unit.exp: New file.
996 * gdb.dwarf2/imported-unit.c: New file.
998 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1000 * gdb.mi/mi-fortran-modules-2.f90: New file.
1001 * gdb.mi/mi-fortran-modules.exp: New file.
1002 * gdb.mi/mi-fortran-modules.f90: New file.
1004 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1006 * gdb.mi/mi-sym-info-1.c: New file.
1007 * gdb.mi/mi-sym-info-2.c: New file.
1008 * gdb.mi/mi-sym-info.exp: New file.
1010 2019-11-22 Tom Tromey <tromey@adacore.com>
1012 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
1013 * gdb.ada/tasks/foo.adb: Add another stopping location.
1015 2019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
1017 * gdb.base/endianity.c: New test.
1018 * gdb.base/endianity.exp: New file.
1020 2019-11-21 Lukas Durfina <ldurfina@tachyum.com>
1022 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
1024 2019-11-21 Tom de Vries <tdevries@suse.de>
1027 * gdb.base/ui-redirect.exp: Test output of user-defined command.
1029 2019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1031 * gdb.python/py-progspace.exp: Add missing parentheses on some
1034 2019-11-19 Tom Tromey <tom@tromey.com>
1036 * gdb.tui/winheight.exp: New file.
1038 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1040 * gdb.base/ctf-whatis.c: Delete.
1041 * gdb.base/ctf-whatis.exp: Delete.
1042 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
1044 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1046 * gdb.base/ctf-cvexpr.exp: Delete.
1047 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
1049 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1051 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
1052 the compiler. Clean up header comment a little.
1053 * gdb.base/ctf-ptype.exp: Likewise.
1054 * gdb.base/ctf-whatis.exp: Likewise.
1055 * lib/gdb.exp (skip_ctf_tests): New proc.
1057 2019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
1059 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
1060 * gdb.tui/corefile-run.exp: New file.
1062 2019-11-14 Tom Tromey <tromey@adacore.com>
1064 * gdb.base/gdbvars.exp (test_convenience_variables): Add
1067 2019-11-12 Tom Tromey <tom@tromey.com>
1069 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
1070 after any command. Expect prompt after WAIT_FOR is seen.
1071 (enter_tui): Enable resize messages.
1072 (command): Expect command in output.
1073 (get_line): Avoid error when cursor appears to be off-screen.
1074 (dump_screen): Include screen size in title.
1075 (_do_resize): New proc, from "resize".
1076 (resize): Rewrite. Do resize in two steps.
1077 * gdb.tui/empty.exp (layouts): Fix entries.
1078 (check_boxes): Remove xfail.
1079 (check_text): Dump screen on failure.
1081 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
1083 * gdb.python/py-symbol.exp: Add test for
1084 gdb.lookup_static_symbols.
1086 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
1088 * gdb.python/py-symbol.c: Declare and call function from new
1090 * gdb.python/py-symbol.exp: Compile both source files, and add new
1091 tests for gdb.lookup_static_symbol.
1092 * gdb.python/py-symbol-2.c: New file.
1094 2019-11-02 Tom de Vries <tdevries@suse.de>
1096 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
1097 * gdb.base/anon.exp: Same.
1098 * gdb.base/auto-connect-native-target.exp: Same.
1099 * gdb.base/call-ar-st.exp: Same.
1100 * gdb.base/catch-syscall.exp: Same.
1101 * gdb.base/commands.exp: Same.
1102 * gdb.base/default.exp: Same.
1103 * gdb.base/display.exp: Same.
1104 * gdb.base/float.exp: Same.
1105 * gdb.base/foll-fork.exp: Same.
1106 * gdb.base/help.exp: Same.
1107 * gdb.base/info-macros.exp: Same.
1108 * gdb.base/info-proc.exp: Same.
1109 * gdb.base/info-target.exp: Same.
1110 * gdb.base/long_long.exp: Same.
1111 * gdb.base/macscp.exp: Same.
1112 * gdb.base/memattr.exp: Same.
1113 * gdb.base/nofield.exp: Same.
1114 * gdb.base/pointers.exp: Same.
1115 * gdb.base/printcmds.exp: Same.
1116 * gdb.base/ptype.exp: Same.
1117 * gdb.base/restore.exp: Same.
1118 * gdb.base/return.exp: Same.
1119 * gdb.base/scope.exp: Same.
1120 * gdb.base/set-noassign.exp: Same.
1121 * gdb.base/setshow.exp: Same.
1122 * gdb.base/shlib-call.exp: Same.
1123 * gdb.base/signals.exp: Same.
1124 * gdb.base/sigstep.exp: Same.
1125 * gdb.base/skip.exp: Same.
1126 * gdb.base/solib-symbol.exp: Same.
1127 * gdb.base/stap-probe.exp: Same.
1128 * gdb.base/step-line.exp: Same.
1129 * gdb.base/step-test.exp: Same.
1130 * gdb.base/style.exp: Same.
1131 * gdb.base/varargs.exp: Same.
1132 * gdb.base/vla-datatypes.exp: Same.
1133 * gdb.base/vla-ptr.exp: Same.
1134 * gdb.base/vla-sideeffect.exp: Same.
1135 * gdb.base/volatile.exp: Same.
1136 * gdb.base/watch-cond-infcall.exp: Same.
1137 * gdb.base/watchpoint.exp: Same.
1139 2019-11-02 Tom de Vries <tdevries@suse.de>
1141 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
1142 * gdb.cp/cpexprs.exp: Same.
1143 * gdb.cp/except-multi-location.exp: Same.
1144 * gdb.cp/exceptprint.exp: Same.
1145 * gdb.cp/gdb2384.exp: Same.
1146 * gdb.cp/inherit.exp: Same.
1147 * gdb.cp/m-static.exp: Same.
1148 * gdb.cp/meth-typedefs.exp: Same.
1149 * gdb.cp/misc.exp: Same.
1150 * gdb.cp/namespace.exp: Same.
1151 * gdb.cp/non-trivial-retval.exp: Same.
1152 * gdb.cp/overload.exp: Same.
1153 * gdb.cp/pr17132.exp: Same.
1154 * gdb.cp/re-set-overloaded.exp: Same.
1155 * gdb.cp/rvalue-ref-types.exp: Same.
1156 * gdb.cp/templates.exp: Same.
1158 2019-11-01 Luis Machado <luis.machado@linaro.org>
1162 * gdb.arch/pr25124.S: New file.
1163 * gdb.arch/pr25124.exp: New file.
1165 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1167 * gdb.fortran/info-modules.exp: Update expected results, and add
1168 additional tests for 'info module functinos', and 'info module
1170 * gdb.fortran/info-types.exp: Update expected results.
1171 * gdb.fortran/info-types.f90: Extend testcase with additional
1172 module variables and functions.
1174 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1176 * gdb.fortran/info-modules.exp: New file.
1177 * gdb.fortran/info-types.exp: Build with new file.
1178 * gdb.fortran/info-types.f90: Include and use new module.
1179 * gdb.fortran/info-types-2.f90: New file.
1181 2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1183 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
1184 * gdb.base/settings.exp: Test all settings types using
1185 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
1186 that now verifies that the value of "maint show" is the same as
1187 returned by the settings functions. Test the type of the
1188 maintenance settings.
1189 * gdb.base/default.exp: Update show_conv_list.
1191 2019-10-31 Tom de Vries <tdevries@suse.de>
1193 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
1195 * gdb.arch/amd64-disp-step.exp: Same.
1196 * gdb.asm/asm-source.exp: Same.
1197 * gdb.btrace/buffer-size.exp: Same.
1198 * gdb.btrace/cpu.exp: Same.
1199 * gdb.btrace/enable.exp: Same.
1200 * gdb.dwarf2/count.exp: Same.
1201 * gdb.dwarf2/dw2-ranges-func.exp: Same.
1202 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
1203 * gdb.fortran/vla-datatypes.exp: Same.
1204 * gdb.fortran/vla-history.exp: Same.
1205 * gdb.fortran/vla-ptype.exp: Same.
1206 * gdb.fortran/vla-value.exp: Same.
1207 * gdb.fortran/whatis_type.exp: Same.
1208 * gdb.guile/guile.exp: Same.
1209 * gdb.multi/tids.exp: Same.
1210 * gdb.python/py-finish-breakpoint.exp: Same.
1211 * gdb.python/py-framefilter.exp: Same.
1212 * gdb.python/py-pp-registration.exp: Same.
1213 * gdb.python/py-xmethods.exp: Same.
1214 * gdb.python/python.exp: Same.
1215 * gdb.server/connect-with-no-symbol-file.exp: Same.
1216 * gdb.server/no-thread-db.exp: Same.
1217 * gdb.server/run-without-local-binary.exp: Same.
1218 * gdb.stabs/weird.exp: Same.
1219 * gdb.threads/attach-many-short-lived-threads.exp: Same.
1220 * gdb.threads/thread-find.exp: Same.
1221 * gdb.threads/tls-shared.exp: Same.
1222 * gdb.threads/tls.exp: Same.
1223 * gdb.threads/wp-replication.exp: Same.
1224 * gdb.trace/ax.exp: Same.
1225 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
1227 2019-10-31 Tom de Vries <tdevries@suse.de>
1229 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
1230 * gdb.ada/array_subscript_addr.exp: Same.
1231 * gdb.ada/arrayidx.exp: Same.
1232 * gdb.ada/arrayparam.exp: Same.
1233 * gdb.ada/arrayptr.exp: Same.
1234 * gdb.ada/boolean_expr.exp: Same.
1235 * gdb.ada/call_pn.exp: Same.
1236 * gdb.ada/complete.exp: Same.
1237 * gdb.ada/fixed_cmp.exp: Same.
1238 * gdb.ada/fun_addr.exp: Same.
1239 * gdb.ada/funcall_param.exp: Same.
1240 * gdb.ada/interface.exp: Same.
1241 * gdb.ada/mod_from_name.exp: Same.
1242 * gdb.ada/null_array.exp: Same.
1243 * gdb.ada/packed_array.exp: Same.
1244 * gdb.ada/packed_tagged.exp: Same.
1245 * gdb.ada/print_chars.exp: Same.
1246 * gdb.ada/print_pc.exp: Same.
1247 * gdb.ada/ptype_arith_binop.exp: Same.
1248 * gdb.ada/ptype_field.exp: Same.
1249 * gdb.ada/ptype_tagged_param.exp: Same.
1250 * gdb.ada/rec_return.exp: Same.
1251 * gdb.ada/ref_tick_size.exp: Same.
1252 * gdb.ada/str_ref_cmp.exp: Same.
1253 * gdb.ada/taft_type.exp: Same.
1254 * gdb.ada/tagged.exp: Same.
1255 * gdb.ada/type_coercion.exp: Same.
1256 * gdb.ada/uninitialized_vars.exp: Same.
1258 2019-10-30 Tom de Vries <tdevries@suse.de>
1260 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
1262 2019-10-26 Tom de Vries <tdevries@suse.de>
1264 * gdb.base/bigcore.c: Fix typos in comments.
1265 * gdb.base/ctf-ptype.c: Same.
1266 * gdb.base/long_long.c: Same.
1267 * gdb.dwarf2/dw2-op-out-param.S: Same.
1268 * gdb.python/py-evthreads.c: Same.
1269 * gdb.reverse/i387-stack-reverse.c: Same.
1270 * gdb.trace/tfile.c: Same.
1271 * lib/compiler.c: Same.
1272 * lib/compiler.cc: Same.
1274 2019-10-25 Tom de Vries <tdevries@suse.de>
1276 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
1277 gdb_test_multiple calls.
1278 * gdb.reverse/sigall-reverse.exp: Same.
1279 * gdb.reverse/solib-precsave.exp: Same.
1280 * gdb.reverse/solib-reverse.exp: Same.
1281 * gdb.reverse/until-precsave.exp: Same.
1282 * gdb.reverse/until-reverse.exp: Same.
1284 2019-10-24 Tom de Vries <tdevries@suse.de>
1286 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
1287 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
1288 kfail using -wrap pattern flag and convenience variable
1291 2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
1293 * gdb.python/py-progspace.exp: Add tests for the
1294 Progspace.block_for_pc method.
1296 2019-10-23 Tom Tromey <tom@tromey.com>
1298 * configure: Rebuild.
1299 * aclocal.m4: Use m4_include, not sinclude.
1301 2019-10-21 Tom de Vries <tdevries@suse.de>
1303 * gdb.base/infcall-nested-structs.c: Add
1304 __attribute__((noinline,noclone)) to all functions.
1305 (call_all): Add missing variable initialization. Simplify return value.
1306 (breakpt): Increment volatile variable, to prevent call from being
1308 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
1310 2019-10-17 Tom de Vries <tdevries@suse.de>
1312 * gdb.fortran/module.exp: Allow info variables to print info for files
1313 other than module.f90.
1315 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
1317 * gdb.fortran/module.exp: Extend with 'info variables' test.
1319 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
1321 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
1324 2019-10-16 Tom de Vries <tdevries@suse.de>
1327 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
1329 2019-10-16 Tom de Vries <tdevries@suse.de>
1332 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
1333 Add KFAIL for PR tdep/25096.
1335 2019-10-16 Tom de Vries <tdevries@suse.de>
1338 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
1340 2019-10-16 Tom de Vries <tdevries@suse.de>
1342 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
1345 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
1347 * gdb.mi/list-thread-groups-available.exp: Read entries one by
1348 one instead of increasing timeout.
1350 2019-10-13 Tom de Vries <tdevries@suse.de>
1353 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
1354 * gdb.reverse/sigall-reverse.exp: Same.
1355 * gdb.reverse/solib-precsave.exp: Same.
1356 * gdb.reverse/solib-reverse.exp: Same.
1357 * gdb.reverse/step-precsave.exp: Same.
1358 * gdb.reverse/until-precsave.exp: Same.
1359 * gdb.reverse/until-reverse.exp: Same.
1360 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
1362 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
1364 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
1365 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
1366 (cmp_struct_05_01, cmp_struct_static_02_01)
1367 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
1370 2019-10-10 Tom de Vries <tdevries@suse.de>
1373 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
1376 2019-10-09 Tom de Vries <tdevries@suse.de>
1379 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
1381 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1383 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
1384 exceptions due to missing debug information.
1386 2019-10-07 Tom de Vries <tdevries@suse.de>
1388 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
1390 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
1392 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
1393 * gdb.base/annota1.exp: Update to use gdb_test_name.
1395 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
1397 * gdb.base/ctf-whatis.exp: New file.
1398 * gdb.base/ctf-whatis.c: New file.
1399 * gdb.base/ctf-ptype.exp: New file.
1400 * gdb.base/ctf-ptype.c: New file.
1401 * gdb.base/ctf-constvars.exp: New file.
1402 * gdb.base/ctf-constvars.c: New file.
1403 * gdb.base/ctf-cvexpr.exp: New file.
1405 2019-10-04 Tom de Vries <tdevries@suse.de>
1407 * gdb.cp/local-static.c (main): Move declaration of int i out of the
1410 2019-10-03 Tom Tromey <tom@tromey.com>
1413 * gdb.rust/simple.rs (Union2): New type.
1415 * gdb.rust/simple.exp: Add test.
1417 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1419 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
1420 nested function prefix.
1422 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
1423 Richard Bunt <richard.bunt@arm.com>
1424 Andrew Burgess <andrew.burgess@embecosm.com>
1426 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
1428 * gdb.fortran/nested-funcs.f90: Update expected results.
1429 * gdb.fortran/nested-funcs-2.exp: New file.
1430 * gdb.fortran/nested-funcs-2.f90: New file.
1432 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1434 * gdb.python/py-parameter.exp: Make test names unique.
1435 * gdb.python/py-template.exp: Likewise.
1436 * gdb.python/py-value.exp: Likewise.
1438 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1440 * gdb.base/break-interp.exp: Reduce test name duplication.
1441 * gdb.base/call-sc.exp: Likewise.
1442 * gdb.base/callfuncs.exp: Likewise.
1443 * gdb.base/charset.exp: Likewise.
1444 * gdb.base/dump.exp: Likewise.
1445 * gdb.base/ena-dis-br.exp: Likewise.
1446 * gdb.base/relational.exp: Likewise.
1447 * gdb.base/step-over-syscall.exp: Likewise.
1448 * gdb.base/structs.exp: Likewise.
1450 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1452 * gdb.linespec/explicit.exp: Make test names unique.
1453 * gdb.linespec/ls-errs.exp: Likewise.
1455 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1457 * gdb.reverse/break-precsave.exp: Make test names unique.
1458 * gdb.reverse/break-reverse.exp: Likewise.
1459 * gdb.reverse/finish-precsave.exp: Likewise.
1460 * gdb.reverse/finish-reverse.exp: Likewise.
1461 * gdb.reverse/machinestate-precsave.exp: Likewise.
1462 * gdb.reverse/machinestate.exp: Likewise.
1463 * gdb.reverse/readv-reverse.exp: Likewise.
1464 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1465 * gdb.reverse/sigall-precsave.exp: Likewise.
1466 * gdb.reverse/sigall-reverse.exp: Likewise.
1467 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
1468 * gdb.reverse/watch-precsave.exp: Likewise.
1469 * gdb.reverse/watch-reverse.exp: Likewise.
1471 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
1473 * gdb.threads/stop-with-handle.c: New file.
1474 * gdb.threads/stop-with-handle.exp: New file.
1476 2019-10-03 Tom de Vries <tdevries@suse.de>
1479 * gdb.base/list-missing-source.exp: Allowing the "Compilation
1480 directory" line to be missing.
1482 2019-10-03 Tom de Vries <tdevries@suse.de>
1485 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
1488 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
1490 * gdb.python/py-format-string.c (string.h): New include.
1491 (main): Fill a_struct_with_union.the_union.an_int with bytes of
1492 the same value, for endianness-independence.
1493 * gdb.python/py-format-string.exp (default_regexp_dict)
1494 (test_pretty_structs, test_format): Adjust expected output to the
1495 changed initialization.
1497 2019-10-02 Tom Tromey <tromey@adacore.com>
1499 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
1501 2019-10-02 Pedro Alves <palves@redhat.com>
1502 Andrew Burgess <andrew.burgess@embecosm.com>
1504 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
1506 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1507 (get_version_1): Print this_version_id and its address.
1508 Add extern "C" wrappers around interface functions.
1509 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
1511 (this_version_id) Use ATTRIBUTE_VISIBILITY.
1512 (get_version_2): Print this_version_id and its address.
1513 Add extern "C" wrappers around interface functions.
1514 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
1515 <stddef.h> and "print-file-var.h".
1516 Add extern "C" wrappers around interface functions.
1517 [VERSION_ID_MAIN] (this_version_id): Define.
1518 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
1519 * gdb.base/print-file-var.h: Add some #defines to simplify setting
1520 up extern "C" blocks.
1521 * gdb.base/print-file-var.exp (test): New, factored out from top
1523 (top level): Test all combinations of attribute hidden or not,
1524 dlopen or not, and this_version_id symbol in main file or not.
1525 Compile tests as both C++ and C, make test names unique.
1527 2019-10-01 Tom Tromey <tom@tromey.com>
1529 * gdb.base/style.exp: Test "show logging filename".
1531 2019-10-01 Tom Tromey <tom@tromey.com>
1533 * lib/gdb-utils.exp (style): Handle "metadata" argument.
1534 * gdb.base/style.exp: Add metadata style test.
1536 2019-10-01 Tom Tromey <tom@tromey.com>
1538 * gdb.base/style.exp: Test "pwd".
1540 2019-10-01 Tom Tromey <tom@tromey.com>
1542 * gdb.base/style.exp: Update tests.
1544 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
1546 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
1548 (s1): Initialize fields 'four' and 'six' instead of 'three' and
1549 'five'. Use an all-ones bit pattern for each.
1550 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
1551 to its changed values.
1553 2019-09-30 Tom Tromey <tromey@adacore.com>
1555 * gdb.rust/traits.rs: Disable all warnings.
1557 2019-09-29 Tom de Vries <tdevries@suse.de>
1559 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
1561 2019-09-29 Tom de Vries <tdevries@suse.de>
1563 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
1565 2019-09-27 Tom de Vries <tdevries@suse.de>
1567 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
1569 2019-09-27 Tom de Vries <tdevries@suse.de>
1572 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
1574 2019-09-26 Tom Tromey <tromey@adacore.com>
1576 * gdb.ada/py_taft.exp: New file.
1577 * gdb.ada/py_taft/main.adb: New file.
1578 * gdb.ada/py_taft/pkg.adb: New file.
1579 * gdb.ada/py_taft/pkg.ads: New file.
1581 2019-09-24 Tom de Vries <tdevries@suse.de>
1584 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
1586 2019-09-22 Tom de Vries <tdevries@suse.de>
1588 * gdb.base/restore.exp: Allow register variables to be optimized out at
1591 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
1593 * gdb.arch/spu-info.exp: Remove file.
1594 * gdb.arch/spu-info.c: Remove file.
1595 * gdb.arch/spu-ls.exp: Remove file.
1596 * gdb.arch/spu-ls.c: Remove file.
1598 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
1599 * gdb.asm/spu.inc: Remove file.
1601 * gdb.base/dump.exp: Remove support for spu*-*-*.
1602 * gdb.base/stack-checking.exp: Likewise.
1603 * gdb.base/overlays.exp: Likewise.
1604 * gdb.base/ovlymgr.c: Likewise.
1605 * gdb.base/spu.ld: Remove file.
1607 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
1608 * gdb.cp/cpexprs.exp: Likewise.
1609 * gdb.cp/exception.exp: Likewise.
1610 * gdb.cp/gdb2495.exp: Likewise.
1611 * gdb.cp/mb-templates.exp: Likewise.
1612 * gdb.cp/pr9167.exp: Likewise.
1613 * gdb.cp/userdef.exp: Likewise.
1615 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
1617 * gdb.cell: Remove directory.
1618 * lib/cell.exp: Remove file.
1620 2019-09-19 Tom de Vries <tdevries@suse.de>
1622 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
1624 2019-09-19 Tom de Vries <tdevries@suse.de>
1626 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
1628 2019-09-19 Tom de Vries <tdevries@suse.de>
1630 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
1631 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
1632 (gdb_target_cmd): ... here.
1633 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
1636 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
1638 * gdb.base/source-dir.exp: Avoid having directory names in test
1641 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1643 * gdb.base/source-dir.exp: Add extra test for mapped compilation
1646 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
1648 * gdb.base/list-missing-source.exp: New file.
1650 2019-09-14 Tom de Vries <tdevries@suse.de>
1653 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
1654 * lib/ada.exp (gnatmake_version_at_least): New proc.
1656 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1658 * gdb.base/maint.exp: Use exec_has_index_section.
1660 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
1662 * gdb.base/maint.exp: Add test for 'maint info sections'.
1664 2019-09-12 Tom de Vries <tdevries@suse.de>
1666 * gdb.base/store.exp: Allow register variables to be optimized out at
1669 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1671 * gdb.ada/rdv_wait.exp: Update to new task names.
1672 * gdb.base/task_switch_in_core.exp: Likewise.
1673 * gdb.base/info_sources_base.c: Likewise.
1675 2019-09-10 Tom Tromey <tromey@adacore.com>
1677 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
1679 2019-09-10 Tom Tromey <tromey@adacore.com>
1681 * gdb.ada/dgopt.exp: New file.
1682 * gdb.ada/dgopt/x.adb: New file.
1684 2019-09-08 Tom Tromey <tom@tromey.com>
1686 * gdb.tui/resize.exp: Remove setup_xfail.
1687 * gdb.tui/regs.exp: Remove setup_xfail.
1688 * gdb.tui/basic.exp: Remove setup_xfail.
1690 2019-09-06 David Blaikie <dblaikie@gmail.com>
1692 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
1693 * gdb.cp/cplabel.exp: Ditto.
1694 * gdb.linespec/ls-errs.exp: Ditto.
1696 2019-09-05 Tom de Vries <tdevries@suse.de>
1698 * lib/gdb.exp (cmp_file_string): New proc.
1699 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
1700 runto_main. Verify save breakpoints output.
1702 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1704 * gdb.base/info-var.exp: Test info variables without running
1705 to main, to avoid expect's buffer overflow.
1707 2019-09-03 Tom Tromey <tromey@adacore.com>
1709 * gdb.ada/bias.exp: New file.
1710 * gdb.ada/bias/bias.adb: New file.
1711 * gdb.ada/print_chars.exp: Add regression test.
1712 * gdb.ada/print_chars/foo.adb (My_Character): New type.
1715 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
1717 * gdb.base/argv0-symlink.exp: Run only on native target
1720 2019-08-29 Tom de Vries <tdevries@suse.de>
1722 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
1724 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
1726 2019-08-28 Tom de Vries <tdevries@suse.de>
1728 * gdb.base/info-var.exp: Allow info variables to print info for files
1729 other than info-var-f1.c and info-var-f2.c.
1731 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1733 * gdb.fortran/info-types.exp: Add module.
1734 * gdb.fortran/info-types.f90: Update expected results.
1736 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
1738 * gdb.fortran/info-types.exp: New file.
1739 * gdb.fortran/info-types.f90: New file.
1740 * lib/fortran.exp (fortran_character1): New proc.
1742 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
1744 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
1745 functions'. Reindent as needed.
1746 * gdb.base/info-var-f1.c: New file.
1747 * gdb.base/info-var-f2.c: New file.
1748 * gdb.base/info-var.exp: New file.
1749 * gdb.base/info-var.h: New file.
1751 2019-08-26 Tom de Vries <tdevries@suse.de>
1754 * gdb.cp/no-libstdcxx-probe.exp: New test.
1756 2019-08-26 Tom de Vries <tdevries@suse.de>
1758 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
1759 * tests need to be skipped.
1760 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
1761 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
1762 mi_skip_libstdcxx_probe_tests.
1764 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
1766 * gdb.python/py-xmethods.exp: Use raw strings when passing
1767 arguments to SimpleXMethodMatcher.
1769 2019-08-22 Tom de Vries <tdevries@suse.de>
1771 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
1774 2019-08-21 Pedro Alves <palves@redhat.com>
1776 * gdb.base/with.exp: Test "with" with no arguments.
1778 2019-08-21 Tom de Vries <tdevries@suse.de>
1780 * gdb.base/gdb-caching-proc.exp: Sort files.
1782 2019-08-20 Tom de Vries <tdevries@suse.de>
1784 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
1787 2019-08-16 Tom de Vries <tdevries@suse.de>
1789 * gdb.base/compare-sections.exp ("after run to main"): Allow
1790 mismatched read-only sections for PIE executables.
1792 2019-08-16 Tom Tromey <tom@tromey.com>
1794 * lib/tuiterm.exp (_csi_Z): New proc.
1795 * gdb.tui/basic.exp: Update window positions.
1796 * gdb.tui/empty.exp: Update window positions.
1798 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1800 * gdb.base/examine-backward.exp: Correct regexp for
1801 "examine 3 bytes backward from ${address_zero}".
1803 2019-08-15 Tom Tromey <tom@tromey.com>
1805 * gdb.tui/empty.exp: Enable resizing tests.
1807 2019-08-15 Tom Tromey <tromey@adacore.com>
1809 * gdb.ada/char_enum.exp: Add regression tests.
1810 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
1812 (Char, Gchar): Update.
1813 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
1815 2019-08-15 Christian Biesinger <cbiesinger@google.com>
1817 * gdb.python/python.exp: Expect a leading underscore on
1818 GdbOutput{,Error}File.
1820 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1822 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
1825 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1827 * gdb.base/batch-preserve-term-settings.exp
1828 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
1830 2019-08-15 Christian Biesinger <cbiesinger@google.com>
1832 * lib/gdb.exp: When running on a mingw target, replace
1835 2019-08-14 Alan Hayward <alan.hayward@arm.com>
1837 * gdb.arch/aarch64-prologue.c: New test.
1838 * gdb.arch/aarch64-prologue.exp: New file.
1840 2019-08-13 Tom de Vries <tdevries@suse.de>
1842 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
1845 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
1847 * gdb.python/py-completion.exp: Download the .py file to the host
1848 and use its host pathname. Conditionalize tests that use
1849 tab completion and manipulate files on the build machine.
1850 * gdb.python/py-events.exp: Download the .py file to the host
1851 and use its host pathname.
1852 * gdb.python/py-evsignal.exp: Likewise.
1853 * gdb.python/py-evthreads.exp: Likewise.
1854 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
1856 * gdb.python/py-framefilter.exp: Download the .py file to the right
1857 place on the host. Match Windows pathname syntax.
1858 * gdb.python/py-mi-var-info-path-expression.exp: Download the
1859 .py file to the host and use its host pathname.
1860 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
1861 * gdb.python/py-objfile.exp: Expect a host pathname, not a
1862 build pathname. Skip symlink test on Windows host. Add missing
1863 newline at end of file.
1864 * gdb.python/py-pp-maint.exp: Download the .py file to the host
1865 and use its host pathname.
1866 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
1867 * gdb.python/py-section-script.exp: Use host location of binfile
1868 on safe-path. Use correct path separator on Windows host.
1869 Reorder alternatives in gdb_test_multiple to prevent matching
1870 the wrong alternative on success.
1871 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
1873 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
1875 * gdb.gdb/selftest.exp (test_with_self): Update test to now
1876 expect the GDB inferior to no longer immediately stop after
1877 being resumed with "signal SIGINT".
1879 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
1881 * gdb.linespec/break-ask.exp: Generalize regexps to match
1882 Windows pathnames too.
1884 2019-08-08 Tom de Vries <tdevries@suse.de>
1887 * lib/tuiterm.exp (_accept): Fix CSI regexp.
1889 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1891 * gdb.base/style.exp: Update tests for help doc new invariants.
1892 * gdb.base/help.exp: Likewise.
1894 2019-08-06 Tom Tromey <tom@tromey.com>
1896 * gdb.base/style.exp: Add disassemble test.
1897 * gdb.base/style.c (some_called_function): New function.
1900 2019-08-05 Christian Biesinger <cbiesinger@google.com>
1902 * gdb.python/py-block.exp: Test dictionary access on blocks.
1904 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
1907 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
1908 -list-thread-groups --available test when running under
1911 2019-08-05 Tom de Vries <tdevries@suse.de>
1914 * lib/gdb.exp (with_read1_timeout_factor): New proc.
1915 * gdb.base/help.exp: Use with_read1_timeout_factor.
1916 * gdb.base/info-macros.exp: Same.
1917 * gdb.cp/nested-types.exp: Same.
1919 2019-08-05 Tom de Vries <tdevries@suse.de>
1921 * lib/gdb.exp (version_at_least): Factor out of ...
1922 (tcl_version_at_least): ... here.
1923 (gdb_compile): Fail if pie results in non-PIE executable.
1924 (readelf_version, readelf_prints_pie): New proc.
1925 (exec_is_pie): Return -1 if unknown.
1927 2019-08-05 Tom de Vries <tdevries@suse.de>
1929 * lib/gdb.exp (tcl_version_at_least): Fix typo.
1931 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1933 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
1935 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1937 * lib/completion-support.exp (test_gdb_complete_none): Skip
1938 tab completion tests if no readline support.
1939 (test_gdb_complete_unique_re): Likewise.
1940 (test_gdb_complete_multiple): Likewise.
1942 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1944 * gdb.base/info_sources.exp: New file.
1945 * gdb.base/info_sources.c: New file.
1946 * gdb.base/info_sources_base.c: New file.
1948 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1950 * gdb.base/batch-exit-status.exp: Call test_exit_status with
1952 (test_exit_status): Add prefix argument.
1954 2019-08-01 Tom de Vries <tdevries@suse.de>
1957 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
1958 calling exp_continue for new thread and thread exited messages.
1960 2019-08-01 Tom de Vries <tdevries@suse.de>
1963 * gdb.base/structs.exp: Fix check-read1 timeout using
1965 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
1967 2019-08-01 Tom de Vries <tdevries@suse.de>
1970 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
1973 2019-08-01 Tom de Vries <tdevries@suse.de>
1976 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
1978 2019-07-30 Tom Tromey <tromey@adacore.com>
1980 * gdb.ada/display_nested.exp: New file.
1981 * gdb.ada/display_nested/foo.adb: New file.
1982 * gdb.ada/display_nested/pack.adb: New file.
1983 * gdb.ada/display_nested/pack.ads: New file.
1985 2019-07-30 Christian Biesinger <cbiesinger@google.com>
1987 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
1989 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
1991 2019-07-30 Tom de Vries <tdevries@suse.de>
1993 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
1996 2019-07-30 Tom de Vries <tdevries@suse.de>
1999 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
2000 (exec_is_pie): New proc.
2002 2019-07-29 Christian Biesinger <cbiesinger@google.com>
2004 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
2006 2019-07-29 Christian Biesinger <cbiesinger@google.com>
2008 * gdb.python/py-objfile.c: Add global and static vars.
2009 * gdb.python/py-objfile.exp: Test new functions Objfile.
2010 lookup_global_symbol and lookup_static_symbol.
2012 2019-07-29 Tom Tromey <tom@tromey.com>
2014 * lib/tuiterm.exp (Term::_csi_@): New proc.
2015 (Term::_csi_X): Don't move cursor.
2017 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2019 * gdb.base/options.exp: Update backtrace - completion to
2020 new option -frame-info.
2021 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
2022 Test new 'set print frame-info'. Test backtrace -frame-info
2023 overriding 'set print frame-info'.
2024 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
2025 Test new 'set print frame-info'.
2026 Verify consistency of backtrace with and without filters, with and
2027 without -no-filters.
2028 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
2031 2019-07-29 Tom de Vries <tdevries@suse.de>
2033 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
2036 2019-07-29 Tom de Vries <tdevries@suse.de>
2038 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
2039 is a substring of the first for "complete non-unique file name".
2041 2019-07-29 Tom de Vries <tdevries@suse.de>
2043 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
2046 2019-07-29 Tom de Vries <tdevries@suse.de>
2048 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
2049 Pass prompt_regexp parameter to gdb_test_multiple calls.
2051 2019-07-29 Tom de Vries <tdevries@suse.de>
2053 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
2054 print registers" regexps.
2056 2019-07-29 Tom de Vries <tdevries@suse.de>
2058 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
2060 2019-07-29 Tom de Vries <tdevries@suse.de>
2063 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
2064 (skip_python_tests_prompt): Add prompt_regexp argument to
2065 gdb_test_multiple calls.
2067 2019-07-27 Tom Tromey <tom@tromey.com>
2069 * gdb.tui/main.exp: New file.
2071 2019-07-27 Tom Tromey <tom@tromey.com>
2073 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
2075 * gdb.tui/empty.exp: New file.
2077 2019-07-27 Tom Tromey <tom@tromey.com>
2079 * lib/tuiterm.exp (spawn): New proc.
2080 (Term::resize): New proc.
2081 * gdb.tui/resize.exp: New file.
2083 2019-07-27 Tom Tromey <tom@tromey.com>
2085 * gdb.tui/list.exp: New file.
2087 2019-07-27 Tom Tromey <tom@tromey.com>
2089 * gdb.tui/regs.exp: New file.
2091 2019-07-27 Tom Tromey <tom@tromey.com>
2093 * gdb.tui/basic.exp: Add "layout split" test.
2095 2019-07-27 Tom Tromey <tom@tromey.com>
2097 * gdb.tui/basic.exp: Add "layout asm" test.
2099 2019-07-27 Tom Tromey <tom@tromey.com>
2101 * lib/tuiterm.exp: New file.
2102 * gdb.tui/basic.exp: New file.
2104 2019-07-27 Kevin Buettner <kevinb@redhat.com>
2106 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
2107 Enable tests associated with this flag. Adjust regex
2108 referencing "foo_low" to now refer to "foo_cold" instead.
2110 2019-07-27 Kevin Buettner <kevinb@redhat.com>
2112 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
2113 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
2114 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
2115 foo_cold. Revise comments to match.
2116 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
2117 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
2118 were wrapped into this proc; Call do_test in loop from outermost
2120 (foo_low): Rename all occurrences to "foo_cold".
2121 (backtrace from baz): New test.
2122 (x2/i foo_cold): New test.
2123 (info line *foo_cold): New test.
2125 2019-07-26 Tom de Vries <tdevries@suse.de>
2127 * gdb.arch/i386-pkru.exp: Fix unterminated string.
2129 2019-07-25 Tom de Vries <tdevries@suse.de>
2132 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
2133 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
2134 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
2135 (skip_libstdcxx_probe_tests): ... here.
2136 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
2138 2019-07-24 Tom de Vries <tdevries@suse.de>
2141 * gdb.objc/basicclass.m: Include stdio.h.
2142 * gdb.objc/nondebug.m: Same.
2143 * gdb.objc/objcdecode.m: Same.
2145 2019-07-24 Tom de Vries <tdevries@suse.de>
2148 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
2151 2019-07-24 Tom de Vries <tdevries@suse.de>
2154 * gdb.multi/tids.exp: Update error messages for info threads.
2156 2019-07-24 Tom de Vries <tdevries@suse.de>
2158 * gdb.base/info-types.exp: Allow info types to print info for more than
2161 2019-07-23 Tom de Vries <tdevries@suse.de>
2164 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
2165 gdb_spawn_with_cmdline_opts.
2167 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
2169 * gdb.arch/arm-cmse-sgstubs.c: New test.
2170 * gdb.arch/arm-cmse-sgstubs.exp: New file.
2172 2019-07-23 Tom de Vries <tdevries@suse.de>
2175 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
2176 issuing next command.
2178 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
2180 * gdb.ada/info_auto_lang.exp: Update expected results.
2181 * gdb.base/info-types.c: Add additional types to check.
2182 * gdb.base/info-types.exp: Update expected results.
2184 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
2186 * gdb.base/info-types.c: New file.
2187 * gdb.base/info-types.exp: New file.
2189 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
2191 * gdb.arch/riscv-bp-infcall.c: New file.
2192 * gdb.arch/riscv-bp-infcall.exp: New file.
2194 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
2196 PR breakpoints/24541
2197 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
2199 2019-07-14 Tom de Vries <tdevries@suse.de>
2202 * gdb.objc/basicclass.exp: Fix unterminated string.
2204 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
2205 Andrew Burgess <andrew.burgess@embecosm.com>
2207 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
2208 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
2210 * gdb.fortran/vla-value.exp: Print elements of an array with
2212 * gdb.fortran/vla.f90: Setup an array with negative bounds for
2215 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
2217 * gdb.base/options.exp (expect_string): Dequote strings in
2219 (test-string): Test strings with different quoting and reindent.
2221 2019-07-10 Tom Tromey <tromey@adacore.com>
2223 * gdb.ada/mi_ex_cond.exp: Update expected results.
2224 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
2225 * gdb.ada/mi_catch_ex.exp: Update expected results.
2226 * gdb.ada/mi_catch_assert.exp: Update expected results.
2227 * gdb.ada/catch_ex.exp (catch_exception_info)
2228 (catch_exception_entry, catch_assert_entry)
2229 (catch_unhandled_entry): Update.
2230 * gdb.ada/catch_assert_if.exp: Update expected results.
2232 2019-07-10 Richard Bunt <richard.bunt@arm.com>
2233 Stephen Roberts <stephen.roberts@arm.com>
2235 * gdb.base/define.exp: Restore original prompt.
2237 2019-07-09 Pedro Alves <palves@redhat.com>
2239 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
2240 breakpoints" output.
2241 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
2242 * gdb.python/py-breakpoint.exp: No longer expect that "catch
2243 throw" creates breakpoint.
2244 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
2245 'type="catchpoint"'.
2247 2019-07-09 Pedro Alves <palves@redhat.com>
2250 * gdb.cp/except-multi-location-lib.cc: New.
2251 * gdb.cp/except-multi-location-main.cc: New.
2252 * gdb.cp/except-multi-location.exp: New.
2254 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
2256 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
2257 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
2258 argument and update callers.
2260 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2262 * gdb.arch/amd64-break-on-asm-line.S: New file.
2263 * gdb.arch/amd64-break-on-asm-line.exp: New file.
2265 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2267 * gdb.base/printcmds.exp: Test printing C string and
2268 C wide string convenience vars without transiting via the inferior.
2269 Also make test names unique.
2271 2019-07-08 Alan Hayward <alan.hayward@arm.com>
2273 PR breakpoints/25011
2274 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
2276 2019-07-04 Pedro Alves <palves@redhat.com>
2278 * lib/gdb.exp (foreach_with_prefix): Don't return early if
2279 body returned ok(0), break(3) or continue(4).
2280 * gdb.testsuite/foreach_with_prefix.exp: New file.
2282 2019-07-04 Alan Hayward <alan.hayward@arm.com>
2284 * gdb.server/unittest.exp: Allow 0 unit tests to run.
2286 2019-07-03 Pedro Alves <palves@redhat.com>
2288 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
2291 2019-07-03 Pedro Alves <palves@redhat.com>
2294 * gdb.base/shell.exp: Load completion-support.exp.
2295 Adjust expected error output. Add completion tests.
2297 2019-07-03 Pedro Alves <palves@redhat.com>
2299 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
2302 2019-07-03 Pedro Alves <palves@redhat.com>
2304 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
2305 (expect_integer): Adjust to expect "-string".
2306 (expect_string): New.
2307 (all_options): Expect "-string".
2308 (test-flag, test-boolean): Adjust to expect "-string".
2309 (test-string): New proc.
2310 (top level): Call it.
2312 2019-07-03 Pedro Alves <palves@redhat.com>
2314 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
2315 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
2316 the expected output in the success.
2318 2019-07-03 Pedro Alves <palves@redhat.com>
2320 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
2321 Split one gdb_test_multiple call in two to avoid a race.
2323 2019-07-03 Pedro Alves <palves@redhat.com>
2325 * gdb.base/with.c: New file.
2326 * gdb.base/with.exp: New file.
2328 2019-07-03 Pedro Alves <palves@redhat.com>
2330 * gdb.base/settings.exp: Replace all references to "maint
2331 test-settings set" with references to "maint set test-settings",
2332 and all references to "maint test-settings show" with references
2333 to "maint show test-settings".
2335 2019-07-03 Pedro Alves <palves@redhat.com>
2337 * gdb.base/settings.exp (test-string): Adjust expected out when
2338 testing "maint test-settings show filename"
2340 2019-07-02 Pedro Alves <palves@redhat.com>
2342 * gdb.base/options.exp (test-info-threads): New procedure.
2343 (top level): Call it.
2345 2019-06-28 Tom Tromey <tromey@adacore.com>
2347 * gdb.dwarf2/ada-linkage-name.c: New file.
2348 * gdb.dwarf2/ada-linkage-name.exp: New file.
2350 2019-06-27 Tom Tromey <tromey@adacore.com>
2353 * gdb.cp/constexpr-field.exp: Use setup_xfail.
2355 2019-06-26 Tom de Vries <tdevries@suse.de>
2357 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
2359 2019-06-26 Tom de Vries <tdevries@suse.de>
2361 * gdb.base/index-cache.exp: Add back missing debug option.
2363 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2365 * gdb.base/alias.exp: Test non matching/non existing prefixes.
2367 2019-06-25 Tom de Vries <tdevries@suse.de>
2370 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
2372 2019-06-24 Tom de Vries <tdevries@suse.de>
2374 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
2376 2019-06-24 Tom de Vries <tdevries@suse.de>
2378 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
2379 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
2380 * gdb.trace/unavailable-dwarf-piece.exp: Same.
2382 2019-06-24 Tom de Vries <tdevries@suse.de>
2384 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
2386 2019-06-21 Tom de Vries <tdevries@suse.de>
2388 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
2390 2019-06-21 Tom de Vries <tdevries@suse.de>
2394 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
2397 2019-06-19 Tom Tromey <tromey@adacore.com>
2399 * gdb.ada/length_cond.exp: Add intro comment.
2401 2019-06-19 Tom Tromey <tromey@adacore.com>
2403 * gdb.ada/length_cond.exp: New file.
2404 * gdb.ada/length_cond/length_cond.adb: New file.
2405 * gdb.ada/length_cond/pck.adb: New file.
2406 * gdb.ada/length_cond/pck.ads: New file.
2408 2019-06-18 Tom de Vries <tdevries@suse.de>
2410 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
2412 2019-06-18 Tom Tromey <tromey@adacore.com>
2414 * gdb.base/list0.h: Add comment explaining control character.
2416 2019-06-18 Tom de Vries <tdevries@suse.de>
2418 * boards/fission.exp: Break up long debug_flags line.
2420 2019-06-16 Tom de Vries <tdevries@suse.de>
2423 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
2426 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
2429 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
2430 improve detection of bug gdb/24541.
2432 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
2435 * gdb.base/index-cache.exp (uses_readnow,
2436 expecting_index_cache_use): Define global variable.
2437 (test_cache_enabled_miss, test_cache_enabled_hit): Use
2438 expecting_index_cache_use.
2440 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
2441 Andrew Burgess <andrew.burgess@embecosm.com>
2443 * gdb.fortran/pointers.f90: New file.
2444 * gdb.fortran/print_type.exp: New file.
2445 * gdb.fortran/vla-ptype.exp: Adapt expected results.
2446 * gdb.fortran/vla-type.exp: Likewise.
2447 * gdb.fortran/vla-value.exp: Likewise.
2448 * gdb.mi/mi-vla-fortran.exp: Likewise.
2450 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2452 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
2453 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
2454 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
2457 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2459 * gdb.base/annota1.exp: Update expected results.
2460 * gdb.cp/annota2.exp: Likewise.
2461 * gdb.cp/annota3.exp: Likewise.
2463 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
2465 * gdb.base/style-logging.exp: Remove path from test name.
2467 2019-06-14 Tom Tromey <tromey@adacore.com>
2470 * gdb.base/style-logging.exp: New file.
2472 2019-06-14 Tom Tromey <tromey@adacore.com>
2474 * gdb.base/symfile-warn.exp: New file.
2475 * gdb.base/symfile-warn.c: New file.
2477 2019-06-14 Tom Tromey <tromey@adacore.com>
2479 * gdb.base/annotate-symlink.exp: New file.
2481 2019-06-14 Tom Tromey <tromey@adacore.com>
2483 * gdb.ada/set_wstr.exp: Add reassignment test.
2485 2019-06-14 Tom Tromey <tromey@adacore.com>
2487 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
2488 'unchecked_access and 'unrestricted_access as well.
2490 2019-06-14 Tom Tromey <tromey@adacore.com>
2493 * gdb.ada/vla.exp: Update tests.
2494 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
2497 2019-06-13 Pedro Alves <palves@redhat.com>
2499 * gdb.base/settings.exp (test-integer): Test junk after
2502 2019-06-13 Pedro Alves <palves@redhat.com>
2504 * gdb.base/options.exp (test-thread-apply): New.
2505 (top level): Call it.
2507 2019-06-13 Pedro Alves <palves@redhat.com>
2509 * gdb.base/options.exp (test-frame-apply): New.
2510 (top level): Test print commands with different "frame apply"
2513 2019-06-13 Pedro Alves <palves@redhat.com>
2515 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
2516 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
2517 'max_completions' parameter and handle it.
2518 (test_gdb_completion_offers_commands): New.
2520 2019-06-13 Pedro Alves <palves@redhat.com>
2522 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
2524 2019-06-13 Pedro Alves <palves@redhat.com>
2526 * gdb.base/options.exp (test-backtrace): New.
2527 (top level): Call it.
2529 2019-06-13 Pedro Alves <palves@redhat.com>
2531 * gdb.guile/scm-frame-args.exp: Use "set print
2532 raw-frame-arguments" instead of "set print raw frame-arguments".
2533 * gdb.python/py-frame-args.exp: Likewise.
2535 2019-06-13 Pedro Alves <palves@redhat.com>
2537 * gdb.compile/compile.exp: Adjust expected output to option
2540 2019-06-13 Pedro Alves <palves@redhat.com>
2542 * gdb.base/options.exp: Build executable.
2543 (test-print): New procedure.
2544 (top level): Call it, once for "print" and another for "compile
2547 2019-06-13 Pedro Alves <palves@redhat.com>
2549 * gdb.base/options.c: New file.
2550 * gdb.base/options.exp: New file.
2552 2019-06-13 Pedro Alves <palves@redhat.com>
2554 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
2555 that "o" is ambiguous.
2557 2019-06-13 Pedro Alves <palves@redhat.com>
2559 * gdb.base/settings.c: New file.
2560 * gdb.base/settings.exp: New file.
2562 2019-06-13 Pedro Alves <palves@redhat.com>
2564 * gdb.base/completion.exp: Fix comment typo.
2566 2019-06-13 Pedro Alves <palves@redhat.com>
2568 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
2571 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
2573 * gdb.fortran/block-data.f: New.
2574 * gdb.fortran/block-data.exp: New.
2576 2019-06-11 Tom de Vries <tdevries@suse.de>
2579 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
2582 2019-06-11 Tom de Vries <tdevries@suse.de>
2585 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
2587 2019-06-11 Tom de Vries <tdevries@suse.de>
2589 * boards/readnow.exp: New file.
2591 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
2593 * gdb.fortran/vla-sizeof.exp: Update expected results.
2595 2019-06-06 Amos Bird <amosbird@gmail.com>
2597 * gdb.base/annota1.exp (thread_switch): Add test for
2598 thread-exited annotation.
2600 2019-06-06 Tom Tromey <tromey@adacore.com>
2602 * gdb.base/maint.exp: Expect command started/finished output.
2604 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2606 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
2608 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
2610 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
2612 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
2613 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
2614 * gdb.arch/riscv-unwind-long-insn.c: New file.
2615 * gdb.arch/riscv-unwind-long-insn.exp: New file.
2617 2019-06-04 Christian Biesinger <cbiesinger@google.com>
2619 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
2621 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2623 * lib/gdb.exp (help_list_trailer): New regexp variable
2624 factorizing the help trailer message.
2625 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
2626 arg to allow to better factorize various tests.
2627 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
2628 (test_prefix_command_help): Use help_list_trailer.
2629 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
2630 * gdb.guile/scm-cmd.exp: Likewise.
2631 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
2632 * gdb.base/help.exp: Use test_user_defined_class_help.
2633 * gdb.base/style.exp: Add tests for styling of help and apropos.
2634 * lib/gdb-utils.exp (style): Add title and highlight styles.
2636 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2638 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
2640 * gdb.base/default.exp: Update for new convenience variables.
2642 2019-05-29 Tom Tromey <tromey@adacore.com>
2644 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
2645 to "break complete ada" test case's regexp.
2647 2019-05-29 Tom Tromey <tromey@adacore.com>
2650 * gdb.cp/constexpr-field.exp: New file.
2651 * gdb.cp/constexpr-field.cc: New file.
2653 2019-05-29 Tom Tromey <tromey@adacore.com>
2655 * gdb.base/finish.exp (finish_no_print): New proc.
2656 (finish_tests): Call it.
2658 2019-05-24 Tom de Vries <tdevries@suse.de>
2660 * gdb.dwarf2/gdb-add-index.exp: New file.
2662 2019-05-22 Tom Tromey <tromey@adacore.com>
2664 * gdb.base/info-shared.exp (check_info_shared): Use "style".
2665 * gdb.base/style.exp: Use "style".
2666 * lib/gdb-utils.exp (style): New proc.
2668 2019-05-22 Tom de Vries <tdevries@suse.de>
2670 * gdb.base/align.exp: Require c++11.
2672 2019-05-22 Tom de Vries <tdevries@suse.de>
2675 * gdb.python/py-mi-var-info-path-expression.exp: Call
2676 mi_skip_python_tests to check if python is supported.
2678 2019-05-22 Alan Hayward <alan.hayward@arm.com>
2680 * gdb.arch/aarch64-pauth.c: New test.
2681 * gdb.arch/aarch64-pauth.exp: New file.
2683 2019-05-22 Alan Hayward <alan.hayward@arm.com>
2685 * README (Re-running Tests Outside The Testsuite): New section.
2687 2019-05-21 Tom de Vries <tdevries@suse.de>
2689 * gdb.arch/amd64-eval.exp: Require c++11.
2690 * gdb.base/max-depth.exp: Same.
2691 * gdb.compile/compile-cplus-array-decay.exp: Same.
2692 * gdb.cp/meth-typedefs.exp: Same.
2693 * gdb.cp/subtypes.exp: Same.
2694 * gdb.cp/temargs.exp: Same.
2696 2019-05-21 Alan Hayward <alan.hayward@arm.com>
2698 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
2700 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
2703 * gdb.fortran/complex.exp: Remove setup_kfail calls.
2704 * gdb.fortran/printing-types.exp: Add new test.
2705 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
2707 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
2710 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2712 * README (Running the Testsuite): Change example.
2713 (Testsuite Parameters): Remove TRANSCRIPT.
2714 * lib/gdb.exp: Remove TRANSCRIPT check.
2716 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2718 * README (Testsuite Parameters): Add replay logging to
2720 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
2721 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
2722 as a comma separated list.
2723 (gdb_debug_init): Override procedure.
2725 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2727 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
2728 (gdb_write_cmd_file): New procedure.
2729 * lib/gdbserver-support.exp (gdbserver_start): Call
2730 gdbserver_write_cmd_file.
2731 (gdbserver_write_cmd_file): New procedure.
2733 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2735 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
2736 (delete_breakpoints): Likewise.
2737 (gdb_run_cmd): Likewise.
2738 (gdb_start_cmd): Likewise.
2739 (gdb_starti_cmd): Likewise.
2740 (gdb_internal_error_resync): Likewise.
2741 (gdb_test_multiple): Likewise.
2742 (gdb_reinitialize_dir): Likewise.
2743 (default_gdb_exit): Likewise.
2744 (gdb_file_cmd): Mark kill as optional.
2745 (default_gdb_start): Call gdb_stdin_log_init.
2746 (send_gdb): Call gdb_stdin_log_write.
2747 (rerun_to_main): Mark Y as an answer.
2748 (gdb_stdin_log_init): New function.
2749 (gdb_stdin_log_write): Likewise.
2751 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2753 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
2754 * gdb.base/debug-expr.exp: Likewise.
2755 * gdb.base/foll-fork.exp: Likewise.
2756 * gdb.base/foll-vfork.exp: Likewise.
2757 * gdb.base/fork-print-inferior-events.exp: Likewise.
2758 * gdb.base/gdb-sigterm.exp: Likewise.
2759 * gdb.base/gdbinit-history.exp: Likewise.
2760 * gdb.base/osabi.exp: Likewise.
2761 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
2762 * gdb.base/ui-redirect.exp: Likewise.
2763 * gdb.gdb/unittest.exp: Likewise.
2764 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
2765 * gdb.mi/mi-watch.exp: Likewise.
2766 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2767 * gdb.mi/user-selected-context-sync.exp: Likewise.
2768 * gdb.python/python.exp: Disable debug test when debugging.
2769 * gdb.threads/check-libthread-db.exp: Disable when debugging.
2770 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2772 * gdb.threads/stepi-random-signal.exp: Likewise.
2774 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2776 * Makefile.in: Pass through GDB_DEBUG.
2777 * README (Testsuite Parameters): Add GDB_DEBUG.
2778 (gdb,debug): Add board setting.
2779 * lib/gdb.exp (default_gdb_start): Start debugging.
2780 (gdb_debug_enabled): New procedure.
2781 (gdb_debug_init): Likewise.
2783 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2785 * Makefile.in: Pass through GDB_DEBUG.
2786 * README (Testsuite Parameters): Add GDB_DEBUG.
2787 (gdb,debug): Add board setting.
2788 * lib/gdb.exp (default_gdb_start): Start debugging.
2789 (gdb_debug_enabled): New procedure.
2790 (gdb_debug_init): Likewise.
2792 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2794 * gdb.base/ui-redirect.exp: Add debug redirect tests.
2796 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2798 * gdb.base/ui-redirect.exp: Test redirection.
2800 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
2802 * gdb.mi/mi-complete.exp: New file.
2803 * gdb.mi/mi-complete.cc: Likewise.
2805 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
2807 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
2808 indexed and sliced arrays, and pointers to arrays.
2810 2019-05-14 Tom Tromey <tromey@adacore.com>
2812 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
2815 2019-05-14 Tom de Vries <tdevries@suse.de>
2817 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
2818 selection entry encoding.
2820 2019-05-10 Tom Tromey <tromey@adacore.com>
2822 * gdb.ada/info_exc.exp: Add "complete" test.
2824 2019-05-09 Tom de Vries <tdevries@suse.de>
2826 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
2829 2019-05-09 Tom de Vries <tdevries@suse.de>
2831 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
2834 2019-05-08 Joel Brobecker <brobecker@adacore.com>
2836 * gdb.ada/frame_arg_lang.exp: New testcase.
2837 * gdb.ada/frame_arg_lang/bla.adb: New file.
2838 * gdb.ada/frame_arg_lang/pck.ads: New file.
2839 * gdb.ada/frame_arg_lang/pck.adb: New file.
2840 * gdb.ada/frame_arg_lang/foo.c: New file.
2842 2019-05-08 Tom Tromey <tromey@adacore.com>
2844 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
2846 2019-05-08 Tom Tromey <tromey@adacore.com>
2848 * gdb.base/ptype-offsets.exp: Update tests.
2850 2019-05-08 Tom Tromey <tromey@adacore.com>
2852 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
2854 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
2857 2019-05-08 Tom Tromey <tromey@adacore.com>
2859 * gdb.ada/vla.exp: New file.
2860 * gdb.ada/vla/vla.adb: New file.
2862 2019-05-07 Tom de Vries <tdevries@suse.de>
2864 * gdb.base/index-cache.exp (ls_host): Fix return statement.
2866 2019-05-07 Tom de Vries <tdevries@suse.de>
2869 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
2872 2019-05-07 Tom de Vries <tdevries@suse.de>
2875 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
2876 .debug_aranges section.
2878 2019-05-07 Tom de Vries <tdevries@suse.de>
2881 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
2883 2019-05-06 Tom de Vries <tdevries@suse.de>
2885 * lib/gdb.exp (exec_has_index_section): New proc.
2886 * gdb.base/index-cache.exp: Handle case that binfile contains an index
2889 2019-05-04 Tom de Vries <tdevries@suse.de>
2891 * boards/cc-with-debug-names.exp: New file.
2893 2019-05-03 Tom Tromey <tromey@adacore.com>
2895 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
2896 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
2897 * gdb.ada/char_enum.exp: Add test.
2899 2019-05-03 Tom de Vries <tdevries@suse.de>
2901 * boards/cc-with-gdb-index.exp: New file.
2903 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
2905 * gdb.rust/simple.exp: Add new test case.
2906 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
2907 (main): Initialise an instance of the new struct.
2909 2019-05-01 Tom Tromey <tromey@adacore.com>
2911 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
2913 (NPR): New variable.
2914 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
2917 2019-05-01 Tom Tromey <tromey@adacore.com>
2919 * gdb.ada/packed_array_assign.exp: Add packed assignment
2922 2019-05-01 Tom de Vries <tdevries@suse.de>
2924 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
2926 2019-05-01 Tom de Vries <tdevries@suse.de>
2928 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
2930 2019-04-30 Ali Tamur <tamur@google.com>
2932 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
2934 2019-04-30 Tom Tromey <tromey@adacore.com>
2936 * lib/ada.exp (find_ada_tool): New proc.
2937 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
2938 * gdb.ada/catch_ex_std.exp: New file.
2939 * gdb.ada/catch_ex_std/foo.adb: New file.
2940 * gdb.ada/catch_ex_std/some_package.adb: New file.
2941 * gdb.ada/catch_ex_std/some_package.ads: New file.
2943 2019-04-30 Tom Tromey <tromey@adacore.com>
2946 * gdb.cp/temargs.cc: Add test code from PR.
2948 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2950 * gdb.fortran/vla-datatypes.exp: Update expected results.
2951 * gdb.fortran/vla-ptype.exp: Likewise.
2952 * gdb.fortran/vla-type.exp: Likewise.
2953 * gdb.fortran/vla-value.exp: Likewise.
2955 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2957 * gdb.fortran/ptr-indentation.exp: Update expected results.
2958 * gdb.fortran/ptype-on-functions.exp: Likewise.
2959 * gdb.fortran/vla-ptr-info.exp: Likewise.
2960 * gdb.fortran/vla-value.exp: Likewise.
2962 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2964 * gdb.fortran/ptype-on-functions.exp: New file.
2965 * gdb.fortran/ptype-on-functions.f90: New file.
2967 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2969 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
2972 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2974 * gdb.fortran/complex.exp: Expand.
2975 * gdb.fortran/complex.f: Renamed to...
2976 * gdb.fortran/complex.f90: ...this, and extended to add more
2979 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2981 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
2984 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
2985 Richard Bunt <richard.bunt@arm.com>
2987 * gdb.base/max-depth.c: New file.
2988 * gdb.base/max-depth.exp: New file.
2989 * gdb.python/py-nested-maps.c: New file.
2990 * gdb.python/py-nested-maps.exp: New file.
2991 * gdb.python/py-nested-maps.py: New file.
2992 * gdb.python/py-format-string.exp (test_max_depth): New proc.
2993 (test_all_common): Call test_max_depth.
2994 * gdb.fortran/max-depth.exp: New file.
2995 * gdb.fortran/max-depth.f90: New file.
2996 * gdb.go/max-depth.exp: New file.
2997 * gdb.go/max-depth.go: New file.
2998 * gdb.modula2/max-depth.exp: New file.
2999 * gdb.modula2/max-depth.c: New file.
3000 * lib/gdb.exp (get_print_expr_at_depths): New proc.
3002 2019-04-29 Tom de Vries <tdevries@suse.de>
3004 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
3006 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3008 * gdb.base/callexit.exp: Test may-call-functions off.
3010 2019-04-25 Keith Seitz <keiths@redhat.com>
3013 * gdb.cp/meth-typedefs.cc (incomplete_struct)
3014 (another_incomplete_struct, test_incomplete): New definitions.
3015 (main): Use new definitions.
3016 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
3019 2019-04-25 Ali Tamur <tamur@google.com>
3021 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
3023 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
3027 * gdb.base/coredump-filter-build-id.exp: New file.
3029 2019-04-25 Alan Hayward <alan.hayward@arm.com>
3031 * Makefile.in: Pass through GDBSERVER_DEBUG.
3032 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
3033 (gdbserver,debug): Add board setting.
3034 * gdb.trace/tspeed.exp: Skip when debugging.
3035 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
3036 * lib/gdbserver-support.exp: Likewise
3038 2019-04-24 Tom Tromey <tromey@adacore.com>
3040 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
3043 2019-04-24 Tom Tromey <tromey@adacore.com>
3045 * gdb.arch/amd64-eval.exp: Test bitfield return.
3046 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
3047 (class Foo) <return_bitfields>: New method.
3050 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
3052 * gdb.cp/many-args.cc: New file.
3053 * gdb.cp/many-args.exp: New file.
3055 2019-04-23 Tom de Vries <tdevries@suse.de>
3058 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
3060 2019-04-23 Alan Hayward <alan.hayward@arm.com>
3062 * gdb.trace/backtrace.exp: Use nopie flag.
3063 * gdb.trace/circ.exp: Likewise.
3064 * gdb.trace/collection.exp: Likewise.
3065 * gdb.trace/ftrace.exp: Likewise.
3066 * gdb.trace/mi-trace-unavailable.exp: Likewise.
3067 * gdb.trace/mi-traceframe-changed.exp: Likewise.
3068 * gdb.trace/qtro.exp: Likewise.
3069 * gdb.trace/read-memory.exp: Likewise.
3070 * gdb.trace/report.exp: Likewise.
3071 * gdb.trace/tfile.exp: Likewise.
3072 * gdb.trace/tfind.exp: Likewise.
3073 * gdb.trace/unavailable.exp: Likewise.
3075 2019-04-22 Pedro Alves <palves@redhat.com>
3077 * gdb.base/solib-probes-nosharedlibrary.c,
3078 gdb.base/solib-probes-nosharedlibrary.exp: New files.
3080 2019-04-19 Tom Tromey <tromey@adacore.com>
3082 * gdb.ada/ptype_union.c: New file.
3083 * gdb.ada/ptype_union.exp: New file.
3085 2019-04-19 Tom Tromey <tromey@adacore.com>
3088 * gdb.base/list0.h (foo): Add a control-l character.
3090 2019-04-18 Tom de Vries <tdevries@suse.de>
3093 * boards/local-board.exp: Set sysroot to "".
3095 2019-04-18 Tom de Vries <tdevries@suse.de>
3096 Pedro Alves <palves@redhat.com>
3099 * gdb.threads/vfork-follow-child-exec.c: New file.
3100 * gdb.threads/vfork-follow-child-exec.exp: New file.
3101 * gdb.threads/vfork-follow-child-exit.c: New file.
3102 * gdb.threads/vfork-follow-child-exit.exp: New file.
3104 2019-04-15 Leszek Swirski <leszeks@google.com>
3106 * gdb.arch/amd64-eval.cc: New file.
3107 * gdb.arch/amd64-eval.exp: New file.
3109 2019-04-11 Alan Hayward <alan.hayward@arm.com>
3111 * gdb.server/sysroot.c: New test.
3112 * gdb.server/sysroot.exp: New file.
3113 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
3116 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
3118 * gdb.base/align.exp: Extend test to cover structures containing
3121 2019-04-11 Tom de Vries <tdevries@suse.de>
3123 * boards/cc-with-dwz-m.exp: New file.
3124 * boards/cc-with-dwz.exp: New file.
3125 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
3127 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
3129 * gdb.base/start-cpp.exp: New file.
3130 * gdb.base/start-cpp.cc: New file.
3132 2019-04-08 Kevin Buettner <kevinb@redhat.com>
3134 * gdb.python/py-thrhandle.exp: Adjust tests to call
3135 thread_from_handle instead of thread_from_thread_handle.
3137 2019-04-08 Kevin Buettner <kevinb@redhat.com>
3139 * gdb.python/py-thrhandle.exp: Add tests for
3140 gdb.InferiorThread.handle.
3142 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3144 * gdb.python/py-function.exp: Check calling helper function from
3146 * lib/gdb.exp (gdb_supported_languages): New proc.
3148 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3150 * gdb.base/complex-parts.c: New file.
3151 * gdb.base/complex-parts.exp: New file.
3153 2019-04-01 Tom Tromey <tromey@adacore.com>
3156 * gdb.dwarf2/dw2-ranges-main.c: New file.
3157 * gdb.dwarf2/dw2-ranges-psym.c: New file.
3158 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
3160 2019-03-30 Simon Marchi <simark@simark.ca>
3162 * gdb.base/default.exp: Add values for $_gdb_major and
3165 2019-03-29 Tom Tromey <tromey@adacore.com>
3167 * gdb.base/help.exp: Tighten apropos regexp.
3169 2019-03-29 Keith Seitz <keiths@redhat.com>
3171 * gdb.fortran/array-bounds.exp: New file.
3172 * gdb.fortran/array-bounds.f90: New file.
3174 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3176 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
3178 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3180 * gdb.multi/hello.c (main): Increase alarm timer.
3182 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
3184 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
3185 factor when no hardware watchpoint support.
3187 2019-03-28 Alan Hayward <alan.hayward@arm.com>
3188 Pedro Alves <palves@redhat.com>
3190 * boards/local-board.exp: set sysroot to /.
3192 2019-03-27 Alan Hayward <alan.hayward@arm.com>
3194 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
3197 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3199 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
3201 (make_container): Initialise new field.
3202 * gdb.python/py-prettyprint.exp: Add new tests.
3203 * gdb.python/py-prettyprint.py (class ContainerPrinter)
3204 <display_hint>: New method.
3206 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3208 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
3209 gdb_continue_to_breakpoint more throughout this test.
3210 (run_lang_tests) Supply unique test names, and use
3213 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
3215 * gdb.base/finish-pretty.exp: Update expected results.
3216 * gdb.base/pretty-print.c: New file.
3217 * gdb.base/pretty-print.exp: New file.
3219 2019-03-25 Pedro Alves <palves@redhat.com>
3221 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
3222 move comments outside list. Append '-i "" eof' section.
3224 2019-03-22 Alan Hayward <alan.hayward@arm.com>
3227 * README: Add pie options.
3228 * gdb.base/break-interp.exp: Ensure pie is disabled.
3229 * gdb.base/dump.exp: Likewise.
3230 * lib/gdb.exp (gdb_compile): Add pie option.
3232 2019-03-19 Tom Tromey <tromey@adacore.com>
3234 * gdb.mi/mi2-cli-display.c: New file.
3235 * gdb.mi/mi2-cli-display.exp: New file.
3237 2019-03-18 Joel Brobecker <brobecker@adacore.com>
3238 Tom Tromey <tromey@adacore.com>
3240 * gdb.ada/ptype_array/pck.adb: New file.
3241 * gdb.ada/ptype_array/pck.ads: New file.
3242 * gdb.ada/ptype_array/foo.adb: New file.
3243 * gdb.ada/ptype_array.exp: New file.
3245 2019-03-14 Tom Tromey <tromey@adacore.com>
3247 * gdb.base/style.exp: Add "set style sources" test.
3249 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
3251 * mi-breakpoint-location-ena-dis.exp: Rename to ...
3252 * mi-breakpoint-multiple-locations.exp: ... this.
3253 (make_breakpoints_pattern): New proc.
3254 (do_test): Add mi_version parameter, test -break-insert,
3255 -break-info and =breakpoint-created.
3257 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
3259 * config/default.exp: Remove 'load_lib gdb.exp'.
3260 * config/monitor.exp: Likewise.
3261 * config/sid.exp: Likewise.
3262 * config/sim.exp: Likewise.
3263 * config/slite.exp: Likewise.
3264 * config/unix.exp: Likewise.
3265 * gdb.base/default.exp: Remove unhelpful comment.
3267 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3269 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
3271 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3273 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
3275 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3277 * gdb.fortran/type-kinds.exp: Update expected results.
3279 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3281 * gdb.fortran/type-kinds.exp: Test new integer type kind.
3283 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3285 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
3287 (test_basic_parsing_of_type_kinds): Expand types tested.
3288 (test_parsing_invalid_type_kinds): New function.
3290 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3292 * gdb.fortran/intrinsics.exp: New file.
3293 * gdb.fortran/intrinsics.f90: New file.
3294 * gdb.fortran/type-kinds.exp: New file.
3296 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3298 * gdb.fortran/dot-ops.exp: New file.
3300 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3302 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
3303 Check upper and lower case logical literals.
3305 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3307 * gdb.fortran/types.exp (test_float_literal_types_accepted):
3308 Remove duplicate tests.
3310 2019-03-06 Alan Hayward <alan.hayward@arm.com>
3312 * lib/gdb.exp (builtin_cd): rename of cd.
3313 (cd): Override builtin.
3315 2019-03-06 Richard Bunt <richard.bunt@arm.com>
3317 * gdb.fortran/function-calls.exp: New file.
3318 * gdb.fortran/function-calls.f90: New test.
3320 2019-03-04 Richard Bunt <richard.bunt@arm.com>
3322 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
3323 on user program standard output.
3324 * gdb.fortran/short-circuit-argument-list.f90: Record function
3327 2019-02-28 Alan Hayward <alan.hayward@arm.com>
3329 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
3332 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3335 * gdb.base/interrupt-daemon-attach.c,
3336 gdb.base/interrupt-daemon-attach.exp: New test.
3338 2019-02-27 Pedro Alves <palves@redhat.com>
3340 * gdb.base/page.exp: Add tests for "set width/height -1".
3342 2019-02-27 Pedro Alves <palves@redhat.com>
3344 * gdb.base/page.exp: Add tests for "set/show width/height" with
3347 2019-02-27 Tom Tromey <tromey@adacore.com>
3349 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
3351 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
3354 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
3356 * gdb.base/align.exp: Extend to compile in both C and C++, and add
3357 tests for structs with static members.
3359 2019-02-26 Tom Tromey <tromey@adacore.com>
3361 * gdb.python/py-value.exp (test_value_from_buffer): Check for
3362 ValueError, not TypeError.
3364 2019-02-26 Kevin Buettner <kevinb@redhat.com>
3366 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
3367 call from main program.
3369 2019-02-23 Joel Brobecker <brobecker@adacore.com>
3371 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
3372 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
3373 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
3374 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
3375 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
3377 2019-02-22 Keith Seitz <keiths@redhat.com>
3380 * gdb.base/symlink-sourcefile.c: New file.
3381 * gdb.base/symlink-sourcefile.exp: New file.
3383 2019-02-20 Tom Tromey <tom@tromey.com>
3385 * gdb.base/info_qt.exp: Update.
3387 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
3389 * gdb.base/source.exp: Move "error in sourced script" code to
3391 * gdb.base/source-error.gdb: Move contents to
3392 source-error-1.gdb. Add new code to source source-error-1.gdb.
3393 * gdb.base/source-error-1.gdb: New file, from previous
3396 2019-02-17 Tom Tromey <tom@tromey.com>
3398 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
3400 * gdb.base/style.c (SOME_MACRO): New macro.
3402 2019-02-17 Tom Tromey <tom@tromey.com>
3404 * gdb.base/style.exp: Add line-wrapping tests.
3405 * gdb.base/page.exp: Add test for quitting during pagination.
3407 2019-02-17 Joel Brobecker <brobecker@adacore.com>
3409 * gdb.ada/big_packed_array: New testcase.
3410 * gdb.ada/homonym.exp: Fix incorrect expected output for
3411 "break <homonym__get_value>" test.
3413 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
3415 PR breakpoints/21870
3416 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
3417 and prepare_for_testing. Add comment.
3418 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
3419 redundant cleanup call. Clean up comment.
3421 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
3423 PR breakpoints/21870
3424 * gdb.arch/aarch64-dbreg-contents.exp: New file.
3425 * gdb.arch/aarch64-dbreg-contents.c: New file.
3427 2019-02-10 Joel Brobecker <brobecker@adacore.com>
3429 * gdb.ada/mi_ref_changeable: New testcase.
3431 2019-02-07 Alan Hayward <alan.hayward@arm.com>
3433 * gdb.base/attach.exp: Add double attach test.
3435 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
3437 * lib/gdb.exp (default_gdb_start): Don't match pagination
3439 (gdb_init): Set stty_init.
3441 2019-01-27 Tom Tromey <tom@tromey.com>
3443 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
3446 2019-01-24 Alan Hayward <alan.hayward@arm.com>
3448 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
3450 (struct struct_static_02_02): Likewise.
3451 (struct struct_static_02_03): Likewise.
3452 (struct struct_static_02_04): Likewise.
3453 (struct struct_static_04_01): Likewise.
3454 (struct struct_static_04_02): Likewise.
3455 (struct struct_static_04_03): Likewise.
3456 (struct struct_static_04_04): Likewise.
3457 (struct struct_static_06_01): Likewise.
3458 (struct struct_static_06_02): Likewise.
3459 (struct struct_static_06_03): Likewise.
3460 (struct struct_static_06_04): Likewise.
3461 (cmp_struct_static_02_01): Likewise.
3462 (cmp_struct_static_02_02): Likewise.
3463 (cmp_struct_static_02_03): Likewise.
3464 (cmp_struct_static_02_04): Likewise.
3465 (cmp_struct_static_04_01): Likewise.
3466 (cmp_struct_static_04_02): Likewise.
3467 (cmp_struct_static_04_03): Likewise.
3468 (cmp_struct_static_04_04): Likewise.
3469 (cmp_struct_static_06_01): Likewise.
3470 (cmp_struct_static_06_02): Likewise.
3471 (cmp_struct_static_06_03): Likewise.
3472 (cmp_struct_static_06_04): Likewise.
3473 (call_all): Test new structs.
3474 * gdb.base/infcall-nested-structs.exp: Likewise.
3476 2019-01-21 Alan Hayward <alan.hayward@arm.com>
3477 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
3479 2019-01-21 Alan Hayward <alan.hayward@arm.com>
3480 * gdb.base/stack-protector.c: New test.
3481 * gdb.base/stack-protector.exp: New file.
3482 * gdb.cp/ovldbreak.exp: Only allow a single break line.
3483 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
3485 (gdb_compile): Remove stack protector for GCC and prevent
3488 2019-01-16 Keith Seitz <keiths@redhat.com>
3491 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
3493 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3495 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
3497 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
3499 * gdb.arch/powerpc-vector-regs.c: New file.
3500 * gdb.arch/powerpc-vector-regs.exp: New file.
3502 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3504 * gdb.arch/altivec-regs.exp: Fix the list passed to
3505 gdb_expect_list when testing "info vector".
3507 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
3509 * gdb.base/style.exp: Don't include path in testname.
3511 2019-01-10 Keith Seitz <keiths@redhat.com>
3515 * gdb.dwarf2/multidictionary.exp: New file.
3517 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
3519 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
3520 (test_gnuv3_style_demangling): ... this.
3521 (test_lucid_style_demangling): Remove.
3522 (test_arm_style_demangling): Remove.
3523 (test_hp_style_demangling): Remove.
3524 (do_tests): Remove calls to the above.
3526 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
3528 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
3531 2019-01-06 Tom Tromey <tom@tromey.com>
3534 * gdb.dwarf2/typedef-void-finish.exp: New file.
3536 2018-12-28 Tom Tromey <tom@tromey.com>
3537 Simon Marchi <simark@simark.ca>
3539 * gdb.base/jit-exec.exp: New file.
3540 * gdb.base/jit-exec.c: New file.
3541 * gdb.base/jit-execd.c: New file.
3543 2018-12-28 Tom Tromey <tom@tromey.com>
3545 * gdb.base/style.exp: Update test to check for address styling.
3547 2018-12-28 Tom Tromey <tom@tromey.com>
3549 * gdb.base/style.exp: Add test for styling of "Reading symbols"
3552 2018-12-28 Tom Tromey <tom@tromey.com>
3554 * gdb.base/style.exp: Add test for version number styling.
3556 2018-12-28 Tom Tromey <tom@tromey.com>
3558 * gdb.base/style.exp: Add test for print_address_symbolic.
3560 2018-12-28 Tom Tromey <tom@tromey.com>
3562 * gdb.base/style.exp: Add test for breakpoint setting.
3564 2018-12-28 Tom Tromey <tom@tromey.com>
3566 * gdb.base/style.exp: Add test for variable names.
3568 2018-12-28 Tom Tromey <tom@tromey.com>
3570 * gdb.base/style.exp: New file.
3571 * gdb.base/style.c: New file.
3573 2018-12-28 Tom Tromey <tom@tromey.com>
3575 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
3577 * gdb.base/readline.exp (operate_and_get_next): Save and restore
3578 the TERM environment variable.
3580 2018-12-27 Tom Tromey <tom@tromey.com>
3582 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
3585 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
3587 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
3588 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
3590 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3592 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
3593 Filename a.adb changed to bp_fun_addr.adb.
3594 gdb.ada/bp_fun_addr.exp: Update test accordingly.
3596 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
3598 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
3599 non-PIE executables.
3600 * README: Mention the gdb,nopie_flag board setting.
3601 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
3603 * gdb.arch/amd64-entry-value.exp: Likewise.
3604 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
3605 * gdb.arch/i386-float.exp: Likewise.
3606 * gdb.arch/i386-signal.exp: Likewise.
3607 * gdb.mi/mi-reg-undefined.exp: Likewise.
3609 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
3612 * gdb.base/info-os.exp: Check return for unknown "info os" type.
3614 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3616 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
3617 Update order of results accordingly.
3619 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
3621 * gdb.base/annota1.exp: Update a test regexp.
3623 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
3625 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
3627 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3629 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
3630 (reuse_time): Initialize to REUSE_TIME_CAP.
3631 (check_rc): New function.
3632 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
3633 Check pthread_create rc.
3634 (spawner_thread_func): Check pthread_create and pthread_join rc.
3636 2018-12-08 Pedro Alves <palves@redhat.com>
3638 * gdb.base/list.exp (test_forward_search): Rename to ...
3639 (test_forward_reverse_search): ... this. Also test reverse-search
3640 and the forward-search alias.
3642 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
3644 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
3645 local timeout variable before return, and remove all local timeout
3647 (gdb_load): Likewise.
3649 2018-12-01 Tom de Vries <tdevries@suse.de>
3651 * gdb.base/gdb-caching-proc.exp: New file.
3653 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
3655 * Makefile.in (TIMESTAMP): New variable.
3656 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
3658 (check-single-racy): Likewise.
3659 (check/%.exp): Likewise.
3660 (check-racy/%.exp): Likewise.
3661 (workers/%.worker): Likewise.
3662 (build-perf): Likewise.
3663 (check-perf): Likewise.
3664 * README: Describe new "TS" and "TS_FORMAT" variables.
3665 * print-ts.py: New file.
3667 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
3670 * gdb.python/python.exp: Test command repetition after
3673 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
3675 * gdb.opt/inline-break.exp: Add test that info breakpoint output
3676 is correctly aligned.
3678 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3680 * gdb.ada/info_auto_lang.exp: New testcase.
3681 * gdb.ada/info_auto_lang/global_pack.ads: New file.
3682 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
3683 * gdb.ada/info_auto_lang/some_c.c: New file.
3685 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3687 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
3688 FUNC_lang language syntax.
3690 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3692 * gdb.base/info_minsym.c: New file.
3693 * gdb.base/info_minsym.exp: New file.
3695 2018-11-19 Tom Tromey <tom@tromey.com>
3698 * gdb.rust/simple.exp: Add ptype test. Update expected output.
3699 * gdb.rust/expr.exp: Update expected output. Change one test.
3701 2018-11-19 Tom Tromey <tom@tromey.com>
3703 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
3705 2018-11-19 Pedro Alves <palves@redhat.com>
3707 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
3708 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
3709 see the expected warning.
3711 2018-11-16 Alan Hayward <alan.hayward@arm.com>
3714 * gdb.cp/infcall-nodebug-lib.c: New test.
3715 * gdb.cp/infcall-nodebug-main.c: New test.
3716 * gdb.cp/infcall-nodebug.exp: New file.
3718 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
3720 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
3723 2018-11-09 Tom de Vries <tdevries@suse.de>
3725 * gdb.base/msym-lang.c: New test.
3726 * gdb.base/msym-lang.exp: New file.
3727 * gdb.base/msym-lang-main.c: New test.
3729 2018-11-08 Tom Tromey <tom@tromey.com>
3733 * gdb.base/warning.exp: New file.
3735 2018-11-08 Jan Beulich <jbeulich@suse.com>
3737 * testsuite/gdb.arch/i386-avx512.c,
3738 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
3740 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
3742 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
3745 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
3747 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
3748 * gdb.dwarf2/missing-type-name.exp: New file.
3750 2018-11-06 Tom de Vries <tdevries@suse.de>
3752 * gdb.base/many-headers.c: New test.
3753 * gdb.base/many-headers.exp: New file.
3755 2018-11-06 Jim Wilson <jimw@sifive.com>
3757 * gdb.base/code_elim.exp: For riscv, set additional_flags
3758 to include -msmall-data-limit=0.
3760 2018-11-01 Joel Brobecker <brobecker@adacore.com>
3762 * gdb.ada/watch_minus_l: New testcase.
3764 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
3766 * gdb.arch/aix-sighandle.c: New file.
3767 * gdb.arch/aix-sighandle.exp: New file.
3769 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3771 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
3772 registers being unions.
3774 2018-10-31 Tom de Vries <tdevries@suse.de>
3776 * lib/valgrind.exp: New file.
3777 (vgdb_start, vgdb_stop): New procs, factored out of ...
3778 * gdb.base/valgrind-bt.exp: ... here, ...
3779 * gdb.base/valgrind-disp-step.exp: ... here and ...
3780 * gdb.base/valgrind-infcall.exp: ... here.
3782 2018-10-31 Tom de Vries <tdevries@suse.de>
3784 * lib/gdb.exp (get_valueof): Don't output read value in test name.
3786 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3788 * gdb.dwarf2/void-type.c: New file.
3789 * gdb.dwarf2/void-type.exp: New file.
3791 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3793 * gdb.base/info_qt.c: New file.
3794 * gdb.base/info_qt.exp: New file.
3796 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3798 * gdb.arch/powerpc-htm-regs.c: New file.
3799 * gdb.arch/powerpc-htm-regs.exp: New file.
3801 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3803 * gdb.arch/powerpc-tar.c: New file.
3804 * gdb.arch/powerpc-tar.exp: New file.
3806 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3808 * gdb.arch/powerpc-ppr-dscr.c: New file.
3809 * gdb.arch/powerpc-ppr-dscr.exp: New file.
3811 2018-10-25 Tom de Vries <tdevries@suse.de>
3813 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
3815 2018-10-24 Tom de Vries <tdevries@suse.de>
3817 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
3818 longer exists error.
3820 2018-10-24 Tom de Vries <tdevries@suse.de>
3822 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
3824 2018-10-24 Tom de Vries <tdevries@suse.de>
3826 * gdb.base/valgrind-db-attach.exp: Handle removed support for
3827 --db-attach in valgrind.
3829 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
3831 * gdb.arch/riscv-reg-aliases.c: New file.
3832 * gdb.arch/riscv-reg-aliases.exp: New file.
3834 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3836 * gdb.python/py-cmd.exp: Check for gdb_prompt.
3838 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3840 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
3842 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3844 * gdb.cp/ovldbreak.exp: Fix regexps.
3846 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3848 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
3850 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
3853 * gdb.base/restore.exp: New test to check if "restore" with an
3854 invalid file doesn't segfault.
3856 2018-10-18 Tom de Vries <tdevries@suse.de>
3858 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
3859 * gdb.ada/excep_handle.exp: Same.
3860 * gdb.ada/mi_string_access.exp: Same.
3861 * gdb.ada/mi_var_union.exp: Same.
3862 * gdb.arch/arc-analyze-prologue.exp: Same.
3863 * gdb.arch/arc-decode-insn.exp: Same.
3864 * gdb.base/readnever.exp: Same.
3865 * gdb.fortran/printing-types.exp: Same.
3866 * gdb.guile/scm-lazy-string.exp: Same.
3868 2018-10-16 Tom de Vries <tdevries@suse.de>
3871 * gdb.base/catch-follow-exec.c: Add copyright notice.
3872 * gdb.base/catch-follow-exec.exp: Rewrite to use
3873 gdb_spawn_with_cmdline_opts. Require gdb-native.
3875 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
3877 * gdb.trace/actions-changed.exp: Check for arch support.
3878 * gdb.trace/actions.exp: Likewise.
3879 * gdb.trace/ax.exp: Likewise.
3880 * gdb.trace/backtrace.exp: Likewise.
3881 * gdb.trace/change-loc.exp: Likewise.
3882 * gdb.trace/deltrace.exp: Likewise.
3883 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
3884 * gdb.trace/ftrace.exp: Likewise.
3885 * gdb.trace/infotrace.exp: Check for arch support.
3886 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
3887 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
3888 * gdb.trace/mi-tsv-changed.exp: Likewise.
3889 * gdb.trace/packetlen.exp: Likewise.
3890 * gdb.trace/passc-dyn.exp: Likewise.
3891 * gdb.trace/passcount.exp: Likewise.
3892 * gdb.trace/pending.exp: Likewise.
3893 * gdb.trace/range-stepping.exp: Check for shlib support.
3894 * gdb.trace/report.exp: Check for arch support.
3895 * gdb.trace/save-trace.exp: Likewise.
3896 * gdb.trace/signal.exp: Check for signal support.
3897 * gdb.trace/tfind.exp: Check for arch support.
3898 * gdb.trace/trace-break.exp: Check for arch and shlib support.
3899 * gdb.trace/trace-common.h: Add comment.
3900 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
3901 * gdb.trace/trace-enable-disable.exp: Likewise.
3902 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
3903 * gdb.trace/tracecmd.exp: Check for arch support.
3904 * gdb.trace/tspeed.exp: Check for shlib and target support.
3905 * gdb.trace/tstatus.exp: Check for arch support.
3906 * gdb.trace/tsv.exp: Likewise.
3907 * gdb.trace/while-dyn.exp: Likewise.
3908 * gdb.trace/while-stepping.exp: Likewise.
3909 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
3911 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
3913 * gdb.trace/tspeed.exp: Remove nowarnings.
3914 (prepare_for_trace_test): Declare "global ipalib".
3915 * gdb.trace/tspeed.c: Include unistd.h.
3916 (main): Remove superfluous printf argument.
3918 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
3920 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
3921 directory prefix on the filename.
3923 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
3925 * gdb.gdb/unittest.exp: Update expected message informing that
3926 selftests have been disabled.
3927 * gdb.server/unittest.exp: Likewise.
3929 2018-10-09 Tom de Vries <tdevries@suse.de>
3931 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
3934 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
3937 * gdb.cp/virtbase2.cc: New file.
3938 * gdb.cp/virtbase2.exp: New file.
3940 2018-10-06 Tom Tromey <tom@tromey.com>
3943 * gdb.python/py-inferior.exp: Add architecture test.
3945 2018-10-06 Tom Tromey <tom@tromey.com>
3947 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
3948 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
3950 2018-10-06 Tom Tromey <tom@tromey.com>
3952 * gdb.python/py-breakpoint.exp (check_last_event): Check location
3953 of a "throw" catchpoint.
3955 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
3957 * gdb.base/info-proc.exp: Update string expected from "help info
3960 2018-10-04 Tom Tromey <tom@tromey.com>
3962 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
3963 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
3964 (test_initial_complaints, test_empty_complaints): Update.
3965 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3967 2018-10-04 Tom Tromey <tom@tromey.com>
3970 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
3971 * lib/gdb.exp (gdb_file_cmd): Update.
3972 * gdb.stabs/weird.exp (print_weird_var): Update.
3973 * gdb.server/solib-list.exp: Update.
3974 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
3975 * gdb.mi/mi-cli.exp: Update.
3976 * gdb.linespec/linespec.exp: Update.
3977 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3978 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
3979 * gdb.cp/cp-relocate.exp: Update.
3980 * gdb.base/sym-file.exp: Update.
3981 * gdb.base/relocate.exp: Update.
3982 * gdb.base/readnever.exp: Update.
3983 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3984 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
3985 * gdb.base/dbx.exp (gdb_file_cmd): Update.
3986 * gdb.base/code_elim.exp: Update.
3987 * gdb.base/break-unload-file.exp (test_break): Update.
3988 * gdb.base/break-interp.exp (test_attach_gdb): Update.
3989 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
3991 * gdb.base/attach.exp (do_attach_tests): Update.
3992 * gdb.base/sepdebug.exp: Update.
3993 * gdb.python/py-section-script.exp: Update.
3995 2018-10-04 Tom Tromey <tom@tromey.com>
3998 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
3999 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
4002 2018-10-04 Tom Tromey <tom@tromey.com>
4004 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
4005 set width and height to 0.
4006 (test_command_line_attach_run): Use -quiet.
4008 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
4010 * lib/gdb.exp (skip_ifunc_tests): New.
4011 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
4012 other compile failures.
4013 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
4015 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
4017 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
4018 is_amd64_regs_target.
4020 2018-10-01 Alan Hayward <alan.hayward@arm.com>
4022 * gdb.arch/aarch64-sighandler-regs.c: New test.
4023 * gdb.arch/aarch64-sighandler-regs.exp: New file.
4024 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
4026 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
4028 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
4031 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
4033 * gdb.base/frame-selection.exp: New file.
4034 * gdb.base/frame-selection.c: New file.
4036 2018-09-27 Alan Hayward <alan.hayward@arm.com>
4038 * gdb.threads/check-libthread-db.c (thread_routine): Use a
4042 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
4044 * gdb.base/large-frame-1.c: New file.
4045 * gdb.base/large-frame-2.c: New file.
4046 * gdb.base/large-frame.exp: New file.
4047 * gdb.base/large-frame.h: New file.
4049 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
4052 * gdb.base/write_mem.exp: New test.
4053 * gdb.base/write_mem.c: Likewise.
4055 2018-09-23 Tom Tromey <tom@tromey.com>
4058 * gdb.python/py-parameter.exp: Add test for parameter that throws
4061 2018-09-23 Tom Tromey <tom@tromey.com>
4064 * gdb.python/py-template.exp (test_template_arg): Add test for
4065 negative template argument number.
4067 2018-09-23 Tom Tromey <tom@tromey.com>
4070 * gdb.python/python.exp: Add test for post_event error.
4072 2018-09-23 Tom Tromey <tom@tromey.com>
4075 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
4076 convert pointers to int and long.
4078 2018-09-23 Tom Tromey <tom@tromey.com>
4081 * gdb.python/py-value.exp (test_value_numeric_ops): Add
4082 signed-ness conversion tests.
4084 2018-09-23 Tom Tromey <tom@tromey.com>
4087 * gdb.python/py-value.exp (test_float_conversion): New proc.
4090 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
4092 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
4094 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
4096 * gdb.base/complete-empty.exp: Skip tab-completion tests if
4098 * gdb.base/utf8-identifiers.exp: Likewise.
4099 * gdb.cp/cpcompletion.exp: Likewise.
4100 * gdb.linespec/cpcompletion.exp: Likewise.
4101 * gdb.linespec/cpls-abi-tag.exp: Likewise.
4102 * gdb.linespec/cpls-ops.exp: Likewise.
4104 2018-09-19 Richard Bunt <richard.bunt@arm.com>
4105 Chris January <chris.january@arm.com>
4107 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
4108 * gdb.fortran/short-circuit-argument-list.exp: New file.
4109 * gdb.fortran/short-circuit-argument-list.f90: New test.
4111 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4113 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
4114 "arch=" keyword when executing "-stack-list-frames".
4116 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4118 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
4119 "arch=" keyword when executing "-stack-list-frames".
4121 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4123 * gdb.ada/complete.exp: Expect for "@" when doing "complete
4126 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
4129 * gdb.python/python.exp: Test gdb.execute("show commands").
4131 2018-09-16 Tom Tromey <tom@tromey.com>
4133 * gdb.base/new-ui.exp (do_execution_tests): Update.
4134 * gdb.base/dbx.exp (test_breakpoints): Update.
4136 2018-09-14 Alan Hayward <alan.hayward@arm.com>
4138 * lib/gdb.exp (gdb_simple_compile): Add proc.
4139 (is_elf_target): Use gdb_simple_compile.
4140 (skip_altivec_tests): Likewise.
4141 (skip_vsx_tests): Likewise.
4142 (skip_tsx_tests): Likewise.
4143 (skip_btrace_tests): Likewise.
4144 (skip_btrace_pt_tests): Likewise.
4145 (gdb_can_simple_compile): Likewise.
4146 (gdb_has_argv0): Likewise.
4147 (gdb_target_symbol_prefix): Likewise.
4148 (target_supports_scheduler_locking): Likewise.
4150 2018-09-13 Tom Tromey <tom@tromey.com>
4152 * Makefile.in (TAGS): Recognize proc_with_prefix and
4155 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4157 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
4160 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4162 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
4163 and a few other Inferior properties when the Inferior is no
4166 2018-09-13 Tom Tromey <tom@tromey.com>
4169 * gdb.rust/simple.exp: Add test for enum field access error.
4171 2018-09-13 Tom Tromey <tom@tromey.com>
4174 * gdb.rust/simple.rs (EmptyEnum): New type.
4176 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
4178 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4180 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
4181 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
4182 * gdb.python/py-symtab.exp: Update test printing an objfile.
4184 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
4186 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
4189 2018-09-12 Alan Hayward <alan.hayward@arm.com>
4191 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
4192 (support_complex_tests): Use gdb_can_simple_compile.
4193 (is_ilp32_target): Likewise.
4194 (is_lp64_target): Likewise.
4195 (is_64_target): Likewise.
4196 (is_amd64_regs_target): Likewise.
4197 (is_aarch32_target): Likewise.
4198 (gdb_int128_helper): Likewise.
4200 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4202 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
4204 2018-09-10 Jerome Guitton <guitton@adacore.com>
4206 * gdb.ada/same_component_name: Add test for case of tagged record
4207 with variable-length fields.
4209 2018-09-10 Xavier Roirand <roirand@adacore.com>
4211 * gdb.ada/access_to_unbounded_array.exp: New testcase.
4212 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
4213 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
4214 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
4216 2018-09-10 Xavier Roirand <roirand@adacore.com>
4218 * gdb.ada/mi_string_access.exp: New testcase.
4219 * gdb.ada/mi_string_access/bar.adb: New file.
4220 * gdb.ada/mi_string_access/pck.adb: New file.
4221 * gdb.ada/mi_string_access/pck.asd: New file.
4223 2018-09-10 Xavier Roirand <roirand@adacore.com>
4225 * gdb.ada/mi_var_union.exp: New testcase.
4226 * gdb.ada/mi_var_union/bar.adb: New file.
4227 * gdb.ada/mi_var_union/pck.adb: New file.
4228 * gdb.ada/mi_var_union/pck.asd: New file.
4230 2018-09-08 Tom Tromey <tom@tromey.com>
4232 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
4234 2018-09-08 Tom Tromey <tom@tromey.com>
4237 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
4238 (register_pretty_printers): Register new printer.
4239 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
4241 * gdb.python/py-prettyprint.c (int_type3): New typedef.
4242 (an_int_type3): New global.
4244 2018-09-08 Joel Brobecker <brobecker@adacore.com>
4246 * gdb.ada/expr_with_funcall: New testcase.
4248 2018-09-08 Joel Brobecker <brobecker@adacore.com>
4250 * gdb.ada/packed_array_assign: New testcase.
4252 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
4254 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
4255 names, and add test prefixes to make test names unique.
4257 2018-09-05 Tom de Vries <tdevries@suse.de>
4259 * gdb.dwarf2/varval.exp: Add test.
4261 2018-09-04 Gary Benson <gbenson@redhat.com>
4263 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
4264 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
4266 2018-08-31 Tom Tromey <tom@tromey.com>
4268 * gdb.rust/simple.rs: Rename second variable "v".
4270 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
4272 * gdb.base/funcargs.c (use_a): New function.
4273 (recurse): Call use_a.
4275 2018-08-29 Keith Seitz <keiths@redhat.com>
4277 * gdb.compile/compile-cplus-anonymous.cc: New file.
4278 * gdb.compile/compile-cplus-anonymous.exp: New file.
4279 * gdb.compile/compile-cplus-array-decay.cc: New file.
4280 * gdb.compile/compile-cplus-array-decay.exp: New file.
4281 * gdb.compile/compile-cplus-inherit.cc: New file.
4282 * gdb.compile/compile-cplus-inherit.exp: New file.
4283 * gdb.compile/compile-cplus-member.cc: New file.
4284 * gdb.compile/compile-cplus-member.exp: New file.
4285 * gdb.compile/compile-cplus-method.cc: New file.
4286 * gdb.compile/compile-cplus-method.exp: New file.
4287 * gdb.compile/compile-cplus-mod.c: "New" file.
4288 * gdb.compile/compile-cplus-namespace.cc: New file.
4289 * gdb.compile/compile-cplus-namespace.exp: New file.
4290 * gdb.compile/compile-cplus-nested.cc: New file.
4291 * gdb.compile/compile-cplus-nested.exp: New file.
4292 * gdb.compile/compile-cplus-print.c: "New" file.
4293 * gdb.compile/compile-cplus-print.exp: "New" file.
4294 * gdb.compile/compile-cplus-virtual.cc: New file.
4295 * gdb.compile/compile-cplus-virtual.exp: New file.
4296 * gdb.compile/compile-cplus.c: "New" file.
4297 * gdb.compile/compile-cplus.exp: "New" file.
4298 * lib/compile-support.exp: New file.
4300 2018-08-16 Gary Benson <gbenson@redhat.com>
4303 * gdb.base/batch-exit-status.exp: New file.
4304 * gdb.base/batch-exit-status.good-commands: Likewise.
4305 * gdb.base/batch-exit-status.bad-commands: Likewise.
4307 2018-08-29 Alan Hayward <alan.hayward@arm.com>
4309 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
4310 (struct struct02): Likewise.
4311 (struct struct03): Likewise.
4312 (struct struct04): Likewise.
4313 (struct struct_01_01): New struct.
4314 (struct struct_01_02): Likewise.
4315 (struct struct_01_03): Likewise.
4316 (struct struct_01_04): Likewise.
4317 (struct struct_02_01): Likewise.
4318 (struct struct_02_02): Likewise.
4319 (struct struct_02_03): Likewise.
4320 (struct struct_02_04): Likewise.
4321 (struct struct_04_01): Likewise.
4322 (struct struct_04_02): Likewise.
4323 (struct struct_04_03): Likewise.
4324 (struct struct_04_04): Likewise.
4325 (struct struct_05_01): Likewise.
4326 (struct struct_05_02): Likewise.
4327 (struct struct_05_03): Likewise.
4328 (struct struct_05_04): Likewise.
4329 (cmp_struct01): Remove function.
4330 (cmp_struct02): Likewise.
4331 (cmp_struct03): Likewise.
4332 (cmp_struct04): Likewise.
4333 (cmp_struct_01_01): Add Function.
4334 (cmp_struct_01_02): Likewise.
4335 (cmp_struct_01_03): Likewise.
4336 (cmp_struct_01_04): Likewise.
4337 (cmp_struct_02_01): Likewise.
4338 (cmp_struct_02_02): Likewise.
4339 (cmp_struct_02_03): Likewise.
4340 (cmp_struct_02_04): Likewise.
4341 (cmp_struct_04_01): Likewise.
4342 (cmp_struct_04_02): Likewise.
4343 (cmp_struct_04_03): Likewise.
4344 (cmp_struct_04_04): Likewise.
4345 (cmp_struct_05_01): Likewise.
4346 (cmp_struct_05_02): Likewise.
4347 (cmp_struct_05_03): Likewise.
4348 (cmp_struct_05_04): Likewise.
4349 (call_all): Add new structs.
4350 * gdb.base/infcall-nested-structs.exp: Likewise.
4352 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
4354 * gdb.python/py-framefilter-mi.exp: Update regexp to
4355 check for "arch" field in frame output.
4357 2018-08-23 Kevin Buettner <kevinb@redhat.com>
4359 * gdb.dwarf2/dw2-ranges-func.c: New file.
4360 * gdb.dwarf2/dw2-ranges-func.exp: New file.
4362 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
4364 * gdb.base/term.exp: Compare terminal settings with values from
4366 * gdb.base/term.c: Get and set terminal settings.
4368 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
4370 * lib/mi-support.exp (mi_expect_stop): Update regexp to
4371 accommodate new "arch" field in frame output.
4372 * gdb.mi/mi-return.exp: Likewise.
4373 * gdb.mi/mi-stack.exp: Likewise.
4374 * gdb.mi/mi-syn-frame.exp: Likewise.
4375 * gdb.mi/user-selected-context-sync.exp: Likewise.
4377 2018-08-19 Michael Spang <spang@google.com>
4380 * gdb.base/gcore-tls-pie.c: New file.
4381 * gdb.base/gcore-tls-pie.exp: New file.
4383 2018-08-18 Kevin Buettner <kevinb@redhat.com>
4385 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
4386 * gdb.dwarf2/varval.c: New file.
4387 * gdb.dwarf2/varval.exp: New file.
4389 2018-08-17 Alan Hayward <alan.hayward@arm.com>
4392 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
4394 2018-08-16 Keith Seitz <keiths@redhat.com>
4396 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
4397 tests expected to pass.
4399 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
4401 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
4402 -data-disassemble -a.
4403 (test_disassembly_bogus_args): Likewise.
4405 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
4407 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
4409 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4411 * gdb.base/vla-optimized-out.exp: Add new test.
4413 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
4415 * gdb.base/vla-optimized-out-o3.exp: Delete.
4416 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
4417 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
4420 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
4423 * gdb.server/extended-remote-restart.c: New file.
4424 * gdb.server/extended-remote-restart.exp: New file.
4426 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
4428 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
4429 "set variable index = 42".
4431 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
4433 * boards/index-cache-gdb.exp: New file.
4434 * gdb.dwarf2/index-cache.exp: New file.
4435 * gdb.dwarf2/index-cache.c: New file.
4436 * gdb.base/maint.exp: Check if we are using the index cache.
4438 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4440 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
4443 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4445 * dg-extract-results.sh: Move to toplevel contrib.
4446 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
4447 * Makefile.in (check-parallel-racy): Likewise.
4449 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
4451 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
4452 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
4453 tests if the target supports scheduler locking.
4455 2018-08-04 Tom de Vries <tdevries@suse.de>
4457 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
4459 2018-08-02 Tom Tromey <tom@tromey.com>
4462 * gdb.cp/temargs.exp: Test "info address" of a template
4465 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
4467 * gdb.python/py-mi-var-info-path-expression.c: New file.
4468 * gdb.python/py-mi-var-info-path-expression.py: New file.
4469 * gdb.python/py-mi-var-info-path-expression.exp: New file.
4471 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
4473 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
4474 error after "cannot resolve name" string.
4476 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
4478 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
4480 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
4482 2018-07-28 Tom de Vries <tdevries@suse.de>
4484 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
4486 2018-07-26 Tom de Vries <tdevries@suse.de>
4488 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
4490 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
4492 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
4495 2018-07-26 Tom de Vries <tdevries@suse.de>
4497 PR breakpoints/23366
4498 * gdb.base/catch-follow-exec.c: New test.
4499 * gdb.base/catch-follow-exec.exp: New file.
4501 2018-07-25 Tom de Vries <tdevries@suse.de>
4503 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
4504 vla-optimized-out.c.
4506 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
4508 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
4509 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
4511 2018-07-20 Tom de Vries <tdevries@suse.de>
4513 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
4515 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
4517 2018-07-19 Tom de Vries <tdevries@suse.de>
4519 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
4522 2018-07-18 Tom de Vries <tdevries@suse.de>
4524 * gdb.base/vla-optimized-out.c: New test.
4525 * gdb.base/vla-optimized-out.exp: New file.
4527 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
4529 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
4530 message "No address associated with hostname" when gdbserver
4531 cannot resolve the hostname.
4533 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4535 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
4536 Add some test prefixes to make tests unique.
4538 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4540 * gdb.base/frameapply.c: New file.
4541 * gdb.base/frameapply.exp: New file.
4543 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4545 * gdb.base/skip.exp: Update expected error message.
4547 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4548 Jan Kratochvil <jan.kratochvil@redhat.com>
4549 Paul Fertser <fercerpav@gmail.com>
4550 Tsutomu Seki <sekiriki@gmail.com>
4552 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
4554 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
4556 * boards/native-gdbserver.exp: Likewise.
4557 * gdb.server/run-without-local-binary.exp: Improve regexp used
4558 for detecting when a remote debugging connection succeeds.
4559 * gdb.server/server-connect.exp: New file.
4560 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
4561 Do not prefix the port number with ":".
4562 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
4563 support for detecting and using it. Add '$debughost_gdbserver'
4564 to the list of arguments used to start gdbserver. Handle case
4565 when gdbserver cannot resolve a network name.
4567 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
4570 * gdb.base/ptype-offsets.cc (struct static_member): New
4572 (main) <stmember>: New variable.
4573 * gdb.base/ptype-offsets.exp: Add test for printing a struct
4574 with a static member in it.
4576 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
4578 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
4579 watchpoints enabled and disabled.
4581 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4583 * gdb.base/examine-backward.exp: Still run tests around address
4584 0x0, even if address 0x0 is not readable. Update the pattern for
4585 matching address 0x0 in expected output.
4587 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
4589 * gdb.base/share-env-with-gdbserver.c (main): Add call to
4592 2018-07-04 Tom de Vries <tdevries@suse.de>
4594 * gdb.dwarf2/dw2-error.exp: Update expected error message.
4596 2018-07-02 Maciej W. Rozycki <macro@mips.com>
4599 * gdb.arch/mips-disassembler-options.exp: New test.
4600 * gdb.arch/mips-disassembler-options.s: New test source.
4602 2018-06-29 Pedro Alves <palves@redhat.com>
4604 * gdb.threads/names.exp: Adjust expected "info threads" output.
4606 2018-06-29 Pedro Alves <palves@redhat.com>
4608 * gdb.opt/inline-break.exp (line number, address): Add "info
4611 2018-06-29 Pedro Alves <palves@redhat.com>
4613 * gdb.opt/inline-break.c (func1): Add "break here" marker.
4614 * gdb.opt/inline-break.exp: Test setting breakpoints by line
4615 number and address and running to them.
4617 2018-06-29 Richard Bunt <richard.bunt@arm.com>
4619 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
4621 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4623 * lib/compiler.c: Remove executable permission flag.
4625 2018-06-28 Richard Bunt <richard.bunt@arm.com>
4627 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
4629 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
4631 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
4633 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
4635 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
4637 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
4638 address argument is omitted.
4640 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
4642 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
4644 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
4647 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
4648 * gdb.base/infoline-reloc-main-from-zero.c: New file.
4650 2018-06-26 Tom Tromey <tom@tromey.com>
4653 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
4654 * gdb.rust/simple.rs (struct SimpleLayout): New.
4656 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
4658 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
4659 "info registers" output.
4661 2018-06-21 Richard Bunt <richard.bunt@arm.com>
4663 * gdb.base/watchpoint-hw-attach.c: New test.
4664 * gdb.base/watchpoint-hw-attach.exp: New file.
4666 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
4668 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
4670 * boards/dwarf4-gdb-index.exp: Likewise.
4671 * boards/fission-dwp.exp: Likewise.
4673 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
4675 * gdb.base/float128.exp: Add comment and improved fail message
4676 to the failure case of "print large128" test.
4678 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
4680 * configure.ac: Remove AC_PREREQ.
4681 * configure: Re-generate.
4683 2018-06-19 Pedro Alves <palves@redhat.com>
4685 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
4686 (func_extern_caller): New.
4687 (main): Call func_extern_caller.
4688 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
4691 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
4694 * gdb.cp/typedef-base.cc: New file.
4695 * gdb.cp/typedef-base.exp: New file.
4697 2018-06-18 Tom de Vries <tdevries@suse.de>
4699 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
4701 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
4702 Richard Bunt <Richard.Bunt@arm.com>
4704 * gdb.threads/attach-slow-waitpid.c: New file.
4705 * gdb.threads/attach-slow-waitpid.exp: New file.
4706 * gdb.threads/slow-waitpid.c: New file.
4708 2018-06-14 Pedro Alves <palves@redhat.com>
4710 * gdb.base/fork-running-state.c: Include <errno.h>.
4711 (exit_if_relative_exits): New.
4712 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
4714 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
4717 2018-06-14 Tom de Vries <tdevries@suse.de>
4720 * gdb.base/finish-pretty.c: New test.
4721 * gdb.base/finish-pretty.exp: New file.
4723 2018-06-14 Pedro Alves <palves@redhat.com>
4725 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
4726 gdb's expected startup output.
4728 2018-06-14 Pedro Alves <palves@redhat.com>
4730 * lib/selftest-support.exp (selftest_setup): Remove inlined
4733 2018-06-14 Tom de Vries <tdevries@suse.de>
4735 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
4736 matching of breakpoint printing.
4738 2018-06-13 Tom de Vries <tdevries@suse.de>
4741 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
4742 (fork_child): ... here, and ...
4743 (fork_parent): ... here.
4745 2018-06-12 Tom de Vries <tdevries@suse.de>
4747 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
4749 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
4750 Stephen Roberts <stephen.roberts@arm.com>
4752 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
4753 rewrite test to describe action performed, rather than possible
4756 2018-06-08 Gary Benson <gbenson@redhat.com>
4758 * gdb.threads/check-libthread-db.exp: New file.
4759 * gdb.threads/check-libthread-db.c: Likewise.
4761 2018-06-05 Tom Tromey <tom@tromey.com>
4763 * gdb.base/default.exp: Update expected "show version" output.
4765 2018-06-05 Tom Tromey <tom@tromey.com>
4768 * gdb.cp/static-print-quit.exp: Update.
4769 * lib/gdb.exp (pagination_prompt): Update.
4770 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
4771 * gdb.python/python.exp: Update.
4773 2018-06-04 Joel Brobecker <brobecker@adacore.com>
4775 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
4777 2018-06-01 Joel Brobecker <brobecker@adacore.com>
4779 * gdb.ada/bp_fun_addr: New testcase.
4781 2018-06-01 Tom Tromey <tom@tromey.com>
4783 * gdb.xml/tdesc-regs.exp (load_description): Update expected
4785 * gdb.dwarf2/method-ptr.exp: Set language to C++.
4786 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
4787 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
4788 * gdb.base/maint.exp (maint_pass_if): Update.
4790 2018-05-31 Maciej W. Rozycki <macro@mips.com>
4792 * gdb.base/endian.exp: New test.
4793 * gdb.base/endian.c: New test source.
4795 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
4798 * gdb.base/bt-selected-frame.c: New file.
4799 * gdb.base/bt-selected-frame.exp: New file.
4800 * lib/gdb.exp (get_current_frame_number): New function.
4802 2018-05-24 Maciej W. Rozycki <macro@mips.com>
4803 Pedro Alves <palves@redhat.com>
4805 * gdb.threads/tls-core.c: Include <stdlib.h>
4806 (thread_proc): Call `abort'.
4807 * gdb.threads/tls-core.exp: Generate a core with core_find too.
4808 (tls_core_test): New procedure, bits factored out from ...
4809 (top level): ... here. Test both native cores and gcore cores.
4811 2018-05-23 Tom Tromey <tom@tromey.com>
4813 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
4815 2018-05-23 Tom Tromey <tom@tromey.com>
4817 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
4819 (test_short_complaints): Likewise.
4820 (test_empty_complaints): Likewise.
4821 (test_initial_complaints): Update.
4823 2018-05-23 Tom Tromey <tom@tromey.com>
4825 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
4827 2018-05-23 Tom Tromey <tom@tromey.com>
4829 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
4830 (test_short_complaints): Update.
4832 2018-05-22 Pedro Alves <palves@redhat.com>
4834 * gdb.base/remote.exp: Only gdb_start after compiling the
4835 testcase. Issue "disconnect" before testing "set remote" command
4836 defaults. Issue clean_restart before running to main.
4838 2018-05-22 Pedro Alves <palves@redhat.com>
4840 * gdb.base/remote.exp: Adjust expected output of "show remote
4841 memory-write-packet-size". Add tests for "set remote
4842 memory-write-packet-size 0" and "set remote
4843 memory-write-packet-size fixed/limit".
4845 2018-05-22 Pedro Alves <palves@redhat.com>
4848 * gdb.base/utf8-identifiers.c: New file.
4849 * gdb.base/utf8-identifiers.exp: New file.
4851 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4853 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
4855 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4857 * gdb.arch/powerpc-vsx-gcore.exp: New file.
4859 2018-05-18 Tom Tromey <tom@tromey.com>
4861 * gdb.base/ptype-offsets.exp: Update.
4863 2018-05-17 Keith Seitz <keiths@redhat.com>
4865 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
4866 in expected breakpoint stop locations.
4867 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
4868 move to proper scope to test variable values.
4869 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
4870 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
4872 (main): Call not_inline_func3.
4873 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
4874 inline_func1, inline_func2, and inline_func3. Test that when each
4875 breakpoint is hit, GDB properly reports both the stop location
4876 and the backtrace. Repeat tests for temporary breakpoints.
4878 2018-05-15 Maciej W. Rozycki <macro@mips.com>
4880 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
4881 rather then trying to access it in determining whether the PID
4882 of `gdbserver' could have been retrieved.
4884 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
4886 * gdb.arch/amd64-init-x87-values.S: New file.
4887 * gdb.arch/amd64-init-x87-values.exp: New file.
4889 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4891 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
4893 2018-05-04 Tom Tromey <tom@tromey.com>
4896 * gdb.python/python.exp: Test multi-line execute.
4898 2018-05-04 Tom Tromey <tom@tromey.com>
4901 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
4903 2018-05-04 Tom Tromey <tom@tromey.com>
4906 * gdb.base/define.exp: Test defining a user command inside a user
4908 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
4910 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4911 Pedro Alves <palves@redhat.com>
4913 PR breakpoints/19806 and support for PR external/20207.
4914 * gdb.base/watchpoint-unaligned.c: New file.
4915 * gdb.base/watchpoint-unaligned.exp: New file.
4917 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4919 * gdb.base/maint.exp: Make test names unique, use
4920 test_prefix_command_help to test 'help maint info', and remove
4921 repeated test of 'help maint'.
4923 2018-05-04 Tom Tromey <tom@tromey.com>
4926 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
4929 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4931 * gdb.base/maint.exp: Process output from 'maint print registers'
4934 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4936 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
4939 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
4941 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
4944 2018-05-02 Pedro Alves <palves@redhat.com>
4946 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
4947 to_log_command renames.
4948 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
4950 2018-05-02 Tom Tromey <tom@tromey.com>
4952 * gdb.python/py-parameter.exp: Set test message.
4954 2018-05-02 Tom Tromey <tom@tromey.com>
4957 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
4958 PARAM_ZUINTEGER_UNLIMITED tests.
4960 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
4963 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
4966 2018-04-30 Tom Tromey <tom@tromey.com>
4968 * gdb.python/py-type.exp: Check align attribute.
4969 * gdb.python/py-type.c: New "aligncheck" global.
4971 2018-04-30 Tom Tromey <tom@tromey.com>
4974 * gdb.dwarf2/dw2-align.exp: New file.
4975 * gdb.cp/align.exp: New file.
4976 * gdb.base/align.exp: New file.
4977 * lib/gdb.exp (gdb_int128_helper): New proc.
4978 (has_int128_c, has_int128_cxx): New caching procs.
4980 2018-04-27 Tom Tromey <tom@tromey.com>
4983 * gdb.rust/simple.exp: Add inclusive range tests.
4985 2018-04-26 Pedro Alves <palves@redhat.com>
4987 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
4988 ifunc breakpoint locations correctly of ifunc breakpoints set
4989 while the program resolves the ifunc.
4991 2018-04-26 Pedro Alves <palves@redhat.com>
4993 * gdb.base/gnu-ifunc-final.c: New file.
4994 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
4995 * gdb.base/gnu-ifunc.exp (executable): Delete.
4996 (staticexecutable): Adjust.
4997 (lib_opts, exec_opts): Delete.
4998 (make_binsuffix, build, set-break): New procedures.
4999 (misc_tests): New, with tests factored out from the top level.
5000 (top level): Test different combinations of ifunc resolver name,
5001 resolver with and with debug info, and ifunc target with and
5002 without debug info. Wrap static tests with with_target_prefix.
5004 2018-04-26 Pedro Alves <palves@redhat.com>
5006 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
5007 return type" warnings.
5009 2018-04-25 Pedro Alves <palves@redhat.com>
5011 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
5013 * gdb.base/kill-after-signal.exp: Likewise.
5014 * gdb.threads/kill.exp: Likewise.
5016 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5017 Sergio Durigan Junior <sergiodj@redhat.com>
5018 Pedro Alves <palves@redhat.com>
5020 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
5021 regexps to expect for '[Inferior ... detached]' as well.
5022 * gdb.base/attach.exp: Likewise.
5023 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
5024 "gdb_continue_to_end".
5025 (test_catch_syscall_with_wrong_args): Likewise.
5026 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
5027 ']'. Don't set 'verbose' on.
5028 * gdb.base/foll-vfork.exp: Likewise.
5029 * gdb.base/fork-print-inferior-events.c: New file.
5030 * gdb.base/fork-print-inferior-events.exp: New file.
5031 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
5032 '[Inferior ... has been killed]' message.
5033 * gdb.base/kill-after-signal.exp: Likewise.
5034 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
5036 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
5038 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
5039 regexps to expect for '[Inferior ... detached]' as well.
5040 * gdb.threads/process-dies-while-detaching.exp: Likewise.
5042 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
5045 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
5047 2018-04-22 Rajendra SY <rajendra.sy@gmail.com>
5050 * gdb.base/break-probes.exp: Pass shlib_load to
5051 prepare_for_testing. Set normal_bp to r_debug_state if target is
5054 2018-04-19 Richard Bunt <richard.bunt@arm.com>
5056 * gdb.threads/multiple-successive-infcall.c: New test.
5057 * gdb.threads/multiple-successive-infcall.exp: New file.
5059 2018-04-17 Tom Tromey <tom@tromey.com>
5061 * gdb.rust/simple.rs (Union): New type.
5062 (main): New local "u".
5063 * gdb.rust/simple.exp (test_one_slice): Add new test case.
5065 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5067 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
5068 number information in output of "whereis" command.
5069 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
5071 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5073 * gdb.ada/info_types.exp: Adjust expected output to the line
5074 numbers now printed by "info var/func/type".
5075 * gdb.base/completion.exp: Likewise.
5076 * gdb.base/included.exp: Likewise.
5077 * gdb.cp/cp-relocate.exp: Likewise.
5078 * gdb.cp/cplusfuncs.exp: Likewise.
5079 * gdb.cp/namespace.exp: Likewise.
5080 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
5082 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
5084 * gdb.btrace/cpu.exp: New.
5086 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
5088 * gdb.base/step-indirect-call-thunk.exp: New.
5089 * gdb.base/step-indirect-call-thunk.c: New.
5090 * gdb.reverse/step-indirect-call-thunk.exp: New.
5091 * gdb.reverse/step-indirect-call-thunk.c: New.
5093 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
5095 * gdb.base/pie-fork.c: New file.
5096 * gdb.base/pie-fork.exp: New file.
5098 2018-04-11 Tom Tromey <tom@tromey.com>
5100 * gdb.rust/simple.exp: Add test for ".." struct initializer.
5102 2018-04-10 Pedro Alves <palves@redhat.com>
5104 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
5105 exits. Instead loop running forever.
5106 (fork_parent): Run forever too.
5108 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
5110 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
5111 mi_continue_to_line.
5112 * gdb.mi/mi-stack.c (callee4): Add comment.
5114 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
5116 * gdb.mi/mi-stack.exp: Fix indentation.
5118 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
5121 * gdb.arch/amd64-osabi.exp: New file.
5123 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
5126 * gdb.base/osabi.exp: New file.
5128 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
5130 * gdb.cp/static-typedef-print.exp: New file.
5131 * gdb.cp/static-typedef-print.cc: New file.
5133 2018-03-27 Joel Brobecker <brobecker@adacore.com>
5135 * gdb.ada/varsize_limit: New testcase.
5137 2018-03-27 Joel Brobecker <brobecker@adacore.com>
5139 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
5141 * gdb.ada/notcplusplus: New testcase.
5143 * gdb.base/c-linkage-name.c: New file.
5144 * gdb.base/c-linkage-name.exp: New testcase.
5146 2018-03-26 Tom Tromey <tom@tromey.com>
5148 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
5149 * gdb.python/py-framefilter.py (name_error): New global.
5150 (ErrorInName.function): Use name_error.
5152 2018-03-26 Tom Tromey <tom@tromey.com>
5155 * gdb.python/py-framefilter.exp: Add "bt hide" test.
5157 2018-03-23 Keith Seitz <keiths@redhat.com>
5160 * gdb.cp/subtypes.exp: New file.
5161 * gdb.cp/subtypes.h: New file.
5162 * gdb.cp/subtypes.cc: New file.
5163 * gdb.cp/subtypes-2.cc: New file.
5165 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5167 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
5168 (done): Call '_exit' not 'exit' to avoid atexit handlers.
5169 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
5170 -nostartfiles when compiling the test. Confirm that all registers
5171 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
5173 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5175 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
5176 option, syntax was wrong anyway.
5177 * gdb.arch/arm-disp-step.exp: Likewise.
5178 * gdb.arch/sparc64-regs.exp: Likewise.
5179 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
5180 option, syntax was wrong anyway, switch to use
5181 prepare_for_testing.
5182 * gdb.arch/i386-disp-step.exp: Likewise.
5184 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
5186 * gdb.ada/exec_changed.exp: Replace "target_info exists
5187 use_gdb_stub" by "use_gdb_stub".
5188 * gdb.ada/start.exp: Likewise.
5189 * gdb.base/async-shell.exp: Likewise.
5190 * gdb.base/attach-pie-misread.exp: Likewise.
5191 * gdb.base/attach-wait-input.exp: Likewise.
5192 * gdb.base/break-entry.exp: Likewise.
5193 * gdb.base/break-interp.exp: Likewise.
5194 * gdb.base/dprintf-detach.exp: Likewise.
5195 * gdb.base/nostdlib.exp: Likewise.
5196 * gdb.base/solib-nodir.exp: Likewise.
5197 * gdb.base/statistics.exp: Likewise.
5198 * gdb.base/testenv.exp: Likewise.
5199 * gdb.mi/mi-exec-run.exp: Likewise.
5200 * gdb.mi/mi-start.exp: Likewise.
5201 * gdb.multi/dummy-frame-restore.exp: Likewise.
5202 * gdb.multi/multi-arch-exec.exp: Likewise.
5203 * gdb.multi/multi-arch.exp: Likewise.
5204 * gdb.multi/tids.exp: Likewise.
5205 * gdb.multi/watchpoint-multi.exp: Likewise.
5206 * gdb.python/py-events.exp: Likewise.
5207 * gdb.threads/attach-into-signal.exp: Likewise.
5208 * gdb.threads/attach-stopped.exp: Likewise.
5209 * gdb.threads/threadapply.exp: Likewise.
5210 * lib/selftest-support.exp: Likewise.
5212 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
5214 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
5216 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
5218 * gdb.perf/template-breakpoints.cc: New file.
5219 * gdb.perf/template-breakpoints.exp: New file.
5220 * gdb.perf/template-breakpoints.py: New file.
5222 2018-03-19 Tom Tromey <tom@tromey.com>
5224 * gdb.rust/simple.rs (main): Add local variables field1, field2,
5226 * gdb.rust/simple.exp: Test bare identifier form of struct
5229 2018-03-19 Tom Tromey <tom@tromey.com>
5231 * gdb.gdb/observer.exp: Remove.
5233 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5235 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
5236 "qualified" option when setting breakpoints.
5237 * gdb.trace/backtrace.exp: Likewise.
5238 * gdb.trace/circ.exp: Likewise.
5239 * gdb.trace/collection.exp: Likewise.
5240 * gdb.trace/disconnected-tracing.exp: Likewise.
5241 * gdb.trace/ftrace-lock.exp: Likewise.
5242 * gdb.trace/ftrace.exp: Likewise.
5243 * gdb.trace/infotrace.exp: Likewise.
5244 * gdb.trace/packetlen.exp: Likewise.
5245 * gdb.trace/passc-dyn.exp: Likewise.
5246 * gdb.trace/qtro.exp: Likewise.
5247 * gdb.trace/read-memory.exp: Likewise.
5248 * gdb.trace/report.exp: Likewise.
5249 * gdb.trace/signal.exp: Likewise.
5250 * gdb.trace/status-stop.exp: Likewise.
5251 * gdb.trace/strace.exp: Likewise.
5252 * gdb.trace/tfind.exp: Likewise.
5253 * gdb.trace/trace-break.exp: Likewise.
5254 * gdb.trace/trace-condition.exp: Likewise.
5255 * gdb.trace/trace-mt.exp: Likewise.
5256 * gdb.trace/tstatus.exp: Likewise.
5257 * gdb.trace/tsv.exp: Likewise.
5258 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
5259 * gdb.trace/unavailable.exp: Likewise.
5260 * gdb.trace/while-dyn.exp: Likewise.
5262 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5264 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
5265 that libinproctrace is copied to the target.
5267 2018-03-14 Tom Tromey <tom@tromey.com>
5270 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
5272 * gdb.base/wchar.exp: Likewise.
5274 2018-03-14 Tom Tromey <tom@tromey.com>
5277 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
5280 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
5283 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
5284 "target" to remote_exec.
5286 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
5289 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
5290 ${board}_upload): Remove.
5292 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
5294 * gdb.cp/watch-cp.cc: New test.
5295 * gdb.cp/watch-cp.exp: New file.
5297 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
5299 * gdb.base/infcall-nested-structs.exp: New file.
5300 * gdb.base/infcall-nested-structs.c: New file.
5301 * gdb.base/float.exp: Add riscv support.
5303 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
5305 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
5306 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
5308 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
5310 * gdb.server/abspath.exp: New file.
5311 * lib/gdb.exp (with_cwd): New procedure.
5313 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
5315 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
5317 (gdb_is_target_remote_prompt): New proc.
5318 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
5319 (gdb_is_target_native): Pass prompt parameter to
5322 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
5324 * gdb.base/load-command.c: New file.
5325 * gdb.base/load-command.exp: New file.
5326 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
5327 (gdb_is_target_1): ...this, and generalize for other targets
5329 (gdb_is_target_remote): Use gdb_is_target_1.
5330 (gdb_is_target_native): use gdb_is_target_1.
5332 2018-02-26 Tom Tromey <tom@tromey.com>
5335 * gdb.python/py-framefilter.exp: Update test.
5337 2018-02-26 Tom Tromey <tom@tromey.com>
5339 * gdb.dwarf2/variant.c: New file.
5340 * gdb.dwarf2/variant.exp: New file.
5342 2018-02-26 Tom Tromey <tom@tromey.com>
5344 * gdb.rust/simple.exp: Accept more possible results in enum test.
5346 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
5348 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
5351 2018-02-23 Maciej W. Rozycki <macro@mips.com>
5353 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
5354 name of a variable: $actual_linejj -> $actual_line.
5356 2018-02-21 John Baldwin <jhb@FreeBSD.org>
5358 * gdb.arch/amd64-i386-address.exp: Fix a typo.
5360 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
5362 * gdb.btrace/buffer-size.exp: Do not force BTS.
5364 2018-02-14 Pedro Alves <palves@redhat.com>
5366 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
5369 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
5371 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
5374 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
5376 * gdb.cp/m-static.exp: Check type of optimized out static
5379 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
5381 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
5382 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
5384 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
5385 Leszek Swirski <leszeks@google.com>
5387 * gdb.python/py-prettyprint.c
5388 (struct to_string_returns_value_inner,
5389 struct to_string_returns_value_wrapper): New.
5390 (main): Add tsrvw variable.
5391 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
5392 ToStringReturnsValueWrapper): New classes.
5393 (register_pretty_printers): Register new pretty-printers.
5394 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
5395 recursive pretty printer.
5396 * gdb.python/py-mi.exp: Likewise.
5398 2018-02-01 Leszek Swirski <leszeks@google.com>
5400 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
5401 functions with the same name as an include file are parsed
5404 2018-02-01 Yao Qi <yao.qi@linaro.org>
5406 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
5409 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
5411 * gdb.arch/powerpc-prologue-frame.s: New file.
5412 * gdb.arch/powerpc-prologue-frame.c: Likewise.
5413 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
5415 2018-01-31 Joel Brobecker <brobecker@adacore.com>
5417 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
5419 2018-01-30 Pedro Alves <palves@redhat.com>
5422 * gdb.base/interrupt-daemon.c: New.
5423 * gdb.base/interrupt-daemon.exp: New.
5424 * gdb.multi/multi-term-settings.c: New.
5425 * gdb.multi/multi-term-settings.exp: New.
5427 2018-01-30 Joel Brobecker <brobecker@adacore.com>
5429 * gdb.base/break.exp: Save the location where the breakpoint
5430 on break.c:47 was actually inserted when debugging the version
5431 compiled at -O2 and use it in the expected output of the "info
5432 break" test performed soon after.
5434 2018-01-22 Pedro Alves <palves@redhat.com>
5435 Sergio Durigan Junior <sergiodj@redhat.com>
5437 * gdb.base/whatis.exp: Add tests for 'set print object on' +
5438 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
5440 2018-01-22 Joel Brobecker <brobecker@adacore.com>
5442 * gdb.base/break-include.c, gdb.base/break-include.inc,
5443 gdb.base/break-include.exp: New files.
5444 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
5445 line number now being the actual line number where the breakpoint
5447 * gdb.mi/mi-break.exp: Likewise.
5448 * gdb.mi/mi-reverse.exp: Likewise.
5449 * gdb.mi/mi-simplerun.exp: Ditto.
5451 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5453 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
5455 * gdb.mi/mi-var-create-rtti.exp: Likewise.
5457 2018-01-21 Don Breazeal <donb@codesourcery.com>
5458 Andrew Burgess <andrew.burgess@embecosm.com>
5460 * gdb.mi/basics.c: Add new global.
5461 * gdb.mi/mi-frame-regs.exp: New file.
5462 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
5465 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
5467 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
5468 non-parameter, and on an unknown symbol.
5470 2018-01-19 Tom Tromey <tom@tromey.com>
5472 * gdb.rust/modules.rs (TWENTY_THREE): New global.
5473 * gdb.rust/modules.exp: Add ::-qualified lookup test.
5475 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5477 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
5478 setrlimit and chdir to int.
5480 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5482 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
5484 (my_tend): Likewise.
5485 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
5486 rationale of avoiding FP- and vector instructions.
5488 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
5490 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
5491 "info reg" with "\[ \t\]*".
5492 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
5494 * gdb.arch/s390-multiarch.exp: Ditto.
5495 * gdb.base/pc-fp.exp: Ditto.
5496 * gdb.reverse/i386-precsave.exp: Ditto.
5497 * gdb.reverse/i386-reverse.exp: Ditto.
5498 * gdb.reverse/i387-env-reverse.exp: Ditto.
5499 * gdb.reverse/i387-stack-reverse.exp: Ditto.
5501 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5503 * lib/gdb.exp (gdb_compile): Re-enable use of
5504 universal_compile_options for languages other than Rust.
5506 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
5508 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
5510 2018-01-17 Mike Gulick <mgulick@mathworks.com>
5513 * gdb.base/solib-vanish.exp: New.
5514 * gdb.base/solib-vanish-main.c: New.
5515 * gdb.base/solib-vanish-lib1.c: New.
5516 * gdb.base/solib-vanish-lib2.c: New.
5518 2018-01-17 Yao Qi <yao.qi@linaro.org>
5520 * gdb.compile/compile.exp: Match the address printed for
5521 frame in the output of command "bt".
5523 2018-01-15 Tom Tromey <tom@tromey.com>
5525 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
5528 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
5530 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
5532 (prepare): Return 0 on error, 1 on success.
5534 2018-01-12 Pedro Alves <palves@redhat.com>
5536 * gdb.base/continue-after-aborted-step-over.c: New.
5537 * gdb.base/continue-after-aborted-step-over.exp: New.
5539 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
5541 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
5542 options when not creating an executable.
5544 2018-01-11 Pedro Alves <palves@redhat.com>
5547 * gdb.server/stop-reply-no-thread.c: New file.
5548 * gdb.server/stop-reply-no-thread.exp: New file.
5550 2018-01-10 Pedro Alves <palves@redhat.com>
5553 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
5554 functions too. Test setting breakpoints and printing C functions
5555 with no debug info too.
5556 * gdb.ada/bp_c_mixed_case/qux.c: New file.
5558 2018-01-10 Pedro Alves <palves@redhat.com>
5561 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
5564 2018-01-10 Pedro Alves <palves@redhat.com>
5567 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
5569 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5571 * gdb.server/unittest.exp: Match the output in non-development
5574 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
5576 * gdb.gdb/unittest.exp: Match output in non-development mode.
5578 2018-01-08 Joel Brobecker <brobecker@adacore.com>
5580 * gdb.ada/access_tagged_param.exp: Relax expected output
5581 for value of "ObjL" in "continue" to pck.inspect breakpoint
5584 2018-01-08 Joel Brobecker <brobecker@adacore.com>
5586 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
5587 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
5589 2018-01-05 Pedro Alves <palves@redhat.com>
5592 * gdb.base/libsegfault.exp: New.
5594 2018-01-05 Joel Brobecker <brobecker@adacore.com>
5597 * gdb.ada/access_tagged_param.exp: New file.
5598 * gdb.ada/access_tagged_param/foo.adb: New file.
5600 2018-01-05 Pedro Alves <palves@redhat.com>
5603 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
5604 exercise lower case too, and to exercise both full matching and
5607 2018-01-05 Joel Brobecker <brobecker@adacore.com>
5609 * gdb.ada/rename_subscript_param: New testcase.
5611 2018-01-05 Jerome Guitton <guitton@adacore.com>
5613 * gdb.ada/arr_acc_idx_w_gap: New testcase.
5615 2018-01-05 Joel Brobecker <brobecker@adacore.com>
5617 * gdb.ada/convvar_comp: New testcase.
5619 2018-01-05 Xavier Roirand <roirand@adacore.com>
5621 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
5622 (My_Table): New global variable.
5623 * testsuite/gdb.ada/array_char_idx.exp: Add test.
5625 2018-01-04 Joel Brobecker <brobecker@adacore.com>
5628 * gdb.ada/maint_with_ada: New testcase.
5630 2018-01-04 Joel Brobecker <brobecker@adacore.com>
5633 * gdb.ada/bp_c_mixed_case: New testcase.
5635 2018-01-04 Joel Brobecker <brobecker@adacore.com>
5638 * gdb.ada/complete.exp: Add "complete break ada" test.
5640 2018-01-04 Joel Brobecker <brobecker@adacore.com>
5643 * gdb.ada/info_addr_mixed_case: New testcase.
5645 2018-01-03 Xavier Roirand <roirand@adacore.com>
5647 * gdb.ada/excep_handle.exp: New testcase.
5648 * gdb.ada/excep_handle/foo.adb: New file.
5649 * gdb.ada/excep_handle/pck.ads: New file.
5651 2018-01-03 Joel Brobecker <brobecker@adacore.com>
5653 * gdb.base/step-line.c: Add extra empty line in copyright header.
5654 * gdb.base/step-line.inp: Likewise.
5656 2018-01-02 Joel Brobecker <brobecker@adacore.com>
5658 * gdb.ada/dyn_stride.exp: Add slice test.
5660 2018-01-02 Joel Brobecker <brobecker@adacore.com>
5662 * gdb.ada/dyn_stride: New testcase.
5664 2017-12-27 Stafford Horne <shorne@gmail.com>
5666 * gdb.xml/extra-regs.xml: Add example foo reggroup.
5667 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
5669 2017-12-27 Stafford Horne <shorne@gmail.com>
5671 * gdb.base/reggroups.c: New file.
5672 * gdb.base/reggroups.exp: New file.
5674 2017-12-18 Joel Brobecker <brobecker@adacore.com>
5676 * gdb.dwarf2/ada-valprint-error.c: New file.
5677 * gdb.dwarf2/ada-valprint-error.exp: New file.
5679 2017-12-18 Joel Brobecker <brobecker@adacore.com>
5681 * gdb.ada/assign_arr: New testcase.
5683 2017-12-18 Xavier Roirand <roirand@adacore.com>
5685 * gdb.ada/funcall_ptr: New testcase.
5687 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
5690 * gdb.base/ptype-offsets.cc: New file.
5691 * gdb.base/ptype-offsets.exp: New file.
5693 2017-12-15 Yao Qi <yao.qi@linaro.org>
5695 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
5698 2017-12-15 Xavier Roirand <roirand@adacore.com>
5700 * gdb.ada/same_component_name: New testcase.
5702 2017-12-14 Joel Brobecker <brobecker@adacore.com>
5704 * gdb.ada/str_binop_equal: New testcase.
5706 2017-12-14 Joel Brobecker <brobecker@adacore.com>
5708 * gdb.ada/task_switch_in_core: New testcase.
5710 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
5712 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
5713 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
5714 call test_bkpt_qualified.
5715 (test_bkpt_qualified): New proc.
5717 2017-12-13 Pedro Alves <palves@redhat.com>
5719 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
5720 Tighten regexp by matching with an anchor.
5722 2017-12-13 Pedro Alves <palves@redhat.com>
5724 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
5725 ("expression with namespace"): New set of tests.
5726 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
5727 (Nested::Test_NS::qux): New.
5728 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
5729 defaults to 'start_quote_char' and 'end_quote_char' parameters.
5731 2017-12-13 Joel Brobecker <brobecker@adacore.com>
5733 * gdb.base/server-del-break.c: New file.
5734 * gdb.base/server-del-break.exp: New file.
5736 2017-12-12 Stafford Horne <shorne@gmail.com>
5738 * gdb.xml/tdesc-regs.exp: Add or1k support.
5740 2017-12-12 Stafford Horne <shorne@gmail.com>
5742 * gdb.base/bp-permanent.c: Define nop of or1k.
5744 2017-12-11 Joel Brobecker <brobecker@adacore.com>
5746 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
5747 output with components being reordered.
5749 2017-12-11 Joel Brobecker <brobecker@adacore.com>
5751 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
5752 output with components being reordered.
5754 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5755 Pedro Alves <palves@redhat.com>
5757 * gdb.base/maint.exp (check for .gdb_index): Check also for
5759 * gdb.dlang/watch-loc.c (.debug_aranges): New.
5760 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
5761 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
5762 (.gdb_index used after symbol reloading): Support also .debug_names.
5763 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
5765 2017-12-08 Yao Qi <yao.qi@linaro.org>
5767 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
5768 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
5770 2017-12-08 Yao Qi <yao.qi@linaro.org>
5772 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
5773 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
5775 2017-12-08 Yao Qi <yao.qi@linaro.org>
5777 * gdb.arch/aarch64-tagged-pointer.c: New file.
5778 * gdb.arch/aarch64-tagged-pointer.exp: New file.
5780 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
5782 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
5785 2017-12-07 Keith Seitz <keiths@redhat.com>
5787 PR breakpoints/22569
5788 * gdb.linespec/ls-errs.exp: Change expected result of "break
5789 -source this file has spaces.c -line 3".
5790 Check that an explicit source file followed by whitespace is
5791 identified as an invalid explicit location.
5793 2017-12-07 Keith Seitz <keiths@redhat.com>
5795 * gdb.cp/nested-types.cc: New file.
5796 * gdb.cp/nested-types.exp: New file.
5797 * lib/cp-support.exp: Load data-structures.exp library.
5798 (debug_cp_test_ptype_class): New global.
5799 (cp_ptype_class_verbose, next_line): New procedures.
5800 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
5801 Add and document new return value.
5802 Switch the list of lines to a queue.
5803 Add support for new `type' key for nested type definitions.
5804 Add debugging/troubleshooting messages.
5805 * lib/data-structures.exp: New file.
5807 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
5809 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
5810 with proc_with_prefix, don't use with_test_prefix.
5812 2017-12-07 Tom Tromey <tom@tromey.com>
5814 * gdb.base/break.exp: Add test for empty "commands".
5816 2017-12-07 Yao Qi <yao.qi@linaro.org>
5818 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
5819 malloc and catch syscall.
5821 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
5823 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
5824 tests for explicit locations.
5826 2017-12-06 Pedro Alves <palves@redhat.com>
5828 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
5829 force-disabling XML descriptions.
5831 2017-12-04 Pedro Alves <palves@redhat.com>
5834 * gdb.arch/amd64-disp-step-avx.S: New file.
5835 * gdb.arch/amd64-disp-step-avx.exp: New file.
5837 2017-12-03 Pedro Alves <palves@redhat.com>
5839 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
5841 (parent_function): Print distinct messages when waitpid fails, or
5842 the child exits with a signal, or the child exits for an unhandled
5844 * gdb.threads/process-dies-while-detaching.exp
5845 (detach_and_expect_exit): New 'inf_output_re' parameter and use
5846 it. Wait for both inferior output and GDB's prompt. Use an
5847 indirect spawn id list.
5848 (do_detach): New parameter 'child_exit'. Use it to compute
5849 expected inferior output.
5850 (test_detach, test_detach_watch, test_detach_killed_outside):
5851 Adjust to pass down the expected child exit kind.
5853 2017-12-01 Joel Brobecker <brobecker@adacore.com>
5854 Sergio Durigan Junior <sergiodj@redhat.com>
5855 Pedro Alves <palves@redhat.com>
5857 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
5859 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
5861 * gdb.base/relocate.exp: Add tests to guarantee that arguments
5862 to 'symbol-file' and 'add-symbol-file' can be
5863 position-independent.
5865 2017-12-01 Yao Qi <yao.qi@linaro.org>
5867 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
5868 the URL in copyright header.
5869 * gdb.arch/aarch64-fp.exp: Likewise.
5870 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
5871 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
5872 * gdb.base/expand-psymtabs.exp: Likewise.
5873 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
5874 * gdb.fortran/common-block.exp: Likewise.
5875 * gdb.fortran/common-block.f90: Likewise.
5876 * gdb.fortran/logical.exp: Likewise.
5877 * gdb.fortran/vla-datatypes.f90: Likewise.
5878 * gdb.fortran/vla-sub.f90: Likewise.
5880 2017-11-30 Joel Brobecker <brobecker@adacore.com>
5882 * gdb.ada/repeat_dyn: New testcase.
5884 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5886 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
5887 Update for changed thread numbering.
5888 * gdb.cell/bt.exp: Update for changed GDB output.
5890 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
5892 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
5893 setting isremote by hand.
5894 * boards/dwarf4-gdb-index.exp: Likewise.
5895 * boards/fission.exp: Likewise.
5896 * boards/stabs.exp: Likewise.
5898 2017-11-30 Pedro Alves <palves@redhat.com>
5900 * gdb.linespec/cpls-ops.exp
5901 (check_explicit_skips_function_argument): Extract the underlying
5902 type of size_t instead of hardcoding it.
5904 2017-11-29 Pedro Alves <palves@redhat.com>
5907 * gdb.linespec/cpls-abi-tag.cc: New file.
5908 * gdb.linespec/cpls-abi-tag.exp: New file.
5910 2017-11-29 Pedro Alves <palves@redhat.com>
5912 * gdb.base/langs.exp: Use -qualified.
5913 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
5915 * gdb.cp/namespace.exp: Use -qualified.
5916 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
5917 (overload-3, template-overload, template-ret-type, const-overload)
5918 (const-overload-quoted, anon-ns, ambiguous-prefix): New
5920 (test_driver): Call them.
5921 * gdb.cp/save-bp-qualified.cc: New.
5922 * gdb.cp/save-bp-qualified.exp: New.
5923 * gdb.linespec/explicit.exp: Test -qualified.
5924 * lib/completion-support.exp (completion::explicit_opts_list): Add
5926 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
5928 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
5930 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
5932 2017-11-29 Tom Tromey <tom@tromey.com>
5934 * gdb.base/relocate.exp: Update invalid argument test.
5935 Add new tests for invalid arguments.
5937 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5939 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
5941 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
5943 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5945 * gdb.cp/breakpoint.cc (bar): Set return type to void.
5946 * gdb.cp/psymtab-parameter.cc (func): Likewise.
5947 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
5949 * gdb.cp/shadow.cc (B.func): Return 0.
5951 2017-11-27 Joel Brobecker <brobecker@adacore.com>
5953 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
5954 expected output in gdb_expect call to allow the exception
5955 message to be present as well. Fix syntax confusion to avoid
5956 TCL thinking that exception_name is an array.
5958 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
5960 * gdb.arch/spu-info.c: Include <unistd.h>.
5961 (do_signal_test): Fix broken calls to write.
5962 * gdb.arch/spu-info.exp: Use prepare_for_testing.
5963 Fix checks for empty mailboxes. Update signal tests for corrected
5964 do_signal_test routine. Allow nonzero event status.
5965 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
5966 * gdb.cell/arch.exp: Use standard_output_file.
5967 * gdb.cell/break.exp: Likewise.
5968 * gdb.cell/bt.exp: Likewise.
5969 * gdb.cell/core.exp: Likewise.
5970 * gdb.cell/dwarfaddr.exp: Likewise.
5971 * gdb.cell/ea-cache.exp: Likewise.
5972 * gdb.cell/ea-standalone.exp: Likewise.
5973 * gdb.cell/f-regs.exp: Likewise.
5974 * gdb.cell/fork.exp: Likewise.
5975 * gdb.cell/gcore.exp: Likewise.
5976 * gdb.cell/mem-access.exp: Likewise.
5977 * gdb.cell/ptype.exp: Likewise.
5978 * gdb.cell/registers.exp: Likewise.
5979 * gdb.cell/sizeof.exp: Likewise.
5980 * gdb.cell/solib-symbol.exp: Likewise.
5981 * gdb.cell/solib.exp: Likewise.
5983 2017-11-25 Pedro Alves <palves@redhat.com>
5985 * gdb.base/complete-empty.exp: New file.
5986 * gdb.base/completion.exp: Adjust.
5988 2017-11-25 Pedro Alves <palves@redhat.com>
5990 * gdb.linespec/cpls-ops.cc: New file.
5991 * gdb.linespec/cpls-ops.exp: New file.
5992 * lib/completion-support.exp (test_complete_prefix_range_re): New,
5993 factored out from ...
5994 (test_complete_prefix_range): ... this.
5996 2017-11-24 Pedro Alves <palves@redhat.com>
5998 * gdb.linespec/cpcompletion.exp: New file.
5999 * gdb.linespec/cpls-hyphen.cc: New file.
6000 * gdb.linespec/cpls.cc: New file.
6001 * gdb.linespec/cpls2.cc: New file.
6002 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
6003 test to use test_gdb_complete_unique. Add label completion,
6004 keyword completion and explicit location completion tests.
6005 * lib/completion-support.exp: New file.
6007 2017-11-24 Joel Brobecker <brobecker@adacore.com>
6009 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
6010 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
6011 when hitting an exception catchpoint.
6013 2017-11-22 Yao Qi <yao.qi@linaro.org>
6015 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
6017 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
6019 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
6020 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
6021 * gdb.dwarf2/info-locals-optimized-out.c: New file.
6023 2017-11-22 Yao Qi <yao.qi@linaro.org>
6025 * gdb.base/info-os.exp: Pass pthreads.
6026 * gdb.multi/multi-attach.exp: Likewise.
6028 2017-11-22 Yao Qi <yao.qi@linaro.org>
6030 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
6033 2017-11-22 Yao Qi <yao.qi@linaro.org>
6035 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
6036 * gdb.base/break-interp.exp: Likewise.
6037 * gdb.base/jit-attach-pie.exp: Likewise.
6039 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
6041 * gdb.base/float128.c (large128): New variable.
6042 * gdb.base/float128.exp: Add test to print largest __float128 value.
6044 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
6046 * gdb.arch/vsx-regs.exp: Update register content checks.
6048 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
6050 * gdb.arch/ppc-longdouble.exp: New file.
6051 * gdb.arch/ppc-longdouble.c: Likewise.
6053 2017-11-21 Pedro Alves <palves@redhat.com>
6055 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
6057 2017-11-20 Pedro Alves <palves@redhat.com>
6059 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
6060 (long_double_typedef): New typedefs.
6061 Use DEF on double and long double.
6062 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
6064 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
6065 and 'long_double_ptr_same_size' locals. Use them to decide
6066 whether cast from array/function to float is valid/invalid.
6068 2017-11-17 Tom Tromey <tom@tromey.com>
6070 * gdb.rust/traits.rs: New file.
6071 * gdb.rust/traits.exp: New file.
6073 2017-11-17 Joel Brobecker <brobecker@adacore.com>
6075 * gdb.ada/minsyms: New testcase.
6077 2017-11-16 Pedro Alves <palves@redhat.com>
6079 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
6080 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
6082 2017-11-16 Pedro Alves <palves@redhat.com>
6084 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
6085 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
6087 2017-11-16 Pedro Alves <palves@redhat.com>
6089 * gdb.server/reconnect-ctrl-c.c: New file.
6090 * gdb.server/reconnect-ctrl-c.exp: New file.
6092 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
6094 * gdb.python/py-rbreak.exp: New file.
6095 * gdb.python/py-rbreak.c: New file.
6096 * gdb.python/py-rbreak-func2.c: New file.
6098 2017-11-16 Pedro Alves <palves@redhat.com>
6100 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
6102 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
6105 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
6107 * gdb.tui/completionn.exp (test_tab_completion): Add space in
6110 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
6112 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
6115 2017-11-09 Pedro Alves <palves@redhat.com>
6117 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
6118 factored out from ...
6119 (top level): ... here, and adjusted to avoid expecting beyond the
6120 prompt in a single gdb_test_multiple.
6122 2017-11-09 Pedro Alves <palves@redhat.com>
6124 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
6126 * gdb.server/ext-attach.exp ("kill" test): Likewise.
6127 * gdb.server/ext-restart.exp ("kill" test): Likewise.
6128 * gdb.server/ext-run.exp ("kill" test): Likewise.
6129 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
6131 2017-11-09 Pedro Alves <palves@redhat.com>
6133 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
6134 match till end of line.
6136 2017-11-09 Pedro Alves <palves@redhat.com>
6138 * gdb.base/memattr.exp: Tighten regexes to match the end line.
6140 2017-11-09 Pedro Alves <palves@redhat.com>
6142 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
6143 New procedures, factored out from ...
6144 (top level): ... here, and adjusted to avoid expecting beyond the
6147 2017-11-09 Pedro Alves <palves@redhat.com>
6149 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
6150 output. Fix '?' match.
6152 2017-11-08 Joel Brobecker <brobecker@adacore.com>
6154 * gdb.ada/scoped_watch: New testcase.
6155 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
6156 which is actually correct.
6157 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
6158 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
6160 2017-11-08 Pedro Alves <palves@redhat.com>
6162 * gdb.gdb/complaints.exp (test_initial_complaints)
6163 (test_serial_complaints, test_short_complaints): Call
6164 complaint_internal instead of complaint.
6166 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
6168 * gdb.threads/tls-core.c: New file.
6169 * gdb.threads/tls-core.exp: Likewise.
6171 2017-11-08 Pedro Alves <palves@redhat.com>
6173 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
6174 (p Exported_Capitalized): New test.
6175 (p exported_capitalized): New test.
6177 2017-11-07 Pedro Alves <palves@redhat.com>
6179 * gdb.cp/ena-dis-br-range.exp: Add more tests.
6181 2017-11-07 Pedro Alves <palves@redhat.com>
6183 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
6184 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
6185 (disable_invalid, disable_inverted, disable_negative): New
6187 ("bad numbers"): New set of tests.
6189 2017-11-07 Pedro Alves <palves@redhat.com>
6191 * gdb.cp/ena-dis-br-range.exp: Add tests.
6193 2017-11-07 Pedro Alves <palves@redhat.com>
6195 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
6197 2017-11-07 Xavier Roirand <roirand@adacore.com>
6198 Pedro Alves <palves@redhat.com>
6200 * gdb.base/ena-dis-br.exp: Add reference to
6201 gdb.cp/ena-dis-br-range.exp.
6202 * gdb.cp/ena-dis-br-range.exp: New file.
6203 * gdb.cp/ena-dis-br-range.cc: New file.
6205 2017-11-06 Pedro Alves <palves@redhat.com>
6207 * gdb.base/attach-non-pgrp-leader.c: New.
6208 * gdb.base/attach-non-pgrp-leader.exp: New.
6210 2017-11-06 Pedro Alves <palves@redhat.com>
6212 * configure.ac: No longer check for termio.h and sgtty.h.
6213 * configure: Regenerate.
6214 * remote-utils.c: Include termios.h instead of gdb_termios.h.
6215 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
6216 Remove termio and sgtty code.
6218 2017-11-03 Yao Qi <yao.qi@linaro.org>
6220 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
6223 2017-11-03 Yao Qi <yao.qi@linaro.org>
6225 * gdb.python/py-thrhandle.exp: Skip it if python is not
6228 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
6230 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
6231 as a breakpoint command.
6233 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
6236 * gdb.python/py-infthread.exp: Test calling
6237 InferiorThread.inferior () multiple times in a row.
6239 2017-10-27 Keith Seitz <keiths@redhat.com>
6241 * gdb.opt/inline-break.exp (break_info_1): New procedure.
6242 Test "info break" for every inlined function breakpoint.
6244 2017-10-27 Yao Qi <yao.qi@linaro.org>
6246 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
6248 2017-10-26 Patrick Frants <osscontribute@gmail.com>
6250 * gdb.cp/classes.exp (test_static_members): Test printing
6252 * gdb.cp/classes.c (struct Inner, struct Outer): New.
6253 (Inner::instance, Outer::instance): New.
6255 2017-10-24 Pedro Alves <palves@redhat.com>
6257 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
6258 extra console" test in two stages.
6260 2017-10-24 Pedro Alves <palves@redhat.com>
6262 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
6264 2017-10-24 Pedro Alves <palves@redhat.com>
6266 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
6269 2017-10-24 Pedro Alves <palves@redhat.com>
6271 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
6272 $attempt" and "stoppedtry $stoppedtry" test prefixes.
6274 2017-10-24 Pedro Alves <palves@redhat.com>
6276 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
6277 parameter and handle it. Don't output read value in test name.
6279 2017-10-24 Pedro Alves <palves@redhat.com>
6281 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
6284 2017-10-24 Pedro Alves <palves@redhat.com>
6286 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
6287 include the unstable output directory name in the test's name.
6288 (initial_setup_simple) <'set args'>: Use custom test name.
6290 2017-10-24 Pedro Alves <palves@redhat.com>
6292 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
6293 with explicit test name.
6295 2017-10-20 Pedro Alves <palves@redhat.com>
6297 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
6298 'wait -i'. Use gdb_assert and remote_close.
6300 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
6302 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
6303 number from variable rather than hard-coded.
6305 2017-10-19 Pedro Alves <palves@redhat.com>
6307 * gdb.base/long-inferior-output.c: New file.
6308 * gdb.base/long-inferior-output.exp: New file.
6310 2017-11-18 Keith Seitz <keiths@redhat.com>
6312 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
6315 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
6316 Add additional user-defined conversion operator tests.
6318 2017-10-17 Pedro Alves <palves@redhat.com>
6320 * boards/native-stdio-gdbserver.exp: Load "local-board".
6322 2017-10-17 Pedro Alves <palves@redhat.com>
6324 * gdb.base/quit-live.c: New file.
6325 * gdb.base/quit-live.exp: New file.
6327 2017-10-16 Keith Seitz <keiths@redhat.com>
6329 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
6330 (class_with_protected_typedef, class_with_private_typedef)
6331 (struct_with_public_typedef, struct_with_protected_typedef)
6332 (struct_with_private_typedef): New classes/structs.
6333 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
6334 typedefs and access specifiers.
6336 2017-10-16 Pedro Alves <palves@redhat.com>
6337 Simon Marchi <simon.marchi@polymtl.ca>
6339 * README (Local vs Remote vs Native): New section.
6340 * boards/local-board.exp: New file, with bits factored out from
6342 * boards/native-extended-gdbserver.exp: ... here. Load
6344 * boards/native-gdbserver.exp: Load "local-board".
6345 (${board}_spawn, ${board}_exec): Delete.
6346 * boards/native-stdio-gdbserver.exp: Most contents factored out to
6348 * boards/stdio-gdbserver-base.exp: ... this new file.
6349 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
6350 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
6352 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
6353 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
6354 stdio_gdbserver_command.
6355 (${board}_get_remote_address, ${board}_get_comm_port)
6356 (${board}_download, ${board}_upload): Delete.
6357 (get_target_remote_pipe_cmd): New.
6359 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
6361 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
6362 test_bkpt_deletion, test_bkpt_cond_and_cmds,
6363 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
6364 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
6365 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
6366 remove with_test_prefix.
6368 2017-10-13 Pedro Alves <palves@redhat.com>
6370 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
6371 * gdb.base/annota1.exp: Use it instead of is_remote.
6372 * gdb.base/annota3.exp: Use it instead of is_remote.
6373 * gdb.cp/annota2.exp: Use it instead of is_remote.
6374 * gdb.cp/annota3.exp: Use it instead of is_remote.
6375 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
6377 2017-10-13 Pedro Alves <palves@redhat.com>
6379 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
6380 (test_num_test_vars, run_and_count_vars, find_env)
6381 (test_set_unset_env, test_inherit_env_var): New procedures.
6382 (top level): Use them.
6384 2017-10-13 Pedro Alves <palves@redhat.com>
6386 * lib/selftest-support.exp (selftest_setup): Extend comments, and
6387 also skip on stub-like targets.
6389 2017-10-13 Pedro Alves <palves@redhat.com>
6392 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
6393 (top level): Move some tests to ...
6394 (test_not_found): ... this new procedure.
6395 (top level): Call it.
6397 2017-10-13 Pedro Alves <palves@redhat.com>
6399 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
6400 expect different "info terminal" output if testing with a
6403 2017-10-13 Pedro Alves <palves@redhat.com>
6404 Simon Marchi <simon.marchi@polymtl.ca>
6407 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
6409 2017-10-13 Pedro Alves <palves@redhat.com>
6411 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
6414 2017-10-13 Pedro Alves <palves@redhat.com>
6416 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
6419 2017-10-13 Pedro Alves <palves@redhat.com>
6421 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
6424 2017-10-13 Pedro Alves <palves@redhat.com>
6426 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
6428 (corefile_test_attach): Likewise. Check can_spawn_for_attach
6429 instead of is_remote.
6431 2017-10-13 Pedro Alves <palves@redhat.com>
6433 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
6434 (top level): Add comment.
6436 2017-10-13 Pedro Alves <palves@redhat.com>
6438 * gdb.base/remote.exp (top level): Fix comment typo and add
6441 2017-10-13 Pedro Alves <palves@redhat.com>
6442 Simon Marchi <simon.marchi@polymtl.ca>
6444 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
6445 calls and add comments. Skip test if use_gdb_stub is set.
6446 (top level): Use "set cwd" command instead of "cd" command.
6448 2017-10-13 Pedro Alves <palves@redhat.com>
6450 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
6451 is_remote target check.
6453 2017-10-13 Pedro Alves <palves@redhat.com>
6455 * gdb.base/scope.exp: Use build_executable + clean_restart +
6456 gdb_file_cmd instead of prepare_for_testing and no longer skip
6457 "before run" tests on is_remote target boards. Update comments.
6458 * boards/native-extended-gdbserver.exp
6459 (extended_gdbserver_load_last_file): New, factored out from ...
6460 (gdb_load): ... this. Move further below and add comment.
6461 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
6463 2017-10-12 Pedro Alves <palves@redhat.com>
6465 * gdb.base/attach.exp: Remove references to gdb64.
6466 * gdb.base/dbx.exp: Remove references to gdb64.
6468 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6469 Pedro Alves <palves@redhat.com>
6471 * gdb.base/label.exp: Remove is_remote target check.
6473 2017-10-12 Pedro Alves <palves@redhat.com>
6475 * gdb.base/auvx.exp (coredir): Update comment.
6476 (top level) <core_works>: Use "set cwd" command instead of "cd"
6479 2017-10-12 Pedro Alves <palves@redhat.com>
6480 Simon Marchi <simon.marchi@polymtl.ca>
6482 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
6485 2017-10-12 Pedro Alves <palves@redhat.com>
6486 Simon Marchi <simon.marchi@polymtl.ca>
6488 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
6489 Instead skip if there's any gdb_protocol set.
6491 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
6492 Pedro Alves <palves@redhat.com>
6494 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
6496 2017-10-12 Pedro Alves <palves@redhat.com>
6497 Simon Marchi <simon.marchi@polymtl.ca>
6499 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
6500 instead of on dejagnu remote boards.
6502 2017-10-12 Pedro Alves <palves@redhat.com>
6503 Simon Marchi <simon.marchi@polymtl.ca>
6505 * gdb.base/inferior-died.exp: Remove is_remote and isnative
6506 checks. Use build_executable + clean_restart instead of
6507 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
6508 of enabling non-stop after starting gdb.
6510 2017-10-12 Pedro Alves <palves@redhat.com>
6512 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
6513 * gdb.threads/non-ldr-exc-2.exp: Ditto.
6514 * gdb.threads/non-ldr-exc-3.exp: Ditto.
6515 * gdb.threads/non-ldr-exc-4.exp: Ditto.
6517 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
6519 * gdb.arch/arc-tdesc-cpu.exp: New file.
6520 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
6522 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
6524 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
6526 2017-10-10 Pedro Alves <palves@redhat.com>
6528 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
6531 2017-10-10 Pedro Alves <palves@redhat.com>
6533 * lib/selftest-support.exp (selftest_setup): Update for
6534 captured_command_loop's prototype change.
6536 2017-10-09 Pedro Alves <palves@redhat.com>
6538 Test both arch1=>arch2 and arch2=>arch1.
6540 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
6541 (srcfile2, binfile2, march1, march2): Remove globals. Largely
6543 (append_arch1_options, append_arch2_options, append_arch_options)
6544 (build_executables): New procedures.
6545 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
6547 (top level): Add new 'first_arch' testing axis.
6549 2017-10-09 Pedro Alves <palves@redhat.com>
6551 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
6553 (thread_start, all_started): New functions.
6554 (main): Spawn new thread and wait until it is scheduled.
6555 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
6557 (do_test): Add 'selected_thread' parameter. Run to all_started
6558 instead of main. Explicitly set the breakpoint at main. Switch
6559 to the SELECTED_THREAD thread.
6560 (top level): Test handling the exec event with either the main
6561 thread or the second thread selected.
6563 2017-10-09 Pedro Alves <palves@redhat.com>
6565 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
6566 logic. Move STOP marker after the value checks.
6567 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
6570 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
6572 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
6574 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
6576 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
6577 integer-to-dfp conversion.
6578 * gdb.base/dfp-test.exp: Likewise.
6580 2017-10-04 Pedro Alves <palves@redhat.com>
6582 * gdb.multi/hangout.c: Include <unistd.h>.
6583 (hangout_loop): New function.
6584 (main): Call alarm. Call hangout_loop in a loop.
6585 * gdb.multi/hello.c: Include <unistd.h>.
6586 (hello_loop): New function.
6587 (main): Call alarm. Call hangout_loop in a loop.
6588 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
6589 inferior with the other selected.
6591 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
6593 * gdb.mi/list-thread-groups-available.exp: New file.
6594 * gdb.mi/list-thread-groups-available.c: New file.
6596 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6598 * gdb.base/set-cwd.exp: Make it available on
6599 native-extended-gdbserver.
6601 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
6603 * gdb.base/set-cwd.c: New file.
6604 * gdb.base/set-cwd.exp: Likewise.
6606 2017-10-02 Tom Tromey <tom@tromey.com>
6609 * gdb.rust/simple.rs (main): New variable "fslice".
6610 * gdb.rust/simple.exp: Add slice tests. Update string tests.
6612 2017-10-02 Tom Tromey <tom@tromey.com>
6614 * gdb.rust/simple.exp: Test ptype of a slice.
6616 2017-10-02 Tom Tromey <tom@tromey.com>
6618 * gdb.rust/simple.exp: Test index of slice.
6620 2017-09-27 Tom Tromey <tom@tromey.com>
6622 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
6624 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
6625 Pedro Alves <palves@redhat.com>
6627 * gdb.base/compare-sections.exp (get value of read-only section): Read
6629 (corrupt read-only section): Likewise and don't set written if patching
6632 2017-09-21 Kevin Buettner <kevinb@redhat.com>
6634 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
6637 2017-09-20 Pedro Alves <palves@redhat.com>
6639 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
6640 symbol names in gdb's output.
6641 * gdb.cp/overload.exp ("list all overloads"): Likewise.
6643 2017-09-20 Pedro Alves <palves@redhat.com>
6645 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
6647 (test_list_ambiguous_symbol): ... this and add a symbol name
6649 (test_list_ambiguous_function): Reimplement on top of
6650 test_list_ambiguous_symbol and also test listing ambiguous
6652 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
6653 (ambiguous_fun): ... this.
6654 (ambiguous_var): New.
6655 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
6656 (ambiguous_fun): ... this.
6657 (ambiguous_var): New.
6659 2017-09-19 John Baldwin <jhb@FreeBSD.org>
6661 * gdb.base/starti.c: New file.
6662 * gdb.base/starti.exp: New file.
6663 * lib/gdb.exp (gdb_starti_cmd): New procedure.
6665 2017-09-14 Pedro Alves <palves@redhat.com>
6667 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
6668 (top level): Use it instead of runto.
6670 2017-09-11 Tom Tromey <tom@tromey.com>
6672 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
6674 2017-09-11 Tom Tromey <tom@tromey.com>
6676 * gdb.python/py-infthread.exp: Add tests for new_thread event.
6677 * gdb.python/py-inferior.exp: Add tests for new inferior events.
6679 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
6681 * gdb.fortran/printing-types.exp: New file.
6682 * gdb.fortran/printing-types.exp: New file.
6684 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6686 * gdb.fortran/vla-ptype.exp: Fix typos.
6687 * gdb.fortran/vla-value.exp: Same.
6689 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
6691 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
6692 * gdb.mi/mi-var-child-f.exp: Likewise.
6693 * gdb.mi/mi-vla-fortran.exp: Likewise.
6695 2017-09-08 Frank Penczek <frank.penczek@intel.com>
6696 Christoph Weinmann <christoph.t.weinmann@intel.com>
6697 Bernhard Heckel <bernhard.heckel@intel.com>
6699 * gdb.fortran/ptr-indentation.f90: New file.
6700 * gdb.fortran/ptr-indentation.exp: New file.
6702 2017-09-05 Tom Tromey <tom@tromey.com>
6705 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
6707 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
6709 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
6711 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6713 * gdb.threads/tls-nodebug-pie.c: New file.
6714 * gdb.threads/tls-nodebug-pie.exp: New file.
6716 2017-09-05 Tom Tromey <tom@tromey.com>
6718 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
6721 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
6723 * gdb.multi/multi-arch-exec.exp: Test with different
6724 "follow-exec-mode" settings.
6725 (do_test): New procedure.
6727 2017-09-04 Pedro Alves <palves@redhat.com>
6729 * gdb.base/func-static.c (S::method const, S::method volatile)
6730 (S::method volatile const): New methods.
6731 (c_s, v_s, cv_s): New instances.
6732 (main): Call method() on them.
6733 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
6734 (cannot_resolve): New procedure.
6735 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
6736 print-quote-unquoted columns.
6737 (do_test): Test printing each scope too.
6739 2017-09-04 Pedro Alves <palves@redhat.com>
6741 * gdb.base/local-static.exp: Also test with
6742 class::method::variable wholly quoted.
6743 * gdb.cp/m-static.exp (class::method::variable): Remove test.
6745 2017-09-04 Pedro Alves <palves@redhat.com>
6747 * gdb.base/local-static.c: New.
6748 * gdb.base/local-static.cc: New.
6749 * gdb.base/local-static.exp: New.
6751 2017-09-04 Pedro Alves <palves@redhat.com>
6753 * gdb.asm/asm-source.exp: Add casts to int.
6754 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
6755 (dataglobal64_1, dataglobal64_2): New globals.
6756 * gdb.base/nodebug.exp: Test different expressions involving the
6757 new globals, with print, whatis and ptype. Add casts to int.
6758 * gdb.base/solib-display.exp: Add casts to int.
6759 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
6760 * gdb.cp/m-static.exp: Add cast to int.
6761 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
6762 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
6763 tls variable with no debug info without a cast. Test with a cast
6765 * gdb.trace/entry-values.exp: Add casts.
6767 2017-09-04 Pedro Alves <palves@redhat.com>
6769 * gdb.base/nodebug.exp: Test that ptype's error about functions
6770 with unknown return type includes the function name too.
6772 2017-09-04 Pedro Alves <palves@redhat.com>
6774 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
6775 return type of munmap in infcall.
6776 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
6777 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
6778 type of ftell in infcall.
6779 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
6780 type of getpid in infcall.
6781 * gdb.base/infcall-exec.exp: Cast return type of execlp in
6783 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
6784 Bail on failure to extract the pid.
6785 * gdb.base/nodebug.c: #include <stdint.h>.
6786 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
6788 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
6789 Change expected output of print/whatis/ptype with functions with
6790 no debug info. Test all supported languages. Call
6791 test_call_promotion.
6792 * gdb.compile/compile.exp: Adjust expected output to expect
6794 * gdb.threads/siginfo-threads.exp: Likewise.
6796 2017-09-04 Pedro Alves <palves@redhat.com>
6798 * gdb.base/callfuncs.exp (do_function_calls): New parameter
6799 "prototypes". Test calling float functions via prototyped and
6800 unprototyped function pointers.
6801 (perform_all_tests): New parameter "prototypes". Pass it down.
6802 (top level): Pass down "prototypes" parameter to
6805 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6807 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
6808 Test with nested loops.
6810 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6812 * gdb.base/commands.exp: Call the new procedures.
6813 (loop_break_test, loop_continue_test): New procedures.
6815 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6817 * gdb.base/commands.exp: Call new procedure.
6818 (define_if_without_arg_test): New procedure.
6820 2017-09-04 Pedro Alves <palves@redhat.com>
6822 * gdb.base/list-ambiguous.exp: New file.
6823 * gdb.base/list-ambiguous0.c: New file.
6824 * gdb.base/list-ambiguous1.c: New file.
6825 * gdb.base/list.exp (test_list_range): Adjust expected output.
6827 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
6829 * gdb.base/share-env-with-gdbserver.c: New file.
6830 * gdb.base/share-env-with-gdbserver.exp: Likewise.
6832 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6834 * gdb.base/commands.exp (gdbvar_simple_if_test,
6835 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
6836 progvar_simple_if_test, progvar_simple_while_test,
6837 progvar_complex_if_while_test, user_defined_command_test,
6838 user_defined_command_args_eval,
6839 user_defined_command_args_stack_test,
6840 user_defined_command_manyargs_test, bp_deleted_in_command_test,
6841 temporary_breakpoint_commands,
6842 gdb_test_no_prompt, redefine_hook_test,
6843 redefine_backtrace_test): Remove "global gdb_prompt".
6845 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6847 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
6848 New proc, call it from toplevel.
6850 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
6853 * gdb.server/normal.c: New file, copied from gdb.base.
6854 * gdb.server/run-without-local-binary.exp: New file.
6856 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
6858 * gdb.arch/sparc64-adi.exp: New file.
6859 * gdb.arch/sparc64-adi.c: New file.
6861 2017-08-22 Pedro Alves <palves@redhat.com>
6863 * gdb.cp/overload.exp (line_range_pattern): New procedure.
6864 (top level): Add "list all overloads" tests.
6866 2017-08-22 Tom Tromey <tom@tromey.com>
6868 * gdb.gdb/xfullpath.exp: Remove.
6870 2017-08-21 Pedro Alves <palves@redhat.com>
6873 * gdb.base/symbol-alias.c: New.
6874 * gdb.base/symbol-alias2.c: New.
6875 * gdb.base/symbol-alias.exp: New.
6877 2017-08-21 Pedro Alves <palves@redhat.com>
6879 * gdb.base/dfp-test.c
6880 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
6881 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
6882 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
6883 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
6884 * gdb.base/whatis-ptype-typedefs.c: New.
6885 * gdb.base/whatis-ptype-typedefs.exp: New.
6886 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
6887 (an_int, an_int_type, an_int_type2): New globals.
6888 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
6889 involving typedefs and cast expressions.
6890 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
6891 (lookup_typedefs_function): New.
6892 (typedefs_pretty_printers_dict): New.
6893 (top level): Register lookup_typedefs_function in
6894 gdb.pretty_printers.
6896 2017-08-18 Yao Qi <yao.qi@linaro.org>
6898 * gdb.server/unittest.exp: New.
6900 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
6903 * gdb.base/environ.exp: Add test to check if 'unset environment'
6906 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6908 * lib/gdb.exp (universal_compile_options): New caching proc.
6909 (gdb_compile): Suppress GCC's coloring of messages.
6911 2017-08-14 Tom Tromey <tom@tromey.com>
6914 * gdb.base/printcmds.exp (test_radices): New function.
6915 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
6916 * gdb.base/sizeof.exp (check_valueof): Use p/d.
6917 * lib/gdb.exp (get_integer_valueof): Use p/d.
6919 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
6921 * lib/gdb.exp (get_valueof): Don't capture end-of-line
6924 2017-08-05 Tom Tromey <tom@tromey.com>
6926 * gdb.rust/simple.exp: Allow String to appear in a different
6929 2017-07-26 Yao Qi <yao.qi@linaro.org>
6931 * gdb.gdb/unittest.exp: Invoke command
6932 "maintenance check xml-descriptions".
6934 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6936 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
6938 (hex128): Drop erroneous calculation of parameters.
6940 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
6942 * gdb.python/py-unwind.exp: Disable stack protection when
6945 2017-07-20 Pedro Alves <palves@redhat.com>
6947 * gdb.base/default.exp (set language): Adjust expected output.
6949 2017-07-20 Pedro Alves <palves@redhat.com>
6951 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
6952 (test_minsym): ... this, and make static.
6953 (get_pck__foo__bar__minsym): Rename to ...
6954 (get_test_minsym): ... this.
6955 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
6956 symbol names and comments.
6957 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
6958 (get_test_minsym): ... this.
6959 (pck__foo__bar__minsym__2): Rename to ...
6960 (test_minsym): ... this.
6963 2017-07-17 Pedro Alves <palves@redhat.com>
6965 * gdb.base/completion.exp: Adjust expected output.
6966 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
6967 the completer works.
6969 2017-07-17 Pedro Alves <palves@redhat.com>
6971 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
6973 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
6975 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
6977 2017-07-14 Tom Tromey <tom@tromey.com>
6980 * gdb.rust/simple.exp: Add tests.
6982 2017-07-14 Tom Tromey <tom@tromey.com>
6984 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
6986 2017-07-14 Pedro Alves <palves@redhat.com>
6988 * gdb.linespec/base/one/thefile.cc (z1): New function.
6989 * gdb.linespec/base/two/thefile.cc (z2): New function.
6990 * gdb.linespec/linespec.exp: Add tests.
6992 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6994 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
6995 to mi_create_breakpoint.
6997 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6999 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
7000 mi_create_breakpoint.
7002 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
7004 * gdb.dlang/demangle.exp: Update for demangling changes.
7006 2017-07-09 Tom Tromey <tom@tromey.com>
7008 * gdb.dwarf2/shortpiece.exp: New file.
7010 2017-07-06 David Blaikie <dblaikie@gmail.com>
7012 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
7013 built from fissiont-multi-cu{1,2}.c.
7014 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
7015 except putting 'main' and 'func' in separate CUs in the same DWO file.
7016 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
7018 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
7021 2017-07-06 Pedro Alves <palves@redhat.com>
7023 * gdb.python/py-unwind.exp: Test flushregs.
7025 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
7028 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
7029 tests for alias commands and trailing whitespace.
7031 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
7034 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
7037 2017-06-29 Pedro Alves <palves@redhat.com>
7039 * gdb.base/printcmds.exp: Add tests.
7041 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
7044 * gdb.base/reread-readsym.exp: New file.
7045 * gdb.base/reread-readsym.c: New file.
7047 2017-06-21 Kevin Buettner <kevinb@redhat.com>
7049 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
7052 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
7054 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
7056 * gdb.arch/powerpc-power9.s: Likewise.
7058 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7060 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
7061 on 32-bit x86 targets. Exploit is_*_target macros where
7064 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7066 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
7069 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7071 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
7072 located in one or more DWARF pieces.
7074 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7076 * lib/gdb.exp (get_endianness): New proc.
7077 * gdb.arch/aarch64-fp.exp: Use it.
7078 * gdb.arch/altivec-regs.exp: Likewise.
7079 * gdb.arch/e500-regs.exp: Likewise.
7080 * gdb.arch/vsx-regs.exp: Likewise.
7081 * gdb.base/dump.exp: Likewise.
7082 * gdb.base/funcargs.exp: Likewise.
7083 * gdb.base/gnu_vector.exp: Likewise.
7084 * gdb.dwarf2/formdata16.exp: Likewise.
7085 * gdb.dwarf2/implptrpiece.exp: Likewise.
7086 * gdb.dwarf2/nonvar-access.exp: Likewise.
7087 * gdb.python/py-inferior.exp: Likewise.
7088 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
7090 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7093 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
7094 stack value pieces are taken from the LSB end.
7096 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7098 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
7099 variable at nonzero offset.
7101 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7103 * gdb.dwarf2/var-access.c: New file.
7104 * gdb.dwarf2/var-access.exp: New test.
7105 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
7107 2017-06-12 Tom Tromey <tom@tromey.com>
7109 * gdb.dwarf2/formdata16.exp: Add tests.
7111 2017-06-12 Tom Tromey <tom@tromey.com>
7113 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
7115 2017-06-12 Tom Tromey <tom@tromey.com>
7118 * gdb.reverse/i386-sse-reverse.exp: Update tests.
7119 * gdb.arch/vsx-regs.exp: Update tests.
7120 * gdb.arch/s390-vregs.exp (hex128): New proc.
7122 * gdb.arch/altivec-regs.exp: Update tests.
7124 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
7126 * gdb.base/startup-with-shell.c: New file.
7127 * gdb.base/startup-with-shell.exp: Likewise.
7129 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
7131 * gdb.server/non-existing-program.exp: Update regex in order to
7132 reflect the fact that gdbserver is now using fork_inferior (with a
7133 shell) to startup the inferior.
7135 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
7137 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
7138 support function calls from GDB.
7140 2017-05-21 Tom Tromey <tom@tromey.com>
7143 * gdb.rust/unsized.exp: New file.
7144 * gdb.rust/unsized.rs: New file.
7146 2017-05-19 Tom Tromey <tom@tromey.com>
7149 * gdb.rust/watch.exp: New file.
7150 * gdb.rust/watch.rs: New file.
7152 2017-05-18 Tom Tromey <tom@tromey.com>
7154 * gdb.rust/simple.exp: Allow Box to be qualified.
7156 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
7158 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
7160 2017-05-18 Pedro Alves <palves@redhat.com>
7162 * gdb.base/fileio.c (test_write, test_read, test_close)
7163 (test_fstat): Don't print 'ret' in the fail path.
7165 2017-05-18 Pedro Alves <palves@redhat.com>
7167 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
7168 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
7169 (test_system, test_rename, test_unlink, test_time): Change
7171 * gdb.base/fileio.exp (stop_msg): Adjust.
7173 2017-05-18 Pedro Alves <palves@redhat.com>
7175 * gdb.base/fileio.c (null_str): New global.
7176 (test_stat): Use it.
7177 * gdb.base/fileio.exp: Remove nowarnings.
7179 2017-05-17 Yao Qi <yao.qi@linaro.org>
7181 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
7183 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
7185 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
7187 (top-level): Invoke test_set_inferior_tty.
7189 2017-05-04 Pedro Alves <palves@redhat.com>
7191 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
7192 Add parens to print call for Python 3.
7194 2017-05-03 Keith Seitz <keiths@redhat.com>
7196 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
7199 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7201 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
7204 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7206 * gdb.python/py-record-btrace.exp: Remove test for
7207 gdb.BtraceInstruction.error.
7209 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7211 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
7213 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
7215 * gdb.python/py-record-btrace-threads.c: New file.
7216 * gdb.python/py-record-btrace-threads.exp: New file.
7218 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
7221 * gdb.base/environ.exp: Make test available in all architectures.
7222 Move bits related to "info program" testing to
7223 gdb.base/info-program.exp. Rewrite tests to use the two new
7224 procedures mentione below.
7225 (test_set_show_env_var) New procedure.
7226 (test_set_show_env_var_equal): Likewise.
7227 * gdb.base/info-program.exp: New file.
7229 2017-04-27 Keith Seitz <keiths@redhat.com>
7231 * gdb.cp/oranking.cc (test15): New function.
7232 (main): Call test15 and declare additional variables for testing.
7233 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
7234 "p foo101('abc')" tests.
7235 Add tests for cv qualifier overloads.
7236 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
7237 "lvalue reference overload" test.
7238 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
7239 "print value of f1 on Child&& in f2" test.
7241 2017-04-19 Pedro Alves <palves@redhat.com>
7243 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
7245 (top level): Call it.
7246 * lib/gdb.exp (gdb_define_cmd): New procedure.
7248 2017-04-12 Pedro Alves <palves@redhat.com>
7251 * gdb.cp/wide_char_types.c: Include <wchar.h>.
7252 (wchar): New global.
7253 * gdb.cp/wide_char_types.exp (wide_char_types_program)
7254 (do_test_wide_char, wide_char_types_no_program, top level): Add
7257 2017-04-12 Pedro Alves <palves@redhat.com>
7260 * gdb.cp/wide_char_types.c: New file.
7261 * gdb.cp/wide_char_types.exp: New file.
7263 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
7266 * gdb.trace/tsv.exp: Add test for "tsave -r".
7268 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
7270 * gdb.dlang/watch-loc.c: New file.
7271 * gdb.dlang/watch-loc.exp: New file.
7273 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7275 * gdb.python/py-section-script.exp (sepdebug): New testcases.
7277 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
7279 * gdb.arch/arc-analyze-prologue.S: New file.
7280 * gdb.arch/arc-analyze-prologue.exp: Likewise.
7282 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
7284 * gdb.arch/arc-decode-insn.S: New file.
7285 * gdb.arch/arc-decode-insn.exp: Likewise.
7287 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
7290 * gdb.arch/sparc64-regs.exp: New file.
7291 * gdb.arch/sparc64-regs.S: Likewise.
7293 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
7295 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
7296 and memory view on Python 3.
7298 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
7299 Keith Seitz <keiths@redhat.com>
7302 * gdb.cp/demangle.exp: Add rvalue reference tests.
7303 * gdb.cp/rvalue-ref-casts.cc: New file.
7304 * gdb.cp/rvalue-ref-casts.exp: New file.
7305 * gdb.cp/rvalue-ref-overload.cc: New file.
7306 * gdb.cp/rvalue-ref-overload.exp: New file.
7307 * gdb.cp/rvalue-ref-params.cc: New file.
7308 * gdb.cp/rvalue-ref-params.exp: New file.
7309 * gdb.cp/rvalue-ref-sizeof.cc: New file.
7310 * gdb.cp/rvalue-ref-sizeof.exp: New file.
7311 * gdb.cp/rvalue-ref-types.cc: New file.
7312 * gdb.cp/rvalue-ref-types.exp: New file.
7313 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
7314 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
7316 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7318 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
7321 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
7323 * lib/mi-support.exp (mi_gdb_test): Add additional message
7324 for unexpected output.
7326 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7328 * gdb.base/examine-backward.c (Barrier): New character array
7329 constant, to ensure that TestStrings is preceded by a string
7332 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7334 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
7335 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
7336 and implicit pointer into such a location.
7338 2017-03-16 Doug Evans <dje@google.com>
7340 * gdb.python/py-lazy-string (pointer): Really add new typedef.
7342 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
7344 * gdb.cp/m-static.exp: Fix expectation for prototype of
7345 test5.single_constructor and single_constructor::single_constructor.
7347 2017-03-16 Doug Evans <dje@google.com>
7349 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
7350 * gdb.guile/scm-lazy-string.c: New file.
7351 * gdb.guile/scm-value.exp: Move lazy string tests to ...
7352 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
7353 for pointer, array, typedef lazy strings.
7355 2017-03-16 Doug Evans <dje@google.com>
7357 PR python/17728, python/18439, python/18779
7358 * gdb.python/py-value.c (main) Delete locals sptr, sn.
7359 * gdb.python/py-lazy-string.c (pointer): New typedef.
7360 (main): New locals ptr, array, typedef_ptr.
7361 * gdb.python/py-value.exp: Move lazy string tests to ...
7362 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
7363 array, typedef lazy strings.
7365 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
7367 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
7368 Add optional 'test' parameter.
7370 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7372 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7373 Skip for versions of DejaGnu < 1.5.
7375 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7377 * lib/gdb.exp (dejagnu_version): New proc.
7378 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
7379 Use dejagnu_version.
7381 2017-03-10 Keith Seitz <keiths@redhat.com>
7384 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
7385 type from destructor regexps.
7386 Add a branch which actually passes the test.
7387 Adjust "ptype t5i" test names.
7389 2017-03-08 Pedro Alves <palves@redhat.com>
7391 * gdb.base/step-over-exit.exp: Add explicit test message.
7393 2017-03-08 Pedro Alves <palves@redhat.com>
7396 * gdb.threads/interrupt-while-step-over.c: New file.
7397 * gdb.threads/interrupt-while-step-over.exp: New file.
7399 2017-03-08 Pedro Alves <palves@redhat.com>
7401 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
7402 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
7404 2017-03-08 Pedro Alves <palves@redhat.com>
7406 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
7407 PKRU as not supported as a PASS.
7409 2017-03-08 Pedro Alves <palves@redhat.com>
7411 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
7412 prefix instead of $binfile1/$binfile2.
7413 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
7415 * gdb.python/py-completion.exp: Use "load python file" as test
7416 messages instead of unstable path names.
7418 2017-03-08 Pedro Alves <palves@redhat.com>
7419 Jan Kratochvil <jan.kratochvil@redhat.com>
7422 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
7424 (top level): Call it.
7426 2017-03-08 Pedro Alves <palves@redhat.com>
7429 * gdb.tui/tui-nl-filtered-output.exp: New file.
7431 2017-03-08 Pedro Alves <palves@redhat.com>
7433 * gdb.base/completion.exp: Move TUI completion tests to ...
7434 * gdb.tui/completion.exp: ... this new file.
7436 2017-03-08 Pedro Alves <palves@redhat.com>
7438 * gdb.base/tui-disasm-long-lines.c,
7439 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
7440 gdb.base/tui-layout.exp: Move to ...
7441 * gdb.tui/: ... this new directory.
7443 2017-03-07 Pedro Alves <palves@redhat.com>
7445 * gdb.base/tui-layout.c: New file.
7446 * gdb.base/tui-layout.exp: New file.
7448 2017-03-07 Pedro Alves <palves@redhat.com>
7450 * gdb.base/tui-layout.c: Rename to ...
7451 * gdb.base/tui-disasm-long-lines.c: ... this.
7452 * gdb.base/tui-layout.exp: Rename to ...
7453 * gdb.base/tui-disasm-long-lines.exp: ... this.
7455 2017-03-07 Pedro Alves <palves@redhat.com>
7457 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
7459 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
7461 * i386-mpx-call.c: New file.
7462 * i386-mpx-call.exp: New file.
7464 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
7466 * gdb.arch/powerpc-power.exp: Delete test.
7467 * gdb.arch/powerpc-power.s: Likewise.
7468 * gdb.disasm/disassembler-options.exp: New test.
7469 * gdb.arch/powerpc-altivec.exp: Likewise.
7470 * gdb.arch/powerpc-altivec.s: Likewise.
7471 * gdb.arch/powerpc-altivec2.exp: Likewise.
7472 * gdb.arch/powerpc-altivec2.s: Likewise.
7473 * gdb.arch/powerpc-altivec3.exp: Likewise.
7474 * gdb.arch/powerpc-altivec3.s: Likewise.
7475 * gdb.arch/powerpc-power7.exp: Likewise.
7476 * gdb.arch/powerpc-power7.s: Likewise.
7477 * gdb.arch/powerpc-power8.exp: Likewise.
7478 * gdb.arch/powerpc-power8.s: Likewise.
7479 * gdb.arch/powerpc-power9.exp: Likewise.
7480 * gdb.arch/powerpc-power9.s: Likewise.
7481 * gdb.arch/powerpc-vsx.exp: Likewise.
7482 * gdb.arch/powerpc-vsx.s: Likewise.
7483 * gdb.arch/powerpc-vsx2.exp: Likewise.
7484 * gdb.arch/powerpc-vsx2.s: Likewise.
7485 * gdb.arch/powerpc-vsx3.exp: Likewise.
7486 * gdb.arch/powerpc-vsx3.s: Likewise.
7487 * gdb.arch/arm-disassembler-options.exp: Likewise.
7488 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
7489 * gdb.arch/s390-disassembler-options.exp: Likewise.
7491 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
7493 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
7494 (check_supported_features): ... this. Changed return type to void.
7495 (supports_rdseed): New static global.
7496 (rdseed): Check supports_rdseed.
7497 (initialize): Call check_supported_features.
7499 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7501 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
7502 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
7504 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
7505 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
7507 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7509 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
7512 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7514 * gdb.dwarf2/formdata16.c: New file.
7515 * gdb.dwarf2/formdata16.exp: New file.
7516 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
7518 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7520 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
7521 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
7522 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
7523 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
7526 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7528 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
7530 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
7533 * gdb.base/maint.exp: Add testcases for when the commands do
7536 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
7538 * gdb.cp/chained-calls.exp: Use p instead of P.
7540 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
7542 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
7543 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
7545 2017-02-14 Tom Tromey <tom@tromey.com>
7548 * gdb.python/py-events.exp: Add before_prompt event tests.
7550 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7552 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
7554 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
7556 * gdb.linespec/explicit.c (my_unique_function_name): New function.
7557 (main): Call my_unique_function_name.
7558 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
7559 completion of patterns with a single match.
7560 Add missing -re switches to gdb_test_multiple calls.
7562 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
7564 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
7565 return if core file is not recognized.
7567 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7569 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
7572 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
7574 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
7577 2017-02-10 Tom Tromey <tom@tromey.com>
7579 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
7581 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
7584 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
7586 2017-02-08 Jerome Guitton <guitton@adacore.com>
7588 * gdb.base/define.exp: Add test for command abbreviations
7591 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
7593 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
7594 * gdb.reverse/insn-reverse-x86.c: New file.
7596 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
7599 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
7601 2017-02-03 Tom Tromey <tom@tromey.com>
7604 * gdb.rust/simple.exp: Add new tests.
7606 2017-02-02 Pedro Alves <palves@redhat.com>
7608 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
7611 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7613 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
7614 taking a 2-byte value out of a 4-byte DWARF implicit value on
7616 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
7617 logic. Add test cases for DW_OP_implicit.
7619 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7621 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
7623 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7625 * gdb.btrace/enable.exp: Call gdb_exit before
7626 skip_gdbserver_tests.
7628 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7630 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
7633 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7635 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
7636 the test is skipped.
7637 * gdb.btrace/data.exp: Likewise.
7638 * gdb.btrace/delta.exp: Likewise.
7639 * gdb.btrace/dlopen.exp: Likewise.
7640 * gdb.btrace/enable-running.exp: Likewise.
7641 * gdb.btrace/enable.exp: Likewise.
7642 * gdb.btrace/exception.exp: Likewise.
7643 * gdb.btrace/function_call_history.exp: Likewise.
7644 * gdb.btrace/gcore.exp: Likewise.
7645 * gdb.btrace/instruction_history.exp: Likewise.
7646 * gdb.btrace/multi-thread-step.exp: Likewise.
7647 * gdb.btrace/nohist.exp: Likewise.
7648 * gdb.btrace/non-stop.exp: Likewise.
7649 * gdb.btrace/reconnect.exp: Likewise.
7650 * gdb.btrace/record_goto-step.exp: Likewise.
7651 * gdb.btrace/record_goto.exp: Likewise.
7652 * gdb.btrace/rn-dl-bind.exp: Likewise.
7653 * gdb.btrace/segv.exp: Likewise.
7654 * gdb.btrace/step.exp: Likewise.
7655 * gdb.btrace/stepi.exp: Likewise.
7656 * gdb.btrace/tailcall-only.exp: Likewise.
7657 * gdb.btrace/tailcall.exp: Likewise.
7658 * gdb.btrace/tsx.exp: Likewise.
7659 * gdb.btrace/unknown_functions.exp: Likewise.
7660 * gdb.btrace/vdso.exp: Likewise.
7662 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
7664 * gdb.btrace/enable-running.c: New.
7665 * gdb.btrace/enable-running.exp: New.
7667 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
7669 * gdb.arch/amd64-gs_base.c: New file.
7670 * gdb.arch/amd64-gs_base.exp: New file.
7672 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
7674 * lib/memory.exp: Remove spurious empty newlines.
7676 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
7678 * gdb.python/py-bad-printers.exp: Load python file using "source".
7679 * gdb.python/py-events.exp: Likewise.
7680 * gdb.python/py-evsignal.exp: Likewise.
7681 * gdb.python/py-evthreads.exp: Likewise.
7682 * gdb.python/py-frame-args.exp: Likewise.
7683 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
7684 * gdb.python/py-framefilter-mi.exp: Likewise.
7685 * gdb.python/py-framefilter.exp: Likewise.
7686 * gdb.python/py-mi.exp: Likewise.
7687 * gdb.python/py-pp-maint.exp: Likewise.
7688 * gdb.python/py-pp-registration.exp: Likewise.
7689 * gdb.python/py-prettyprint.exp: Likewise.
7690 (run_lang_tests): Likewise.
7691 * gdb.python/py-typeprint.exp: Likewise.
7693 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
7695 * lib/memory.exp: New file.
7696 * lib/gdb.exp: Load memory.exp.
7697 * gdb.base/memattr.exp (delete_memory): Move proc to
7698 lib/memory.exp and rename to delete_memory_regions.
7699 Replace delete_memory with delete_memory_regions.
7700 Cleanup memory regions before tests.
7701 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
7704 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
7706 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
7708 (initialize): New function conditionally defined.
7709 (testcases): Move within conditional block.
7710 (main): Call initialize.
7711 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
7712 of gdb.reverse/insn-reverse.c.
7713 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
7714 gdb.reverse/insn-reverse.c.
7716 2017-01-26 Yao Qi <yao.qi@linaro.org>
7718 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
7719 disassemble on address 0.
7721 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
7722 Yao Qi <yao.qi@linaro.org>
7724 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
7725 * gdb.dwarf2/implptr-64bit.S: Remove.
7726 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
7727 variables in caller's context. Add DW_OP_implicit_value.
7729 2017-01-25 Yao Qi <yao.qi@linaro.org>
7731 * lib/dwarf.exp (Dwarf::_location): Handle
7732 DW_OP_GNU_implicit_pointer with proper size.
7734 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
7736 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
7737 and add untested calls.
7739 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
7741 * gdb.python/python.exp: Check line number against what GDB thinks
7742 the line number is for func1.
7744 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
7746 * gdb.dlang/debug-expr.exp: New file.
7748 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
7750 Fix test names for the following files:
7752 * gdb.ada/exec_changed.exp
7753 * gdb.ada/info_types.exp
7754 * gdb.arch/aarch64-atomic-inst.exp
7755 * gdb.arch/aarch64-fp.exp
7756 * gdb.arch/altivec-abi.exp
7757 * gdb.arch/altivec-regs.exp
7758 * gdb.arch/amd64-byte.exp
7759 * gdb.arch/amd64-disp-step.exp
7760 * gdb.arch/amd64-dword.exp
7761 * gdb.arch/amd64-entry-value-inline.exp
7762 * gdb.arch/amd64-entry-value-param.exp
7763 * gdb.arch/amd64-entry-value-paramref.exp
7764 * gdb.arch/amd64-entry-value.exp
7765 * gdb.arch/amd64-i386-address.exp
7766 * gdb.arch/amd64-invalid-stack-middle.exp
7767 * gdb.arch/amd64-invalid-stack-top.exp
7768 * gdb.arch/amd64-optimout-repeat.exp
7769 * gdb.arch/amd64-prologue-skip.exp
7770 * gdb.arch/amd64-prologue-xmm.exp
7771 * gdb.arch/amd64-stap-special-operands.exp
7772 * gdb.arch/amd64-stap-wrong-subexp.exp
7773 * gdb.arch/amd64-tailcall-cxx.exp
7774 * gdb.arch/amd64-tailcall-noret.exp
7775 * gdb.arch/amd64-tailcall-ret.exp
7776 * gdb.arch/amd64-tailcall-self.exp
7777 * gdb.arch/amd64-word.exp
7778 * gdb.arch/arm-bl-branch-dest.exp
7779 * gdb.arch/arm-disp-step.exp
7780 * gdb.arch/arm-neon.exp
7781 * gdb.arch/arm-single-step-kernel-helper.exp
7782 * gdb.arch/avr-flash-qualifier.exp
7783 * gdb.arch/disp-step-insn-reloc.exp
7784 * gdb.arch/e500-abi.exp
7785 * gdb.arch/e500-regs.exp
7786 * gdb.arch/ftrace-insn-reloc.exp
7787 * gdb.arch/i386-avx512.exp
7788 * gdb.arch/i386-bp_permanent.exp
7789 * gdb.arch/i386-byte.exp
7790 * gdb.arch/i386-cfi-notcurrent.exp
7791 * gdb.arch/i386-disp-step.exp
7792 * gdb.arch/i386-dr3-watch.exp
7793 * gdb.arch/i386-float.exp
7794 * gdb.arch/i386-gnu-cfi.exp
7795 * gdb.arch/i386-mpx-map.exp
7796 * gdb.arch/i386-mpx-sigsegv.exp
7797 * gdb.arch/i386-mpx-simple_segv.exp
7798 * gdb.arch/i386-mpx.exp
7799 * gdb.arch/i386-permbkpt.exp
7800 * gdb.arch/i386-prologue.exp
7801 * gdb.arch/i386-signal.exp
7802 * gdb.arch/i386-size-overlap.exp
7803 * gdb.arch/i386-unwind.exp
7804 * gdb.arch/i386-word.exp
7805 * gdb.arch/mips-fcr.exp
7806 * gdb.arch/powerpc-d128-regs.exp
7807 * gdb.arch/powerpc-stackless.exp
7808 * gdb.arch/ppc64-atomic-inst.exp
7809 * gdb.arch/s390-stackless.exp
7810 * gdb.arch/s390-tdbregs.exp
7811 * gdb.arch/s390-vregs.exp
7812 * gdb.arch/sparc-sysstep.exp
7813 * gdb.arch/thumb-bx-pc.exp
7814 * gdb.arch/thumb-singlestep.exp
7815 * gdb.arch/thumb2-it.exp
7816 * gdb.arch/vsx-regs.exp
7817 * gdb.asm/asm-source.exp
7818 * gdb.base/a2-run.exp
7819 * gdb.base/advance.exp
7820 * gdb.base/all-bin.exp
7823 * gdb.base/arithmet.exp
7824 * gdb.base/async-shell.exp
7825 * gdb.base/async.exp
7826 * gdb.base/attach-pie-noexec.exp
7827 * gdb.base/attach-twice.exp
7828 * gdb.base/auto-load.exp
7830 * gdb.base/bitfields.exp
7831 * gdb.base/break-always.exp
7832 * gdb.base/break-caller-line.exp
7833 * gdb.base/break-entry.exp
7834 * gdb.base/break-inline.exp
7835 * gdb.base/break-on-linker-gcd-function.exp
7836 * gdb.base/break-probes.exp
7837 * gdb.base/break.exp
7838 * gdb.base/breakpoint-shadow.exp
7839 * gdb.base/call-ar-st.exp
7840 * gdb.base/call-sc.exp
7841 * gdb.base/call-signal-resume.exp
7842 * gdb.base/call-strs.exp
7843 * gdb.base/callfuncs.exp
7844 * gdb.base/catch-fork-static.exp
7845 * gdb.base/catch-gdb-caused-signals.exp
7846 * gdb.base/catch-load.exp
7847 * gdb.base/catch-signal-fork.exp
7848 * gdb.base/catch-signal.exp
7849 * gdb.base/catch-syscall.exp
7850 * gdb.base/charset.exp
7851 * gdb.base/checkpoint.exp
7852 * gdb.base/chng-syms.exp
7853 * gdb.base/code-expr.exp
7854 * gdb.base/code_elim.exp
7855 * gdb.base/commands.exp
7856 * gdb.base/completion.exp
7857 * gdb.base/complex.exp
7858 * gdb.base/cond-expr.exp
7859 * gdb.base/condbreak.exp
7860 * gdb.base/consecutive.exp
7861 * gdb.base/continue-all-already-running.exp
7862 * gdb.base/coredump-filter.exp
7863 * gdb.base/corefile.exp
7865 * gdb.base/debug-expr.exp
7866 * gdb.base/define.exp
7868 * gdb.base/disabled-location.exp
7869 * gdb.base/disasm-end-cu.exp
7870 * gdb.base/disasm-optim.exp
7871 * gdb.base/display.exp
7872 * gdb.base/duplicate-bp.exp
7873 * gdb.base/ena-dis-br.exp
7874 * gdb.base/ending-run.exp
7875 * gdb.base/enumval.exp
7876 * gdb.base/environ.exp
7877 * gdb.base/eu-strip-infcall.exp
7878 * gdb.base/eval-avoid-side-effects.exp
7879 * gdb.base/eval-skip.exp
7880 * gdb.base/exitsignal.exp
7881 * gdb.base/expand-psymtabs.exp
7882 * gdb.base/filesym.exp
7883 * gdb.base/find-unmapped.exp
7884 * gdb.base/finish.exp
7885 * gdb.base/float.exp
7886 * gdb.base/foll-exec-mode.exp
7887 * gdb.base/foll-exec.exp
7888 * gdb.base/foll-fork.exp
7889 * gdb.base/fortran-sym-case.exp
7890 * gdb.base/freebpcmd.exp
7891 * gdb.base/func-ptr.exp
7892 * gdb.base/func-ptrs.exp
7893 * gdb.base/funcargs.exp
7894 * gdb.base/gcore-buffer-overflow.exp
7895 * gdb.base/gcore-relro-pie.exp
7896 * gdb.base/gcore-relro.exp
7897 * gdb.base/gcore.exp
7898 * gdb.base/gdb1090.exp
7899 * gdb.base/gdb11530.exp
7900 * gdb.base/gdb11531.exp
7901 * gdb.base/gdb1821.exp
7902 * gdb.base/gdbindex-stabs.exp
7903 * gdb.base/gdbvars.exp
7904 * gdb.base/hbreak.exp
7905 * gdb.base/hbreak2.exp
7906 * gdb.base/included.exp
7907 * gdb.base/infcall-input.exp
7908 * gdb.base/inferior-died.exp
7909 * gdb.base/infnan.exp
7910 * gdb.base/info-macros.exp
7911 * gdb.base/info-os.exp
7912 * gdb.base/info-proc.exp
7913 * gdb.base/info-shared.exp
7914 * gdb.base/info-target.exp
7915 * gdb.base/infoline.exp
7916 * gdb.base/interp.exp
7917 * gdb.base/interrupt.exp
7918 * gdb.base/jit-reader.exp
7919 * gdb.base/jit-simple.exp
7920 * gdb.base/kill-after-signal.exp
7921 * gdb.base/kill-detach-inferiors-cmd.exp
7922 * gdb.base/label.exp
7923 * gdb.base/langs.exp
7924 * gdb.base/ldbl_e308.exp
7925 * gdb.base/line-symtabs.exp
7926 * gdb.base/linespecs.exp
7928 * gdb.base/long_long.exp
7929 * gdb.base/longest-types.exp
7930 * gdb.base/maint.exp
7931 * gdb.base/max-value-size.exp
7932 * gdb.base/memattr.exp
7933 * gdb.base/mips_pro.exp
7934 * gdb.base/morestack.exp
7935 * gdb.base/moribund-step.exp
7936 * gdb.base/multi-forks.exp
7937 * gdb.base/nested-addr.exp
7938 * gdb.base/nextoverexit.exp
7939 * gdb.base/noreturn-finish.exp
7940 * gdb.base/noreturn-return.exp
7941 * gdb.base/nostdlib.exp
7942 * gdb.base/offsets.exp
7943 * gdb.base/opaque.exp
7944 * gdb.base/pc-fp.exp
7945 * gdb.base/permissions.exp
7946 * gdb.base/print-symbol-loading.exp
7947 * gdb.base/prologue-include.exp
7948 * gdb.base/psymtab.exp
7949 * gdb.base/ptype.exp
7950 * gdb.base/random-signal.exp
7951 * gdb.base/randomize.exp
7952 * gdb.base/range-stepping.exp
7953 * gdb.base/readline-ask.exp
7954 * gdb.base/recpar.exp
7955 * gdb.base/recurse.exp
7956 * gdb.base/relational.exp
7957 * gdb.base/restore.exp
7958 * gdb.base/return-nodebug.exp
7959 * gdb.base/return.exp
7960 * gdb.base/run-after-attach.exp
7961 * gdb.base/save-bp.exp
7962 * gdb.base/scope.exp
7963 * gdb.base/sect-cmd.exp
7964 * gdb.base/set-lang-auto.exp
7965 * gdb.base/set-noassign.exp
7966 * gdb.base/setvar.exp
7967 * gdb.base/sigall.exp
7968 * gdb.base/sigbpt.exp
7969 * gdb.base/siginfo-addr.exp
7970 * gdb.base/siginfo-infcall.exp
7971 * gdb.base/siginfo-obj.exp
7972 * gdb.base/siginfo.exp
7973 * gdb.base/signals-state-child.exp
7974 * gdb.base/signest.exp
7975 * gdb.base/sigstep.exp
7976 * gdb.base/sizeof.exp
7978 * gdb.base/solib-corrupted.exp
7979 * gdb.base/solib-nodir.exp
7980 * gdb.base/solib-search.exp
7981 * gdb.base/stack-checking.exp
7982 * gdb.base/stale-infcall.exp
7983 * gdb.base/stap-probe.exp
7984 * gdb.base/start.exp
7985 * gdb.base/step-break.exp
7986 * gdb.base/step-bt.exp
7987 * gdb.base/step-line.exp
7988 * gdb.base/step-over-exit.exp
7989 * gdb.base/step-over-syscall.exp
7990 * gdb.base/step-resume-infcall.exp
7991 * gdb.base/step-test.exp
7992 * gdb.base/store.exp
7993 * gdb.base/structs3.exp
7994 * gdb.base/sym-file.exp
7995 * gdb.base/symbol-without-target_section.exp
7997 * gdb.base/testenv.exp
7998 * gdb.base/ui-redirect.exp
7999 * gdb.base/until.exp
8000 * gdb.base/unwindonsignal.exp
8001 * gdb.base/value-double-free.exp
8002 * gdb.base/vla-datatypes.exp
8003 * gdb.base/vla-ptr.exp
8004 * gdb.base/vla-sideeffect.exp
8005 * gdb.base/volatile.exp
8006 * gdb.base/watch-cond-infcall.exp
8007 * gdb.base/watch-cond.exp
8008 * gdb.base/watch-non-mem.exp
8009 * gdb.base/watch-read.exp
8010 * gdb.base/watch-vfork.exp
8011 * gdb.base/watchpoint-cond-gone.exp
8012 * gdb.base/watchpoint-delete.exp
8013 * gdb.base/watchpoint-hw-hit-once.exp
8014 * gdb.base/watchpoint-hw.exp
8015 * gdb.base/watchpoint-stops-at-right-insn.exp
8016 * gdb.base/watchpoints.exp
8017 * gdb.base/wchar.exp
8018 * gdb.base/whatis-exp.exp
8019 * gdb.btrace/buffer-size.exp
8020 * gdb.btrace/data.exp
8021 * gdb.btrace/delta.exp
8022 * gdb.btrace/dlopen.exp
8023 * gdb.btrace/enable.exp
8024 * gdb.btrace/exception.exp
8025 * gdb.btrace/function_call_history.exp
8026 * gdb.btrace/gcore.exp
8027 * gdb.btrace/instruction_history.exp
8028 * gdb.btrace/nohist.exp
8029 * gdb.btrace/reconnect.exp
8030 * gdb.btrace/record_goto-step.exp
8031 * gdb.btrace/record_goto.exp
8032 * gdb.btrace/rn-dl-bind.exp
8033 * gdb.btrace/segv.exp
8034 * gdb.btrace/step.exp
8035 * gdb.btrace/stepi.exp
8036 * gdb.btrace/tailcall-only.exp
8037 * gdb.btrace/tailcall.exp
8038 * gdb.btrace/tsx.exp
8039 * gdb.btrace/unknown_functions.exp
8040 * gdb.btrace/vdso.exp
8041 * gdb.compile/compile-ifunc.exp
8042 * gdb.compile/compile-ops.exp
8043 * gdb.compile/compile-print.exp
8044 * gdb.compile/compile-setjmp.exp
8045 * gdb.cp/abstract-origin.exp
8046 * gdb.cp/ambiguous.exp
8047 * gdb.cp/annota2.exp
8048 * gdb.cp/annota3.exp
8049 * gdb.cp/anon-ns.exp
8050 * gdb.cp/anon-struct.exp
8051 * gdb.cp/anon-union.exp
8052 * gdb.cp/arg-reference.exp
8053 * gdb.cp/baseenum.exp
8055 * gdb.cp/breakpoint.exp
8056 * gdb.cp/bs15503.exp
8059 * gdb.cp/chained-calls.exp
8061 * gdb.cp/classes.exp
8062 * gdb.cp/cmpd-minsyms.exp
8063 * gdb.cp/converts.exp
8064 * gdb.cp/cp-relocate.exp
8065 * gdb.cp/cpcompletion.exp
8066 * gdb.cp/cpexprs.exp
8067 * gdb.cp/cplabel.exp
8068 * gdb.cp/cplusfuncs.exp
8069 * gdb.cp/cpsizeof.exp
8071 * gdb.cp/derivation.exp
8072 * gdb.cp/destrprint.exp
8073 * gdb.cp/dispcxx.exp
8074 * gdb.cp/enum-class.exp
8075 * gdb.cp/exception.exp
8076 * gdb.cp/exceptprint.exp
8077 * gdb.cp/expand-psymtabs-cxx.exp
8078 * gdb.cp/expand-sals.exp
8079 * gdb.cp/extern-c.exp
8080 * gdb.cp/filename.exp
8081 * gdb.cp/formatted-ref.exp
8082 * gdb.cp/fpointer.exp
8083 * gdb.cp/gdb1355.exp
8084 * gdb.cp/gdb2495.exp
8086 * gdb.cp/impl-this.exp
8087 * gdb.cp/infcall-dlopen.exp
8088 * gdb.cp/inherit.exp
8089 * gdb.cp/iostream.exp
8093 * gdb.cp/m-static.exp
8094 * gdb.cp/mb-ctor.exp
8095 * gdb.cp/mb-inline.exp
8096 * gdb.cp/mb-templates.exp
8097 * gdb.cp/member-name.exp
8098 * gdb.cp/member-ptr.exp
8099 * gdb.cp/meth-typedefs.exp
8101 * gdb.cp/method2.exp
8102 * gdb.cp/minsym-fallback.exp
8104 * gdb.cp/namelessclass.exp
8105 * gdb.cp/namespace-enum.exp
8106 * gdb.cp/namespace-nested-import.exp
8107 * gdb.cp/namespace.exp
8108 * gdb.cp/nextoverthrow.exp
8109 * gdb.cp/no-dmgl-verbose.exp
8110 * gdb.cp/non-trivial-retval.exp
8111 * gdb.cp/noparam.exp
8113 * gdb.cp/nsimport.exp
8114 * gdb.cp/nsnested.exp
8115 * gdb.cp/nsnoimports.exp
8116 * gdb.cp/nsrecurs.exp
8117 * gdb.cp/nsstress.exp
8118 * gdb.cp/nsusing.exp
8119 * gdb.cp/operator.exp
8120 * gdb.cp/oranking.exp
8121 * gdb.cp/overload-const.exp
8122 * gdb.cp/overload.exp
8123 * gdb.cp/ovldbreak.exp
8125 * gdb.cp/paren-type.exp
8126 * gdb.cp/parse-lang.exp
8127 * gdb.cp/pass-by-ref.exp
8128 * gdb.cp/pr-1023.exp
8129 * gdb.cp/pr-1210.exp
8131 * gdb.cp/pr10687.exp
8132 * gdb.cp/pr12028.exp
8133 * gdb.cp/pr17132.exp
8134 * gdb.cp/pr17494.exp
8138 * gdb.cp/printmethod.exp
8140 * gdb.cp/psymtab-parameter.exp
8141 * gdb.cp/ptype-cv-cp.exp
8142 * gdb.cp/ptype-flags.exp
8143 * gdb.cp/re-set-overloaded.exp
8144 * gdb.cp/ref-types.exp
8146 * gdb.cp/scope-err.exp
8149 * gdb.cp/static-method.exp
8150 * gdb.cp/static-print-quit.exp
8151 * gdb.cp/temargs.exp
8152 * gdb.cp/templates.exp
8153 * gdb.cp/try_catch.exp
8154 * gdb.cp/typedef-operator.exp
8156 * gdb.cp/userdef.exp
8157 * gdb.cp/using-crash.exp
8158 * gdb.cp/var-tag.exp
8159 * gdb.cp/virtbase.exp
8160 * gdb.cp/virtfunc.exp
8161 * gdb.cp/virtfunc2.exp
8162 * gdb.cp/vla-cxx.exp
8163 * gdb.disasm/t01_mov.exp
8164 * gdb.disasm/t02_mova.exp
8165 * gdb.disasm/t03_add.exp
8166 * gdb.disasm/t04_sub.exp
8167 * gdb.disasm/t05_cmp.exp
8168 * gdb.disasm/t06_ari2.exp
8169 * gdb.disasm/t07_ari3.exp
8170 * gdb.disasm/t08_or.exp
8171 * gdb.disasm/t09_xor.exp
8172 * gdb.disasm/t10_and.exp
8173 * gdb.disasm/t11_logs.exp
8174 * gdb.disasm/t12_bit.exp
8175 * gdb.disasm/t13_otr.exp
8176 * gdb.dlang/circular.exp
8177 * gdb.dwarf2/arr-stride.exp
8178 * gdb.dwarf2/arr-subrange.exp
8179 * gdb.dwarf2/atomic-type.exp
8180 * gdb.dwarf2/bad-regnum.exp
8181 * gdb.dwarf2/bitfield-parent-optimized-out.exp
8182 * gdb.dwarf2/callframecfa.exp
8183 * gdb.dwarf2/clztest.exp
8184 * gdb.dwarf2/corrupt.exp
8185 * gdb.dwarf2/data-loc.exp
8186 * gdb.dwarf2/dup-psym.exp
8187 * gdb.dwarf2/dw2-anon-mptr.exp
8188 * gdb.dwarf2/dw2-anonymous-func.exp
8189 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
8190 * gdb.dwarf2/dw2-bad-unresolved.exp
8191 * gdb.dwarf2/dw2-basic.exp
8192 * gdb.dwarf2/dw2-canonicalize-type.exp
8193 * gdb.dwarf2/dw2-case-insensitive.exp
8194 * gdb.dwarf2/dw2-common-block.exp
8195 * gdb.dwarf2/dw2-compdir-oldgcc.exp
8196 * gdb.dwarf2/dw2-compressed.exp
8197 * gdb.dwarf2/dw2-const.exp
8198 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
8199 * gdb.dwarf2/dw2-cu-size.exp
8200 * gdb.dwarf2/dw2-dup-frame.exp
8201 * gdb.dwarf2/dw2-entry-value.exp
8202 * gdb.dwarf2/dw2-icycle.exp
8203 * gdb.dwarf2/dw2-ifort-parameter.exp
8204 * gdb.dwarf2/dw2-inline-break.exp
8205 * gdb.dwarf2/dw2-inline-param.exp
8206 * gdb.dwarf2/dw2-intercu.exp
8207 * gdb.dwarf2/dw2-intermix.exp
8208 * gdb.dwarf2/dw2-lexical-block-bare.exp
8209 * gdb.dwarf2/dw2-linkage-name-trust.exp
8210 * gdb.dwarf2/dw2-minsym-in-cu.exp
8211 * gdb.dwarf2/dw2-noloc.exp
8212 * gdb.dwarf2/dw2-op-call.exp
8213 * gdb.dwarf2/dw2-op-out-param.exp
8214 * gdb.dwarf2/dw2-opt-structptr.exp
8215 * gdb.dwarf2/dw2-param-error.exp
8216 * gdb.dwarf2/dw2-producer.exp
8217 * gdb.dwarf2/dw2-ranges-base.exp
8218 * gdb.dwarf2/dw2-ref-missing-frame.exp
8219 * gdb.dwarf2/dw2-reg-undefined.exp
8220 * gdb.dwarf2/dw2-regno-invalid.exp
8221 * gdb.dwarf2/dw2-restore.exp
8222 * gdb.dwarf2/dw2-restrict.exp
8223 * gdb.dwarf2/dw2-single-line-discriminators.exp
8224 * gdb.dwarf2/dw2-strp.exp
8225 * gdb.dwarf2/dw2-undefined-ret-addr.exp
8226 * gdb.dwarf2/dw2-unresolved.exp
8227 * gdb.dwarf2/dw2-var-zero-addr.exp
8228 * gdb.dwarf2/dw4-sig-types.exp
8229 * gdb.dwarf2/dwz.exp
8230 * gdb.dwarf2/dynarr-ptr.exp
8231 * gdb.dwarf2/enum-type.exp
8232 * gdb.dwarf2/gdb-index.exp
8233 * gdb.dwarf2/implptr-64bit.exp
8234 * gdb.dwarf2/implptr-optimized-out.exp
8235 * gdb.dwarf2/implptr.exp
8236 * gdb.dwarf2/implref-array.exp
8237 * gdb.dwarf2/implref-const.exp
8238 * gdb.dwarf2/implref-global.exp
8239 * gdb.dwarf2/implref-struct.exp
8240 * gdb.dwarf2/mac-fileno.exp
8241 * gdb.dwarf2/main-subprogram.exp
8242 * gdb.dwarf2/member-ptr-forwardref.exp
8243 * gdb.dwarf2/method-ptr.exp
8244 * gdb.dwarf2/missing-sig-type.exp
8245 * gdb.dwarf2/nonvar-access.exp
8246 * gdb.dwarf2/opaque-type-lookup.exp
8247 * gdb.dwarf2/pieces-optimized-out.exp
8248 * gdb.dwarf2/pieces.exp
8249 * gdb.dwarf2/pr10770.exp
8250 * gdb.dwarf2/pr13961.exp
8251 * gdb.dwarf2/staticvirtual.exp
8252 * gdb.dwarf2/subrange.exp
8253 * gdb.dwarf2/symtab-producer.exp
8254 * gdb.dwarf2/trace-crash.exp
8255 * gdb.dwarf2/typeddwarf.exp
8256 * gdb.dwarf2/valop.exp
8257 * gdb.dwarf2/watch-notconst.exp
8258 * gdb.fortran/array-element.exp
8259 * gdb.fortran/charset.exp
8260 * gdb.fortran/common-block.exp
8261 * gdb.fortran/complex.exp
8262 * gdb.fortran/derived-type-function.exp
8263 * gdb.fortran/derived-type.exp
8264 * gdb.fortran/logical.exp
8265 * gdb.fortran/module.exp
8266 * gdb.fortran/multi-dim.exp
8267 * gdb.fortran/nested-funcs.exp
8268 * gdb.fortran/print-formatted.exp
8269 * gdb.fortran/subarray.exp
8270 * gdb.fortran/vla-alloc-assoc.exp
8271 * gdb.fortran/vla-datatypes.exp
8272 * gdb.fortran/vla-history.exp
8273 * gdb.fortran/vla-ptr-info.exp
8274 * gdb.fortran/vla-ptype-sub.exp
8275 * gdb.fortran/vla-ptype.exp
8276 * gdb.fortran/vla-sizeof.exp
8277 * gdb.fortran/vla-type.exp
8278 * gdb.fortran/vla-value-sub-arbitrary.exp
8279 * gdb.fortran/vla-value-sub-finish.exp
8280 * gdb.fortran/vla-value-sub.exp
8281 * gdb.fortran/vla-value.exp
8282 * gdb.fortran/whatis_type.exp
8284 * gdb.go/handcall.exp
8286 * gdb.go/integers.exp
8287 * gdb.go/methods.exp
8288 * gdb.go/package.exp
8289 * gdb.go/strings.exp
8292 * gdb.guile/scm-arch.exp
8293 * gdb.guile/scm-block.exp
8294 * gdb.guile/scm-breakpoint.exp
8295 * gdb.guile/scm-cmd.exp
8296 * gdb.guile/scm-disasm.exp
8297 * gdb.guile/scm-equal.exp
8298 * gdb.guile/scm-frame-args.exp
8299 * gdb.guile/scm-frame-inline.exp
8300 * gdb.guile/scm-frame.exp
8301 * gdb.guile/scm-iterator.exp
8302 * gdb.guile/scm-math.exp
8303 * gdb.guile/scm-objfile.exp
8304 * gdb.guile/scm-ports.exp
8305 * gdb.guile/scm-symbol.exp
8306 * gdb.guile/scm-symtab.exp
8307 * gdb.guile/scm-value-cc.exp
8308 * gdb.guile/types-module.exp
8309 * gdb.linespec/break-ask.exp
8310 * gdb.linespec/cpexplicit.exp
8311 * gdb.linespec/explicit.exp
8312 * gdb.linespec/keywords.exp
8313 * gdb.linespec/linespec.exp
8314 * gdb.linespec/ls-dollar.exp
8315 * gdb.linespec/ls-errs.exp
8316 * gdb.linespec/skip-two.exp
8317 * gdb.linespec/thread.exp
8318 * gdb.mi/mi-async.exp
8319 * gdb.mi/mi-basics.exp
8320 * gdb.mi/mi-break.exp
8321 * gdb.mi/mi-catch-load.exp
8323 * gdb.mi/mi-cmd-param-changed.exp
8324 * gdb.mi/mi-console.exp
8325 * gdb.mi/mi-detach.exp
8326 * gdb.mi/mi-disassemble.exp
8327 * gdb.mi/mi-eval.exp
8328 * gdb.mi/mi-file-transfer.exp
8329 * gdb.mi/mi-file.exp
8330 * gdb.mi/mi-fill-memory.exp
8331 * gdb.mi/mi-inheritance-syntax-error.exp
8332 * gdb.mi/mi-linespec-err-cp.exp
8333 * gdb.mi/mi-logging.exp
8334 * gdb.mi/mi-memory-changed.exp
8335 * gdb.mi/mi-read-memory.exp
8336 * gdb.mi/mi-record-changed.exp
8337 * gdb.mi/mi-reg-undefined.exp
8338 * gdb.mi/mi-regs.exp
8339 * gdb.mi/mi-return.exp
8340 * gdb.mi/mi-reverse.exp
8341 * gdb.mi/mi-simplerun.exp
8342 * gdb.mi/mi-solib.exp
8343 * gdb.mi/mi-stack.exp
8344 * gdb.mi/mi-stepi.exp
8345 * gdb.mi/mi-syn-frame.exp
8346 * gdb.mi/mi-until.exp
8347 * gdb.mi/mi-var-block.exp
8348 * gdb.mi/mi-var-child.exp
8349 * gdb.mi/mi-var-cmd.exp
8350 * gdb.mi/mi-var-cp.exp
8351 * gdb.mi/mi-var-display.exp
8352 * gdb.mi/mi-var-invalidate.exp
8353 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
8354 * gdb.mi/mi-vla-fortran.exp
8355 * gdb.mi/mi-watch.exp
8356 * gdb.mi/mi2-var-child.exp
8357 * gdb.mi/user-selected-context-sync.exp
8358 * gdb.modula2/unbounded-array.exp
8359 * gdb.multi/dummy-frame-restore.exp
8360 * gdb.multi/multi-arch-exec.exp
8361 * gdb.multi/multi-arch.exp
8362 * gdb.multi/tids.exp
8363 * gdb.multi/watchpoint-multi.exp
8364 * gdb.opencl/callfuncs.exp
8365 * gdb.opencl/convs_casts.exp
8366 * gdb.opencl/datatypes.exp
8367 * gdb.opencl/operators.exp
8368 * gdb.opencl/vec_comps.exp
8369 * gdb.opt/clobbered-registers-O2.exp
8370 * gdb.opt/inline-break.exp
8371 * gdb.opt/inline-bt.exp
8372 * gdb.opt/inline-cmds.exp
8373 * gdb.opt/inline-locals.exp
8374 * gdb.pascal/case-insensitive-symbols.exp
8375 * gdb.pascal/floats.exp
8376 * gdb.pascal/gdb11492.exp
8377 * gdb.python/lib-types.exp
8378 * gdb.python/py-arch.exp
8379 * gdb.python/py-as-string.exp
8380 * gdb.python/py-bad-printers.exp
8381 * gdb.python/py-block.exp
8382 * gdb.python/py-breakpoint-create-fail.exp
8383 * gdb.python/py-breakpoint.exp
8384 * gdb.python/py-caller-is.exp
8385 * gdb.python/py-cmd.exp
8386 * gdb.python/py-explore-cc.exp
8387 * gdb.python/py-explore.exp
8388 * gdb.python/py-finish-breakpoint.exp
8389 * gdb.python/py-finish-breakpoint2.exp
8390 * gdb.python/py-frame-args.exp
8391 * gdb.python/py-frame-inline.exp
8392 * gdb.python/py-frame.exp
8393 * gdb.python/py-framefilter-mi.exp
8394 * gdb.python/py-infthread.exp
8395 * gdb.python/py-lazy-string.exp
8396 * gdb.python/py-linetable.exp
8397 * gdb.python/py-mi-events.exp
8398 * gdb.python/py-mi-objfile.exp
8399 * gdb.python/py-mi.exp
8400 * gdb.python/py-objfile.exp
8401 * gdb.python/py-pp-integral.exp
8402 * gdb.python/py-pp-maint.exp
8403 * gdb.python/py-pp-re-notag.exp
8404 * gdb.python/py-pp-registration.exp
8405 * gdb.python/py-recurse-unwind.exp
8406 * gdb.python/py-strfns.exp
8407 * gdb.python/py-symbol.exp
8408 * gdb.python/py-symtab.exp
8409 * gdb.python/py-sync-interp.exp
8410 * gdb.python/py-typeprint.exp
8411 * gdb.python/py-unwind-maint.exp
8412 * gdb.python/py-unwind.exp
8413 * gdb.python/py-value-cc.exp
8414 * gdb.python/py-xmethods.exp
8415 * gdb.reverse/amd64-tailcall-reverse.exp
8416 * gdb.reverse/break-precsave.exp
8417 * gdb.reverse/break-reverse.exp
8418 * gdb.reverse/consecutive-precsave.exp
8419 * gdb.reverse/consecutive-reverse.exp
8420 * gdb.reverse/finish-precsave.exp
8421 * gdb.reverse/finish-reverse-bkpt.exp
8422 * gdb.reverse/finish-reverse.exp
8423 * gdb.reverse/fstatat-reverse.exp
8424 * gdb.reverse/getresuid-reverse.exp
8425 * gdb.reverse/i386-precsave.exp
8426 * gdb.reverse/i386-reverse.exp
8427 * gdb.reverse/i386-sse-reverse.exp
8428 * gdb.reverse/i387-env-reverse.exp
8429 * gdb.reverse/i387-stack-reverse.exp
8430 * gdb.reverse/insn-reverse.exp
8431 * gdb.reverse/machinestate-precsave.exp
8432 * gdb.reverse/machinestate.exp
8433 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8434 * gdb.reverse/pipe-reverse.exp
8435 * gdb.reverse/readv-reverse.exp
8436 * gdb.reverse/recvmsg-reverse.exp
8437 * gdb.reverse/rerun-prec.exp
8438 * gdb.reverse/s390-mvcle.exp
8439 * gdb.reverse/step-precsave.exp
8440 * gdb.reverse/step-reverse.exp
8441 * gdb.reverse/time-reverse.exp
8442 * gdb.reverse/until-precsave.exp
8443 * gdb.reverse/until-reverse.exp
8444 * gdb.reverse/waitpid-reverse.exp
8445 * gdb.reverse/watch-precsave.exp
8446 * gdb.reverse/watch-reverse.exp
8447 * gdb.rust/generics.exp
8448 * gdb.rust/methods.exp
8449 * gdb.rust/modules.exp
8450 * gdb.rust/simple.exp
8451 * gdb.server/connect-with-no-symbol-file.exp
8452 * gdb.server/ext-attach.exp
8453 * gdb.server/ext-restart.exp
8454 * gdb.server/ext-wrapper.exp
8455 * gdb.server/file-transfer.exp
8456 * gdb.server/server-exec-info.exp
8457 * gdb.server/server-kill.exp
8458 * gdb.server/server-mon.exp
8459 * gdb.server/wrapper.exp
8460 * gdb.stabs/exclfwd.exp
8461 * gdb.stabs/gdb11479.exp
8462 * gdb.threads/clone-new-thread-event.exp
8463 * gdb.threads/corethreads.exp
8464 * gdb.threads/current-lwp-dead.exp
8465 * gdb.threads/dlopen-libpthread.exp
8466 * gdb.threads/gcore-thread.exp
8467 * gdb.threads/sigstep-threads.exp
8468 * gdb.threads/watchpoint-fork.exp
8469 * gdb.trace/actions-changed.exp
8470 * gdb.trace/backtrace.exp
8471 * gdb.trace/change-loc.exp
8472 * gdb.trace/circ.exp
8473 * gdb.trace/collection.exp
8474 * gdb.trace/disconnected-tracing.exp
8475 * gdb.trace/ftrace.exp
8476 * gdb.trace/mi-trace-frame-collected.exp
8477 * gdb.trace/mi-trace-unavailable.exp
8478 * gdb.trace/mi-traceframe-changed.exp
8479 * gdb.trace/mi-tsv-changed.exp
8480 * gdb.trace/no-attach-trace.exp
8481 * gdb.trace/passc-dyn.exp
8482 * gdb.trace/qtro.exp
8483 * gdb.trace/range-stepping.exp
8484 * gdb.trace/read-memory.exp
8485 * gdb.trace/save-trace.exp
8486 * gdb.trace/signal.exp
8487 * gdb.trace/status-stop.exp
8488 * gdb.trace/tfile.exp
8489 * gdb.trace/trace-break.exp
8490 * gdb.trace/trace-buffer-size.exp
8491 * gdb.trace/trace-condition.exp
8492 * gdb.trace/tracefile-pseudo-reg.exp
8493 * gdb.trace/tstatus.exp
8494 * gdb.trace/unavailable.exp
8495 * gdb.trace/while-dyn.exp
8496 * gdb.trace/while-stepping.exp
8498 2016-12-22 Doug Evans <xdje42@gmail.com>
8500 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
8503 2016-12-19 Yao Qi <yao.qi@linaro.org>
8505 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
8506 (test_with_self): Don't call do_steps_and_nexts, and remove
8507 code about stepping into xmalloc.
8509 2016-12-09 Yao Qi <yao.qi@linaro.org>
8511 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
8513 2016-12-09 Yao Qi <yao.qi@linaro.org>
8515 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
8517 2016-12-09 Pedro Alves <palves@redhat.com>
8519 * gdb.base/all-architectures-0.exp: New file.
8520 * gdb.base/all-architectures-1.exp: New file.
8521 * gdb.base/all-architectures-2.exp: New file.
8522 * gdb.base/all-architectures-3.exp: New file.
8523 * gdb.base/all-architectures-4.exp: New file.
8524 * gdb.base/all-architectures-5.exp: New file.
8525 * gdb.base/all-architectures-6.exp: New file.
8526 * gdb.base/all-architectures-7.exp: New file.
8527 * gdb.base/all-architectures.exp.in: New file.
8529 2016-12-09 Yao Qi <yao.qi@linaro.org>
8531 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
8533 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
8535 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
8537 Remove useless pattern-matching code.
8539 2016-12-02 Pedro Alves <palves@redhat.com>
8541 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
8543 (top level): Call it.
8545 2016-12-02 Pedro Alves <palves@redhat.com>
8547 * gdb.base/commands.exp (user_defined_command_args_stack_test):
8549 (top level): Call it.
8551 2016-12-02 Pedro Alves <palves@redhat.com>
8554 * gdb.base/commands.exp (user_defined_command_args_eval): New
8556 (top level): Call it.
8558 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
8560 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
8563 2016-12-02 Tom Tromey <tom@tromey.com>
8565 * gdb.dwarf2/main-subprogram.c: New file.
8566 * gdb.dwarf2/main-subprogram.exp: New file.
8568 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8570 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
8571 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
8572 gdb_test_no_output for a couple of cases.
8573 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
8575 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8577 Fix test names and standardize compilation error messages throughout
8578 the following files:
8581 * gdb.arch/alpha-step.exp
8582 * gdb.arch/e500-prologue.exp
8583 * gdb.arch/ftrace-insn-reloc.exp
8584 * gdb.arch/gdb1291.exp
8585 * gdb.arch/gdb1431.exp
8586 * gdb.arch/gdb1558.exp
8587 * gdb.arch/i386-dr3-watch.exp
8588 * gdb.arch/i386-sse-stack-align.exp
8589 * gdb.arch/ia64-breakpoint-shadow.exp
8590 * gdb.arch/pa-nullify.exp
8591 * gdb.arch/powerpc-aix-prologue.exp
8592 * gdb.arch/thumb-bx-pc.exp
8593 * gdb.base/annota1.exp
8594 * gdb.base/annota3.exp
8595 * gdb.base/arrayidx.exp
8596 * gdb.base/assign.exp
8597 * gdb.base/attach.exp
8600 * gdb.base/bfp-test.exp
8601 * gdb.base/bigcore.exp
8602 * gdb.base/bitfields2.exp
8603 * gdb.base/break-fun-addr.exp
8604 * gdb.base/break-probes.exp
8605 * gdb.base/call-rt-st.exp
8606 * gdb.base/callexit.exp
8607 * gdb.base/catch-fork-kill.exp
8608 * gdb.base/charset.exp
8609 * gdb.base/checkpoint.exp
8610 * gdb.base/comprdebug.exp
8611 * gdb.base/constvars.exp
8612 * gdb.base/coredump-filter.exp
8613 * gdb.base/cursal.exp
8614 * gdb.base/cvexpr.exp
8615 * gdb.base/detach.exp
8616 * gdb.base/display.exp
8617 * gdb.base/dmsym.exp
8618 * gdb.base/dprintf-pending.exp
8619 * gdb.base/dso2dso.exp
8620 * gdb.base/dtrace-probe.exp
8622 * gdb.base/enum_cond.exp
8623 * gdb.base/exe-lock.exp
8624 * gdb.base/exec-invalid-sysroot.exp
8625 * gdb.base/execl-update-breakpoints.exp
8626 * gdb.base/exprs.exp
8627 * gdb.base/fileio.exp
8629 * gdb.base/finish.exp
8630 * gdb.base/fixsection.exp
8631 * gdb.base/foll-vfork.exp
8632 * gdb.base/frame-args.exp
8633 * gdb.base/gcore.exp
8634 * gdb.base/gdb1250.exp
8635 * gdb.base/global-var-nested-by-dso.exp
8636 * gdb.base/gnu-ifunc.exp
8637 * gdb.base/hashline1.exp
8638 * gdb.base/hashline2.exp
8639 * gdb.base/hashline3.exp
8640 * gdb.base/hbreak-in-shr-unsupported.exp
8642 * gdb.base/infcall-input.exp
8643 * gdb.base/info-fun.exp
8644 * gdb.base/info-shared.exp
8645 * gdb.base/jit-simple.exp
8646 * gdb.base/jit-so.exp
8649 * gdb.base/label.exp
8650 * gdb.base/lineinc.exp
8651 * gdb.base/logical.exp
8652 * gdb.base/longjmp.exp
8653 * gdb.base/macscp.exp
8654 * gdb.base/miscexprs.exp
8655 * gdb.base/new-ui-echo.exp
8656 * gdb.base/new-ui-pending-input.exp
8657 * gdb.base/new-ui.exp
8658 * gdb.base/nodebug.exp
8659 * gdb.base/nofield.exp
8660 * gdb.base/offsets.exp
8661 * gdb.base/overlays.exp
8662 * gdb.base/pending.exp
8663 * gdb.base/pointers.exp
8664 * gdb.base/pr11022.exp
8665 * gdb.base/printcmds.exp
8666 * gdb.base/prologue.exp
8667 * gdb.base/ptr-typedef.exp
8668 * gdb.base/realname-expand.exp
8669 * gdb.base/relativedebug.exp
8670 * gdb.base/relocate.exp
8671 * gdb.base/remote.exp
8672 * gdb.base/reread.exp
8673 * gdb.base/return2.exp
8674 * gdb.base/savedregs.exp
8676 * gdb.base/sepdebug.exp
8677 * gdb.base/sepsymtab.exp
8678 * gdb.base/set-inferior-tty.exp
8679 * gdb.base/setshow.exp
8680 * gdb.base/shlib-call.exp
8681 * gdb.base/sigaltstack.exp
8682 * gdb.base/siginfo-addr.exp
8683 * gdb.base/signals.exp
8684 * gdb.base/signull.exp
8685 * gdb.base/sigrepeat.exp
8686 * gdb.base/so-impl-ld.exp
8687 * gdb.base/solib-display.exp
8688 * gdb.base/solib-overlap.exp
8689 * gdb.base/solib-search.exp
8690 * gdb.base/solib-symbol.exp
8691 * gdb.base/structs.exp
8692 * gdb.base/structs2.exp
8693 * gdb.base/symtab-search-order.exp
8694 * gdb.base/twice.exp
8695 * gdb.base/unload.exp
8696 * gdb.base/varargs.exp
8697 * gdb.base/watchpoint-solib.exp
8698 * gdb.base/watchpoint.exp
8699 * gdb.base/whatis.exp
8700 * gdb.base/wrong_frame_bt_full.exp
8701 * gdb.btrace/dlopen.exp
8702 * gdb.cell/ea-standalone.exp
8703 * gdb.cell/ea-test.exp
8704 * gdb.cp/dispcxx.exp
8705 * gdb.cp/gdb2384.exp
8706 * gdb.cp/method2.exp
8707 * gdb.cp/nextoverthrow.exp
8708 * gdb.cp/pr10728.exp
8709 * gdb.disasm/am33.exp
8710 * gdb.disasm/h8300s.exp
8711 * gdb.disasm/mn10300.exp
8712 * gdb.disasm/sh3.exp
8713 * gdb.dwarf2/dw2-dir-file-name.exp
8714 * gdb.fortran/complex.exp
8715 * gdb.fortran/library-module.exp
8716 * gdb.guile/scm-pretty-print.exp
8717 * gdb.guile/scm-symbol.exp
8718 * gdb.guile/scm-type.exp
8719 * gdb.guile/scm-value.exp
8720 * gdb.linespec/linespec.exp
8723 * gdb.mi/mi-breakpoint-changed.exp
8724 * gdb.mi/mi-dprintf-pending.exp
8725 * gdb.mi/mi-dprintf.exp
8726 * gdb.mi/mi-exit-code.exp
8727 * gdb.mi/mi-pending.exp
8728 * gdb.mi/mi-solib.exp
8729 * gdb.mi/new-ui-mi-sync.exp
8730 * gdb.mi/pr11022.exp
8731 * gdb.mi/user-selected-context-sync.exp
8732 * gdb.opt/solib-intra-step.exp
8733 * gdb.python/py-events.exp
8734 * gdb.python/py-finish-breakpoint.exp
8735 * gdb.python/py-mi.exp
8736 * gdb.python/py-prettyprint.exp
8737 * gdb.python/py-shared.exp
8738 * gdb.python/py-symbol.exp
8739 * gdb.python/py-template.exp
8740 * gdb.python/py-type.exp
8741 * gdb.python/py-value.exp
8742 * gdb.reverse/solib-precsave.exp
8743 * gdb.reverse/solib-reverse.exp
8744 * gdb.server/solib-list.exp
8745 * gdb.stabs/weird.exp
8746 * gdb.threads/reconnect-signal.exp
8747 * gdb.threads/stepi-random-signal.exp
8748 * gdb.trace/actions.exp
8750 * gdb.trace/backtrace.exp
8751 * gdb.trace/change-loc.exp
8752 * gdb.trace/deltrace.exp
8753 * gdb.trace/ftrace-lock.exp
8754 * gdb.trace/ftrace.exp
8755 * gdb.trace/infotrace.exp
8756 * gdb.trace/mi-tracepoint-changed.exp
8757 * gdb.trace/packetlen.exp
8758 * gdb.trace/passcount.exp
8759 * gdb.trace/pending.exp
8760 * gdb.trace/range-stepping.exp
8761 * gdb.trace/report.exp
8762 * gdb.trace/stap-trace.exp
8763 * gdb.trace/tfind.exp
8764 * gdb.trace/trace-break.exp
8765 * gdb.trace/trace-condition.exp
8766 * gdb.trace/trace-enable-disable.exp
8767 * gdb.trace/trace-mt.exp
8768 * gdb.trace/tracecmd.exp
8769 * gdb.trace/tspeed.exp
8773 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8775 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
8776 with gdb_test_no_output.
8777 Use command as test name.
8779 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8781 Fix test names starting with uppercase throughout the files.
8783 * gdb.ada/assign_1.exp
8784 * gdb.ada/boolean_expr.exp
8785 * gdb.base/arrayidx.exp
8787 * gdb.base/gcore-buffer-overflow.exp
8788 * gdb.base/testenv.exp
8789 * gdb.compile/compile.exp
8790 * gdb.python/py-framefilter-invalidarg.exp
8791 * gdb.python/py-framefilter.exp
8793 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8795 Fix test names starting with uppercase throughout the files.
8797 * gdb.ada/array_return.exp
8798 * gdb.ada/expr_delims.exp
8799 * gdb.ada/mi_dyn_arr.exp
8800 * gdb.ada/mi_interface.exp
8801 * gdb.ada/mi_var_array.exp
8802 * gdb.ada/watch_arg.exp
8803 * gdb.arch/alpha-step.exp
8804 * gdb.arch/altivec-regs.exp
8805 * gdb.arch/e500-regs.exp
8806 * gdb.arch/powerpc-d128-regs.exp
8807 * gdb.base/arrayidx.exp
8808 * gdb.base/break.exp
8809 * gdb.base/checkpoint.exp
8810 * gdb.base/debug-expr.exp
8811 * gdb.base/dmsym.exp
8812 * gdb.base/radix.exp
8813 * gdb.base/sepdebug.exp
8814 * gdb.base/testenv.exp
8815 * gdb.base/watch_thread_num.exp
8816 * gdb.base/watchpoint-cond-gone.exp
8817 * gdb.cell/break.exp
8818 * gdb.cell/ea-cache.exp
8819 * gdb.compile/compile.exp
8820 * gdb.cp/gdb2495.exp
8821 * gdb.gdb/selftest.exp
8822 * gdb.gdb/xfullpath.exp
8824 * gdb.go/integers.exp
8825 * gdb.objc/basicclass.exp
8826 * gdb.pascal/hello.exp
8827 * gdb.pascal/integers.exp
8828 * gdb.python/py-breakpoint.exp
8829 * gdb.python/py-cmd.exp
8830 * gdb.python/py-linetable.exp
8831 * gdb.python/py-xmethods.exp
8832 * gdb.python/python.exp
8833 * gdb.reverse/consecutive-precsave.exp
8834 * gdb.reverse/finish-precsave.exp
8835 * gdb.reverse/i386-precsave.exp
8836 * gdb.reverse/machinestate-precsave.exp
8837 * gdb.reverse/sigall-precsave.exp
8838 * gdb.reverse/solib-precsave.exp
8839 * gdb.reverse/step-precsave.exp
8840 * gdb.reverse/until-precsave.exp
8841 * gdb.reverse/watch-precsave.exp
8842 * gdb.threads/leader-exit.exp
8843 * gdb.threads/pthreads.exp
8844 * gdb.threads/wp-replication.exp
8845 * gdb.trace/actions.exp
8846 * gdb.trace/mi-tsv-changed.exp
8849 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8851 Fix test names starting with uppercase throughout the files.
8853 * gdb.arch/i386-bp_permanent.exp
8854 * gdb.arch/i386-gnu-cfi.exp
8855 * gdb.base/disasm-end-cu.exp
8856 * gdb.base/macscp.exp
8857 * gdb.base/pending.exp
8858 * gdb.base/watch_thread_num.exp
8859 * gdb.cp/exception.exp
8860 * gdb.cp/gdb2495.exp
8862 * gdb.python/py-evsignal.exp
8863 * gdb.python/python.exp
8864 * gdb.trace/tracecmd.exp
8866 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8868 Fix test names starting with uppercase throughout the files.
8870 * gdb.base/charset.exp
8872 * gdb.base/multi-forks.exp
8873 * gdb.guile/scm-progspace.exp
8874 * gdb.opencl/datatypes.exp
8875 * gdb.python/py-block.exp
8876 * gdb.python/py-function.exp
8877 * gdb.python/py-symbol.exp
8878 * gdb.python/py-symtab.exp
8879 * gdb.python/py-xmethods.exp
8880 * gdb.reverse/break-precsave.exp
8881 * gdb.reverse/break-reverse.exp
8882 * gdb.reverse/consecutive-precsave.exp
8883 * gdb.reverse/consecutive-reverse.exp
8884 * gdb.reverse/finish-precsave.exp
8885 * gdb.reverse/finish-reverse-bkpt.exp
8886 * gdb.reverse/finish-reverse.exp
8887 * gdb.reverse/fstatat-reverse.exp
8888 * gdb.reverse/getresuid-reverse.exp
8889 * gdb.reverse/i386-precsave.exp
8890 * gdb.reverse/i386-reverse.exp
8891 * gdb.reverse/i386-sse-reverse.exp
8892 * gdb.reverse/i387-stack-reverse.exp
8893 * gdb.reverse/insn-reverse.exp
8894 * gdb.reverse/machinestate-precsave.exp
8895 * gdb.reverse/machinestate.exp
8896 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8897 * gdb.reverse/pipe-reverse.exp
8898 * gdb.reverse/readv-reverse.exp
8899 * gdb.reverse/recvmsg-reverse.exp
8900 * gdb.reverse/rerun-prec.exp
8901 * gdb.reverse/s390-mvcle.exp
8902 * gdb.reverse/sigall-precsave.exp
8903 * gdb.reverse/sigall-reverse.exp
8904 * gdb.reverse/solib-precsave.exp
8905 * gdb.reverse/solib-reverse.exp
8906 * gdb.reverse/step-precsave.exp
8907 * gdb.reverse/step-reverse.exp
8908 * gdb.reverse/time-reverse.exp
8909 * gdb.reverse/until-precsave.exp
8910 * gdb.reverse/until-reverse.exp
8911 * gdb.reverse/waitpid-reverse.exp
8912 * gdb.reverse/watch-precsave.exp
8913 * gdb.reverse/watch-reverse.exp
8915 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8917 Fix test names starting with uppercase throughout the files.
8919 * gdb.arch/i386-mpx-simple_segv.exp
8920 * gdb.arch/i386-mpx.exp
8921 * gdb.arch/i386-permbkpt.exp
8922 * gdb.arch/pa-nullify.exp
8923 * gdb.arch/powerpc-d128-regs.exp
8924 * gdb.arch/vsx-regs.exp
8925 * gdb.base/bfp-test.exp
8926 * gdb.base/break.exp
8927 * gdb.base/breakpoint-shadow.exp
8928 * gdb.base/callfuncs.exp
8929 * gdb.base/charset.exp
8930 * gdb.base/commands.exp
8931 * gdb.base/completion.exp
8932 * gdb.base/dfp-test.exp
8934 * gdb.base/ending-run.exp
8936 * gdb.base/expand-psymtabs.exp
8937 * gdb.base/float128.exp
8938 * gdb.base/floatn.exp
8939 * gdb.base/foll-exec-mode.exp
8940 * gdb.base/gdb1056.exp
8941 * gdb.base/gdb11531.exp
8942 * gdb.base/kill-after-signal.exp
8943 * gdb.base/multi-forks.exp
8944 * gdb.base/overlays.exp
8945 * gdb.base/pending.exp
8946 * gdb.base/sepdebug.exp
8947 * gdb.base/testenv.exp
8948 * gdb.base/valgrind-db-attach.exp
8949 * gdb.base/watch_thread_num.exp
8950 * gdb.base/watchpoint-cond-gone.exp
8951 * gdb.base/watchpoint.exp
8952 * gdb.base/watchpoints.exp
8953 * gdb.cp/arg-reference.exp
8954 * gdb.cp/baseenum.exp
8955 * gdb.cp/operator.exp
8957 * gdb.dwarf2/dw2-op-out-param.exp
8958 * gdb.dwarf2/dw2-reg-undefined.exp
8961 * gdb.go/integers.exp
8962 * gdb.go/methods.exp
8963 * gdb.go/package.exp
8964 * gdb.guile/scm-parameter.exp
8965 * gdb.guile/scm-progspace.exp
8966 * gdb.guile/scm-value.exp
8967 * gdb.mi/mi-pending.exp
8968 * gdb.mi/user-selected-context-sync.exp
8969 * gdb.multi/multi-attach.exp
8970 * gdb.multi/tids.exp
8971 * gdb.opt/clobbered-registers-O2.exp
8972 * gdb.pascal/floats.exp
8973 * gdb.pascal/integers.exp
8974 * gdb.python/py-block.exp
8975 * gdb.python/py-events.exp
8976 * gdb.python/py-parameter.exp
8977 * gdb.python/py-symbol.exp
8978 * gdb.python/py-symtab.exp
8979 * gdb.python/py-type.exp
8980 * gdb.python/py-value.exp
8981 * gdb.python/py-xmethods.exp
8982 * gdb.python/python.exp
8983 * gdb.reverse/break-precsave.exp
8984 * gdb.reverse/consecutive-precsave.exp
8985 * gdb.reverse/finish-precsave.exp
8986 * gdb.reverse/i386-precsave.exp
8987 * gdb.reverse/machinestate-precsave.exp
8988 * gdb.reverse/sigall-precsave.exp
8989 * gdb.reverse/solib-precsave.exp
8990 * gdb.reverse/step-precsave.exp
8991 * gdb.reverse/until-precsave.exp
8992 * gdb.reverse/watch-precsave.exp
8993 * gdb.server/ext-attach.exp
8994 * gdb.server/ext-restart.exp
8995 * gdb.server/ext-run.exp
8996 * gdb.server/ext-wrapper.exp
8997 * gdb.stabs/gdb11479.exp
8998 * gdb.stabs/weird.exp
8999 * gdb.threads/attach-many-short-lived-threads.exp
9000 * gdb.threads/kill.exp
9001 * gdb.threads/watchpoint-fork.exp
9003 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9005 Fix test names starting with uppercase throughout all the files below.
9007 * gdb.ada/array_return.exp
9008 * gdb.ada/catch_ex.exp
9009 * gdb.ada/info_exc.exp
9010 * gdb.ada/mi_catch_ex.exp
9011 * gdb.ada/mi_dyn_arr.exp
9012 * gdb.ada/mi_ex_cond.exp
9013 * gdb.ada/mi_exc_info.exp
9014 * gdb.ada/mi_interface.exp
9015 * gdb.ada/mi_task_arg.exp
9016 * gdb.ada/mi_task_info.exp
9017 * gdb.ada/mi_var_array.exp
9018 * gdb.arch/alpha-step.exp
9019 * gdb.arch/amd64-disp-step.exp
9020 * gdb.arch/arm-disp-step.exp
9021 * gdb.arch/disp-step-insn-reloc.exp
9022 * gdb.arch/e500-prologue.exp
9023 * gdb.arch/ftrace-insn-reloc.exp
9024 * gdb.arch/gdb1558.exp
9025 * gdb.arch/i386-bp_permanent.exp
9026 * gdb.arch/i386-disp-step.exp
9027 * gdb.arch/i386-float.exp
9028 * gdb.arch/i386-gnu-cfi.exp
9029 * gdb.arch/ia64-breakpoint-shadow.exp
9030 * gdb.arch/mips16-thunks.exp
9031 * gdb.arch/pa-nullify.exp
9032 * gdb.arch/powerpc-aix-prologue.exp
9033 * gdb.arch/powerpc-power.exp
9034 * gdb.arch/ppc-dfp.exp
9035 * gdb.arch/s390-tdbregs.exp
9036 * gdb.arch/spu-info.exp
9037 * gdb.arch/spu-ls.exp
9038 * gdb.arch/thumb-bx-pc.exp
9039 * gdb.base/advance.exp
9040 * gdb.base/annota-input-while-running.exp
9041 * gdb.base/arrayidx.exp
9042 * gdb.base/asmlabel.exp
9043 * gdb.base/async.exp
9044 * gdb.base/attach-wait-input.exp
9045 * gdb.base/auto-connect-native-target.exp
9046 * gdb.base/batch-preserve-term-settings.exp
9047 * gdb.base/bfp-test.exp
9048 * gdb.base/bigcore.exp
9049 * gdb.base/bp-permanent.exp
9050 * gdb.base/break-always.exp
9051 * gdb.base/break-fun-addr.exp
9052 * gdb.base/break-idempotent.exp
9053 * gdb.base/break-main-file-remove-fail.exp
9054 * gdb.base/break-probes.exp
9055 * gdb.base/break-unload-file.exp
9056 * gdb.base/break.exp
9057 * gdb.base/call-ar-st.exp
9058 * gdb.base/call-rt-st.exp
9059 * gdb.base/call-sc.exp
9060 * gdb.base/call-signal-resume.exp
9061 * gdb.base/call-strs.exp
9062 * gdb.base/callexit.exp
9063 * gdb.base/callfuncs.exp
9064 * gdb.base/catch-gdb-caused-signals.exp
9065 * gdb.base/catch-signal-siginfo-cond.exp
9066 * gdb.base/catch-syscall.exp
9067 * gdb.base/compare-sections.exp
9068 * gdb.base/cond-eval-mode.exp
9069 * gdb.base/condbreak-call-false.exp
9070 * gdb.base/consecutive-step-over.exp
9071 * gdb.base/cursal.exp
9072 * gdb.base/disabled-location.exp
9073 * gdb.base/disasm-end-cu.exp
9074 * gdb.base/display.exp
9075 * gdb.base/double-prompt-target-event-error.exp
9076 * gdb.base/dprintf-bp-same-addr.exp
9077 * gdb.base/dprintf-detach.exp
9078 * gdb.base/dprintf-next.exp
9079 * gdb.base/dprintf-non-stop.exp
9080 * gdb.base/dprintf-pending.exp
9081 * gdb.base/dso2dso.exp
9082 * gdb.base/ending-run.exp
9083 * gdb.base/enum_cond.exp
9084 * gdb.base/examine-backward.exp
9085 * gdb.base/exe-lock.exp
9086 * gdb.base/exec-invalid-sysroot.exp
9087 * gdb.base/execl-update-breakpoints.exp
9088 * gdb.base/execution-termios.exp
9089 * gdb.base/fileio.exp
9090 * gdb.base/fixsection.exp
9091 * gdb.base/foll-exec-mode.exp
9092 * gdb.base/foll-exec.exp
9093 * gdb.base/fork-running-state.exp
9094 * gdb.base/frame-args.exp
9095 * gdb.base/fullpath-expand.exp
9096 * gdb.base/func-ptr.exp
9097 * gdb.base/gcore-relro-pie.exp
9098 * gdb.base/gdb1090.exp
9099 * gdb.base/gdb1555.exp
9100 * gdb.base/global-var-nested-by-dso.exp
9101 * gdb.base/gnu-ifunc.exp
9102 * gdb.base/hbreak-in-shr-unsupported.exp
9103 * gdb.base/hbreak-unmapped.exp
9104 * gdb.base/hook-stop.exp
9105 * gdb.base/infcall-input.exp
9106 * gdb.base/info-fun.exp
9107 * gdb.base/info-shared.exp
9108 * gdb.base/interrupt-noterm.exp
9109 * gdb.base/jit-so.exp
9111 * gdb.base/line-symtabs.exp
9113 * gdb.base/longjmp.exp
9114 * gdb.base/macscp.exp
9115 * gdb.base/max-value-size.exp
9116 * gdb.base/nodebug.exp
9117 * gdb.base/nofield.exp
9118 * gdb.base/overlays.exp
9119 * gdb.base/paginate-after-ctrl-c-running.exp
9120 * gdb.base/paginate-bg-execution.exp
9121 * gdb.base/paginate-inferior-exit.exp
9122 * gdb.base/pending.exp
9123 * gdb.base/pr11022.exp
9124 * gdb.base/printcmds.exp
9125 * gdb.base/ptr-typedef.exp
9126 * gdb.base/ptype.exp
9127 * gdb.base/randomize.exp
9128 * gdb.base/range-stepping.exp
9129 * gdb.base/realname-expand.exp
9130 * gdb.base/relativedebug.exp
9131 * gdb.base/remote.exp
9132 * gdb.base/savedregs.exp
9133 * gdb.base/sepdebug.exp
9134 * gdb.base/set-noassign.exp
9135 * gdb.base/shlib-call.exp
9136 * gdb.base/shreloc.exp
9137 * gdb.base/sigaltstack.exp
9138 * gdb.base/sigbpt.exp
9139 * gdb.base/siginfo-addr.exp
9140 * gdb.base/siginfo-obj.exp
9141 * gdb.base/siginfo-thread.exp
9142 * gdb.base/signest.exp
9143 * gdb.base/signull.exp
9144 * gdb.base/sigrepeat.exp
9146 * gdb.base/so-impl-ld.exp
9147 * gdb.base/solib-corrupted.exp
9148 * gdb.base/solib-disc.exp
9149 * gdb.base/solib-display.exp
9150 * gdb.base/solib-overlap.exp
9151 * gdb.base/solib-search.exp
9152 * gdb.base/solib-symbol.exp
9153 * gdb.base/source-execution.exp
9154 * gdb.base/sss-bp-on-user-bp-2.exp
9155 * gdb.base/sss-bp-on-user-bp.exp
9156 * gdb.base/stack-checking.exp
9157 * gdb.base/stale-infcall.exp
9158 * gdb.base/step-break.exp
9159 * gdb.base/step-line.exp
9160 * gdb.base/step-over-exit.exp
9161 * gdb.base/step-test.exp
9162 * gdb.base/structs.exp
9163 * gdb.base/sym-file.exp
9164 * gdb.base/symtab-search-order.exp
9166 * gdb.base/type-opaque.exp
9167 * gdb.base/unload.exp
9168 * gdb.base/until-nodebug.exp
9169 * gdb.base/until.exp
9170 * gdb.base/unwindonsignal.exp
9171 * gdb.base/watch-cond.exp
9172 * gdb.base/watch-non-mem.exp
9173 * gdb.base/watch_thread_num.exp
9174 * gdb.base/watchpoint-reuse-slot.exp
9175 * gdb.base/watchpoint-solib.exp
9176 * gdb.base/watchpoint.exp
9177 * gdb.btrace/dlopen.exp
9179 * gdb.cell/break.exp
9183 * gdb.cell/dwarfaddr.exp
9184 * gdb.cell/ea-cache.exp
9185 * gdb.cell/ea-standalone.exp
9186 * gdb.cell/ea-test.exp
9187 * gdb.cell/f-regs.exp
9189 * gdb.cell/gcore.exp
9190 * gdb.cell/mem-access.exp
9191 * gdb.cell/ptype.exp
9192 * gdb.cell/registers.exp
9193 * gdb.cell/sizeof.exp
9194 * gdb.cell/solib-symbol.exp
9195 * gdb.cell/solib.exp
9196 * gdb.compile/compile-tls.exp
9197 * gdb.cp/exception.exp
9198 * gdb.cp/gdb2495.exp
9200 * gdb.cp/mb-inline.exp
9201 * gdb.cp/mb-templates.exp
9202 * gdb.cp/pr10687.exp
9204 * gdb.cp/scope-err.exp
9205 * gdb.cp/templates.exp
9206 * gdb.cp/virtfunc.exp
9207 * gdb.dwarf2/dw2-dir-file-name.exp
9208 * gdb.dwarf2/dw2-single-line-discriminators.exp
9209 * gdb.fortran/complex.exp
9210 * gdb.fortran/library-module.exp
9211 * gdb.guile/guile.exp
9212 * gdb.guile/scm-cmd.exp
9213 * gdb.guile/scm-frame-inline.exp
9214 * gdb.guile/scm-objfile.exp
9215 * gdb.guile/scm-pretty-print.exp
9216 * gdb.guile/scm-symbol.exp
9217 * gdb.guile/scm-type.exp
9218 * gdb.guile/scm-value.exp
9219 * gdb.linespec/keywords.exp
9220 * gdb.linespec/ls-errs.exp
9221 * gdb.linespec/macro-relative.exp
9222 * gdb.linespec/thread.exp
9223 * gdb.mi/mi-breakpoint-changed.exp
9224 * gdb.mi/mi-dprintf-pending.exp
9225 * gdb.mi/mi-fullname-deleted.exp
9226 * gdb.mi/mi-logging.exp
9227 * gdb.mi/mi-pending.exp
9228 * gdb.mi/mi-solib.exp
9229 * gdb.mi/new-ui-mi-sync.exp
9230 * gdb.mi/user-selected-context-sync.exp
9231 * gdb.multi/dummy-frame-restore.exp
9232 * gdb.multi/multi-arch-exec.exp
9233 * gdb.multi/remove-inferiors.exp
9234 * gdb.multi/watchpoint-multi-exit.exp
9235 * gdb.opt/solib-intra-step.exp
9236 * gdb.perf/backtrace.exp
9237 * gdb.perf/single-step.exp
9238 * gdb.perf/skip-command.exp
9239 * gdb.perf/skip-prologue.exp
9240 * gdb.perf/solib.exp
9241 * gdb.python/lib-types.exp
9242 * gdb.python/py-as-string.exp
9243 * gdb.python/py-bad-printers.exp
9244 * gdb.python/py-block.exp
9245 * gdb.python/py-breakpoint.exp
9246 * gdb.python/py-cmd.exp
9247 * gdb.python/py-events.exp
9248 * gdb.python/py-evthreads.exp
9249 * gdb.python/py-finish-breakpoint.exp
9250 * gdb.python/py-finish-breakpoint2.exp
9251 * gdb.python/py-frame-inline.exp
9252 * gdb.python/py-frame.exp
9253 * gdb.python/py-inferior.exp
9254 * gdb.python/py-infthread.exp
9255 * gdb.python/py-mi.exp
9256 * gdb.python/py-objfile.exp
9257 * gdb.python/py-pp-maint.exp
9258 * gdb.python/py-pp-registration.exp
9259 * gdb.python/py-prettyprint.exp
9260 * gdb.python/py-recurse-unwind.exp
9261 * gdb.python/py-shared.exp
9262 * gdb.python/py-symbol.exp
9263 * gdb.python/py-symtab.exp
9264 * gdb.python/py-template.exp
9265 * gdb.python/py-type.exp
9266 * gdb.python/py-unwind-maint.exp
9267 * gdb.python/py-unwind.exp
9268 * gdb.python/py-value.exp
9269 * gdb.python/python.exp
9270 * gdb.reverse/finish-reverse-bkpt.exp
9271 * gdb.reverse/insn-reverse.exp
9272 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9273 * gdb.reverse/solib-precsave.exp
9274 * gdb.reverse/solib-reverse.exp
9275 * gdb.stabs/gdb11479.exp
9276 * gdb.stabs/weird.exp
9277 * gdb.threads/fork-child-threads.exp
9278 * gdb.threads/fork-plus-threads.exp
9279 * gdb.threads/fork-thread-pending.exp
9280 * gdb.threads/forking-threads-plus-breakpoint.exp
9281 * gdb.threads/hand-call-in-threads.exp
9282 * gdb.threads/interrupted-hand-call.exp
9283 * gdb.threads/linux-dp.exp
9284 * gdb.threads/local-watch-wrong-thread.exp
9285 * gdb.threads/next-while-other-thread-longjmps.exp
9286 * gdb.threads/non-ldr-exit.exp
9287 * gdb.threads/pending-step.exp
9288 * gdb.threads/print-threads.exp
9289 * gdb.threads/process-dies-while-detaching.exp
9290 * gdb.threads/process-dies-while-handling-bp.exp
9291 * gdb.threads/pthreads.exp
9292 * gdb.threads/queue-signal.exp
9293 * gdb.threads/reconnect-signal.exp
9294 * gdb.threads/signal-command-handle-nopass.exp
9295 * gdb.threads/signal-command-multiple-signals-pending.exp
9296 * gdb.threads/signal-delivered-right-thread.exp
9297 * gdb.threads/signal-sigtrap.exp
9298 * gdb.threads/sigthread.exp
9299 * gdb.threads/staticthreads.exp
9300 * gdb.threads/stepi-random-signal.exp
9301 * gdb.threads/thread-unwindonsignal.exp
9302 * gdb.threads/thread_check.exp
9303 * gdb.threads/thread_events.exp
9304 * gdb.threads/tid-reuse.exp
9305 * gdb.threads/tls-nodebug.exp
9306 * gdb.threads/tls-shared.exp
9307 * gdb.threads/tls-so_extern.exp
9308 * gdb.threads/tls.exp
9309 * gdb.threads/wp-replication.exp
9310 * gdb.trace/actions-changed.exp
9311 * gdb.trace/actions.exp
9312 * gdb.trace/backtrace.exp
9313 * gdb.trace/change-loc.exp
9314 * gdb.trace/collection.exp
9315 * gdb.trace/deltrace.exp
9316 * gdb.trace/disconnected-tracing.exp
9317 * gdb.trace/entry-values.exp
9318 * gdb.trace/ftrace-lock.exp
9319 * gdb.trace/ftrace.exp
9320 * gdb.trace/infotrace.exp
9321 * gdb.trace/mi-trace-frame-collected.exp
9322 * gdb.trace/mi-trace-unavailable.exp
9323 * gdb.trace/mi-traceframe-changed.exp
9324 * gdb.trace/mi-tracepoint-changed.exp
9325 * gdb.trace/mi-tsv-changed.exp
9326 * gdb.trace/no-attach-trace.exp
9327 * gdb.trace/packetlen.exp
9328 * gdb.trace/passc-dyn.exp
9329 * gdb.trace/passcount.exp
9330 * gdb.trace/pending.exp
9331 * gdb.trace/pr16508.exp
9332 * gdb.trace/qtro.exp
9333 * gdb.trace/range-stepping.exp
9334 * gdb.trace/read-memory.exp
9335 * gdb.trace/report.exp
9336 * gdb.trace/save-trace.exp
9337 * gdb.trace/signal.exp
9338 * gdb.trace/stap-trace.exp
9339 * gdb.trace/status-stop.exp
9340 * gdb.trace/strace.exp
9341 * gdb.trace/tfile.exp
9342 * gdb.trace/tfind.exp
9343 * gdb.trace/trace-break.exp
9344 * gdb.trace/trace-condition.exp
9345 * gdb.trace/trace-enable-disable.exp
9346 * gdb.trace/trace-mt.exp
9347 * gdb.trace/tracecmd.exp
9348 * gdb.trace/tracefile-pseudo-reg.exp
9349 * gdb.trace/tspeed.exp
9350 * gdb.trace/tstatus.exp
9352 * gdb.trace/unavailable.exp
9353 * gdb.trace/while-dyn.exp
9354 * gdb.trace/while-stepping.exp
9357 * lib/mi-support.exp
9360 * lib/prelink-support.exp
9361 * lib/selftest-support.exp
9363 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
9365 * Makefile.in: Include disable-implicit-rules.mk.
9367 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9369 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
9370 non-byte-aligned bit fields.
9372 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9375 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
9376 respects the DW_AT_data_bit_offset attribute.
9378 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
9380 * gdb.base/default.exp: Fix output of "set language".
9382 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
9384 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
9385 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
9387 * configure.ac: Remove checks for the make program.
9388 * configure: Re-generate.
9390 2016-11-16 Kevin Buettner <kevinb@redhat.com>
9392 * gdb.python/py-recurse-unwind.c (main): Add loop.
9393 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
9394 to read_register() and gdb.parse_and_eval(). Make each code
9395 call a separate case that can be individually tested.
9396 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
9397 proc. Call cont_and_backtrace for each of the code paths that
9398 we want to test in the unwinder.
9400 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
9402 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
9403 the definition of struct S.
9405 2016-11-11 Catherine Moore <clm@codesourcery.com>
9407 * gdb.base/dump.exp: Identify verilog format dump tests as such.
9409 2016-11-09 Pedro Alves <palves@redhat.com>
9411 * gdb.base/commands.exp (runto_or_return): New procedure.
9412 (gdbvar_simple_if_test, gdbvar_simple_while_test)
9413 (gdbvar_complex_if_while_test, progvar_simple_if_test)
9414 (progvar_simple_while_test, progvar_complex_if_while_test)
9415 (if_while_breakpoint_command_test)
9416 (infrun_breakpoint_command_test, breakpoint_command_test)
9417 (user_defined_command_test, watchpoint_command_test)
9418 (test_command_prompt_position, redefine_hook_test)
9419 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
9420 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
9421 multi_line_input and multi_line. Remove gdb_expect and
9422 gdb_stop_suppressing_tests uses.
9423 * lib/gdb.exp (valnum_re): New global.
9424 (multi_line_input): New procedure.
9426 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
9428 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
9430 (test_setup): Define with proc_with_prefix.
9431 (test_cli_inferior): Likewise.
9432 (test_cli_thread): Likewise.
9433 (test_cli_frame): Likewise.
9434 (test_cli_select_frame): Likewise.
9435 (test_cli_up_down): Likewise.
9436 (test_mi_thread_select): Likewise.
9437 (test_mi_stack_select_frame): Likewise.
9438 (test_cli_in_mi_inferior): Likewise.
9439 (test_cli_in_mi_thread): Likewise.
9440 (test_cli_in_mi_frame): Likewise.
9441 (top level): Do not use with_test_prefix_procname.
9443 2016-11-09 Pedro Alves <palves@redhat.com>
9445 * gdb.base/commands.exp (gdbvar_simple_if_test)
9446 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
9447 (progvar_simple_if_test, progvar_simple_while_test)
9448 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
9449 (infrun_breakpoint_command_test, breakpoint_command_test)
9450 (user_defined_command_test, watchpoint_command_test)
9451 (test_command_prompt_position, deprecated_command_test)
9452 (bp_deleted_in_command, temporary_breakpoint_commands)
9453 (stray_arg0_test, source_file_with_indented_comment)
9454 (recursive_source_test, if_commands_test)
9455 (error_clears_commands_left, redefine_hook_test)
9456 (redefine_backtrace_test): Use proc_with_prefix.
9457 * lib/gdb.exp (proc_with_prefix): New proc.
9459 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9461 * gdb.base/tui-layout.c: New file.
9462 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
9463 disassembly window contains very long lines.
9465 2016-11-08 Tom Tromey <tom@tromey.com>
9467 * gdb.python/py-value.exp (test_value_creation): Make "long" test
9470 2016-11-08 Tom Tromey <tom@tromey.com>
9472 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
9475 2016-10-29 Manish Goregaokar <manish@mozilla.com>
9477 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
9479 2016-10-27 Manish Goregaokar <manish@mozilla.com>
9481 * gdb.rust/simple.rs: Add test for univariant enums without
9482 discriminants and for encoded struct-like enums.
9484 2016-10-28 Pedro Alves <palves@redhat.com>
9486 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
9487 gdb_test_multiple, tighten regexps and match symtabs and line
9488 tables incrementally.
9490 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
9492 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
9495 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
9497 * gdb.base/exec-invalid-sysroot.exp: New file.
9499 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9501 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
9503 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9505 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
9507 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
9509 * gdb.base/killed-outside.exp: Remove $options from a call to
9510 `prepare_for_testing'.
9512 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9514 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9515 Change test message.
9517 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9519 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
9522 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
9524 * gdb.trace/mi-trace-save.exp: New file.
9526 2016-10-13 Yao Qi <yao.qi@linaro.org>
9528 * gdb.base/code_elim.exp (get_var_address): Remove.
9529 * gdb.base/relocate.exp: Likewise.
9530 * gdb.base/shreloc.exp: Likewise.
9531 * lib/gdb.exp (get_var_address): New.
9533 2016-10-13 Yao Qi <yao.qi@linaro.org>
9535 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
9536 floating point tests if $skip_float_test is false.
9538 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
9540 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
9541 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
9543 Add 1 to argc so we guarantee distinct initial/modified argc values.
9545 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9547 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
9549 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9551 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
9552 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
9553 * gdb.arch/vsx-regs.exp: Likewise.
9555 2016-10-07 Yao Qi <yao.qi@linaro.org>
9557 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
9559 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
9561 * gdb.python/python.exp: Test decode_line("*0").
9563 2016-10-06 Doug Evans <dje@google.com>
9565 * gdb.python/py-value.exp (test_value_creation): Add test for large
9566 unsigned 64-bit value.
9568 2016-10-06 Tom Tromey <tom@tromey.com>
9570 * gdb.compile/compile.exp: Change java tests to rust.
9571 * gdb.base/setshow.exp: Change java tests to rust.
9572 * gdb.base/default.exp: Remove java from language list.
9573 * README (Examples): Update language example.
9574 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
9576 * lib/gdb.exp (skip_java_tests): Remove.
9577 * lib/java.exp: Remove.
9580 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9582 * gdb.arch/mips-fcr.exp: New test.
9583 * gdb.arch/mips-fcr.c: Source for the new test.
9585 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
9587 * gdb.base/solib-disc.exp: Use `standard_output_file'
9590 2016-10-06 Pedro Alves <palves@redhat.com>
9592 * gdb.base/jit-simple-dl.c: New file.
9593 * gdb.base/jit-simple-jit.c: New file, factored out from ...
9594 * gdb.base/jit-simple.c: ... this.
9595 * gdb.base/jit-simple.exp (jit_run): Delete.
9596 (build_jit): New proc.
9597 (jit_test_reread): Recompile either the main program or the shared
9598 library, depending on what is being tested. Skip changing address
9599 if caller wants to. Compare before/after addresses. If testing
9600 standalone, explicitly load the binary. Test "maint info
9602 (top level): Add "standalone vs shared lib" and "change address"
9603 vs "same address" axes.
9605 2016-10-06 Pedro Alves <palves@redhat.com>
9607 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
9610 (jit_test_reread): Use with_test_prefix. Reload the main binary
9611 explicitly. Compare the before/after addresses of the JIT
9614 2016-08-15 Doug Evans <dje@google.com>
9616 * gdb.xml/extra-regs.xml: Update, end field now required, default type
9617 for single bitfields is bool.
9618 * gdb.xml/tdesc-regs.exp: Ditto.
9620 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9622 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
9624 2016-10-05 Yao Qi <yao.qi@linaro.org>
9626 * lib/gdb.exp (support_complex_tests): Return zero if
9627 gdb_skip_float_test return true.
9629 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
9630 Simon Marchi <simon.marchi@ericsson.com>
9633 * gdb.mi/user-selected-context-sync.exp: New file.
9634 * gdb.mi/user-selected-context-sync.c: New file.
9636 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
9637 Simon Marchi <simon.marchi@ericsson.com>
9640 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
9641 =thread-select-event check.
9643 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
9645 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
9646 the compulsory L operand changes.
9647 * gdb.arch/powerpc-power.s: Likewise.
9649 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9651 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
9652 * gdb.base/jit-attach-pie.c: New file.
9653 * gdb.base/jit-attach-pie.exp: New file.
9655 2016-09-28 Pedro Alves <palves@redhat.com>
9657 * gdb.base/infcall-input.c: New file.
9658 * gdb.base/infcall-input.exp: New file.
9660 2016-09-22 Yao Qi <yao.qi@linaro.org>
9662 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
9663 (gdb_exit): Rename it to ...
9664 (gdbserver_gdb_exit): ... Close GDBserver.
9665 (gdb_exit): New proc, call gdbserver_gdb_exit.
9666 (mi_gdb_exit): Likewise.
9668 2016-09-22 Yao Qi <yao.qi@linaro.org>
9670 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
9672 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
9675 2016-09-22 Yao Qi <yao.qi@linaro.org>
9677 * lib/gdbserver-support.exp: Check the existence of
9678 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
9680 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
9682 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
9684 2016-09-21 Tom Tromey <tom@tromey.com>
9687 * gdb.base/quit.exp: New file.
9689 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
9691 * .gitignore: New file.
9693 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
9695 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
9698 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9700 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
9702 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9704 * gdb.cp/casts.cc (decltype): Move it ...
9705 (main): ... with its call to ...
9706 * gdb.cp/casts03.cc: ... a new file.
9707 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
9709 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9711 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
9713 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
9715 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
9716 and sync up the test with tests in gas/testsuite/gas/ppc.
9717 * gdb.arch/powerpc-power.exp: Likewise.
9719 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9721 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
9723 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
9724 Jan Kratochvil <jan.kratochvil@redhat.com>
9726 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
9727 make m1's definition to be different from m2's. Use 'dummy' as an
9728 argument for probe 'two'.
9730 2016-09-10 Jon Beniston <jon@beniston.com>
9732 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
9735 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
9737 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
9738 variable declaration.
9739 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
9740 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
9741 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
9742 received HWCAP as its argument.
9744 2016-09-06 Pedro Alves <palves@redhat.com>
9746 * gdb.base/new-ui-pending-input.c: New file.
9747 * gdb.base/new-ui-pending-input.exp: New file.
9748 * gdb.exp (clear_gdb_spawn_id): New procedure.
9749 (with_spawn_id): Check whether gdb_spawn_id exists before
9750 referencing it. If gdb_spawn_id didn't exist on entry, clear it
9753 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9755 * gdb.base/float128.c: New file.
9756 * gdb.base/float128.exp: Likewise.
9757 * gdb.base/floatn.c: Likewise.
9758 * gdb.base/floatn.exp: Likewise.
9760 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
9762 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
9764 2016-09-05 Pedro Alves <palves@redhat.com>
9767 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
9768 unwinders are immediately called as side effect of "source" or
9769 "disable unwinder" commands.
9770 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
9772 2016-09-02 Yao Qi <yao.qi@linaro.org>
9774 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
9775 is true and $type is "float" or "double".
9777 2016-09-02 Yao Qi <yao.qi@linaro.org>
9779 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
9781 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
9782 * gdb.base/call-rt-st.exp: Likewise.
9783 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
9784 return value instead of gdb,skip_float_test.
9785 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
9786 (do_function_calls): Use its return value instead of
9787 gdb,skip_float_test.
9788 * gdb.base/finish.exp: Likewise.
9789 * gdb.base/funcargs.exp: Likewise.
9790 * gdb.base/return.exp: Likewise.
9791 * gdb.base/return2.exp: Likewise.
9792 * gdb.base/varargs.exp: Likewise.
9793 * lib/gdb.exp (gdb_skip_float_test): Change it to
9794 gdb_caching_proc. Detect the broken ptrace on arm-linux.
9796 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9798 * gdb.multi/tids.exp: Test "thread apply all".
9800 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9802 * gdb.base/default.exp (tty): Remove.
9804 2016-08-24 Kevin Buettner <kevinb@redhat.com>
9806 * gdb.python/py-recurse-unwind.c: New file.
9807 * gdb.python/py-recurse-unwind.py: New file.
9808 * gdb.python/py-recurse-unwind.exp: New file.
9810 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
9812 * gdb.base/set-inferior-tty.exp: New file.
9813 * gdb.base/set-inferior-tty.c: New file.
9815 2016-08-23 Pedro Alves <palves@redhat.com>
9818 * gdb.base/new-ui-echo.c: New file.
9819 * gdb.base/new-ui-echo.exp: New file.
9821 2016-08-23 Yao Qi <yao.qi@linaro.org>
9823 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
9825 * gdb.server/connect-without-multi-process.exp (do_test):
9828 2016-08-23 Yao Qi <yao.qi@linaro.org>
9830 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
9831 standalone_txt. Delete gdb_txt and standalone_txt on host
9832 and target. Spawn the binary on target. Copy files from
9835 2016-08-22 Pedro Alves <palves@redhat.com>
9838 * gdb.base/vdso-warning.exp: Test core dumps too. Use
9839 with_test_prefix. Factor out bits to ...
9840 (test_no_vdso): ... this new procedure.
9842 2016-08-19 Carl Love <cel@us.ibm.com>
9844 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
9845 maintaining separate logic for constructing the output path.
9846 * gdb.arch/powerpc-d128-regs.exp: Likewise.
9847 * gdb.arch/ppc-dfp.exp: Likewise.
9848 * gdb.arch/ppc-fp.exp: Likewise.
9849 * gdb.arch/vsx-regs.exp: Likewise.
9850 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
9851 binprefix for generating the additional binary files.
9853 2016-08-19 Pedro Alves <palves@redhat.com>
9855 * gdb.trace/mi-trace-frame-collected.exp
9856 (test_trace_frame_collected): On x32, expect two registers.
9858 2016-08-18 Carl Love <cel@us.ibm.com>
9860 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
9861 and sync up the test with tests in gas/testsuite/gas/ppc.
9862 * gdb.arch/powerpc-power.exp: Likewise.
9864 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9866 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
9867 expected error message.
9869 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9871 * gdb.multi/remove-inferiors.exp: New file.
9872 * gdb.multi/remove-inferiors.c: New file.
9874 2016-08-12 Yao Qi <yao.qi@linaro.org>
9876 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
9879 2016-08-10 Pedro Alves <palves@redhat.com>
9882 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
9885 2016-08-09 Pedro Alves <palves@redhat.com>
9886 Simon Marchi <simon.marchi@ericsson.com>
9889 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
9890 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
9892 2016-08-09 Pedro Alves <palves@redhat.com>
9895 * gdb.mi/mi-cmd-error.exp: New file.
9897 2016-08-09 Pedro Alves <palves@redhat.com>
9900 * gdb.base/signals-state-child.c: New file.
9901 * gdb.base/signals-state-child.exp: New file.
9902 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
9904 2016-08-09 Pedro Alves <palves@redhat.com>
9906 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
9908 2016-08-03 Tom Tromey <tom@tromey.com>
9911 * gdb.python/py-frame-inline.exp: Add Frame.function test.
9913 2016-08-01 Yao Qi <yao.qi@linaro.org>
9915 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
9916 variable mode to "multi-process" if $multi_process is 1, otherwise
9917 set it to "single-process".
9919 2016-08-01 Yao Qi <yao.qi@linaro.org>
9921 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
9922 * gdb.cp/cpexprs.exp: Likewise.
9923 * gdb.cp/m-static.exp: Likewise.
9925 2016-07-26 Tom Tromey <tom@tromey.com>
9928 * gdb.threads/tls.exp (check_thread_local): Add python symbol
9931 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
9933 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
9934 selecting assembly source files.
9935 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
9936 assembly source files.
9937 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
9938 assembly source files.
9939 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
9940 selecting assembly source files.
9942 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
9944 * gdb.base/new-ui.exp (do_test_invalid_args): New
9947 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
9949 * gdb.btrace/reconnect.c: New file.
9950 * gdb.btrace/reconnect.exp: New file.
9952 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
9954 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
9955 to test_catch_syscall_group.
9956 (test_catch_syscall_group): New.
9958 2016-07-21 Tom Tromey <tom@tromey.com>
9960 * gdb.rust/simple.rs (main): Use empty struct expression.
9961 * gdb.rust/simple.exp: Add tests for empty struct expression.
9963 2016-07-21 Yao Qi <yao.qi@linaro.org>
9965 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
9966 if gdb_skip_xml_test is true on some targets.
9968 2016-07-21 Yao Qi <yao.qi@linaro.org>
9970 * gdb.server/solib-list.exp: Unset last_loaded_file.
9972 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9974 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
9975 "step into captured_main (args)".
9977 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9979 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
9981 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9983 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
9985 2016-07-19 Pedro Alves <palves@redhat.com>
9987 * gdb.opt/inline-break.exp: Remove optimize=-O2.
9988 * gdb.opt/inline-bt.exp: Likewise.
9989 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
9990 additional_flags=-Winline.
9991 * gdb.opt/inline-locals.exp: Likewise.
9992 * gdb.opt/inline-markers.c (ATTR): Define.
9993 (inlined_fn): Use it.
9995 2016-07-19 Yao Qi <yao.qi@linaro.org>
9997 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
9998 (test_with_self): Remove some code. Remove argument executable.
9999 (top-level): Use do_self_tests.
10001 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
10002 Don Breazeal <donb@codesourcery.com>
10004 * gdb.base/maint.exp: Escape paths used in regular expressions.
10005 * gdb.stabs/weird.exp: Likewise.
10007 2016-07-13 Tom Tromey <tom@tromey.com>
10009 PR python/15620, PR python/18620:
10010 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
10011 (test_bkpt_events): New procs.
10013 2016-07-13 Tom Tromey <tom@tromey.com>
10016 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
10018 (test_watchpoints): Likewise.
10019 (test_bkpt_pending): New proc.
10021 2016-07-13 Tom Tromey <tom@tromey.com>
10024 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
10027 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10029 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
10030 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
10031 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
10033 (g): Rename g_end_lbl to g_label.
10034 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
10035 low_pc and high_pc.
10036 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
10038 2016-07-12 Tom Tromey <tom@tromey.com>
10041 * gdb.python/py-unwind-maint.exp: Update tests.
10043 2016-07-12 Yao Qi <yao.qi@linaro.org>
10045 * lib/selftest-support.exp (selftest_setup): Match the output
10046 when captured_main is inlined.
10048 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
10050 * gdb.fortran/derived-types.exp (result_line, result_line_2):
10052 (print this%a, print this%b, print this): New tests.
10053 * gdb.fortran/derived-types.f90 (this): New object and
10056 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
10058 * gdb.ada/arraydim.exp: Remove extra directory level in build
10061 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
10063 * lib/ada.exp: Remove extra directory level in build directory.
10064 * gdb.ada/cond_lang.exp: Likewise.
10065 * gdb.ada/exec_changed.exp: Likewise.
10066 * gdb.ada/lang_switch.exp: Likewise.
10068 2016-07-06 Manish Goregaokar <manish@mozilla.com>
10070 * simple.rs: Add test for raw pointer subscripting.
10071 * simple.exp: Add test expectations.
10073 2016-07-05 Yao Qi <yao.qi@linaro.org>
10075 * gdb.mi/mi-reverse.exp: Match =record-started output.
10077 2016-07-01 Pedro Alves <palves@redhat.com>
10079 * gdb.base/jit-reader.exp (info_registers_current_frame): New
10081 (jit_reader_test): Test the jit reader's unwinder.
10082 * gdb.base/jithost.c (jit_function_00_code): New global.
10083 (main): Use memcpy to fill in the mmapped code, instead of poking
10084 bytes manually here.
10085 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
10087 (read_debug_info): Save the function's range.
10088 (read_sp): New function.
10089 (unwind_frame): Use it. Also unwind RBP.
10090 (get_frame_id): Use read_sp.
10091 (gdb_init_reader): Use calloc instead of malloc.
10092 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
10093 parameter. Use gdb_test_multiple.
10095 2016-07-01 Pedro Alves <palves@redhat.com>
10096 Antoine Tremblay <antoine.tremblay@ericsson.com>
10098 * gdb.threads/process-dies-while-detaching.c: New file.
10099 * gdb.threads/process-dies-while-detaching.exp: New file.
10101 2016-07-01 Pedro Alves <palves@redhat.com>
10103 * gdb.multi/watchpoint-multi-exit.c: New file.
10104 * gdb.multi/watchpoint-multi-exit.exp: New file.
10106 2016-06-30 Pedro Alves <palves@redhat.com>
10108 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
10109 unset inferior_spawn_id.
10111 2016-06-30 Pedro Alves <palves@redhat.com>
10113 * lib/mi-support.exp (default_mi_gdb_start): Declare global
10114 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
10116 2016-06-29 Yao Qi <yao.qi@linaro.org>
10118 * gdb.base/return.c: Add copyright header.
10120 2016-06-29 Tom Tromey <tom@tromey.com>
10123 * gdb.python/py-framefilter.exp: Add tests for setting priority
10124 and disabling of non-existent frame filter.
10126 2016-06-29 Yao Qi <yao.qi@linaro.org>
10128 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
10131 2016-06-28 Yao Qi <yao.qi@linaro.org>
10133 * gdb.base/catch-syscall.exp: Remove check on isnative and target
10134 triplets. Start gdb, execute catch syscall, and continue. Check
10135 gdb's output to determine catch syscall is supported.
10137 2016-06-27 Manish Goregaokar <manish@mozilla.com>
10139 * gdb.rust/simple.rs: Add test for returning unit in a function.
10140 * gdb.rust/simple.exp: Add expectation for functions returning
10143 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
10145 * gdb.python/py-breakpoint-create-fail.c,
10146 gdb.python/py-breakpoint-create-fail.exp,
10147 gdb.python/py-breakpoint-create-fail.py: New testcase.
10149 2016-06-25 Manish Goregaokar <manish@mozilla.com>
10152 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
10153 * gdb.rust/simple.exp: Add test expectations for new NonZero
10156 2016-06-24 David Taylor <dtaylor@emc.com>
10158 * gdb.base/offsets.exp: New file.
10159 * gdb.base/offsets.c: New file.
10161 2016-06-23 Tom Tromey <tom@tromey.com>
10164 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
10165 before any filters are loaded.
10167 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
10169 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
10170 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
10172 * gdb.fortran/derived-type-function.exp: New file.
10173 * gdb.fortran/derived-type-function.f90: New file.
10176 2016-06-21 Pedro Alves <palves@redhat.com>
10178 * gdb.base/new-ui.exp: New file.
10179 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
10180 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
10181 (with_spawn_id): New procedure.
10183 2016-06-21 Pedro Alves <palves@redhat.com>
10185 * gdb.mi/mi-exec-run.exp: New file.
10187 2016-06-21 Pedro Alves <palves@redhat.com>
10189 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
10190 breakpoint command's output on the main UI.
10191 (test_break): New procedure, factored out from calls in the top
10193 (top level): Use foreach_with_prefix to test MI as main UI and as
10196 2016-06-21 Pedro Alves <palves@redhat.com>
10198 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
10199 (test_awatch_creation_and_listing)
10200 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
10201 Remove 'type' parameter.
10202 (test_watchpoint_all): New parameter mi_mode. Remove
10204 (top level): Use foreach_with_prefix, and add main/separate UI MI
10207 2016-06-21 Pedro Alves <palves@redhat.com>
10209 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
10210 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
10211 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
10212 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
10213 (gdb_main_spawn_id, mi_spawn_id): Declare and
10215 (mi_create_inferior_pty): New procedure,
10216 factored out from default_mi_gdb_start.
10217 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
10219 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
10220 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
10221 Use mi_create_inferior_pty.
10222 (mi_gdb_start): Use eval to pass down args list.
10224 2016-06-21 Pedro Alves <palves@redhat.com>
10226 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
10227 * gdb.opt/inline-cmds.exp: Add MI tests.
10229 2016-06-21 Pedro Alves <palves@redhat.com>
10231 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
10233 2016-06-21 Pedro Alves <palves@redhat.com>
10235 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
10236 (top level): Use it instead of mi_execute_to.
10238 2016-06-21 Pedro Alves <palves@redhat.com>
10240 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
10241 (cont_handler_str): New.
10242 (signal_stop_handler): Set stop_handler_str instead of printing to
10244 (continue_handler): Set cont_handler_str instead of printing to
10246 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
10247 mi_send_resuming_command. Print stop_handler_str and
10248 cont_handler_str instead of expecting the python events print
10251 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
10253 * gdb.base/jit-reader.exp: New file.
10254 * gdb.base/jithost.c: New file.
10255 * gdb.base/jithost.h: New file.
10256 * gdb.base/jitreader.c : New file.
10257 * gdb.base/jit-protocol.h: New file.
10259 2016-06-17 Yao Qi <yao.qi@linaro.org>
10261 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
10262 parameters follow_fork and detach_on_fork. Set follow-fork-mode
10263 and detach-on-fork. Adjust tests.
10264 (top level): Invoke break_cond_on_syscall with combinations of
10265 syscall, follow-fork-mode and detach-on-fork.
10267 2016-06-17 Yao Qi <yao.qi@linaro.org>
10269 * gdb.base/step-over-exit.c: New.
10270 * gdb.base/step-over-exit.exp: New.
10272 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
10274 * gdb.base/float.exp: Add target check for nds32*-*-*.
10275 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
10277 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
10279 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
10280 for unsupported target features.
10281 * gdb.base/call-rt-st.exp: Likewise.
10282 * gdb.base/call-sc.exp: Likewise.
10283 * gdb.base/call-signal-resume.exp: Likewise.
10284 * gdb.base/call-strs.exp: Likewise.
10285 * gdb.base/callexit.exp: Likewise.
10286 * gdb.base/callfuncs.exp: Likewise.
10287 * gdb.base/nodebug.exp: Likewise.
10288 * gdb.base/printcmds.exp: Likewise.
10289 * gdb.base/ptype.exp: Likewise.
10290 * gdb.base/structs.exp: Likewise.
10291 * gdb.base/unwindonsignal.exp: Likewise.
10292 * gdb.cp/gdb2495.exp: Likewise.
10293 * gdb.cp/templates.exp: Likewise.
10294 * gdb.cp/virtfunc.exp: Likewise.
10295 * gdb.threads/hand-call-in-threads.exp: Likewise.
10296 * gdb.threads/interrupted-hand-call.exp: Likewise.
10297 * gdb.threads/thread-unwindonsignal.exp: Likewise.
10299 2016-06-10 Tom Tromey <tom@tromey.com>
10302 * gdb.rust/expr.exp: Add test for integer constant larger than
10305 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
10307 * gdb.fortran/nested-funcs.exp: New.
10308 * gdb.fortran/nested-funcs.f90: New.
10310 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
10312 * gdb.base/examine-backward.c: New file.
10313 * gdb.base/examine-backward.exp: New file.
10315 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
10317 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
10320 2016-06-02 Tom Tromey <tom@tromey.com>
10323 * gdb.python/py-shared.exp: Add solib_name test.
10325 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
10327 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
10329 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
10332 * gdb.dwarf2/implref.exp: Rename to...
10333 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
10334 * gdb.dwarf2/implref-array.c: New file.
10335 * gdb.dwarf2/implref-array.exp: Likewise.
10336 * gdb.dwarf2/implref-global.c: Likewise.
10337 * gdb.dwarf2/implref-global.exp: Likewise.
10338 * gdb.dwarf2/implref-struct.c: Likewise.
10339 * gdb.dwarf2/implref-struct.exp: Likewise.
10341 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10343 * gdb.trace/trace-condition.exp: Add 64bit tests.
10345 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10347 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
10349 (main): Adapt to 8 to 64 bits types.
10350 * gdb.trace/trace-condition.exp: Add new tests.
10352 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10354 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
10356 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10358 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
10359 Move condition tests...
10360 * gdb.trace/trace-condition.exp: Here.
10362 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
10364 * gdb.trace/trace-condition.exp: Add counter-case tests.
10366 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10369 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
10370 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
10372 2016-05-27 Pedro Alves <palves@redhat.com>
10374 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
10376 (top level): Call it, and bail out of DejaGnu is known to be bad.
10378 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
10380 * gdb.base/whatis.c: Extend the test case.
10381 * gdb.base/whatis.exp: Add additional tests.
10383 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10385 * gdb.fortran/type.f90: Add pointer variable.
10386 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
10388 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10390 * gdb.fortran/vla-type.exp: Fix testcase name.
10392 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10394 * gdb.fortran/vla-type.exp: Access elements in nested structs.
10396 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10398 * gdb.fortran/type.f90: Add nested structures.
10399 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
10400 * gdb.fortran/derived-type.exp: Adapt expected output.
10401 * gdb.fortran/vla-type.exp: Adapt expected output.
10403 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10405 * gdb.fortran/whatis_type.exp: Adapt expected output.
10407 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10409 * gdb.fortran/print_type.exp: Fix expected output.
10410 * gdb.fortran/whatis_type.exp: Fix expected output.
10412 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
10414 * gdb.fortran/whatis_type.exp: Use multi_line.
10416 2016-05-24 Tom Tromey <tom@tromey.com>
10419 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
10420 use value as an index.
10422 2016-05-23 Tom Tromey <tom@tromey.com>
10425 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
10426 no-breakpoint case.
10428 2016-05-24 Pedro Alves <palves@redhat.com>
10431 * gdb.threads/clone-attach-detach.c: New file.
10432 * gdb.threads/clone-attach-detach.exp: New file.
10434 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
10436 * gdb.base/annota-input-while-running.exp: Fix syntax error.
10438 2016-05-23 Tom Tromey <tom@tromey.com>
10440 PR python/19438, PR python/18393:
10441 * gdb.python/py-progspace.exp: Add "dir" test.
10442 * gdb.python/py-objfile.exp: Add "dir" test.
10444 2016-05-23 Yao Qi <yao.qi@linaro.org>
10446 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
10447 * gdb.arch/thumb2-it.exp: Likewise.
10449 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
10451 * gdb.mi/mi-threads-interrupt.c: New file.
10452 * gdb.mi/mi-threads-interrupt.exp: New file.
10454 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
10457 * gdb.mi/mi-async-run.exp: New file.
10458 * gdb.mi/mi-async-run.c: New file.
10460 2016-05-17 Tom Tromey <tom@tromey.com>
10461 Manish Goregaokar <manishsmail@gmail.com>
10463 * lib/rust-support.exp: New file.
10464 * lib/gdb.exp (skip_rust_tests): New proc.
10465 (build_executable_from_specs): Handle rust.
10466 * lib/future.exp (gdb_find_rustc): New proc.
10467 (gdb_default_target_compile): Handle rust.
10468 * gdb.rust/expr.exp: New file.
10469 * gdb.rust/generics.exp: New file.
10470 * gdb.rust/generics.rs: New file.
10471 * gdb.rust/methods.exp: New file.
10472 * gdb.rust/methods.rs: New file.
10473 * gdb.rust/modules.exp: New file.
10474 * gdb.rust/modules.rs: New file.
10475 * gdb.rust/simple.exp: New file.
10476 * gdb.rust/simple.rs: New file.
10478 2016-05-17 Tom Tromey <tom@tromey.com>
10480 * gdb.base/default.exp (set language): Add rust.
10482 2016-05-17 Tom Tromey <tom@tromey.com>
10484 * gdb.gdb/unittest.exp: New file.
10486 2016-05-16 Yao Qi <yao.qi@linaro.org>
10488 * gdb.base/batch-preserve-term-settings.exp: Remove variable
10489 shell_prompt. Update shell_prompt_re.
10491 2016-05-12 Doug Evans <dje@google.com>
10494 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
10495 $options when building executable.
10496 * gdb.dwarf2/fission-loclists-pie.S: New file.
10497 * gdb.dwarf2/fission-loclists-pie.exp: New file.
10499 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10501 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
10502 of [is_remote target],
10504 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
10506 * lib/gdb.exp (use_gdb_stub): New procedure.
10508 2016-05-03 Yunlian Jiang <yunlian@google.com>
10509 Doug Evans <dje@google.com>
10512 * gdb.dwarf2/dwp-sepdebug.c: New file.
10513 * gdb.dwarf2/dwp-sepdebug.exp: New file.
10515 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10517 * gdb.base/detach.exp: Remove is_remote check.
10519 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
10521 * gdb.base/annota-input-while-running.exp: Don't check for
10522 [is_remote target]. Enable annotations after running to main.
10523 Remove unused "set test..." line.
10525 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10527 * gdb.trace/trace-enable-disable.exp: New file.
10528 * gdb.trace/trace-enable-disable.c: New file.
10530 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
10532 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
10533 use it in info sharedlibrary test.
10534 * gdb.trace/ftrace-lock.exp: Likewise.
10535 * gdb.trace/ftrace.exp: Likewise.
10536 * gdb.trace/range-stepping.exp: Likewise.
10537 * gdb.trace/trace-break.exp: Likewise.
10538 * gdb.trace/trace-condition.exp: Likewise.
10539 * gdb.trace/trace-mt.exp: Likewise.
10541 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10543 * lib/gdb.exp (gdb_load_shlibs): Rename to...
10544 (gdb_load_shlib): ... this.
10545 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
10547 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
10548 * gdb.base/ctxobj.exp: Likewise.
10549 * gdb.base/dprintf-pending.exp: Likewise.
10550 * gdb.base/dso2dso.exp: Likewise.
10551 * gdb.base/fixsection.exp: Likewise.
10552 * gdb.base/gcore-relro.exp: Likewise.
10553 * gdb.base/gdb1555.exp: Likewise.
10554 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10555 * gdb.base/gnu-ifunc.exp: Likewise.
10556 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
10557 * gdb.base/jit-so.exp (one_jit_test): Likewise.
10558 * gdb.base/pending.exp: Likewise.
10559 * gdb.base/print-file-var.exp: Likewise.
10560 * gdb.base/print-symbol-loading.exp: Likewise.
10561 * gdb.base/shlib-call.exp: Likewise.
10562 * gdb.base/shreloc.exp: Likewise.
10563 * gdb.base/so-impl-ld.exp: Likewise.
10564 * gdb.base/solib-disc.exp: Likewise.
10565 * gdb.base/solib-nodir.exp: Likewise.
10566 * gdb.base/solib-overlap.exp: Likewise.
10567 * gdb.base/solib-symbol.exp: Likewise.
10568 * gdb.base/solib-weak.exp (do_test): Likewise.
10569 * gdb.base/sym-file.exp: Likewise.
10570 * gdb.base/symtab-search-order.exp: Likewise.
10571 * gdb.base/type-opaque.exp: Likewise.
10572 * gdb.base/unload.exp: Likewise.
10573 * gdb.base/watchpoint-solib.exp: Likewise.
10574 * gdb.compile/compile.exp: Likewise.
10575 * gdb.cp/gdb2384.exp: Likewise.
10576 * gdb.cp/infcall-dlopen.exp: Likewise.
10577 * gdb.cp/re-set-overloaded.exp: Likewise.
10578 * gdb.fortran/library-module.exp: Likewise.
10579 * gdb.opt/solib-intra-step.exp: Likewise.
10580 * gdb.python/py-finish-breakpoint.exp: Likewise.
10581 * gdb.python/py-shared.exp: Likewise.
10582 * gdb.reverse/solib-precsave.exp: Likewise.
10583 * gdb.reverse/solib-reverse.exp: Likewise.
10584 * gdb.server/solib-list.exp: Likewise.
10585 * gdb.threads/dlopen-libpthread.exp: Likewise.
10586 * gdb.threads/tls-shared.exp: Likewise.
10587 * gdb.threads/tls-so_extern.exp: Likewise.
10588 * gdb.trace/change-loc.exp: Likewise.
10589 * gdb.trace/ftrace-lock.exp: Likewise.
10590 * gdb.trace/ftrace.exp: Likewise.
10591 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
10592 * gdb.trace/pending.exp: Likewise.
10593 * gdb.trace/range-stepping.exp: Likewise.
10594 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
10595 (strace_info_marker): Likewise.
10596 (strace_probe_marker): Likewise.
10597 (strace_trace_on_same_addr): Likewise.
10598 (strace_trace_on_diff_addr): Likewise.
10599 * gdb.trace/trace-break.exp: Likewise.
10600 * gdb.trace/trace-condition.exp: Likewise.
10601 * gdb.trace/trace-mt.exp: Likewise.
10603 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
10605 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
10606 result of gdb_remote_download.
10607 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
10608 * gdb.base/dso2dso.exp: Likewise.
10609 * gdb.base/global-var-nested-by-dso.exp: Likewise.
10610 * gdb.base/print-file-var.exp: Likewise.
10611 * gdb.base/shlib-call.exp: Likewise.
10612 * gdb.base/shreloc.exp: Likewise.
10613 * gdb.base/solib-overlap.exp: Likewise.
10614 * gdb.base/solib-weak.exp (do_test): Likewise.
10615 * gdb.base/unload.exp: Likewise.
10617 2016-04-27 Yao Qi <yao.qi@linaro.org>
10619 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
10622 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10624 * vla-type.exp: Print structure from toplevel.
10626 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10628 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
10630 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
10633 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
10635 * gdb.fortran/vla-type.f90: New file.
10636 * gdb.fortran/vla-type.exp: New file.
10638 2016-04-25 Yao Qi <yao.qi@linaro.org>
10640 * gdb.base/branch-to-self.c: New file.
10641 * gdb.base/branch-to-self.exp: New file.
10643 2016-04-22 Yao Qi <yao.qi@linaro.org>
10645 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
10648 2016-04-22 Yao Qi <yao.qi@linaro.org>
10650 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
10651 * gdb.base/annota3.exp: Likewise.
10653 2016-04-22 Yao Qi <yao.qi@linaro.org>
10655 * gdb.reverse/step-precsave.exp: Do one step and test program
10656 stops in "callee" and do multiple steps until program goes out
10658 * gdb.reverse/step-reverse.exp: Likewise.
10660 2016-04-22 Yao Qi <yao.qi@linaro.org>
10662 * gdb.trace/signal.exp: Also pass if
10663 $tracepoint_hits($i) > $iterations.
10665 2016-04-22 Yao Qi <yao.qi@linaro.org>
10667 * gdb.trace/signal.c: New file.
10668 * gdb.trace/signal.exp: New file.
10670 2016-04-19 Doug Evans <xdje42@gmail.com>
10672 * gdb.base/bad-file.exp: New file.
10674 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
10676 * gdb.dwarf2/implref.exp: New file.
10678 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10680 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
10681 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
10682 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
10683 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
10684 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
10685 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
10686 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
10687 * lib/fortran.exp (fortran_int4): New procedure.
10688 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
10689 (fortran_logical4): Likewise.
10691 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
10693 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
10695 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
10697 * lib/compiler.c: Add Intel specific preprocessor macros.
10698 * lib/compiler.cc: Likewise.
10700 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
10702 * gdb.server/connect-with-no-symbol-file.c: New file.
10703 * gdb.server/connect-with-no-symbol-file.exp: New file.
10705 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10707 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
10709 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
10711 * boards/gdbserver-base.exp (${board}_download): Copy source file to
10712 standard output directory.
10714 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
10716 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
10718 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
10720 * gdb.btrace/instruction_history.c (loop): Add declaration.
10722 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
10724 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
10726 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
10728 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
10729 parentheses to print.
10730 (continue_handler): Likewise.
10732 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
10734 * gdb.server/solib-list.exp: Remove is_remote check.
10735 Pass shlib= to gdb_compile. Don't link shared library with
10736 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
10737 Run binary filename through "readlink -f" on the target.
10739 2016-04-08 Pedro Alves <palves@redhat.com>
10741 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
10742 interpreter filename as argument to gdbserver_spawn.
10743 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10744 Return empty if $last_loaded_file does not exist.
10746 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10748 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
10749 * gdb.base/jit-main.c: Use exit after usage.
10751 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10753 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
10754 GDBHISTSIZE prior to the tests.
10755 * gdb.base/gdbinit-history.exp: Likewise.
10757 2016-04-07 Pedro Alves <palves@redhat.com>
10759 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
10760 instead of build_executable. Use gdb_load_shlibs.
10762 2016-04-07 Yao Qi <yao.qi@linaro.org>
10764 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
10765 Execute "si" command.
10767 2016-04-07 Yao Qi <yao.qi@linaro.org>
10769 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
10770 number instead of the comments on some line.
10772 2016-04-06 Don Breazeal <donb@codesourcery.com>
10774 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
10775 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
10777 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
10779 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
10780 standard_output_file. Remove unused binfile variable.
10782 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
10784 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
10785 * gdb.python/py-mi-objfile.exp: Match "list main" output
10788 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
10790 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
10793 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10795 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
10797 * gdb.trace/ftrace.exp: Likewise.
10798 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
10800 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
10801 (gdb_load_shlibs): Copy libraries to test directory when testing
10802 natively. Only set solib-search-path if testing remotely.
10803 * lib/mi-support.exp (mi_load_shlibs): Likewise.
10805 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10807 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
10808 gdb_download. Use it even if the target is not remote.
10809 * gdb.base/jit.exp (compile_jit_test): Likewise.
10810 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
10811 output directory if the destination board is local, otherwise use
10812 the standard remote_download from DejaGnu.
10813 (gdb_download): Remove.
10814 (gdb_load_shlibs): Use gdb_remote_download instead of
10816 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10817 Use gdb_remote_download instead of gdb_download. Use it even if
10818 the target is not remote.
10819 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
10820 instead of gdb_download.
10822 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
10824 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
10825 (test_insert_delete_modify): Call mi_load_shlibs before trying to
10828 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
10831 * gdb.base/printcmds.exp: Add artificial arrays tests.
10833 2016-03-31 Pedro Alves <palves@redhat.com>
10836 * gdb.base/jit-main.c: Include unistd.h.
10837 (ATTACH): Define to 0 if not already defined.
10838 (wait_for_gdb, mypid): New globals.
10839 (WAIT_FOR_GDB): New macro.
10840 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
10841 some breakpoint locations.
10842 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
10844 (one_jit_test): Add REATTACH parameter, and handle it. Use
10845 continue_to_test_location.
10846 (top level): Test attach, and adjusts calls to one_jit_test.
10848 2016-03-31 Pedro Alves <palves@redhat.com>
10851 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
10852 BINSUFFIX parameter, and handle it.
10853 (top level): Adjust calls compile_jit_test.
10855 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
10858 * gdb.python/py-mi-events-gdb.py: New file.
10859 * gdb.python/py-mi-events.c: New file.
10860 * gdb.python/py-mi-events.exp: New file.
10862 2016-03-30 Yao Qi <yao.qi@linaro.org>
10864 * gdb.reverse/until-precsave.exp: Match function name only.
10865 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
10866 Move malloc to a condition block.
10867 * gdb.reverse/until-reverse.exp: Match function name only.
10869 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
10871 * gdb.trace/ftrace.exp: Set arg0exp for s390.
10872 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
10873 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
10874 variable for GPR 0 instead of assuming it is register 0.
10875 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
10876 * lib/trace-support.exp: Add s390 registers.
10878 2016-03-29 Yao Qi <yao.qi@linaro.org>
10880 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
10882 2016-03-24 Yao Qi <yao.qi@linaro.org>
10884 * gdb.reverse/break-reverse.exp: Add quotation mark in the
10887 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10889 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
10890 maintaining separate logic for constructing the output path.
10892 2016-03-16 Don Breazeal <donb@codesourcery.com>
10894 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
10895 Retry fork and waitpid on interrupted system call errors.
10896 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10897 Use with_timeout_factor to increase timeout by factor of 10.
10899 2016-03-15 Don Breazeal <donb@codesourcery.com>
10901 * gdb.cp/scope-err.cc: New test program.
10902 * gdb.cp/scope-err.exp: New test script.
10903 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
10904 lines and "set breakpoint here" comment.
10905 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
10906 Fixed some whitespace and format issues.
10907 * gdb.mi/mi-linespec-err-cp.cc: New test program.
10908 * gdb.mi/mi-linespec-err-cp.exp: New test script.
10910 2016-03-15 Doug Evans <dje@google.com>
10912 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
10913 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
10914 All callers updated. Add tests for enums, mixed flags register.
10916 2016-03-15 Doug Evans <dje@google.com>
10918 * gdb.base/skip.c (main): Call test_skip_file_and_function.
10919 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
10921 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
10923 * gdb.base/default.exp: Add $_as_string to the list of expected
10924 convenience functions.
10926 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
10928 * gdb.base/maint.exp: New tests for 'maint info line-table'.
10930 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
10932 * gdb.python/py-as-string.exp: New file.
10933 * gdb.python/py-as-string.c: New file.
10935 2016-03-09 Pedro Alves <palves@redhat.com>
10937 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
10938 signal" -> "Thread NN received signal" output change.
10939 * gdb.threads/ia64-sigill.exp: Likewise.
10940 * gdb.threads/linux-dp.exp: Likewise.
10941 * gdb.threads/manythreads.exp: Likewise.
10942 * gdb.threads/pending-step.exp: Likewise.
10943 * gdb.threads/print-threads.exp: Likewise.
10944 * gdb.threads/sigstep-threads.exp: Likewise.
10945 * gdb.threads/staticthreads.exp: Likewise.
10946 * gdb.threads/tls.exp: Likewise.
10948 2016-03-09 Pedro Alves <palves@redhat.com>
10950 * gdb.base/command-line-input.exp: New file.
10952 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10954 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
10955 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
10956 * gdb.trace/pending.exp: Accept leading dot before function name.
10957 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
10958 * lib/trace-support.exp: Set registers for ppc.
10960 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10962 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
10963 use it for disassembly; accept .main in addition to main in backtrace.
10965 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
10966 Marcin Kościelnicki <koriakin@0x04.net>
10968 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
10969 (gdb_recursion_test_ptr): New global variable.
10970 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
10971 gdb_recursion_test.
10972 (gdb_c_test): Ditto.
10974 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10976 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
10979 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10981 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
10982 (bar): Add bar_start_lbl label.
10983 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
10984 of foo/bar for emitting DWARF and tracing.
10986 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
10988 * analyze-racy-logs.py: Set executable bit.
10990 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
10992 * Makefile.in (DEFAULT_RACY_ITER): New variable.
10993 (CHECK_TARGET_TMP): Likewise.
10994 (check-single-racy): New rule.
10995 (check-parallel-racy): Likewise.
10996 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
10997 (do-check-parallel-racy): New rule.
10998 (check-racy/%.exp): Likewise.
10999 * README (Racy testcases): New section.
11000 * analyze-racy-logs.py: New file.
11002 2016-03-03 Doug Evans <dje@google.com>
11004 * gdb.base/skip.exp: Use with_test_prefix.
11006 2016-03-03 Yao Qi <yao.qi@linaro.org>
11008 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
11009 Invoke step_over_syscall "clone" and break_cond_on_syscall
11011 * gdb.base/step-over-clone.c: New file.
11013 2016-03-03 Yao Qi <yao.qi@linaro.org>
11015 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
11018 2016-03-03 Yao Qi <yao.qi@linaro.org>
11020 * gdb.base/disp-step-fork.c: Rename to ...
11021 * gdb.base/step-over-fork.c: ... it. New file.
11022 * gdb.base/disp-step-vfork.c: Rename to ...
11023 * gdb.base/step-over-vfork.c: ... it. New file.
11024 * gdb.base/disp-step-syscall.exp: Rename to ...
11025 * gdb.base/step-over-syscall.exp: ... it. New file.
11026 (disp_step_cross_syscall): Rename to ...
11027 (step_over_syscall): ... it.
11029 2016-03-03 Yao Qi <yao.qi@linaro.org>
11031 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
11032 If target supports condition evaluation on target, invoke
11033 break_cond_on_syscall for fork and vfork.
11035 2016-03-03 Yao Qi <yao.qi@linaro.org>
11037 * gdb.base/disp-step-syscall.exp: Don't invoke
11038 support_displaced_stepping.
11039 (disp_step_cross_syscall): Test with displaced stepping off and
11042 2016-03-03 Yao Qi <yao.qi@linaro.org>
11044 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
11047 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
11050 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11052 * gdb.fortran/vla-history.exp: Remove breakpoint.
11054 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11056 * gdb.fortran/vla-history.exp: Lookup array elements and printing
11059 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11061 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
11064 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11066 * gdb.mi/vla.f90: Nullify pointer after declaration.
11068 2016-03-01 Pedro Alves <palves@redhat.com>
11070 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
11072 2016-03-01 Pedro Alves <palves@redhat.com>
11074 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
11075 before anything else.
11076 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
11078 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
11079 before anything else.
11080 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
11082 2016-03-01 Pedro Alves <palves@redhat.com>
11084 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
11086 2016-03-01 Yao Qi <yao.qi@linaro.org>
11088 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
11089 prepare_for_testing.
11091 2016-03-01 Yao Qi <yao.qi@linaro.org>
11093 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
11095 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11097 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
11098 manually constructing the output path.
11100 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11102 * gdb.arch/s390-stackless.S: New.
11103 * gdb.arch/s390-stackless.exp: New.
11105 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
11107 * gdb.dlang/circular.c: New file.
11108 * gdb.dlang/circular.exp: New file.
11110 2016-02-26 Yao Qi <yao.qi@linaro.org>
11112 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
11113 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
11114 (testcases): Update.
11116 2016-02-26 Yao Qi <yao.qi@linaro.org>
11118 * gdb.reverse/aarch64.c: Rename to ...
11119 * gdb.reverse/insn-reverse.c: ... it.
11120 * gdb.reverse/aarch64.exp: Rename to ...
11121 * gdb.reverse/insn-reverse.exp: ... it.
11123 2016-02-26 Yao Qi <yao.qi@linaro.org>
11125 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
11126 (testcase_ftype): New.
11127 (testcases): New array.
11128 (n_testcases): New.
11129 (main): Call each element in testcases.
11130 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
11131 (read_testcase): New.
11132 Do the tests in a loop.
11134 2016-02-25 Yao Qi <yao.qi@linaro.org>
11136 * gdb.base/branches.c: Remove.
11138 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11141 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
11143 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11145 * gdb.trace/ftrace.exp: Remove unnecessary target check.
11147 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11149 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
11150 change x86_64 call_insn to 'callq'.
11152 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
11154 * gdb.trace/tfile-avx.c: Move to...
11155 * gdb.trace/tracefile-pseudo-reg.c: Here.
11156 * gdb.trace/tfile-avx.exp: Move to...
11157 * gdb.trace/tracefile-pseudo-reg.exp: Here.
11159 2016-02-24 Gary Benson <gbenson@redhat.com>
11161 * gdb.base/attach-pie-noexec.exp: Do not expect an error
11164 2016-02-23 Doug Evans <dje@google.com>
11166 * gdb.base/skip.c (test_skip): New function.
11167 (end_test_skip_file_and_function): New function.
11168 (test_skip_file_and_function): New function.
11169 * gdb.base/skip1.c (test_skip): New function.
11170 (skip1_test_skip_file_and_function): New function.
11171 * gdb.base/skip.exp: Add tests for new skip options.
11172 * gdb.base/skip-solib.exp: Update expected output.
11173 * gdb.perf/skip-command.cc: New file.
11174 * gdb.perf/skip-command.exp: New file.
11175 * gdb.perf/skip-command.py: New file.
11177 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
11179 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
11180 info registers pattern.
11182 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
11184 * lib/future.exp: Add D support.
11185 (gdb_find_gdc): New proc.
11186 (gdb_default_target_compile): Add D support.
11188 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
11190 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
11192 (trace_speed_test): Determine the iteration count for a time
11193 between 15..30 seconds.
11195 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
11197 * gdb.arch/i386-mpx-sigsegv.c: New file.
11198 * gdb.arch/i386-mpx-sigsegv.exp: New file.
11199 * gdb.arch/i386-mpx-simple_segv.c: New file.
11200 * gdb.arch/i386-mpx-simple_segv.exp: New file.
11202 2016-02-18 Yao Qi <yao.qi@linaro.org>
11204 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
11205 Don't call setup_kfail.
11207 2016-02-18 Yao Qi <yao.qi@linaro.org>
11209 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11210 Set "set breakpoint condition-evaluation" per $cond_bp_target.
11212 2016-02-16 Doug Evans <dje@google.com>
11214 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
11215 * gdb.base/skip1.c: Ditto.
11216 * gdb.base/skip.exp: Whitespace cleanup.
11218 2016-02-16 Don Breazeal <donb@codesourcery.com>
11221 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11222 Remove kfail for PR remote/19496.
11224 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
11226 * lib/gdb.exp (standard_temp_file): Return a path specific to
11227 the runtest invocation.
11229 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
11231 * gdb.trace/save-trace.exp: Change relative path to be in the
11232 standard output directory.
11234 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11236 * gdb.arch/i386-prologue.c: Add missing prototypes.
11238 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11240 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
11241 * gdb.arch/i386-prologue.exp: Likewise.
11242 * gdb.arch/i386-size.exp: Likewise.
11244 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
11246 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
11247 define object file path.
11248 * gdb.btrace/gcore.exp: Use standard_output_file to define core
11250 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
11251 standard_output_file to define binfile.
11253 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11255 Fix compatibility with recent gfortran-5.3.1.
11256 * gdb.fortran/vla-history.exp (print vla1 allocated)
11257 (print vla2 allocated, print $2, print $3): Remove
11258 (print $4): Rename to ...
11259 (print $2): ... here.
11260 (print $9): Rename to ...
11261 (print $5): ... here.
11262 (print $10): Rename to ...
11263 (print $6): ... here.
11264 * gdb.fortran/vla.f90: Add pvla initialization.
11266 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11268 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
11270 * gdb.fortran/vla-value-sub.exp: Likewise.
11272 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
11274 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
11276 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
11278 * i386-biarch-core.exp: Define corefile using
11279 standard_output_file.
11281 2016-02-12 Yao Qi <yao.qi@linaro.org>
11283 * gdb.arch/arm-single-step-kernel-helper.c: New.
11284 * gdb.arch/arm-single-step-kernel-helper.exp: New.
11286 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
11288 * gdb.btrace/tailcall-only.exp: New.
11289 * gdb.btrace/tailcall-only.c: New.
11290 * gdb.btrace/x86_64-tailcall-only.S: New.
11291 * gdb.btrace/i686-tailcall-only.S: New.
11293 2016-02-11 Pedro Alves <palves@redhat.com>
11295 * README (Parallel testing): Add missing double quotes.
11297 2016-02-11 Pedro Alves <palves@redhat.com>
11299 * README (Parallel testing): New section.
11300 (GDB_PARALLEL): Rewrite.
11301 (FORCE_PARALLEL): Document.
11303 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
11305 * gdb.trace/tfile-avx.c: New test.
11306 * gdb.trace/tfile-avx.exp: New test.
11308 2016-02-09 Keith Seitz <keiths@redhat.com>
11310 PR breakpoints/19546
11311 * gdb.base/infcall-exec.c: New file.
11312 * gdb.base/infcall-exec2.c: New file.
11313 * gdb.base/infcall-exec.exp: New file.
11315 2016-02-09 Keith Seitz <keiths@redhat.com>
11317 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
11318 (toplevel): Call test_bkpt_address.
11320 2016-02-09 Keith Seitz <keiths@redhat.com>
11323 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
11324 (toplevel): Call test_bkpt_address.
11326 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
11328 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
11330 * configure: Regenerate.
11332 2016-02-09 Pedro Alves <palves@redhat.com>
11334 PR breakpoints/19548
11335 * gdb.base/execl-update-breakpoints.c (some_function): New
11338 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
11339 Tighten expected GDB output.
11341 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11343 * Makefile.in (ALL_SUBDIRS): Remove.
11344 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
11345 (distclean maintainer-clean realclean): Likewise.
11346 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
11347 * configure: Regenerate.
11348 * gdb.ada/Makefile.in: Delete.
11349 * gdb.arch/Makefile.in: Likewise.
11350 * gdb.asm/Makefile.in: Likewise.
11351 * gdb.base/Makefile.in: Likewise.
11352 * gdb.btrace/Makefile.in: Likewise.
11353 * gdb.cell/Makefile.in: Likewise.
11354 * gdb.compile/Makefile.in: Likewise.
11355 * gdb.cp/Makefile.in: Likewise.
11356 * gdb.disasm/Makefile.in: Likewise.
11357 * gdb.dlang/Makefile.in: Likewise.
11358 * gdb.dwarf2/Makefile.in: Likewise.
11359 * gdb.fortran/Makefile.in: Likewise.
11360 * gdb.gdb/Makefile.in: Likewise.
11361 * gdb.go/Makefile.in: Likewise.
11362 * gdb.guile/Makefile.in: Likewise.
11363 * gdb.java/Makefile.in: Likewise.
11364 * gdb.linespec/Makefile.in: Likewise.
11365 * gdb.mi/Makefile.in: Likewise.
11366 * gdb.modula2/Makefile.in: Likewise.
11367 * gdb.multi/Makefile.in: Likewise.
11368 * gdb.objc/Makefile.in: Likewise.
11369 * gdb.opencl/Makefile.in: Likewise.
11370 * gdb.opt/Makefile.in: Likewise.
11371 * gdb.pascal/Makefile.in: Likewise.
11372 * gdb.perf/Makefile.in: Likewise.
11373 * gdb.python/Makefile.in: Likewise.
11374 * gdb.reverse/Makefile.in: Likewise.
11375 * gdb.server/Makefile.in: Likewise.
11376 * gdb.stabs/Makefile.in: Likewise.
11377 * gdb.threads/Makefile.in: Likewise.
11378 * gdb.trace/Makefile.in: Likewise.
11379 * gdb.xml/Makefile.in: Likewise.
11380 * lib/gdb.exp (make_gdb_parallel_path): Add check for
11382 (standard_output_file): Remove check for GDB_PARALLEL, always
11383 return path in outputs/$subdir/$testname.
11385 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
11387 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
11388 (site.exp): Assign abs_srcdir to tcl's srcdir.
11390 2016-02-04 Yao Qi <yao.qi@linaro.org>
11392 * gdb.base/foll-exec-mode.c: Include limits.h.
11393 (main): Add parameters argc and argv. Get directory from
11395 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
11397 * gdb.base/foll-exec.c: Include limits.h.
11398 (main): Add parameters argc and argv.
11399 Get directory from argv[0].
11400 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
11401 Adjust tests on the number of lines as source code changed.
11402 * gdb.base/foll-vfork-exit.c: Include limits.h.
11403 (main): Add one line of statement before vfork.
11404 * gdb.base/foll-vfork.c: Include limits.h and string.h.
11405 (main): Add parameters argc and argv. Get directory from
11407 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
11408 (setup_gdb): Set tbreak to skip some source lines.
11409 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
11410 (main): Add parameters argc and argv. Get directory from
11412 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
11414 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
11415 (main): Add parameters argc and argv. Get directory from
11417 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
11420 2016-02-01 Doug Evans <dje@google.com>
11422 * gdb.base/skip.exp: Clean up multiple references to same test name.
11424 2016-02-01 Pedro Alves <palves@redhat.com>
11427 * gdb.threads/forking-threads-plus-breakpoint.exp
11428 (displaced_stepping_supported): New global.
11429 (probe_displaced_stepping_support): New procedure.
11430 (do_test): Add 'displaced' parameter, and use it.
11431 (top level): Check for displaced stepping support. Add displaced
11432 stepping on/off testing axis.
11434 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11436 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
11437 pointer. Don't perform further tests on the unassociated pointer
11438 if the first test fails.
11440 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
11442 * gdb.base/max-value-size.c: New file.
11443 * gdb.base/max-value-size.exp: New file.
11444 * gdb.base/huge.exp: Disable max-value-size for this test.
11446 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
11448 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
11450 2016-01-28 Yao Qi <yao.qi@linaro.org>
11452 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
11454 2016-01-25 Pedro Alves <palves@redhat.com>
11457 * gdb.base/fork-running-state.c: New file.
11458 * gdb.base/fork-running-state.exp: New file.
11460 2016-01-25 Pedro Alves <palves@redhat.com>
11463 * gdb.base/catch-fork-kill.c: New file.
11464 * gdb.base/catch-fork-kill.exp: New file.
11466 2016-01-25 Pedro Alves <palves@redhat.com>
11468 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
11469 Delete, moved to lib/gdb.exp.
11470 * gdb.threads/forking-threads-plus-breakpoint.exp
11471 (foreach_with_prefix): Likewise.
11472 * gdb.threads/process-dies-while-handling-bp.exp
11473 (foreach_with_prefix): Likewise.
11474 * lib/gdb.exp (foreach_with_prefix): New procedure.
11476 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
11478 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
11479 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
11481 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
11483 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
11486 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11487 Pedro Alves <palves@redhat.com>
11489 Fix testsuite compatibility with Guile.
11490 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
11493 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11495 Fix testsuite compatibility with Guile.
11496 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
11497 (thread 1): New test for backtrace through signal handler.
11499 2016-01-22 Yao Qi <yao.qi@linaro.org>
11502 * gdb.base/multi-forks.c: Include
11503 ../lib/unbuffer_output.c
11504 (main): Call gdb_unbuffer_output.
11506 2016-01-21 Doug Evans <dje@google.com>
11508 * lib/ada.exp (gdb_compile_ada): Fix typo.
11510 2016-01-21 Joel Brobecker <brobecker@adacore.com>
11512 * gdb.base/break-fun-addr.exp: New file.
11513 * gdb.base/break-fun-addr1.c: New file.
11514 * gdb.base/break-fun-addr2.c: New file.
11516 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
11518 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
11519 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
11522 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11524 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
11525 when GDB can not set the vector return value. Add more comments
11528 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
11530 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
11533 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11535 * Makefile.in (DO_RUNTEST): Add --status and update usages.
11537 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11539 * Makefile.in (check-single): Pass --status to runtest.
11540 (check/%.exp): Likewise.
11542 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
11544 * Makefile.in (check-parallel): Propagate return code from make
11547 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
11549 * gdb.trace/ftrace.exp: Fix expected message on continue.
11550 * gdb.trace/pending.exp: Fix expected message on continue.
11551 * gdb.trace/trace-break.exp: Fix expected message on continue.
11553 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
11555 * lib/gdb.exp (gdb_test): Remove unused global references.
11557 2016-01-18 Pedro Alves <palves@redhat.com>
11559 * gdb.base/async-shell.exp: Adjust expected output.
11560 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
11561 * gdb.base/siginfo-thread.exp: Adjust expected output.
11562 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
11563 * gdb.java/jnpe.exp: Adjust expected output.
11564 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
11565 * gdb.threads/continue-pending-status.exp: Adjust expected output.
11566 * gdb.threads/leader-exit.exp: Adjust expected output.
11567 * gdb.threads/manythreads.exp: Adjust expected output.
11568 * gdb.threads/pthreads.exp: Adjust expected output.
11569 * gdb.threads/schedlock.exp: Adjust expected output.
11570 * gdb.threads/siginfo-threads.exp: Adjust expected output.
11571 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
11573 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
11575 * gdb.threads/sigthread.exp: Adjust expected output.
11576 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
11578 2016-01-18 Yao Qi <yao.qi@linaro.org>
11580 * gdb.guile/scm-section-script.c: Replace @progbits with
11582 * gdb.python/py-section-script.c: Likewise.
11584 2016-01-15 Pedro Alves <palves@redhat.com>
11586 * gdb.multi/tids.exp: Test star wildcard ranges.
11588 2016-01-15 Pedro Alves <palves@redhat.com>
11590 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
11591 command from "thread apply" invocation.
11592 (thr_apply_info_thr_invalid): Default the expected output to the
11594 (top level): Add tests that use convenience variables. Add tests
11595 for "thread apply" with a valid TID list, but missing the command.
11597 2016-01-13 Pedro Alves <palves@redhat.com>
11599 * gdb.base/default.exp: Expect $_gthread as well.
11600 * gdb.multi/tids.exp: Test $_gthread.
11601 * gdb.threads/thread-specific.exp: Test $_gthread.
11603 2016-01-13 Pedro Alves <palves@redhat.com>
11605 * gdb.multi/tids.exp: Test "info threads -gid".
11607 2016-01-13 Pedro Alves <palves@redhat.com>
11609 * gdb.multi/tids.exp: Test InferiorThread.global_num and
11611 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
11613 2016-01-07 Pedro Alves <palves@redhat.com>
11615 * gdb.base/break.exp: Adjust to output changes.
11616 * gdb.base/hbreak2.exp: Likewise.
11617 * gdb.base/sepdebug.exp: Likewise.
11618 * gdb.base/watch_thread_num.exp: Likewise.
11619 * gdb.linespec/keywords.exp: Likewise.
11620 * gdb.multi/info-threads.exp: Likewise.
11621 * gdb.threads/thread-find.exp: Likewise.
11622 * gdb.multi/tids.c: New file.
11623 * gdb.multi/tids.exp: New file.
11625 2016-01-13 Pedro Alves <palves@redhat.com>
11627 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
11629 2016-01-13 Pedro Alves <palves@redhat.com>
11631 * gdb.base/default.exp: Expect $_inferior as well.
11632 * gdb.multi/base.exp: Test $_inferior.
11634 2016-01-13 Pedro Alves <palves@redhat.com>
11636 PR breakpoints/19388
11637 * gdb.base/catch-signal-siginfo-cond.c: New file.
11638 * gdb.base/catch-signal-siginfo-cond.exp: New file.
11640 2016-01-12 Josh Stone <jistone@redhat.com>
11641 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11643 * gdb.base/catch-syscall.c (do_execve): New variable.
11644 (main): Conditionally trigger an execve.
11645 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
11646 (test_catch_syscall_execve): New, check entry/return across execve.
11647 (do_syscall_tests): Call test_catch_syscall_execve.
11649 2016-01-12 Pedro Alves <palves@redhat.com>
11651 * gdb.base/random-signal.exp (do_test): New procedure, with body
11652 of testcase moved in.
11654 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11655 Pedro Alves <palves@redhat.com>
11657 * gdb.base/funcargs.exp (finish from indirectly called function):
11658 Reintroduce the case for 'First'.
11660 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11661 Pedro Alves <palves@redhat.com>
11663 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
11664 (tcatch_vfork_then_child_follow_exec)
11665 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
11668 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11670 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
11671 and repeats to unlimited.
11672 * gdb.python/py-value.exp: Likewise.
11673 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
11674 and repeats to unlimited.
11676 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11678 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
11679 and reordering the functions.
11680 * gdb.multi/hangout.c: Likewise.
11681 * gdb.multi/hello.c: Likewise.
11683 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
11685 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
11687 (SingleStatisticTestResult.report): Use dict.keys instead of
11690 2016-01-06 Pedro Alves <palves@redhat.com>
11692 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
11694 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
11696 * gdb.btrace/dlopen.exp: New.
11697 * gdb.btrace/dlopen.c: New.
11698 * gdb.btrace/dlopen-dso.c: New.
11700 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
11702 * lib/gdb.exp (gdb_test): Update comments to clarify that the
11703 PATTERN argument is optional.
11705 2015-12-24 Joel Brobecker <brobecker@adacore.com>
11707 * lib/ada.exp (target_compile_ada_from_dir): New function.
11708 (gdb_compile_ada): Reimplement avoiding the use of project files.
11709 * gdb.ada/gnat_ada.gpr: Delete.
11710 * gdb.ada/cond_lang.exp: Adjust test to make path before
11712 * gdb.ada/small_reg_param.exp: Likewise.
11714 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
11716 * gdb.base/foll-vork.exp: Remove HP-UX special case.
11718 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
11720 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
11723 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
11725 * gdb.base/break.exp: Remove dead code.
11726 * gdb.base/sepdebug.exp: Likewise.
11728 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11730 * gdb.asm/asm-source.exp: Remove HP-UX references.
11731 * gdb.base/annota1.exp: Likewise.
11732 * gdb.base/annota3.exp: Likewise.
11733 * gdb.base/attach.exp: Likewise.
11734 * gdb.base/bigcore.exp: Likewise.
11735 * gdb.base/break.exp: Likewise.
11736 * gdb.base/call-ar-st.exp: Likewise.
11737 * gdb.base/callfuncs.exp: Likewise.
11738 * gdb.base/catch-fork-static.exp: Likewise.
11739 * gdb.base/display.exp: Likewise.
11740 * gdb.base/foll-exec-mode.exp: Likewise.
11741 * gdb.base/foll-exec.exp: Likewise.
11742 * gdb.base/foll-fork.exp: Likewise.
11743 * gdb.base/foll-vfork.exp: Likewise.
11744 * gdb.base/funcargs.exp: Likewise.
11745 * gdb.base/hbreak2.exp: Likewise.
11746 * gdb.base/inferior-died.exp: Likewise.
11747 * gdb.base/interrupt.exp: Likewise.
11748 * gdb.base/multi-forks.exp: Likewise.
11749 * gdb.base/nodebug.exp: Likewise.
11750 * gdb.base/sepdebug.exp: Likewise.
11751 * gdb.base/solib1.c: Likewise.
11752 * gdb.base/step-test.exp: Likewise.
11753 * gdb.mi/non-stop.c: Likewise.
11754 * gdb.mi/pthreads.c: Likewise.
11755 * gdb.multi/bkpt-multi-exec.ex: Likewise.
11756 * gdb.threads/pthreads.c: Likewise.
11757 * gdb.threads/staticthreads.exp: Likewise.
11758 * lib/future.exp: Likewise.
11759 * lib/gdb.exp: Likewise.
11760 * gdb.base/so-indr-cl.c: Remove.
11761 * gdb.base/so-indr-cl.exp: Likewise.
11762 * gdb.base/solib.c: Likewise.
11763 * gdb.base/solib.exp: Likewise.
11764 * gdb.base/solib2.c: Likewise.
11766 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
11768 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
11769 * gdb.base/call-ar-st.exp: Likewise.
11770 * gdb.base/callfuncs.exp: Likewise.
11771 * gdb.base/condbreak.exp: Likewise.
11772 * gdb.base/constvars.exp: Likewise.
11773 * gdb.base/hbreak2.exp: Likewise.
11774 * gdb.base/langs.exp: Likewise.
11775 * gdb.base/list.exp: Likewise.
11776 * gdb.base/long_long.exp: Likewise.
11777 * gdb.base/ptype.exp: Likewise.
11778 * gdb.base/scope.exp: Likewise.
11779 * gdb.base/signals.exp: Likewise.
11780 * gdb.base/so-impl-ld.exp: Likewise.
11781 * gdb.base/varargs.exp: Likewise.
11782 * gdb.base/volatile.exp: Likewise.
11783 * gdb.base/whatis.exp: Likewise.
11784 * gdb.cp/cplusfuncs.exp: Likewise.
11785 * gdb.cp/inherit.exp: Likewise.
11786 * gdb.cp/local.exp: Likewise.
11787 * gdb.cp/member-ptr.exp: Likewise.
11788 * gdb.cp/method.exp: Likewise.
11789 * gdb.cp/overload.exp: Likewise.
11790 * gdb.cp/templates.exp: Likewise.
11791 * gdb.stabs/weird.exp: Likewise.
11792 * lib/compiler.c: Likewise.
11793 * lib/compiler.cc: Likewise.
11794 * lib/cp-support.exp: Likewise.
11795 * lib/gdb.exp: Likewise.
11797 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
11799 * configure.ac: Remove HP-UX case.
11800 * configure: Regenerate.
11802 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
11804 * lib/gdb.exp (gdb_compile): Add function doc.
11806 2015-12-17 Pedro Alves <palves@redhat.com>
11809 * gdb.multi/info-threads.exp: New file.
11811 2015-12-15 Yao Qi <yao.qi@linaro.org>
11813 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
11816 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11818 * gdb.base/history-duplicates.exp: Skip if no readline support.
11820 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11822 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
11824 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11826 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
11828 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11830 * gdb.base/completion.exp: Skip tests that interrupt GDB with
11831 ctrl-C if nointerrupts target property is set.
11832 * gdb.base/double-prompt-target-event-error.exp: Likewise.
11833 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
11834 * gdb.base/paginate-bg-execution.exp: Likewise.
11835 * gdb.base/paginate-execution-startup.exp: Likewise.
11836 * gdb.base/random-signal.exp: Likewise.
11837 * gdb.base/range-stepping.exp: Likewise.
11838 * gdb.cp/annota2.exp: Likewise.
11839 * gdb.cp/annota3.exp: Likewise.
11840 * gdb.gdb/selftest.exp: Likewise.
11841 * gdb.threads/continue-pending-status.exp: Likewise.
11842 * gdb.threads/leader-exit.exp: Likewise.
11843 * gdb.threads/manythreads.exp: Likewise.
11844 * gdb.threads/pthreads.exp: Likewise.
11845 * gdb.threads/schedlock.exp: Likewise.
11846 * gdb.threads/sigthread.exp: Likewise.
11848 2015-12-11 Don Breazeal <donb@codesourcery.com>
11850 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
11852 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
11853 * gdb.base/foll-exec.exp (main): Enable for target remote.
11854 * gdb.base/foll-fork.exp (main): Likewise.
11855 * gdb.base/foll-vfork.exp (main): Likewise.
11856 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
11857 (proc continue_to_exit_bp_loc): Use clean_restart.
11858 * gdb.base/pie-execl.exp (main): Disable for target remote.
11859 * gdb.base/watch-vfork.exp (main): Enable for target remote.
11860 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
11861 * gdb.threads/execl.exp (main): Likewise.
11862 * gdb.threads/fork-child-threads.exp (main): Likewise.
11863 * gdb.threads/fork-plus-threads.exp (main): Disable for target
11865 * gdb.threads/fork-thread-pending.exp (main): Enable for target
11867 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
11868 pid.tid style ptids, instead of just tid.
11869 * gdb.threads/thread-execl.exp (main): Enable for target remote.
11870 * gdb.threads/watchpoint-fork.exp (main): Likewise.
11871 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
11872 ptids, instead of just tid.
11874 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11876 * gdb.base/list.exp (test_list_forward): Add end of file error
11878 (test_repeat_list_command): Add end of file error test.
11879 (test_list_backwards): Add beginning of file error test.
11881 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11883 * gdb.base/list.exp (test_list_invalid_args): New function,
11884 defined, and called.
11886 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11888 * gdb.base/list.exp (test_list): Make test names unique.
11890 2015-12-11 Yao Qi <yao.qi@linaro.org>
11892 * gdb.base/coremaker2.c: Remove.
11894 2015-12-10 Pedro Alves <palves@redhat.com>
11896 * gdb.multi/base.exp: Remove stale "spaces" references.
11898 2015-12-10 Pedro Alves <palves@redhat.com>
11900 * gdb.multi/base.exp: Don't use nowarnings.
11901 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
11902 * gdb.multi/hangout.c: Include stdio.h.
11903 * gdb.multi/hello.c: Include stdlib.h.
11904 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
11905 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
11906 * gdb.multi/multi-arch.exp: Don't use nowarnings.
11908 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
11910 * gdb.dwarf2/dw2-ranges-base.c: New file.
11911 * gdb.dwarf2/dw2-ranges-base.exp: New file.
11912 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
11913 support additional line table, and debug ranges generation.
11914 (Dwarf::ranges): New function, generate .debug_ranges.
11915 (Dwarf::lines): Support generating simple line table programs.
11916 (Dwarf::assemble): Initialise new namespace variables.
11918 2015-12-09 Kevin Buettner <kevinb@redhat.com>
11920 * gdb.base/async.exp (proc test_background): Add case for
11921 asynchronous execution not supported.
11923 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
11925 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
11926 format and change test names to make them unique.
11928 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
11929 Pedro Alves <pedro@redhat.com>
11932 Add checking of floatformats setup on x86_64 hosts.
11933 * gdb.arch/i386-float.S (main): Load bigval and smallval.
11934 (smallval, bigval): New labels/constants.
11935 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
11936 float" after loading bigval and smallval.
11938 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
11940 * gdb.ada/fun_overload_menu.exp: New testcase.
11941 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
11943 2015-12-04 Josh Stone <jistone@redhat.com>
11945 * gdb.base/catch-fork-static.exp: New.
11947 2015-12-03 Yao Qi <yao.qi@linaro.org>
11949 * gdb.base/sizeof.c: Don't include stdio.h and
11950 ../lib/unbuffer_output.c.
11951 (main): New variable 'size' and 'value'. Remove printf and
11952 gdb_unbuffer_output. Assign return value to size and value.
11953 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
11955 (check_sizeof): Check the result by printing variable 'size'.
11956 (check_valueof): Check the result by printing variable 'value'.
11958 2015-12-01 Yao Qi <yao.qi@linaro.org>
11960 * gdb.base/disp-step-syscall.exp: Define syscall instruction
11961 for aarch64*-*-linux* target.
11963 2015-11-30 Pedro Alves <palves@redhat.com>
11965 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
11967 2015-11-30 Pedro Alves <palves@redhat.com>
11969 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
11970 Handle non-stop mode vCont replies.
11972 2015-11-30 Pedro Alves <palves@redhat.com>
11974 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
11975 prepare_for_testing. Start gdb with "set non-stop on" appended to
11976 GDBFLAGS. Lax expected stop output.
11978 2015-11-27 Yao Qi <yao.qi@linaro.org>
11980 * gdb.arch/arm-neon.exp: New.
11981 * gdb.arch/arm-neon.c: New.
11983 2015-11-27 Yao Qi <yao.qi@linaro.org>
11985 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
11987 2015-11-27 Yao Qi <yao.qi@linaro.org>
11989 * gdb.cp/annota2.exp: Allow multiple occurrences of the
11990 frames-invalid annotation.
11992 2015-11-27 Yao Qi <yao.qi@linaro.org>
11994 * gdb.cp/annota2.exp: Use ${frames_invalid}.
11996 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
11998 * gdb.threads/names.exp: New file.
11999 * gdb.threads/names.c: New file.
12000 * README: Mention gdb,no_thread_names.
12002 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
12005 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
12008 2015-11-24 Pedro Alves <palves@redhat.com>
12011 * gdb.base/display.exp: Expect displays to be sorted in ascending
12012 order. Use multi_line.
12013 * gdb.base/solib-display.exp: Likewise.
12015 2015-11-24 Pedro Alves <palves@redhat.com>
12018 * gdb.base/display.exp: Expect displays to be sorted in ascending
12019 order. Use multi_line.
12020 * gdb.base/solib-display.exp: Likewise.
12022 2015-11-24 Pedro Alves <palves@redhat.com>
12025 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
12026 threads in ascending order.
12027 * gdb.base/foll-fork.exp: Likewise.
12028 * gdb.base/foll-vfork.exp: Likewise.
12029 * gdb.base/multi-forks.exp: Likewise.
12030 * gdb.mi/mi-nonstop.exp: Likewise.
12031 * gdb.mi/mi-nsintrall.exp: Likewise.
12032 * gdb.multi/base.exp: Likewise.
12033 * gdb.multi/multi-arch.exp: Likewise.
12034 * gdb.python/py-inferior.exp: Likewise.
12035 * gdb.threads/break-while-running.exp: Likewise.
12036 * gdb.threads/execl.exp: Likewise.
12037 * gdb.threads/gcore-thread.exp: Likewise.
12038 * gdb.threads/info-threads-cur-sal.exp: Likewise.
12039 * gdb.threads/kill.exp: Likewise.
12040 * gdb.threads/linux-dp.exp: Likewise.
12041 * gdb.threads/multiple-step-overs.exp: Likewise.
12042 * gdb.threads/next-bp-other-thread.exp: Likewise.
12043 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
12044 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
12045 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
12046 * gdb.threads/thread-find.exp: Likewise.
12047 * gdb.threads/tls.exp: Likewise.
12048 * lib/mi-support.exp (mi_reverse_list): Delete.
12049 (mi_check_thread_states): No longer reverse list.
12051 2015-11-24 Pedro Alves <palves@redhat.com>
12053 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
12056 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
12058 * gdb.trace/actions.c: Include trace-common.h.
12059 (main): Add a location for a fast tracepoint.
12060 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
12061 the normal tracepoints.
12062 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
12064 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
12066 * save-trace.exp: Factor out code to these...
12067 (gdb_save_tracepoints): New.
12068 (gdb_load_tracepoints): New.
12069 (do_save_load_test): New.
12071 2015-11-23 Kevin Buettner <kevinb@redhat.com>
12073 * gdb.base/asmlabel.exp: New test.
12074 * gdb.base/asmlabel.c: New test case.
12076 2015-11-23 Joel Brobecker <brobecker@adacore.com>
12078 * gdb.base/wrong_frame_bt_full-main.c: New file.
12079 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
12080 * gdb.base/wrong_frame_bt_full.exp: New file.
12082 2015-11-23 Joel Brobecker <brobecker@adacore.com>
12084 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
12086 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
12088 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
12089 pstate register when comparing registers values in
12090 sparc64-*-linux-gnu targets to avoid spurious differences.
12092 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
12094 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
12096 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
12098 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
12099 as type argument to gdb_compile.
12100 * gdb.base/nested-subp2.exp: Likewise.
12101 * gdb.base/nested-subp3.exp: Likewise.
12103 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
12105 * lib/dwarf.exp (_note): Fix left shift of negative value.
12106 * gdb.trace/trace-condition.exp: Likewise.
12108 2015-11-13 Yao Qi <yao.qi@linaro.org>
12110 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
12111 comments about d10v.
12112 (test_scalar_returns): Likewise.
12113 * gdb.base/d10v.ld: Remove.
12114 * gdb.base/overlays.exp: Remove the target triplet checking for
12116 * gdb.base/structs.exp (test_struct_returns): Remove the
12117 comments about d10v.
12118 (test_struct_calls): Likewise.
12120 2015-11-13 Yao Qi <yao.qi@linaro.org>
12122 * gdb.base/gnu_vector.exp: Check the return value by "p res".
12123 * gdb.base/gnu_vector.c: Don't include stdio.h.
12124 (main): Don't print res and call add_some_intvecs.
12126 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
12128 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
12131 (func4): Use FAST_TRACEPOINT_LABEL.
12132 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
12135 (thread_function): Use FAST_TRACEPOINT_LABEL.
12136 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
12138 (marker): Use FAST_TRACEPOINT_LABEL.
12139 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
12140 (pendfunc1): Remove.
12141 (pendfunc): Use FAST_TRACEPOINT_LABEL.
12142 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
12144 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
12145 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
12148 (marker): Use FAST_TRACEPOINT_LABEL.
12149 * gdb.trace/trace-common.h: New header.
12150 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
12153 (marker): Use FAST_TRACEPOINT_LABEL.
12154 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
12156 (thread_function): Use FAST_TRACEPOINT_LABEL.
12158 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
12160 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
12162 * gdb.trace/change-loc.exp: Use global pcreg definition.
12163 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
12164 * gdb.trace/entry-values.exp: Use global spreg definition, add $
12166 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
12167 * gdb.trace/pending.exp: Likewise.
12168 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
12169 * gdb.trace/trace-break.exp: Likewise.
12170 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
12172 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
12173 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
12175 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
12177 2015-11-09 Joel Brobecker <brobecker@adacore.com>
12179 * gdb.ada/fin_fun_out: New testcase.
12181 2015-11-07 Kevin Buettner <kevinb@redhat.com>
12183 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
12184 value associated with DW_AT_byte_size.
12185 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
12186 constants for DW_AT_byte_size, DW_AT_lower_bound, and
12189 2015-11-07 Kevin Buettner <kevinb@redhat.com>
12191 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
12192 (gdb_target_symbol_prefix_flags): Define in terms of _asm
12194 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
12195 gdb.dwarf2/dw2-canonicalize-type.exp,
12196 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
12197 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
12198 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
12199 provided by gdb_target_symbol_prefix_flags_asm.
12200 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
12201 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
12202 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
12203 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
12204 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
12205 macros where needed). Use this macro for symbols which require
12206 the prefix provided by SYMBOL_PREFIX.
12208 2015-11-05 Kevin Buettner <kevinb@redhat.com>
12210 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
12212 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
12213 representing expressions, of more than one list element.
12214 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
12215 to prepend linker symbol prefix to f.
12216 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
12217 table_1 and table_2.
12218 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
12219 Likewise, for f and g.
12220 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
12222 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
12224 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
12225 table_1_ptr and table_2_ptr.
12227 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12228 Joel Brobecker <brobecker@adacore.com>
12230 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
12232 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
12234 * gdb.reverse/s390-mvcle.c: New test.
12235 * gdb.reverse/s390-mvcle.exp: New file.
12236 * lib/gdb.exp: Enable reverse tests on s390*-linux.
12238 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
12240 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
12242 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
12244 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
12246 * gdb.reverse/getresuid-reverse.exp: Likewise.
12247 * gdb.reverse/pipe-reverse.exp: Likewise.
12248 * gdb.reverse/readv-reverse.exp: Likewise.
12249 * gdb.reverse/recvmsg-reverse.exp: Likewise.
12250 * gdb.reverse/time-reverse.exp: Likewise.
12251 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
12253 2015-10-30 Yao Qi <yao.qi@linaro.org>
12255 * gdb.threads/wp-replication.c (watch_count_done): Remove.
12256 (empty_cycle): Remove.
12257 (main): Don't call empty_cycle. Don't use watch_count_done.
12258 * gdb.threads/wp-replication.exp: Don't set breakpoint on
12259 empty_cycle. Rewrite the code counting HW watchpoints.
12261 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
12263 * gdb.reverse/fstatat-reverse.c: New test.
12264 * gdb.reverse/fstatat-reverse.exp: New file.
12265 * gdb.reverse/getresuid-reverse.c: New test.
12266 * gdb.reverse/getresuid-reverse.exp: New file.
12267 * gdb.reverse/pipe-reverse.c: New test.
12268 * gdb.reverse/pipe-reverse.exp: New file.
12269 * gdb.reverse/readv-reverse.c: New test.
12270 * gdb.reverse/readv-reverse.exp: New file.
12271 * gdb.reverse/recvmsg-reverse.c: New test.
12272 * gdb.reverse/recvmsg-reverse.exp: New file.
12273 * gdb.reverse/time-reverse.c: New test.
12274 * gdb.reverse/time-reverse.exp: New file.
12275 * gdb.reverse/waitpid-reverse.c: New test.
12276 * gdb.reverse/waitpid-reverse.exp: New file.
12278 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12280 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
12282 2015-10-26 Doug Evans <dje@google.com>
12285 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
12286 * gdb.dwarf2/bad-regnum.c: New file.
12287 * gdb.dwarf2/bad-regnum.exp: New file.
12289 2015-10-26 Doug Evans <dje@google.com>
12292 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
12295 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12297 * gdb.compile/compile.exp (compile code globalvar): Update expectation
12298 for a change by "Mention language in compile error message".
12300 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
12303 * gdb.python/py-type.c (C::a_method): New.
12304 (C::a_const_method): New.
12305 (C::a_static_method): New.
12307 * gdb.python/py-type.exp (test_fields): Test getting fields
12308 from function and method.
12310 2015-10-21 Keven Boell <keven.boell@intel.com>
12312 * gdb.fortran/vla-alloc-assoc.exp: New file.
12313 * gdb.fortran/vla-datatypes.exp: New file.
12314 * gdb.fortran/vla-datatypes.f90: New file.
12315 * gdb.fortran/vla-history.exp: New file.
12316 * gdb.fortran/vla-ptype-sub.exp: New file.
12317 * gdb.fortran/vla-ptype.exp: New file.
12318 * gdb.fortran/vla-sizeof.exp: New file.
12319 * gdb.fortran/vla-sub.f90: New file.
12320 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
12321 * gdb.fortran/vla-value-sub-finish.exp: New file.
12322 * gdb.fortran/vla-value-sub.exp: New file.
12323 * gdb.fortran/vla-value.exp: New file.
12324 * gdb.fortran/vla-ptr-info.exp: New file.
12325 * gdb.mi/mi-vla-fortran.exp: New file.
12326 * gdb.mi/vla.f90: New file.
12328 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
12330 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
12331 of hardwired timeout value.
12333 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12334 Pedro Alves <palves@redhat.com>
12336 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
12337 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
12339 2015-10-19 Josh Stone <jistone@redhat.com>
12341 * gdb.base/catch-syscall.c: Include <sched.h>.
12342 (unknown_syscall): New variable.
12343 (main): Trigger a vfork and an unknown syscall.
12344 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
12345 (unknown_syscall_number): Likewise.
12346 (check_call_to_syscall): Accept an optional syscall pattern.
12347 (check_return_from_syscall): Likewise.
12348 (check_continue): Likewise.
12349 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
12350 (test_catch_syscall_skipping_return): New test toggling off 'catch
12351 syscall' to step over the syscall return, then toggling back on.
12352 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
12353 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
12354 (do_syscall_tests): Call test_catch_syscall_without_args and
12355 test_catch_syscall_mid_vfork.
12356 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
12357 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
12359 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
12361 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
12362 print g_vE): Add new pass patterns.
12363 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
12364 print various symbol names for vptr fields.
12366 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
12368 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
12371 2015-10-12 Yao Qi <yao.qi@linaro.org>
12373 * gdb.arch/disp-step-insn-reloc.exp: New test case.
12375 2015-10-12 Yao Qi <yao.qi@linaro.org>
12377 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
12378 is aarch64*-*-linux*.
12380 2015-10-12 Yao Qi <yao.qi@linaro.org>
12382 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
12383 (can_relocate_bcond_true): ... it.
12384 (can_relocate_bcond_false): New function.
12386 (can_relocate_bl): Likewise.
12387 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
12390 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
12392 * gdb.base/nested-addr.c: New file.
12393 * gdb.base/nested-addr.exp: New testcase.
12395 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
12397 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
12398 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
12399 its output. Ignore the output of "record goto begin" and instead
12400 check that GDB is replaying.
12402 2015-10-09 Pedro Alves <palves@redhat.com>
12404 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
12405 (top level): Use it in the run with no args test.
12407 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
12409 * gdb.dlang/properties.exp: New file.
12411 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
12413 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
12414 whether or not address 0x1000 is mapped on the target.
12416 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
12418 * gdb.python/py-type.exp: Do not run tests if binaries fail to
12421 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
12423 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
12424 instruction-history test.
12426 2015-09-28 Doug Evans <dje@google.com>
12428 * gdb.base/gcore.c (array_func): Add reference to static_array.
12430 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
12432 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
12435 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
12437 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
12438 short or char as base type.
12440 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
12442 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
12443 to allow any size enum.
12445 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
12447 * gdb.ada/array_ptr_renaming.exp: New testcase.
12448 * gdb.ada/array_ptr_renaming/foo.adb: New file.
12449 * gdb.ada/array_ptr_renaming/pack.ads: New file.
12451 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12453 * gdb.trace/ftrace-lock.c: New file.
12454 * gdb.trace/ftrace-lock.exp: New file.
12456 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12458 * gdb.arch/insn-reloc.c: New file.
12459 * gdb.arch/ftrace-insn-reloc.exp: New file.
12461 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
12463 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
12465 * gdb.trace/pendshr1.c (pendfunc): Likewise.
12466 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
12467 * gdb.trace/range-stepping.c: Likewise.
12468 * gdb.trace/trace-break.c: Likewise.
12469 * gdb.trace/trace-mt.c (thread_function): Likewise.
12470 * gdb.trace/ftrace.c (marker): Likewise.
12471 * gdb.trace/trace-condition.c (marker): Likewise.
12472 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
12473 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
12476 2015-09-18 Doug Evans <xdje42@gmail.com>
12478 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
12479 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
12481 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12483 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
12486 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12488 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
12489 the pending breakpoint. Remove timeout override for "Run till
12490 MI pending breakpoint on pendfunc3 on thread 2" test.
12492 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12494 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
12497 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12499 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
12500 in breakpoint filename pattern.
12502 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12504 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
12506 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
12508 * gdb.linespec/explicit.exp: Check for readline support for
12509 tab-completion tests. Fix obvious typo.
12511 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12513 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
12516 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
12518 * gdb.btrace/non-stop.c: New.
12519 * gdb.btrace/non-stop.exp: New.
12521 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
12522 Yao Qi <yao.qi@linaro.org>
12524 * gdb.trace/trace-condition.c: New file.
12525 * gdb.trace/trace-condition.exp: New file.
12527 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
12529 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
12530 for testing bytecode compilation.
12532 2015-09-16 Pedro Alves <palves@redhat.com>
12533 Sandra Loosemore <sandra@codesourcery.com>
12535 * gdb.threads/non-stop-fair-events.c (timeout): New global.
12536 (SECONDS): Redefine.
12537 (main): Call pthread_kill and alarm early.
12538 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
12540 (test): If the target can't hardware step and doesn't support
12541 displaced stepping, increase the timeout.
12543 2015-09-16 Pedro Alves <palves@redhat.com>
12545 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
12546 (enable_debug): New procedures.
12547 (test): Use them. Bail out if waiting for threads fails.
12548 (top level): Bail out if a test fails.
12550 2015-09-16 Yao Qi <yao.qi@linaro.org>
12552 * gdb.asm/asm-source.exp: Set asm-arch for
12553 aarch64*-*-* target.
12554 * gdb.asm/aarch64.inc: New file.
12556 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
12558 * gdb.ada/array_of_variable_length.exp: New testcase.
12559 * gdb.ada/array_of_variable_length/foo.adb: New file.
12560 * gdb.ada/array_of_variable_length/pck.adb: New file.
12561 * gdb.ada/array_of_variable_length/pck.ads: New file.
12563 2015-09-15 Doug Evans <dje@google.com>
12565 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
12566 of function static local variable.
12568 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
12570 * gdb.threads/tls-so_extern.exp: New test file.
12571 * gdb.threads/tls-so_extern.c: New test file.
12572 * gdb.threads/tls-so_extern_main.c: New test file.
12574 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12576 * gdb.opt/solib-intra-step-lib.c: New file.
12577 * gdb.opt/solib-intra-step-main.c: New file.
12578 * gdb.opt/solib-intra-step.exp: New file.
12580 2015-09-15 Pedro Alves <palves@redhat.com>
12582 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
12583 gdb_continue_to_breakpoint instead of gdb_test_multiple.
12585 2015-09-14 Pedro Alves <palves@redhat.com>
12587 * gdb.base/hook-stop-continue.c: Delete.
12588 * gdb.base/hook-stop-continue.exp: Delete.
12589 * gdb.base/hook-stop-frame.c: Delete.
12590 * gdb.base/hook-stop-frame.exp: Delete.
12591 * gdb.base/hook-stop.c: New file.
12592 * gdb.base/hook-stop.exp: New file.
12594 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
12596 * gdb.ada/access_to_packed_array.exp: New testcase.
12597 * gdb.ada/access_to_packed_array/foo.adb: New file.
12598 * gdb.ada/access_to_packed_array/pack.adb: New file.
12599 * gdb.ada/access_to_packed_array/pack.ads: New file.
12601 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
12603 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
12606 2015-09-11 Don Breazeal <donb@codesourcery.com>
12608 * gdb.base/foll-exec.c: Add copyright header. Fix
12610 * gdb.base/foll-exec.exp (zap_session): Delete proc.
12611 (do_exec_tests): Use clean_restart in place of zap_session,
12612 and for test initialization. Fix formatting issues. Use
12613 fail in place of perror.
12614 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
12615 an expect statement to match an expression with output from
12616 the program under debug.
12617 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
12618 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
12619 * gdb.threads/non-ldr-exc-2.exp: Likewise.
12620 * gdb.threads/non-ldr-exc-3.exp: Likewise.
12621 * gdb.threads/non-ldr-exc-4.exp: Likewise.
12623 2015-09-09 Doug Evans <dje@google.com>
12625 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
12627 2015-09-09 Doug Evans <dje@google.com>
12629 * gdb.base/pie-execl.exp: Fix result test of build_executable.
12631 2015-09-09 Doug Evans <dje@google.com>
12633 * gdb.base/savedregs.exp: Fix typo.
12635 2015-09-09 Pedro Alves <palves@redhat.com>
12637 * gdb.mi/mi-cli.exp: Add CLI finish tests.
12639 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
12641 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
12642 command actually switches threads. Give up on remaining
12643 tests if target fails to stop at breakpoint.
12645 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
12647 * gdb.ada/funcall_char.exp: New testcase.
12648 * gdb.ada/funcall_char/foo.adb: New file.
12650 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
12652 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
12653 expected outputs. Add two testcases for completing ambiguous
12655 * gdb.ada/complete/aux_pck.adb: New file.
12656 * gdb.ada/complete/aux_pck.ads: New file.
12657 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
12658 Ambiguous_Func functions.
12659 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
12660 * gdb.ada/complete/pck.adb: Likewise.
12662 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
12664 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
12665 failures to run the test program under GDB.
12667 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
12669 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
12672 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
12674 * gdb.base/run-after-attach.exp: New test file.
12675 * gdb.base/run-after-attach.c: New test file.
12677 2015-08-26 Don Breazeal <donb@codesourcery.com>
12679 * gdb.base/foll-exec-2.c: New test program.
12680 * gdb.base/foll-exec-2.exp: New test.
12682 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
12684 * gdb.base/nested-subp1.exp: New file.
12685 * gdb.base/nested-subp1.c: New file.
12686 * gdb.base/nested-subp2.exp: New file.
12687 * gdb.base/nested-subp2.c: New file.
12688 * gdb.base/nested-subp3.exp: New file.
12689 * gdb.base/nested-subp3.c: New file.
12691 2015-08-24 Pedro Alves <palves@redhat.com>
12693 * gdb.server/connect-without-multi-process.c: New file.
12694 * gdb.server/connect-without-multi-process.exp: New file.
12696 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
12698 * gdb.opt/inline-markers.c: Make z int.
12700 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
12702 * gdb.opt/inline-markers.c: Make z volatile.
12704 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
12706 * gdb.opt/inline-bt.c: New volatile global z.
12707 * gdb.opt/inline-cmds.c: Likewise.
12708 * gdb.opt/inline-locals.c: Likewise.
12709 * gdb.opt/inline-markers.c: New extern global z.
12711 (inline_fn): Likewise.
12713 2015-08-24 Pedro Alves <palves@redhat.com>
12715 * config/m32r-stub.exp: Remove file.
12716 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
12717 * gdb.base/call-rt-st.exp: Likewise.
12718 * gdb.base/call-strs.exp: Likewise.
12719 * gdb.base/default.exp: Remove references to h8300-*-hms and
12721 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
12723 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12725 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
12726 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
12727 and "return" use KFAIL when GDB can not read/write the vector
12730 2015-08-21 Gary Benson <gbenson@redhat.com>
12732 * gdb.trace/pending.exp: Cope with remote transfer warnings.
12734 2015-08-20 Pedro Alves <palves@redhat.com>
12736 * gdb.server/solib-list.exp: No longer expect an interior stop in
12739 2015-08-20 Pedro Alves <palves@redhat.com>
12741 * gdb.server/connect-stopped-target.c: New file.
12742 * gdb.server/connect-stopped-target.exp: New file.
12744 2015-08-20 Pedro Alves <palves@redhat.com>
12746 * gdb.dwarf2/comp-unit-lang.exp: New file.
12747 * gdb.dwarf2/comp-unit-lang.c: New file.
12749 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
12751 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
12752 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
12754 2015-08-19 Kevin Buettner <kevinb@redhat.com>
12756 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
12757 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
12759 2015-08-18 Doug Evans <dje@google.com>
12760 Adrian Sendroiu <adrian.sendroiu@freescale.com>
12762 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
12763 skip_python_tests. New arg prompt_regexp.
12764 (skip_python_tests): New function.
12765 * lib/mi-support.exp (mi_skip_python_tests): New function.
12766 * gdb.python/py-mi-objfile-gdb.py: New file.
12767 * gdb.python/py-mi-objfile.c: New file.
12768 * gdb.python/py-mi-objfile.exp: New file.
12770 2015-08-17 Keith Seitz <keiths@redhat.com>
12772 * gdb.linespec/explicit.exp: Move strace test from here ...
12773 * gdb.trace/strace.exp: ... to here.
12775 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
12777 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
12778 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
12780 2015-08-14 Doug Evans <xdje42@gmail.com>
12782 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
12783 inferior before selecting a new file.
12785 2015-08-14 Doug Evans <xdje42@gmail.com>
12787 * gdb.mi/mi-disassemble.exp: Update.
12788 * gdb.base/disasm-optim.S: New file.
12789 * gdb.base/disasm-optim.c: New file.
12790 * gdb.base/disasm-optim.h: New file.
12791 * gdb.base/disasm-optim.exp: New file.
12793 2015-08-14 Keith Seitz <keiths@redhat.com>
12795 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
12798 2015-08-13 Joel Brobecker <brobecker@adacore.com>
12800 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
12802 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
12804 * gdb.ada/fun_renaming.exp: New testcase.
12805 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
12806 * gdb.ada/fun_renaming/pack.adb: New file.
12807 * gdb.ada/fun_renaming/pack.ads: New file.
12809 2015-08-12 Keith Seitz <keiths@redhat.com>
12811 * gdb.base/dso2dso.exp: Pass basename of source file in call to
12812 gdb_get_line_number.
12814 2015-08-12 Joel Brobecker <brobecker@adacore.com>
12816 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
12817 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
12818 gdb.base/dso2dso.exp: New files.
12820 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
12821 Pedro Alves <palves@redhat.com>
12822 Keith Seitz <keiths@redhat.com>
12824 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
12827 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12829 * gdb.base/gdbhistsize-history.exp
12830 (test_histsize_history_setting): Use save_vars.
12831 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12833 (test_no_truncation_of_unlimited_history_file): Use save_vars.
12834 * gdb.base/readline.exp: Use save_vars.
12836 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12838 * lib/gdb.exp (save_vars): New proc.
12840 2015-08-11 Keith Seitz <keiths@redhat.com>
12842 * gdb.base/help.exp: Update help_breakpoint_text.
12844 2015-08-11 Keith Seitz <keiths@redhat.com>
12846 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
12847 (at toplevel): Call test_explicit_breakpoints.
12848 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
12850 * lib/mi-support.exp (mi_make_breakpoint): Add support for
12851 breakpoint conditions, "-cond".
12853 2015-08-11 Keith Seitz <keiths@redhat.com>
12855 * gdb.linespec/3explicit.c: New file.
12856 * gdb.linespec/cpexplicit.cc: New file.
12857 * gdb.linespec/cpexplicit.exp: New file.
12858 * gdb.linespec/explicit.c: New file.
12859 * gdb.linespec/explicit.exp: New file.
12860 * gdb.linespec/explicit2.c: New file.
12861 * gdb.linespec/ls-errs.exp: Add explicit location tests.
12862 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
12863 before using in the matching pattern.
12864 Clarify that `prefix' is a regular expression.
12866 2015-08-11 Keith Seitz <keiths@redhat.com>
12868 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
12870 Add tests for missing ",FMT" and ",".
12872 2015-08-10 Doug Evans <dje@google.com>
12873 Keith Seitz <keiths@redhat.com>
12876 * gdb.base/completion.exp: Add location completer tests.
12878 2015-08-07 Pedro Alves <palves@redhat.com>
12880 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
12882 (top level): Run do_test with and without displaced stepping.
12884 2015-08-07 Pedro Alves <palves@redhat.com>
12886 * gdb.base/valgrind-disp-step.c: New file.
12887 * gdb.base/valgrind-disp-step.exp: New file.
12889 2015-08-07 Pedro Alves <palves@redhat.com>
12891 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
12893 (main): Add alarm. Run an infinite loop instead of calling
12895 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
12897 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
12899 (main): Add alarm. Run an infinite loop instead of calling
12901 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
12904 2015-08-07 Pedro Alves <palves@redhat.com>
12906 * gdb.base/checkpoint-ns.exp: New file.
12907 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
12910 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
12912 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
12913 * gdb.btrace/instruction_history.exp: Update.
12914 * gdb.btrace/tsx.exp: New.
12915 * gdb.btrace/tsx.c: New.
12917 2015-08-06 Pedro Alves <palves@redhat.com>
12919 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
12921 * gdb.reverse/until-precsave.exp: Bump timeouts.
12923 2015-08-06 Pedro Alves <palves@redhat.com>
12925 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
12927 2015-08-06 Pedro Alves <palves@redhat.com>
12930 * gdb.threads/process-dies-while-handling-bp.c: New file.
12931 * gdb.threads/process-dies-while-handling-bp.exp: New file.
12933 2015-08-06 Pedro Alves <palves@redhat.com>
12935 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
12936 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
12938 2015-08-05 Pedro Alves <palves@redhat.com>
12940 * gdb.threads/next-while-other-thread-longjmps.c: New file.
12941 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
12943 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
12945 * gdb.base/bp-permanent.exp: Report test as unsupported if
12946 the target cannot stop at the permanent breakpoint.
12948 2015-08-03 Doug Evans <dje@google.com>
12950 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
12953 2015-08-03 Doug Evans <dje@google.com>
12955 * Makefile.in (workers/%.worker, build-perf): New rule.
12956 (GDB_PERFTEST_MODE): New variable.
12957 (check-perf): Use it.
12958 (clean): Clean up gdb.perf parallel build subdirs.
12959 * lib/build-piece.exp: New file.
12960 * lib/gdb.exp (make_gdb_parallel_path): New function
12961 (standard_output_file, standard_temp_file): Call it.
12962 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12964 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
12966 2015-08-03 Doug Evans <dje@google.com>
12968 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
12969 (LOG_FILE_NAME): New global.
12970 (TextReporter.__init__): Initialize self.txt_sum.
12971 (TextReporter.report): Add support for multiple data-points.
12972 Move report to perftest.sum, put raw data in perftest.log.
12973 (TextReporter.start): Open sum and log files.
12974 (TextReporter.end): Close sum and log files.
12975 * gdb.perf/lib/perftest/testresult.py
12976 (SingleStatisticTestResult.record): Handle multiple data-points.
12978 2015-07-31 Pedro Alves <palves@redhat.com>
12980 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
12981 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12982 kill_wait_spawned_process instead of explicit "kill -9".
12983 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
12984 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12985 kill_wait_spawned_process.
12986 * gdb.base/attach-twice.exp: Likewise.
12987 * gdb.base/attach.exp: Likewise.
12988 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
12990 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
12991 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12992 kill_wait_spawned_process.
12993 * gdb.base/valgrind-infcall.exp: Likewise.
12994 * gdb.multi/multi-attach.exp: Likewise.
12995 * gdb.python/py-prompt.exp: Likewise.
12996 * gdb.python/py-sync-interp.exp: Likewise.
12997 * gdb.server/ext-attach.exp: Likewise.
12998 * gdb.threads/attach-into-signal.exp (corefunc): Use
12999 spawn_wait_for_attach, spawn_id_get_pid and
13000 kill_wait_spawned_process.
13001 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
13002 spawn_wait_for_attach returning a spawn id instead of a pid. Use
13003 spawn_id_get_pid and kill_wait_spawned_process.
13004 * gdb.threads/attach-stopped.exp (corefunc): Use
13005 spawn_wait_for_attach, spawn_id_get_pid and
13006 kill_wait_spawned_process.
13007 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
13008 Use spawn_id_get_pid. Wait for spawn id after eof. Use
13009 kill_wait_spawned_process instead of explicit "kill -9".
13010 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
13011 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
13012 (spawn_wait_for_attach): Use spawn instead of exec to spawn
13013 processes. Don't map cygwin/windows pids here. Now returns a
13016 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13018 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
13019 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
13022 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13024 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
13026 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13029 2014-05-21 Mark Wielaard <mjw@redhat.com>
13031 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
13033 2015-07-30 Pedro Alves <palves@redhat.com>
13035 * linux-low.c (handle_extended_wait): Set the child's last
13036 reported status to TARGET_WAITKIND_STOPPED.
13038 2015-07-30 Pedro Alves <palves@redhat.com>
13041 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
13042 only shows inferior 1.
13044 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
13045 Pedro Alves <palves@redhat.com>
13048 * gdb.threads/fork-plus-threads.c: New file.
13049 * gdb.threads/fork-plus-threads.exp: New file.
13051 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13053 * gdb.base/batch-preserve-term-settings.exp
13054 (test_terminal_settings_preserved_after_cli_exit): Use
13057 2015-07-29 Pedro Alves <palves@redhat.com>
13058 Don Breazeal <donb@codesourcery.com>
13060 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
13061 output from both inferior_spawn_id and gdb_spawn_id.
13063 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
13065 * gdb.threads/attach-into-signal.exp (corefunc): Use
13066 with_test_prefix on nested loops, uniquefying the test messages.
13068 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
13070 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
13073 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13075 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
13077 (test_terminal_settings_preserved_after_sigterm): New test.
13079 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13081 * gdb.base/batch-preserve-term-settings.exp
13082 (test_terminal_settings_preserved_after_cli_exit): New test.
13084 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13086 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
13087 manipulation of saved_gdbflags.
13088 (test_terminal_settings_preserved): Remove global declaration of
13089 the unused variable pagination_prompt. Remove manipulation of
13090 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
13093 2015-07-29 Pedro Alves <palves@redhat.com>
13095 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
13097 2015-07-29 Pedro Alves <palves@redhat.com>
13099 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
13102 2015-07-29 Pedro Alves <palves@redhat.com>
13104 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
13105 (main): Call gdb_unbuffer_output.
13106 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
13107 (main): Call gdb_unbuffer_output.
13108 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
13109 (main): Call gdb_unbuffer_output.
13110 * gdb.base/call-strs.exp: Adjust to step over the
13111 gdb_unbuffer_output call.
13112 * gdb.base/catch-gdb-caused-signals.c: Include
13113 "../lib/unbuffer_output.c".
13114 (main): Call gdb_unbuffer_output.
13115 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
13116 (main): Call gdb_unbuffer_output.
13117 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
13118 (main): Call gdb_unbuffer_output.
13119 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
13120 (main): Call gdb_unbuffer_output.
13121 * gdb.base/shlib-call.exp: Adjust to step over the
13122 gdb_unbuffer_output call.
13123 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
13124 (main): Call gdb_unbuffer_output.
13125 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
13126 (main): Call gdb_unbuffer_output.
13127 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
13128 (main): Rename to ...
13130 (main): Reimplement.
13131 * gdb.base/varargs.exp: Run to test instead of to main.
13132 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
13133 (main): Call gdb_unbuffer_output.
13135 2015-07-29 Pedro Alves <palves@redhat.com>
13137 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
13138 factore out from mi_continue_dprintf. For call-style dprintfs,
13139 expect dprintf output out of $inferior_spawn_id.
13140 (mi_continue_dprintf): Use mi_expect_dprintf.
13141 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
13142 (main): Call gdb_unbuffer_output.
13144 2015-07-29 Pedro Alves <palves@redhat.com>
13146 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
13147 (default_mi_gdb_start): Set inferior_spawn_id instead of
13148 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
13150 (mi_gdb_test): Always expect inferior output from both
13151 $inferior_spawn_id and $gdb_spawn_id.
13153 2015-07-29 Pedro Alves <palves@redhat.com>
13155 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
13156 send_inferior and $inferior_spawn_id.
13158 2015-07-29 Pedro Alves <palves@redhat.com>
13160 * gdb.gdb/complaints.exp (test_initial_complaints)
13161 (test_serial_complaints, test_short_complaints): Use
13163 (test_empty_complaint): Handle $inferior_spawn_id !=
13166 2015-07-29 Pedro Alves <palves@redhat.com>
13168 * gdb.base/varargs.exp: Use gdb_test_stdio.
13170 2015-07-29 Pedro Alves <palves@redhat.com>
13172 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
13174 2015-07-29 Pedro Alves <palves@redhat.com>
13176 * gdb.base/ending-run.exp: Use gdb_test_stdio.
13178 2015-07-29 Pedro Alves <palves@redhat.com>
13180 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
13181 parameter into two new parameters, "inf_result" and "gdb_result".
13182 Expect inferior output and gdb output from $inferior_spawn_id and
13183 $gdb_spawn_id, respectively. Adjust all callers.
13185 2015-07-29 Pedro Alves <palves@redhat.com>
13187 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
13188 of gdb_test_sequence.
13190 2015-07-29 Pedro Alves <palves@redhat.com>
13192 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
13193 (saw_spurious_output): Expect inferior output from
13194 $inferior_spawn_id. Use gdb_test_stdio.
13196 2015-07-29 Pedro Alves <palves@redhat.com>
13198 * gdb.base/dprintf.exp: Use standard_testfile. Change
13199 prepare_for_testing call.
13200 (srcfile): Don't set.
13201 (restart): New procedure.
13202 (test_dprintf): New procecure, use to continue over dprintfs.
13203 (test_call, test_agent): New procedures, tests moved here.
13204 Restart gdb and recreate dprintfs. Adjust expected output.
13206 2015-07-29 Pedro Alves <palves@redhat.com>
13208 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
13210 2015-07-29 Pedro Alves <palves@redhat.com>
13212 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
13214 2015-07-29 Pedro Alves <palves@redhat.com>
13216 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
13219 2015-07-29 Pedro Alves <palves@redhat.com>
13221 * lib/gdb.exp (gdb_test_stdio): New procedure.
13223 2015-07-29 Pedro Alves <palves@redhat.com>
13225 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
13227 2015-07-29 Pedro Alves <palves@redhat.com>
13229 * gdb.base/call-signal-resume.exp: Remove check for
13230 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
13231 * gdb.base/unwindonsignal.exp: Likewise.
13232 * gdb.base/call-signals.c (gen_signal): Remove printf call.
13233 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
13235 2015-07-29 Pedro Alves <palves@redhat.com>
13237 * gdb.base/siginfo-addr.c (pass): New function.
13238 (handler): Call it iff si_addr is correct.
13239 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
13240 Set a breakpoint at "pass" and continue to it.
13242 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
13244 * gdb.python/py-objfile.exp: Make some tests have unique names.
13245 * gdb.python/py-pp-registration.exp: Likewise.
13247 2015-07-28 Pedro Alves <palves@redhat.com>
13249 * gdb.server/server-exec-info.exp: Issue a "disconnect".
13251 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
13253 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
13255 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
13257 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
13259 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
13261 * gdb.base/gdb-sigterm-2.exp: New test.
13263 2015-07-25 Doug Evans <xdje42@gmail.com>
13266 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
13267 (workers/%.worker, build-perf): New rule.
13268 (GDB_PERFTEST_MODE): New variable.
13269 (check-perf): Use it.
13270 (clean): Clean up gdb.perf parallel build subdirs.
13271 * lib/build-piece.exp: New file.
13272 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
13273 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
13275 (standard_temp_file): Ditto.
13276 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13279 2015-07-24 Doug Evans <dje@google.com>
13281 * gdb.perf/lib/perftest/utils.py: New file.
13282 * gdb.perf/gm-hello.cc: New file.
13283 * gdb.perf/gm-pervasive-typedef.cc: New file.
13284 * gdb.perf/gm-pervasive-typedef.h: New file.
13285 * gdb.perf/gm-std.cc: New file.
13286 * gdb.perf/gm-std.h: New file.
13287 * gdb.perf/gm-use-cerr.cc: New file.
13288 * gdb.perf/gm-utils.h: New file.
13289 * gdb.perf/gmonster-null-lookup.py: New file.
13290 * gdb.perf/gmonster-pervasive-typedef.py: New file.
13291 * gdb.perf/gmonster-print-cerr.py: New file.
13292 * gdb.perf/gmonster-ptype-string.py: New file.
13293 * gdb.perf/gmonster-runto-main.py: New file.
13294 * gdb.perf/gmonster-select-file.py: New file.
13295 * gdb.perf/gmonster1-null-lookup.exp: New file.
13296 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
13297 * gdb.perf/gmonster1-print-cerr.exp: New file.
13298 * gdb.perf/gmonster1-ptype-string.exp: New file.
13299 * gdb.perf/gmonster1-runto-main.exp: New file.
13300 * gdb.perf/gmonster1-select-file.exp: New file.
13301 * gdb.perf/gmonster1.cc: New file.
13302 * gdb.perf/gmonster1.exp: New file.
13303 * gdb.perf/gmonster2-null-lookup.exp: New file.
13304 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
13305 * gdb.perf/gmonster2-print-cerr.exp: New file.
13306 * gdb.perf/gmonster2-ptype-string.exp: New file.
13307 * gdb.perf/gmonster2-runto-main.exp: New file.
13308 * gdb.perf/gmonster2-select-file.exp: New file.
13309 * gdb.perf/gmonster2.cc: New file.
13310 * gdb.perf/gmonster2.exp: New file.
13312 2015-07-24 Doug Evans <dje@google.com>
13314 * gdb.perf/README: New file.
13315 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
13316 * lib/gen-perf-test.exp: New file.
13318 2015-07-24 Doug Evans <dje@google.com>
13320 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
13321 (PerfTest::startup): New function.
13322 (PerfTest::run): Return result of calling body.
13323 (PerfTest::assemble): Rewrite.
13324 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
13325 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
13326 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
13327 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
13328 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
13330 2015-07-24 Doug Evans <dje@google.com>
13332 * lib/gdb.exp (clean_restart): Make executable optional.
13334 2015-07-24 Doug Evans <dje@google.com>
13336 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
13337 compiler_info references.
13338 * gdb.cp/temargs.exp: Ditto.
13339 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
13340 (get_compiler_info): Early exit if already computed. Set compiler_info
13341 to "unknown" if there was a problem.
13342 (test_compiler_info): Add function comment. Call get_compiler_info.
13344 2015-07-24 Doug Evans <dje@google.com>
13346 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
13347 (workers/%.worker, build-perf): New rule.
13348 (GDB_PERFTEST_MODE): New variable.
13349 (check-perf): Use it.
13350 (clean): Clean up gdb.perf parallel build subdirs.
13351 * lib/build-piece.exp: New file.
13352 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
13353 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
13355 (standard_temp_file): Ditto.
13356 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13359 2015-07-24 Doug Evans <dje@google.com>
13361 * lib/future.exp (gdb_default_target_compile): New option
13363 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
13366 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
13368 * gdb.base/catch-syscall.exp: Call gdb_exit before
13371 2015-07-24 Pedro Alves <palves@redhat.com>
13373 * gdb.python/py-events.exp: Accept output between the stop event
13375 * gdb.python/py-evsignal.exp: Likewise.
13376 * gdb.python/py-evthreads.exp: Likewise.
13378 2015-07-24 Pedro Alves <palves@redhat.com>
13381 * gdb.threads/non-ldr-exit.c: New file.
13382 * gdb.threads/non-ldr-exit.exp: New file.
13384 2015-07-24 Yao Qi <yao.qi@linaro.org>
13386 * gdb.server/ext-wrapper.exp: Test --wrapper option when
13387 restarting process.
13389 2015-07-24 Yao Qi <yao.qi@linaro.org>
13391 * gdb.server/ext-restart.exp: New file.
13393 2015-07-24 Yao Qi <yao.qi@linaro.org>
13395 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
13397 * gdb.server/ext-wrapper.exp: New file.
13399 2015-07-23 Doug Evans <dje@google.com>
13401 * gdb.dwarf2/dw2-dummy-cu.S: New file.
13402 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
13404 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
13406 * gdb.ada/var_arr_typedef.exp: New testcase.
13407 * gdb.ada/var_arr_typedef/pack.adb: New file.
13408 * gdb.ada/var_arr_typedef/pack.ads: New file.
13409 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
13411 2015-07-20 Joel Brobecker <brobecker@adacore.com>
13413 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
13415 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13417 * gdb.arch/i386-biarch-core.exp: Replace istarget
13418 by "complete set gnutarget". Remove expectation for the "core-file"
13421 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13423 Revert the previous commit:
13424 Tests for validate symbol file using build-id.
13426 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
13428 Tests for validate symbol file using build-id.
13429 * gdb.base/solib-mismatch-lib.c: New file.
13430 * gdb.base/solib-mismatch-libmod.c: New file.
13431 * gdb.base/solib-mismatch.c: New file.
13432 * gdb.base/solib-mismatch.exp: New file.
13434 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
13436 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
13438 * gdb.base/sigbpt.exp (stepi_out): Likewise.
13439 * gdb.base/siginfo.exp: Likewise.
13440 * gdb.base/sigstep.exp (advance, advancei): Likewise.
13442 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
13444 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
13446 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
13448 * gdb.trace/range-stepping.exp: Check that the target supports
13451 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13453 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
13455 2015-07-14 Pedro Alves <palves@redhat.com>
13457 * gdb.base/killed-outside.exp: New file.
13458 * gdb.base/killed-outside.c: New file.
13460 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
13462 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
13464 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
13466 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
13468 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
13469 infcall tests instead of setting up for KFAIL.
13471 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
13473 * gdb.btrace/record_goto-step.exp: New.
13475 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13478 * gdb.compile/compile.c (struct struct_type): Add volatile to
13480 * gdb.compile/compile.exp
13481 (compile code struct_object.selffield = &struct_object): Skip further
13482 struct_object tests if this one xfails.
13484 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
13487 * gdb.trace/ax.exp: Add test.
13489 2015-07-07 Yao Qi <yao.qi@linaro.org>
13491 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
13492 instead of istarget "aarch64*-*-*".
13493 * gdb.arch/aarch64-fp.exp: Likewise.
13494 * gdb.base/float.exp: Likewise.
13495 * gdb.reverse/aarch64.exp: Likewise.
13496 * lib/gdb.exp (is_aarch64_target): New proc.
13498 2015-07-07 Yao Qi <yao.qi@linaro.org>
13500 * lib/gdb.exp (is_aarch32_target): New proc.
13501 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
13502 instead of "istarget "arm*-*-*"".
13503 * gdb.arch/arm-disp-step.exp: Likewise.
13504 * gdb.arch/thumb-bx-pc.exp: Likewise.
13505 * gdb.arch/thumb-prologue.exp: Likewise.
13506 * gdb.arch/thumb-singlestep.exp: Likewise.
13507 * gdb.base/disp-step-syscall.exp: Likewise.
13508 * gdb.base/float.exp: Likewise.
13510 2015-07-07 Yao Qi <yao.qi@linaro.org>
13512 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
13513 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
13515 2015-07-07 Yao Qi <yao.qi@linaro.org>
13517 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
13518 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
13520 * gdb.multi/multi-arch.exp: Likewise.
13522 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
13524 * gdb.python/py-lazy-string.exp: Add missing parentheses to
13527 2015-07-07 Yao Qi <yao.qi@linaro.org>
13529 * gdb.arch/thumb-singlestep.exp: Do one more single step.
13531 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
13533 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
13534 '[' and ']' characters.
13536 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
13538 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
13540 2015-06-29 Pedro Alves <palves@redhat.com>
13543 * gdb.threads/hand-call-new-thread.c: New file.
13544 * gdb.threads/hand-call-new-thread.c: New file.
13546 2015-06-26 Keith Seitz <keiths@redhat.com>
13547 Doug Evans <dje@google.com>
13550 * gdb.cp/var-tag-2.cc: New file.
13551 * gdb.cp/var-tag-3.cc: New file.
13552 * gdb.cp/var-tag-4.cc: New file.
13553 * gdb.cp/var-tag.cc: New file.
13554 * gdb.cp/var-tag.exp: New file.
13556 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13558 * gdb.base/history-duplicates.exp: New test.
13560 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
13562 * gdb.base/completion.exp: Test the completion of the "focus"
13565 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13567 * gdb.arch/amd64-prologue-skip.S: New file.
13568 * gdb.arch/amd64-prologue-skip.exp: New file.
13570 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
13572 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
13573 is_address_zero_readable check.
13575 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
13577 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
13578 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
13580 2015-06-24 Yao Qi <yao.qi@linaro.org>
13582 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
13585 2015-06-24 Yao Qi <yao.qi@linaro.org>
13587 * lib/gdb.exp (supports_get_siginfo_type): New proc.
13588 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
13589 * gdb.base/siginfo-thread.exp: Likewise.
13591 2015-06-22 Yao Qi <yao.qi@linaro.org>
13593 * boards/remote-gdbserver-on-localhost.exp: Add comments.
13595 2015-06-22 Yao Qi <yao.qi@linaro.org>
13597 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
13599 (skip_hw_watchpoint_tests): Likewise.
13601 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
13603 * gdb.base/gdbinit-history.exp: Test the interaction between
13604 setting GDBHISTSIZE and setting the history size via .gdbinit.
13606 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13609 * gdb.base/gdbhistsize-history.exp: New test.
13611 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13613 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
13615 * gdb.base/readline.exp: Likewise.
13617 2015-06-17 Yao Qi <yao.qi@linaro.org>
13619 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
13622 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
13624 * gdb.base/gdbinit-history.exp: Add test case to check that
13625 an unlimited history file does not get truncated on exit.
13627 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13629 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
13630 (VECTOR): New macro. Use it...
13631 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
13632 ...for these typedefs.
13633 (int8, char1, int1, double1): New typedefs.
13634 (struct just_int2, struct two_int2): New structures.
13635 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
13636 (add_structvecs, add_singlevecs): New functions.
13637 (main): Call add_some_intvecs twice.
13638 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
13639 the compile and exit upon failure. Try compiling for the "native"
13640 architecture. Test inferior function calls with vector arguments
13641 and vector return value handling with "finish" and "return".
13643 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
13645 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
13646 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
13648 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
13650 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
13652 PR breakpoints/16465
13653 * gdb.mi/mi-dprintf-pending.c: New file.
13654 * gdb.mi/mi-dprintf-pending.exp: New test.
13655 * gdb.mi/mi-dprintf-pendshr.c: New file.
13657 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13658 Mircea Gherzan <mircea.gherzan@intel.com>
13660 * gdb.arch/i386-mpx-map.c: New file.
13661 * gdb.arch/i386-mpx-map.exp: New File.
13663 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13665 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
13666 * gdb.arch/i386-mpx.exp: Indentation fixed.
13668 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13670 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
13671 function and improved indentation.
13672 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
13673 gdb_test_multiple. Added additional tests to skip the test.
13675 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
13677 * gdb.arch/i386-avx512.c: Change path in include file.
13678 * gdb.arch/i386-avx512.exp: Change include dir path
13680 * gdb.arch/i386-mpx.c: Change path in include file.
13681 * gdb.arch/i386-mpx.exp: Change include dir path compilation
13684 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
13686 * gdb.compile/compile-print.exp (compile print *vararray@3)
13687 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
13689 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13691 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
13692 (do not keep jit in memory): ... this.
13693 (expect 5): Change it to ...
13694 (expect no 5): ... this.
13696 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
13699 * gdb.mi/mi-detach.exp: New file.
13701 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13704 * gdb.arch/amd64-tailcall-self.S: New file.
13705 * gdb.arch/amd64-tailcall-self.c: New file.
13706 * gdb.arch/amd64-tailcall-self.exp: New file.
13708 2015-05-28 Don Breazeal <donb@codesourcery.com>
13710 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
13711 tests for remote targets by checking is_target_gdbserver.
13713 2015-05-27 Doug Evans <dje@google.com>
13715 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
13716 * gdb.dwarf2/opaque-type-lookup.c: New file.
13717 * gdb.dwarf2/opaque-type-lookup.exp: New file.
13719 2015-05-26 Doug Evans <dje@google.com>
13721 * gdb.cp/iostream.cc: New file.
13722 * gdb.cp/iostream.exp: New file.
13724 2015-05-26 Doug Evans <dje@google.com>
13726 * gdb.dwarf2/dw2-op-call.exp: Update.
13727 * gdb.dwarf2/dw4-sig-types.exp: Update.
13728 * gdb.dwarf2/implptr.exp: Update.
13729 * gdb.mi/mi-cmd-param-changed.exp: Update.
13731 2015-05-26 Doug Evans <dje@google.com>
13733 * gdb.python/py-lazy-string.c: New file.
13734 * gdb.python/py-lazy-string.exp: New file.
13735 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
13736 (main): Update. Add estring3.
13737 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
13738 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
13740 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
13741 Yao Qi <yao.qi@linaro.org>
13743 * gdb.reverse/aarch64.c: New.
13744 * gdb.reverse/aarch64.exp: New.
13746 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
13748 * lib/gdb.exp (supports_process_record): Return true for
13750 (supports_reverse): Likewise.
13752 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
13754 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13755 Use with_test_prefix.
13757 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
13759 * gdb.base/completion.exp: Add test for completion of layout
13762 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
13764 * lib/gdb.exp (skip_tui_tests): New proc.
13765 * gdb.base/tui-layout.exp: Check skip_tui_tests.
13767 2015-05-19 Pedro Alves <palves@redhat.com>
13769 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13770 Save the whole env array instead of just HOME. Unset HISTSIZE in
13771 the environment while testing. Restore whole environment
13774 2015-05-16 Doug Evans <xdje42@gmail.com>
13776 * gdb.guile/scm-ports.c: New file.
13777 * gdb.guile/scm-ports.exp: Add memory port tests.
13779 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13781 * gdb.compile/compile-print.c: New file.
13782 * gdb.compile/compile-print.exp: New file.
13784 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13786 * gdb.compile/compile-ops.exp: Cast param to void.
13787 * gdb.compile/compile.exp: Complete type for _gdb_expr.
13788 (compile code struct_object.selffield = &struct_object): Add xfail.
13790 2015-05-15 Joel Brobecker <brobecker@adacore.com>
13792 * gdb.ada/arr_enum_with_gap: New testcase.
13794 2015-05-15 Joel Brobecker <brobecker@adacore.com>
13796 * gdb.ada/byte_packed_arr: New testcase.
13798 2015-05-15 Joel Brobecker <brobecker@adacore.com>
13800 * gdb.ada/pckd_neg: New testcase.
13802 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
13805 * gdb.base/gdbinit-history.exp: New test.
13806 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
13807 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
13809 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
13811 * gdb.python/py-xmethods.cc: Enhance test case.
13812 * gdb.python/py-xmethods.exp: New tests.
13813 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
13815 (B_indexoper): Likewise.
13816 (global_dm_list) : Add new xmethod worker functions.
13818 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
13820 * gdb.base/coredump-filter.exp: Correctly unset
13821 "coredump_var_addr" array.
13823 2015-05-08 Pedro Alves <palves@redhat.com>
13825 * gdb.server/non-existing-program.exp: Unset spawn_id.
13827 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
13830 * gdb.python/py-xmethods.exp: Add tests.
13832 2015-05-08 Yao Qi <yao.qi@linaro.org>
13835 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
13836 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
13837 function set_coredump_filter, and remove remote_exec call.
13838 Remove argument ipid. Callers update.
13839 (top level): Don't get inferior's PID.
13841 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
13843 * gdb.base/watch_thread_num.exp: Skip test on targets without
13844 access watchpoints.
13846 2015-05-06 Pedro Alves <palves@redhat.com>
13849 * gdb.server/non-existing-program.exp: New file.
13851 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13853 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
13855 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13857 * gdb.ada/out_of_line_in_inlined: New testcase.
13859 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13861 * gdb.ada/var_rec_arr: New testcase.
13863 2015-04-30 Yao Qi <yao.qi@linaro.org>
13865 * gdb.base/break-idempotent.exp: If
13866 skip_hw_watchpoint_multi_tests returns true, skip the tests
13867 on "rwatch" and "awatch".
13869 2015-04-30 Yao Qi <yao.qi@linaro.org>
13871 * gdb.base/relativedebug.exp: Invoke gdb command
13872 "info sharedlibrary", and if libc.so doesn't have debug info,
13875 2015-04-29 Doug Evans <dje@google.com>
13877 * gdb.python/py-xmethods.exp: Add ptype tests.
13878 * gdb.python/py-xmethods.py (E_method_char_worker): Add
13879 get_result_type method.
13881 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
13883 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
13884 the target does not support hardware watchpoints.
13886 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
13888 * gdb.base/break-always.exp: Abort testing if writing to memory
13891 2015-04-28 Doug Evans <dje@google.com>
13893 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
13894 * gdb.python/py-pp-registration.exp: ... here. New file.
13895 * gdb.python/py-pp-registration.c: New file.
13896 * gdb.python/py-pp-registration.py: New file.
13898 2015-04-28 Doug Evans <dje@google.com>
13900 * gdb.python/py-bad-printers.c: New file.
13901 * gdb.python/py-bad-printers.py: New file.
13902 * gdb.python/py-bad-printers.exp: New file.
13904 2015-04-28 Sasha Smundak <asmundak@google.com>
13906 * gdb.python/py-type.exp: New test.
13908 2015-04-28 Andy Wingo <wingo@igalia.com>
13910 * gdb.python/py-parameter.exp:
13911 * gdb.guile/scm-parameter.exp: Escape the path that we are
13912 matching against, as it might contain characters that are special
13913 to regular expressions.
13915 2015-04-27 Joel Brobecker <brobecker@adacore.com>
13917 * gdb.ada/rec_comp: New testcase.
13919 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
13921 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
13924 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
13926 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
13927 new tests for verilog output.
13929 2015-04-24 Yao Qi <yao.qi@linaro.org>
13931 * boards/remote-gdbserver-on-localhost.exp: New file.
13933 2015-04-23 Pedro Alves <palves@redhat.com>
13935 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
13936 $inferior_spawn_id instead of $inferior_spawn_id directly. On
13937 "end of file", remove $inferior_spawn_id from the indirect list.
13939 2015-04-23 Pedro Alves <palves@redhat.com>
13941 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
13943 2015-04-23 Pedro Alves <palves@redhat.com>
13945 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
13946 on $any_spawn_id instead of only on $gdb_spawn_id.
13948 2015-04-21 Pierre Muller <muller@sourceware.org>
13951 * lib/pascal.exp (gpc_compile): Add new option "class".
13952 (fpc_compile): Likewise.
13953 * gdb.pascal/case-insensitive-symbols.pas: New file.
13954 * gdb.pascal/case-insensitive-symbols.exp: New file.
13956 2015-04-20 Gary Benson <gbenson@redhat.com>
13958 * gdb.base/attach.exp: Fix three extended remote failures.
13960 2015-04-17 Gary Benson <gbenson@redhat.com>
13962 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
13963 the main executable over the remote protocol.
13965 2015-04-16 Pedro Alves <palves@redhat.com>
13967 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
13968 a new gdbserver if gdbserver_reconnect_p is set.
13970 2015-04-16 Pedro Alves <palves@redhat.com>
13972 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
13973 is set, don't exit gdbserver.
13975 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13977 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
13978 appropriate .insn, such that an older assembler can be used.
13979 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
13980 the z/Architecture instruction set on 31-bit targets as well.
13982 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13984 * gdb.go/handcall.exp: Remove all logic related to the first
13985 breakpoint and rely on go_runto_main instead.
13986 * gdb.go/strings.exp: Likewise.
13987 * gdb.go/unsafe.exp: Likewise.
13988 * gdb.go/hello.exp: Likewise. Also rename the remaining
13989 breakpoint marker to "breakpoint 1".
13990 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
13991 * gdb.go/strings.go: Likewise.
13992 * gdb.go/unsafe.go: Likewise.
13993 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
13994 "set breakpoint 2 here" and rename the remaining breakpoint marker
13997 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
13999 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
14000 if itertools.imap is not present.
14001 * gdb.python/py-objfile.exp: Add parentheses.
14002 * gdb.python/py-type.exp: Same.
14003 * gdb.python/py-unwind-maint.py: Same.
14005 2015-04-15 Yao Qi <yao.qi@linaro.org>
14007 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
14008 of ":$ptr_size" and set its form explicitly.
14010 2015-04-15 Pedro Alves <palves@redhat.com>
14011 Yao Qi <yao.qi@linaro.org>
14013 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
14014 timeout by factor of 4.
14015 (test_regular_watch): Likewise.
14016 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
14017 * gdb.reverse/sigall-reverse.exp: Likewise.
14018 * gdb.reverse/until-precsave.exp: Likewise.
14019 * lib/gdb.exp (with_timeout_factor): New proc.
14020 (gdb_expect): Move some code to ...
14021 (get_largest_timeout): ... here. New procedure.
14023 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
14025 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
14027 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
14029 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
14030 to write to the .text section.
14032 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
14034 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
14035 Handle the case of targets that do not provide PID information.
14037 2015-04-13 Yao Qi <yao.qi@linaro.org>
14039 * lib/gdbserver-support.exp (gdb_exit): Catch exception
14040 and use expect instead of gdb_expect.
14042 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
14044 * gdb.base/coredump-filter.exp: Rename variable "addr" to
14045 "coredump_var_addr" to avoid naming conflict with other testcases.
14047 2015-04-10 Pedro Alves <palves@redhat.com>
14049 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
14050 gdb_test_sequence and gdb_assert.
14052 2015-04-10 Pedro Alves <palves@redhat.com>
14054 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
14055 test messages that don't include the breakpoint address.
14057 2015-04-10 Yao Qi <yao.qi@linaro.org>
14059 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
14060 false for some offset and width combinations which aren't
14061 supported by linux kernel.
14063 2015-04-10 Pedro Alves <palves@redhat.com>
14065 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
14066 procedure, factored out from ...
14067 (top level): ... here. Add "set displaced-stepping" testing axis.
14068 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
14069 parameter "displaced". Use it.
14070 (top level): Use foreach and add "set displaced-stepping" testing
14073 2015-04-10 Pedro Alves <palves@redhat.com>
14075 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
14077 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
14078 both the address of the instruction that triggers the watchpoint
14079 and the address of the instruction immediately after, and use
14080 those addresses for the test. Fix comment.
14082 2015-04-10 Pedro Alves <palves@redhat.com>
14084 * gdb.base/sigstep.exp (breakpoint_to_handler)
14085 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
14086 Test "backtrace" in handler.
14087 (breakpoint_over_handler): New parameter 'displaced'. Use it.
14088 (top level): Add new "displaced" test axis to
14089 breakpoint_to_handler, breakpoint_to_handler_entry and
14090 breakpoint_over_handler.
14092 2015-04-10 Pedro Alves <palves@redhat.com>
14095 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
14097 2015-04-10 Yao Qi <yao.qi@linaro.org>
14099 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
14100 (test_add_rn_pc): New function.
14101 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
14102 (top level): Invoke test_add_rn_pc.
14104 2015-04-10 Pedro Alves <palves@redhat.com>
14107 * gdb.base/step-over-no-symbols.exp: New file.
14109 2015-04-09 Andy Wingo <wingo@igalia.com>
14111 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
14112 after the Python tests.
14114 2015-04-08 Keith Seitz <keiths@redhat.com>
14117 * gdb.python/py-completion.exp: New tests for completion.
14118 * gdb.python/py-completion.py (CompleteLimit1): New class.
14119 (CompleteLimit2): Likewise.
14120 (CompleteLimit3): Likewise.
14121 (CompleteLimit4): Likewise.
14122 (CompleteLimit5): Likewise.
14123 (CompleteLimit6): Likewise.
14124 (CompleteLimit7): Likewise.
14126 2015-04-08 Pedro Alves <palves@redhat.com>
14130 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
14132 (main): Install it as SIGUSR1 handler.
14133 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
14134 parameter. Always use "setup" as prefix. Toggle "set
14135 displaced-stepping" off/on depending on global. Don't switch to
14137 (top level): Add displaced stepping "off/on" test axis. Update
14138 "setup" calls. Wrap each subtest with with_test_prefix. Test
14139 continuing with a queued signal in each thread.
14141 2015-04-08 Pedro Alves <palves@redhat.com>
14143 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
14144 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
14145 gdb_breakpoint instead of gdb_test that doesn't expect anything.
14146 Return early if running to main fails.
14147 * gdb.trace/while-stepping.exp: Likewise.
14149 2015-04-07 Pedro Alves <palves@redhat.com>
14151 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
14152 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
14153 interact with inferior program.
14155 2015-04-07 Pedro Alves <palves@redhat.com>
14157 * lib/gdb.exp (inferior_spawn_id): New global.
14158 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
14159 spawn id after processing the user code.
14160 (default_gdb_start): Set inferior_spawn_id.
14161 (send_inferior): New procedure.
14162 * lib/gdbserver-support.exp (gdbserver_start): Set
14164 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
14166 2015-04-07 Pedro Alves <palves@redhat.com>
14168 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
14169 * lib/gdbserver-support.exp (gdbserver_start): Make
14170 $server_spawn_id global.
14171 (gdbserver_start): Don't wait for gdbserver's spawn id with
14173 (close_gdbserver): New procedure.
14174 (gdb_exit): Rename the default version and reimplement.
14176 2015-04-07 Pedro Alves <palves@redhat.com>
14178 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
14179 append the substituted item, not the original item.
14181 2015-04-07 Pedro Alves <palves@redhat.com>
14183 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
14186 2015-04-07 Pedro Alves <palves@redhat.com>
14188 * gdb.base/interrupt.exp: Don't handle the case of the inferior
14189 output appearing once only.
14191 2015-04-07 Pedro Alves <palves@redhat.com>
14193 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
14194 that doesn't expect anything. Return early if running to main
14197 2015-04-07 Yao Qi <yao.qi@linaro.org>
14199 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
14200 (child_function): Call alarm.
14201 (main): Move call to alarm into the loop.
14202 * gdb.threads/non-stop-fair-events.exp: Build program with
14203 -DTIMEOUT=$timeout.
14205 2015-04-06 Doug Evans <xdje42@gmail.com>
14207 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
14208 Fix dest parameter to board_info.
14209 (fpc_compile): Ditto.
14210 (gdb_compile_pascal): Rename dest arg to destfile.
14212 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
14214 * gdb.ada/funcall_ref.exp: New file.
14215 * gdb.ada/funcall_ref/foo.adb: New file.
14217 2015-04-02 Yao Qi <yao.qi@linaro.org>
14219 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
14222 2015-04-02 Gary Benson <gbenson@redhat.com>
14224 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
14226 2015-04-01 Sasha Smundak <asmundak@google.com>
14228 * gdb.python/py-unwind-maint.c: New file.
14229 * gdb.python/py-unwind-maint.exp: New test.
14230 * gdb.python/py-unwind-maint.py: New file.
14231 * gdb.python/py-unwind.c: New file.
14232 * gdb.python/py-unwind.exp: New test.
14233 * gdb.python/py-unwind.py: New test.
14235 2015-04-01 Pedro Alves <palves@redhat.com>
14237 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
14238 to fail instead of non-existent $test.
14240 2015-04-01 Pedro Alves <palves@redhat.com>
14242 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
14243 GDBFLAGS if not empty.
14245 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
14247 * gdb.ada/complete.exp: Remove "multi_line".
14248 * gdb.ada/info_exc.exp: Remove "multi_line".
14249 * gdb.ada/packed_tagged.exp: Remove "multi_line".
14250 * gdb.ada/ptype_field.exp: Remove "multi_line".
14251 * gdb.ada/sym_print_name.exp: Remove "multi_line".
14252 * gdb.ada/tagged.exp: Remove "multi_line".
14253 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
14255 * gdb.btrace/delta.exp: Likewise.
14256 * gdb.btrace/exception.exp: Likewise.
14257 * gdb.btrace/function_call_history.exp: Likewise.
14258 * gdb.btrace/instruction_history.exp: Likewise.
14259 * gdb.btrace/nohist.exp: Likewise.
14260 * gdb.btrace/record_goto.exp: Likewise.
14261 * gdb.btrace/segv.exp: Likewise.
14262 * gdb.btrace/stepi.exp: Likewise.
14263 * gdb.btrace/tailcall.exp: Likewise.
14264 * gdb.btrace/unknown_functions.exp: Likewise.
14265 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
14266 * lib/gdb.exp: Add the "multi_line" helper.
14268 2015-04-01 Pedro Alves <palves@redhat.com>
14270 * gdb.threads/tid-reuse.c: New file.
14271 * gdb.threads/tid-reuse.exp: New file.
14273 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
14276 * gdb.base/coredump-filter.c: New file.
14277 * gdb.base/coredump-filter.exp: Likewise.
14279 2015-03-27 Petr Machata <pmachata@redhat.com>
14281 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
14282 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
14283 (Dwarf::assemble): Initialize them.
14284 (Dwarf::lines): New function.
14286 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
14288 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
14289 SYMBOL_PREFIX for x86_64-*-cygwin.
14291 2015-03-26 Andy Wingo <wingo@igalia.com>
14294 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
14295 const_value but not a location.
14296 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
14297 location defined in non-main CUs are visible.
14299 2015-03-26 Yao Qi <yao.qi@linaro.org>
14302 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
14303 Add a line number entry for the same line.
14304 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
14305 Add a line number entry for the same line.
14307 2015-03-26 Yao Qi <yao.qi@linaro.org>
14309 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
14311 (func): Likewise. Add .Lfunc_1 label.
14312 Use .Lfunc_1 label.
14313 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
14316 Use .Lfunc_1 label.
14318 2015-03-26 Yao Qi <yao.qi@linaro.org>
14320 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
14321 Call gdb_compile instead to compile each .s files without debug
14324 2015-03-26 Yao Qi <yao.qi@linaro.org>
14326 * gdb.base/savedregs.exp (process_saved_regs): Make
14327 "Saved registers:" optional in the pattern.
14329 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
14331 * gdb.btrace/next.exp: Merged into step.exp.
14332 * gdb.btrace/finish.exp: Merged into step.exp.
14333 * gdb.btrace/nexti.exp: Merged into stepi.exp.
14334 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
14335 "record goto" and checking the exact replay position.
14336 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
14337 check for "Recording format" in "info record" output.
14338 * gdb.btrace/record_goto.exp: Choose test file based on target.
14339 * gdb.btrace/x86-record_goto.S: Renamed into ...
14340 * gdb.btrace/x86_64-record_goto.S: ... this.
14341 * gdb.btrace/i686-record_goto.S: New.
14342 * gdb.btrace/x86-tailcall.S: Renamed into ...
14343 * gdb.btrace/x86_64-tailcall.S: ... this.
14344 * gdb.btrace/i686-tailcall.S: New.
14345 * gdb.btrace/x86-tailcall.c: Renamed into ...
14346 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
14347 separate statements. Update test.
14348 * gdb.btrace/delta.exp: Use record_goto.c as test file.
14349 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
14350 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
14351 * gdb.btrace/tailcall.exp: Choose test file based on target.
14352 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
14354 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
14356 * gdb.btrace/exception.exp: Increase BTS buffer size.
14358 2015-03-24 Pedro Alves <palves@redhat.com>
14360 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
14362 2015-03-24 Pedro Alves <palves@redhat.com>
14364 * gdb.threads/schedlock.exp (test_step): No longer expect that
14365 "set scheduler-locking step" with "next" over a function call runs
14368 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14370 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
14372 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14374 PR breakpoints/16466
14375 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
14376 * gdb.mi/mi-pending.c (thread_func): New function.
14377 (int main): Add threading support required.
14378 * gdb.mi/mi-pending.exp: Add tests for this issue.
14379 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
14380 (pendfunc2): Remove stdio dependency.
14381 * gdb.mi/mi-pendshr2.c: New file.
14383 2015-03-23 Keith Seitz <keiths@redhat.com>
14385 * gdb.linespec/keywords.c: New file.
14386 * gdb.linespec/keywords.exp: New file.
14388 2015-03-23 Keith Seitz <keiths@redhat.com>
14391 * gdb.dwarf2/staticvirtual.exp: New test.
14393 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14395 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
14396 * README: Remove HP-UX and gdb.hp.
14398 * configure: Regenerate.
14399 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
14400 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
14401 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
14402 gdb.hp/gdb.defects/Makefile.
14403 * gdb.hp/Makefile.in: File deleted.
14404 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
14405 * gdb.hp/gdb.aCC/optimize.c: File deleted.
14406 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
14407 * gdb.hp/gdb.aCC/run.c: File deleted.
14408 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
14409 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
14410 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
14411 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
14412 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
14413 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
14414 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
14415 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
14416 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
14417 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
14418 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
14419 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
14420 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
14421 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
14422 * gdb.hp/gdb.base-hp/reg.s: File deleted.
14423 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
14424 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
14425 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
14426 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
14427 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
14428 * gdb.hp/gdb.compat/Makefile.in: File deleted.
14429 * gdb.hp/gdb.compat/average.c: File deleted.
14430 * gdb.hp/gdb.compat/sum.c: File deleted.
14431 * gdb.hp/gdb.compat/xdb.c: File deleted.
14432 * gdb.hp/gdb.compat/xdb0.c: File deleted.
14433 * gdb.hp/gdb.compat/xdb0.h: File deleted.
14434 * gdb.hp/gdb.compat/xdb1.c: File deleted.
14435 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
14436 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
14437 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
14438 * gdb.hp/gdb.defects/Makefile.in: File deleted.
14439 * gdb.hp/gdb.defects/bs14602.c: File deleted.
14440 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
14441 * gdb.hp/gdb.defects/solib-d.c: File deleted.
14442 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
14443 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
14444 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
14445 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
14446 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
14447 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
14448 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
14449 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
14450 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
14451 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
14452 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
14453 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
14454 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
14455 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
14456 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
14457 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
14458 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
14459 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
14460 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
14461 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
14462 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
14463 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
14464 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
14465 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
14466 * gdb.hp/tools/odump: File deleted.
14468 2015-03-19 Pedro Alves <palves@redhat.com>
14470 * gdb.threads/continue-pending-status.exp (saw_thread_2)
14471 (saw_thread_3): New globals.
14472 (top level): Increment them when an event for the corresponding
14474 (no thread starvation): New test.
14476 2015-03-19 Pedro Alves <palves@redhat.com>
14478 * gdb.threads/continue-pending-status.c: New file.
14479 * gdb.threads/continue-pending-status.exp: New file.
14481 2015-03-18 Pedro Alves <palves@redhat.com>
14483 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
14484 Use gdb_is_target_remote instead of is_remote. Use
14485 gdb_test_multiple instead of gdb_expect. Exit early if
14486 gdb_test_multiple hits its internal matches. Tighten stepi tests
14487 expected output. Fail on exit with any signal, instead of just
14490 2015-03-18 Yao Qi <yao.qi@linaro.org>
14493 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
14495 * gdb.base/catch-syscall.exp: Don't skip it on
14496 aarch64*-*-linux* target. Remove elements in all_syscalls.
14497 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
14499 (setup_all_syscalls): New proc.
14501 2015-03-16 Yao Qi <yao.qi@linaro.org>
14503 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
14504 (top level): Skip tests if valid_addr_p returns false for
14507 2015-03-11 Andy Wingo <wingo@igalia.com>
14509 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
14511 2015-03-11 Yao Qi <yao.qi@linaro.org>
14513 * gdb.base/catch-syscall.exp: Fix typo in comments.
14515 2015-03-11 Yao Qi <yao.qi@linaro.org>
14517 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
14519 2015-03-09 Pedro Alves <palves@redhat.com>
14521 * dg-extract-results.py: Delete.
14523 2015-03-09 Pedro Alves <palves@redhat.com>
14525 Merge dg-extract-results.sh from GCC upstream (r218843).
14527 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
14528 * dg-extract-results.sh: Use --text with grep to avoid issues with
14529 binary files. Fall back to cat -v, if that doesn't work.
14531 2015-03-05 Pedro Alves <palves@redhat.com>
14533 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
14535 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
14537 * lib/mi-support.exp (mi_expect_interrupt): Accept
14538 alternative event for when in all-stop mode.
14540 2015-03-04 Pedro Alves <palves@redhat.com>
14542 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
14544 2015-03-04 Mark Kettenis <kettenis@gnu.org>
14546 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
14548 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14550 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
14551 regexps for GDB's current line display, accept a hex address
14552 preceding the line number.
14554 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
14556 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
14557 the 'arch1' variable for "s390*-linux*" targets.
14559 2015-03-04 Pedro Alves <palves@redhat.com>
14561 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
14562 (main): Pass missing retval argument to pthread_join call.
14564 2015-03-02 Pedro Alves <palves@redhat.com>
14566 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
14567 (top level): Call do_test with non-stop as well.
14569 2015-03-02 Pedro Alves <palves@redhat.com>
14571 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
14574 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14576 * gdb.arch/s390-vregs.exp: New test.
14577 * gdb.arch/s390-vregs.S: New file.
14579 2015-02-27 Pedro Alves <palves@redhat.com>
14581 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
14582 call to catch_command_errors.
14583 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
14584 catch_command_errors.
14586 2015-02-27 Pedro Alves <palves@redhat.com>
14588 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
14589 "true" for boolean result.
14590 * gdb.gdb/selftest.exp (test_with_self): Also accept full
14593 2015-02-27 Pedro Alves <palves@redhat.com>
14595 * lib/unbuffer_output.c: New file.
14596 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
14597 (main): Call gdb_unbuffer_output.
14599 2015-02-27 Yao Qi <yao.qi@linaro.org>
14601 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
14604 2015-02-26 Doug Evans <dje@google.com>
14606 * gdb.cp/class2.cc (Dbase, D): New classes.
14607 (main): New local delta.
14608 * gdb.cp/class2.exp: Test printing delta.
14609 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
14610 (dynbar): New global.
14611 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
14613 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14615 * gdb.compile/compile-ifunc.c: New file.
14616 * gdb.compile/compile-ifunc.exp: New file.
14618 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
14620 * gdb.base/structs.exp: Check for correct struct on finish.
14622 2015-02-26 Yao Qi <yao.qi@linaro.org>
14624 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
14627 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14629 * gdb.arch/cordic.ko.bz2: New file.
14630 * gdb.arch/cordic.ko.debug.bz2: New file.
14631 * gdb.arch/ppc64-symtab-cordic.exp: New file.
14633 2015-02-25 Yao Qi <yao.qi@linaro.org>
14635 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
14636 aarch64*-*-* target.
14638 2015-02-23 Pedro Alves <palves@redhat.com>
14640 * lib/gdb.exp (delete_breakpoints): Rewrite using
14643 2015-02-23 Pedro Alves <palves@redhat.com>
14645 * gdb.base/info-os.c: Include stdlib.h.
14647 2015-02-22 Doug Evans <xdje42@gmail.com>
14650 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
14651 is read after symbols have been re-read.
14652 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
14653 * gdb.ada/exec_changed/second.adb (Second): Ditto.
14655 2015-02-21 Doug Evans <dje@google.com>
14657 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
14659 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14662 * gdb.arch/i386-biarch-core.core.bz2: New file.
14663 * gdb.arch/i386-biarch-core.exp: New file.
14665 2015-02-21 Pedro Alves <palves@redhat.com>
14667 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
14670 2015-02-20 Pedro Alves <palves@redhat.com>
14672 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
14675 2015-02-20 Pedro Alves <palves@redhat.com>
14677 * gdb.threads/multi-create-ns-info-thr.exp: New file.
14679 2015-02-20 Pedro Alves <palves@redhat.com>
14681 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
14682 clean_restart before gdb_target_supports_trace.
14684 2015-02-20 Pedro Alves <palves@redhat.com>
14687 * gdb.threads/clone-thread_db.c: New file.
14688 * gdb.threads/clone-thread_db.exp: New file.
14690 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
14692 PR breakpoints/16812
14693 * gdb.base/catch-gdb-caused-signals.c: New file.
14694 * gdb.base/catch-gdb-caused-signals.exp: New file.
14696 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
14698 * configure: Regenerated.
14699 * configure.ac: Use GDB_AC_TRANSFORM.
14700 * aclocal.m4: sinclude ../transform.m4.
14702 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14704 * lib/dtrace.exp: New file.
14705 * gdb.base/dtrace-probe.exp: Likewise.
14706 * gdb.base/dtrace-probe.d: Likewise.
14707 * gdb.base/dtrace-probe.c: Likewise.
14708 * lib/pdtrace.in: Likewise.
14709 * configure.ac: Output variables with the transformed names of
14710 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
14711 * configure: Regenerated.
14713 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14715 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
14716 expected message when trying to access $_probe_* convenience
14717 variables while not on a probe.
14719 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14721 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
14723 2015-02-11 Pedro Alves <pedro@codesourcery.com>
14725 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
14726 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
14728 2015-02-10 Doug Evans <xdje42@gmail.com>
14730 * lib/gdb.exp (gdb_load): Always return a result.
14732 2015-02-10 Pedro Alves <palves@redhat.com>
14734 * gdb.threads/signal-sigtrap.c: New file.
14735 * gdb.threads/signal-sigtrap.exp: New file.
14737 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
14739 * gdb.trace/no-attach-trace.c: New file.
14740 * gdb.trace/no-attach-trace.exp: New file.
14742 2015-02-09 Mark Wielaard <mjw@redhat.com>
14744 * gdb.dwarf2/atomic.c: New file.
14745 * gdb.dwarf2/atomic-type.exp: Likewise.
14747 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14749 * gdb.btrace/buffer-size.exp: Update "info record" output.
14750 * gdb.btrace/delta.exp: Update "info record" output.
14751 * gdb.btrace/enable.exp: Update "info record" output.
14752 * gdb.btrace/finish.exp: Update "info record" output.
14753 * gdb.btrace/instruction_history.exp: Update "info record" output.
14754 * gdb.btrace/next.exp: Update "info record" output.
14755 * gdb.btrace/nexti.exp: Update "info record" output.
14756 * gdb.btrace/step.exp: Update "info record" output.
14757 * gdb.btrace/stepi.exp: Update "info record" output.
14758 * gdb.btrace/nohist.exp: Update "info record" output.
14760 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14762 * gdb.btrace/buffer-size: New.
14764 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
14766 * gdb.btrace/delta.exp: Update "info record" output.
14767 * gdb.btrace/enable.exp: Update "info record" output.
14768 * gdb.btrace/finish.exp: Update "info record" output.
14769 * gdb.btrace/instruction_history.exp: Update "info record" output.
14770 * gdb.btrace/next.exp: Update "info record" output.
14771 * gdb.btrace/nexti.exp: Update "info record" output.
14772 * gdb.btrace/step.exp: Update "info record" output.
14773 * gdb.btrace/stepi.exp: Update "info record" output.
14774 * gdb.btrace/nohist.exp: Update "info record" output.
14776 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
14779 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
14781 2015-02-06 Pedro Alves <palves@redhat.com>
14783 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
14785 (seconds_left, again): New globals.
14786 (main): Wait seconds_left in a 1-second sleep loop instead of
14787 sleeping 180 seconds. If 'again' is set, reset the seconds
14789 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
14790 'again' in the inferior before detaching. Print the seconds left.
14791 (options): New global.
14792 (top level): Build program with -DTIMEOUT=$timeout.
14794 2015-02-06 Pedro Alves <palves@redhat.com>
14796 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
14797 determine how many seconds to pass to 'alarm'.
14798 * gdb.base/gdb-sigterm.exp (top level): Build program with
14799 -DTIMEOUT=$timeout.
14800 (do_test): Return success/failure indication. Add more verbose
14801 logging. Don't fail if 200 single steps are seen. Instead, fail
14802 when the test times out.
14803 (passes): New global.
14804 (top level): Break the testing loop if testing fails on any
14805 iteration. Use gdb_assert.
14807 2015-02-04 Don Breazeal <donb@codesourcery.com>
14809 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
14810 and initialize them.
14811 (ipc_cleanup): New function.
14812 (main): Don't declare shmid, semid, and msqid. Add a call to
14813 atexit so that we call ipc_cleanup on exit.
14815 2015-02-04 Pedro Alves <palves@redhat.com>
14817 * boards/native-extended-gdbserver.exp: Remove any target variant
14818 specifications from the board name before clearing the isremote
14819 flag from board_info.
14821 2015-01-31 Doug Evans <xdje42@gmail.com>
14823 * gdb.base/maint.exp <maint print type argc>: Update expected output.
14825 2015-01-31 Gary Benson <gbenson@redhat.com>
14827 * gdb.base/completion.exp: Disable completion limiting for
14828 existing tests. Add new tests to check completion limiting.
14829 * gdb.linespec/ls-errs.exp: Disable completion limiting.
14831 2015-01-31 Doug Evans <xdje42@gmail.com>
14833 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
14835 2015-01-31 Doug Evans <xdje42@gmail.com>
14837 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
14838 entries. Duplicate file section script entries.
14839 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
14840 inlined entries. Add test for safe-path rejection.
14841 * gdb.python/py-section-script.c: Add duplicate inlined section script
14842 entries. Duplicate file section script entries.
14843 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
14844 inlined entries. Add test for safe-path rejection.
14846 2015-01-29 Joel Brobecker <brobecker@adacore.com>
14848 * gdb.ada/disc_arr_bound: New testcase.
14850 2015-01-29 Joel Brobecker <brobecker@adacore.com>
14852 * gdb.ada/mi_var_array: New testcase.
14854 2015-01-27 Doug Evans <dje@google.com>
14856 * gdb.python/py-objfile.exp: Add tests for objfile.username.
14857 Add test for objfile.filename, objfile.username after objfile
14860 2015-01-26 Joel Brobecker <brobecker@adacore.com>
14862 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
14863 the second test to print the name attribute of value
14864 returned by the call to gdb.lookup_type, and adjust
14865 the expected output accordingly.
14867 2015-01-25 Mark Wielaard <mjw@redhat.com>
14869 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
14870 * gdb.base/disp-step-fork.c: Include unistd.h.
14871 * gdb.base/siginfo-obj.c: Include stdio.h.
14872 * gdb.base/siginfo-thread.c: Likewise.
14873 * gdb.mi/non-stop.c: Include unistd.h.
14874 * gdb.mi/nsthrexec.c: Include stdio.h.
14875 * gdb.mi/pthreads.c: Include unistd.h.
14876 * gdb.modula2/unbounded1.c (main): Declare returns int.
14877 * gdb.reverse/consecutive-reverse.c: Likewise.
14878 * gdb.threads/create-fail.c: Include unistd.h.
14879 * gdb.threads/killed.c: Likewise.
14880 * gdb.threads/linux-dp.c: Likewise.
14881 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
14882 * gdb.threads/non-ldr-exc-2.c: Likewise.
14883 * gdb.threads/non-ldr-exc-3.c: Likewise.
14884 * gdb.threads/non-ldr-exc-4.c: Likewise.
14885 * gdb.threads/pthreads.c: Include unistd.h.
14886 (main): Declare returns int.
14887 * gdb.threads/tls-main.c (foo): New declaration.
14888 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
14890 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
14892 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
14893 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
14895 2015-01-15 Mark Wielaard <mjw@redhat.com>
14897 * gdb.base/noreturn-return.c: New file.
14898 * gdb.base/noreturn-return.exp: New file.
14899 * gdb.base/noreturn-finish.c: New file.
14900 * gdb.base/noreturn-finish.exp: New file.
14902 2015-01-23 Pedro Alves <palves@redhat.com>
14904 * gdb.threads/continue-pending-after-query.c: New file.
14905 * gdb.threads/continue-pending-after-query.exp: New file.
14907 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
14908 Simon Marchi <simon.marchi@ericsson.com>
14910 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
14911 * gdb.base/valgrind-db-attach.exp: Same.
14912 * gdb.base/valgrind-infcall.exp: Same.
14913 * lib/mi-support.exp (default_mi_gdb_start): Same.
14914 * lib/prompt.exp (default_prompt_gdb_start): Same.
14915 * lib/gdb.exp (default_gdb_spawn): Same.
14916 (gdb_interact): New.
14919 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14921 * gdb.compile/compile.exp (pointer to jit function): New test.
14923 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
14925 * lib/gdb.exp (supports_process_record): Return true for
14927 (supports_reverse): Likewise.
14929 2015-01-15 Don Breazeal <donb@codesourcery.com>
14931 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
14932 instead of checking whether the target board is remote and
14933 use spawn_wait_for_attach instead of exec/sleep.
14934 * gdb.base/attach-twice.exp: Likewise.
14936 2015-01-15 Joel Brobecker <brobecker@adacore.com>
14938 * gdb.ada/var_arr_attrs: New testcase.
14940 2015-01-14 Pedro Alves <palves@redhat.com>
14941 Joel Brobecker <brobecker@adacore.com>
14944 * gdb.base/bp-cmds-execution-x-script.c: New file.
14945 * gdb.base/bp-cmds-execution-x-script.exp: New file.
14946 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
14948 2015-01-14 Pedro Alves <palves@redhat.com>
14951 * gdb.base/batch-preserve-term-settings.c: New file.
14952 * gdb.base/batch-preserve-term-settings.exp: New file.
14954 2015-01-13 Doug Evans <dje@google.com>
14956 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
14959 2015-01-13 Joel Brobecker <brobecker@adacore.com>
14961 * Makefile.in (clean mostlyclean): Do not delete *.py.
14963 2015-01-13 Joel Brobecker <brobecker@adacore.com>
14965 * gdb.python/py-lookup-type.exp: New file.
14967 2015-01-12 Pedro Alves <palves@redhat.com>
14969 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
14970 restore GDBFLAGS before returning.
14972 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14974 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
14975 is_amd64_regs_target and is_x86_like_target.
14977 2015-01-11 Doug Evans <xdje42@gmail.com>
14979 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
14980 is given without an explicit form.
14981 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
14983 * gdb.dwarf/corrupt.exp: Ditto.
14984 * gdb.dwarf2/enum-type.exp: Ditto.
14985 * gdb.trace/entry-values.exp: Ditto.
14986 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
14988 2015-01-11 Doug Evans <xdje42@gmail.com>
14991 * gdb.base/maint.exp: Remove references to "maint demangle".
14992 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
14993 Add tests for explicitly specifying language to demangle.
14994 * gdb.dlang/demangle.exp: Ditto.
14996 2015-01-09 Pedro Alves <palves@redhat.com>
14998 * gdb.threads/non-stop-fair-events.c: New file.
14999 * gdb.threads/non-stop-fair-events.exp: New file.
15001 2015-01-09 Pedro Alves <palves@redhat.com>
15003 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
15004 the global scope. Set a breakpoint after all threads are started
15005 rather than stepping over two source lines. Expect the prompt.
15006 * gdb.base/watch_thread_num.c (threads_started_barrier): New
15009 (main): Use threads_started_barrier to wait for all threads to
15010 start. Main thread no longer calls thread_function. Exit after
15012 (loop): New function.
15013 (thread_function): Wait on threads_started_barrier barrier. Call
15014 'loop' at each iteration.
15015 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
15016 threads have started, instead of hardcoding number of "next"
15017 steps. Use an access watchpoint instead of a write watchpoint.
15019 2015-01-09 Pedro Alves <palves@redhat.com>
15021 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
15022 (thread_func): Wait on barrier.
15023 (main): Wait for all threads to start before stopping GDB.
15024 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
15026 (thread1_func, thread2_func): Wait on barrier.
15027 (main): Wait for all threads to start before stopping GDB.
15028 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
15030 (thread1_func, thread2_func): Wait on barrier.
15031 (main): Wait for all threads to start before stopping GDB.
15033 2015-01-09 Pedro Alves <palves@redhat.com>
15035 * gdb.threads/attach-many-short-lived-threads.c: New file.
15036 * gdb.threads/attach-many-short-lived-threads.exp: New file.
15038 2014-01-09 Pedro Alves <palves@redhat.com>
15040 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
15041 instead of to thread 2.
15042 * gdb.threads/signal-command-multiple-signals-pending.c (main):
15043 Add barrier around each pthread_create call instead of around all
15045 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
15046 Set a break on thread_function and have the child threads hit it
15049 2015-01-09 Pedro Alves <palves@redhat.com>
15051 * lib/gdb.exp (can_spawn_for_attach): New procedure.
15052 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
15054 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
15055 checking whether the target board is remote.
15056 * gdb.multi/multi-attach.exp: Likewise.
15057 * gdb.python/py-sync-interp.exp: Likewise.
15058 * gdb.server/ext-attach.exp: Likewise.
15059 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
15060 tests that need to attach, instead of checking whether the target
15061 board is remote at the top of the file.
15063 2015-01-08 Yao Qi <yao@codesourcery.com>
15065 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
15067 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15069 Fix testcase compilation.
15070 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
15072 2015-01-06 Joel Brobecker <brobecker@adacore.com>
15074 * gdb.python/py-type.exp: Add a couple test about empty
15075 array creation, and negative-length array creation.
15077 2015-01-02 Doug Evans <xdje42@gmail.com>
15079 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
15081 2015-01-02 Doug Evans <dje@google.com>
15083 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
15085 2014-12-29 Yao Qi <yao@codesourcery.com>
15087 * gdb.trace/entry-values.exp: Update comments. Rename variable
15088 bar_call_foo to returned_from_foo.
15090 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
15093 * gdb.linespec/break-asm-file.c: New file.
15094 * gdb.linespec/break-asm-file.exp: New file.
15095 * gdb.linespec/break-asm-file0.s: New file.
15096 * gdb.linespec/break-asm-file1.s: New file.
15098 2014-12-18 Nigel Stephens <nigel@mips.com>
15099 Maciej W. Rozycki <macro@codesourcery.com>
15101 * gdb.base/float.exp: Handle the new output from "info float" on
15104 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
15106 Fix MinGW compilation.
15107 * gdb.compile/compile-ops.exp: Update untested message if
15108 !skip_compile_feature_tests.
15109 * gdb.compile/compile-setjmp.exp: Likewise.
15110 * gdb.compile/compile-tls.exp: Likewise.
15111 * gdb.compile/compile.exp: Likewise.
15112 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
15113 supported on this host".
15115 2014-12-16 Doug Evans <xdje42@gmail.com>
15117 * boards/stabs.exp: New file.
15119 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
15121 * gdb.base/completion.exp: Adjust to format changes of "maint
15122 print user-registers".
15124 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
15127 * gdb.arch/aarch64-fp.c: New file.
15128 * gdb.arch/aarch64-fp.exp: New file.
15130 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
15132 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
15133 r210637, r210913, r211666, r215400, r215817).
15135 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
15136 * dg-extract-results.py: New file.
15137 * dg-extract-results.sh: Use it if the environment seems
15140 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
15142 * dg-extract-results.py (parse_run): Handle warnings that
15143 are printed before a test harness is run.
15145 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
15147 * dg-extract-results.py (Named): Remove __cmp__ method.
15148 (output_variation): Use a key to sort variation.harnesses.
15150 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
15152 * dg-extract-results.py: For Python 3, force sys.stdout to
15153 handle surrogate escape sequences.
15154 (safe_open): New function.
15155 (output_segment, main): Use it.
15157 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
15159 * dg-extract-results.py (Prog.result_re): Include options
15162 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
15164 * dg-extract-results.py (output_variation): Always sort if
15167 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
15169 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
15170 as long as we get pagination notifications.
15172 2014-12-15 Jason Merrill <jason@redhat.com>
15174 * Makefile.in (check-gdb.%): Restore.
15175 * README: Mention it.
15177 2014-12-13 Joel Brobecker <brobecker@adacore.com>
15179 * gdb.ada/str_uninit: New testcase.
15181 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15184 * gdb.base/vla-stub-define.c: New file.
15185 * gdb.base/vla-stub.c: New file.
15186 * gdb.base/vla-stub.exp: New file.
15188 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
15189 Jan Kratochvil <jan.kratochvil@redhat.com>
15190 Tom Tromey <tromey@redhat.com>
15192 * configure.ac: Add gdb.compile/.
15193 * configure: Regenerate.
15194 * gdb.compile/Makefile.in: New file.
15195 * gdb.compile/compile-ops.exp: New file.
15196 * gdb.compile/compile-ops.c: New file.
15197 * gdb.compile/compile-tls.c: New file.
15198 * gdb.compile/compile-tls.exp: New file.
15199 * gdb.compile/compile-constvar.S: New file.
15200 * gdb.compile/compile-constvar.c: New file.
15201 * gdb.compile/compile-mod.c: New file.
15202 * gdb.compile/compile-nodebug.c: New file.
15203 * gdb.compile/compile-setjmp-mod.c: New file.
15204 * gdb.compile/compile-setjmp.c: New file.
15205 * gdb.compile/compile-setjmp.exp: New file.
15206 * gdb.compile/compile-shlib.c: New file.
15207 * gdb.compile/compile.c: New file.
15208 * gdb.compile/compile.exp: New file.
15209 * lib/gdb.exp (skip_compile_feature_tests): New proc.
15211 2014-12-12 Tom Tromey <tromey@redhat.com>
15213 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
15214 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
15216 2014-12-12 Doug Evans <dje@google.com>
15218 * lib/gdb-python.exp (get_python_valueof): New function.
15219 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
15221 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
15223 * gdb.base/completion.exp: Add test for completion of "info
15226 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
15228 * gdb.base/func-ptrs.c: New file.
15229 * gdb.base/func-ptrs.exp: New file.
15231 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
15233 PR breakpoints/17012
15234 * gdb.base/dprintf-detach.c: New file.
15235 * gdb.base/dprintf-detach.exp: New file.
15237 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
15239 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
15240 * lib/gdb.exp (target_is_gdbserver): New procedure.
15242 2014-12-08 Doug Evans <dje@google.com>
15244 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
15246 2014-12-05 Yao Qi <yao@codesourcery.com>
15248 * gdb.guile/scm-error.exp: Remove the third argument to
15249 gdb_remote_download.
15250 * gdb.guile/scm-frame-args.exp: Likewise.
15251 * gdb.guile/scm-section-script.exp: Likewise.
15253 2014-12-05 Yao Qi <yao@codesourcery.com>
15255 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
15257 2014-12-04 Doug Evans <dje@google.com>
15259 * gdb.python/py-objfile.exp: Add tests for
15260 objfile.add_separate_debug_file.
15262 2014-12-04 Doug Evans <dje@google.com>
15264 * lib/gdb.exp (get_build_id): New function.
15265 (build_id_debug_filename_get): Rewrite to use it.
15266 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
15268 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
15270 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
15271 `method(long)', not just 0x0.
15272 * gdb.cp/nsalias.exp: Align code labels to 4.
15273 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
15274 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
15275 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
15276 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
15277 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
15278 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
15280 2014-12-02 Doug Evans <dje@google.com>
15283 * gdb.cp/anon-ns.cc: Move guts of this file to ...
15284 * gdb.cp/anon-ns2.cc: ... here. New file.
15285 * gdb.cp/anon-ns.exp: Update.
15287 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
15289 * gdb.python/py-events.py (inferior_call_handler): New.
15290 (register_changed_handler, memory_changed_handler): New.
15291 (test_events.invoke): Register new handlers.
15292 * gdb.python/py-events.exp: Add tests for inferior call,
15293 memory_changed and register_changed events.
15295 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
15297 * gdb.base/execl-update-breakpoints.exp: Specify the link address
15298 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
15299 if the linker doesn't understand this.
15301 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
15303 * gdb.python/python.exp: Change expected reply to help().
15305 2014-12-01 Yao Qi <yao@codesourcery.com>
15307 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
15308 AC_CONFIG_SUBDIRS(gdb.gdbtk).
15309 * configure: Re-generated.
15311 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
15313 * gdb.cp/chained-calls.cc: New file.
15314 * gdb.cp/chained-calls.exp: New file.
15315 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
15317 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
15319 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
15320 * gdb.dwarf2/symtab-producer.exp: Same.
15321 * gdb.gdb/python-interrupts.exp: Same.
15322 * gdb.gdb/python-selftest.exp: Same.
15323 * gdb.python/py-linetable.exp: Same.
15324 * gdb.python/py-type.exp: Same.
15325 * gdb.python/py-value-cc.exp: Same.
15326 * gdb.python/py-value.exp: Same.
15328 2014-11-28 Yao Qi <yao@codesourcery.com>
15330 * gdb.base/break-probes.exp: Match library name prefixed with
15333 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
15335 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
15336 test expected output. Add parentheses for the call to print.
15337 Remove L suffix from integers.
15339 2014-11-26 Doug Evans <dje@google.com>
15341 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
15343 2014-11-22 Yao Qi <yao@codesourcery.com>
15345 * gdb.trace/entry-values.c: Remove asms.
15346 (foo): Add foo_label.
15347 (bar): Add bar_label.
15348 * gdb.trace/entry-values.exp: Remove code computing foo's
15349 length and bar's length.
15350 (Dwarf::assemble): Invoke function_range for bar and use
15351 MACRO_AT_func for foo.
15353 2014-11-22 Yao Qi <yao@codesourcery.com>
15355 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
15356 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
15357 Use .Lgcc43_procstart instead of gcc43.
15359 2014-11-21 Joel Brobecker <brobecker@adacore.com>
15361 * gdb.ada/n_arr_bound: New testcase.
15363 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
15365 PR breakpoints/10737
15366 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
15367 test_catch_syscall_multi_arch.
15368 (test_catch_syscall_multi_arch): New function.
15370 2014-11-20 Doug Evans <xdje42@gmail.com>
15372 * gdb.base/maint.exp: Update expected output.
15374 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
15376 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
15377 4-byte instruction on S390.
15379 2014-11-19 Joel Brobecker <brobecker@adacore.com>
15381 * gdb.ada/arr_arr: New testcase.
15383 2014-11-19 Joel Brobecker <brobecker@adacore.com>
15385 * gdb.ada/pkd_arr_elem: New Testcase.
15387 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
15389 * gdb.reverse/break-precsave: Expect completion message for
15391 * gdb.reverse/consecutive-precsave.exp: Likewise.
15392 * gdb.reverse/finish-precsave.exp: Likewise.
15393 * gdb.reverse/i386-precsave.exp: Likewise.
15394 * gdb.reverse/machinestate-precsave.exp: Likewise.
15395 * gdb.reverse/sigall-precsave.exp: Likewise.
15396 * gdb.reverse/solib-precsave.exp: Likewise.
15397 * gdb.reverse/step-precsave.exp: Likewise.
15398 * gdb.reverse/until-precsave.exp: Likewise.
15399 * gdb.reverse/watch-precsave.exp: Likewise.
15401 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15403 * gdb.base/bp-permanent.c: Include unistd.h.
15404 * gdb.python/py-framefilter-mi.c (main): Add return type.
15405 * gdb.python/py-framefilter.c (main): Likewise.
15406 * gdb.trace/actions-changed.c (main): Likewise.
15408 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15410 * gdb.mi/until.c: Add eye-catchers.
15411 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
15414 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15416 * gdb.base/condbreak.exp: Drop references to removed non-prototype
15417 function header variants in break1.c.
15418 * gdb.base/ena-dis-br.exp: Likewise.
15419 * gdb.base/hbreak2.exp: Likewise.
15420 * gdb.reverse/until-precsave.exp: Drop references to removed
15421 non-prototype function header variants in ur1.c.
15422 * gdb.reverse/until-reverse.exp: Likewise.
15424 2014-11-17 Petr Machata <pmachata@redhat.com>
15426 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
15427 ${_cu_offset_size} bytes abbrev offset.
15429 2014-11-15 Doug Evans <xdje42@gmail.com>
15432 * gdb.base/line-symtabs.exp: New file.
15433 * gdb.base/line-symtabs.c: New file.
15434 * gdb.base/line-symtabs.h: New file.
15436 2014-11-14 Yao Qi <yao@codesourcery.com>
15438 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
15439 (func): Add label func_label.
15440 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
15441 Replace low_pc and high_pc with MACRO_AT_range.
15442 Replace name, low_pc and high_pc with MACRO_AT_func.
15444 2014-11-14 Yao Qi <yao@codesourcery.com>
15446 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
15447 Replace name, low_pc and high_pc with MACRO_AT_func.
15449 2014-11-14 Yao Qi <yao@codesourcery.com>
15451 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
15452 produce debug information.
15453 * gdb.dwarf2/implptr-optimized-out.S: Removed.
15455 2014-11-14 Yao Qi <yao@codesourcery.com>
15457 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
15458 object and get function length.
15459 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
15460 with MACRO_AT_func.
15461 (top-level): Replace gdb_compile and clean_restart with
15462 prepare_for_testing.
15463 * gdb.dwarf2/main.c (main): Add label main_label.
15465 2014-11-14 Yao Qi <yao@codesourcery.com>
15467 * lib/dwarf.exp (function_range): New procedure.
15468 (Dwarf::_handle_macro_at_func): New procedure.
15469 (Dwarf::_handle_macro_at_range): New procedure.
15470 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
15472 2014-11-14 Yao Qi <yao@codesourcery.com>
15474 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
15475 (_handle_attribute): New procedure.
15477 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15479 * gdb.ada/cond_lang/foo.c (callme): Add return type.
15480 * gdb.base/call-sc.c (zed): Likewise.
15481 * gdb.base/checkpoint.c (main): Likewise.
15482 * gdb.base/dump.c (main): Likewise.
15483 * gdb.base/gcore.c (main): Likewise.
15484 * gdb.base/huge.c (main): Likewise.
15485 * gdb.base/multi-forks.c (main): Likewise.
15486 * gdb.base/pr10179-a.c (main): Likewise.
15487 * gdb.base/savedregs.c (main): Likewise.
15488 * gdb.base/sigaltstack.c (main): Likewise.
15489 * gdb.base/siginfo.c (main): Likewise.
15490 * gdb.base/structs.c (zed): Likewise.
15491 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
15492 * gdb.mi/mi-syn-frame.c (main): Likewise.
15493 * gdb.mi/until.c (foo, main): Likewise.
15494 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
15495 * gdb.base/solib-weak.c (foo): Declare.
15496 * gdb.base/attach-twice.c: Include stdio.h.
15497 * gdb.base/weaklib1.c: Likewise.
15498 * gdb.base/weaklib2.c: Likewise.
15499 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
15500 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
15502 * gdb.base/attach-pie-misread.c: Include stdlib.h.
15503 * gdb.mi/mi-exit-code.c: Likewise.
15504 * gdb.base/break-interp-lib.c: Include string.h.
15505 * gdb.base/coremaker.c: Likewise.
15506 * gdb.base/testenv.c: Likewise.
15507 * gdb.python/py-finish-breakpoint.c: Likewise.
15508 * gdb.base/inferior-died.c: Include sys/wait.h.
15509 * gdb.base/fileio.c: Include time.h.
15510 * gdb.base/async-shell.c: Include unistd.h.
15511 * gdb.base/dprintf-non-stop.c: Likewise.
15512 * gdb.base/info-os.c: Likewise.
15513 * gdb.mi/mi-console.c: Likewise.
15514 * gdb.mi/watch-nonstop.c: Likewise.
15515 * gdb.python/py-events.c: Likewise.
15516 * gdb.base/async.c (baz): Move up before its invocation.
15517 * gdb.base/code_elim2.c (my_global_func): Likewise.
15518 * gdb.base/skip-solib-lib.c (multiply): Likewise.
15519 * gdb.base/advance.c (func2): Likewise.
15521 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15523 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
15525 * gdb.base/annota3.c: Likewise.
15526 * gdb.base/async.c: Likewise.
15527 * gdb.base/average.c: Likewise.
15528 * gdb.base/call-ar-st.c: Likewise.
15529 * gdb.base/call-rt-st.c: Likewise.
15530 * gdb.base/call-sc.c: Likewise.
15531 * gdb.base/call-strs.c: Likewise.
15532 * gdb.base/ending-run.c: Likewise.
15533 * gdb.base/execd-prog.c: Likewise.
15534 * gdb.base/exprs.c: Likewise.
15535 * gdb.base/foll-exec.c: Likewise.
15536 * gdb.base/foll-fork.c: Likewise.
15537 * gdb.base/foll-vfork.c: Likewise.
15538 * gdb.base/funcargs.c: Likewise.
15539 * gdb.base/gcore.c: Likewise.
15540 * gdb.base/jump.c: Likewise.
15541 * gdb.base/langs0.c: Likewise.
15542 * gdb.base/langs1.c: Likewise.
15543 * gdb.base/langs2.c: Likewise.
15544 * gdb.base/mips_pro.c: Likewise.
15545 * gdb.base/nodebug.c: Likewise.
15546 * gdb.base/opaque0.c: Likewise.
15547 * gdb.base/opaque1.c: Likewise.
15548 * gdb.base/recurse.c: Likewise.
15549 * gdb.base/run.c: Likewise.
15550 * gdb.base/scope0.c: Likewise.
15551 * gdb.base/scope1.c: Likewise.
15552 * gdb.base/setshow.c: Likewise.
15553 * gdb.base/setvar.c: Likewise.
15554 * gdb.base/shmain.c: Likewise.
15555 * gdb.base/shr1.c: Likewise.
15556 * gdb.base/shr2.c: Likewise.
15557 * gdb.base/sigall.c: Likewise.
15558 * gdb.base/signals.c: Likewise.
15559 * gdb.base/so-indr-cl.c: Likewise.
15560 * gdb.base/solib2.c: Likewise.
15561 * gdb.base/structs.c: Likewise.
15562 * gdb.base/sum.c: Likewise.
15563 * gdb.base/vforked-prog.c: Likewise.
15564 * gdb.base/watchpoint.c: Likewise.
15565 * gdb.reverse/shr2.c: Likewise.
15566 * gdb.reverse/until-reverse.c: Likewise.
15567 * gdb.reverse/ur1.c: Likewise.
15568 * gdb.reverse/watch-reverse.c: Likewise.
15570 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15572 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
15574 * gdb.base/sepdebug.exp: Drop references to removed code.
15576 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15578 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
15579 variant. Preserve original line numbering.
15580 * gdb.base/list1.c: Likewise.
15582 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15584 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
15586 * gdb.base/break1.c: Likewise.
15587 * gdb.base/break.exp: Drop references to removed code.
15589 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15591 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
15594 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15596 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
15598 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15600 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
15601 logic into perform_all_tests() and invoke it with and without
15602 function header prototypes.
15603 (do_function_calls): Remove conditional XFAIL for PR 5318.
15604 (rerun_and_prepare): Remove duplicate code.
15605 (perform_all_tests): New. Main logic moved here.
15607 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15609 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
15610 code guarded by #ifdef NO_PROTOTYPES.
15611 (t_double_many_args): Likewise.
15612 (DEF_FUNC_MANY_ARGS_1): Likewise.
15613 (DEF_FUNC_VALUES_1): Likewise.
15614 (t_structs_ldc): Renamed from t_structs_fc in conditional code
15615 guarded by #ifdef PROTOTYPES.
15617 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15619 * gdb.mi/mi-console.c: Add eye-catcher.
15620 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
15621 instead of literal line number.
15623 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15625 * gdb.base/shr2.c: Add eye-catcher.
15626 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
15629 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15631 * gdb.base/jump.c: Add eye-catchers.
15632 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
15635 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15637 * gdb.base/execd-prog.c: Add eye-catchers.
15638 * gdb.base/foll-exec.c: Likewise.
15639 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
15642 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15644 * gdb.base/ending-run.c: Add eye-catchers.
15645 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
15646 literal line numbers.
15648 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15650 * gdb.base/call-rt-st.c: Add eye-catchers.
15651 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
15652 literal line numbers.
15654 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15656 * gdb.base/call-ar-st.c: Add eye-catchers.
15657 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
15658 literal line numbers.
15660 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15662 * gdb.base/average.c: Add eye-catchers.
15663 * gdb.base/sum.c: Likewise.
15664 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
15665 regexps dynamically.
15667 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
15669 * gdb.base/solib1.c: Add eye-catchers.
15670 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
15671 literal line numbers.
15673 2014-11-12 Pedro Alves <palves@redhat.com>
15675 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
15678 2014-11-12 Pedro Alves <palves@redhat.com>
15680 * gdb.arch/i386-bp_permanent.c: New file.
15681 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
15682 (srcfile): Set to i386-bp_permanent.c.
15683 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
15684 that stepi does not execute the 'leave' instruction, instead of
15685 testing it does execute.
15686 * gdb.base/bp-permanent.c: New file.
15687 * gdb.base/bp-permanent.exp: New file.
15689 2014-11-10 Doug Evans <xdje42@gmail.com>
15692 * gdb.base/symtab-search-order.exp: New file.
15693 * gdb.base/symtab-search-order.c: New file.
15694 * gdb.base/symtab-search-order-1.c: New file.
15695 * gdb.base/symtab-search-order-shlib-1.c: New file.
15697 2014-11-07 Pedro Alves <palves@redhat.com>
15700 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
15703 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
15706 * gdb.cp/pr17494.cc: New file.
15707 * gdb.cp/pr17494.exp: New file.
15709 2014-11-02 Yao Qi <yao@codesourcery.com>
15711 * gdb.python/python.exp: Get working directory and match the
15712 output of "set extended-prompt \\w " with it.
15714 2014-10-30 Doug Evans <dje@google.com>
15716 * gdb.python/py-objfile.exp: Add tests for setting random attributes
15718 * gdb.python/py-progspace.exp: Add tests for setting random attributes
15721 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
15723 * gdb.base/fullpath-expand.exp: Skip for a remote host.
15724 * gdb.base/realname-expand.exp: Likewise.
15725 * gdb.linespec/macro-relative.exp: Likewise.
15727 2014-10-29 Pedro Alves <palves@redhat.com>
15730 * gdb.threads/schedlock.c (some_function): New function.
15731 (call_function): New global.
15732 (MAYBE_CALL_SOME_FUNCTION): New macro.
15733 (thread_function): Call it.
15734 * gdb.threads/schedlock.exp (get_args): Add description parameter,
15735 and use it instead of a global counter. Adjust all callers.
15736 (get_current_thread): Use "find current thread" for test message
15737 here rather than having all callers pass down the same string.
15738 (goto_loop): New procedure, factored out from ...
15739 (my_continue): ... this.
15740 (step_ten_loops): Change parameter from test message to command to
15742 (list_count): Delete global.
15743 (check_result): New procedure, factored out from duplicate top
15745 (continue tests): Wrap in with_test_prefix.
15746 (test_step): New procedure, factored out from duplicate top level
15748 (top level): Test "step" in combination with all scheduler-locking
15749 modes. Test "next" in combination with all scheduler-locking
15750 modes, and in combination with stepping over a function call or
15752 * gdb.threads/next-bp-other-thread.c: New file.
15753 * gdb.threads/next-bp-other-thread.exp: New file.
15755 2014-10-29 Pedro Alves <palves@redhat.com>
15758 * gdb.python/python.exp: Test a multi-line command that spawns
15759 interactive Python.
15760 * gdb.base/multi-line-starts-subshell.exp: New file.
15762 2014-10-29 Yao Qi <yao@codesourcery.com>
15764 * gdb.base/fileio.exp: Make directories on host.
15766 2014-10-29 Yao Qi <yao@codesourcery.com>
15768 * gdb.base/fileio.c (test_write): Close the file.
15770 2014-10-28 Pedro Alves <palves@redhat.com>
15773 * gdb.base/sigstep.c (no_handler): New global.
15774 (main): If 'no_handler is true, set the signal handlers to
15776 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
15777 with_sw_watch and no_handler parameters. Handle them.
15778 (top level) <stepping over handler when stopped at a breakpoint
15779 test>: Add a test axis for testing with a software watchpoint, and
15780 another for testing with the signal handler set to SIG_IGN.
15781 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
15782 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
15784 2014-10-28 Pedro Alves <palves@redhat.com>
15787 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
15788 * gdb.base/sigstep.exp (other_handler_location): New global.
15789 (advance): Support stepping into the signal handler, and running
15790 commands while in the handler.
15791 (in_handler_map): New global.
15792 (top level): In the advance test, add combinations for getting
15793 into the handler with stepping commands, and for running commands
15794 in the handler. Add comment descripting the advancei tests.
15796 2014-10-28 Pedro Alves <palves@redhat.com>
15798 * gdb.base/sigstep.exp: Use build_executable instead of
15799 prepare_for_testing.
15800 (top level): Move code that starts GDB, runs to main and creates a
15802 (restart): ... this new procedure.
15803 (top level): Move backtrace from signal handler test to ...
15804 (validate_backtrace): ... this new procedure.
15805 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
15806 with_test_prefix. Always restart GDB.
15807 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
15808 with_test_prefix. Always restart GDB. No need to delete
15809 breakpoints after the test.
15810 (test_skip_handler): Remove prefix parameter.
15811 (skip_over_handler, breakpoint_to_handler)
15812 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
15813 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
15814 restart GDB. No need to delete breakpoints after the test.
15815 (top level): Use foreach to call the test procedures with
15816 different commands.
15818 2014-10-28 Pedro Alves <palves@redhat.com>
15820 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
15821 instead of GNATS numbers.
15822 * gdb.base/sigbpt.exp: Likewise.
15823 * gdb.base/siginfo.exp: Likewise.
15824 * gdb.base/sigstep.exp: Likewise.
15826 2014-10-27 Pedro Alves <palves@redhat.com>
15828 * gdb.base/sigstep.c (dummy): New global.
15829 (main): Issue a couple writes to the new global.
15830 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
15832 (skip_over_handler): Use test_skip_handler.
15833 (top level): Call skip_over_handler for stepi and nexti too.
15834 (breakpoint_over_handler): Use test_skip_handler.
15835 (top level): Call breakpoint_over_handler for stepi and nexti too.
15837 2014-10-27 Yao Qi <yao@codesourcery.com>
15839 * gdb.trace/tfile.c (adjust_function_address)
15840 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
15841 function descriptor.
15843 2014-10-24 Don Breazeal <donb@codesourcery.com>
15845 * gdb.base/foll-fork.exp (test_follow_fork,
15846 catch_fork_child_follow): Check for updated fork messages emitted
15848 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
15849 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
15850 vfork_and_exec_child_follow_through_step): Check for updated vfork
15851 messages emitted from infrun.c.
15853 2014-10-24 Pedro Alves <palves@redhat.com>
15855 * gdb.base/corefile.exp: Remove references to ultrix.
15856 * gdb.base/interrupt.exp: Likewise.
15857 * gdb.base/whatis.exp: Likewise.
15858 * gdb.gdb/selftest.exp: Likewise.
15859 * gdb.threads/manythreads.exp: Likewise.
15860 * gdb.threads/print-threads.exp: Likewise.
15861 * gdb.threads/pthreads.exp:: Likewise.
15862 * gdb.threads/schedlock.exp: Likewise.
15864 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
15866 * gdb.cp/non-trivial-retval.cc: Add a test case.
15867 * gdb.cp/non-trivial-retval.exp: Add a test.
15869 2014-10-20 Yao Qi <yao@codesourcery.com>
15871 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
15872 * gdb.python/py-objfile-script-gdb.py: New file.
15873 * gdb.python/py-objfile-script.exp: Update reference to
15874 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
15875 of remote_download. Remove the dest file.
15877 2014-10-20 Yao Qi <yao@codesourcery.com>
15879 * gdb.base/checkpoint.exp: Don't remove file copied on host.
15880 * gdb.base/step-line.exp: Likewise.
15881 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
15882 * gdb.dwarf2/dw2-basic.exp: Likewise.
15883 * gdb.dwarf2/dw2-compressed.exp: Likewise.
15884 * gdb.dwarf2/dw2-filename.exp: Likewise.
15885 * gdb.dwarf2/dw2-intercu.exp: Likewise.
15886 * gdb.dwarf2/dw2-intermix.exp: Likewise.
15887 * gdb.dwarf2/dw2-producer.exp: Likewise.
15888 * gdb.dwarf2/mac-fileno.exp: Likewise.
15889 * gdb.python/py-frame-args.exp: Likewise.
15890 * gdb.python/py-framefilter.exp: Likewise.
15891 * gdb.python/py-mi.exp: Likewise.
15892 * gdb.python/py-objfile-script.exp: Likewise
15893 * gdb.python/py-pp-integral.exp: Likewise.
15894 * gdb.python/py-pp-re-notag.exp: Likewise.
15895 * gdb.python/py-prettyprint.exp: Likewise.
15896 * gdb.python/py-section-script.exp: Likewise.
15897 * gdb.python/py-typeprint.exp: Likewise.
15898 * gdb.python/py-xmethods.exp: Likewise.
15899 * gdb.stabs/weird.exp: Likewise.
15900 * gdb.xml/tdesc-regs.exp: Likewise.
15902 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
15904 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
15905 (out_cu): Use addr_len for the size of addresses.
15906 (out_line): Likewise. Size DW_LNE_set_address instruction
15907 according to addr_len.
15908 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
15909 (FUNC): Add START_INSNS to definition.
15911 2014-10-18 Yao Qi <yao@codesourcery.com>
15913 * gdb.base/argv0-symlink.exp: Check argv[0] value if
15914 gdb_has_argv0 return true.
15915 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
15916 check [target_info exists noargs], check [gdb_has_argv0]
15918 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15919 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
15922 2014-10-17 Doug Evans <dje@google.com>
15924 * gdb.python/py-events.exp: Update expected output for clear_objfiles
15926 * gdb.python/py-events.py: Add clear_objfiles event.
15928 2014-10-17 Doug Evans <dje@google.com>
15930 * gdb.python/py-objfile.exp: Test progspace attribute.
15932 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
15934 * gdb.guile/scm-breakpoint.exp: Do not assume any
15935 directory separators when matching source file paths.
15936 * gdb.python/py-breakpoint.exp: Likewise.
15937 * gdb.reverse/break-precsave.exp: Likewise.
15938 * gdb.reverse/break-reverse.exp: Likewise.
15939 * gdb.reverse/consecutive-precsave.exp: Likewise.
15940 * gdb.reverse/finish-precsave.exp: Likewise.
15941 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
15942 * gdb.reverse/finish-reverse.exp: Likewise.
15943 * gdb.reverse/i386-precsave.exp: Likewise.
15944 * gdb.reverse/i387-env-reverse.exp: Likewise.
15945 * gdb.reverse/i387-stack-reverse.exp: Likewise.
15946 * gdb.reverse/machinestate-precsave.exp: Likewise.
15947 * gdb.reverse/machinestate.exp: Likewise.
15948 * gdb.reverse/sigall-precsave.exp: Likewise.
15949 * gdb.reverse/solib-precsave.exp: Likewise.
15950 * gdb.reverse/step-precsave.exp: Likewise.
15951 * gdb.reverse/until-precsave.exp: Likewise.
15952 * gdb.reverse/watch-precsave.exp: Likewise.
15953 * gdb.reverse/watch-reverse.exp: Likewise.
15955 2014-10-17 Yao Qi <yao@codesourcery.com>
15957 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
15958 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
15960 2014-10-17 Pedro Alves <palves@redhat.com>
15963 * gdb.base/bg-execution-repeat.c: New file.
15964 * gdb.base/bg-execution-repeat.exp: New file.
15966 2014-10-17 Pedro Alves <palves@redhat.com>
15969 * gdb.base/continue-all-already-running.c: New file.
15970 * gdb.base/continue-all-already-running.exp: New file.
15972 2014-10-17 Pedro Alves <palves@redhat.com>
15975 * gdb.base/annota-input-while-running.c: New file.
15976 * gdb.base/annota-input-while-running.exp: New file.
15978 2014-10-17 Pedro Alves <palves@redhat.com>
15980 * gdb.base/callfuncs.exp: emove references to osf.
15981 * gdb.base/sigall.exp: Likewise.
15982 * gdb.gdb/selftest.exp: Likewise.
15983 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
15984 * gdb.mi/non-stop.c: Likewise.
15985 * gdb.mi/pthreads.c: Likewise.
15986 * gdb.reverse/sigall-precsave.exp: Likewise.
15987 * gdb.reverse/sigall-reverse.exp: Likewise.
15988 * gdb.threads/pthreads.c: Likewise.
15989 * gdb.threads/pthreads.exp: Likewise.
15991 2014-10-17 Yao Qi <yao@codesourcery.com>
15993 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
15994 check 'target_info exists noargs'.
15995 (test_command_prompt_position): Likewise.
15996 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
15998 (progvar_simple_while_test): Likewise.
15999 (progvar_complex_if_while_test): Likewise.
16000 (if_while_breakpoint_command_test): Likewise.
16001 (infrun_breakpoint_command_test): Likewise.
16002 (breakpoint_command_test): Likewise.
16003 (watchpoint_command_test): Likewise.
16004 (bp_deleted_in_command_test): Likewise.
16005 (temporary_breakpoint_commands): Likewise.
16007 2014-10-16 Yao Qi <yao@codesourcery.com>
16009 * gdb.base/remotetimeout.exp: Remove noargs checking.
16011 2014-10-15 Pedro Alves <palves@redhat.com>
16013 PR breakpoints/9649
16014 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
16015 * gdb.base/breakpoint-in-ro-region.exp
16016 (probe_target_hardware_step): New procedure.
16017 (top level): Probe hardware stepping and hardware breakpoint
16018 support. Test stepping through a read-only region, with both
16019 "breakpoint auto-hw" on and off and both "always-inserted" on and
16022 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
16024 * gdb.dlang/demangle.exp: Update for demangling changes.
16026 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
16028 * gdb.cp/non-trivial-retval.cc: Add new test cases.
16029 * gdb.cp/non-trivial-retval.exp: Add new tests.
16031 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
16035 * gdb.cp/non-trivial-retval.cc: New file.
16036 * gdb.cp/non-trivial-retval.exp: New file.
16038 2014-10-15 Yao Qi <yao@codesourcery.com>
16040 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
16043 2014-10-15 Yao Qi <yao@codesourcery.com>
16045 * gdb.python/py-symbol.exp: Match file base name if host is
16046 remote, otherwise match file name with dir name.
16047 * gdb.python/py-symtab.exp: Likewise.
16048 * gdb.python/python.exp: Likewise.
16050 2014-10-15 Yao Qi <yao@codesourcery.com>
16052 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
16054 * gdb.python/py-symtab.exp: Likewise.
16055 * gdb.python/python.exp: Remove trailing ".*". Fix typo
16058 2014-10-14 Joel Brobecker <brobecker@adacore.com>
16060 * gdb.ada/addr_arith: New testcase.
16062 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
16064 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
16065 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
16066 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
16067 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
16069 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
16071 * gdb.arch/stap-eval-lang-ada.S: Likewise.
16072 * gdb.arch/stap-eval-lang-ada.c: Likewise.
16073 * gdb.arch/stap-eval-lang-ada.exp: New file.
16075 2014-10-14 Yao Qi <yao@codesourcery.com>
16077 * gdb.mi/mi-var-child.c (nothing1): New function.
16078 (nothing2): New function.
16079 (do_children_tests): Set function pointers by nothing1 and
16081 * gdb.mi/mi-var-child.exp: Step over new added statements.
16082 Update test to match the new output.
16083 * gdb.mi/var-cmd.c (nothing1): New function.
16084 (nothing2): New function.
16085 (do_children_tests): Set function pointers by nothing1 and
16087 * gdb.mi/mi-var-display.exp: Update test to match output.
16088 Step to the line specified by $line_dct_nothing.
16089 Increase the number of lines to step.
16091 2014-10-14 Yao Qi <yao@codesourcery.com>
16093 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
16095 * gdb.mi/mi2-var-child.exp: Likewise.
16097 2014-10-13 Doug Evans <dje@google.com>
16099 * gdb.python/py-objfile.exp: Change name of file name test.
16101 2014-10-13 Doug Evans <dje@google.com>
16103 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
16104 from the start of the CU.
16106 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
16107 Yao Qi <yao@codesourcery.com>
16109 Fix "save breakpoints" for "catch" command.
16110 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
16111 Remove -nonewline. Match also the added "main" line.
16113 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16115 Fix "save breakpoints" for "disable $bpnum" command.
16116 * gdb.base/save-bp.c (main): Add label.
16117 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
16119 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16121 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
16123 2014-10-11 Yao Qi <yao@codesourcery.com>
16125 * gdb.server/server-kill.exp: Execute command
16126 "set remote trace-status-packet on" before "tstatus".
16128 2014-10-11 Yao Qi <yao@codesourcery.com>
16130 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
16131 (main): Call getppid.
16132 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
16133 and continue to it. Read variable "server_pid".
16135 2014-10-11 Yao Qi <yao@codesourcery.com>
16137 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
16139 2014-10-11 Yao Qi <yao@codesourcery.com>
16141 * gdb.threads/thread-find.exp: Don't execute command
16143 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
16144 * gdb.threads/linux-dp.exp: Don't check the condition
16145 $threads_created equals to zero.
16147 2014-10-10 Pedro Alves <palves@redhat.com>
16149 * gdb.base/bigcore.exp: Remove references to IRIX.
16150 * gdb.base/funcargs.exp: Likewise.
16151 * gdb.base/interrupt.exp: Likewise.
16152 * gdb.base/mips_pro.exp: Likewise.
16153 * gdb.base/nodebug.exp: Likewise.
16154 * gdb.base/setvar.exp: Likewise.
16155 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
16157 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16158 Pedro Alves <palves@redhat.com>
16161 * gdb.base/vdso-warning.c: New file.
16162 * gdb.base/vdso-warning.exp: New file.
16164 2014-10-02 Doug Evans <dje@google.com>
16166 * gdb.base/structs.c (main): Don't run forever.
16168 2014-10-02 Pedro Alves <palves@redhat.com>
16170 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
16171 (top level) <stop threads 1, stop threads 2>: Use it.
16173 2014-10-02 Pedro Alves <palves@redhat.com>
16175 * gdb.threads/break-while-running.exp (test): Add new
16176 'update_thread_list' argument. Skip "info threads" if false.
16177 (top level): Add new 'update_thread_list' axis.
16179 2014-10-02 Pedro Alves <palves@redhat.com>
16181 PR breakpoints/17431
16182 * gdb.base/execl-update-breakpoints.c: New file.
16183 * gdb.base/execl-update-breakpoints.exp: New file.
16185 2014-10-01 Pedro Alves <palves@redhat.com>
16187 * gdb.base/breakpoint-in-ro-region.c: New file.
16188 * gdb.base/breakpoint-in-ro-region.exp: New file.
16190 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
16192 * gdb.mi/mi-exit-code.exp: New file.
16193 * gdb.mi/mi-exit-code.c: New file.
16195 2014-09-30 Yao Qi <yao@codesourcery.com>
16197 * lib/prelink-support.exp (build_executable_own_libs): Error if
16198 the target isn't native.
16200 2014-09-30 Yao Qi <yao@codesourcery.com>
16202 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
16205 2014-09-22 Pedro Alves <palves@redhat.com>
16207 * gdb.threads/break-while-running.exp: New file.
16208 * gdb.threads/break-while-running.c: New file.
16210 2014-09-19 Yao Qi <yao@codesourcery.com>
16212 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
16213 Invoke test. Restart GDB with --readnow and invoke test again.
16215 2014-09-19 Yao Qi <yao@codesourcery.com>
16217 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
16218 proc set_breakpoint_on_gcd_function. Invoke
16219 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
16220 invoke set_breakpoint_on_gcd_function again.
16222 2014-09-18 Doug Evans <dje@google.com>
16224 * gdb.dwarf2/symtab-producer.exp: New file.
16226 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
16228 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
16229 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
16230 * gdb.base/global-var-nested-by-dso.c: Likewise.
16231 * gdb.base/global-var-nested-by-dso.exp: Likewise.
16233 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
16234 Pedro Alves <palves@redhat.com>
16236 * gdb.base/watch-bitfields.exp: Pass string other than test file
16237 name to prepare_for_testing.
16238 (watch): New procedure.
16239 (expect_watchpoint): Use with_test_prefix.
16240 (top level): Factor out tests to ...
16241 (test_watch_location, test_regular_watch): ... these new
16242 procedures, and use with_test_prefix and gdb_continue_to_end.
16244 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
16246 PR breakpoints/12526
16247 * gdb.base/watch-bitfields.exp: New file.
16248 * gdb.base/watch-bitfields.c: New file.
16250 2014-09-16 Pedro Alves <palves@redhat.com>
16252 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
16253 software and hardware addresses, not software address against
16256 2014-09-16 Pedro Alves <palves@redhat.com>
16258 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
16259 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
16261 2014-09-16 Pedro Alves <palves@redhat.com>
16263 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
16265 * gdb.base/a2-run.exp: Remove all code guarded by istarget
16266 "*-*-vxworks*" throughout.
16267 * gdb.base/break.exp: Likewise.
16268 * gdb.base/default.exp: Likewise.
16269 * gdb.base/scope.exp: Likewise.
16270 * gdb.base/sepdebug.exp: Likewise.
16271 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
16273 * gdb.base/run.c: Likewise.
16274 * gdb.base/sepdebug.c: Likewise.
16275 * gdb.hp/gdb.aCC/run.c: Likewise.
16276 * gdb.reverse/until-reverse.c: Likewise.
16277 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
16279 2014-09-16 Yao Qi <yao@codesourcery.com>
16281 * boards/local-remote-host-native.exp: New file.
16283 2014-09-14 Doug Evans <xdje42@gmail.com>
16285 * gdb.threads/queue-signal.c (thread_count): New variable.
16286 (thread_count_mutex, thread_count_condvar): New variables.
16287 (incr_thread_count, wait_all_threads_running): New functions.
16288 (main): Wait for all threads to be in their thread functions.
16290 2014-09-13 Doug Evans <xdje42@gmail.com>
16292 * gdb.threads/queue-signal.c: New file.
16293 * gdb.threads/queue-signal.exp: New file.
16295 2014-09-13 Doug Evans <xdje42@gmail.com>
16297 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
16298 be consistent with what default_gdb_init uses.
16299 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
16300 the plain text of the prompt. Add some logging printfs.
16301 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
16303 2014-09-12 Pedro Alves <palves@redhat.com>
16305 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
16306 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
16307 * gdb.arch/i386-size-overlap.exp: Likewise.
16308 * gdb.arch/i386-size.exp: Likewise.
16309 * gdb.arch/i386-unwind.exp: Likewise.
16310 * gdb.base/a2-run.exp: Likewise.
16311 * gdb.base/break.exp: Likewise.
16312 * gdb.base/charset.exp: Likewise.
16313 * gdb.base/chng-syms.exp: Likewise.
16314 * gdb.base/commands.exp: Likewise.
16315 * gdb.base/dbx.exp: Likewise.
16316 * gdb.base/find.exp: Likewise.
16317 * gdb.base/funcargs.exp: Likewise.
16318 * gdb.base/jit-simple.exp: Likewise.
16319 * gdb.base/reread.exp: Likewise.
16320 * gdb.base/sepdebug.exp: Likewise.
16321 * gdb.base/step-bt.exp: Likewise.
16322 * gdb.cp/mb-inline.exp: Likewise.
16323 * gdb.cp/mb-templates.exp: Likewise.
16324 * gdb.objc/basicclass.exp: Likewise.
16325 * gdb.threads/killed.exp: Likewise.
16327 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16330 * gdb.arch/powerpc-stackless.S: New file.
16331 * gdb.arch/powerpc-stackless.exp: New file.
16333 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16335 * gdb.base/attach.c: Include unistd.h.
16336 (main): Call alarm. Add label postloop.
16337 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
16338 gdb_breakpoint, gdb_continue_to_breakpoint.
16339 (test_command_line_attach_run): Kill ${testpid} in one exit path.
16341 2014-09-11 Pedro Alves <palves@redhat.com>
16344 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
16345 * gdb.base/attach.exp (test_command_line_attach_run): New
16347 (top level): Call it.
16349 2014-09-11 Pedro Alves <palves@redhat.com>
16351 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
16352 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
16353 (do_command_attach_tests): Use spawn_wait_for_attach.
16354 * gdb.base/solib-overlap.exp: Likewise.
16355 * gdb.multi/multi-attach.exp: Likewise.
16356 * gdb.python/py-prompt.exp: Likewise.
16357 * gdb.python/py-sync-interp.exp: Likewise.
16358 * gdb.server/ext-attach.exp: Likewise.
16360 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
16362 * gdb.fortran/array-element.exp: Remove unexpected "continue"
16363 command in testcase. Simplify testcase.
16365 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16367 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
16369 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16371 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
16373 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16375 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
16377 2014-09-10 Joel Brobecker <brobecker@adacore.com>
16379 * gdb.dwarf2/dynarr-ptr.c: New file.
16380 * gdb.dwarf2/dynarr-ptr.exp: New file.
16382 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16384 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
16385 of 30 rather than hardcoding 120 for a slow test case. Take the
16386 `gdb,timeout' target setting into account for this calculation.
16387 Don't extend the timeout for the test cases that don't need it.
16389 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16391 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
16392 a factor of 2 for a slow test case. Take the `gdb,timeout'
16393 target setting into account for this calculation.
16394 * gdb.reverse/until-precsave.exp: Increase the timeout by
16395 a factor of 15 and 3 respectively rather than adding 120
16396 for a pair of slow test cases. Take the `gdb,timeout'
16397 target setting into account for this calculation.
16399 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16401 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
16402 timeout, don't pass one down to gdb_expect.
16403 (gdb_expect): Rework timeout selection.
16405 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16407 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
16408 exception on timeout.
16409 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
16410 (gdbserver_start_extended): Catch any `gdbserver_start' error
16412 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
16413 * lib/mi-support.exp (mi_gdb_target_load): Catch any
16414 `gdbserver_gdb_load' error exceptions.
16416 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16418 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
16419 120 on waiting for the TCP socket to open.
16421 2014-09-09 Doug Evans <xdje42@gmail.com>
16423 * gdb.base/default.exp (show_conv_list): Add _caller_is,
16424 _caller_matches, _any_caller_is, _any_caller_matches.
16426 2014-09-09 Doug Evans <xdje42@gmail.com>
16428 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
16430 2014-09-09 Yao Qi <yao@codesourcery.com>
16432 * gdb.mi/mi-var-display.exp: Set print symbol off.
16434 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
16437 * gdb.base/commands.exp: Add tests to verify user-defined
16438 commands with empty bodies.
16439 * gdb.python/py-cmd.exp: Test that we don't show user-defined
16440 python commands in `show user command`.
16441 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
16442 scheme commands in `show user command`.
16444 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16447 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
16448 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
16449 * gdb.python/py-framefilter-invalidarg.exp: New file.
16450 * gdb.python/py-framefilter-invalidarg.py: New file.
16452 2014-09-06 Doug Evans <xdje42@gmail.com>
16455 * gdb.python/py-caller-is.c: New file.
16456 * gdb.python/py-caller-is.exp: New file.
16458 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
16461 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
16462 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
16464 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
16467 * gdb.fortran/print-formatted.exp: New file.
16468 * gdb.fortran/print-formatted.f90: Likewise.
16470 2014-09-03 Sasha Smundak <asmundak@google.com>
16472 * gdb.python/py-frame.exp: Test Frame.read_register.
16474 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
16477 * gdb.python/py-completion.exp: New file.
16478 * gdb.python/py-completion.py: Likewise.
16480 2014-08-28 Doug Evans <dje@google.com>
16482 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
16483 eax,etc. are live with values set by gdb and thus the compiler can't
16485 * gdb.arch/i386-pseudo.c (main): Ditto.
16487 2014-08-27 Doug Evans <dje@google.com>
16489 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
16491 2014-08-25 Doug Evans <dje@google.com>
16493 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
16496 2014-08-25 Doug Evans <dje@google.com>
16498 * gdb.threads/thread-execl.exp: #include <stdio.h>.
16500 2014-08-24 Yao Qi <yao@codesourcery.com>
16502 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
16504 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
16506 2014-08-22 Doug Evans <dje@google.com>
16509 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
16510 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
16511 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
16513 2014-08-22 Yao Qi <yao@codesourcery.com>
16515 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
16516 * gdb.python/py-finish-breakpoint2.exp: Likewise.
16517 * gdb.python/python.exp: Likewise. Use .py file on the host
16518 instead of the build.
16520 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16522 * gdb.threads/gcore-stale-thread.c: New file.
16523 * gdb.threads/gcore-stale-thread.exp: New file.
16525 2014-08-21 Pedro Alves <palves@redhat.com>
16527 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
16528 * gdb.base/gcore-relro-pie.exp: Likewise.
16529 * gdb.base/gcore-relro.exp: Likewise.
16530 * gdb.base/gcore.exp: Likewise.
16531 * gdb.base/print-symbol-loading.exp: Likewise.
16532 * gdb.threads/gcore-thread.exp: Likewise.
16533 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
16535 2014-08-20 Pedro Alves <palves@redhat.com>
16536 Jan Kratochvil <jan.kratochvil@redhat.com>
16538 * Makefile.in (EXTRA_RULES, CC): New variables, get from
16540 (EXPECT): Handle READ1 being set.
16541 (all): Depend on EXTRA_RULES.
16542 (check-read1, expect-read1, read1.so, read1): New rules.
16543 * README (Testsuite Parameters): Document the READ1 make variable.
16544 (Race detection): New section.
16545 * configure: Regenerate.
16546 * configure.ac: If build==host==target, and running under a
16547 GNU/glibc system, add read1 to the extra Makefile rules.
16548 (EXTRA_RULES): AC_SUBST it.
16549 * lib/read1.c: New file.
16551 2014-08-20 Joel Brobecker <brobecker@adacore.com>
16553 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
16554 the handling of variables declared as a typedef to an array
16555 which a DW_AT_data_location attribute.
16557 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
16558 Pedro Alves <palves@redhat.com>
16562 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
16565 2014-08-19 Pedro Alves <palves@redhat.com>
16567 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
16569 2014-08-19 Yao Qi <yao@codesourcery.com>
16571 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
16574 2014-08-18 David Blaikie <dblaikie@gmail.com>
16576 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
16578 2014-08-18 Joel Brobecker <brobecker@adacore.com>
16580 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
16581 attribute in array range.
16583 2014-08-18 Joel Brobecker <brobecker@adacore.com>
16585 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
16587 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16590 * gdb.cp/pr17132.cc: New file.
16591 * gdb.cp/pr17132.exp: New file.
16593 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
16595 * gdb.python/py-xmethods.py (A_getarrayind)
16596 (E_method_char_worker.__call__, E_method_int_worker.__call__):
16597 Use 'print' with function call syntax.
16598 (E_method_matcher.match): Fix tab vs space indentation mixup.
16600 2014-08-15 Yao Qi <yao@codesourcery.com>
16602 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
16605 2014-08-15 Yao Qi <yao@codesourcery.com>
16607 * gdb.cp/casts.exp: Set print symbol off.
16608 * gdb.cp/class2.exp: Likewise.
16609 * gdb.cp/overload.exp: Likewise.
16610 * gdb.cp/templates.exp: Likewise.
16612 2014-08-11 Doug Evans <dje@google.com>
16614 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
16615 (test_load_shlib): Update.
16617 2014-08-09 Yao Qi <yao@codesourcery.com>
16619 * gdb.base/display.exp: Invoke is_address_zero_readable.
16620 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
16621 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
16622 * gdb.base/hbreak-unmapped.exp: Return if
16623 is_address_zero_readable returns true.
16624 * gdb.base/signest.exp: Likewise.
16625 * gdb.base/signull.exp: Likewise.
16626 * gdb.base/sigbpt.exp: Likewise.
16627 * gdb.guile/scm-disasm.exp: Do the test if
16628 is_address_zero_readable returns false.
16629 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
16630 * gdb.python/py-arch.exp: Likewise.
16631 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
16632 * lib/gdb.exp (is_address_zero_readable): New proc.
16634 2014-08-09 Yao Qi <yao@codesourcery.com>
16637 * gdb.mi/mi-var-display.exp: Make test messages unique.
16639 2014-08-04 Tom Tromey <tromey@redhat.com>
16641 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
16644 2014-08-04 Tom Tromey <tromey@redhat.com>
16646 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
16649 2014-08-01 Joel Brobecker <brobecker@adacore.com>
16651 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
16652 inner_vla_struct_object_size.
16653 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
16656 2014-07-30 Pedro Alves <palves@redhat.com>
16658 * gdb.threads/signal-command-handle-nopass.exp (test): Add
16661 2014-07-29 Yao Qi <yao@codesourcery.com>
16664 * gdb.base/until-nodebug.exp: New.
16666 2014-07-28 Doug Evans <xdje42@gmail.com>
16669 * gdb.guile/scm-parameter.exp: Add tests for trying to create
16670 previously existing parameter, and previously ambiguously spelled
16673 2014-07-28 Will Newton <will.newton@linaro.org>
16675 * gdb.base/varargs.exp: Remove KFAILs for ARM.
16677 2014-07-26 Ludovic Courtès <ludo@gnu.org>
16678 Doug Evans <xdje42@gmail.com>
16681 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
16683 2014-07-25 Pedro Alves <palves@redhat.com>
16685 * gdb.threads/signal-command-handle-nopass.c: New file.
16686 * gdb.threads/signal-command-handle-nopass.exp: New file.
16687 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
16688 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
16689 * gdb.threads/signal-delivered-right-thread.c: New file.
16690 * gdb.threads/signal-delivered-right-thread.exp: New file.
16692 2014-07-25 Pedro Alves <palves@redhat.com>
16694 * gdb.base/double-prompt-target-event-error.exp
16695 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
16697 (cancel_pagination_in_target_event): Rework double prompt
16699 * gdb.base/paginate-after-ctrl-c-running.exp
16700 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
16702 * gdb.base/paginate-bg-execution.exp
16703 (test_bg_execution_pagination_return)
16704 (test_bg_execution_pagination_cancel): Remove '-notransfer
16706 * gdb.base/paginate-execution-startup.exp
16707 (test_fg_execution_pagination_return)
16708 (test_fg_execution_pagination_cancel): Remove '-notransfer
16710 * gdb.base/paginate-inferior-exit.exp
16711 (test_paginate_inferior_exited): Remove '-notransfer <return>'
16713 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
16714 * lib/gdb.exp (pagination_prompt): Run text through
16716 (gdb_test_multiple): Match $pagination_prompt instead of
16718 (string_to_regexp): Move to lib/gdb-utils.exp.
16720 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16722 * gdb.arch/amd64-entry-value-paramref.S: New file.
16723 * gdb.arch/amd64-entry-value-paramref.cc: New file.
16724 * gdb.arch/amd64-entry-value-paramref.exp: New file.
16725 * gdb.arch/amd64-optimout-repeat.S: New file.
16726 * gdb.arch/amd64-optimout-repeat.c: New file.
16727 * gdb.arch/amd64-optimout-repeat.exp: New file.
16729 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
16732 * gdb.base/statistics.exp: New file.
16734 2014-07-17 Doug Evans <dje@google.com>
16737 * gdb.base/maint.exp: Update testing of per-command stats.
16739 2014-07-16 Pedro Alves <palves@redhat.com>
16741 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
16742 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
16743 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
16744 (tfile_write_buf): New functions.
16745 (add_memory_block): Rewrite using the above.
16746 (adjust_function_address): New function.
16747 (FUNCTION_ADDRESS): New macro.
16748 (write_basic_trace_file): Remove short_x local, and use
16749 tfile_write_16. Change type of func_addr local to unsigned long
16750 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
16751 here. Cast argument of add_memory_block to char pointer.
16752 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
16753 (main): Remove parameters.
16754 * gdb.trace/tfile.exp: Remove nowarnings.
16756 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
16758 * gdb.base/debug-expr.exp: Test string evaluation with
16759 "debug expression" on.
16761 2014-07-15 Pedro Alves <palves@redhat.com>
16763 * gdb.base/reread.exp: Use clean_restart.
16765 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
16767 * gdb.arch/avr-flash-qualifer.c: New.
16768 * gdb.arch/avr-flash-qualifer.exp: New.
16770 2014-07-14 Pedro Alves <palves@redhat.com>
16772 * gdb.base/paginate-after-ctrl-c-running.c: New file.
16773 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
16775 2014-07-14 Pedro Alves <palves@redhat.com>
16777 * gdb.base/double-prompt-target-event-error.c: New file.
16778 * gdb.base/double-prompt-target-event-error.exp: New file.
16780 2014-07-14 Pedro Alves <palves@redhat.com>
16783 * gdb.base/paginate-inferior-exit.c: New file.
16784 * gdb.base/paginate-inferior-exit.exp: New file.
16786 2014-07-14 Pedro Alves <palves@redhat.com>
16789 * gdb.base/paginate-bg-execution.c: New file.
16790 * gdb.base/paginate-bg-execution.exp: New file.
16792 2014-07-14 Pedro Alves <palves@redhat.com>
16795 * gdb.base/paginate-execution-startup.c: New file.
16796 * gdb.base/paginate-execution-startup.exp: New file.
16797 * lib/gdb.exp (pagination_prompt): New global.
16798 (default_gdb_spawn): New procedure, factored out from
16800 (default_gdb_start): Adjust to call default_gdb_spawn.
16801 (gdb_spawn): New procedure.
16803 2014-07-14 Pedro Alves <palves@redhat.com>
16805 * lib/gdb.exp (gdb_assert): New procedure.
16806 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
16808 2014-07-14 Pedro Alves <palves@redhat.com>
16810 * gdb.base/execution-termios.c: New file.
16811 * gdb.base/execution-termios.exp: New file.
16813 2014-07-14 Tom Tromey <tromey@redhat.com>
16815 * gdb.cp/vla-cxx.cc: New file.
16816 * gdb.cp/vla-cxx.exp: New file.
16818 2014-07-14 Tom Tromey <tromey@redhat.com>
16820 * gdb.reverse/rerun-prec.c: New file.
16821 * gdb.reverse/rerun-prec.exp: New file.
16823 2014-07-12 Maciej W. Rozycki <macro@mips.com>
16824 Maciej W. Rozycki <macro@codesourcery.com>
16826 * lib/gdb-utils.exp: New file.
16827 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
16828 inline `gdb_init_command' processing.
16829 (gdb_start_cmd): Likewise.
16830 * lib/mi-support.exp (mi_run_cmd): Likewise.
16831 * README: Document `gdb_init_command' and `gdb_init_commands'.
16833 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16835 Fix false FAIL running under a very long directory name.
16836 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
16837 and "set print elements 10000". Twice.
16839 2014-07-11 Yao Qi <yao@codesourcery.com>
16841 * gdb.base/exprs.exp: "set print symbol off".
16843 2014-07-11 Pedro Alves <palves@redhat.com>
16845 * gdb.threads/kill.c: New file.
16846 * gdb.threads/kill.exp: New file.
16848 2014-07-10 Yao Qi <yao@codesourcery.com>
16850 * gdb.trace/tfile.c (write_basic_trace_file)
16851 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
16852 address written to trace file.
16854 2014-07-09 Pedro Alves <palves@redhat.com>
16856 * gdb.base/attach-wait-input.exp: New file.
16857 * gdb.base/attach-wait-input.c: New file.
16859 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
16861 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
16862 setting up test structures.
16863 (main): Call new test function.
16864 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
16865 test function, continue into test function and walk test
16868 2014-07-02 Yao Qi <yao@codesourcery.com>
16870 * gdb.trace/entry-values.c: Define labels 'foo_start' and
16871 'bar_start' at the beginning of functions 'foo' and 'bar'
16873 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
16874 instead of 'foo' and 'bar'.
16876 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
16878 * gdb.btrace/segv.exp: New.
16879 * gdb.btrace/segv.c: New.
16881 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
16883 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
16886 2014-06-30 Mark Wielaard <mjw@redhat.com>
16888 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
16889 vulture, vilify, villar): New volatile array constants.
16890 (vindictive, vegetation): New const volatile array constants.
16891 * gdb.base/volatile.exp: Test volatile and const volatile array
16894 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
16896 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
16897 target lacks support for awatch, rwatch, or hbreak.
16899 2014-06-27 Yao Qi <yao@codesourcery.com>
16901 * gdb.multi/dummy-frame-restore.exp: New.
16902 * gdb.multi/dummy-frame-restore.c: New.
16904 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
16906 * gdb.btrace/gcore.exp: New.
16908 2014-06-23 Pedro Alves <palves@redhat.com>
16910 * gdb.base/watchpoint-reuse-slot.c: New file.
16911 * gdb.base/watchpoint-reuse-slot.exp: New file.
16913 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
16915 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
16916 progspace's filename in 'info', 'enable' and 'disable' command
16919 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
16921 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
16922 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16923 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
16925 2014-06-20 Gary Benson <gbenson@redhat.com>
16927 * gdb.arch/i386-avx.exp: Fix include file location.
16928 * gdb.arch/i386-sse.exp: Likewise.
16930 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
16932 * gdb.dlang/expression.exp: New file.
16934 2014-06-19 Pedro Alves <palves@redhat.com>
16936 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
16938 (top level): ... here. Iterate running tests under different
16939 scheduler-locking settings.
16941 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
16943 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
16944 to DW_FORM_addr and use non-zero addresses.
16946 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
16949 * gdb.python/py-xmethods.cc: Add global function call counters and
16950 increment them in their respective functions. Remove "cout"
16952 * gdb.python/py-xmethods.exp: Make tests check the global function
16953 call counters instead of depending on inferior IO.
16955 2014-06-18 Don Breazeal <donb@codesourcery.com>
16957 * gdb.base/foll-fork.exp (default_fork_parent_follow):
16959 (explicit_fork_parent_follow): Deleted procedure.
16960 (explicit_fork_child_follow): Deleted procedure.
16961 (test_follow_fork): New procedure.
16962 (do_fork_tests): Replace calls to deleted procedures with
16963 calls to test_follow_fork and reset GDB for subsequent
16966 2014-06-17 Yao Qi <yao@codesourcery.com>
16968 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
16971 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
16973 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
16974 Initialize ptr and S explicitly.
16975 (skip_type_update_when_not_use_rtti_test): Likewise.
16977 2014-06-16 Keith Seitz <keiths@redhat.com>
16980 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
16981 the inferior is started.
16983 2014-06-16 Pedro Alves <palves@redhat.com>
16985 * gdb.base/break-main-file-remove-fail.c: New file.
16986 * gdb.base/break-main-file-remove-fail.exp: New file.
16987 * gdb.base/break-unload-file.exp: Use build_executable instead of
16988 prepare_for_testing.
16989 (test_break): New parameter "initial_load". Handle it.
16990 (top level): Add initial_load cmdline/file axis.
16992 2014-06-12 Tom Tromey <tromey@redhat.com>
16994 * gdb.base/completion.exp: Don't use directory name in test.
16996 2014-06-09 Gary Benson <gbenson@redhat.com>
16998 * gdb.base/sigall.c [Functions to send signals]: Reorder to
16999 separate the always-available ANSI-standard signals from the
17000 signals that require checking.
17002 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
17006 2014-06-07 Keith Seitz <keiths@redhat.com>
17010 * gdb.cp/var-tag.cc: New file.
17011 * gdb.cp/var-tag.exp: New file.
17012 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
17013 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
17014 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
17015 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
17017 2014-06-06 Doug Evans <xdje42@gmail.com>
17019 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
17021 2014-06-06 Pedro Alves <palves@redhat.com>
17023 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
17024 in target debug output instead of looking at RSP packets,
17025 disabling the test on any target that uses hardware stepping.
17028 2014-06-06 Pedro Alves <palves@redhat.com>
17030 * gdb.base/break-unload-file.exp: Fix typo.
17032 2014-06-06 Yao Qi <yao@codesourcery.com>
17034 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
17035 from "jit_function" to "^jit_function".
17037 2014-06-06 Yao Qi <yao@codesourcery.com>
17039 * gdb.base/async.c (foo): Add one statement.
17040 * gdb.base/async.exp: Get the next instruction address and
17041 match the output of "nexti" by instruction address. Match
17042 the hex address in the output of "finish".
17044 2014-06-06 Gary Benson <gbenson@redhat.com>
17046 * gdb.base/call-signals.c: Remove preprocessor conditionals
17047 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
17048 SIGSEGV and SIGTERM.
17049 * gdb.base/sigall.c: Likewise.
17050 * gdb.base/unwindonsignal.c: Likewise.
17051 * gdb.reverse/sigall-reverse.c: Likewise.
17053 2014-06-06 Yao Qi <yao@codesourcery.com>
17055 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
17056 readable, skip the test.
17058 2014-06-06 Yao Qi <yao@codesourcery.com>
17060 * gdb.threads/staticthreads.c (thread_function): Move the line
17061 setting breakpoint on forward.
17062 * gdb.threads/staticthreads.exp: Update comments.
17064 2014-06-05 Ludovic Courtès <ludo@gnu.org>
17066 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
17067 "history-append! type error".
17069 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
17071 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
17072 erroneous dprintf expected input.
17074 2014-06-04 Doug Evans <xdje42@gmail.com>
17076 * gdb.guile/scm-generics.exp: Delete.
17078 2014-06-04 Doug Evans <xdje42@gmail.com>
17080 * gdb.guile/scm-breakpoint.exp: Update.
17081 Add tests for breakpoint registration.
17083 2014-06-04 Tom Tromey <tromey@redhat.com>
17085 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
17087 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
17088 inner_vla_struct, vla_union types. Initialize objects of those
17089 types and compute their sizes.
17091 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
17092 Hui Zhu <hui@codesourcery.com>
17094 * gdb.base/fileio.exp: Add test for shell not available as well as
17096 * gdb.base/fileio.c (test_system): Check for shell twice.
17098 2014-06-04 Yao Qi <yao@codesourcery.com>
17100 * gdb.base/auto-connect-native-target.exp: Remove redundant
17101 space from the regexp pattern.
17103 2014-06-04 Yao Qi <yao@codesourcery.com>
17105 * gdb.base/default.exp: Replace "child" with "native" in
17108 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
17110 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
17111 * gdb.python/py-xmethods.exp: New tests to test xmethods.
17112 * gdb.python/py-xmethods.py: Python script supporting the
17113 new testcase and tests.
17115 2014-06-03 Joel Brobecker <brobecker@adacore.com>
17116 Pedro Alves <palves@redhat.com>
17118 PR breakpoints/17000
17119 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
17120 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
17122 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
17124 * gdb.base/subst.exp: Add tests to verify partial path matching
17127 2014-06-03 Pedro Alves <palves@redhat.com>
17129 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
17130 target that doesn't use software single-stepping.
17132 2014-06-03 Pedro Alves <palves@redhat.com>
17134 PR breakpoints/17000
17135 * gdb.base/sss-bp-on-user-bp-2.c: New file.
17136 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
17138 2014-06-02 Doug Evans <xdje42@gmail.com>
17140 * gdb.guile/scm-parameter.exp: New file.
17142 2014-06-02 Doug Evans <xdje42@gmail.com>
17144 * gdb.guile/scm-cmd.c: New file.
17145 * gdb.guile/scm-cmd.exp: New file.
17147 2014-06-02 Doug Evans <xdje42@gmail.com>
17149 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
17150 pretty-printer lookup.
17151 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
17152 (make-pp_s-printer): Call it.
17153 (make-pretty-printer-from-dict): New function.
17154 (lookup-pretty-printer-maker-from-dict): New function.
17155 (*pretty-printer*): Simplify.
17156 (make-objfile-pp_s-printer): New function.
17157 (install-objfile-pretty-printers!): New function.
17158 (make-progspace-pp_s-printer): New function.
17159 (install-progspace-pretty-printers!): New function.
17160 * gdb.guile/scm-progspace.c: New file.
17161 * gdb.guile/scm-progspace.exp: New file.
17163 2014-06-02 Pedro Alves <palves@redhat.com>
17165 * gdb.base/dprintf-bp-same-addr.c: New file.
17166 * gdb.base/dprintf-bp-same-addr.exp: New file.
17168 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17170 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
17171 * gdb.arch/powerpc-power.s: Likewise.
17173 2014-06-02 Joel Brobecker <brobecker@adacore.com>
17175 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
17177 2014-06-01 Yao Qi <yao@codesourcery.com>
17179 * gdb.base/watchpoint.exp (test_watch_location): Check null
17180 pointer can be dereferenced. If not, do the test, otherwise
17183 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
17185 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
17187 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
17189 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
17191 * gdb.arch/amd64-invalid-stack-middle.S: New file.
17192 * gdb.arch/amd64-invalid-stack-middle.c: New file.
17193 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
17194 * gdb.arch/amd64-invalid-stack-top.c: New file.
17195 * gdb.arch/amd64-invalid-stack-top.exp: New file.
17197 2014-05-30 Pedro Alves <palves@redhat.com>
17199 PR breakpoints/17000
17200 * gdb.base/sss-bp-on-user-bp.c: New file.
17201 * gdb.base/sss-bp-on-user-bp.exp: New file.
17203 2014-05-30 David Blaikie <dblaikie@gmail.com>
17205 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
17206 gnu_inline semantics via attribute.
17207 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
17208 source explicitly specifies the required semantics.
17210 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
17212 * gdb.reverse/sigall-reverse.exp: Fix a typo.
17214 2014-05-29 Pedro Alves <palves@redhat.com>
17215 Tom Tromey <tromey@redhat.com>
17217 * gdb.base/async-shell.exp: Don't enable target-async.
17218 * gdb.base/async.exp
17219 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
17221 (top level): Don't test with "target-async".
17222 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
17223 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
17224 * gdb.base/inferior-died.exp: Don't enable target-async.
17225 * gdb.base/interrupt-noterm.exp: Likewise.
17226 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
17227 * gdb.mi/mi-nonstop-exit.exp: Likewise.
17228 * gdb.mi/mi-nonstop.exp: Likewise.
17229 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
17230 * gdb.mi/mi-nsintrall.exp: Likewise.
17231 * gdb.mi/mi-nsmoribund.exp: Likewise.
17232 * gdb.mi/mi-nsthrexec.exp: Likewise.
17233 * gdb.mi/mi-watch-nonstop.exp: Likewise.
17234 * gdb.multi/watchpoint-multi.exp: Adjust comment.
17235 * gdb.python/py-evsignal.exp: Don't enable target-async.
17236 * gdb.python/py-evthreads.exp: Likewise.
17237 * gdb.python/py-prompt.exp: Likewise.
17238 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
17239 * gdb.server/solib-list.exp: Don't enable target-async.
17240 * gdb.threads/thread-specific-bp.exp: Likewise.
17241 * lib/mi-support.exp: Adjust to use mi-async.
17243 2014-05-29 Pedro Alves <palves@redhat.com>
17246 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
17247 reason, even in sync mode.
17249 2014-05-29 Pedro Alves <palves@redhat.com>
17250 Hui Zhu <hui@codesourcery.com>
17253 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
17254 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
17255 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
17256 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
17258 2014-05-28 Joel Brobecker <brobecker@adacore.com>
17260 * config/monitor.exp (gdb_target_monitor): Replace use of
17261 "set remotebaud" by "set serial baud".
17263 2014-05-26 Andy Wingo <wingo@igalia.com>
17265 * gdb.guile/scm-breakpoint.exp:
17266 * gdb.guile/scm-gsmob.exp: Update to use plain old object
17267 properties instead of gdb-object-properties.
17269 2014-05-26 Yao Qi <yao@codesourcery.com>
17271 * gdb.server/no-thread-db.exp: Specify source file name
17272 explicitly when setting a breakpoint.
17274 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17276 * gdb.btrace/vdso.c: New.
17277 * gdb.btrace/vdso.exp: New.
17279 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17281 * gdb.base/gcore.exp (capture_command_output): Move ...
17282 * lib/gdb.exp (capture_command_output): ... here.
17284 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
17286 * gdb.btrace/data.exp: Test memory access during btrace replay.
17288 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
17290 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
17292 2014-05-21 Pedro Alves <palves@redhat.com>
17295 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
17296 (top level): Test that output related to execution commands is
17297 sent to the console with CLI commands, but not with MI commands.
17298 Test that breakpoint events are always mirrored to the console.
17299 Also expect the new source line to be output after a "next" in
17300 async mode too. Make it a pass/fail test.
17301 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
17303 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
17305 2014-05-21 Pedro Alves <palves@redhat.com>
17307 * gdb.base/list.exp (build_pattern, test_list): New procedures.
17308 Use them to test variations of "list" after reaching a breakpoint.
17309 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
17310 Test "list" with listsize 10 after reaching a breakpoint.
17311 * gdb.python/python.exp (decode_line current location line
17312 number): Adjust expected line number.
17314 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
17316 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
17317 behavior for $args, pass it directly to "run".
17319 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
17321 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
17324 2014-05-21 Pedro Alves <palves@redhat.com>
17326 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
17327 auto-connect-native-target off".
17328 * gdb.base/auto-connect-native-target.c: New file.
17329 * gdb.base/auto-connect-native-target.exp: New file.
17331 2014-05-21 Pedro Alves <palves@redhat.com>
17333 * gdb.base/default.exp: Test "target native" instead of "target
17336 2014-05-21 Mark Wielaard <mjw@redhat.com>
17338 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
17340 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17342 Fix TLS access for -static -pthread.
17343 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
17344 <HAVE_TLS> (thread_function, main): Initialize it.
17345 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
17347 <$have_tls != "">: Check TLSVAR.
17349 2014-05-21 Pedro Alves <palves@redhat.com>
17351 * gdb.base/dcache-line-read-error.c: New.
17352 * gdb.base/dcache-line-read-error.exp: New.
17354 2014-05-20 Pedro Alves <palves@redhat.com>
17356 * gdb.base/compare-sections.c: New file.
17357 * gdb.base/compare-sections.exp: New file.
17359 2014-05-20 Pedro Alves <palves@redhat.com>
17361 * gdb.base/break-idempotent.c: New file.
17362 * gdb.base/break-idempotent.exp: New file.
17364 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
17366 * gdb.btrace/nohist.exp: New.
17368 2014-05-20 Yao Qi <yao@codesourcery.com>
17370 * lib/gdb.exp (gdb_init): Set timeout if test file is under
17371 gdb.reverse directory and gdb_reverse_timeout exists in board
17373 * README: Document gdb_reverse_timeout.
17375 2014-05-20 Yao Qi <yao@codesourcery.com>
17377 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
17378 'test_file_name'. Treat args as a string instead of a list.
17379 (gdb_init): Rename argument 'args' by 'test_file_name'.
17381 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
17383 * gdb.arch/powerpc-power.exp: New file.
17384 * gdb.arch/powerpc-power.s: New file.
17386 2014-05-16 Doug Evans <dje@google.com>
17388 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
17389 * gdb.base/completion.exp: Check that all expected files exist
17390 before doing file completion.
17392 2014-05-16 Doug Evans <dje@google.com>
17394 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
17396 (do_syscall_tests_without_xml): Update.
17398 2014-05-16 Pedro Alves <palves@redhat.com>
17400 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
17401 instead of "unknown output after running".
17403 2014-05-16 Yao Qi <yao@codesourcery.com>
17405 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
17406 file1.txt from host at the end.
17407 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
17409 2014-05-15 Doug Evans <dje@google.com>
17411 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
17412 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
17413 loading file. Add test for TU lookup.
17415 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17417 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
17418 calling "-exec-arguments" or "set args" before running the
17421 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
17423 * lib/mi-support.exp (mi_expect_stop): Expect message for
17424 inferiors that exit with non-zero exit code.
17426 2014-05-14 Yao Qi <yao@codesourcery.com>
17428 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
17429 match absolute path on remote host.
17430 (test_file_list_exec_source_files): Remove "/" from the
17433 2014-05-14 Yao Qi <yao@codesourcery.com>
17435 * boards/local-remote-host-notty.exp (${board}_file): New
17438 2014-05-07 Kyle McMartin <kyle@redhat.com>
17440 Pushed by Joel Brobecker <brobecker@adacore.com>.
17441 * gdb.arch/aarch64-atomic-inst.c: New file.
17442 * gdb.arch/aarch64-atomic-inst.exp: New file.
17444 2014-05-07 Yao Qi <yao@codesourcery.com>
17446 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
17447 in current context" too.
17449 2014-05-05 Keith Seitz <keiths@redhat.com>
17451 * gdb.linespec/ls-dollar.exp: Add test for linespec
17452 file:convenience_variable.
17454 2014-05-05 Yao Qi <yao@codesourcery.com>
17456 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
17457 traceframes into tfile and ctf trace files. Read data from
17458 trace file and test collected data.
17459 (gdb_collect_locals_test): Likewise.
17460 (gdb_unavailable_registers_test): Likewise.
17461 (gdb_unavailable_floats): Likewise.
17462 (gdb_collect_globals_test): Likewise.
17463 (top-level): Append "ctf" to trace_file_targets if GDB
17466 2014-05-05 Yao Qi <yao@codesourcery.com>
17468 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
17470 (gdb_collect_args_test_1): ... it. New proc.
17471 (gdb_collect_locals_test): Move some code to ...
17472 (gdb_collect_locals_test_1): ... it. New proc.
17473 (gdb_unavailable_registers_test): Move some code to ...
17474 (gdb_unavailable_registers_test_1): ... it. New proc.
17475 (gdb_unavailable_floats): Move some code to ...
17476 (gdb_unavailable_floats_1): ... it. New proc.
17478 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17480 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
17481 probes to test for bitness recognition.
17482 * gdb.arch/amd64-stap-optional-prefix.exp
17483 (test_probe_value_without_reg): New procedure.
17484 Add code to test for different kinds of bitness.
17486 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
17488 PR breakpoints/16889
17489 * gdb.arch/amd64-stap-optional-prefix.S: New file.
17490 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
17492 2014-05-01 Pedro Alves <palves@redhat.com>
17494 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
17495 gdb_file_cmd if no file is specified.
17496 * boards/native-extended-gdbserver.exp (gdb_load): Use the
17497 last_loaded_file to set the remote exec-file.
17499 2014-05-01 Pedro Alves <palves@redhat.com>
17501 * boards/local-remote-host.exp: New file.
17503 2014-05-01 Pedro Alves <palves@redhat.com>
17505 * boards/local-remote-host.exp: Rename to ...
17506 * boards/local-remote-host-notty.exp: ... this.
17508 2014-04-28 Joel Brobecker <brobecker@adacore.com>
17510 * gdb.ada/dyn_arrayidx: New testcase.
17512 2014-04-26 Yao Qi <yao@codesourcery.com>
17514 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
17515 and compute the length of function main. Save it in
17517 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
17518 (top-level): Use gdb_compile to compile objects into
17519 executable and restart GDB. Remove invocation to
17520 prepare_for_testing.
17522 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
17523 Pedro Alves <palves@redhat.com>
17526 * gdb.multi/multi-attach.c: New file.
17527 * gdb.multi/multi-attach.exp: New file.
17529 2014-04-25 Pedro Alves <palves@redhat.com>
17531 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
17533 (top level): Test that "set remote conditional-breakpoints-packet
17534 off" works as intended.
17535 * gdb.base/dprintf.exp: Test that "set remote
17536 breakpoint-commands-packet off" works as intended.
17537 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
17539 (top level): Call it.
17540 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
17541 remote fast-tracepoints-packet off" works as intended.
17542 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
17543 * lib/gdb.exp (gdb_is_target_remote): ... here.
17545 2014-04-24 David Blaikie <dblaikie@gmail.com>
17547 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
17548 ensure clang would not discard them.
17549 * gdb.base/gdbvars.c: Ditto.
17550 * gdb.base/memattr.c: Ditto.
17551 * gdb.base/whatis.c: Ditto.
17552 * gdb.python/py-prettyprint.c: Ditto.
17553 * gdb.trace/actions.c: Ditto.
17554 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
17555 ensure clang would not discard it.
17557 2014-04-24 David Blaikie <dblaikie@gmail.com>
17559 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
17560 clang to emit the full definition of type required by the test
17561 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
17563 2014-04-24 David Blaikie <dblaikie@gmail.com>
17565 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
17566 coax Clang into emitting the definition of the type.
17567 * gdb.cp/pr10728-x.h (y): Ditto.
17568 * gdb.cp/pr10728-y.cc (y): Ditto.
17570 2014-04-24 David Blaikie <dblaikie@gmail.com>
17572 * gdb.base/label.exp: XFAIL label related tests under Clang.
17573 * gdb.cp/cplabel.exp: Ditto.
17574 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
17575 under Clang those using labels.
17577 2014-04-25 Yao Qi <yao@codesourcery.com>
17579 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
17581 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
17582 partial_label and double_label.
17584 2014-04-24 David Blaikie <dblaikie@gmail.com>
17586 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
17588 2014-04-24 David Blaikie <dblaikie@gmail.com>
17590 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
17591 of the function to work across GCC and Clang.
17592 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
17593 pointer types (const void ** const V void **).
17595 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
17596 Walfred Tedeschi <walfred.tedeschi@intel.com>
17598 * Makefile.in (EXECUTABLES): Added i386-avx512.
17599 * gdb.arch/i386-avx512.c: New file.
17600 * gdb.arch/i386-avx512.exp: Likewise.
17602 2014-04-23 Keith Seitz <keiths@redhat.com>
17604 * lib/mi-support.exp (mi_list_breakpoints): Delete.
17605 (mi_make_breakpoint_table): New procedure.
17606 (mi_create_breakpoint): Use mi_make_breakpoint
17607 and return the result.
17608 (mi_make_breakpoint): New procedure.
17609 (mi_build_kv_pairs): New procedure.
17611 * gdb.mi/mi-break.exp: Remove unused globals,
17612 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
17613 All callers updated.
17614 * gdb.mi/mi-dprintf.exp: Use variable to track command
17616 Update all callers of mi_create_breakpoint and use
17617 mi_make_breakpoint_table.
17618 Remove any unused global variables.
17619 * gdb.mi/mi-nonstop.exp: Likewise.
17620 * gdb.mi/mi-nsintrall.exp: Likewise.
17621 * gdb.mi/mi-nsmoribund.exp: Likewise.
17622 * gdb.mi/mi-nsthrexec.exp: Likewise.
17623 * gdb.mi/mi-reverse.exp: Likewise.
17624 * gdb.mi/mi-simplerun.exp: Likewise.
17625 * gdb.mi/mi-stepn.exp: Likewise.
17626 * gdb.mi/mi-syn-frame.exp: Likewise.
17627 * gdb.mi/mi-until.exp: Likewise.
17628 * gdb.mi/mi-var-cp.exp: Likewise.
17629 * gdb.mi/mi-var-display.exp: Likewise.
17630 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
17631 * gdb.mi/mi2-var-child.exp: Likewise.
17632 * gdb.mi/mi-vla-c99.exp: Likewise.
17633 * lib/mi-support.exp: Likewise.
17635 From Ian Lance Taylor <iant@cygnus.com>:
17636 * lib/gdb.exp (parse_args): New procedure.
17638 2014-04-23 Pedro Alves <palves@redhat.com>
17640 * gdb.base/break-unload-file.c: New file.
17641 * gdb.base/break-unload-file.exp: New file.
17642 * gdb.base/sym-file-lib.c (baz): New function.
17643 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
17645 (load): Store the segment's mapped size.
17646 (unload): New function.
17647 (unload_shlib): New function.
17648 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
17649 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
17650 set a breakpoint at baz, and call it.
17651 * gdb.base/sym-file.exp: New tests for stale breakpoint
17654 2014-04-23 Pedro Alves <palves@redhat.com>
17656 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
17657 * gdb.base/hbreak-in-shr-unsupported.c: New file.
17658 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
17659 * gdb.base/hbreak-unmapped.c: New file.
17660 * gdb.base/hbreak-unmapped.exp: New file.
17661 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
17662 * lib/gdb.exp (gdb_is_target_remote): ... here.
17664 2014-04-22 Pedro Alves <palves@redhat.com>
17666 * gdb.base/consecutive-step-over.c: New file.
17667 * gdb.base/consecutive-step-over.exp: New file.
17669 2014-04-22 Pedro Alves <palves@redhat.com>
17671 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
17672 instead of send_gdb/gdb_expect.
17674 2014-04-22 Yao Qi <yao@codesourcery.com>
17676 * lib/trace-support.exp (generate_tracefile): New procedure.
17677 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
17679 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
17680 if generate_tracefile returns 1.
17682 2014-04-18 Tom Tromey <palves@redhat.com>
17683 Pedro alves <tromey@redhat.com>
17686 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
17687 with a backtrace limit.
17688 * gdb.python/py-frame-inline.exp: Test running to an inline
17689 function with a backtrace limit, and printing the newest frame.
17690 * gdb.python/py-frame-inline.c (main): Call f.
17692 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17694 * gdb.java/jnpe.exp: Drop srcdir from untested path.
17696 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
17698 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
17699 Drop prefix from unsupported source file path.
17701 2014-04-17 Yao Qi <yao@codesourcery.com>
17703 * lib/gdb.exp (with_target_charset): New proc.
17704 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
17705 with_target_charset.
17706 (test_print_strings): Likewise.
17707 (test_repeat_bytes): Likewise.
17708 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
17711 2014-04-16 Keith Seitz <keiths@redhat.com>
17714 * gdb.dwarf2/corrupt.c: New file.
17715 * gdb.dwarf2/corrupt.exp: New file.
17717 2014-04-16 Keith Seitz <keiths@redhat.com>
17720 * gdb.cp/namelessclass.cc: New file.
17721 * gdb.cp/namelessclass.exp: New file.
17722 * gdb.cp/namelessclass.S: New file.
17724 2014-04-16 Doug Evans <dje@google.com>
17726 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
17728 (gdbserver_default_get_comm_port): New function.
17729 (gdbserver_start): Check if board file provided
17730 "gdbserver,get_comm_port" and use it if so.
17731 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
17732 (gdb,socketport): Set to "stdio".
17733 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
17734 (stdio_gdbserver_template): Delete.
17735 (${board}_get_remote_address): Update.
17736 (${board}_build_remote_cmd): Delete.
17737 (${board}_get_comm_port): New function.
17738 (${board}_spawn): Update.
17739 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
17741 (${board}_get_remote_address): Update.
17742 (${board}_get_comm_port): New function.
17744 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
17746 * gdb.base/memattr.exp: Improve regexps to handle memory regions
17747 appearing in any order.
17749 2014-04-15 Doug Evans <dje@google.com>
17751 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
17752 uninitialized value of "description".
17754 2014-04-15 Keith Seitz <keiths@redhat.com>
17756 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
17757 Remove unused globals.
17758 (test_running_the_program): Likewise.
17759 (test_controlled_execution): Likewise.
17760 (test_controlling_breakpoints): Likewise.
17761 (test_program_termination): Likewise.
17763 2014-04-15 Keith Seitz <keiths@redhat.com>
17765 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
17767 (test_rbreak_creation_and_listing): Likewise.
17768 (test_ignore_count): Likewise.
17769 (test_error): Likewise.
17771 2014-04-15 Pedro Alves <palves@redhat.com>
17773 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
17774 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
17776 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17777 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17778 to sym-file-loader.c.
17779 (struct library): Forward declare.
17780 (load_shlib, lookup_function): Change prototypes.
17781 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17782 (translate_offset): Remove declarations.
17783 (get_text_addr): New declaration.
17784 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
17785 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
17787 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17788 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17789 here from sym-file-loader.h.
17790 (struct library): New structure.
17791 (load_shlib, lookup_function): Change prototypes and adjust to
17792 work with a struct library.
17793 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17794 (translate_offset): Make static.
17795 (get_text_addr): New function.
17796 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
17798 2014-04-15 Pedro Alves <palves@redhat.com>
17800 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
17802 2014-04-15 Pedro Alves <palves@redhat.com>
17804 * gdb.base/sym-file-loader.c: Include <limits.h>.
17805 (SELF_LINK): New define.
17806 (get_origin): New function.
17807 (load_shlib): Use it.
17808 * gdb.base/sym-file.exp: Don't early return if the target is
17809 remote. Use runto_main, and issue fail is that fails. Use
17811 (shlib_name): Delete.
17812 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
17814 2014-04-15 Pedro Alves <palves@redhat.com>
17816 * gdb.base/sym-file.exp: Remove regex characters from test
17817 message. Don't refer to breakpoint numbers in test messages.
17819 2014-04-14 Keith Seitz <keiths@redhat.com>
17822 * gdb.cp/var-tag.cc: New file.
17823 * gdb.cp/var-tag.exp: New file.
17824 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
17825 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
17826 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
17827 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
17829 2014-04-14 Tom Tromey <tromey@redhat.com>
17831 * gdb.cp/classes.exp (test_enums): Handle underlying type.
17832 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
17834 * gdb.cp/enum-class.exp: New file.
17835 * gdb.cp/enum-class.cc: New file.
17837 2014-04-14 Tom Tromey <tromey@redhat.com>
17839 * gdb.dwarf2/enum-type.exp: New file.
17841 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17843 * gdb.mi/mi-vla-c99.exp: New file.
17844 * gdb.mi/vla.c: New file.
17846 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17848 * gdb.base/vla-datatypes.c: New file.
17849 * gdb.base/vla-datatypes.exp: New file.
17851 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17853 * gdb.base/vla-ptr.c: New file.
17854 * gdb.base/vla-ptr.exp: New file.
17856 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17858 * gdb.dwarf2/count.exp: New file.
17860 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17862 * gdb.base/vla-sideeffect.c: New file.
17863 * gdb.base/vla-sideeffect.exp: New file.
17865 2014-04-14 David Blaikie <dblaikie@gmail.com>
17867 * gdb.mi/non-stop.c: Add return value for non-void function return
17869 * gdb.threads/staticthreads.c: Ditto.
17871 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
17872 Doug Evans <xdje42@gmail.com>
17874 * gdb.guile/scm-value.c: Improve test case.
17875 * gdb.guile/scm-value.exp: Add new test.
17877 2014-04-11 David Blaikie <dblaikie@gmail.com>
17879 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
17880 override Clang's default.
17882 2014-04-11 Joel Brobecker <brobecker@adacore.com>
17884 Revert the following changes (regressions):
17886 * gdb.base/vla-sideeffect.c: New file.
17887 * gdb.base/vla-sideeffect.exp: New file.
17889 * gdb.dwarf2/count.exp: New file.
17891 * gdb.base/vla-multi.c: New file.
17892 * gdb.base/vla-multi.exp: New file.
17894 * gdb.base/vla-ptr.c: New file.
17895 * gdb.base/vla-ptr.exp: New file.
17897 * gdb.base/vla-datatypes.c: New file.
17898 * gdb.base/vla-datatypes.exp: New file.
17900 * gdb.mi/mi-vla-c99.exp: New file.
17901 * gdb.mi/vla.c: New file.
17903 2014-04-11 Keith Seitz <keiths@redhat.com>
17906 * gdb.cp/cpsizeof.exp: New file.
17907 * gdb.cp/cpsizeof.cc: New file.
17909 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17911 * gdb.mi/mi-vla-c99.exp: New file.
17912 * gdb.mi/vla.c: New file.
17914 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17916 * gdb.base/vla-datatypes.c: New file.
17917 * gdb.base/vla-datatypes.exp: New file.
17919 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17921 * gdb.base/vla-ptr.c: New file.
17922 * gdb.base/vla-ptr.exp: New file.
17924 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17926 * gdb.base/vla-multi.c: New file.
17927 * gdb.base/vla-multi.exp: New file.
17929 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17931 * gdb.dwarf2/count.exp: New file.
17933 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17935 * gdb.base/vla-sideeffect.c: New file.
17936 * gdb.base/vla-sideeffect.exp: New file.
17938 2014-04-11 Yao Qi <yao@codesourcery.com>
17940 * gdb.base/completion.exp: Check file exists before running tests
17941 on file completion.
17943 2014-04-10 Pedro Alves <palves@redhat.com>
17945 * gdb.base/cond-eval-mode.c: New file.
17946 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
17947 prepare_for_testing to build the new file. Check result of
17949 (test_break, test_watch): New procedures.
17950 (top level): Use them.
17952 2014-04-08 Pierre Muller <muller@sourceware.org>
17954 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
17955 Ctrl-V use for mingw hosts.
17957 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
17959 * gdb.python/py-value.c: Improve test case.
17960 * gdb.python/py-value.exp: Add new test.
17962 2014-04-07 David Blaikie <dblaikie@gmail.com>
17964 * lib/compiler.c: Identify the clang compiler.
17965 * lib/compiler.cc: Ditto.
17967 2014-04-03 Yao Qi <yao@codesourcery.com>
17969 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
17971 2014-04-01 Anton Blanchard <anton@samba.org>
17973 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
17976 2014-04-01 Anton Blanchard <anton@samba.org>
17978 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
17979 prepare_for_testing.
17981 2014-04-01 Anton Blanchard <anton@samba.org>
17983 * gdb.arch/ppc64-atomic-inst.c: Remove.
17984 * gdb.arch/ppc64-atomic-inst.S: New file.
17985 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
17987 2014-03-31 Doug Evans <dje@google.com>
17989 * gdb.base/print-symbol-loading-lib.c: New file.
17990 * gdb.base/print-symbol-loading-main.c: New file.
17991 * gdb.base/print-symbol-loading.exp: New file.
17993 2014-03-31 Yao Qi <yao@codesourcery.com>
17995 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
17997 2014-03-28 Joel Brobecker <brobecker@adacore.com>
17999 * gdb.ada/mi_dyn_arr: New testcase.
18001 2014-03-27 Doug Evans <dje@google.com>
18003 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
18005 2014-03-27 Yao Qi <yao@codesourcery.com>
18007 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
18008 if target is nios2-*-*.
18010 2014-03-26 Yao Qi <yao@codesourcery.com>
18012 * lib/gdb.exp (readline_is_used): New proc.
18013 * gdb.base/completion.exp: Move tests on command complete up.
18014 Skip the rest of tests if readline is not used.
18015 * gdb.ada/complete.exp: Skp the test if readline is not
18017 * gdb.base/filesym.exp: Likewise.
18018 * gdb.base/macscp.exp: Likewise.
18019 * gdb.base/readline-ask.exp: Likewise.
18020 * gdb.base/readline.exp: Likewise.
18021 * gdb.python/py-cmd.exp: Likewise.
18022 * gdb.trace/tfile.exp: Likewise.
18024 2014-03-26 Yao Qi <yao@codesourcery.com>
18026 * gdb.base/macscp.exp: Fix code format issues.
18028 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
18030 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
18031 * gdb.asm/powerpc64le.inc: New file.
18033 2014-03-25 Pedro Alves <palves@redhat.com>
18034 Doug Evans <dje@google.com>
18036 * gdb.base/source-execution.c: New file.
18037 * gdb.base/source-execution.exp: New file.
18038 * gdb.base/source-execution.gdb: New file.
18040 2014-03-24 Doug Evans <dje@google.com>
18042 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
18045 2014-03-24 Hui Zhu <hui@codesourcery.com>
18046 Pedro Alves <palves@redhat.com>
18048 PR breakpoints/16101
18049 * gdb.base/dprintf.exp: Use unsupported rather than changing the
18050 test pass/fail messages. Detect missing support for dprintf when
18051 breakpoints are actually inserted.
18052 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
18053 breakpoints are actually inserted.
18054 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
18057 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
18059 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
18061 2014-03-22 Doug Evans <xdje42@gmail.com>
18063 * gdb.python/python.exp (python not supported): Verify multi-line
18064 python command issues an error.
18065 * gdb.guile/guile.exp (guile not supported): Verify multi-line
18066 guile command issues an error.
18068 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
18070 * gdb.threads/thread-specific.exp: Handle the lack of usable
18071 $this_breakpoint and $this_thread.
18073 2014-03-21 Hui Zhu <hui@codesourcery.com>
18075 * gdb.base/attach.exp (do_command_attach_tests): New.
18077 2014-03-20 Tom Tromey <tromey@redhat.com>
18078 Pedro Alves <palves@redhat.com>
18081 * gdb.base/condbreak-call-false.c: New file.
18082 * gdb.base/condbreak-call-false.exp: New file.
18084 2014-03-20 Pedro Alves <palves@redhat.com>
18086 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
18088 (block_signals, unblock_signals): Delete.
18089 (child_function_2, main): Remove references to deleted variable
18092 2014-03-20 Pedro Alves <palves@redhat.com>
18094 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
18095 Use pthread_kill to signal thread 2.
18096 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18097 Adjust to make the test send itself a signal rather than using the
18098 host's "kill" command.
18100 2014-03-20 Pedro Alves <palves@redhat.com>
18102 * gdb.threads/multiple-step-overs.c: New file.
18103 * gdb.threads/multiple-step-overs.exp: New file.
18104 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18105 Adjust expected infrun debug output.
18107 2014-03-20 Pedro Alves <palves@redhat.com>
18109 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
18110 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
18112 2014-03-20 Pedro Alves <palves@redhat.com>
18114 PR breakpoints/7143
18115 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
18116 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
18117 of gdb_test_multiple.
18118 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
18119 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
18121 2014-03-20 Pedro Alves <palves@redhat.com>
18123 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
18124 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
18126 2014-03-19 Pedro Alves <palves@redhat.com>
18128 * gdb.base/async.exp: Remove early return.
18130 2014-03-19 Pedro Alves <palves@redhat.com>
18132 * gdb.base/async.exp (step& tests): Pass explicit test messages.
18134 2014-03-19 Pedro Alves <palves@redhat.com>
18136 * gdb.base/async.exp (test_background): Expect \r\n after
18137 "completed." in the fail pattern.
18139 2014-03-19 Pedro Alves <palves@redhat.com>
18141 * gdb.base/async.exp (test_background): New procedure.
18142 Use it for all background execution command tests.
18144 2014-03-19 Pedro Alves <palves@redhat.com>
18146 * gdb.base/async.exp: Use prepare_for_testing.
18148 2014-03-19 Pedro Alves <palves@redhat.com>
18150 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
18153 2014-03-19 Pedro Alves <palves@redhat.com>
18155 * gdb.base/async.c (main): Add "jump here" and "until here" line
18157 * gdb.base/async.exp (jump_here): New global.
18158 (jump& test): Use it.
18159 (until_here): New global.
18160 (until& test): Use it.
18162 2014-03-19 Pedro Alves <palves@redhat.com>
18164 * gdb.base/async.exp: Don't frob gdb_protocol.
18166 2014-03-18 Doug Evans <xdje42@gmail.com>
18168 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
18169 Fix spelling of exec-done-display.
18171 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
18174 * gdb.base/gdb-sigterm.c: New file.
18175 * gdb.base/gdb-sigterm.exp: New file.
18177 2014-03-18 Pedro Alves <palves@redhat.com>
18180 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
18181 * lib/mi-support.exp (mi_expect_stop): Add special handling for
18184 2014-03-17 Joel Brobecker <brobecker@adacore.com>
18186 * gdb.ada/pckd_arr_ren: New testcase.
18188 2014-03-13 Doug Evans <xdje42@gmail.com>
18191 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
18192 collect after discarding symbols.
18194 2014-03-13 Ludovic Courtès <ludo@gnu.org>
18195 Doug Evans <xdje42@gmail.com>
18197 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
18198 to history survives a gc.
18200 2014-03-13 Pedro Alves <palves@redhat.com>
18202 * gdb.base/default.exp: Don't test "target procfs".
18204 2014-03-13 Pedro Alves <palves@redhat.com>
18206 * gdb.base/default.exp: Update "target child" and "target procfs"
18207 tests to not expect "Unix".
18209 2014-03-12 Tom Tromey <tromey@redhat.com>
18211 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
18212 New procs. Add target-async tests.
18213 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
18214 Add target-async tests.
18216 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18218 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
18219 'func_start' and 'func_end' for the beginning and end of the
18220 function code, respectively.
18221 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
18222 'func_end' instead of 'func' and 'main'.
18224 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18226 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
18227 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
18228 generate the debug info assembler source.
18230 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18232 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
18233 * gdb.dwarf2/arr-subrange.exp: Likewise.
18234 * gdb.dwarf2/dwz.exp: Likewise.
18235 * gdb.dwarf2/method-ptr.exp: Likewise.
18236 * gdb.dwarf2/missing-sig-type.exp: Likewise.
18237 * gdb.dwarf2/subrange.exp: Likewise.
18238 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
18239 * gdb.dwarf2/implptrpiece.exp: Likewise.
18240 * gdb.dwarf2/nostaticblock.exp: Likewise.
18242 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18244 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
18245 directory to absolute path name arguments.
18247 2014-03-10 Joel Brobecker <brobecker@adacore.com>
18249 * gdb.ada/tagged_access: New testcase.
18251 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
18253 * gdb.btrace/data.exp: Update expected output.
18255 2014-03-06 Yao Qi <yao@codesourcery.com>
18257 * gdb.trace/pr16508.exp: New file.
18259 2014-03-05 Pedro Alves <palves@redhat.com>
18262 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
18264 (top level): Adjust to use it. Add tests that exercise breakpoint
18265 interaction with the code-cache.
18267 2014-02-26 Ludovic Courtès <ludo@gnu.org>
18269 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
18270 test for 'history-append!'.
18272 2014-02-26 Joel Brobecker <brobecker@adacore.com>
18274 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
18275 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
18276 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
18277 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
18278 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
18279 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
18281 2014-02-26 Joel Brobecker <brobecker@adacore.com>
18283 * testsuite/gdb.python/py-pp-re-notag.c: New file.
18284 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
18285 * testsuite/gdb.python/py-pp-re-notag.p: New file.
18287 2014-02-26 Joel Brobecker <brobecker@adacore.com>
18289 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
18291 2014-02-26 Joel Brobecker <brobecker@adacore.com>
18293 * gdb.dwarf2/arr-stride.c: New file.
18294 * gdb.dwarf2/arr-stride.exp: New file.
18296 2014-02-26 Pedro Alves <palves@redhat.com>
18298 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
18299 that won't ever trigger. Make sure that GDB reports the correct
18300 breakpoint that caused the stop.
18302 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18305 * gdb.base/auto-load-script: New file.
18306 * gdb.base/auto-load.c: New file.
18307 * gdb.base/auto-load.exp: New file.
18310 * gdb.base/auto-load.exp: Fix out-of-srctree run.
18312 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
18314 Fix dw2-icycle.exp -fsanitize=address GDB crash.
18315 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
18317 2014-02-24 Doug Evans <dje@google.com>
18319 * lib/gdb.exp (run_on_host): Log error output if program fails.
18321 2014-02-21 Pedro Alves <palves@redhat.com>
18323 * gdb.threads/step-after-sr-lock.c: Rename to ...
18324 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
18325 * gdb.threads/step-after-sr-lock.exp: Rename to ...
18326 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18329 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
18332 * gdb.arch/amd64-stap-special-operands.exp: New file.
18333 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
18334 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
18335 * gdb.arch/amd64-stap-triplet.S: Likewise.
18336 * gdb.arch/amd64-stap-triplet.c: Likewise.
18338 2014-02-20 Joel Brobecker <brobecker@adacore.com>
18340 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
18341 in .section pseudo-op.
18343 2014-02-20 lin zuojian <manjian2006@gmail.com>
18344 Joel Brobecker <brobecker@adacore.com>
18345 Doug Evans <xdje42@gmail.com>
18348 * gdb.dwarf2/dw2-icycle.S: New file.
18349 * gdb.dwarf2/dw2-icycle.c: New file.
18350 * gdb.dwarf2/dw2-icycle.exp: New file.
18352 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
18354 * gdb.python/py-value-cc.cc: Improve test case to enable testing
18355 operations on gdb.Value objects.
18356 * gdb.python/py-value-cc.exp: Add new test to test operations on
18359 2014-02-18 Doug Evans <dje@google.com>
18361 * Makefile.in (TESTS): New variable.
18362 (expanded_tests, expanded_tests_or_none): New variables
18363 (check-single): Pass $(expanded_tests_or_none) to runtest.
18364 (check-parallel): Only run tests in $(TESTS) if non-empty.
18365 (check/no-matching-tests-found): New rule.
18366 * README: Document TESTS makefile variable.
18368 2014-02-18 Doug Evans <dje@google.com>
18370 * Makefile.in (check-parallel): rm -rf outputs temp.
18372 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18374 Fix "ERROR: no fileid for" in the testsuite.
18375 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
18377 2014-02-12 Doug Evans <dje@google.com>
18379 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
18380 (MISCELLANEOUS): New variable.
18381 (clean): rm -rf $(MISCELLANEOUS).
18382 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
18383 dwp live in the same directory as symlinks, with each symlink pointed
18384 to a differently named file in a different directory.
18386 2014-02-11 Doug Evans <dje@google.com>
18388 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
18389 of Tcl file commands.
18391 2014-02-10 Mark Kettenis <kettenis@gnu.org>
18393 * gdb.threads/step-after-sr-lock.exp: Avoid executing
18394 "kill -SIGUSR1 -1".
18396 2014-02-10 Joel Brobecker <brobecker@adacore.com>
18398 * gdb.ada/tick_length_array_enum_idx: New testcase.
18400 2014-02-10 Doug Evans <xdje42@gmail.com>
18402 * configure.ac (AC_OUTPUT): Add gdb.guile.
18403 * configure: Regenerate.
18404 * lib/gdb-guile.exp: New file.
18405 * lib/gdb.exp (get_target_charset): New function.
18406 * gdb.base/help.exp: Update expected output from "apropos apropos".
18407 * gdb.guile/Makefile.in: New file.
18408 * gdb.guile/guile.exp: New file.
18409 * gdb.guile/scm-arch.c: New file.
18410 * gdb.guile/scm-arch.exp: New file.
18411 * gdb.guile/scm-block.c: New file.
18412 * gdb.guile/scm-block.exp: New file.
18413 * gdb.guile/scm-breakpoint.c: New file.
18414 * gdb.guile/scm-breakpoint.exp: New file.
18415 * gdb.guile/scm-disasm.c: New file.
18416 * gdb.guile/scm-disasm.exp: New file.
18417 * gdb.guile/scm-equal.c: New file.
18418 * gdb.guile/scm-equal.exp: New file.
18419 * gdb.guile/scm-error.exp: New file.
18420 * gdb.guile/scm-error.scm: New file.
18421 * gdb.guile/scm-frame-args.c: New file.
18422 * gdb.guile/scm-frame-args.exp: New file.
18423 * gdb.guile/scm-frame-args.scm: New file.
18424 * gdb.guile/scm-frame-inline.c: New file.
18425 * gdb.guile/scm-frame-inline.exp: New file.
18426 * gdb.guile/scm-frame.c: New file.
18427 * gdb.guile/scm-frame.exp: New file.
18428 * gdb.guile/scm-generics.exp: New file.
18429 * gdb.guile/scm-gsmob.exp: New file.
18430 * gdb.guile/scm-iterator.c: New file.
18431 * gdb.guile/scm-iterator.exp: New file.
18432 * gdb.guile/scm-math.c: New file.
18433 * gdb.guile/scm-math.exp: New file.
18434 * gdb.guile/scm-objfile-script-gdb.in: New file.
18435 * gdb.guile/scm-objfile-script.c: New file.
18436 * gdb.guile/scm-objfile-script.exp: New file.
18437 * gdb.guile/scm-objfile.c: New file.
18438 * gdb.guile/scm-objfile.exp: New file.
18439 * gdb.guile/scm-ports.exp: New file.
18440 * gdb.guile/scm-pretty-print.c: New file.
18441 * gdb.guile/scm-pretty-print.exp: New file.
18442 * gdb.guile/scm-pretty-print.scm: New file.
18443 * gdb.guile/scm-section-script.c: New file.
18444 * gdb.guile/scm-section-script.exp: New file.
18445 * gdb.guile/scm-section-script.scm: New file.
18446 * gdb.guile/scm-symbol.c: New file.
18447 * gdb.guile/scm-symbol.exp: New file.
18448 * gdb.guile/scm-symtab-2.c: New file.
18449 * gdb.guile/scm-symtab.c: New file.
18450 * gdb.guile/scm-symtab.exp: New file.
18451 * gdb.guile/scm-type.c: New file.
18452 * gdb.guile/scm-type.exp: New file.
18453 * gdb.guile/scm-value-cc.cc: New file.
18454 * gdb.guile/scm-value-cc.exp: New file.
18455 * gdb.guile/scm-value.c: New file.
18456 * gdb.guile/scm-value.exp: New file.
18457 * gdb.guile/source2.scm: New file.
18458 * gdb.guile/types-module.cc: New file.
18459 * gdb.guile/types-module.exp: New file.
18461 2014-02-10 Yao Qi <yao@codesourcery.com>
18464 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
18465 * configure: Regenerated.
18466 * Makefile.in: New file.
18468 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
18470 * gdb.python/py-framefilter.exp: Fix typo.
18472 2014-02-08 Yao Qi <yao@codesourcery.com>
18474 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
18475 that no =breakpoint-modified is emitted when breakpoints are
18476 modified through MI commands.
18478 2014-02-07 Pedro Alves <pedro@codesourcery.com>
18479 Pedro Alves <palves@redhat.com>
18481 * gdb.threads/step-after-sr-lock.c: New file.
18482 * gdb.threads/step-after-sr-lock.exp: New file.
18484 2014-02-07 Pedro Alves <palves@redhat.com>
18486 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
18488 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
18490 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
18491 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
18493 2014-02-06 Doug Evans <xdje42@gmail.com>
18495 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
18498 * gdb.gdb/python-interrupts.exp: New file.
18500 2014-02-05 Yao Qi <yao@codesourcery.com>
18502 * gdb.trace/report.exp (use_collected_data): Test the output
18503 of "info threads" and "info inferiors".
18505 2014-02-05 Yao Qi <yao@codesourcery.com>
18509 2013-05-24 Yao Qi <yao@codesourcery.com>
18511 * gdb.trace/tfile.exp: Test inferior and thread.
18513 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18515 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
18517 * gdb.base/step-bt.c: Call hello via function pointer to make
18518 sure its first instruction is executed on powerpc64le-linux.
18520 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18522 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
18524 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18526 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
18527 of the test patterns for use on little-endian systems.
18529 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
18531 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
18532 (decimal_vector): Fix for little-endian.
18534 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
18536 * gdb.arch/sparc-sysstep.exp: New file.
18537 * gdb.arch/sparc-sysstep.c: Likewise.
18539 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
18541 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18543 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
18545 2014-01-23 Tom Tromey <tromey@redhat.com>
18547 * gdb.ada/array_char_idx: New testcase.
18549 2014-01-23 Tom Tromey <tromey@redhat.com>
18552 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
18553 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
18556 2014-01-23 Tom Tromey <tromey@redhat.com>
18559 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
18560 string from an inferior frame.
18561 * gdb.python/py-framefilter-mi.exp: Update.
18563 2014-01-22 Doug Evans <dje@google.com>
18565 * gdb.server/server-mon.exp: Add tests for "set debug-format".
18567 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18569 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
18571 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18573 * gdb.trace/entry-values.exp: Remove excess space character from
18574 regex patterns. Handle s390 call instruction.
18576 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18578 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
18579 define "*_start" label. Make "name" static.
18580 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
18581 ${name} by references to ${name}_start.
18583 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
18585 * gdb.base/info-macros.exp: Remove "debug" from the compile
18588 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18590 * gdb.dlang/demangle.exp: New file.
18592 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18594 * gdb.dlang/primitive-types.exp: New file.
18596 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
18598 * configure.ac: Create gdb.dlang/Makefile.
18599 * configure: Regenerate.
18600 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
18601 * gdb.dlang/Makefile.in: New file.
18602 * lib/d-support.exp: New file.
18603 * lib/gdb.exp (skip_d_tests): New proc.
18605 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18607 * gdb.btrace/delta.exp: Check reverse stepi.
18608 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
18609 * gdb.btrace/finish.exp: New.
18610 * gdb.btrace/next.exp: New.
18611 * gdb.btrace/nexti.exp: New.
18612 * gdb.btrace/record_goto.c: Add comments.
18613 * gdb.btrace/step.exp: New.
18614 * gdb.btrace/stepi.exp: New.
18615 * gdb.btrace/multi-thread-step.c: New.
18616 * gdb.btrace/multi-thread-step.exp: New.
18617 * gdb.btrace/rn-dl-bind.c: New.
18618 * gdb.btrace/rn-dl-bind.exp: New.
18619 * gdb.btrace/data.c: New.
18620 * gdb.btrace/data.exp: New.
18621 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18623 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18625 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
18626 * gdb.btrace/exception.exp: Update.
18627 * gdb.btrace/instruction_history.exp: Update.
18628 * gdb.btrace/record_goto.exp: Update.
18629 * gdb.btrace/tailcall.exp: Update.
18630 * gdb.btrace/unknown_functions.exp: Update.
18631 * gdb.btrace/delta.exp: New.
18633 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18635 * gdb.btrace/record_goto.exp: Add backtrace test.
18636 * gdb.btrace/tailcall.exp: Add backtrace test.
18638 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18640 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
18641 * gdb.btrace/record_goto.c: New.
18642 * gdb.btrace/record_goto.exp: New.
18643 * gdb.btrace/x86-record_goto.S: New.
18645 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18647 * gdb.btrace/function_call_history.exp: Update tests.
18648 * gdb.btrace/instruction_history.exp: Update tests.
18650 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18652 * gdb.btrace/function_call_history.exp: Fix expected field
18653 order for "record function-call-history".
18654 Add new tests for "record function-call-history /c".
18655 * gdb.btrace/exception.cc: New.
18656 * gdb.btrace/exception.exp: New.
18657 * gdb.btrace/tailcall.exp: New.
18658 * gdb.btrace/x86-tailcall.S: New.
18659 * gdb.btrace/x86-tailcall.c: New.
18660 * gdb.btrace/unknown_functions.c: New.
18661 * gdb.btrace/unknown_functions.exp: New.
18662 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
18664 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18666 * gdb.btrace/instruction_history.exp: Update.
18667 * gdb.btrace/function_call_history.exp: Update.
18669 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18671 * gdb.btrace/function_call_history.exp: Fix expected function
18673 * gdb.btrace/instruction_history.exp: Initialize traced.
18674 Remove traced_functions.
18676 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18678 * gdb.btrace/function_call_history.exp: Update
18679 * gdb.btrace/instruction_history.exp: Update.
18681 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
18683 * gdb.btrace/enable.exp: Update expected text.
18685 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
18687 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
18690 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
18692 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
18694 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
18696 * lib/gdb.exp (supports_process_record): Return true for
18697 arm*-linux*. (supports_reverse): Likewise.
18699 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
18703 * gdb.python/py-type.c: Enhance test case.
18704 * gdb.python/py-value-cc.cc: Likewise
18705 * gdb.python/py-type.exp: Add new tests.
18706 * gdb.python/py-value-cc.exp: Likewise
18708 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
18709 Pedro Alves <palves@redhat.com>
18711 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
18712 Make "name" extern.
18713 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
18714 references to ${name}_start by references to ${name}.
18716 2014-01-10 Joel Brobecker <brobecker@adacore.com>
18718 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
18720 2014-01-10 Joel Brobecker <brobecker@adacore.com>
18722 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
18724 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
18725 Pedro Alves <palves@redhat.com>
18727 * gdb.mi/mi-info-os.exp: Connect to the target with
18728 mi_gdb_target_load.
18730 2014-01-08 Pedro Alves <palves@redhat.com>
18732 * gdb.threads/reconnect-signal.c: New file.
18733 * gdb.threads/reconnect-signal.exp: New file.
18735 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18737 * gdb.base/source-dir.exp: New file.
18739 2014-01-07 Joel Brobecker <brobecker@adacore.com>
18741 * gdb.ada/mi_interface: New testcase.
18743 2014-01-07 Joel Brobecker <brobecker@adacore.com>
18745 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
18746 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
18747 gdb.ada/pp-rec-component/pck.ads: New files.
18749 2014-01-07 Joel Brobecker <brobecker@adacore.com>
18751 * gdb.python/py-pp-integral.c: New file.
18752 * gdb.python/py-pp-integral.py: New file.
18753 * gdb.python/py-pp-integral.exp: New file.
18755 For older changes see ChangeLog-1993-2013.
18757 ;; Local Variables:
18758 ;; mode: change-log
18761 ;; version-control: never
18764 Copyright 2014-2020 Free Software Foundation, Inc.
18765 Copying and distribution of this file, with or without modification,
18766 are permitted provided the copyright notice and this notice are preserved.