1 2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
3 * gdb.python/py-mi.exp: Use with_test_prefix to make test names
6 2021-03-09 Tom Tromey <tromey@adacore.com>
8 * gdb.base/cast-call.exp: New file.
9 * gdb.base/cast-call.c: New file.
11 2021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
13 * gdb.gdb/python-helper.exp: New file.
15 2020-03-04 Felix Willgerodt <felix.willgerodt@intel.com>
17 * gdb.fortran/intrinsics.exp: Add LOC tests.
19 2021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
21 * gdb.fortran/shape.exp: New file.
22 * gdb.fortran/shape.f90: New file.
24 2021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
26 * gdb.fortran/size.exp: New file.
27 * gdb.fortran/size.f90: New file.
29 2021-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
31 * gdb.fortran/rank.exp: New file.
32 * gdb.fortran/rank.f90: New file.
34 2021-03-08 Tom Tromey <tom@tromey.com>
36 * gdb.fortran/debug-expr.exp: Update tests.
38 2021-03-08 Tom Tromey <tom@tromey.com>
40 * gdb.base/debug-expr.exp: Update expected dump output.
42 2021-03-06 Tom Tromey <tom@tromey.com>
44 * lib/dwarf.exp (_handle_DW_FORM): Treat DW_FORM_GNU_ref_alt and
45 DW_FORM_GNU_strp_alt like DW_FORM_sec_offset.
46 * gdb.dwarf2/dwznolink.exp: New file.
48 2021-03-05 Mark Wielaard <mark@klomp.org>
50 * lib/valgrind.exp (vgdb_start): Add --wait=1 to vgdbcmd.
52 2021-03-06 Weimin Pan <weimin.pan@oracle.com>
54 * gdb.base/ctf-ptype.exp: Add function tests and fix typos.
56 2021-03-03 Markus Metzger <markus.t.metzger@intel.com>
58 * gdb.btrace/rn-dl-bind.exp: Add ldflags=-Wl,-z,lazy.
60 2021-03-03 Markus Metzger <markus.t.metzger@intel.com>
62 * gdb.btrace/non-stop.exp: Adjust expected source lines.
64 2021-03-03 Markus Metzger <markus.t.metzger@intel.com>
66 * gdb.btrace/stepi.exp: Add {} options to prepare_for_testing.
68 2021-03-03 Markus Metzger <markus.t.metzger@intel.com>
70 * gdb.btrace/exception.cc (main): Update test source.
71 * gdb.btrace/exception.exp: Update patterns.
72 * gdb.btrace/function_call_history.exp: Likewise.
74 2021-03-03 Markus Metzger <markus.t.metzger@intel.com>
76 * gdb.btrace/unknown_functions.exp: Move -Wl,-x to ldflags.
78 2021-03-03 Markus Metzger <markus.t.metzger@intel.com>
80 * gdb.btrace/rn-dl-bind.exp: Replace reverse-step with
81 reverse-continue to breakpoint.
83 2021-03-03 Markus Metzger <markus.t.metzger@intel.com>
85 * gdb.btrace/delta.exp: Remove instruction-history and
86 function-call-history checks.
88 2021-03-03 Markus Metzger <markus.t.metzger@intel.com>
90 * README (Note): Add nopie_ldflag.
91 * lib/gdb.exp (gdb_compile): Extend nopie handling.
93 2021-03-02 Tom Tromey <tromey@adacore.com>
95 * gdb.ada/fixed_points.exp: Remove most special cases for minimal
98 2021-02-27 Lancelot Six <lsix@lancelotix.com>
101 * gdb.base/source-dir.exp: Test that empty dirnames are skipped.
104 2021-02-26 Tom Tromey <tom@tromey.com>
106 * lib/gdb.exp (skip_ctf_tests): Use expr on result.
108 2021-02-26 Jan Vrany <jan.vrany@labware.com>
110 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
111 Remove trailing \n from expected output.
113 2021-02-26 Markus Metzger <markus.t.metzger@intel.com>
115 * lib/gdb.exp (use_gdb_stub): Extend comment.
117 2021-02-25 Jan Matyas <jmatyas@codasip.com>
120 * gdb.server/stop-reply-no-thread.exp: Add two test
121 scenarios that cover remote targets which do not have
122 the concept of threads.
124 2021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
126 * gdb.fortran/associated.exp: Add missing '-wrap' argument.
128 2021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
131 * gdb.fortran/call-no-debug-func.f90: New file.
132 * gdb.fortran/call-no-debug-prog.f90: New file.
133 * gdb.fortran/call-no-debug.exp: New file.
135 2021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
137 * gdb.fortran/associated.exp: New file.
138 * gdb.fortran/associated.f90: New file.
140 2021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
142 * gdb.fortran/dot-ops.exp (dot_operations): Test ".xor.".
144 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
146 * gdb.base/sect-cmd.exp: Update expected results.
148 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
150 * gdb.base/sect-cmd.exp: Rewrite using modern testsuite
151 techniques. Enable the test for all targets.
153 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
155 * gdb.base/maint-info-sections.exp: Add new tests.
156 (check_maint_info_target_sections_output): New proc.
158 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
160 * gdb.arch/riscv-default-tdesc.exp: New file.
162 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
164 * gdb.fortran/pointer-to-pointer.exp: Additional tests.
166 2021-02-18 Andrew Burgess <andrew.burgess@embecosm.com>
168 * gdb.arch/i386-biarch-core.exp: Add target check.
170 2021-02-16 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
172 * gdb.dwarf2/pr13961.S: Corrected invalid DIE references.
174 2021-02-12 Andrew Burgess <andrew.burgess@embecosm.com>
176 * gdb.fortran/allocated.exp: New file.
177 * gdb.fortran/allocated.f90: New file.
179 2021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
181 * gdb.fortran/lbound-ubound.exp: Remove old comment.
183 2021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
185 * gdb.base/maint-info-sections.exp: Update expected output, and
186 add additional tests. Again.
188 2021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
190 * gdb.base/maint-info-sections.exp: Update expected output, and
191 add additional tests.
193 2021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
195 * gdb.base/maint-info-sections.exp: New file, content is moved
196 from gdb.base/maint.exp and cleaned up to use latest testsuite
198 * gdb.base/maint.exp: Tests moved out to
199 gdb.base/maint-info-sections.exp.
201 2021-02-10 Simon Marchi <simon.marchi@efficios.com>
203 * gdb.multi/multi-target.exp.tcl (setup): Add "set sysroot" to
206 2021-02-10 Andrew Burgess <andrew.burgess@embecosm.com>
208 * gdb.fortran/lbound-ubound.F90: New file.
209 * gdb.fortran/lbound-ubound.exp: New file.
211 2021-02-10 Tom de Vries <tdevries@suse.de>
213 * lib/gdb.exp (gdb_load_no_complaints): Remove unnecessary
214 "Restore saved setting of complaints".
216 2021-02-09 Tom de Vries <tdevries@suse.de>
219 * lib/gdb.exp (with_complaints): New proc, factored out of ...
220 (gdb_load_no_complaints): ... here.
221 * gdb.fortran/function-calls.exp: Add test-case.
223 2021-02-09 Abid Qadeer <abidh@codesourcery.com>
225 * gdb.threads/signal-command-handle-nopass.exp: Call
226 'standard_testfile' before using 'testfile'.
227 * gdb.threads/signal-command-multiple-signals-pending.exp: Likewise.
228 * gdb.threads/signal-delivered-right-thread.exp: Likewise
229 * gdb.threads/signal-sigtrap.exp: Likewise
231 2021-02-08 Luis Machado <luis.machado@linaro.org>
233 * gdb.base/gnu-ifunc.exp (build): Pass -Wl,z,lazy.
235 2021-02-08 Tom de Vries <tdevries@suse.de>
237 * gdb.dwarf2/enqueued-cu-base-addr.exp: Fix inter-CU reference.
239 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
241 * gdb.python/tui-window-disabled.c: New file.
242 * gdb.python/tui-window-disabled.exp: New file.
243 * gdb.python/tui-window-disabled.py: New file.
245 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
247 * gdb.python/tui-window.exp: Add new tests.
248 * gdb.python/tui-window.py (TestWindow) <__init__>: Store
249 TestWindow object into global the_window.
250 <remote_title>: New method.
251 (delete_window_title): New function.
253 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
255 * gdb.tui/winheight.exp: Add more tests.
257 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
259 * gdb.python/py-framefilter.exp: Update expected results.
260 * gdb.python/python.exp: Update expected results.
262 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
264 * gdb.tui/scroll.exp: Tighten expected results. Remove comment
265 about bug in GDB, update expected results, and add more tests.
267 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
269 * gdb.tui/scroll.exp: New file.
270 * gdb.tui/tui-layout-asm-short-prog.exp: Update expected results.
271 * lib/tuiterm.exp (Term::_csi_M): Delete count lines, scroll
273 (Term::check_region_contents): New proc.
274 (Term::check_box_contents): Use check_region_contents.
276 2021-02-06 Tom de Vries <tdevries@suse.de>
279 * gdb.tui/tui-layout-asm.exp: Ignore whitespace mismatches when
282 2021-02-05 Tom de Vries <tdevries@suse.de>
285 * gdb.base/catch-syscall.exp: Check that "catch syscall -1" is
288 2021-02-05 Tom de Vries <tdevries@suse.de>
290 * gdb.dwarf2/main-subprogram.exp: Add KFAIL for PR symtab/24549.
291 * gdb.fortran/mixed-lang-stack.exp: Same.
293 2021-02-05 Tom de Vries <tdevries@suse.de>
296 * gdb.base/complex-parts.exp: Add tests.
298 2021-02-05 Tom de Vries <tdevries@suse.de>
301 * gdb.dwarf2/clang-debug-names.exp: Check file command warnings.
303 2021-02-04 Shahab Vahedi <shahab@synopsys.com>
305 * gdb.xml/tdesc-regs.exp: Use correct core-regs for ARC.
307 2021-02-03 Pedro Alves <pedro@palves.net>
309 * gdb.threads/detach-step-over.c: New file.
310 * gdb.threads/detach-step-over.exp: New file.
312 2021-02-03 Pedro Alves <pedro@palves.net>
314 * gdb.threads/attach-non-stop.c: New file.
315 * gdb.threads/attach-non-stop.exp: New file.
317 2021-02-02 Lancelot SIX <lsix@lancelotsix.com>
319 * gdb.base/inferior-noarg.c: New test.
320 * gdb.base/inferior-noarg.exp: New test.
322 2021-02-02 Simon Marchi <simon.marchi@polymtl.ca>
324 * gdb.base/scope.exp: Use proc_with_prefix.
326 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
328 * lib/dwarf.exp (rnglists): Add -no-offset-array option to
330 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for
331 .debug_rnglists table without offset array.
332 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
333 .debug_loclists table without offset array.
335 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
337 * gdb.dwarf2/rnglists-sec-offset.exp: Add test for DW_AT_ranges
338 of DW_FORM_sec_offset form plus DW_AT_rnglists_base attribute.
339 * gdb.dwarf2/loclists-sec-offset.exp: Add test for
340 DW_AT_location of DW_FORM_sec_offset plus DW_AT_loclists_base
343 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
346 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_loclistx.
347 (loclists): New proc.
348 * gdb.dwarf2/loclists-multiple-cus.c: New.
349 * gdb.dwarf2/loclists-multiple-cus.exp: New.
350 * gdb.dwarf2/loclists-sec-offset.c: New.
351 * gdb.dwarf2/loclists-sec-offset.exp: New.
353 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
355 * lib/dwarf.exp (_location): Add parameters.
356 (_handle_DW_FORM): Adjust.
358 2021-02-02 Simon Marchi <simon.marchi@efficios.com>
361 * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_rnglistx.
362 (cu): Generate header for DWARF 5.
363 (rnglists): New proc.
364 * gdb.dwarf2/rnglists-multiple-cus.exp: New.
365 * gdb.dwarf2/rnglists-sec-offset.exp: New.
367 2021-02-02 Tom de Vries <tdevries@suse.de>
370 * gdb.dwarf2/fission-reread.exp: Add test-case.
372 2021-02-01 Tom de Vries <tdevries@suse.de>
374 * gdb.dwarf2/fission-base.S: Pass -DDWO=$dwo.
375 * gdb.dwarf2/fission-loclists-pie.S: Same.
376 * gdb.dwarf2/fission-loclists.S: Same.
377 * gdb.dwarf2/fission-multi-cu.S: Same.
378 * gdb.dwarf2/fission-reread.S: Same.
379 * gdb.dwarf2/fission-base.exp: Use DWO.
380 * gdb.dwarf2/fission-loclists-pie.exp: Same.
381 * gdb.dwarf2/fission-loclists.exp: Same.
382 * gdb.dwarf2/fission-multi-cu.exp: Same.
383 * gdb.dwarf2/fission-reread.exp: Same.
385 2021-01-29 Tom de Vries <tdevries@suse.de>
388 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.c: New test.
389 * gdb.dwarf2/dw2-step-out-of-function-no-stmt.exp: New file.
391 2021-01-29 Tom de Vries <tdevries@suse.de>
393 * gdb.opt/solib-intra-step.exp: Remove state tracking logic.
395 2021-01-28 Tom de Vries <tdevries@suse.de>
397 * gdb.arch/i386-gnu-cfi.exp: Capture the position of function gate
398 in the backtrace, and use that in the rest of the test instead of
399 hardcoded constant 3. Use "frame" instead of "up" for robustness.
401 2021-01-28 Tom de Vries <tdevries@suse.de>
403 * gdb.arch/i386-sse-stack-align.S: Rename g[0-4] to test_g[0-4].
404 * gdb.arch/i386-sse-stack-align.c: Same.
405 * gdb.arch/i386-sse-stack-align.exp: Same.
407 2021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
409 * lib/gdb.exp (default_gdb_init): Unset XDG_CONFIG_HOME.
411 2021-01-28 Tom de Vries <tdevries@suse.de>
413 * gdb.ada/out_of_line_in_inlined.exp: Use gdb_breakpoint.
415 2021-01-28 Tom de Vries <tdevries@suse.de>
417 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: Add regexp to
418 "maint info line-table". Make PASS pattern more specific. Make
419 FAIL pattern work for -m32.
421 2021-01-27 Lancelot SIX <lsix@lancelotsix.com>
424 * gdb.base/ui-redirect.exp: Add test case that ensures that
425 redirecting both logging and debug does not cause gdb to crash.
428 2021-01-27 Matthew Malcomson <matthew.malcomson@arm.com>
430 * gdb.arch/insn-reloc.c: Add tests for BR and BLR.
432 2021-01-26 Tom de Vries <tdevries@suse.de>
434 * gdb.threads/killed-outside.exp: Allow regular output.
436 2021-01-26 Tom de Vries <tdevries@suse.de>
438 * gdb.opt/solib-intra-step.exp: Handle stepping into thunk.
440 2021-01-25 Tom de Vries <tdevries@suse.de>
442 * gdb.dwarf2/dw2-ranges-psym.exp (gdb_load_no_complaints): New proc.
443 * lib/gdb.exp: Use gdb_load_no_complaints.
445 2021-01-25 Tom Tromey <tromey@adacore.com>
447 * gdb.ada/fixed_points.exp: Add regression test.
448 * gdb.ada/fixed_points/fixed_points.adb (FP5_Var): New variable.
449 * gdb.ada/fixed_points/pck.adb (Delta5, FP5_Type): New.
451 2021-01-25 Tom Tromey <tromey@adacore.com>
453 * gdb.ada/local-enum.exp: Add enumerator resolution test.
455 2021-01-25 Tom Tromey <tromey@adacore.com>
457 * gdb.ada/local-enum.exp: New file.
458 * gdb.ada/local-enum/local.adb: New file.
460 2021-01-23 Tom Tromey <tom@tromey.com>
462 * lib/gdb.exp (default_gdb_init): Set INPUTRC to a cached file.
464 2021-01-22 Bernd Edlinger <bernd.edlinger@hotmail.de>
466 * gdb.base/line65535.exp: Fix test expectation.
468 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
470 * lib/gdb.exp (gdb_test_multiple): Remove things related to test
472 (default_gdb_exit): Likewise.
473 (default_gdb_spawn): Likewise.
474 (send_gdb): Likewise.
475 (gdb_expect): Likewise.
476 (gdb_expect_list): Likewise.
477 (default_gdb_init): Likewise.
478 (gdb_suppress_entire_file): Remove.
479 (gdb_suppress_tests): Remove.
480 (gdb_stop_suppressing_tests): Remove.
481 (gdb_clear_suppressed): Remove.
482 * lib/mi-support.exp (mi_uncatched_gdb_exit): Remove things
483 related to test suppression.
484 (default_mi_gdb_start): Likewise.
485 (mi_gdb_reinitialize_dir): Likewise.
486 (mi_gdb_test): Likewise.
487 (mi_run_cmd_full): Likewise.
488 (mi_runto_helper): Likewise.
489 (mi_execute_to): Likewise.
490 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
491 * gdb.base/bitfields.exp: Likewise.
492 * gdb.base/bitfields2.exp: Likewise.
493 * gdb.base/break.exp: Likewise.
494 * gdb.base/call-sc.exp: Likewise.
495 * gdb.base/callfuncs.exp: Likewise.
496 * gdb.base/dfp-test.exp: Likewise.
497 * gdb.base/endian.exp: Likewise.
498 * gdb.base/exprs.exp: Likewise.
499 * gdb.base/funcargs.exp: Likewise.
500 * gdb.base/hbreak2.exp: Likewise.
501 * gdb.base/recurse.exp: Likewise.
502 * gdb.base/scope.exp: Likewise.
503 * gdb.base/sepdebug.exp: Likewise.
504 * gdb.base/structs.exp: Likewise.
505 * gdb.base/until.exp: Likewise.
506 * gdb.cp/misc.exp: Likewise.
508 2021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
511 * gdb.base/style.exp (run_style_tests): Add version string test.
512 (test_startup_version_string): Use version style name.
513 * lib/gdb-utils.exp (style): Handle version style name.
515 2021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
517 * gdb.base/style.exp (limited_style): New proc.
518 (clean_restart_and_disable): New proc.
519 (run_style_tests): New proc. Most of the old tests from this file
520 are now in this proc.
521 (test_startup_version_string): New proc. Reamining test from the
522 old file is in this proc.
524 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
526 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
527 Adjust to "set debug remote" changes.
529 2021-01-21 Luis Machado <luis.machado@linaro.org>
531 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Handle a new error
534 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
536 * lib/tuiterm.exp (_log, _log_cur): New, use throughout.
538 2021-01-21 Hannes Domani <ssbssa@yahoo.de>
541 * gdb.python/py-breakpoint.exp: Add tests for hardware breakpoints.
543 2021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
545 * lib/tuiterm.exp: Rename _cur_x/_cur_y to _cur_col/_cur_row.
547 2021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
549 * lib/tuiterm.exp: Add links in comments.
551 2021-01-20 Tom de Vries <tdevries@suse.de>
553 * gdb.python/py-format-string.exp: Allow Deriv+$decimal as vtable
556 2021-01-20 Tom de Vries <tdevries@suse.de>
558 * lib/gdb.exp (skip_rust_tests): Skip if multilib_flags contains -m32.
560 2021-01-20 Sergio Durigan Junior <sergiodj@sergiodj.net>
562 * gdb.arch/amd64-stap-expressions.S: New file.
563 * gdb.arch/amd64-stap-expressions.exp: New file.
565 2021-01-19 Tom de Vries <tdevries@suse.de>
567 * gdb.base/step-over-syscall.exp: Detect and handle sysenter/int
570 2021-01-19 Tom de Vries <tdevries@suse.de>
572 * gdb.arch/i386-mpx.c (main): Drop argc/argv parameter.
574 2021-01-18 Andrew Burgess <andrew.burgess@embecosm.com>
576 * gdb.fortran/array-slices.exp (run_test): Avoid including
577 addresses in test names.
579 2021-01-15 Tom de Vries <tdevries@suse.de>
582 * gdb.fortran/array-slices.exp (run_test): Avoid pointer arithmetic
585 2021-01-14 Tom de Vries <tdevries@suse.de>
588 * gdb.base/style.exp: Handle shorter argv in frame command output.
590 2021-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
593 * gdb.server/stop-reply-no-thread-multi.c: New file.
594 * gdb.server/stop-reply-no-thread-multi.exp: New file.
596 2021-01-12 Tom de Vries <tdevries@suse.de>
598 * gdb.arch/i386-mpx-call.c (have_mpx): Remove.
599 (main): Remove call to have_mpx.
600 * gdb.arch/i386-mpx-call.exp: Use have_mpx.
601 * gdb.arch/i386-mpx-map.c (have_mpx): Remove.
602 (main): Remote call to have_mpx.
603 * gdb.arch/i386-mpx-map.exp: Use have_mpx.
604 * gdb.arch/i386-mpx-sigsegv.c (have_mpx): Remove.
605 (main): Remove call to have_mpx.
606 * gdb.arch/i386-mpx-sigsegv.exp: Use have_mpx.
607 * gdb.arch/i386-mpx-simple_segv.c (have_mpx): Remove.
608 (main): Remove call to have_mpx.
609 * gdb.arch/i386-mpx-simple_segv.exp: Use have_mpx.
610 * gdb.arch/i386-mpx.c (have_mpx): Remove.
611 (main): Remote call to have_mpx.
612 * gdb.arch/i386-mpx.exp: Use have_mpx.
613 * lib/gdb.exp (have_mpx): New proc.
615 2021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
617 * gdb.arch/aarch64-fp.exp: Modify to test bfloat16 support.
619 2021-01-12 Tom de Vries <tdevries@suse.de>
621 * gdb.base/disasm-optim.exp: Require is_amd64_regs_target.
623 2021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
625 * gdb.fortran/debug-expr.exp: Add new tests.
627 2021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
629 * gdb.fortran/dot-ops.exp: Add new tests.
631 2021-01-11 Tom de Vries <tdevries@suse.de>
634 * gdb.arch/amd64-stap-three-arg-disp.S: Remove insn modifying $ebx.
635 Move insn setting $eax to before probe point.
637 2021-01-09 Tom Tromey <tom@tromey.com>
639 * gdb.trace/ax.exp: Do not require an "ext".
641 2021-01-08 Tom Tromey <tromey@adacore.com>
643 * gdb.ada/voidctx/pck.adb: New file.
644 * gdb.ada/voidctx/pck.ads: New file.
645 * gdb.ada/voidctx/voidctx.adb: New file.
646 * gdb.ada/voidctx.exp: New file.
648 2021-01-08 Simon Marchi <simon.marchi@polymtl.ca>
651 * gdb.base/empty-host-env-vars.exp: New test.
653 2021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
655 * gdb.base/completion.exp: Add a new test.
657 2021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
659 * gdb.fortran/intvar-dynamic-types.exp: New file.
660 * gdb.fortran/intvar-dynamic-types.f90: New file.
662 2021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
664 * gdb.fortran/intvar-array.exp: New file.
665 * gdb.fortran/intvar-array.f90: New file.
667 2021-01-07 Tom Tromey <tromey@adacore.com>
669 * gdb.ada/assign_arr.exp: Add 'others' test.
671 2021-01-06 Tom Tromey <tromey@adacore.com>
673 * gdb.ada/fixed_points/pck.ads (Delta4): New constant.
674 (FP4_Type): New type.
675 (FP4_Var): New variable.
676 * gdb.ada/fixed_points/fixed_points.adb: Update.
677 * gdb.ada/fixed_points.exp: Add tests for binary operators.
679 2021-01-06 Simon Marchi <simon.marchi@polymtl.ca>
681 * lib/gdb.exp (gdb_test_sequence): Accept -prompt switch.
682 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
683 Pass prompt containing debug print to gdb_test_sequence.
685 2021-01-04 Tom de Vries <tdevries@suse.de>
687 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: New file.
689 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
693 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
695 * gdb.server/abspath.exp: Append "set sysroot" to GDBFLAGS.
696 * gdb.server/connect-without-multi-process.exp: Likewise.
697 * gdb.server/exit-multiple-threads.exp: Likewise.
698 * gdb.server/ext-attach.exp: Likewise.
699 * gdb.server/ext-restart.exp: Likewise.
700 * gdb.server/ext-run.exp: Likewise.
701 * gdb.server/ext-wrapper.exp: Likewise.
702 * gdb.server/multi-ui-errors.exp: Likewise.
703 * gdb.server/no-thread-db.exp: Likewise.
704 * gdb.server/reconnect-ctrl-c.exp: Likewise.
705 * gdb.server/run-without-local-binary.exp: Likewise.
706 * gdb.server/server-kill.exp: Likewise.
707 * gdb.server/server-run.exp: Likewise.
708 * gdb.server/solib-list.exp: Likewise.
709 * gdb.server/stop-reply-no-thread.exp: Likewise.
710 * gdb.server/wrapper.exp: Likewise.
711 * gdb.server/sysroot.exp: Increase timeout when testing the
714 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
716 * gdb.server/server-run.exp: Use clean_restart.
718 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
720 * gdb.server/ext-run.exp: Use clean_restart.
722 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
724 * gdb.server/stop-reply-no-thread.exp: Use build_executable
725 instead of prepare_for_testing.
727 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
729 * gdb.server/solib-list.exp: Use clean_restart.
731 2021-01-04 Tom de Vries <tdevries@suse.de>
733 * gdb.base/morestack.c: Remove printf.
734 * gdb.base/morestack.exp: Don't use -fuse-ld=gold.
736 2020-12-31 Tom Tromey <tom@tromey.com>
738 * gdb.rust/simple.exp: Update output for Rust 1.49.
740 2020-12-31 Bernd Edlinger <bernd.edlinger@hotmail.de>
742 * gdb.cp/step-and-next-inline.exp: Fix test case.
744 2020-12-30 Simon Marchi <simon.marchi@polymtl.ca>
746 * gdb.python/py-frame-args.exp: De-duplicate test names.
748 2020-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
751 * gdb.dwarf2/dyn-type-unallocated.c: New file.
752 * gdb.dwarf2/dyn-type-unallocated.exp: New file.
754 2020-12-21 Peter Waller <p@pwaller.net>
756 * gdb.base/style-interp-exec-mi.exp: New.
757 * gdb.base/style-interp-exec-mi.c: New.
759 2020-12-21 Simon Marchi <simon.marchi@polymtl.ca>
761 * gdb.base/list.exp: Replace send_gdb + gdb_expect with
762 gdb_test. Use proc_with_prefix.
764 2020-12-21 Markus Metzger <markus.t.metzger@intel.com>
766 * gdb.btrace/exception.exp: Build with nopie.
767 * gdb.btrace/function_call_history.exp: Likewise.
768 * gdb.btrace/unknown_functions.exp: Likewise.
770 2020-12-21 Markus Metzger <markus.t.metzger@intel.com>
772 * gdb.btrace/multi-inferior.exp: Skip if use_gdb_stub.
774 2020-12-21 Markus Metzger <markus.t.metzger@intel.com>
776 * gdb.python/py-record-btrace.exp: Make test names unique.
777 * gdb.python/py-record-full.exp: Likewise.
779 2020-12-21 Markus Metzger <markus.t.metzger@intel.com>
781 * gdb.btrace/data.exp: Make test names unique.
782 * gdb.btrace/delta.exp: Likewise.
783 * gdb.btrace/enable.exp: Likewise.
784 * gdb.btrace/function_call_history.exp: Likewise.
785 * gdb.btrace/nohist.exp: Likewise.
786 * gdb.btrace/non-stop.exp: Likewise.
787 * gdb.btrace/rn-dl-bind.exp: Likewise.
788 * gdb.btrace/step.exp: Likewise.
789 * gdb.btrace/stepi.exp: Likewise.
790 * gdb.btrace/tailcall.exp: Likewise.
792 2020-12-21 Markus Metzger <markus.t.metzger@intel.com>
794 * gdb.btrace/enable.exp: Update error message.
795 * gdb.btrace/multi-inferior.exp: Likewise.
796 * gdb.btrace/reconnect.exp: Likewise.
797 * gdb.python/py-record-btrace.exp: Likewise.
798 * gdb.python/py-record-full.exp: Likewise.
800 2020-12-20 Tom de Vries <tdevries@suse.de>
802 * lib/gdb.exp (save_target_board_info): New proc.
803 (gdb_compile_shlib): Use save_target_board_info.
805 2020-12-19 Tom de Vries <tdevries@suse.de>
807 * lib/gdb.exp (supports_scalar_storage_order_attribute)
808 (supports_gnuc): New proc.
809 * gdb.base/endianity.exp: Define TEST_SSO. Eliminate
810 test_compiler_info calls. Add unsupported message.
811 * gdb.base/endianity.c: Use TEST_SSO.
813 2020-12-19 Hannes Domani <ssbssa@yahoo.de>
816 * gdb.python/compare-enum-type-a.c: New test.
817 * gdb.python/compare-enum-type-b.c: New test.
818 * gdb.python/compare-enum-type.exp: New file.
819 * gdb.python/compare-enum-type.h: New test.
821 2020-12-18 Hannes Domani <ssbssa@yahoo.de>
823 * gdb.python/py-format-string.exp: Add tests for address keyword.
825 2020-12-18 Hannes Domani <ssbssa@yahoo.de>
827 * gdb.python/py-type.exp: Add tests for TYPE_CODE_METHOD.
829 2020-12-18 Tom Tromey <tromey@adacore.com>
831 * gdb.ada/fixed_points.exp: Also run with
832 -fgnat-encodings=minimal. Update expected output.
834 2020-12-16 Simon Marchi <simon.marchi@efficios.com>
836 * gdb.base/async-shell.exp: Enable non-stop through GDBFLAGS.
837 * gdb.base/continue-all-already-running.exp: Likewise.
838 * gdb.base/moribund-step.exp: Likewise.
839 * gdb.base/step-sw-breakpoint-adjust-pc.exp: Likewise.
841 2020-12-16 Tom de Vries <tdevries@suse.de>
843 * gdb.base/batch-preserve-term-settings.exp:
845 2020-12-16 Tom de Vries <tdevries@suse.de>
847 * lib/gdb.exp (gdb_compile_shlib_1): Factor out of ...
848 (gdb_compile_shlib): ... here. Filter out PIE-related flags.
850 2020-12-16 Luis Machado <luis.machado@linaro.org>
852 * gdb.arch/aarch64-tagged-pointer.c (main): Add a few more
853 pointer-based memory accesses.
854 * gdb.arch/aarch64-tagged-pointer.exp: Exercise additional
857 2020-12-15 Rae Kim <rae.kim@gmail.com>
859 * gdb.base/document.exp: New test.
861 2020-12-15 Tom Tromey <tromey@adacore.com>
863 * gdb.base/style.exp: Add deprecation tests.
865 2020-12-14 Simon Marchi <simon.marchi@polymtl.ca>
867 * lib/gdb.exp (gdb_test_multiple): Fix typo in doc.
869 2020-12-14 Mark Wielaard <mark@klomp.org>
871 * lib/dwarf.exp (Dwarf::_handle_attribute): Handle SPECIAL_expr
872 specially, set attr_form_comment to the actual FORM string used.
874 2020-12-14 Mark Wielaard <mark@klomp.org>
876 * lib/dwarf.exp (Dwarf::_read_constants): Don't set
877 _constants(SPECIAL_expr) here, but set it...
878 (Dwarf::cu): ...here based on _cu_version.
880 2020-12-14 Tom de Vries <tdevries@suse.de>
882 * lib/gdb.exp (gdb_compile_shlib): Make sure it's not necessary to
884 * gdb.ada/catch_ex_std.exp: Don't pass -fPIC to gdb_compile_shlib.
885 * gdb.base/break-probes.exp: Same.
886 * gdb.base/ctxobj.exp: Same.
887 * gdb.base/dso2dso.exp: Same.
888 * gdb.base/global-var-nested-by-dso.exp: Same.
889 * gdb.base/info-shared.exp: Same.
890 * gdb.base/jit-reader-simple.exp: Same.
891 * gdb.base/print-file-var.exp: Same.
892 * gdb.base/skip-solib.exp: Same.
893 * gdb.btrace/dlopen.exp: Same.
895 2020-12-14 Tom de Vries <tdevries@suse.de>
898 * lib/gdb.exp (run_on_host): Declare test unsupported if spawn fails.
900 2020-12-14 Tom de Vries <tdevries@suse.de>
903 * gdb.base/solib-corrupted.exp: Handle "'_r_debug' has unknown type;
904 cast it to its declared type".
906 2020-12-14 Tom de Vries <tdevries@suse.de>
909 * gdb.base/batch-preserve-term-settings.exp: Use "gdb-subshell$ " as
912 2020-12-14 Tom Tromey <tromey@adacore.com>
914 * gdb.ada/nested.exp: Add new tests.
915 * gdb.ada/nested/hello.adb (Fourth, Fifth): New procedures.
917 2020-12-14 Tom Tromey <tromey@adacore.com>
919 * gdb.dwarf2/ada-thick-pointer.exp: New file.
921 2020-12-14 Tom Tromey <tromey@adacore.com>
923 * gdb.dwarf2/dw2-fixed-point.exp: Add test for division by zero.
925 2020-12-13 Tom de Vries <tdevries@suse.de>
928 * gdb.base/endianity.exp: Skip tests requiring scalar_storage_order
929 attribute support if compiler doesn't support it.
931 2020-12-13 Tom de Vries <tdevries@suse.de>
933 * lib/gdb.exp (gdb_compile_shlib): Handle ada.
934 * gdb.ada/catch_ex_std.exp: Use gdb_compile_shlib to compile from
935 source to shared lib. Add ada to options.
937 2020-12-13 Tom de Vries <tdevries@suse.de>
939 * gdb.ada/catch_ex_std.exp: Use gnatmake -bargs and -largs instead of
940 calling gnatbind and gnatlink.
942 2020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
944 * gdb.base/dcache-flush.c: New file.
945 * gdb.base/dcache-flush.exp: New file.
947 2020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
949 * gdb.base/c-linkage-name.exp: Update to use new 'maint flush ...'
951 * gdb.base/killed-outside.exp: Likewise.
952 * gdb.opt/inline-bt.exp: Likewise.
953 * gdb.perf/gmonster-null-lookup.py: Likewise.
954 * gdb.perf/gmonster-print-cerr.py: Likewise.
955 * gdb.perf/gmonster-ptype-string.py: Likewise.
956 * gdb.python/py-unwind.exp: Likewise.
958 2020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
960 * gdb.base/commands.exp: Update expected results.
962 2020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
965 * gdb.base/commands.exp: Add additional tests.
966 * gdb.base/completion.exp: Add additional tests.
968 2020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
970 * gdb.base/completion.exp: Add additional tests.
972 2020-12-11 Tom de Vries <tdevries@suse.de>
975 * gdb.arch/i386-mpx-call.exp: Don't expect to trigger bounds
976 violations by setting bounds registers if the bounds are passed in the
979 2020-12-11 Tom de Vries <tdevries@suse.de>
982 * gdb.base/float128.exp: Detect and handle no mpfr support.
984 2020-12-10 Simon Marchi <simon.marchi@efficios.com>
987 * gdb.multi/multi-arch-exec.c (thread_start, main): Add barrier
990 2020-12-10 Tom de Vries <tdevries@suse.de>
993 * gdb.tui/new-layout.exp: Don't execute tests with unbalanced curly
994 braces for tcl 8.5 and earlier.
996 2020-12-09 Simon Marchi <simon.marchi@efficios.com>
999 * gdb.base/flexible-array-member.c: New test.
1000 * gdb.base/flexible-array-member.exp: New test.
1002 2020-12-08 Tom de Vries <tdevries@suse.de>
1004 * gdb.arch/amd64-gs_base.exp: Undo commit 67748e0f66, reimplement
1005 using is_amd64_regs_target.
1007 2020-12-08 Tom de Vries <tdevries@suse.de>
1009 * gdb.ada/mi_task_arg.exp: Accept <optimized out> as valid value of
1012 2020-12-07 Pedro Alves <pedro@palves.net>
1014 * gdb.base/break-on-linker-gcd-function.exp: Remove unused
1015 'additional_flags' variable.
1017 2020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1019 * gdb.linespec/explicit.exp: Extend with a test to check completing
1020 '-' after seemingly complete options.
1022 2020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1024 * gdb.linespec/keywords.exp: Add tests to check positional
1025 flexibility of "-force-condition".
1027 2020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1029 * gdb.base/bp-cmds-run-with-ex.c: New file.
1030 * gdb.base/bp-cmds-run-with-ex.exp: New file.
1031 * gdb.base/bp-cmds-run-with-ex.gdb: New file.
1032 * gdb.gdb/python-interrupts.exp: Update the call to
1033 'catch_command_errors' with the new argument.
1034 * gdb.gdb/python-selftest.exp: Ditto.
1036 2020-12-04 Simon Marchi <simon.marchi@efficios.com>
1038 * gdb.arch/amd64-disp-step-avx.exp: Adjust pattern.
1039 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
1040 * gdb.threads/non-stop-fair-events.exp: Likewise.
1042 2020-12-04 Simon Marchi <simon.marchi@efficios.com>
1044 * gdb.threads/step-over-exec.exp: New.
1045 * gdb.threads/step-over-exec.c: New.
1046 * gdb.threads/step-over-exec-execd.c: New.
1047 * lib/my-syscalls.S: New.
1048 * lib/my-syscalls.h: New.
1050 2020-12-04 Simon Marchi <simon.marchi@efficios.com>
1052 * lib/dwarf.exp (declare_labels): Use name as text if text is
1055 2020-12-04 Tom de Vries <tdevries@suse.de>
1058 * gdb.arch/amd64-gs_base.exp: Handle -m32 where fs_base and gs_base
1061 2020-12-04 Tom de Vries <tdevries@suse.de>
1063 * gdb.reverse/insn-reverse.exp: Don't break inside gdb_test_multiple
1066 2020-12-04 Tom de Vries <tdevries@suse.de>
1068 * gdb.reverse/insn-reverse.exp: Fix count handling.
1070 2020-12-04 Tom de Vries <tdevries@suse.de>
1072 * gdb.reverse/insn-reverse-x86.c: Guard x86_64 assembly with #ifdef
1075 2020-12-04 Tom de Vries <tdevries@suse.de>
1077 * gdb.reverse/insn-reverse.c (test_nr): New var.
1078 (usage, parse_args): New function.
1079 (main): Call parse_args. Only run test for test_nr.
1080 * gdb.reverse/insn-reverse.exp: Detect lack of progress in stepi loop
1081 and bail out. Run subtests individually, using an inferior arg
1082 specifying the subtest.
1084 2020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
1086 * gdb.arch/riscv-tdesc-regs.exp: Remove unwanted test.
1088 2020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
1090 * gdb.arch/riscv-tdesc-regs.exp (get_expected_result): New proc,
1091 update test to use this.
1093 2020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1095 * gdb.threads/non-ldr-exc-1.exp: Fix indentation.
1097 2020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1099 * gdb.threads/non-ldr-exc-1.exp: Use foreach_with_prefix.
1100 (do_test): Don't use with_test_prefix.
1101 * gdb.threads/non-ldr-exc-2.exp: Use foreach_with_prefix.
1102 (do_test): Don't use with_test_prefix.
1103 * gdb.threads/non-ldr-exc-3.exp: Use foreach_with_prefix.
1104 (do_test): Don't use with_test_prefix.
1105 * gdb.threads/non-ldr-exc-4.exp: Use foreach_with_prefix.
1106 (do_test): Don't use with_test_prefix.
1108 2020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
1110 * gdb.threads/non-ldr-exit.exp: Fix comment.
1112 2020-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
1114 * gdb.xml/maint-xml-dump-03.xml: New file.
1116 2020-11-30 Tom de Vries <tdevries@suse.de>
1119 * gdb.dwarf2/count.exp: Remove kfails.
1121 2020-11-24 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1123 * gdb.base/condbreak-multi-context.exp: Do not hard-code location
1126 2020-11-24 Joel Brobecker <brobecker@adacore.com>
1128 * gdb.dwarf2/dw2-fixed-point.exp: Fix the expected output of
1129 the "ptype pck__fp1_range_var" test for the module-2 and pascal
1130 languages. Remove the associated setup_xfail.
1132 2020-11-23 Simon Marchi <simon.marchi@efficios.com>
1134 * lib/gdb.exp (gdb_assert): Show error message on error.
1136 2020-11-23 Tom de Vries <tdevries@suse.de>
1138 * gdb.ada/enum_idx_packed.exp: Limit setup_kfail to gnat 9 and 10.
1139 * gdb.ada/mod_from_name.exp: Same.
1140 * gdb.ada/pckd_arr_ren.exp: Same.
1142 2020-11-22 Simon Marchi <simon.marchi@polymtl.ca>
1144 * gdb.base/template.exp: New.
1145 * gdb.base/template.c: New.
1147 2020-11-22 Gary Benson <gbenson@redhat.com>
1150 * gdb.dwarf2/count.exp: Add test for an array whose upper bound
1151 is defined using a DW_AT_count which references another DIE.
1153 2020-11-21 Tom de Vries <tdevries@suse.de>
1155 * gdb.base/vla-ptr.exp: Add XFAIL.
1157 2020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1159 * gdb.fortran/array-slices-bad.exp: New file.
1160 * gdb.fortran/array-slices-bad.f90: New file.
1161 * gdb.fortran/array-slices-sub-slices.exp: New file.
1162 * gdb.fortran/array-slices-sub-slices.f90: New file.
1163 * gdb.fortran/array-slices.exp: Rewrite tests.
1164 * gdb.fortran/array-slices.f90: Rewrite tests.
1165 * gdb.fortran/vla-sizeof.exp: Correct expected results.
1167 2020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1169 * gdb.base/completion.exp: Add new completion tests.
1171 2020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
1173 * gdb.mi/mi-nonstop-exit.exp: Enable non-stop through GDBFLAGS.
1174 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1175 * gdb.mi/mi-nsintrall.exp: Likewise.
1176 * gdb.mi/mi-nsmoribund.exp: Likewise.
1177 * gdb.mi/mi-nsthrexec.exp: Likewise.
1178 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1180 2020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
1182 * lib/mi-support.exp (mi_run_cmd_full): Use unresovled instead
1185 2020-11-18 Joseph Myers <joseph@codesourcery.com>
1187 * lib/mi-support.exp (mi_gdb_file_cmd): Check for case where
1188 $arg.exe exists but $arg does not.
1190 2020-11-17 Gary Benson <gbenson@redhat.com>
1192 * gdb.trace/trace-common.h (x86_trace_dummy): Add
1193 __attribute__ ((used)).
1195 2020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
1197 * gdb.gdb/unittest.exp: Spot 'Running...' lines.
1199 2020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
1201 * gdb.base/completion.exp: Add new tests.
1203 2020-11-16 Tom Tromey <tromey@adacore.com>
1205 * gdb.dwarf2/data-loc.exp: Update expected output. Remove C
1208 2020-11-15 Joel Brobecker <brobecker@adacore.com>
1210 * gdb.ada/fixed_cmp.exp: Add -fgnat-encodings=minimal testing.
1211 * gdb.dwarf2/dw2-fixed-point.c (pck__fp1_var2): New global.
1212 (main): Add reference to pck__fp1_var2.
1213 * gdb.dwarf2/dw2-fixed-point.exp: Add comparison operator testing.
1215 2020-11-15 Joel Brobecker <brobecker@adacore.com>
1217 * gdb.dwarf2/dw2-fixed-point.exp: Add arithmetic tests.
1219 2020-11-15 Joel Brobecker <brobecker@adacore.com>
1221 * gdb.ada/fixed_points.exp: Add ptype tests.
1222 * gdb.dwarf2/dw2-fixed-point.exp: Likewise.
1224 2020-11-15 Joel Brobecker <brobecker@adacore.com>
1226 * gdb.dwarf2/dw2-fixed-point.exp: Add "print /x" tests.
1228 2020-11-15 Joel Brobecker <brobecker@adacore.com>
1230 * gdb.ada/fixed_cmp.exp: Force compilation to use -fgnat-encodings=all.
1231 * gdb.ada/fixed_points.exp: Add fixed-point variables printing tests.
1232 * gdb.ada/fixed_points/pck.ads, gdb.ada/fixed_points/pck.adb:
1234 * gdb.ada/fixed_points/fixed_points.adb: Add use of package Pck.
1236 * gdb.dwarf2/dw2-fixed-point.c, gdb.dwarf2/dw2-fixed-point.exp:
1239 2020-11-14 Andrew Burgess <andrew.burgess@embecosm.com>
1242 * gdb.fortran/completion.exp: New file.
1243 * gdb.fortran/completion.f90: New file.
1245 2020-11-12 Joseph Myers <joseph@codesourcery.com>
1247 * lib/gdb.exp (gdb_file_cmd): Check for case where $arg.exe exists
1250 2020-11-12 Andrew Burgess <andrew.burgess@embecosm.com>
1252 * gdb.fortran/types.exp: Add more tests.
1254 2020-11-12 Tom Tromey <tom@tromey.com>
1257 * gdb.rust/traits.exp: Remove kfails.
1259 2020-11-12 Gary Benson <gbenson@redhat.com>
1261 * gdb.threads/tls-so_extern_main.c (tls_ptr): Add missing return
1264 2020-11-11 Simon Marchi <simon.marchi@efficios.com>
1266 * gdb.base/continue-after-aborted-step-over.exp: Add "breakpoint
1267 always-inserted" axis.
1268 (do_test): Add breakpoint_always_inserted parameter.
1270 2020-11-10 Tom Tromey <tromey@adacore.com>
1272 * gdb.ada/bias.exp: Update.
1273 * gdb.ada/bias/bias.adb (X): Change value.
1275 2020-11-10 Gary Benson <gbenson@redhat.com>
1277 * gdb.base/vla-optimized-out.exp (p sizeof (a)): Wrap supplied
1278 regexp fragment in parentheses to prevent false matching.
1280 2020-11-10 Gary Benson <gbenson@redhat.com>
1282 * gdb.base/vla-optimized-out.c (f1): Add __attribute__ ((weak)).
1284 2020-11-10 Gary Benson <gbenson@redhat.com>
1286 * gdb.cp/step-and-next-inline.exp: Only require
1287 -gstatement-frontiers when building with GCC.
1288 Only setup KFAIL's for GCC issues when using
1289 a GCC-built executable.
1291 2020-11-06 Andrew Burgess <andrew.burgess@embecosm.com>
1293 * gdb.base/debug-expr.c: Add extra function to allow for an
1295 * gdb.base/debug-expr.exp (test_debug_expr): Delete, replace calls
1296 to this proc with gdb_test_debug_expr. Add an extra test.
1297 * gdb.cp/debug-expr.exp (test_debug_expr): Delete, replace calls
1298 to this proc with gdb_test_debug_expr, give the tests names
1299 * gdb.dlang/debug-expr.exp (test_debug_expr): Delete, replace
1300 calls to this proc with gdb_test_debug_expr, give the tests names
1301 * gdb.fortran/debug-expr.exp: New file.
1302 * gdb.fortran/debug-expr.f90: New file.
1303 * lib/gdb.exp (gdb_test_debug_expr): New proc.
1305 2020-11-06 Simon Marchi <simon.marchi@efficios.com>
1307 * lib/dwarf.exp (ranges): Handle "base" and "range" as
1309 * gdb.dwarf/dw2-bad-elf.exp: Adjust.
1310 * gdb.dwarf2/dw2-inline-many-frames.exp: Adjust.
1311 * gdb.dwarf2/dw2-inline-stepping.exp: Adjust.
1312 * gdb.dwarf2/dw2-ranges-base.exp: Adjust.
1313 * gdb.dwarf2/dw2-ranges-func.exp: Adjust.
1314 * gdb.dwarf2/dw2-ranges-overlap.exp: Adjust.
1315 * gdb.dwarf2/dw2-ranges-psym.exp: Adjust.
1316 * gdb.dwarf2/enqueued-cu-base-addr.exp: Adjust.
1318 2020-11-04 Tom Tromey <tromey@adacore.com>
1320 * gdb.ada/funcall_ref.exp: Update.
1321 * gdb.ada/var_rec_arr.exp: Update.
1323 2020-11-04 Tom Tromey <tromey@adacore.com>
1325 * gdb.ada/rec_ptype.exp: New file.
1326 * gdb.ada/rec_ptype/main.adb: New file.
1327 * gdb.ada/rec_ptype/p.ads: New file.
1329 2020-11-04 Tom Tromey <tromey@adacore.com>
1331 * gdb.ada/tick_length_array_enum_idx.exp: Add ptype test.
1332 * gdb.ada/tick_length_array_enum_idx/foo_n207_004.adb
1333 (PT_Full): New variable.
1334 * gdb.ada/tick_length_array_enum_idx/pck.adb
1335 (Full_PT): New type.
1337 2020-11-04 Tom Tromey <tromey@adacore.com>
1339 * gdb.ada/array_of_variant.exp: New file.
1340 * gdb.ada/array_of_variant/p.adb: New file.
1341 * gdb.ada/array_of_variant/pck.ads: New file.
1342 * gdb.ada/array_of_variant/pck.adb: New file.
1344 2020-11-04 Tom Tromey <tromey@adacore.com>
1346 * gdb.ada/enum_idx_packed.exp: Add test.
1347 * gdb.ada/enum_idx_packed/foo.adb (Multi_Access):
1349 * gdb.ada/enum_idx_packed/pck.ads (Short)
1350 (Multi_Dimension, Multi_Dimension_Access): New types.
1352 2020-11-04 Tom Tromey <tromey@adacore.com>
1354 * gdb.ada/enum_idx_packed.exp: Test two forms of -fgnat-encodings.
1356 2020-11-04 Tom Tromey <tromey@adacore.com>
1358 * gdb.ada/set_pckd_arr_elt.exp: Also test
1359 -fgnat-encodings=minimal. Add tests.
1360 * gdb.ada/set_pckd_arr_elt/foo.adb (Foo): Add VA variable.
1361 Call Update_Small a second time.
1362 * gdb.ada/set_pckd_arr_elt/pck.adb (New_Variant): New function.
1363 * gdb.ada/set_pckd_arr_elt/pck.ads (Buffer, Variant)
1364 (Variant_Access): New types.
1365 (New_Variant): Declare.
1367 2020-11-04 Tom Tromey <tromey@adacore.com>
1369 * gdb.ada/mod_from_name.exp: Test printing slice.
1371 2020-11-04 Tom Tromey <tromey@adacore.com>
1373 * gdb.ada/O2_float_param.exp: Test different -fgnat-encodings
1375 * gdb.ada/access_to_unbounded_array.exp: Test different
1376 -fgnat-encodings values.
1377 * gdb.ada/big_packed_array.exp: Test different -fgnat-encodings
1379 * gdb.ada/arr_enum_idx_w_gap.exp: Test different -fgnat-encodings
1381 * gdb.ada/array_ptr_renaming.exp: Test different -fgnat-encodings
1383 * gdb.ada/array_of_variable_length.exp: Test different
1384 -fgnat-encodings values.
1385 * gdb.ada/arrayparam.exp: Test different -fgnat-encodings values.
1386 * gdb.ada/arrayptr.exp: Test different -fgnat-encodings values.
1387 * gdb.ada/frame_arg_lang.exp: Revert -fgnat-encodings=minimal
1389 * gdb.ada/mi_string_access.exp: Test different -fgnat-encodings
1391 * gdb.ada/mod_from_name.exp: Test different -fgnat-encodings values.
1392 * gdb.ada/out_of_line_in_inlined.exp: Test different
1393 -fgnat-encodings values.
1394 * gdb.ada/packed_array.exp: Test different -fgnat-encodings
1396 * gdb.ada/pckd_arr_ren.exp: Test different -fgnat-encodings
1398 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Test different
1399 -fgnat-encodings values.
1400 * gdb.ada/variant_record_packed_array.exp: Test different
1401 -fgnat-encodings values.
1403 2020-11-04 Tom Tromey <tromey@adacore.com>
1405 * gdb.ada/enum_idx_packed.exp: Add tests.
1406 * gdb.ada/enum_idx_packed/foo.adb: Add variables.
1407 * gdb.ada/enum_idx_packed/pck.adb: Add functions.
1408 * gdb.ada/enum_idx_packed/pck.ads: Add types, function
1411 2020-11-03 Tom de Vries <tdevries@suse.de>
1413 * lib/dwarf.exp (Dwarf::_handle_DW_TAG): Improve attribute list
1414 terminator comments.
1415 (Dwarf::cu, Dwarf::tu): Remove superfluous abbreviation table
1418 2020-11-02 Simon Marchi <simon.marchi@polymtl.ca>
1420 * gdb.base/step-over-no-symbols.exp (test_step_over): Replace
1421 integer format test with regexp.
1423 2020-11-02 Gary Benson <gbenson@redhat.com>
1425 * gdb.base/print-file-var.exp (test): Separate compiler and
1426 linker options, and build using build_executable_from_specs
1427 to accommodate this.
1429 2020-11-02 Gary Benson <gbenson@redhat.com>
1431 * lib/gdb.exp (gdb_compile): Inhibit passing "-x c++"
1432 for .c files compiled as C++ with Clang if any shared
1433 libraries are specified.
1435 2020-11-02 Gary Benson <gbenson@redhat.com>
1437 * lib/attributes.h: New header.
1438 * gdb.base/backtrace.c: Include the above. Replace
1439 __attribute__(noclone)) with ATTRIBUTE_NOCLONE.
1440 * gdb.base/infcall-nested-structs.c: Likewise.
1441 * gdb.base/vla-optimized-out.c: Likewise.
1443 2020-11-02 Tom de Vries <tdevries@suse.de>
1445 * gdb.dwarf2/fission-multi-cu.S: Remove .debug_line.dwo section.
1447 2020-11-01 Joel Brobecker <brobecker@adacore.com>
1449 * gdb.ada/fixed_points/fixed_points.adb: Replace use of
1450 System.Min_Int and System.Max_Int with smaller hardcoded
1453 2020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
1455 * configure.ac: Split AC_INIT into AC_INIT and AC_CONFIG_SRCDIR.
1456 * configure: Re-generate.
1458 2020-10-30 Simon Marchi <simon.marchi@efficios.com>
1460 * gdb.arch/amd64-disp-step-avx.exp: Update displaced step debug
1463 2020-10-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1465 * gdb.base/paginate-after-ctrl-c-running.exp: Update with no pagination
1467 * gdb.base/paginate-bg-execution.exp: Ditto.
1468 * gdb.base/paginate-inferior-exit.exp: Ditto.
1469 * gdb.base/double-prompt-target-event-error.c: Remove.
1470 * gdb.base/double-prompt-target-event-error.exp: Remove.
1472 2020-10-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1474 * gdb.base/kill-detach-inferiors-cmd.exp: Check that 'kill
1475 inferiors' and 'detach inferiors' do not change the current
1478 2020-10-29 Tom de Vries <tdevries@suse.de>
1480 * gdb.threads/tls.exp: Fix DUPLICATEs.
1482 2020-10-28 Tom de Vries <tdevries@suse.de>
1484 * gdb.python/py-symbol.exp: Add KFAILs for -readnow.
1486 2020-10-28 Tom de Vries <tdevries@suse.de>
1488 * gdb.ada/exec_changed.exp: Add KFAILs for -readnow.
1489 * gdb.base/reread.exp: Same.
1491 2020-10-28 Tom de Vries <tdevries@suse.de>
1493 * lib/gdb.exp (readnow): Handle arg.
1494 * gdb.rust/traits.exp: Add KFAILs for -readnow.
1496 2020-10-28 Tom de Vries <tdevries@suse.de>
1498 * gdb.base/relocate.exp: Update regexp for -readnow.
1500 2020-10-28 Tom de Vries <tdevries@suse.de>
1502 * gdb.dwarf2/dw2-error.exp: Mark failure break in main as known with
1505 2020-10-28 Tom de Vries <tdevries@suse.de>
1508 * gdb.dwarf2/dw2-ranges-overlap.c: New test.
1509 * gdb.dwarf2/dw2-ranges-overlap.exp: New file.
1511 2020-10-28 Tom de Vries <tdevries@suse.de>
1513 * lib/gdb.exp (gdb_file_cmd): Set gdb_file_cmd_msg.
1514 * gdb.cp/nsalias.exp: Set complaints limit before file cmd. Expect
1515 complaint during file command for -readnow.
1517 2020-10-28 Tom de Vries <tdevries@suse.de>
1519 * gdb.cp/nsalias.exp: Fix typo in test name.
1521 2020-10-28 Tom de Vries <tdevries@suse.de>
1523 * gdb.dwarf2/dw2-filename.exp: Update regexp for -readnow.
1525 2020-10-28 Tom de Vries <tdevries@suse.de>
1527 * gdb.dwarf2/dw2-stack-boundary.exp: KFAILing the complaints for
1530 2020-10-27 Tom de Vries <tdevries@suse.de>
1532 * gdb.base/multi-forks.exp: Use exp_continue to fix timeout.
1534 2020-10-27 Tom de Vries <tdevries@suse.de>
1536 * gdb.base/maint.exp: Update for -readnow.
1538 2020-10-27 Tom de Vries <tdevries@suse.de>
1540 * gdb.cp/psymtab-parameter.exp: Don't expect unexpanded CU for
1543 2020-10-14 Gary Benson <gbenson@redhat.com>
1545 * gdb.python/py-format-string.exp (test_deref_refs): Treat
1546 "_vptr$Base" as correct, in addition to "_vptr.Base".
1547 (test_mixed): Likewise.
1549 2020-10-27 Gary Benson <gbenson@redhat.com>
1551 * gdb.mi/mi-fortran-modules.exp: Check skip_fortran_tests.
1552 * gdb.mi/mi-vla-fortran.exp: Likewise. Also fix a comment.
1554 2020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1556 * gdb.base/condbreak.exp: Update the completion tests to
1557 consider the '-force' flag.
1559 2020-10-27 Tom de Vries <tdevries@suse.de>
1561 * gdb.base/list-ambiguous-readnow.exp: New file.
1563 2020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1565 * gdb.base/condbreak-multi-context.exp: Expand to test forcing
1567 * gdb.linespec/cpcompletion.exp: Update to consider the
1568 '-force-condition' keyword.
1569 * gdb.linespec/explicit.exp: Ditto.
1570 * lib/completion-support.exp: Ditto.
1572 2020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1574 * gdb.base/condbreak-multi-context.cc: New file.
1575 * gdb.base/condbreak-multi-context.exp: New file.
1577 2020-10-26 Tom Tromey <tom@tromey.com>
1579 * lib/mi-support.exp (default_mi_gdb_start): Call
1581 * lib/gdb.exp (standard_output_file_with_gdb_instance): Don't
1582 subtract one from gdb_instances.
1583 (gdb_stdin_log_write): Flush in_file.
1585 2020-10-26 Tom de Vries <tdevries@suse.de>
1587 * gdb.dwarf2/enqueued-cu-base-addr.exp: New file.
1589 2020-10-26 Tom Tromey <tromey@adacore.com>
1591 * gdb.ada/unsigned_range/foo.adb: New file.
1592 * gdb.ada/unsigned_range/pack.adb: New file.
1593 * gdb.ada/unsigned_range/pack.ads: New file.
1594 * gdb.ada/unsigned_range.exp: New file.
1596 2020-10-26 Tom de Vries <tdevries@suse.de>
1598 * lib/gdb.exp (INTERNAL_GDBFLAGS): Set heigth and width.
1600 2020-10-26 Tom de Vries <tdevries@suse.de>
1602 * gdb.dwarf2/dw2-objfile-overlap-inner.S: Specify default base address
1604 * gdb.dwarf2/dw2-objfile-overlap-outer.S: Same.
1606 2020-10-23 Tom de Vries <tdevries@suse.de>
1608 * lib/dwarf.exp (Dwarf::_guess_form): Return "" by default instead of
1610 (Dwarf::_default_form): New proc.
1611 (Dwarf::_handle_DW_TAG): Use _default_form. Error out if no form was
1614 2020-10-23 Tom de Vries <tdevries@suse.de>
1616 * gdb.dwarf2/ada-linkage-name.exp: Use $srcfile for DW_AT_name of CU.
1617 * gdb.dwarf2/atomic-type.exp: Same.
1618 * gdb.dwarf2/bad-regnum.exp: Same.
1619 * gdb.dwarf2/cpp-linkage-name.exp: Same.
1620 * gdb.dwarf2/dw2-align.exp: Same.
1621 * gdb.dwarf2/dw2-bad-elf.exp: Same.
1622 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
1623 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
1624 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
1625 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
1626 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
1627 * gdb.dwarf2/enum-type.exp: Same.
1628 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Same.
1629 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
1630 * gdb.dwarf2/main-subprogram.exp: Same.
1631 * gdb.dwarf2/missing-type-name.exp: Same.
1632 * gdb.dwarf2/nonvar-access.exp: Same.
1633 * gdb.dwarf2/typedef-void-finish.exp: Same.
1634 * gdb.dwarf2/var-access.exp: Same.
1635 * gdb.dwarf2/void-type.exp: Same.
1637 2020-10-22 Simon Marchi <simon.marchi@polymtl.ca>
1640 * gdb.dwarf2/template-specification-full-name.exp: New test.
1642 2020-10-22 Luis Machado <luis.machado@linaro.org>
1644 * gdb.base/msym-bp-shl.exp (test_break): Adjust pattern to not
1645 expected an offset from the function.
1646 * gdb.base/msym-bp.exp (test): Likewise.
1648 2020-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
1650 * gdb.fortran/array-slices.exp: Add a new test.
1652 2020-10-21 Gary Benson <gbenson@redhat.com>
1654 * gdb.mi/mi-fullname-deleted.exp: Fix substituted
1655 fullname test with Clang. Also expand comments generally.
1657 2020-10-20 Tom de Vries <tdevries@suse.de>
1659 * gdb.dwarf2/pr13961.S: Remove superfluous end-of-siblings marker.
1661 2020-10-20 Tom de Vries <tdevries@suse.de>
1663 * gdb.dwarf2/arr-stride.c: Remove.
1664 * gdb.dwarf2/arr-stride.exp: Use main.c.
1665 * gdb.dwarf2/arr-subrange.c: Remove.
1666 * gdb.dwarf2/arr-subrange.exp: Use main.c.
1667 * gdb.dwarf2/bad-regnum.c: Remove.
1668 * gdb.dwarf2/bad-regnum.exp: Use main.c.
1669 * gdb.dwarf2/corrupt.c: Remove.
1670 * gdb.dwarf2/corrupt.exp: Use main.c.
1671 * gdb.dwarf2/dw2-bad-elf.c: Remove.
1672 * gdb.dwarf2/dw2-bad-elf.exp: Use main.c.
1673 * gdb.dwarf2/dw2-icycle.c: Remove.
1674 * gdb.dwarf2/dw2-icycle.exp: Use main.c.
1675 * gdb.dwarf2/formdata16.c: Remove.
1676 * gdb.dwarf2/formdata16.exp: Use main.c.
1677 * gdb.dwarf2/implptrconst.c: Remove.
1678 * gdb.dwarf2/implptrconst.exp: Use main.c.
1679 * gdb.dwarf2/info-locals-optimized-out.c: Remove.
1680 * gdb.dwarf2/info-locals-optimized-out.exp: Use main.c.
1681 * gdb.dwarf2/opaque-type-lookup.c: Remove.
1682 * gdb.dwarf2/opaque-type-lookup.exp: Use main.c.
1684 2020-10-20 Tom de Vries <tdevries@suse.de>
1686 * gdb.dwarf2/ada-valprint-error.exp: Remove redundant mention of .exp
1688 * gdb.dwarf2/dw2-dir-file-name.exp: Same.
1690 2020-10-20 Tom de Vries <tdevries@suse.de>
1692 * gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name.
1693 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
1694 * gdb.dwarf2/dw2-main-no-line-number.exp: Same.
1695 * gdb.dwarf2/dw2-ranges-base.exp: Same.
1696 * gdb.dwarf2/dw2-ranges.exp: Same.
1697 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
1698 * gdb.dwarf2/var-access.exp: Same.
1700 2020-10-19 Tom Tromey <tromey@adacore.com>
1703 * gdb.tui/list.exp: Check source window contents after focus
1706 2020-10-17 Tom de Vries <tdevries@suse.de>
1709 * gdb.dwarf2/dw2-main-no-line-number.exp: New file.
1711 2020-10-17 Tom de Vries <tdevries@suse.de>
1713 * lib/gdb.exp (standard_testfile): Also treat args starting with '-'
1715 * gdb.dwarf2/atomic.c: Rename to ...
1716 * gdb.dwarf2/atomic-type.c: ... this.
1717 * gdb.dwarf2/dw2-ranges2.c: Rename to ...
1718 * gdb.dwarf2/dw2-ranges-2.c: ... this.
1719 * gdb.dwarf2/dw2-ranges3.c: Rename to ...
1720 * gdb.dwarf2/dw2-ranges-3.c: ... this.
1721 * gdb.dwarf2/fission-mix2.c: Rename to ...
1722 * gdb.dwarf2/fission-mix-2.c: ... this.
1723 * gdb.dwarf2/ada-linkage-name.exp: Use more suffix args for
1725 * gdb.dwarf2/ada-valprint-error.exp: Same.
1726 * gdb.dwarf2/arr-stride.exp: Same.
1727 * gdb.dwarf2/arr-subrange.exp: Same.
1728 * gdb.dwarf2/atomic-type.exp: Same.
1729 * gdb.dwarf2/bad-regnum.exp: Same.
1730 * gdb.dwarf2/break-inline-psymtab.exp: Same.
1731 * gdb.dwarf2/clang-debug-names-2.exp: Same.
1732 * gdb.dwarf2/clang-debug-names.exp: Same.
1733 * gdb.dwarf2/comp-unit-lang.exp: Same.
1734 * gdb.dwarf2/corrupt.exp: Same.
1735 * gdb.dwarf2/count.exp: Same.
1736 * gdb.dwarf2/cpp-linkage-name.exp: Same.
1737 * gdb.dwarf2/data-loc.exp: Same.
1738 * gdb.dwarf2/dw2-align.exp: Same.
1739 * gdb.dwarf2/dw2-bad-elf.exp: Same.
1740 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
1741 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
1742 * gdb.dwarf2/dw2-case-insensitive.exp: Same.
1743 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Same.
1744 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
1745 * gdb.dwarf2/dw2-inline-many-frames.exp: Same.
1746 * gdb.dwarf2/dw2-inline-param.exp: Same.
1747 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
1748 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
1749 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
1750 * gdb.dwarf2/dw2-is-stmt.exp: Same.
1751 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
1752 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
1753 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
1754 * gdb.dwarf2/dw2-param-error.exp: Same.
1755 * gdb.dwarf2/dw2-ranges-base.exp: Same.
1756 * gdb.dwarf2/dw2-ranges.exp: Same.
1757 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
1758 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
1759 * gdb.dwarf2/dw4-sig-types.exp: Same.
1760 * gdb.dwarf2/dynarr-ptr.exp: Same.
1761 * gdb.dwarf2/enum-type.exp: Same.
1762 * gdb.dwarf2/fission-mix.exp: Same.
1763 * gdb.dwarf2/formdata16.exp: Same.
1764 * gdb.dwarf2/implptrconst.exp: Same.
1765 * gdb.dwarf2/implptrpiece.exp: Same.
1766 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
1767 * gdb.dwarf2/main-subprogram.exp: Same.
1768 * gdb.dwarf2/method-ptr.exp: Same.
1769 * gdb.dwarf2/missing-sig-type.exp: Same.
1770 * gdb.dwarf2/nonvar-access.exp: Same.
1771 * gdb.dwarf2/opaque-type-lookup.exp: Same.
1772 * gdb.dwarf2/shortpiece.exp: Same.
1773 * gdb.dwarf2/staticvirtual.exp: Same.
1774 * gdb.dwarf2/subrange.exp: Same.
1775 * gdb.dwarf2/symtab-producer.exp: Same.
1776 * gdb.dwarf2/typedef-void-finish.exp: Same.
1777 * gdb.dwarf2/var-access.exp: Same.
1778 * gdb.dwarf2/variant.exp: Same.
1779 * gdb.dwarf2/void-type.exp: Same.
1780 * gdb.dwarf2/dw2-ranges-psym.exp: Same. Use main.c instead of
1782 * gdb.dwarf2/dw2-ranges-main.c: Remove.
1784 2020-10-16 Tom de Vries <tdevries@suse.de>
1786 * lib/gdb.exp (gdb_breakpoint): Remove mention of "passfail".
1788 2020-10-16 Tom de Vries <tdevries@suse.de>
1790 * lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple.
1792 2020-10-14 Tom de Vries <tdevries@suse.de>
1795 * gdb.ada/mi_catch_ex.exp: Do mi_delete_breakpoints before running
1797 * gdb.ada/mi_catch_ex_hand.exp: Same.
1799 2020-10-13 Pedro Alves <pedro@palves.net>
1801 * lib/mi-support.exp (mi_clean_restart): New.
1802 (mi_run_to_main): Delete.
1803 All callers adjust to use mi_clean_restart / mi_runto_main.
1805 2020-10-13 Pedro Alves <pedro@palves.net>
1807 * config/monitor.exp: Use "list -q".
1808 * gdb.arch/gdb1558.exp: Use "break -q".
1809 * gdb.arch/i386-permbkpt.exp: Use "break -q".
1810 * gdb.arch/i386-prologue-skip-cf-protection.exp: Use "break -q".
1811 * gdb.base/break.exp: Use "break -q", "list -q" and "tbreak -q".
1812 * gdb.base/commands.exp: Use "break -q".
1813 * gdb.base/condbreak.exp: Use "break -q".
1814 * gdb.base/ctf-ptype.exp: Use "list -q".
1815 * gdb.base/define.exp: Use "break -q".
1816 * gdb.base/del.exp: Use "break -q".
1817 * gdb.base/fullname.exp: Use "break -q".
1818 * gdb.base/hbreak-in-shr-unsupported.exp: Use "hbreak -q".
1819 * gdb.base/hbreak-unmapped.exp: Use "hbreak -q".
1820 * gdb.base/hbreak2.exp: Use "hbreak -q" and "list -q".
1821 * gdb.base/hw-sw-break-same-address.exp: Use "break -q" and
1823 * gdb.base/included.exp: Use "list -q".
1824 * gdb.base/label.exp: Use "break -q".
1825 * gdb.base/lineinc.exp: Use "break -q".
1826 * gdb.base/list.exp: Use "list -q".
1827 * gdb.base/macscp.exp: Use "list -q".
1828 * gdb.base/pending.exp: Use "break -q".
1829 * gdb.base/prologue-include.exp: Use "break -q".
1830 * gdb.base/ptype.exp: Use "list -q".
1831 * gdb.base/sepdebug.exp: Use "break -q", "list -q" and "tbreak -q".
1832 * gdb.base/server-del-break.exp: Use "break -q".
1833 * gdb.base/style.exp: Use "break -q".
1834 * gdb.base/symbol-without-target_section.exp: Use "list -q".
1835 * gdb.base/watchpoint-reuse-slot.exp: Use "hbreak -q".
1836 * gdb.cp/exception.exp: Use "tbreak -q".
1837 * gdb.dwarf2/dw2-error.exp: Use "break -q".
1838 * gdb.dwarf2/fission-mix.exp: Use "break -q".
1839 * gdb.dwarf2/fission-reread.exp: Use "break -q".
1840 * gdb.dwarf2/pr13961.exp: Use "break -q".
1841 * gdb.linespec/explicit.exp: Use "list -q".
1842 * gdb.linespec/linespec.exp: Use "break -q".
1843 * gdb.mi/mi-simplerun.exp: Use "--qualified".
1844 * gdb.python/py-mi-objfile-gdb.py: Use "list -q".
1845 * gdb.server/bkpt-other-inferior.exp: Use "break -q".
1846 * gdb.server/connect-without-multi-process.exp: Use "break -q".
1847 * gdb.trace/change-loc.exp: Use "break -q".
1848 * gdb.trace/pending.exp: Use "break -q".
1849 * gdb.tui/basic.exp: Use "list -q".
1850 * gdb.tui/list-before.exp: Use "list -q".
1851 * gdb.tui/list.exp: Use "list -q".
1852 * lib/gdb.exp (gdb_has_argv0): Use "break -q".
1854 2020-10-13 Pedro Alves <pedro@palves.net>
1856 * gdb.base/ui-redirect.exp: Expect "break -qualified main" in
1857 saved breakpoints file.
1858 * gdb.guile/scm-breakpoint.exp: Expect "-qualified main" when
1859 inspecting breakpoint list.
1860 * lib/gdb.exp (runto_main): Add "qualified" to options.
1861 * lib/mi-support.exp (mi_runto_helper): Add 'qualified' parameter,
1863 (mi_runto_main): Pass 1 as qualified argument.
1865 2020-10-13 Pedro Alves <pedro@palves.net>
1867 * lib/mi-support.exp (mi_runto_main): New proc.
1868 (mi_run_to_main): Use it.
1869 * gdb.mi/mi-catch-cpp-exceptions.exp: Likewise.
1870 * gdb.mi/mi-var-cmd.exp: Likewise.
1871 * gdb.mi/mi-var-invalidate.exp: Likewise.
1872 * mi-var-list-children-invalid-grandchild.exp: Likewise.
1873 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
1874 * gdb.mi/new-ui-mi-sync.exp: Likewise.
1875 * gdb.mi/user-selected-context-sync.exp: Likewise.
1876 * gdb.opt/inline-cmds.exp: Likewise.
1877 * gdb.python/py-framefilter-mi.exp: Likewise.
1878 * gdb.python/py-mi.exp: Likewise.
1880 2020-10-13 Pedro Alves <pedro@palves.net>
1882 * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of
1884 * gdb.ada/small_reg_param.exp: Likewise.
1885 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1886 * gdb.base/annota1.exp: Likewise.
1887 * gdb.base/anon.exp: Likewise.
1888 * gdb.base/breakpoint-in-ro-region.exp: Likewise.
1889 * gdb.base/dprintf-non-stop.exp: Likewise.
1890 * gdb.base/dprintf.exp: Likewise.
1891 * gdb.base/gdb11530.exp: Likewise.
1892 * gdb.base/gdb11531.exp: Likewise.
1893 * gdb.base/gnu_vector.exp: Likewise.
1894 * gdb.base/interrupt-noterm.exp: Likewise.
1895 * gdb.base/memattr.exp: Likewise.
1896 * gdb.base/step-over-syscall.exp: Likewise.
1897 * gdb.base/watch-cond-infcall.exp: Likewise.
1898 * gdb.base/watch-read.exp: Likewise.
1899 * gdb.base/watch-vfork.exp: Likewise.
1900 * gdb.base/watch_thread_num.exp: Likewise.
1901 * gdb.base/watchpoint-stops-at-right-insn.exp: Likewise.
1902 * gdb.guile/scm-frame-inline.exp: Likewise.
1903 * gdb.linespec/explicit.exp: Likewise.
1904 * gdb.opt/inline-break.exp: Likewise.
1905 * gdb.python/py-frame-inline.exp: Likewise.
1906 * gdb.reverse/break-precsave.exp: Likewise.
1907 * gdb.reverse/break-reverse.exp: Likewise.
1908 * gdb.reverse/consecutive-precsave.exp: Likewise.
1909 * gdb.reverse/consecutive-reverse.exp: Likewise.
1910 * gdb.reverse/finish-precsave.exp: Likewise.
1911 * gdb.reverse/finish-reverse.exp: Likewise.
1912 * gdb.reverse/fstatat-reverse.exp: Likewise.
1913 * gdb.reverse/getresuid-reverse.exp: Likewise.
1914 * gdb.reverse/i386-precsave.exp: Likewise.
1915 * gdb.reverse/i386-reverse.exp: Likewise.
1916 * gdb.reverse/i386-sse-reverse.exp: Likewise.
1917 * gdb.reverse/i387-env-reverse.exp: Likewise.
1918 * gdb.reverse/i387-stack-reverse.exp: Likewise.
1919 * gdb.reverse/insn-reverse.exp: Likewise.
1920 * gdb.reverse/machinestate-precsave.exp: Likewise.
1921 * gdb.reverse/machinestate.exp: Likewise.
1922 * gdb.reverse/pipe-reverse.exp: Likewise.
1923 * gdb.reverse/readv-reverse.exp: Likewise.
1924 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1925 * gdb.reverse/rerun-prec.exp: Likewise.
1926 * gdb.reverse/s390-mvcle.exp: Likewise.
1927 * gdb.reverse/solib-precsave.exp: Likewise.
1928 * gdb.reverse/solib-reverse.exp: Likewise.
1929 * gdb.reverse/step-precsave.exp: Likewise.
1930 * gdb.reverse/step-reverse.exp: Likewise.
1931 * gdb.reverse/time-reverse.exp: Likewise.
1932 * gdb.reverse/until-precsave.exp: Likewise.
1933 * gdb.reverse/until-reverse.exp: Likewise.
1934 * gdb.reverse/waitpid-reverse.exp: Likewise.
1935 * gdb.reverse/watch-precsave.exp: Likewise.
1936 * gdb.reverse/watch-reverse.exp: Likewise.
1937 * gdb.threads/kill.exp: Likewise.
1938 * gdb.threads/tid-reuse.exp: Likewise.
1940 2020-10-13 Simon Marchi <simon.marchi@polymtl.ca>
1943 * gdb.base/maint-target-async-off.c: New test.
1944 * gdb.base/maint-target-async-off.exp: New test.
1946 2020-10-13 Alan Modra <amodra@gmail.com>
1948 * gdb.arch/powerpc-altivec.s,
1949 * gdb.arch/powerpc-power7.s,
1950 * gdb.arch/powerpc-power8.s,
1951 * gdb.arch/powerpc-power9.s,
1952 * gdb.arch/powerpc-vsx.s,
1953 * gdb.arch/powerpc-vsx2.s: Remove duplicate instructions.
1954 * gdb.arch/powerpc-altivec.exp,
1955 * gdb.arch/powerpc-power7.exp,
1956 * gdb.arch/powerpc-power8.exp,
1957 * gdb.arch/powerpc-power9.exp,
1958 * gdb.arch/powerpc-vsx.exp,
1959 * gdb.arch/powerpc-vsx2.exp: Likewise, and update expected
1960 disassembly of mfvsrd/mtvsrd.
1962 2020-10-13 Alan Modra <amodra@gmail.com>
1964 * gdb.arch/arm-disassembler-options.exp: Adjust expected
1965 "target architecture" output.
1966 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1967 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
1968 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
1969 * gdb.arch/s390-disassembler-options.exp: Likewise.
1971 2020-10-12 Pedro Alves <pedro@palves.net>
1975 * gdb.cp/ambiguous.cc (marker1): Delete.
1976 (main): Initialize all the fields of the locals. Replace marker1
1977 call with a "set breakpoint here" marker.
1978 * gdb.cp/ambiguous.exp: Modernize. Use gdb_continue_to_breakpoint
1979 instead of running to marker1. Add tests printing all the
1980 variables and all the fields of the variables.
1981 (test_ambiguous): New proc, expecting the new GDB output when a
1982 field access is ambiguous. Change all "warning: X ambiguous"
1985 2020-10-12 Gary Benson <gbenson@redhat.com>
1987 * gdb.base/msym-bp.c (foo): Add __attribute__ ((used)).
1988 * gdb.base/msym-bp-2.c (foo): Likewise.
1989 * gdb.base/msym-lang.c (foo): Likewise.
1990 * gdb.base/msym-lang-main.c (foo): Likewise.
1991 * gdb.base/symtab-search-order-1.c (static_global): Likewise.
1992 * gdb.guile/scm-pretty-print.c (eval_func): Likewise.
1993 * gdb.mi/mi-sym-info-1.c (global_f1): Likewise.
1994 * gdb.mi/mi-sym-info-2.c (global_f1, var1, var2): Likewise.
1995 * gdb.multi/watchpoint-multi-exit.c (globalvar): Likewise.
1996 * gdb.python/py-as-string.c (enum_valid, enum_invalid): Likewise.
1997 * gdb.python/py-objfile.c (static_var): Likewise.
1998 * gdb.python/py-symbol.c (rr): Likewise.
1999 * gdb.python/py-symbol-2.c (anon, rr): Likewise.
2000 * gdb.mi/mi-sym-info.exp (lineno1, lineno2): Updated.
2002 2020-10-11 Andrew Burgess <andrew.burgess@embecosm.com>
2004 * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected
2005 output of backtrace.
2007 2020-10-09 Tom Tromey <tromey@adacore.com>
2009 * gdb.ada/scalar_storage/storage.adb (Another_Range): New type.
2010 (Rec): Add field. Fix range.
2011 * gdb.ada/scalar_storage.exp: Update.
2013 2020-10-09 Hannes Domani <ssbssa@yahoo.de>
2016 * gdb.base/printcmds.exp: Add tests for void results.
2018 2020-10-09 Jan Vrany <jan.vrany@labware.com>
2020 * gdb.mi/mi-cmd-param-changed.exp: Check that notification is
2021 is emmited for both 'set directories' and 'directory' commands.
2023 2020-10-08 Tom Tromey <tom@tromey.com>
2025 * gdb.base/style.exp: Check that "main"'s name is styled.
2027 2020-10-07 Tom Tromey <tromey@adacore.com>
2029 * gdb.base/find.exp: Rename some tests.
2031 2020-10-06 Gary Benson <gbenson@redhat.com>
2033 * gdb.base/list0.c (unused): Add __attribute__ ((used)).
2034 * gdb.base/list1.c (unused): Likewise.
2036 2020-10-06 Gary Benson <gbenson@redhat.com>
2038 * gdb.base/list-ambiguous0.c (ambiguous_var): Add
2039 __attribute__ ((used)).
2040 * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise.
2042 2020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
2044 * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions,
2045 make use of regions throughout.
2046 * gdb.base/overlays.exp: Enclose string with variableds in "..",
2048 * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
2050 2020-10-05 Hannes Domani <ssbssa@yahoo.de>
2052 * gdb.base/call-sc.c: Fix return struct on stack test case.
2053 * gdb.base/call-sc.exp: Likewise.
2055 2020-10-02 Gary Benson <gbenson@redhat.com>
2057 * README: Fix "paralell".
2059 2020-09-30 Gary Benson <gbenson@redhat.com>
2061 * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0):
2062 Convert directive to lowercase.
2063 (.Labbrev1_begin): Add missing label.
2064 (abbrev code 0x1): Remove DW_AT_stmt_list.
2065 (.Ldie_b): Likewise.
2067 2020-09-27 Tom Tromey <tom@tromey.com>
2069 * gdb.tui/new-layout.exp: Use with_test_prefix.
2071 2020-09-26 Gareth Rees <grees@undo.io> (tiny change)
2074 * gdb.python/python.exp: add test cases for the from_tty
2075 argument to gdb.execute.
2077 2020-09-25 Gary Benson <gbenson@redhat.com>
2079 * gdb.base/infcall-nested-structs.exp.tcl: Add
2080 additional_flags=-Wno-tautological-compare for C++
2081 tests when compiling using Clang.
2083 2020-09-25 Gary Benson <gbenson@redhat.com>
2085 * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only
2088 2020-09-24 Tom Tromey <tromey@adacore.com>
2091 * gdb.tui/list.exp: Check output of "focus next".
2093 2020-09-23 Tom Tromey <tom@tromey.com>
2095 * gdb.dwarf2/intbits.exp: New file.
2096 * gdb.dwarf2/intbits.c: New file.
2098 2020-09-20 Pedro Alves <pedro@palves.net>
2100 * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main
2101 spawn_id before calling remote_close. Close secondary MI channel.
2103 2020-09-20 Pedro Alves <pedro@palves.net>
2105 * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]'
2108 2020-09-19 Andrew Burgess <andrew.burgess@embecosm.com>
2110 * gdb.fortran/array-slices.exp: Update expected results.
2111 * gdb.fortran/class-allocatable-array.exp: Likewise.
2112 * gdb.fortran/multi-dim.exp: Likewise.
2113 * gdb.fortran/vla-type.exp: Likewise.
2114 * gdb.mi/mi-vla-fortran.exp: Likewise.
2116 2020-09-18 Victor Collod <vcollod@nvidia.com>
2119 * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test
2120 compatible with i386, and move it to...
2121 * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here.
2122 * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to...
2123 * gdb.arch/i386-prologue-skip-cf-protection.c: ... here.
2125 2020-09-18 Pedro Alves <pedro@palves.net>
2128 * gdb.multi/multi-target-thread-find.exp: New file.
2130 2020-09-18 Pedro Alves <pedro@palves.net>
2132 * gdb.multi/multi-target-continue.exp: New file, factored out from
2134 * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
2136 * gdb.multi/multi-target-interrupt.exp: New file, factored out from
2138 * gdb.multi/multi-target-no-resumed.exp: New file, factored out from
2140 * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
2142 * gdb.multi/multi-target.exp.tcl: New file, factored out from
2144 * gdb.multi/multi-target.exp: Delete.
2146 2020-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
2148 * gdb.fortran/array-slices.exp: Add missing message data.
2150 2020-09-17 Pedro Alves <pedro@palves.net>
2152 * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
2154 2020-09-17 Pedro Alves <pedro@palves.net>
2156 * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
2159 2020-09-17 Pedro Alves <pedro@palves.net>
2161 * gdb.python/py-as-string.c: Add cast.
2163 2020-09-17 Pedro Alves <pedro@palves.net>
2165 * gdb.base/sizeof.c (fill): Add cast.
2167 2020-09-17 Pedro Alves <pedro@palves.net>
2169 * gdb.base/share-env-with-gdbserver.c (main): Add cast.
2171 2020-09-17 Pedro Alves <pedro@palves.net>
2173 * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
2175 * gdb.base/prologue.exp: Use print /d.
2176 * gdb.base/symbol-alias.exp: Handle C++ output.
2177 * gdb.base/symbol-alias2.c: Handle C++ output.
2178 [__cplusplus] (func): Explicitly specify linkage name.
2180 2020-09-17 Pedro Alves <pedro@palves.net>
2182 * gdb.python/py-nested-maps.c (struct key_t): Rename to...
2183 (struct my_key_t): ... this. Adjust all references.
2184 (struct value_t): Rename to ...
2185 (struct my_value_t): ... this. Adjust all references.
2186 (create_map, add_map_element, create_map_map)
2187 (add_map_map_element): Add casts.
2189 2020-09-17 Pedro Alves <pedro@palves.net>
2191 * gdb.python/py-framefilter-mi.c (funca): Add casts.
2192 * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
2194 2020-09-17 Pedro Alves <pedro@palves.net>
2196 * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
2198 2020-09-17 Pedro Alves <pedro@palves.net>
2200 * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
2201 * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
2202 (charfoo, intfoo): Define full prototype.
2203 * gdb.base/ptype1.c (charfoo): Define full prototype.
2204 * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
2205 * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
2207 2020-09-17 Pedro Alves <pedro@palves.net>
2209 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
2211 (utf_32_string): Compile for both C and C++.
2212 * gdb.base/charset.exp: Use "print /d".
2214 2020-09-17 Pedro Alves <pedro@palves.net>
2216 * gdb.base/watchpoint.c (buf): Make it 31 bytes.
2217 (nullptr): Rename to ...
2218 (null_ptr): ... this.
2219 * gdb.base/watchpoint.exp: Adjust to rename.
2221 2020-09-17 Pedro Alves <pedro@palves.net>
2223 * gdb.base/printcmds.c (three, flag_enum_without_zero)
2224 (three_not_flag): Add casts.
2226 2020-09-17 Pedro Alves <pedro@palves.net>
2228 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
2230 (main): Add references to Barrier, TestStrings, TestStringsH and
2232 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
2233 and expect a full prototype in C++.
2235 2020-09-17 Pedro Alves <pedro@palves.net>
2237 * gdb.base/nested-addr.c (main): Add cast.
2238 * gdb.base/nested-addr.exp: Use "print /d".
2240 2020-09-17 Pedro Alves <pedro@palves.net>
2242 * gdb.base/break.exp (func): New. Use it throughout when
2243 expecting a function name.
2245 2020-09-17 Pedro Alves <pedro@palves.net>
2247 * gdb.base/display.exp: Issue "set print asm-demangle on".
2249 2020-09-17 Pedro Alves <pedro@palves.net>
2251 * gdb.base/find.c: Include <string.h>.
2252 (init_bufs): Add cast.
2253 * gdb.base/find.exp: Issue "set print asm-demangle on".
2255 2020-09-16 Tom Tromey <tromey@adacore.com>
2258 * gdb.base/skipcxx.exp: New file.
2259 * gdb.base/skipcxx.cc: New file.
2261 2020-09-16 Tom de Vries <tdevries@suse.de>
2264 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
2265 WITH_DEBUG_SECTIONS is defined.
2266 (xstr, str): New macro.
2267 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
2268 to get start and size of _Dmain.
2269 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
2270 using additional_flags.
2272 2020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2274 * gdb.base/bp-cmds-sourced-script.c: New file.
2275 * gdb.base/bp-cmds-sourced-script.exp: New test.
2276 * gdb.base/bp-cmds-sourced-script.gdb: New file.
2278 2020-09-16 Tom de Vries <tdevries@suse.de>
2280 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
2281 get the gdb prompt after issuing "monitor exit".
2283 2020-09-16 Tom de Vries <tdevries@suse.de>
2286 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
2288 2020-09-16 Tom de Vries <tdevries@suse.de>
2291 * gdb.tui/new-layout.exp: Escape unbalanced braces.
2293 2020-09-15 Tom Tromey <tromey@adacore.com>
2296 * lib/rust-support.exp (rust_llvm_version): New proc.
2297 * gdb.rust/simple.exp: Check rust_llvm_version.
2299 2020-09-14 Tom de Vries <tdevries@suse.de>
2301 * gdb.rust/traits.exp: Fix PATH warning.
2303 2020-09-13 Pedro Alves <pedro@palves.net>
2305 * gdb.base/catch-follow-exec.c (main): Add explicit return
2307 * gdb.base/catch-signal.c (main): Likewise.
2308 * gdb.base/condbreak-call-false.c (main): Likewise.
2309 * gdb.base/consecutive.c (main): Add explicit return
2310 statement and return type.
2311 * gdb.base/cursal.c (main): Add explicit return statement.
2312 * gdb.base/cvexpr.c (main): Likewise.
2313 * gdb.base/display.c (main): Add explicit return statement and
2315 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
2316 * gdb.base/endianity.c (main): Likewise.
2317 * gdb.base/execd-prog.c (main): Likewise.
2318 * gdb.base/gdb1090.c (main): Likewise.
2319 * gdb.base/info_qt.c (main): Likewise.
2320 * gdb.base/lineinc.c (main): Likewise.
2321 * gdb.base/load-command.c (main): Likewise.
2322 * gdb.base/macscp1.c (main): Likewise.
2323 * gdb.base/pr10179-a.c (main): Likewise.
2324 * gdb.base/quit-live.c (main): Likewise.
2325 * gdb.base/scope0.c (main): Likewise.
2326 * gdb.base/settings.c (main): Likewise.
2327 * gdb.base/stack-checking.c (main): Return int.
2328 * gdb.base/varargs.c (main): Add explicit return statement.
2329 * gdb.cp/ambiguous.cc (main): Likewise.
2330 * gdb.cp/anon-struct.cc (main): Likewise.
2331 * gdb.cp/anon-union.cc (main): Likewise.
2332 * gdb.cp/bool.cc (main): Likewise.
2333 * gdb.cp/bs15503.cc (main): Likewise.
2334 * gdb.cp/cplusfuncs.cc (main): Likewise.
2335 * gdb.cp/cttiadd.cc (main): Likewise.
2336 * gdb.cp/extern-c.cc (main): Likewise.
2337 * gdb.cp/filename.cc (main): Likewise.
2338 * gdb.cp/formatted-ref.cc (main): Likewise.
2339 * gdb.cp/mb-ctor.cc (main): Likewise.
2340 * gdb.cp/member-ptr.cc (main): Likewise.
2341 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
2342 * gdb.cp/overload-const.cc (main): Likewise.
2343 * gdb.cp/paren-type.cc (main): Likewise.
2344 * gdb.cp/parse-lang.cc (main): Likewise.
2345 * gdb.cp/pr-1023.cc (main): Likewise.
2346 * gdb.cp/psmang1.cc (main): Likewise.
2347 * gdb.cp/readnow-language.cc (main): Likewise.
2348 * gdb.cp/ref-params.cc (main): Likewise.
2349 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
2350 * gdb.cp/virtbase2.cc (main): Likewise.
2351 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
2352 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
2353 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
2354 * gdb.mi/mi-console.c (main): Likewise.
2355 * gdb.mi/mi-read-memory.c (main): Likewise.
2356 * gdb.modula2/multidim.c (main): Likewise.
2357 * gdb.opt/inline-small-func.c (main): Likewise.
2358 * gdb.python/py-rbreak.c (main): Likewise.
2359 * gdb.stabs/exclfwd1.c (main): Likewise.
2360 * gdb.trace/qtro.c (main): Likewise.
2362 2020-09-13 Pedro Alves <pedro@palves.net>
2364 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
2367 2020-09-13 Pedro Alves <pedro@palves.net>
2369 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
2370 instead of spawning GDB with remote_spawn.
2371 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
2372 gdb_spawn instead of spawning GDB with remote_spawn.
2374 2020-09-13 Pedro Alves <pedro@palves.net>
2376 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
2377 file and add calls to first and second.
2378 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
2381 2020-09-13 Pedro Alves <pedro@palves.net>
2383 * gdb.mi/mi-break-qualified.cc: New file.
2384 * gdb.mi/mi-break-qualified.exp: New file.
2385 * lib/mi-support.exp (mi_create_breakpoint_multi)
2386 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
2388 (mi_create_breakpoint_1): New, factored out from
2389 mi_create_breakpoint.
2391 2020-09-13 Pedro Alves <pedro@palves.net>
2393 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
2394 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
2395 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
2396 (register_class): Delete.
2397 (main): Don't call register_class.
2399 2020-09-13 Pedro Alves <pedro@palves.net>
2401 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
2402 (do_tests): Remove "calling method for small class" test.
2403 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
2404 (register_class): Delete.
2405 (main): Don't call register_class.
2406 * gdb.cp/call-method-register.exp: New file, based on bits removed
2408 * gdb.cp/call-method-register.cc: New file, based on bits removed
2411 2020-09-13 Pedro Alves <pedro@palves.net>
2413 * gdb.base/msym-bp-2.c: New.
2414 * gdb.base/msym-bp-shl-lib.c: New file.
2415 * gdb.base/msym-bp-shl-main-2.c: New file.
2416 * gdb.base/msym-bp-shl-main.c: New file.
2417 * gdb.base/msym-bp-shl.exp: New file.
2418 * gdb.base/msym-bp.c: New file.
2419 * gdb.base/msym-bp.exp: New file.
2421 2020-09-13 Joel Brobecker <brobecker@adacore.com>
2423 * gdb.base/default.exp: Change $_gdb_major to 11.
2425 2020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
2426 Felix Willgerodt <Felix.Willgerodt@intel.com>
2428 * x86-avx512bf16.c: New file.
2429 * x86-avx512bf16.exp: Likewise.
2430 * lib/gdb.exp (skip_avx512bf16_tests): New function.
2432 2020-09-11 Tom de Vries <tdevries@suse.de>
2435 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
2437 2020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2439 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
2441 2020-09-10 Alan Modra <amodra@gmail.com>
2444 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
2446 2020-09-08 Tom de Vries <tdevries@suse.de>
2448 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
2449 after gdb_starti_cmd.
2451 2020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2453 * lib/fortran.exp (fortran_complex8): New proc.
2454 (fortran_complex16): New proc.
2455 * gdb.fortran/complex.exp: Use routines from fortran.exp
2456 * gdb.fortran/pointer-to-pointer.exp: Likewise.
2457 * gdb.fortran/vla-ptr-info.exp: Likewise.
2459 2020-09-03 Tom de Vries <tdevries@suse.de>
2462 * gdb.base/label-without-address.exp: Runto main first.
2464 2020-09-02 Tom Tromey <tromey@adacore.com>
2466 * gdb.ada/mi_var_access.exp: Test children of access variable.
2467 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
2468 * gdb.ada/mi_var_array.exp: Update.
2470 2020-08-31 Kevin Buettner <kevinb@redhat.com>
2472 * gdb.base/corefile.exp (warning-free): XFAIL test when running
2473 on docker w/ AUFS storage driver.
2475 2020-08-31 Kevin Buettner <kevinb@redhat.com>
2477 * gdb.base/corefile2.exp (renamed binfile): New tests.
2479 2020-08-31 Simon Marchi <simon.marchi@efficios.com>
2481 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
2483 2020-08-31 Simon Marchi <simon.marchi@efficios.com>
2485 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
2486 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
2488 2020-08-31 Simon Marchi <simon.marchi@efficios.com>
2490 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
2491 output, printing a "not saved" value from history and printing a
2492 convenience variable created from a "not saved" value.
2494 2020-08-31 Tom de Vries <tdevries@suse.de>
2496 * gdb.base/eh_return.exp: Use nopie.
2498 2020-08-28 Pedro Alves <pedro@palves.net>
2500 * gdb.base/advance-until-multiple-locations.exp
2501 (advance_overload, until_overload): Adjust to match the
2502 frame/function header instead of the source line text.
2504 2020-08-28 Tom de Vries <tdevries@suse.de>
2506 * gdb.base/label-without-address.c: New test.
2507 * gdb.base/label-without-address.exp: New file.
2509 2020-08-27 Pedro Alves <pedro@palves.net>
2513 * gdb.base/advance-until-multiple-locations.cc: New.
2514 * gdb.base/advance-until-multiple-locations.exp: New.
2516 2020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
2518 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
2520 2020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
2522 * gdb.arch/amd64-byte.exp: Make test names unique, use
2523 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
2524 * gdb.arch/amd64-dword.exp: Likewise.
2525 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
2526 * gdb.arch/amd64-stap-special-operands.exp: Make test names
2528 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
2529 * gdb.arch/amd64-word.exp: Make test names unique, use
2530 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
2531 * gdb.arch/i386-byte.exp: Make test names unique, use
2533 * gdb.arch/i386-word.exp: Likewise.
2535 2020-08-25 Shahab Vahedi <shahab@synopsys.com>
2537 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
2539 2020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
2542 * gdb.threads/stepi-random-signal.exp: Update pattern.
2544 2020-08-25 Simon Marchi <simon.marchi@efficios.com>
2547 * gdb.base/ui-redirect.exp: Update pattern.
2549 2020-08-25 Gary Benson <gbenson@redhat.com>
2551 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
2552 when compiling with clang.
2553 * gdb.dwarf2/dw2-restore.exp: Likewise.
2555 2020-08-25 Gary Benson <gbenson@redhat.com>
2557 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
2558 Add additional_flags=-Wno-inaccessible-base when compiling
2559 with GCC >= 10.1 or clang. Add additional_flags=-w when
2560 compiling with GCC < 10.
2562 2020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
2565 * gdb.modula2/multidim.c: New file.
2566 * gdb.modula2/multidim.exp: New file.
2568 2020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
2570 * lib/gdb.exp (runto): Always emit fail on internal error.
2572 2020-08-24 Simon Marchi <simon.marchi@efficios.com>
2574 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
2575 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2577 * gdb.threads/stepi-random-signal.exp: Likewise.
2579 2020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2581 * gdb.base/print-file-var.exp: Fix typo "breapoint".
2582 * gdb.trace/strace.exp: Ditto.
2584 2020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2586 * gdb.fortran/vla-type.exp: Skip commands not required for
2587 the Flang compiled binaries after prologue fix.
2589 2020-08-17 Tom de Vries <tdevries@suse.de>
2590 Tom Tromey <tromey@adacore.com>
2593 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
2595 2020-08-17 Tom Tromey <tromey@adacore.com>
2597 * gdb.ada/mi_var_access.exp: New file.
2598 * gdb.ada/mi_var_access/mi_access.adb: New file.
2599 * gdb.ada/mi_var_access/pck.adb: New file.
2600 * gdb.ada/mi_var_access/pck.ads: New file.
2602 2020-08-16 Tom de Vries <tdevries@suse.de>
2605 * gdb.base/eh_return.c: New test.
2606 * gdb.base/eh_return.exp: New file.
2608 2020-08-15 Tom de Vries <tdevries@suse.de>
2610 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
2611 (mixed_func_1d_): Use fortran_charlen_t in decl.
2613 2020-08-15 Tom de Vries <tdevries@suse.de>
2616 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
2617 Update expected pattern.
2619 2020-08-13 Pedro Alves <pedro@palves.net>
2621 * gdb.fortran/complex.exp: Check skip_fortran_tests.
2622 * gdb.fortran/library-module.exp: Likewise.
2623 * gdb.fortran/logical.exp: Likewise.
2624 * gdb.fortran/module.exp: Likewise.
2625 * gdb.fortran/print_type.exp: Likewise.
2626 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
2627 * gdb.fortran/vla-datatypes.exp: Likewise.
2628 * gdb.fortran/vla-history.exp: Likewise.
2629 * gdb.fortran/vla-ptr-info.exp: Likewise.
2630 * gdb.fortran/vla-ptype-sub.exp: Likewise.
2631 * gdb.fortran/vla-ptype.exp: Likewise.
2632 * gdb.fortran/vla-sizeof.exp: Likewise.
2633 * gdb.fortran/vla-type.exp: Likewise.
2634 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
2635 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
2636 * gdb.fortran/vla-value-sub.exp: Likewise.
2637 * gdb.fortran/vla-value.exp: Likewise.
2639 2020-08-13 Pedro Alves <pedro@palves.net>
2641 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
2642 * gdb.ada/access_to_packed_array.exp: Likewise.
2643 * gdb.ada/access_to_unbounded_array.exp: Likewise.
2644 * gdb.ada/addr_arith.exp: Likewise.
2645 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
2646 * gdb.ada/arr_arr.exp: Likewise.
2647 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
2648 * gdb.ada/array_bounds.exp: Likewise.
2649 * gdb.ada/array_of_variable_length.exp: Likewise.
2650 * gdb.ada/array_ptr_renaming.exp: Likewise.
2651 * gdb.ada/array_subscript_addr.exp: Likewise.
2652 * gdb.ada/arraydim.exp: Likewise.
2653 * gdb.ada/arrayparam.exp: Likewise.
2654 * gdb.ada/arrayptr.exp: Likewise.
2655 * gdb.ada/assign_1.exp: Likewise.
2656 * gdb.ada/assign_arr.exp: Likewise.
2657 * gdb.ada/atomic_enum.exp: Likewise.
2658 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
2659 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
2660 * gdb.ada/bias.exp: Likewise.
2661 * gdb.ada/boolean_expr.exp: Likewise.
2662 * gdb.ada/bp_c_mixed_case.exp: Likewise.
2663 * gdb.ada/bp_enum_homonym.exp: Likewise.
2664 * gdb.ada/bp_inlined_func.exp: Likewise.
2665 * gdb.ada/bp_on_var.exp: Likewise.
2666 * gdb.ada/bp_range_type.exp: Likewise.
2667 * gdb.ada/bp_reset.exp: Likewise.
2668 * gdb.ada/call_pn.exp: Likewise.
2669 * gdb.ada/catch_assert_if.exp: Likewise.
2670 * gdb.ada/catch_ex.exp: Likewise.
2671 * gdb.ada/catch_ex_std.exp: Likewise.
2672 * gdb.ada/char_enum.exp: Likewise.
2673 * gdb.ada/char_param.exp: Likewise.
2674 * gdb.ada/complete.exp: Likewise.
2675 * gdb.ada/cond_lang.exp: Likewise.
2676 * gdb.ada/convvar_comp.exp: Likewise.
2677 * gdb.ada/dgopt.exp: Likewise.
2678 * gdb.ada/disc_arr_bound.exp: Likewise.
2679 * gdb.ada/display_nested.exp: Likewise.
2680 * gdb.ada/dot_all.exp: Likewise.
2681 * gdb.ada/dyn_loc.exp: Likewise.
2682 * gdb.ada/dyn_stride.exp: Likewise.
2683 * gdb.ada/excep_handle.exp: Likewise.
2684 * gdb.ada/expr_delims.exp: Likewise.
2685 * gdb.ada/expr_with_funcall.exp: Likewise.
2686 * gdb.ada/exprs.exp: Likewise.
2687 * gdb.ada/fin_fun_out.exp: Likewise.
2688 * gdb.ada/fixed_cmp.exp: Likewise.
2689 * gdb.ada/formatted_ref.exp: Likewise.
2690 * gdb.ada/frame_arg_lang.exp: Likewise.
2691 * gdb.ada/frame_args.exp: Likewise.
2692 * gdb.ada/fullname_bp.exp: Likewise.
2693 * gdb.ada/fun_addr.exp: Likewise.
2694 * gdb.ada/fun_in_declare.exp: Likewise.
2695 * gdb.ada/fun_overload_menu.exp: Likewise.
2696 * gdb.ada/fun_renaming.exp: Likewise.
2697 * gdb.ada/funcall_char.exp: Likewise.
2698 * gdb.ada/funcall_param.exp: Likewise.
2699 * gdb.ada/funcall_ptr.exp: Likewise.
2700 * gdb.ada/funcall_ref.exp: Likewise.
2701 * gdb.ada/homonym.exp: Likewise.
2702 * gdb.ada/info_addr_mixed_case.exp: Likewise.
2703 * gdb.ada/info_auto_lang.exp: Likewise.
2704 * gdb.ada/info_exc.exp: Likewise.
2705 * gdb.ada/info_types.exp: Likewise.
2706 * gdb.ada/int_deref.exp: Likewise.
2707 * gdb.ada/interface.exp: Likewise.
2708 * gdb.ada/iwide.exp: Likewise.
2709 * gdb.ada/lang_switch.exp: Likewise.
2710 * gdb.ada/length_cond.exp: Likewise.
2711 * gdb.ada/maint_with_ada.exp: Likewise.
2712 * gdb.ada/mi_catch_assert.exp: Likewise.
2713 * gdb.ada/mi_catch_ex.exp: Likewise.
2714 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
2715 * gdb.ada/mi_dyn_arr.exp: Likewise.
2716 * gdb.ada/mi_ex_cond.exp: Likewise.
2717 * gdb.ada/mi_exc_info.exp: Likewise.
2718 * gdb.ada/mi_interface.exp: Likewise.
2719 * gdb.ada/mi_prot.exp: Likewise.
2720 * gdb.ada/mi_ref_changeable.exp: Likewise.
2721 * gdb.ada/mi_string_access.exp: Likewise.
2722 * gdb.ada/mi_task_arg.exp: Likewise.
2723 * gdb.ada/mi_task_info.exp: Likewise.
2724 * gdb.ada/mi_var_array.exp: Likewise.
2725 * gdb.ada/mi_var_union.exp: Likewise.
2726 * gdb.ada/mi_variant.exp: Likewise.
2727 * gdb.ada/minsyms.exp: Likewise.
2728 * gdb.ada/mod_from_name.exp: Likewise.
2729 * gdb.ada/nested.exp: Likewise.
2730 * gdb.ada/null_array.exp: Likewise.
2731 * gdb.ada/optim_drec.exp: Likewise.
2732 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
2733 * gdb.ada/packed_array_assign.exp: Likewise.
2734 * gdb.ada/packed_tagged.exp: Likewise.
2735 * gdb.ada/pp-rec-component.exp: Likewise.
2736 * gdb.ada/print_chars.exp: Likewise.
2737 * gdb.ada/print_pc.exp: Likewise.
2738 * gdb.ada/ptr_typedef.exp: Likewise.
2739 * gdb.ada/ptype_arith_binop.exp: Likewise.
2740 * gdb.ada/ptype_array.exp: Likewise.
2741 * gdb.ada/ptype_field.exp: Likewise.
2742 * gdb.ada/ptype_tagged_param.exp: Likewise.
2743 * gdb.ada/ptype_union.exp: Likewise.
2744 * gdb.ada/py_range.exp: Likewise.
2745 * gdb.ada/py_taft.exp: Likewise.
2746 * gdb.ada/rdv_wait.exp: Likewise.
2747 * gdb.ada/rec_comp.exp: Likewise.
2748 * gdb.ada/rec_return.exp: Likewise.
2749 * gdb.ada/ref_param.exp: Likewise.
2750 * gdb.ada/ref_tick_size.exp: Likewise.
2751 * gdb.ada/rename_subscript_param.exp: Likewise.
2752 * gdb.ada/repeat_dyn.exp: Likewise.
2753 * gdb.ada/same_component_name.exp: Likewise.
2754 * gdb.ada/same_enum.exp: Likewise.
2755 * gdb.ada/scalar_storage.exp: Likewise.
2756 * gdb.ada/set_wstr.exp: Likewise.
2757 * gdb.ada/small_reg_param.exp: Likewise.
2758 * gdb.ada/str_binop_equal.exp: Likewise.
2759 * gdb.ada/str_ref_cmp.exp: Likewise.
2760 * gdb.ada/str_uninit.exp: Likewise.
2761 * gdb.ada/sub_variant.exp: Likewise.
2762 * gdb.ada/sym_print_name.exp: Likewise.
2763 * gdb.ada/taft_type.exp: Likewise.
2764 * gdb.ada/tagged.exp: Likewise.
2765 * gdb.ada/tagged_access.exp: Likewise.
2766 * gdb.ada/task_bp.exp: Likewise.
2767 * gdb.ada/task_switch_in_core.exp: Likewise.
2768 * gdb.ada/tasks.exp: Likewise.
2769 * gdb.ada/tick_last_segv.exp: Likewise.
2770 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
2771 * gdb.ada/type_coercion.exp: Likewise.
2772 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
2773 * gdb.ada/unchecked_union.exp: Likewise.
2774 * gdb.ada/uninitialized_vars.exp: Likewise.
2775 * gdb.ada/var_arr_attrs.exp: Likewise.
2776 * gdb.ada/var_arr_typedef.exp: Likewise.
2777 * gdb.ada/var_rec_arr.exp: Likewise.
2778 * gdb.ada/variant-record.exp: Likewise.
2779 * gdb.ada/variant.exp: Likewise.
2780 * gdb.ada/variant_record_packed_array.exp: Likewise.
2781 * gdb.ada/varsize_limit.exp: Likewise.
2782 * gdb.ada/whatis_array_val.exp: Likewise.
2783 * gdb.ada/widewide.exp: Likewise.
2784 * gdb.ada/win_fu_syms.exp: Likewise.
2786 2020-08-12 Gary Benson <gbenson@redhat.com>
2788 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
2790 2020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
2792 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
2793 unset the array variable.
2795 2020-08-03 Tom de Vries <tdevries@suse.de>
2798 * lib/dwarf.exp (DW_LNE_user): New proc.
2799 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
2800 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
2802 2020-07-31 Kevin Buettner <kevinb@redhat.com>
2804 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
2806 (inttypes.h): Include.
2808 2020-07-31 Kevin Buettner <kevinb@redhat.com>
2810 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
2812 (C5_8k, C5_64k, C5_256k): New macros.
2813 (buf_ro): Allocate 256 KiB of initialized data.
2815 2020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2817 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
2818 that attempt to overwrite an existing condition with a condition
2819 that fails parsing and also with a condition that parses fine
2820 but contains junk at the end.
2822 2020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2824 * gdb.base/condbreak-bad.c: New test.
2825 * gdb.base/condbreak-bad.exp: New file.
2827 2020-07-30 Tom de Vries <tdevries@suse.de>
2829 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
2831 (GDBInfoModuleSymbols::check_entry): ... here.
2832 (GDBInfoModuleSymbols::check_optional_entry): New proc.
2833 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
2834 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
2836 2020-07-30 Tom de Vries <tdevries@suse.de>
2838 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
2839 "__class_some_module_Number_t" optional.
2841 2020-07-29 Tom de Vries <tdevries@suse.de>
2843 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
2846 2020-07-29 Tom de Vries <tdevries@suse.de>
2848 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
2849 rather than function name.
2851 2020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2854 * gdb.cp/disasm-func-name.cc: New file.
2855 * gdb.cp/disasm-func-name.exp: New file.
2857 2020-07-28 Tom Tromey <tromey@adacore.com>
2859 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
2862 2020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2864 * gdb.python/py-unwind.py: Update to make use of a register
2867 2020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2869 * gdb.python/py-arch-reg-names.exp: Add additional tests.
2871 2020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
2875 * gdb.fortran/class-allocatable-array.exp: New file.
2876 * gdb.fortran/class-allocatable-array.f90: New file.
2877 * gdb.fortran/pointer-to-pointer.exp: New file.
2878 * gdb.fortran/pointer-to-pointer.f90: New file.
2880 2020-07-25 Tom de Vries <tdevries@suse.de>
2883 * gdb.dwarf2/dw2-line-number-zero.c: New test.
2884 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
2886 2020-07-24 Tom de Vries <tdevries@suse.de>
2889 * gdb.ada/mi_prot.exp: Require gnatmake-8.
2891 2020-07-23 Pedro Alves <pedro@palves.net>
2893 * gdb.server/server-kill.exp (prepare): New, factored out from the
2896 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
2897 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
2899 2020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
2901 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
2903 2020-07-22 Sandra Loosemore <sandra@codesourcery.com>
2905 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
2906 Initialize to empty string at top level.
2907 (gdb_wrapper_init): Revert check for file existence on build.
2908 Build the wrapper in its default place, not a build-specific
2909 location. When host == build, make the pathname absolute.
2910 (gdb_compile): Delete leftover declaration of
2911 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
2912 string instead of uninitialized.
2914 2020-07-22 Kevin Buettner <kevinb@redhat.com>
2916 * gdb.base/corefile2.exp: New file.
2917 * gdb.base/coremaker2.exp: New file.
2919 2020-07-22 Kevin Buettner <kevinb@redhat.com>
2921 * gdb.base/coredump-filter.exp: Add second
2922 non-Private-Shared-Anon-File test.
2923 (test_disasm): Rename binfile for test which is expected
2926 2020-07-22 Kevin Buettner <kevinb@redhat.com>
2928 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
2930 * gdb.base/coremaker.c (buf2ro): New global.
2931 (mmapdata): Add a read-only mmap mapping.
2933 2020-07-22 Kevin Buettner <kevinb@redhat.com>
2936 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
2938 * gdb.base/coremaker.c (buf3): New global.
2939 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
2942 2020-07-22 Kevin Buettner <kevinb@redhat.com>
2944 * gdb.base/coremaker.c (filler_ro): New global constant.
2946 2020-07-22 Tom Tromey <tromey@adacore.com>
2948 * gdb.ada/mi_prot.exp: New file.
2949 * gdb.ada/mi_prot/pkg.adb: New file.
2950 * gdb.ada/mi_prot/pkg.ads: New file.
2951 * gdb.ada/mi_prot/prot.adb: New file.
2953 2020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2955 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
2958 2020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
2960 * gdb.python/py-arch-reg-groups.exp: Additional tests.
2962 2020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
2964 * gdb.python/py-arch-reg-names.exp: Additional tests.
2966 2020-07-21 Tom de Vries <tdevries@suse.de>
2968 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
2969 breakpoint locations".
2970 * gdb.reverse/solib-reverse.exp: Same.
2972 2020-07-21 Tom de Vries <tdevries@suse.de>
2974 * gdb.reverse/step-reverse.c (callee): Merge statements.
2976 2020-07-21 Tom de Vries <tdevries@suse.de>
2978 * gdb.fortran/info-modules.exp (info module variables): Allow missing
2979 line numbers for some variables.
2981 2020-07-21 Tom de Vries <tdevries@suse.de>
2983 * gdb.opt/inline-locals.c (init_array): New func.
2984 (func1): Use init_array.
2985 * gdb.opt/inline-locals.exp: Update pattern.
2987 2020-07-21 Tom de Vries <tdevries@suse.de>
2989 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
2990 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
2992 2020-07-20 Ludovic Courtès <ludo@gnu.org>
2994 * gdb.guile/source2.scm: Add #f first argument to 'format'.
2995 * gdb.guile/types-module.exp: Remove "ERROR:" from
2996 regexps since Guile 3.0 no longer prints that.
2998 2020-07-20 Ludovic Courtès <ludo@gnu.org>
3000 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
3001 error regexp to match on Guile 2.2.
3003 2020-07-20 Gary Benson <gbenson@redhat.com>
3005 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
3008 2020-07-20 Tom de Vries <tdevries@suse.de>
3010 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
3011 (omp_set_lock_in_order): New function.
3012 (single_scope, multi_scope, nested_func, nested_parallel): Use
3013 omp_set_lock_in_order and omp_unset_lock.
3014 (main): Init and destroy lock and lock2.
3016 2020-07-20 Tom de Vries <tdevries@suse.de>
3018 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
3020 2020-07-20 Tom de Vries <tdevries@suse.de>
3022 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
3024 2020-07-17 Tom de Vries <tdevries@suse.de>
3026 * gdb.base/valgrind-infcall-2.c: New test.
3027 * gdb.base/valgrind-infcall-2.exp: New file.
3028 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
3030 2020-07-17 Tom de Vries <tdevries@suse.de>
3032 * gdb.dlang/circular.c (found): Use found_label as label name.
3033 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
3034 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
3035 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
3036 * gdb.dwarf2/ada-linkage-name.exp: Same.
3037 * gdb.dwarf2/arr-subrange.exp: Same.
3038 * gdb.dwarf2/atomic-type.exp: Same.
3039 * gdb.dwarf2/comp-unit-lang.exp: Same.
3040 * gdb.dwarf2/cpp-linkage-name.exp: Same.
3041 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
3042 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
3043 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
3044 * gdb.dwarf2/implptr-64bit.exp: Same.
3045 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
3046 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
3047 * gdb.dwarf2/imported-unit.exp: Same.
3048 * gdb.dwarf2/main-subprogram.exp: Same.
3049 * gdb.dwarf2/missing-type-name.exp: Same.
3050 * gdb.dwarf2/nonvar-access.exp: Same.
3051 * gdb.dwarf2/struct-with-sig.exp: Same.
3052 * gdb.dwarf2/typedef-void-finish.exp: Same.
3053 * gdb.dwarf2/void-type.exp: Same.
3055 2020-07-17 Tom de Vries <tdevries@suse.de>
3057 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
3059 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
3060 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
3061 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
3062 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
3063 * gdb.dwarf2/dwz.exp: Same.
3064 * gdb.dwarf2/implptr-optimized-out.exp: Same.
3065 * gdb.dwarf2/implref-array.exp: Same.
3066 * gdb.dwarf2/implref-const.exp: Same.
3067 * gdb.dwarf2/implref-global.exp: Same.
3068 * gdb.dwarf2/implref-struct.exp: Same.
3069 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
3070 * gdb.dwarf2/opaque-type-lookup.exp: Same.
3071 * gdb.dwarf2/var-access.exp: Same.
3072 * gdb.dwarf2/varval.exp: Same.
3073 * gdb.trace/entry-values.exp: Same.
3075 2020-07-17 Tom de Vries <tdevries@suse.de>
3077 * lib/dwarf.exp (Dwarf::extern): Remove.
3078 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
3079 * gdb.dlang/circular.exp: Same.
3080 * gdb.dwarf2/comp-unit-lang.exp: Same.
3081 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
3082 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
3083 * gdb.dwarf2/dwz.exp: Same.
3084 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
3085 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
3086 * gdb.dwarf2/imported-unit.exp: Same.
3087 * gdb.dwarf2/opaque-type-lookup.exp: Same.
3089 2020-07-16 Sandra Loosemore <sandra@codesourcery.com>
3091 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
3092 Use double quotes instead of single quotes.
3094 2020-07-16 Caroline Tice <cmtice@google.com>
3096 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
3097 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
3099 2020-07-16 Tom de Vries <tdevries@suse.de>
3101 * lib/dwarf.exp (program): Initialize _line.
3102 (DW_LNE_end_sequence): Reinitialize _line.
3103 (DW_LNS_advance_line): Update _line.
3105 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
3106 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
3107 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
3108 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
3109 * gdb.dwarf2/dw2-is-stmt.exp: Same.
3110 * gdb.dwarf2/dw2-ranges-func.exp: Same.
3112 2020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
3114 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
3117 2020-07-15 Tom de Vries <tdevries@suse.de>
3119 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
3120 is_amd64_regs_target.
3122 2020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
3124 * gdb.fortran/ptype-on-functions.exp: Add more tests.
3125 * gdb.fortran/ptype-on-functions.f90: Likewise.
3127 2020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
3129 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
3130 values in documentation for addr_size to 4 and 8.
3132 2020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
3134 * gdb.arch/amd64-osabi.exp: Update.
3135 * gdb.arch/arm-disassembler-options.exp: Update.
3136 * gdb.arch/powerpc-disassembler-options.exp: Update.
3137 * gdb.arch/ppc64-symtab-cordic.exp: Update.
3138 * gdb.arch/s390-disassembler-options.exp: Update.
3139 * gdb.base/all-architectures.exp.tcl: Update.
3140 * gdb.base/attach-pie-noexec.exp: Update.
3141 * gdb.base/catch-syscall.exp: Update.
3142 * gdb.xml/tdesc-arch.exp: Update.
3144 2020-07-14 Tom de Vries <tdevries@suse.de>
3146 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
3147 (local_gettid): ... this.
3150 2020-07-13 Sandra Loosemore <sandra@codesourcery.com>
3152 * gdb.base/info_sources.exp: Skip directory match tests on
3155 2020-07-13 Gary Benson <gbenson@redhat.com>
3157 * gdb.base/savedregs.exp (caller): Use parentheses to
3158 make expected expression evaluation ordering explicit.
3160 2020-07-13 Gary Benson <gbenson@redhat.com>
3162 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
3164 2020-07-13 Gary Benson <gbenson@redhat.com>
3166 * gdb.base/bigcore.c (main): Use a volatile pointer when
3167 attempting to trigger a SIGSEGV.
3168 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
3169 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
3170 * gdb.base/savedregs.c (thrower): Likewise.
3171 * gdb.mi/mi-syn-frame.c (bar): Likewise.
3173 2020-07-13 Gary Benson <gbenson@redhat.com>
3175 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
3176 defining and using VLA structure fields into...
3177 * gdb.base/vla-struct-fields.c: New file.
3178 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
3180 * gdb.base/vla-struct-fields.exp: New file.
3182 2020-07-13 Tom de Vries <tdevries@suse.de>
3184 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
3185 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
3186 * gdb.base/gold-gdb-index.exp: Same.
3187 * gdb.base/morestack.exp: Same.
3189 2020-07-11 Daniel Xu <dxu@dxuuu.xyz>
3192 * gdb.rust/modules.rs: Prevent linker from discarding test
3195 2020-07-10 Pedro Alves <pedro@palves.net>
3198 * gdb.multi/multi-target.c (exit_thread): New.
3199 (thread_start): Break loop if EXIT_THREAD.
3200 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
3201 (top level) Call test_no_resumed.
3203 2020-07-08 Tom Tromey <tromey@adacore.com>
3205 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
3206 * gdb.ada/catch_ex.exp: Examine catchpoint text.
3208 2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3211 * gdb.opt/inline-frame-tailcall.c: New file.
3212 * gdb.opt/inline-frame-tailcall.exp: New file.
3213 * gdb.python/py-unwind-inline.c: New file.
3214 * gdb.python/py-unwind-inline.exp: New file.
3215 * gdb.python/py-unwind-inline.py: New file.
3217 2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3219 * gdb.python/py-arch-reg-groups.exp: New file.
3221 2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3223 * gdb.python/py-arch-reg-names.exp: New file.
3225 2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3227 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
3228 gdb.PendingFrame.architecture method.
3230 2020-07-06 Tom de Vries <tdevries@suse.de>
3232 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
3234 2020-07-03 Pedro Alves <palves@redhat.com>
3236 * gdb.base/structs2.c (main): Adjust second parem_reg call to
3237 explicitly write negative numbers.
3238 * gdb.base/structs2.exp: Adjust expected output.
3240 2020-07-03 Pedro Alves <palves@redhat.com>
3242 * gdb.base/charset.c (init_string): Change all char parameters to
3243 unsigned char parameters.
3245 2020-07-03 Pedro Alves <palves@redhat.com>
3247 * gdb.base/call-sc.exp (start_scalars_test): Use
3248 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3249 * gdb.base/overlays.c: Remove references to PARAMS.
3250 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
3251 * gdb.base/reread.exp: Don't set 'prototypes' global.
3252 * gdb.base/structs.exp (start_structs_test): Use
3253 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3254 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
3255 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
3256 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
3258 * gdb.base/varargs.exp: Don't set 'prototypes' global.
3260 2020-07-03 Pedro Alves <palves@redhat.com>
3262 * gdb.base/m32rovly.c: Delete.
3263 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
3265 2020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3267 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
3268 of gdb_py_test_multiple.
3269 * gdb.python/py-cmd.exp: Likewise.
3270 * gdb.python/py-events.exp: Likewise.
3271 * gdb.python/py-function.exp: Likewise.
3272 * gdb.python/py-inferior.exp: Likewise.
3273 * gdb.python/py-infthread.exp: Likewise.
3274 * gdb.python/py-linetable.exp: Likewise.
3275 * gdb.python/py-parameter.exp: Likewise.
3276 * gdb.python/py-value.exp: Likewise.
3278 2020-06-30 Tom de Vries <tdevries@suse.de>
3281 * lib/future.exp (gdb_default_target_compile): Detect and handle
3284 2020-06-29 Simon Marchi <simon.marchi@efficios.com>
3286 * boards/simavr.exp (gdb_load): Catch errors when closing
3287 previous connection. Close connection, wait for process and
3288 unset simavr_spawn_id on failure.
3290 2020-06-29 Tom de Vries <tdevries@suse.de>
3292 * lib/gdb.exp (unknown): Make test-case unresolved.
3294 2020-06-29 Tom de Vries <tdevries@suse.de>
3297 * gdb.server/solib-list.exp: Verify that the symbol reload
3298 confirmation question is asked.
3300 2020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3302 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
3303 have a input seq nr in each pass message.
3304 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
3305 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
3306 * gdb.python/python.exp: Make test names unique,
3307 use gdb_test_multiline instead of gdb_py_test_multiple,
3309 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
3311 2020-06-26 Nick Alcock <nick.alcock@oracle.com>
3313 * configure.ac: Add --enable-libctf.
3314 * aclocal.m4: sinclude ../config/enable.m4.
3315 * Makefile.in (site.exp): Add enable_libctf to site.exp.
3316 * lib/gdb.exp (skip_ctf_tests): Use it.
3317 * gdb.base/ctf-constvars.exp: Error message tweak.
3318 * gdb.base/ctf-ptype.exp: Likewise.
3319 * configure: Regenerate.
3321 2020-06-26 Gary Benson <gbenson@redhat.com>
3323 * gdb.cp/try_catch.cc: Include string.h.
3324 (main): Replace comparison against string literal with
3325 strcmp, avoiding build failure with -Wstring-compare.
3326 Add "marker test-complete".
3327 * gdb.cp/try_catch.exp: Run the test to the above marker,
3328 then verify that the value of "test" is still true.
3330 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3332 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
3334 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3336 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
3338 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3340 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
3341 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
3342 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
3343 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
3344 * gdb.arch/riscv-tdesc-loading.exp: New file.
3346 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3348 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
3350 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
3352 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
3353 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
3354 * gdb.arch/riscv-tdesc-regs.c: New file.
3355 * gdb.arch/riscv-tdesc-regs.exp: New file.
3357 2020-06-24 Pedro Alves <palves@redhat.com>
3359 * gdb.arch/amd64-entry-value-paramref.exp: Use
3360 prepare_for_testing_full and don't pass "c++" for the .S file
3362 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
3363 $options, since it's an assembly file. Remove -Wno-deprecated.
3364 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
3365 compiling C++ programs.
3367 2020-06-24 Pedro Alves <palves@redhat.com>
3369 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
3370 Clang, add "-Wno-unknown-warning-option" to the options.
3372 2020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
3374 * gdb.xml/tdesc-reload.c: New file.
3375 * gdb.xml/tdesc-reload.exp: New file.
3376 * gdb.xml/maint-xml-dump-01.xml: New file.
3377 * gdb.xml/maint-xml-dump-02.xml: New file.
3378 * gdb.xml/maint-xml-dump.exp: New file.
3380 2020-06-23 Sandra Loosemore <sandra@codesourcery.com>
3382 * lib/completion-support.exp (test_gdb_completion_offers_commands):
3383 Adjust for omitted commands when TUI is disabled.
3385 2020-06-23 Gary Benson <gbenson@redhat.com>
3386 Pedro Alves <palves@redhat.com>
3388 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
3389 * gdb.cp/nsimport.cc: Likewise.
3390 * gdb.cp/nsnested.cc: Likewise.
3391 * gdb.cp/nsnoimports.cc: Likewise.
3392 * gdb.cp/nsusing.cc: Likewise.
3393 * gdb.cp/smartp.cc: Likewise.
3394 * gdb.python/py-pp-integral.c: Likewise.
3395 * gdb.python/py-pp-re-notag.c: Likewise.
3397 2020-06-23 Gary Benson <gbenson@redhat.com>
3399 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
3400 * gdb.cp/nsimport.cc: Likewise.
3401 * gdb.cp/nsnested.cc: Likewise.
3402 * gdb.cp/nsnoimports.cc: Likewise.
3403 * gdb.cp/nsusing.cc: Likewise.
3404 * gdb.cp/smartp.cc: Likewise.
3405 * gdb.python/py-pp-integral.c: Likewise.
3406 * gdb.python/py-pp-re-notag.c: Likewise.
3408 2020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3410 * gdb.base/default-args.exp: New test.
3411 * gdb.base/default-args.c: New file.
3412 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
3413 * gdb.base/default.exp: Update to new help text.
3414 * gdb.base/help.exp: Likewise.
3415 * gdb.base/page.exp: Likewise.
3416 * gdb.base/style.exp: Likewise.
3417 * gdb.guile/guile.exp: Likewise.
3418 * gdb.python/python.exp: Likewise.
3420 2020-06-22 Sandra Loosemore <sandra@codesourcery.com>
3422 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
3423 remote host. Fix search path syntax on Windows host.
3425 2020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3427 * gdb.base/attach.exp: Test priority of 'exec-file' changed
3428 over 'exec-file-mismatch'.
3429 * gdb.base/attach.c: Mark should_exit volatile.
3430 * gdb.base/attach2.c: Likewise. Add a comment explaining
3431 why the sleep cannot be big.
3432 * gdb.base/attach3.c: New file.
3434 2020-06-20 Sandra Loosemore <sandra@codesourcery.com>
3436 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
3439 2020-06-20 Sandra Loosemore <sandra@codesourcery.com>
3441 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
3444 2020-06-19 Sandra Loosemore <sandra@codesourcery.com>
3445 Hafiz Abid Qadeer <abidh@codesourcery.com>
3447 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
3448 file sent to remote host.
3449 (top level): Allow int32_t as type of 32-bit register.
3451 2020-06-19 Tom de Vries <tdevries@suse.de>
3453 * lib/gdb.exp (gdb_note): New proc.
3454 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
3455 (gdb_default_target_compile): ... here. Only call
3456 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
3457 (use_gdb_compile): Change to array.
3458 (toplevel): Update sets of use_gdb_compile to specify language.
3459 Warn about default_target_compile override. Store dejagnu's version
3460 of default_target_compile in dejagnu_default_target_compile.
3462 2020-06-18 Tom de Vries <tdevries@suse.de>
3464 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
3465 (default_gdb_init): ... here.
3467 2020-06-17 Sandra Loosemore <sandra@codesourcery.com>
3469 Fix TUI support checks in gdb.tui tests.
3471 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
3472 just say UNSUPPORTED.
3473 * gdb.tui/corefile-run.exp: Likewise.
3474 * gdb.tui/empty.exp: Likewise.
3475 * gdb.tui/list-before.exp: Likewise.
3476 * gdb.tui/list.exp: Likewise.
3477 * gdb.tui/main.exp: Likewise.
3478 * gdb.tui/regs.exp: Likewise.
3479 * gdb.tui/resize.exp: Likewise.
3480 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
3481 * gdb.tui/tui-layout-asm.exp: Likewise.
3482 * gdb.tui/tui-missing-src.exp: Likewise.
3483 * gdb.tui/winheight.exp: Likewise.
3484 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
3486 2020-06-17 Sandra Loosemore <sandra@codesourcery.com>
3488 Fix TCL error in gdb.python/py-format-string.exp.
3490 * gdb.python/py-format-string.exp: Move test for python support
3491 earlier, out of function body.
3493 2020-06-15 Simon Marchi <simon.marchi@efficios.com>
3495 * gdb.base/index-cache-load-twice.c: New.
3496 * gdb.base/index-cache-load-twice.exp: New.
3498 2020-06-17 Keith Seitz <keiths@redhat.com>
3500 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
3501 when executing "gdb --configuration".
3503 2020-06-17 Tom de Vries <tdevries@suse.de>
3505 * lib/gdb.exp (gdb_tcl_unknown): New proc.
3506 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
3507 conditional on presence of gdb_tcl_unknown.
3508 (gdb_finish): Make override undo conditional on presence of
3511 2020-06-16 Tom Tromey <tom@tromey.com>
3513 * gdb.python/tui-window.py (failwin): New function. Register it
3514 as a TUI window type.
3515 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
3517 2020-06-16 Gary Benson <gbenson@redhat.com>
3519 * gdb.python/py-nested-maps.c (create_map): Add missing return
3521 (create_map_map): Likewise.
3523 2020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3525 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
3527 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
3528 and use the already-defined 'options' variable.
3530 2020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
3531 Tom de Vries <tdevries@suse.de>
3533 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
3534 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
3535 (gdb_setup_known_globals): New proc.
3536 (gdb_cleanup_globals): New proc.
3537 * lib/gdb.exp (load_lib): New override proc.
3538 (gdb_stdin_log_init): Set var in_file as persistent global.
3539 * lib/pascal.exp (gdb_stdin_log_init): Set vars
3540 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
3541 fpc_compiler as persistent global.
3543 2020-06-12 Tom de Vries <tdevries@suse.de>
3545 * lib/tuiterm.exp (spawn): Rename to ...
3546 (tui_spawn): ... this.
3547 (toplevel): Move rename of spawn ...
3548 (gdb_init_tuiterm): ... here. New proc.
3549 (gdb_finish_tuiterm): New proc.
3550 * lib/gdb.exp (gdb_finish_hooks): New global var.
3551 (gdb_finish): Handle gdb_finish_hooks.
3552 (tuiterm_env): New proc.
3553 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
3555 * gdb.tui/basic.exp: Same.
3556 * gdb.tui/corefile-run.exp: Same.
3557 * gdb.tui/empty.exp: Same.
3558 * gdb.tui/list-before.exp: Same.
3559 * gdb.tui/list.exp: Same.
3560 * gdb.tui/main.exp: Same.
3561 * gdb.tui/new-layout.exp: Same.
3562 * gdb.tui/regs.exp: Same.
3563 * gdb.tui/resize.exp: Same.
3564 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
3565 * gdb.tui/tui-layout-asm.exp: Same.
3566 * gdb.tui/tui-missing-src.exp: Same.
3567 * gdb.tui/winheight.exp: Same.
3569 2020-06-12 Tom de Vries <tdevries@suse.de>
3572 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
3573 (gdb_finish): Reinstall dejagnu's override of ::unknown.
3575 2020-06-11 Tom Tromey <tom@tromey.com>
3578 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
3579 floating point tests.
3581 2020-06-11 Keith Seitz <keiths@redhat.com>
3584 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
3586 Add new struct vla_typedef and union vla_typedef_union and
3587 corresponding instantiation objects.
3588 Initialize new objects.
3589 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
3590 and vla_typedef_union_object.
3591 Fixup type for vla_struct_object.
3593 2020-06-11 Tom de Vries <tdevries@suse.de>
3595 * lib/gdb.exp (with_override): New proc, factored out of ...
3596 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
3598 2020-06-10 Tom de Vries <tdevries@suse.de>
3600 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
3602 2020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
3604 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
3605 parameter, update callers.
3607 2020-06-04 Simon Marchi <simon.marchi@efficios.com>
3609 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
3610 * gdb.dwarf2/share-psymtabs-bt.c: New file.
3611 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
3613 2020-06-04 Tom de Vries <tdevries@suse.de>
3615 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
3617 2020-06-04 Tom de Vries <tdevries@suse.de>
3619 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
3622 2020-06-04 Tom de Vries <tdevries@suse.de>
3624 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
3626 2020-06-03 Tom de Vries <tdevries@suse.de>
3629 * gdb.cp/breakpoint-locs-2.cc: New test.
3630 * gdb.cp/breakpoint-locs.cc: New test.
3631 * gdb.cp/breakpoint-locs.exp: New file.
3632 * gdb.cp/breakpoint-locs.h: New test.
3634 2020-06-03 Tom de Vries <tdevries@suse.de>
3637 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
3638 value of global verbose.
3639 * gdb.base/jit-elf.exp: Same.
3640 * gdb.base/jit-reader.exp: Same.
3642 2020-06-02 Tom de Vries <tdevries@suse.de>
3644 * gdb.dwarf2/multidictionary.exp: Don't use
3645 gdb_spawn_with_cmdline_opts.
3647 2020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
3649 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
3651 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
3652 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
3653 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
3654 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
3655 * gdb.dwarf2/dw2-inline-header.c: New file.
3656 * gdb.dwarf2/dw2-inline-header.h: New file.
3658 2020-05-30 Pedro Alves <palves@redhat.com>
3660 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
3661 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
3663 2020-05-29 Gary Benson <gbenson@redhat.com>
3665 * gdb.compile/compile-cplus.exp (additional_flags): Also
3666 set when building with clang.
3667 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
3668 when building with clang.
3670 2020-05-29 Gary Benson <gbenson@redhat.com>
3672 * gdb.arch/i386-avx.exp (additional_flags): Also set when
3673 building with clang.
3674 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
3676 2020-05-29 Gary Benson <gbenson@redhat.com>
3678 * gdb.cp/koenig.exp (prepare_for_testing): Add
3679 additional_flags=-Wno-unused-comparison.
3680 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
3682 2020-05-28 Gary Benson <gbenson@redhat.com>
3684 * gdb.base/sigaltstack.c (catcher): Add default case to switch
3687 2020-05-28 Gary Benson <gbenson@redhat.com>
3689 * gdb.cp/classes.exp (prepare_for_testing): Add
3690 additional_flags=-Wno-deprecated-register.
3691 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
3692 * gdb.cp/misc.exp: Likewise.
3694 2020-05-28 Gary Benson <gbenson@redhat.com>
3696 * gdb.linespec/cpls-ops.cc (dummy): New static global.
3697 (test_op_new::operator new): Add return statement.
3698 (test_op_new_array::operator new[]): Likewise.
3700 2020-05-27 Pedro Alves <palves@redhat.com>
3702 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
3703 check. Use test_gdb_complete_unique instead of
3704 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
3705 test_gdb_complete_multiple instead of
3706 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
3708 2020-05-27 Luis Machado <luis.machado@linaro.org>
3710 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
3711 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
3712 * gdb.arch/arm-disassembler-options.exp: Likewise.
3713 * gdb.arch/arm-disp-step.exp: Likewise.
3714 * gdb.arch/thumb-prologue.exp: Likewise.
3715 * gdb.base/async.exp: Likewise.
3716 * gdb.base/auxv.exp: Likewise.
3717 * gdb.base/complex-parts.exp: Likewise.
3718 * gdb.base/ena-dis-br.exp: Likewise.
3719 * gdb.base/foll-exec.exp: Likewise.
3720 * gdb.base/permissions.exp: Likewise.
3721 * gdb.base/relocate.exp: Likewise.
3722 * gdb.base/return2.exp: Likewise.
3723 * gdb.base/sigbpt.exp: Likewise.
3724 * gdb.base/siginfo-obj.exp: Likewise.
3725 * gdb.cp/converts.exp: Likewise.
3726 * gdb.cp/exceptprint.exp: Likewise.
3727 * gdb.cp/inherit.exp: Likewise.
3728 * gdb.cp/nsnoimports.exp: Likewise.
3729 * gdb.cp/virtbase2.exp: Likewise.
3730 * gdb.mi/mi-var-cmd.exp: Likewise.
3731 * gdb.mi/var-cmd.c: Likewise.
3733 2020-05-26 Tom Tromey <tromey@adacore.com>
3735 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
3737 2020-05-26 Tom Tromey <tromey@adacore.com>
3739 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
3740 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
3742 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
3745 2020-05-26 Christian Biesinger <cbiesinger@google.com>
3747 * Makefile.in: Use = instead of == for the test command
3750 2020-05-26 Tom de Vries <tdevries@suse.de>
3752 * gdb.base/gold-gdb-index-2.c: New test.
3753 * gdb.base/gold-gdb-index.c: New test.
3754 * gdb.base/gold-gdb-index.exp: New file.
3755 * gdb.base/gold-gdb-index.h: New test.
3757 2020-05-25 Tom de Vries <tdevries@suse.de>
3759 * boards/gold-gdb-index.exp: New file.
3761 2020-05-25 Simon Marchi <simon.marchi@efficios.com>
3763 * boards/simavr.exp: New file.
3765 2020-05-25 Simon Marchi <simon.marchi@efficios.com>
3767 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
3768 * gdb.base/inferior-args.exp: New file.
3769 * gdb.base/inferior-args.c: New file.
3771 2020-05-25 Simon Marchi <simon.marchi@efficios.com>
3773 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
3774 inferior_args. Pass it to gdb_reload.
3775 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
3777 (gdb_reload): Add inferior_args argument.
3778 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
3779 pass it to gdbserver_run.
3780 * boards/native-gdbserver.exp: Do not set noargs.
3781 * boards/native-extended-gdbserver.exp (gdb_reload): Add
3782 inferior_args argument.
3783 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
3784 * gdb.base/a2-run.exp: Check for use_gdb_stub.
3785 * gdb.base/args.exp: Likewise.
3787 2020-05-25 Tom de Vries <tdevries@suse.de>
3789 * lib/gdb.exp (exec_is_pie): Add comment.
3791 2020-05-25 Tom de Vries <tdevries@suse.de>
3793 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
3794 instead of $binfile in the untested message.
3796 2020-05-25 Tom de Vries <tdevries@suse.de>
3799 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
3801 2020-05-25 Tom de Vries <tdevries@suse.de>
3803 * boards/gold.exp: New file.
3805 2020-05-23 Tom Tromey <tom@tromey.com>
3807 * gdb.base/style.exp: Remove completion styling test.
3808 * lib/gdb-utils.exp (style): Remove completion styles.
3810 2020-05-23 Tom Tromey <tom@tromey.com>
3812 * gdb.base/style.exp: Add completion styling test.
3813 * lib/gdb-utils.exp (style): Add completion styles.
3815 2020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
3817 * gdb.base/annota1.exp: Update expected results.
3818 * gdb.cp/annota2.exp: Update expected results, remove duplicate
3820 * gdb.cp/annota3.exp: Update expected results.
3822 2020-05-20 Simon Marchi <simon.marchi@efficios.com>
3825 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
3827 * gdb.base/coremaker.c (mmapdata): Likewise.
3828 * gdb.base/jit-reader-host.c (main): Likewise.
3829 * gdb.base/sym-file-loader.c (load): Likewise.
3830 (load_shlib): Likewise.
3832 2020-05-20 Tom Tromey <tromey@adacore.com>
3834 * gdb.ada/array_char_idx.exp: Recognize initialized array.
3836 2020-05-20 Tom de Vries <tdevries@suse.de>
3839 * gdb.base/with-mf-inc.c: New test.
3840 * gdb.base/with-mf-main.c: New test.
3841 * gdb.base/with-mf.exp: New file.
3843 2020-05-19 Tom Tromey <tromey@adacore.com>
3845 * gdb.rust/simple.exp: Restore missing test result.
3847 2020-05-19 Tom de Vries <tdevries@suse.de>
3849 * gdb.base/gdb-caching-proc.exp: Fix typo.
3851 2020-05-19 Tom Tromey <tromey@adacore.com>
3853 * gdb.rust/simple.exp: Add some test descriptions.
3854 (test_one_slice): Use with_test_prefix.
3856 2020-05-18 Tom de Vries <tdevries@suse.de>
3858 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
3860 2020-05-17 Pedro Alves <palves@redhat.com>
3863 * gdb.base/hw-sw-break-same-address.exp: New file.
3865 2020-05-16 Pedro Alves <palves@redhat.com>
3867 * gdb.multi/multi-re-run.exp (test_re_run): Switch
3868 LAST_LOADED_FILE accordingly.
3870 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3872 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
3874 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3876 * gdb.base/help.exp: Test apropos and help for commands
3877 having aliases. Fixed comments not starting with an
3878 upper-case letter or not finishing with a dot.
3880 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3882 * gdb.base/alias.exp: Update help output check.
3884 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3886 * gdb.base/default.exp: Update output following fixes.
3888 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3890 * gdb.base/alias.exp: Test aliases starting with a prefix of
3893 2020-05-15 Gary Benson <gbenson@redhat.com>
3895 * gdb.base/info-os.c (main): Add return statement.
3896 * gdb.base/info_minsym.c (minsym_fun): Likewise.
3897 * gdb.base/large-frame-2.c (func): Likewise.
3898 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
3899 * gdb.base/pr10179-b.c (foo2): Likewise.
3900 * gdb.base/valgrind-disp-step.c (foo): Likewise.
3901 * gdb.base/watch-cond.c (func): Likewise.
3902 * gdb.multi/goodbye.c (verylongfun): Likewise.
3903 * gdb.multi/hello.c (commonfun): Likewise.
3904 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
3905 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
3906 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
3908 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
3909 * gdb.threads/interrupt-while-step-over.c (child_function):
3911 * gdb.trace/actions-changed.c (end): Likewise.
3913 2020-05-15 Gary Benson <gbenson@redhat.com>
3915 * gdb.opencl/callfuncs.exp: Report when test skipped.
3916 * gdb.opencl/convs_casts.exp: Likewise.
3917 * gdb.opencl/datatypes.exp: Likewise.
3918 * gdb.opencl/operators.exp: Likewise.
3919 * gdb.opencl/vec_comps.exp: Likewise.
3921 2020-05-15 Tom de Vries <tdevries@suse.de>
3923 * gdb.base/align.exp.in: Rename to ...
3924 * gdb.base/align.exp.tcl: ... this.
3925 * gdb.base/align-c++.exp: Update.
3926 * gdb.base/align-c.exp: Update.
3927 * gdb.base/all-architectures.exp.in: Rename to ...
3928 * gdb.base/all-architectures.exp: ... this.
3929 * gdb.base/all-architectures-0.exp: Update.
3930 * gdb.base/all-architectures-1.exp: Update.
3931 * gdb.base/all-architectures-2.exp: Update.
3932 * gdb.base/all-architectures-3.exp: Update.
3933 * gdb.base/all-architectures-4.exp: Update.
3934 * gdb.base/all-architectures-5.exp: Update.
3935 * gdb.base/all-architectures-6.exp: Update.
3936 * gdb.base/all-architectures-7.exp: Update.
3937 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
3938 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
3939 * gdb.base/infcall-nested-structs-c++.exp: Update.
3940 * gdb.base/infcall-nested-structs-c.exp: Update.
3941 * gdb.base/info-types.exp.in: Rename to ...
3942 * gdb.base/info-types.exp.tcl: ... this.
3943 * gdb.base/info-types-c++.exp: Update.
3944 * gdb.base/info-types-c.exp: Update.
3945 * gdb.base/max-depth.exp.in: Rename to ...
3946 * gdb.base/max-depth.exp.tcl: ... this.
3947 * gdb.base/max-depth-c++.exp: Update.
3948 * gdb.base/max-depth-c.exp: Update.
3949 * gdb.cp/cpexprs.exp.in: Rename to ...
3950 * gdb.cp/cpexprs.exp.tcl: ... this.
3951 * gdb.cp/cpexprs-debug-types.exp: Update.
3952 * gdb.cp/cpexprs.exp: Update.
3953 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
3954 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
3955 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
3956 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
3957 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
3958 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
3959 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
3960 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
3961 * gdb.dwarf2/clang-debug-names-2.exp: Update.
3962 * gdb.dwarf2/clang-debug-names.exp: Update.
3964 2020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
3966 * lib/check-test-names.exp: Remove code that prevents this file
3967 loading when tests are run in parallel.
3969 2020-05-15 Pedro Alves <palves@redhat.com>
3971 * gdb.multi/multi-kill.exp (start_inferior): Remove
3972 'testpid' parameter. Refer to namespace variable directly.
3973 (testpid): Declare as namespace variable.
3975 2020-05-15 Pedro Alves <palves@redhat.com>
3977 * gdb.multi/multi-kill.exp: Wrap in namespace.
3978 (start_inferior): Add TESTPID parameter. Use it instead of the
3980 (top level): Define empty TESTPID array, and pass it down to
3983 2020-05-14 Tom de Vries <tdevries@suse.de>
3985 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
3988 2020-05-14 Tom de Vries <tdevries@suse.de>
3990 * gdb.base/align.exp: Split into ...
3991 * gdb.base/align.exp.in: ...
3992 * gdb.base/align-c++.exp: ...
3993 * gdb.base/align-c.exp: ... these.
3994 * gdb.base/infcall-nested-structs.exp: Split into ...
3995 * gdb.base/infcall-nested-structs.exp.in: ...
3996 * gdb.base/infcall-nested-structs-c++.exp: ...
3997 * gdb.base/infcall-nested-structs-c.exp: ... these.
3998 * gdb.base/info-types.exp: Split into ...
3999 * gdb.base/info-types.exp.in: ...
4000 * gdb.base/info-types-c++.exp: ...
4001 * gdb.base/info-types-c.exp: ... these.
4002 * gdb.base/max-depth.exp: Split into ...
4003 * gdb.base/max-depth.exp.in: ...
4004 * gdb.base/max-depth-c++.exp: ...
4005 * gdb.base/max-depth-c.exp: ... these.
4006 * gdb.cp/infcall-nodebug.exp: Split into ...
4007 * gdb.cp/infcall-nodebug.exp.in: ...
4008 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
4009 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
4010 * gdb.cp/infcall-nodebug-c-d0.exp: ...
4011 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
4013 2020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4014 Pedro Alves <palves@redhat.com>
4016 * gdb.multi/multi-exit.c: New file.
4017 * gdb.multi/multi-exit.exp: New file.
4018 * gdb.multi/multi-kill.c: New file.
4019 * gdb.multi/multi-kill.exp: New file.
4021 2020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4023 * gdb.base/annota1.exp: Update the expected output.
4024 * gdb.cp/annota2.exp: Ditto.
4026 2020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
4028 * lib/check-test-names.exp: Disable when testing is being run in
4031 2020-05-12 Tom de Vries <tdevries@suse.de>
4033 * gdb.base/jit-elf.exp: Fix string concat.
4035 2020-05-12 Tom de Vries <tdevries@suse.de>
4037 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
4040 2020-05-12 Tom de Vries <tdevries@suse.de>
4042 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
4044 2020-05-12 Tom de Vries <tdevries@suse.de>
4046 * gdb.ada/catch_ex.exp: Use with_test_prefix.
4047 * gdb.ada/mi_catch_ex.exp: Same.
4048 * gdb.ada/mi_catch_ex_hand.exp: Same.
4050 2020-05-12 Tom de Vries <tdevries@suse.de>
4052 * gdb.fortran/complex.exp: Use with_test_prefix.
4054 2020-05-12 Tom de Vries <tdevries@suse.de>
4056 * gdb.trace/passcount.exp: Fix test-names.
4058 2020-05-12 Tom de Vries <tdevries@suse.de>
4060 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
4062 2020-05-12 Tom de Vries <tdevries@suse.de>
4064 * gdb.gdb/complaints.exp: Use with_test_prefix.
4065 * gdb.xml/tdesc-regs.exp: Same.
4066 * gdb.opt/inline-locals.exp: Fix test name.
4068 2020-05-12 Tom de Vries <tdevries@suse.de>
4070 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
4071 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
4072 * gdb.dwarf2/implref-struct.exp: Same.
4073 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
4074 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
4076 2020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
4078 * gdb.base/jit-so.exp (one_jit_test): Change test name.
4080 2020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
4082 * lib/check-test-names.exp (all_test_names): New module variable.
4083 (counts): Add 'duplicates' field.
4084 (_check_duplicates): New procedure.
4085 (check): Also check for duplicates.
4086 (do_log_summary): Print duplicates count.
4087 (do_reset_vars): Reset counter for duplicate test names, and
4088 discard all know test names.
4090 2020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
4092 * lib/gdb.exp: Include check-test-names.exp library.
4093 * lib/check-test-names.exp: New file.
4095 2020-05-11 Tom de Vries <tdevries@suse.de>
4097 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
4099 2020-05-11 Keith Seitz <keiths@redhat.com>
4101 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
4103 2020-05-11 Tom de Vries <tdevries@suse.de>
4105 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
4106 * gdb.cp/cpexprs.exp.in: .. here.
4107 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
4110 2020-05-11 Keith Seitz <keiths@redhat.com>
4112 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
4114 * gdb.ada/arrayptr.exp: Likewise.
4115 * gdb.ada/assign_arr.exp: Likewise.
4116 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
4117 * gdb.ada/bp_on_var.exp: Likewise.
4118 * gdb.ada/call_pn.exp: Likewise.
4119 * gdb.ada/complete.exp: Likewise.
4120 * gdb.ada/fun_overload_menu.exp: Likewise.
4121 * gdb.ada/funcall_param.exp: Likewise.
4122 * gdb.ada/funcall_ref.exp: Likewise.
4123 * gdb.ada/packed_array_assign.exp: Likewise.
4124 * gdb.ada/same_component_name.exp: Likewise.
4125 * gdb.ada/type_coercion.exp: Likewise.
4126 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
4127 * gdb.ada/variant_record_packed_array.exp: Likewise.
4129 2020-05-11 Tom de Vries <tdevries@suse.de>
4132 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
4134 * gdb.dwarf2/clang-debug-names.exp: ... here.
4135 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
4136 clang-debug-names.exp.in.
4137 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
4138 * gdb.dwarf2/clang-debug-names-2.c: New test.
4140 2020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
4142 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
4143 (fortran_runto_main): New Proc, fortran version of runto_main.
4144 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
4145 * gdb.fortran/array-bounds.exp: Likewise.
4146 * gdb.fortran/array-slices.exp: Likewise.
4147 * gdb.fortran/block-data.exp: Likewise.
4148 * gdb.fortran/charset.exp: Likewise.
4149 * gdb.fortran/common-block.exp: Likewise.
4150 * gdb.fortran/complex.exp: Likewise.
4151 * gdb.fortran/derived-type-function.exp: Likewise.
4152 * gdb.fortran/derived-type.exp: Likewise.
4153 * gdb.fortran/info-modules.exp: Likewise.
4154 * gdb.fortran/info-types.exp: Likewise.
4155 * gdb.fortran/intrinsics.exp: Likewise.
4156 * gdb.fortran/library-module.exp: Likewise.
4157 * gdb.fortran/logical.exp: Likewise.
4158 * gdb.fortran/max-depth.exp: Likewise.
4159 * gdb.fortran/module.exp: Likewise.
4160 * gdb.fortran/multi-dim.exp: Likewise.
4161 * gdb.fortran/nested-funcs.exp: Likewise.
4162 * gdb.fortran/print-formatted.exp: Likewise.
4163 * gdb.fortran/print_type.exp: Likewise.
4164 * gdb.fortran/printing-types.exp: Likewise.
4165 * gdb.fortran/ptr-indentation.exp: Likewise.
4166 * gdb.fortran/ptype-on-functions.exp: Likewise.
4167 * gdb.fortran/subarray.exp: Likewise.
4168 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
4169 * gdb.fortran/vla-datatypes.exp: Likewise.
4170 * gdb.fortran/vla-history.exp: Likewise.
4171 * gdb.fortran/vla-ptr-info.exp: Likewise.
4172 * gdb.fortran/vla-ptype-sub.exp: Likewise.
4173 * gdb.fortran/vla-ptype.exp: Likewise.
4174 * gdb.fortran/vla-sizeof.exp: Likewise.
4175 * gdb.fortran/vla-type.exp: Likewise.
4176 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
4177 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
4178 * gdb.fortran/vla-value-sub.exp: Likewise.
4179 * gdb.fortran/vla-value.exp: Likewise.
4180 * gdb.fortran/whatis_type.exp: Likewise.
4181 * gdb.mi/mi-var-child-f.exp: Likewise.
4183 2020-05-09 Tom de Vries <tdevries@suse.de>
4185 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
4187 2020-05-08 Tom de Vries <tdevries@suse.de>
4189 * gdb.dwarf2/clang-debug-names.c: New test.
4190 * gdb.dwarf2/clang-debug-names.exp: New file.
4192 2020-05-06 Simon Marchi <simon.marchi@efficios.com>
4194 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
4195 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
4197 2020-05-06 Tom de Vries <tdevries@suse.de>
4199 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
4200 breakpoint is at a "recommended breakpoint location".
4201 * gdb.reverse/consecutive-reverse.exp: Same.
4203 2020-05-06 Tom de Vries <tdevries@suse.de>
4205 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
4208 2020-05-06 Tom de Vries <tdevries@suse.de>
4210 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
4212 2020-05-06 Tom de Vries <tdevries@suse.de>
4214 * gdb.base/store.exp (check_set, up_set): Allowing missing location
4217 2020-05-06 Tom de Vries <tdevries@suse.de>
4219 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
4222 2020-05-06 Tom de Vries <tdevries@suse.de>
4224 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
4227 2020-05-06 Tom de Vries <tdevries@suse.de>
4229 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
4231 * gdb.base/async.exp: ... here.
4232 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
4233 "recommended breakpoint location".
4235 2020-05-06 Tom de Vries <tdevries@suse.de>
4237 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
4239 2020-05-04 Tom de Vries <tdevries@suse.de>
4241 * gdb.base/async.exp: Check whether instruction addresses are a
4242 "recommended breakpoint location".
4244 2020-05-03 Tom Tromey <tom@tromey.com>
4246 * gdb.base/sepdebug.exp: Remove "catch" test.
4247 * gdb.base/break.exp: Remove "catch" test.
4248 * gdb.base/default.exp: Update expected output.
4250 2020-05-02 Tom de Vries <tdevries@suse.de>
4252 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
4253 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
4254 * gdb.arch/i386-mpx-map.exp: Same.
4255 * gdb.arch/i386-mpx-sigsegv.exp: Same.
4256 * gdb.arch/i386-mpx-simple_segv.exp: Same.
4257 * gdb.arch/i386-mpx.exp: Same.
4259 2020-05-02 Tom de Vries <tdevries@suse.de>
4261 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
4263 2020-05-01 Tom de Vries <tdevries@suse.de>
4265 * gdb.ada/operator_bp.exp: Allow more than required amount of
4268 2020-05-01 Tom de Vries <tdevries@suse.de>
4270 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
4272 2020-04-30 Hannes Domani <ssbssa@yahoo.de>
4275 * gdb.cp/stub-array-size.cc: New test.
4276 * gdb.cp/stub-array-size.exp: New file.
4277 * gdb.cp/stub-array-size.h: New test.
4278 * gdb.cp/stub-array-size2.cc: New test.
4280 2020-04-30 Hannes Domani <ssbssa@yahoo.de>
4282 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
4283 output to the new format.
4285 2020-04-29 Simon Marchi <simon.marchi@efficios.com>
4287 * gdb.base/break.exp: Use with_test_prefix.
4289 2020-04-29 Tom de Vries <tdevries@suse.de>
4291 * lib/gdb.exp (debug_types): New proc.
4292 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
4293 * gdb.python/py-symtab.exp: Same.
4295 2020-04-29 Hannes Domani <ssbssa@yahoo.de>
4298 * gdb.base/pretty-array.c: New test.
4299 * gdb.base/pretty-array.exp: New file.
4301 2020-04-29 Tom de Vries <tdevries@suse.de>
4304 * gdb.cp/cpexprs.exp: Adapt for inclusion.
4305 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
4306 and include cpexprs.exp.
4308 2020-04-28 Mark Williams <mark@myosotissp.com>
4311 * dw4-toplevel-types.exp: Test for top level types.
4312 * dw4-toplevel-types.cc: Test for top level types.
4314 2020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4316 * gdb.threads/stop-with-handle.exp: Fix typo in comment
4317 (theads -> threads).
4319 2020-04-28 Tom de Vries <tdevries@suse.de>
4321 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
4323 2020-04-28 Tom de Vries <tdevries@suse.de>
4325 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
4327 2020-04-28 Tom de Vries <tdevries@suse.de>
4329 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
4331 2020-04-28 Tom de Vries <tdevries@suse.de>
4333 * gdb.dwarf2/main-foo.c: New test.
4334 * gdb.dwarf2/struct-with-sig.exp: New file.
4336 2020-04-25 Tom de Vries <tdevries@suse.de>
4338 * boards/debug-types.exp: New file.
4340 2020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
4342 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
4344 2020-04-24 Tom Tromey <tom@tromey.com>
4347 * gdb.python/py-symbol.exp: Update expected results for
4349 * gdb.cp/print-demangle.exp: New file.
4350 * gdb.base/c-linkage-name.exp: Fix test.
4351 * gdb.guile/scm-symbol.exp: Update expected results for
4354 2020-04-24 Tom Tromey <tom@tromey.com>
4356 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
4357 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
4358 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
4361 2020-04-24 Tom de Vries <tdevries@suse.de>
4363 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
4366 2020-04-24 Tom Tromey <tromey@adacore.com>
4368 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
4370 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
4371 values. Update test for minimal encodings.
4372 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
4373 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
4374 values. Update test for minimal encodings.
4376 2020-04-24 Tom Tromey <tromey@adacore.com>
4379 * gdb.ada/variant.exp: Add Python checks.
4380 * gdb.rust/simple.exp: Add dynamic type checks.
4382 2020-04-24 Tom Tromey <tromey@adacore.com>
4384 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
4385 Make array type matching more lax.
4386 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
4387 * gdb.ada/mi_variant.exp: New file.
4388 * gdb.ada/mi_variant/pck.ads: New file.
4389 * gdb.ada/mi_variant/pkg.adb: New file.
4390 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
4391 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
4393 2020-04-24 Tom Tromey <tromey@adacore.com>
4395 * gdb.ada/variant.exp: Add dynamic field offset tests.
4396 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
4397 * gdb.ada/variant/pkg.adb: Add new variables.
4399 2020-04-24 Tom Tromey <tromey@adacore.com>
4401 * gdb.ada/variant.exp: New file
4402 * gdb.ada/variant/pkg.adb: New file
4403 * gdb.ada/variant/pck.adb: New file
4405 2020-04-24 Tom de Vries <tdevries@suse.de>
4407 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
4409 2020-04-24 Tom de Vries <tdevries@suse.de>
4411 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
4414 2020-04-24 Tom de Vries <tdevries@suse.de>
4416 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
4418 2020-04-24 Tom de Vries <tdevries@suse.de>
4420 * lib/gdb.exp (default_gdb_start): Handle eof.
4421 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
4423 * gdb.base/readnever.exp: Handle clean_restart failure.
4425 2020-04-23 Tom de Vries <tdevries@suse.de>
4427 * gdb.base/decl-before-def.exp: Run to main and print a again.
4429 2020-04-23 Tom de Vries <tdevries@suse.de>
4431 * gdb.base/decl-before-def-decl.c: New test.
4432 * gdb.base/decl-before-def-def.c: New test.
4433 * gdb.base/decl-before-def.exp: New file.
4435 2020-04-23 Tom de Vries <tdevries@suse.de>
4437 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
4439 2020-04-22 Tom de Vries <tdevries@suse.de>
4441 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
4443 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
4444 before $objsfile in the line line.
4446 2020-04-22 Tom de Vries <tdevries@suse.de>
4448 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
4450 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4452 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
4453 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
4454 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
4455 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
4456 * gdb.base/jit-protocol.h: Update definitions to match all usage
4459 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4461 * gdb.base: Rename all jit related test and source files.
4463 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
4465 * gdb.base/jit-reader.exp: Relax register output check.
4467 2020-04-22 Tom de Vries <tdevries@suse.de>
4470 * gdb.base/psym-external-decl-2.c: New test.
4471 * gdb.base/psym-external-decl.c: New test.
4472 * gdb.base/psym-external-decl.exp: New file.
4473 * gdb.threads/tls.exp: Add PR25807 kfail.
4475 2020-04-22 Tom de Vries <tdevries@suse.de>
4478 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
4479 in "info source" output.
4481 2020-04-22 Tom de Vries <tdevries@suse.de>
4484 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
4485 symtab for imported_unit.c.
4487 2020-04-21 Gary Benson <gbenson@redhat.com>
4489 * gdb.base/advance.c (func): New argument, to match call site.
4490 (func2, func3): Add return statements.
4492 2020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4494 * gdb.multi/run-only-second-inf.c: New file.
4495 * gdb.multi/run-only-second-inf.exp: New file.
4497 2020-04-21 Markus Metzger <markus.t.metzger@intel.com>
4499 * gdb.btrace/multi-inferior.c: New test.
4500 * gdb.btrace/multi-inferior.exp: New file.
4502 2020-04-21 Markus Metzger <markus.t.metzger@intel.com>
4504 * gdb.btrace/enable-new-thread.c: New test.
4505 * gdb.btrace/enable-new-thread.exp: New file.
4507 2020-04-21 Tom de Vries <tdevries@suse.de>
4510 * gdb.threads/killed-outside.c: New test.
4511 * gdb.threads/killed-outside.exp: New file.
4513 2020-04-20 Gary Benson <gbenson@redhat.com>
4515 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
4516 * gdb.base/nested-subp2.exp: Likewise.
4517 * gdb.base/nested-subp3.exp: Likewise.
4519 2020-04-20 Gary Benson <gbenson@redhat.com>
4521 * gdb.base/nested-subp1.exp: Disable test when using clang.
4522 * gdb.base/nested-subp2.exp: Likewise.
4523 * gdb.base/nested-subp3.exp: Likewise.
4525 2020-04-20 Gary Benson <gbenson@redhat.com>
4527 * gdb.cp/exception.cc: Fix compilation error with clang.
4529 2020-04-20 Gary Benson <gbenson@redhat.com>
4531 * gdb.trace/tspeed.c: Fix compilation error with clang.
4533 2020-04-20 Gary Benson <gbenson@redhat.com>
4535 * gdb.base/jit-main.c: Fix compilation error with clang.
4537 2020-04-17 Kamil Rytarowski <n54@gmx.com>
4539 * gdb.base/attach-twice.c: Include "sys/types.h".
4540 (PTRACE_ATTACH): Add fallback definition.
4541 (main): Pass `0' to the 4th argument of `ptrace'.
4543 2020-04-17 Kamil Rytarowski <n54@gmx.com>
4545 * gdb.base/fork-running-state.c: Include "signal.h".
4547 2020-04-17 Tom Tromey <tromey@adacore.com>
4549 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
4551 * gdb.btrace/cpu.exp: Update tests.
4552 * gdb.base/maint.exp: Update tests.
4553 * gdb.base/default.exp: Update tests.
4554 * gdb.base/completion.exp: Update tests.
4556 2020-04-16 Tom de Vries <tdevries@suse.de>
4559 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
4560 (ensure_gdb_index): and factor out and move ...
4561 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
4562 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
4564 2020-04-16 Tom de Vries <tdevries@suse.de>
4566 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
4569 2020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
4571 * gdb.base/many-completions.exp: New file.
4573 2020-04-14 Tom de Vries <tdevries@suse.de>
4576 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
4578 2020-04-14 Tom de Vries <tdevries@suse.de>
4581 * gdb.base/maint-expand-symbols-header-file.c: New test.
4582 * gdb.base/maint-expand-symbols-header-file.exp: New file.
4583 * gdb.base/maint-expand-symbols-header-file.h: New test.
4585 2020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
4587 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
4588 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
4590 (get_func_info): Delete.
4591 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
4592 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
4593 * lib/dwarf.exp (get_func_info): New function.
4595 2020-04-13 Tom de Vries <tdevries@suse.de>
4597 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
4598 to what find_gnatmake does.
4600 2020-04-10 Tom de Vries <tdevries@suse.de>
4602 * gdb.base/style.exp: Expect "Expanding full symbols" message for
4605 2020-04-10 Tom de Vries <tdevries@suse.de>
4608 * gdb.base/style.c: Add leading newlines.
4609 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
4610 Check listing of main's one-line body.
4612 2020-04-08 Tom de Vries <tdevries@suse.de>
4614 * lib/gdb.exp (psymtabs_p): New proc.
4615 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
4616 importing unit" unsupported if there are no partial symbols.
4618 2020-04-08 Tom de Vries <tdevries@suse.de>
4621 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
4623 2020-04-07 Tom de Vries <tdevries@suse.de>
4626 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
4628 2020-04-07 Tom de Vries <tdevries@suse.de>
4630 * gdb.base/check-psymtab.c: New test.
4631 * gdb.base/check-psymtab.exp: New file.
4633 2020-04-06 Tom Tromey <tromey@adacore.com>
4635 * gdb.ada/variant-record/proc.adb: New file.
4636 * gdb.ada/variant-record/value.adb: New file.
4637 * gdb.ada/variant-record/value.s: New file.
4638 * gdb.ada/variant-record.exp: New file.
4640 2020-04-03 Hannes Domani <ssbssa@yahoo.de>
4643 * gdb.cp/typed-enum.cc: New test.
4644 * gdb.cp/typed-enum.exp: New file.
4646 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4648 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
4649 * gdb.dwarf2/dw2-inline-small-func.c: New file.
4650 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
4651 * gdb.dwarf2/dw2-inline-small-func.h: New file.
4652 * gdb.opt/inline-small-func.c: New file.
4653 * gdb.opt/inline-small-func.exp: New file.
4654 * gdb.opt/inline-small-func.h: New file.
4656 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4658 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
4661 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
4663 * lib/dwarf.exp (function_range): Allow compiler options to be
4666 2020-04-02 Tom de Vries <tdevries@suse.de>
4668 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
4669 __attribute__((always_inline)).
4670 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
4672 2020-04-02 Tom de Vries <tdevries@suse.de>
4674 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
4675 (gdbserver_gdb_exit): ... here. Add timeout warning.
4676 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
4677 (connect_target_extended_remote): Append new server_spawn_id to
4679 (cleanup): New proc.
4680 (setup, <toplevel>): Call cleanup.
4682 2020-04-02 Tom de Vries <tdevries@suse.de>
4684 * gdb.base/main-psymtab.exp: New file.
4686 2020-04-02 Tom de Vries <tdevries@suse.de>
4688 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
4690 2020-04-01 Tom Tromey <tom@tromey.com>
4692 * gdb.base/complex-parts.exp: Add type tests.
4694 2020-04-01 Tom Tromey <tom@tromey.com>
4696 * gdb.base/complex-parts.exp: Add arithmetic tests.
4698 2020-04-01 Tom Tromey <tom@tromey.com>
4700 * gdb.compile/compile.exp: Update.
4701 * gdb.compile/compile-cplus.exp: Update.
4702 * gdb.base/varargs.exp: Update.
4703 * gdb.base/floatn.exp: Update.
4704 * gdb.base/endianity.exp: Update.
4705 * gdb.base/callfuncs.exp (do_function_calls): Update.
4706 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
4707 (complex_float_integral_args): Update.
4708 * gdb.base/complex.exp: Update.
4709 * gdb.base/complex-parts.exp: Update.
4711 2020-04-01 Tom Tromey <tromey@adacore.com>
4713 * gdb.rust/union.rs: New file.
4714 * gdb.rust/union.exp: New file.
4715 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
4717 * gdb.rust/simple.exp: Move union tests to union.exp.
4719 2020-04-01 Tom Tromey <tromey@adacore.com>
4721 * gdb.rust/simple.rs (main): Remove "y0".
4723 2020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4725 * gdb.multi/stop-all-on-exit.c: New test.
4726 * gdb.multi/stop-all-on-exit.exp: New file.
4728 2020-04-01 Hannes Domani <ssbssa@yahoo.de>
4731 * gdb.cp/misc.cc: Add integer reference variable.
4732 * gdb.cp/misc.exp: Add test.
4734 2020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4736 * gdb.server/stop-reply-no-thread.exp: Enhance the test
4737 scenario to cover execution until the end and also the case
4739 2020-03-31 Tom de Vries <tdevries@suse.de>
4741 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
4742 c. Use "maint info symtabs" to check symtab expansion.
4744 2020-03-30 Tom de Vries <tdevries@suse.de>
4746 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
4748 (verify_psymtab_expanded): Move ...
4749 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
4751 (readnow): New proc.
4753 2020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4755 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
4758 2020-03-20 Tom Tromey <tromey@adacore.com>
4760 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
4762 2020-03-20 Tom Tromey <tromey@adacore.com>
4764 * gdb.ada/sub_variant/subv.adb: New file.
4765 * gdb.ada/sub_variant.exp: New file.
4767 2020-03-20 Tom de Vries <tdevries@suse.de>
4769 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
4771 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
4773 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4775 * gdb.server/exit-multiple-threads.c: New file.
4776 * gdb.server/exit-multiple-threads.exp: New file.
4778 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4780 * gdb.fortran/mixed-lang-stack.c: New file.
4781 * gdb.fortran/mixed-lang-stack.cpp: New file.
4782 * gdb.fortran/mixed-lang-stack.exp: New file.
4783 * gdb.fortran/mixed-lang-stack.f90: New file.
4785 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4787 * gdb.linespec/cp-completion-aliases.cc: New file.
4788 * gdb.linespec/cp-completion-aliases.exp: New file.
4790 2020-03-19 Tom de Vries <tdevries@suse.de>
4792 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
4795 2020-03-18 Tom de Vries <tdevries@suse.de>
4797 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
4798 * gdb.dwarf2/break-inline-psymtab.c: New test.
4799 * gdb.dwarf2/break-inline-psymtab.exp: New file.
4801 2020-03-16 Tom de Vries <tdevries@suse.de>
4803 * lib/cache.exp (gdb_do_cache): Add and handle local variables
4804 cache_verify and cache_verify_proc.
4806 2020-03-15 Tom de Vries <tdevries@suse.de>
4808 * gdb.server/solib-list.exp: Handle
4809 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
4811 2020-03-15 Tom de Vries <tdevries@suse.de>
4813 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
4816 2020-03-14 Tom Tromey <tom@tromey.com>
4818 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
4820 2020-03-14 Tom de Vries <tdevries@suse.de>
4822 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
4824 2020-03-14 Tom de Vries <tdevries@suse.de>
4826 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
4827 result in line-by-line fashion.
4829 2020-03-14 Tom de Vries <tdevries@suse.de>
4831 * lib/gdb.exp (supports_statement_frontiers): New proc.
4832 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
4834 2020-03-14 Tom de Vries <tdevries@suse.de>
4836 * gdb.base/printcmds.exp: Add missing quoting for "print
4839 2020-03-13 Tom Tromey <tom@tromey.com>
4841 * gdb.base/printcmds.exp (test_print_strings): Add regression
4843 * gdb.base/printcmds.c (charptr): New typedef.
4844 (teststring2): New global.
4846 2020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
4848 * gdb.base/break-interp.exp: Use the tail of the filename, not the
4849 full path in the test name.
4850 (test_ld): Add some with_test_prefix blocks to make test names
4853 2020-03-13 Tom de Vries <tdevries@suse.de>
4855 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
4857 2020-03-13 Tom de Vries <tdevries@suse.de>
4859 * gdb.mi/mi-sym-info.exp: Make matching more precise.
4861 2020-03-13 Tom de Vries <tdevries@suse.de>
4864 * gdb.dwarf2/imported-unit.exp: Add test.
4866 2020-03-13 Tom de Vries <tdevries@suse.de>
4868 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
4869 (var1, var2): New variable.
4870 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
4873 2020-03-13 Tom de Vries <tdevries@suse.de>
4875 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
4876 (Term::command): Use prompt prefix.
4877 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
4878 * gdb.tui/tui-layout-asm-short-prog.exp: Use
4879 command_no_prompt_prefix instead of prefix.
4880 * gdb.tui/tui-layout-asm.exp: Same.
4882 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
4884 * gdb.base/break-interp.exp: Use foreach_with_prefix.
4886 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
4888 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
4889 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
4890 on" while stepping over the test instruction, match printed
4893 2020-03-12 Tom de Vries <tdevries@suse.de>
4895 * gdb.base/info-types.exp: Use exp_continue during matching of output
4898 2020-03-12 Tom de Vries <tdevries@suse.de>
4900 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
4902 2020-03-12 Tom de Vries <tdevries@suse.de>
4904 * gdb.fortran/module.exp: Use exp_continue during matching of output
4905 of "info variable -n".
4907 2020-03-12 Tom de Vries <tdevries@suse.de>
4909 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
4910 gdb.dwarf2/dw2-ranges-base.c.
4912 2020-03-12 Tom de Vries <tdevries@suse.de>
4914 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
4915 in presence of GLIBC debuginfo.
4917 2020-03-12 Tom de Vries <tdevries@suse.de>
4919 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
4922 2020-03-12 Tom de Vries <tdevries@suse.de>
4924 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
4927 2020-03-11 Simon Marchi <simon.marchi@efficios.com>
4929 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
4930 from Unix to Windows path.
4932 2020-03-11 Tom de Vries <tdevries@suse.de>
4934 * gdb.ada/minsyms.exp: Set language to ada.
4936 2020-03-11 Tom de Vries <tdevries@suse.de>
4938 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
4940 2020-03-11 Tom de Vries <tdevries@suse.de>
4942 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
4944 2020-03-11 Tom Tromey <tromey@adacore.com>
4946 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
4948 2020-03-11 Tom de Vries <tdevries@suse.de>
4950 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
4952 2020-03-11 Tom de Vries <tdevries@suse.de>
4954 * gdb.base/break-interp.exp: Limit verbose scope.
4956 2020-03-11 Tom de Vries <tdevries@suse.de>
4958 * gdb.fortran/logical.f90: Define variable with character type.
4959 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
4961 2020-03-11 Tom de Vries <tdevries@suse.de>
4963 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
4965 2020-03-11 Tom de Vries <tdevries@suse.de>
4967 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
4970 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
4971 Bernd Edlinger <bernd.edlinger@hotmail.de>
4973 * gdb.cp/step-and-next-inline.cc: New file.
4974 * gdb.cp/step-and-next-inline.exp: New file.
4975 * gdb.cp/step-and-next-inline.h: New file.
4976 * gdb.dwarf2/dw2-is-stmt.c: New file.
4977 * gdb.dwarf2/dw2-is-stmt.exp: New file.
4978 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
4979 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
4980 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
4982 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
4984 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
4985 is-stmt flag in the line table.
4987 2020-03-09 Tom de Vries <tdevries@suse.de>
4989 * lib/gdb.exp (cached_file): Create cache dir.
4991 2020-03-07 Tom de Vries <tdevries@suse.de>
4993 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
4994 * gdb.cp/rvalue-ref-params.exp: Same.
4996 2020-03-06 Tom de Vries <tdevries@suse.de>
4998 * lib/gdb.exp (tentative_rename, cached_file): New proc.
4999 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
5001 2020-03-06 Tom de Vries <tdevries@suse.de>
5003 * README: Fix "the the".
5004 * gdb.base/dprintf.exp: Same.
5006 2020-03-05 Tom de Vries <tdevries@suse.de>
5008 * gdb.base/maint.exp: Update "main print statistics" expected output.
5010 2020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
5012 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
5013 (fortran_int8): Likewise.
5014 (fortran_real4): Likewise.
5015 (fortran_real8): Likewise.
5016 (fortran_complex4): Likewise.
5017 (fortran_logical4): Likewise.
5018 (fortran_character1): Likewise.
5020 2020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
5022 * gdb.fortran/logical.exp: Add tests that any non-zero value is
5025 2020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
5027 * gdb.base/printcmds.exp: Add test to verify printf of a
5028 variable holding an address.
5030 2020-03-03 Tom de Vries <tdevries@suse.de>
5032 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
5034 2020-03-03 Tom de Vries <tdevries@suse.de>
5036 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
5037 gdb_test_multiple call.
5039 2020-03-03 Tom de Vries <tdevries@suse.de>
5041 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
5042 gdb_test_multiple calls.
5044 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
5046 * gdb.base/default.exp: Remove test of 'set history filename'.
5047 * gdb.base/gdbinit-history.exp: Add tests for setting the history
5048 filename to the empty string.
5049 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
5052 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
5054 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
5057 2020-03-02 Pedro Alves <palves@redhat.com>
5058 Tom de Vries <tdevries@suse.de>
5060 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
5061 -prompt prefix, before user_code argument. Add -lbl option likewise.
5062 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
5063 (gdb_is_target_1): Add -prompt prefix and move to before user_code
5065 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
5066 have "\r\n" at start-of-line, instead of at end-of-line.
5068 2020-02-28 Simon Marchi <simon.marchi@efficios.com>
5070 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
5073 2020-02-28 Luis Machado <luis.machado@linaro.org>
5075 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
5078 2020-02-28 Luis Machado <luis.machado@linaro.org>
5080 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
5081 asm/ptrace.h and error.h.
5083 2020-02-28 Tom de Vries <tdevries@suse.de>
5085 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
5086 (struct wrapper, do_something, mundane/symada__cS): Move ...
5087 * gdb.base/c-linkage-name-2.c: ... here. New source file.
5088 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
5089 Update "print symada__cS before partial symtab expansion" regexp.
5090 Update breakpoint location. Flush symbol cache after expansion.
5092 2020-02-28 Luis Machado <luis.machado@linaro.org>
5094 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
5096 2020-02-27 Tom de Vries <tdevries@suse.de>
5098 * config/sid.exp: Remove unused globals.
5099 * gdb.base/attach.exp: Same.
5100 * gdb.base/catch-load.exp: Same.
5101 * gdb.base/dbx.exp: Same.
5102 * lib/gdb.exp: Same.
5103 * lib/mi-support.exp: Same.
5104 * lib/prompt.exp: Same.
5106 2020-02-27 Tom de Vries <tdevries@suse.de>
5108 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
5111 2020-02-26 Aaron Merey <amerey@redhat.com>
5113 * gdb.debuginfod: New directory for debuginfod tests.
5114 * gdb.debuginfod/main.c: New test file.
5115 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
5117 2020-02-26 Tom de Vries <tdevries@suse.de>
5120 * gdb.base/persistent-lang.cc: New test.
5121 * gdb.base/persistent-lang.exp: New file.
5123 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
5125 * gdb.fortran/derived-type-striding.exp: Add a new test.
5126 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
5129 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
5131 * gdb.base/cached-source-file.exp: Avoid source file paths in test
5134 2020-02-25 Tom de Vries <tdevries@suse.de>
5137 * gdb.go/methods.exp: Remove gcc/93866 xfail.
5139 2020-02-24 Tom de Vries <tdevries@suse.de>
5142 * gdb.base/info-locals-unused-static-var.c: New test.
5143 * gdb.base/info-locals-unused-static-var.exp: New file.
5145 2020-02-22 Tom Tromey <tom@tromey.com>
5147 * gdb.python/tui-window.exp: New file.
5148 * gdb.python/tui-window.py: New file.
5150 2020-02-22 Tom Tromey <tom@tromey.com>
5153 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
5156 2020-02-22 Tom Tromey <tom@tromey.com>
5158 * gdb.tui/new-layout.exp: Add sub-layout tests.
5160 2020-02-22 Tom Tromey <tom@tromey.com>
5162 * gdb.tui/new-layout.exp: New file.
5164 2020-02-22 Tom Tromey <tom@tromey.com>
5166 * gdb.rust/rust-style.rs: New file.
5167 * gdb.rust/rust-style.exp: New file.
5168 * gdb.base/style.exp: Test structure printing.
5169 * gdb.base/style.c (struct some_struct): New type.
5170 (enum etype): New type.
5171 (struct_value): New global.
5173 2020-02-21 Tom de Vries <tdevries@suse.de>
5176 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
5177 Remove blanket xfails. Use message argument for gdb_breakpoint.
5178 Make continuing to breakpoint test conditional on setting breakpoint.
5179 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
5180 DW_AT_name attribute. Add xfail for GCC PR93866.
5182 2020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
5184 * gdb.dwarf2/cpp-linkage-name.c: New file.
5185 * gdb.dwarf2/cpp-linkage-name.exp: New file.
5187 2020-02-21 Shahab Vahedi <shahab@synopsys.com>
5189 * lib/gdb.exp (gdb_wrapper_init): Reset
5190 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
5193 2020-02-20 Tom de Vries <tdevries@suse.de>
5196 * gdb.go/hello.exp: Copy ...
5197 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
5198 print of st to print value of global definition. Add xfail for GCC
5200 * gdb.go/hello.exp: Remove printing of st before definition.
5201 * gdb.go/hello.go: Copy ...
5202 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
5204 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
5206 2020-02-20 Tom de Vries <tdevries@suse.de>
5208 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
5209 (gdb_simple_compile): Handle compile_flags go by using .go extension
5211 * gdb.go/chan.exp: Use support_go_compile.
5212 * gdb.go/handcall.exp: Same.
5213 * gdb.go/hello.exp: Same.
5214 * gdb.go/integers.exp: Same.
5215 * gdb.go/max-depth.exp: Same.
5216 * gdb.go/methods.exp: Same.
5217 * gdb.go/package.exp: Same.
5218 * gdb.go/strings.exp: Same.
5219 * gdb.go/types.exp: Same.
5220 * gdb.go/unsafe.exp: Same.
5222 2020-02-19 Tom de Vries <tdevries@suse.de>
5224 * gdb.python/lib-types.exp: Make xfail more strict.
5226 2020-02-19 Tom de Vries <tdevries@suse.de>
5228 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
5230 2020-02-19 Doug Evans <dje@google.com>
5233 * gdb.rust/simple.exp: Add test.
5234 * gdb.rust/simple.rs: Add test.
5236 2020-02-19 Tom de Vries <tdevries@suse.de>
5238 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
5239 output line-by-line.
5241 2020-02-19 Tom de Vries <tdevries@suse.de>
5243 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
5245 2020-02-19 Tom de Vries <tdevries@suse.de>
5247 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
5250 2020-02-19 Tom de Vries <tdevries@suse.de>
5252 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
5253 (gdb_do_cache): Use gdb_do_cache_wrap.
5254 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
5256 2020-02-19 Tom de Vries <tdevries@suse.de>
5258 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
5261 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
5263 * gdb.base/printcmds.exp (test_print_enums): Update expected
5266 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
5268 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
5271 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
5273 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
5276 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
5278 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
5281 (enum flag_enum_without_zero): New enum.
5282 (flag_enum_without_zero): New variable.
5283 (enum not_flag_enum): New enum.
5284 (three_not_flag): New variable.
5285 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
5286 (test_print_enums): Add more tests for printing flag enums.
5288 2020-02-18 Tom de Vries <tdevries@suse.de>
5290 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
5291 (gdb_compile_ada): ... here.
5292 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
5293 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
5295 2020-02-14 Tom Tromey <tom@tromey.com>
5297 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
5299 * boards/gdbserver-base.exp: Update path to gdbserver.
5301 2020-02-13 Tom de Vries <tdevries@suse.de>
5303 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
5305 2020-02-13 Tom de Vries <tdevries@suse.de>
5307 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
5310 2020-02-13 Tom de Vries <tdevries@suse.de>
5312 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
5315 2020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
5318 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
5319 * gdb.base/cached-source-file.c: New file.
5320 * gdb.base/cached-source-file.exp: New file.
5322 2020-02-11 Tom de Vries <tdevries@suse.de>
5325 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
5327 2020-02-10 Tom de Vries <tdevries@suse.de>
5329 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
5331 2020-02-10 Maciej W. Rozycki <macro@wdc.com>
5333 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
5334 and $after_addr are both integers before making a comparison.
5336 2020-02-09 Tom de Vries <tdevries@suse.de>
5338 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
5339 command output and paste it into gdb.log. If any, paste catch message
5342 2020-02-07 Tom Tromey <tromey@adacore.com>
5344 PR breakpoints/24915:
5345 * gdb.base/annotate-symlink.exp: Use setup_xfail.
5347 2020-02-06 Shahab Vahedi <shahab@synopsys.com>
5349 * gdb.tui/tui-missing-src.exp: Add the "missing source
5350 file" test for the TUI.
5352 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
5354 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
5355 including a port number in the output.
5357 2020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
5359 * lib/fortran.exp (fortran_int4): Handle clang.
5360 (fortran_int8): Likewise.
5361 (fortran_real4): Likewise.
5362 (fortran_real8): Likewise.
5363 (fortran_complex4): Likewise.
5364 (fortran_logical4): Likewise.
5365 (fortran_character1): Likewise.
5367 2020-02-04 Tom de Vries <tdevries@suse.de>
5369 * README (Race detection): Add note.
5371 2020-02-04 Tom de Vries <tdevries@suse.de>
5373 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
5375 2020-02-04 Tom de Vries <tdevries@suse.de>
5377 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
5379 2020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
5381 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
5382 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
5383 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
5385 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
5386 binary for blttar, bnetarl.
5387 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
5388 wait instruction. Delete ldmx test.
5389 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
5391 2020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
5393 * gdb.fortran/array-bounds-high.exp: New file.
5394 * gdb.fortran/array-bounds-high.f90: New file.
5396 2020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
5398 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
5399 Replace #include of <sys/fcntl.h> by <fcntl.h>.
5401 2020-02-01 Tom de Vries <tdevries@suse.de>
5403 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
5405 2020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
5408 * gdb.tui/tui-layout-asm-short-prog.S: New file.
5409 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
5411 2020-01-29 Luis Machado <luis.machado@linaro.org>
5413 * gdb.arch/aarch64-brk-patterns.c: New source file.
5414 * gdb.arch/aarch64-brk-patterns.exp: New test.
5416 2020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5418 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
5420 * gdb.cp/pass-by-ref.exp: Ditto.
5422 2020-01-29 Tom de Vries <tdevries@suse.de>
5424 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
5425 * gdb.threads/watchpoint-fork-mt.c: Same.
5426 * gdb.threads/watchpoint-fork-parent.c: Same.
5427 * gdb.threads/watchpoint-fork-st.c: Same.
5428 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
5430 2020-01-27 Luis Machado <luis.machado@linaro.org>
5432 * gdb.base/step-over-syscall.exp (setup): Check if we're already
5433 sitting at a syscall instruction when we hit the syscall function's
5435 Check PC against one obtained with the x command.
5436 Validate syscall number.
5437 (step_over_syscall): Don't continue to the syscall instruction if
5438 we're already there.
5440 2020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5442 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
5444 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5446 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
5447 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
5449 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5451 * gdb.dwarf2/dw2-inline-stepping.c: New file.
5452 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
5454 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5456 * gdb.base/maint.exp: Update line table parsing test.
5457 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
5459 2020-01-24 Pedro Alves <palves@redhat.com>
5462 * gdb.multi/multi-re-run-1.c: New.
5463 * gdb.multi/multi-re-run-2.c: New.
5464 * gdb.multi/multi-re-run.exp: New.
5466 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5469 * gdb.server/server-kill-python.exp: New file.
5471 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5473 * gdb.server/multi-ui-errors.c: New file.
5474 * gdb.server/multi-ui-errors.exp: New file.
5476 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
5479 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
5481 2020-01-19 Tom Tromey <tom@tromey.com>
5483 * gdb.tui/main.exp: Add check for plain "file".
5485 2020-01-16 Christian Biesinger <cbiesinger@google.com>
5487 * lib/gdb.exp: Fix spelling error (seperatelly).
5489 2020-01-14 Tom Tromey <tom@tromey.com>
5492 * gdb.python/python.exp: Test decode_line with empty string
5495 2020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
5497 * gdb.base/skip-inline.exp: Extend test.
5499 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5501 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
5502 * gdb.dwarf2/dw2-bad-elf.c: New file.
5503 * gdb.dwarf2/dw2-bad-elf.exp: New file.
5505 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5507 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
5510 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
5512 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
5515 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5517 * gdb.multi/multi-target.exp (setup): Factor out "info
5518 connections" and "info inferiors" tests to ...
5519 (test_info_inferiors): ... this new procedure.
5520 (top level): Run new "info-inferiors" tests.
5522 2020-01-10 Pedro Alves <palves@redhat.com>
5524 * gdb.server/bkpt-other-inferior.exp: New file.
5526 2020-01-10 Pedro Alves <palves@redhat.com>
5528 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
5530 * gdb.base/quit-live.exp: Likewise.
5531 * gdb.base/remote-exec-file.exp: Likewise.
5532 * gdb.guile/scm-progspace.exp: Likewise.
5533 * gdb.linespec/linespec.exp: Likewise.
5534 * gdb.mi/new-ui-mi-sync.exp: Likewise.
5535 * gdb.mi/user-selected-context-sync.exp: Likewise.
5536 * gdb.multi/multi-target.exp (setup): Add "info connection" and
5537 "info inferiors" tests.
5538 * gdb.multi/remove-inferiors.exp: Adjust expected output of
5540 * gdb.multi/watchpoint-multi.exp: Likewise.
5541 * gdb.python/py-inferior.exp: Likewise.
5542 * gdb.server/extended-remote-restart.exp: Likewise.
5543 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
5545 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
5546 * gdb.trace/report.exp: Likewise.
5548 2020-01-10 Pedro Alves <palves@redhat.com>
5550 * gdb.multi/multi-target.c: New file.
5551 * gdb.multi/multi-target.exp: New file.
5552 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
5553 mode requested, but remote does not support non-stop".
5555 2020-01-10 Pedro Alves <palves@redhat.com>
5557 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
5558 disconnect before reconnecting.
5560 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5561 Pedro Alves <palves@redhat.com>
5563 * gdb.server/connect-without-multi-process.exp: Also test
5566 2020-01-10 Pedro Alves <palves@redhat.com>
5568 * gdb.base/remote-exec-file.exp: New file.
5570 2020-01-10 Pedro Alves <palves@redhat.com>
5572 * gdb.base/fork-running-state.exp (do_test): Adjust expected
5574 * gdb.threads/async.c: New.
5575 * gdb.threads/async.exp: New.
5576 * gdb.multi/tids-gid-reset.c: New.
5577 * gdb.multi/tids-gid-reset.exp: New.
5579 2020-01-10 George Barrett <bob@bob131.so>
5581 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
5582 to help in finding the image relocation offset.
5583 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
5584 options in arguments.
5585 (stap_test_no_debuginfo): Likewise.
5586 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
5588 (stap_test): Add null semaphore relocation test.
5590 2020-01-10 George Barrett <bob@bob131.so>
5592 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
5593 * gdb.base/stap-probe.exp: Likewise.
5594 (stap_test): Pass argument as an additional flag.
5595 (stap_test_no_debuginfo): Likewise.
5596 (stap_test): Check `info probes stap' output for semaphore
5597 addresses if the test binary is supposed to have them.
5599 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5601 * gdb.tui/basic.exp: Add more scrolling tests.
5603 2020-01-09 Tom Tromey <tom@tromey.com>
5606 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
5608 (Term::command, Term::resize): Update.
5609 * gdb.tui/basic.exp: Add scrolling test.
5611 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5613 * gdb.tui/tui-layout-asm.exp: New file.
5615 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5617 * lib/tuiterm.exp (Term::check_box_contents): New proc.
5619 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5621 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
5622 (Term::enter_tui): Use Term::prepare_for_tui.
5624 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5626 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
5629 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5631 * gdb.base/skip.exp: Fix race condition in test.
5633 2020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
5635 * gdb.base/backtrace.c: New file.
5636 * gdb.base/backtrace.exp: New file.
5638 2020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
5640 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
5642 2020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5644 * gdb.base/style.exp: Test that warnings are styled.
5646 2019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
5648 * gdb.base/line65535.exp: New file.
5649 * gdb.base/line65535.c: New file.
5651 2019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
5653 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
5654 * lib/gnat_debug_info_test.adb: New file.
5655 * gdb.ada/ptype_tagged_param.exp: Use
5656 gnat_runtime_has_debug_info, expect a different output if
5657 runtime does not have debug info.
5659 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
5661 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
5662 (another) quote in test name.
5664 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
5666 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
5667 Add quote in test name.
5669 2019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5671 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
5673 * gdb.cp/pass-by-ref.exp: Extend with more cases.
5674 * gdb.cp/pass-by-ref-2.cc: New file.
5675 * gdb.cp/pass-by-ref-2.exp: New file.
5677 2019-12-20 Tom Tromey <tom@tromey.com>
5679 * gdb.tui/list-before.exp: New file.
5681 2019-12-20 Tom Tromey <tom@tromey.com>
5683 * gdb.tui/list.exp: Check for source on initial listing.
5685 2019-12-11 Tom Tromey <tromey@adacore.com>
5687 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
5690 2019-12-18 Simon Marchi <simon.marchi@efficios.com>
5692 * gdb.base/default.exp: Update value of $_gdb_major.
5694 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
5696 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
5698 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
5700 * gdb.base/skip.exp: Whitespace fix.
5702 2019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
5704 * gdb.base/skip-inline.c: New file.
5705 * gdb.base/skip-inline.exp: New file.
5707 2019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
5709 * gdb.base/jit-reader.exp (jit_reader_test): Rename
5710 jit_function_00 to jit_function_stack_mangle.
5711 * gdb.base/jithost.c (jit_function_t): Rename to...
5712 (jit_function_stack_mangle_t): ... this.
5713 (jit_function_add_t): New typedef.
5714 (jit_function_00_code): Rename to...
5715 (jit_function_stack_mangle_code): ... this, make static.
5716 (jit_function_add_code): New.
5717 (main): Generate "add" function and call it. Adjust to changes
5719 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
5720 (struct jithost_abi) <begin, end>: Remove fields.
5721 <object, function_stack_mangle, function_add>: New fields.
5722 * gdb.base/jitreader.c (struct reader_state) <code_begin,
5723 code_end>: Remove fields.
5724 <func_stack_mangle>: New field.
5725 (read_debug_info): Adjust to renaming, create block for "add"
5727 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
5729 2019-12-11 Tom Tromey <tom@tromey.com>
5731 * gdb.tui/resize.exp: Fix regexp.
5732 * gdb.tui/regs.exp: Fix regexps.
5733 * gdb.tui/main.exp: Fix regexp.
5735 2019-12-11 Tom Tromey <tom@tromey.com>
5737 * gdb.tui/resize.exp: Update.
5738 * gdb.tui/empty.exp (layouts): Update.
5740 2019-12-11 Tom Tromey <tom@tromey.com>
5742 * gdb.tui/regs.exp: Update.
5743 * gdb.tui/empty.exp (layouts): Update.
5744 * gdb.tui/basic.exp: Update.
5745 * lib/tuiterm.exp (_check_box): Don't check bottom border.
5747 2019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5749 * gdb.base/options.exp: Add -raw-values in the print completion list.
5750 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
5752 2019-12-10 Kevin Buettner <kevinb@redhat.com>
5754 * gdb.threads/omp-par-scope.c: New file.
5755 * gdb/threads/omp-par-scope.exp: New file.
5757 2019-12-10 Kevin Buettner <kevinb@redhat.com>
5759 * lib/gdb.exp (support_nested_function_tests): New proc.
5761 2019-12-10 Kevin Buettner <kevinb@redhat.com>
5763 * lib/gdb.exp (gdb_compile_openmp): New proc.
5764 (build_executable_from_specs): Add an "openmp" option.
5765 (gdb_compile_pthreads): Add non-executable case.
5767 2019-12-10 Tom Tromey <tromey@adacore.com>
5769 * gdb.ada/unchecked_union.exp: New file.
5770 * gdb.ada/unchecked_union/pck.adb: New file.
5771 * gdb.ada/unchecked_union/pck.ads: New file.
5772 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
5773 * gdb-utils.exp (string_to_regexp): Also quote "?".
5775 2019-12-10 George Barrett <bob@bob131.so>
5777 Test scripted probe breakpoints.
5778 * gdb.guile/scm-breakpoint.c (main): Add probe point.
5779 * gdb.python/py-breakpoint.c (main): Likewise.
5780 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
5782 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
5784 2019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5786 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
5787 an rvalue parameter.
5788 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
5791 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
5793 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
5796 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
5798 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
5799 broken version of GCC.
5801 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
5803 * gdb.fortran/info-modules.exp: Rewrite to make use of new
5804 sym-info-cmds library.
5805 * gdb.fortran/info-types.exp: Likewise.
5806 * lib/sym-info-cmds.exp: New file.
5808 2019-12-08 Tom de Vries <tdevries@suse.de>
5810 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
5812 2019-12-07 Keith Seitz <keiths@redhat.com>
5814 * gdb.base/corefile-buildid-shlib-shr.c: New file.
5815 * gdb.base/corefile-buildid-shlib.c: New file.
5816 * gdb.base/corefile-buildid.c: New file.
5817 * gdb.base/corefile-buildid.exp: New file.
5819 2019-12-06 Tom de Vries <tdevries@suse.de>
5821 * gdb.dwarf2/varval.exp: Add decl before def test.
5823 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5825 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
5827 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5829 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
5830 CV and reference conversion for overload resolution.
5831 * gdb.cp/rvalue-ref-overload.exp: Test it.
5833 2019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5835 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
5836 * gdb.base/frameapply.exp: Test faas without command.
5838 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5840 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
5842 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
5845 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5847 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
5848 casting to type with no kind specified.
5849 (test_basic_parsing_of_type_kinds): Additional tests for types
5850 with no kind specified, and add tests for single/double
5851 precision/complex types.
5853 2019-12-04 Tom Tromey <tromey@adacore.com>
5855 * gdb.base/endianity.c (struct other) <x>: New field.
5856 (main): Initialize it.
5857 * gdb.base/endianity.exp: Update.
5859 2019-12-04 Tom Tromey <tromey@adacore.com>
5861 * gdb.ada/scalar_storage/storage.adb: New file.
5862 * gdb.ada/scalar_storage/pck.adb: New file.
5863 * gdb.ada/scalar_storage/pck.ads: New file.
5864 * gdb.ada/scalar_storage.exp: New file.
5866 2019-12-04 Tom Tromey <tromey@adacore.com>
5868 * gdb.base/endianity.c (struct otherendian) <f>: New field.
5869 (main): Initialize it.
5870 * gdb.base/endianity.exp: Update.
5872 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5874 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
5876 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5878 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
5879 -symbol-info-module-functions and -symbol-info-module-variables.
5881 2019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
5883 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
5885 2019-12-01 Richard Bunt <richard.bunt@arm.com>
5886 Andrew Burgess <andrew.burgess@embecosm.com>
5888 * gdb.fortran/derived-type-striding.exp: New file.
5889 * gdb.fortran/derived-type-striding.f90: New file.
5890 * gdb.fortran/array-slices.exp: New file.
5891 * gdb.fortran/array-slices.f90: New file.
5893 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5895 * gdb.base/define.exp: Test . in command names.
5896 * gdb.base/setshow.exp: Update test, as . is now part of
5899 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5901 * gdb.base/define-prefix.exp: New file.
5903 2019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
5905 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
5907 (skip_btrace_pt_tests): Likewise.
5909 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
5911 * gdb.fortran/info-modules.exp: Compile source files in correct
5914 2019-11-27 Kevin Buettner <kevinb@redhat.com>
5916 * gdb.dwarf2/imported-unit.exp: New file.
5917 * gdb.dwarf2/imported-unit.c: New file.
5919 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
5921 * gdb.mi/mi-fortran-modules-2.f90: New file.
5922 * gdb.mi/mi-fortran-modules.exp: New file.
5923 * gdb.mi/mi-fortran-modules.f90: New file.
5925 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
5927 * gdb.mi/mi-sym-info-1.c: New file.
5928 * gdb.mi/mi-sym-info-2.c: New file.
5929 * gdb.mi/mi-sym-info.exp: New file.
5931 2019-11-22 Tom Tromey <tromey@adacore.com>
5933 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
5934 * gdb.ada/tasks/foo.adb: Add another stopping location.
5936 2019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
5938 * gdb.base/endianity.c: New test.
5939 * gdb.base/endianity.exp: New file.
5941 2019-11-21 Lukas Durfina <ldurfina@tachyum.com>
5943 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
5945 2019-11-21 Tom de Vries <tdevries@suse.de>
5948 * gdb.base/ui-redirect.exp: Test output of user-defined command.
5950 2019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5952 * gdb.python/py-progspace.exp: Add missing parentheses on some
5955 2019-11-19 Tom Tromey <tom@tromey.com>
5957 * gdb.tui/winheight.exp: New file.
5959 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
5961 * gdb.base/ctf-whatis.c: Delete.
5962 * gdb.base/ctf-whatis.exp: Delete.
5963 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
5965 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
5967 * gdb.base/ctf-cvexpr.exp: Delete.
5968 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
5970 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
5972 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
5973 the compiler. Clean up header comment a little.
5974 * gdb.base/ctf-ptype.exp: Likewise.
5975 * gdb.base/ctf-whatis.exp: Likewise.
5976 * lib/gdb.exp (skip_ctf_tests): New proc.
5978 2019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
5980 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
5981 * gdb.tui/corefile-run.exp: New file.
5983 2019-11-14 Tom Tromey <tromey@adacore.com>
5985 * gdb.base/gdbvars.exp (test_convenience_variables): Add
5988 2019-11-12 Tom Tromey <tom@tromey.com>
5990 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
5991 after any command. Expect prompt after WAIT_FOR is seen.
5992 (enter_tui): Enable resize messages.
5993 (command): Expect command in output.
5994 (get_line): Avoid error when cursor appears to be off-screen.
5995 (dump_screen): Include screen size in title.
5996 (_do_resize): New proc, from "resize".
5997 (resize): Rewrite. Do resize in two steps.
5998 * gdb.tui/empty.exp (layouts): Fix entries.
5999 (check_boxes): Remove xfail.
6000 (check_text): Dump screen on failure.
6002 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
6004 * gdb.python/py-symbol.exp: Add test for
6005 gdb.lookup_static_symbols.
6007 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
6009 * gdb.python/py-symbol.c: Declare and call function from new
6011 * gdb.python/py-symbol.exp: Compile both source files, and add new
6012 tests for gdb.lookup_static_symbol.
6013 * gdb.python/py-symbol-2.c: New file.
6015 2019-11-02 Tom de Vries <tdevries@suse.de>
6017 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
6018 * gdb.base/anon.exp: Same.
6019 * gdb.base/auto-connect-native-target.exp: Same.
6020 * gdb.base/call-ar-st.exp: Same.
6021 * gdb.base/catch-syscall.exp: Same.
6022 * gdb.base/commands.exp: Same.
6023 * gdb.base/default.exp: Same.
6024 * gdb.base/display.exp: Same.
6025 * gdb.base/float.exp: Same.
6026 * gdb.base/foll-fork.exp: Same.
6027 * gdb.base/help.exp: Same.
6028 * gdb.base/info-macros.exp: Same.
6029 * gdb.base/info-proc.exp: Same.
6030 * gdb.base/info-target.exp: Same.
6031 * gdb.base/long_long.exp: Same.
6032 * gdb.base/macscp.exp: Same.
6033 * gdb.base/memattr.exp: Same.
6034 * gdb.base/nofield.exp: Same.
6035 * gdb.base/pointers.exp: Same.
6036 * gdb.base/printcmds.exp: Same.
6037 * gdb.base/ptype.exp: Same.
6038 * gdb.base/restore.exp: Same.
6039 * gdb.base/return.exp: Same.
6040 * gdb.base/scope.exp: Same.
6041 * gdb.base/set-noassign.exp: Same.
6042 * gdb.base/setshow.exp: Same.
6043 * gdb.base/shlib-call.exp: Same.
6044 * gdb.base/signals.exp: Same.
6045 * gdb.base/sigstep.exp: Same.
6046 * gdb.base/skip.exp: Same.
6047 * gdb.base/solib-symbol.exp: Same.
6048 * gdb.base/stap-probe.exp: Same.
6049 * gdb.base/step-line.exp: Same.
6050 * gdb.base/step-test.exp: Same.
6051 * gdb.base/style.exp: Same.
6052 * gdb.base/varargs.exp: Same.
6053 * gdb.base/vla-datatypes.exp: Same.
6054 * gdb.base/vla-ptr.exp: Same.
6055 * gdb.base/vla-sideeffect.exp: Same.
6056 * gdb.base/volatile.exp: Same.
6057 * gdb.base/watch-cond-infcall.exp: Same.
6058 * gdb.base/watchpoint.exp: Same.
6060 2019-11-02 Tom de Vries <tdevries@suse.de>
6062 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
6063 * gdb.cp/cpexprs.exp: Same.
6064 * gdb.cp/except-multi-location.exp: Same.
6065 * gdb.cp/exceptprint.exp: Same.
6066 * gdb.cp/gdb2384.exp: Same.
6067 * gdb.cp/inherit.exp: Same.
6068 * gdb.cp/m-static.exp: Same.
6069 * gdb.cp/meth-typedefs.exp: Same.
6070 * gdb.cp/misc.exp: Same.
6071 * gdb.cp/namespace.exp: Same.
6072 * gdb.cp/non-trivial-retval.exp: Same.
6073 * gdb.cp/overload.exp: Same.
6074 * gdb.cp/pr17132.exp: Same.
6075 * gdb.cp/re-set-overloaded.exp: Same.
6076 * gdb.cp/rvalue-ref-types.exp: Same.
6077 * gdb.cp/templates.exp: Same.
6079 2019-11-01 Luis Machado <luis.machado@linaro.org>
6083 * gdb.arch/pr25124.S: New file.
6084 * gdb.arch/pr25124.exp: New file.
6086 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6088 * gdb.fortran/info-modules.exp: Update expected results, and add
6089 additional tests for 'info module functinos', and 'info module
6091 * gdb.fortran/info-types.exp: Update expected results.
6092 * gdb.fortran/info-types.f90: Extend testcase with additional
6093 module variables and functions.
6095 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
6097 * gdb.fortran/info-modules.exp: New file.
6098 * gdb.fortran/info-types.exp: Build with new file.
6099 * gdb.fortran/info-types.f90: Include and use new module.
6100 * gdb.fortran/info-types-2.f90: New file.
6102 2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6104 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
6105 * gdb.base/settings.exp: Test all settings types using
6106 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
6107 that now verifies that the value of "maint show" is the same as
6108 returned by the settings functions. Test the type of the
6109 maintenance settings.
6110 * gdb.base/default.exp: Update show_conv_list.
6112 2019-10-31 Tom de Vries <tdevries@suse.de>
6114 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
6116 * gdb.arch/amd64-disp-step.exp: Same.
6117 * gdb.asm/asm-source.exp: Same.
6118 * gdb.btrace/buffer-size.exp: Same.
6119 * gdb.btrace/cpu.exp: Same.
6120 * gdb.btrace/enable.exp: Same.
6121 * gdb.dwarf2/count.exp: Same.
6122 * gdb.dwarf2/dw2-ranges-func.exp: Same.
6123 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
6124 * gdb.fortran/vla-datatypes.exp: Same.
6125 * gdb.fortran/vla-history.exp: Same.
6126 * gdb.fortran/vla-ptype.exp: Same.
6127 * gdb.fortran/vla-value.exp: Same.
6128 * gdb.fortran/whatis_type.exp: Same.
6129 * gdb.guile/guile.exp: Same.
6130 * gdb.multi/tids.exp: Same.
6131 * gdb.python/py-finish-breakpoint.exp: Same.
6132 * gdb.python/py-framefilter.exp: Same.
6133 * gdb.python/py-pp-registration.exp: Same.
6134 * gdb.python/py-xmethods.exp: Same.
6135 * gdb.python/python.exp: Same.
6136 * gdb.server/connect-with-no-symbol-file.exp: Same.
6137 * gdb.server/no-thread-db.exp: Same.
6138 * gdb.server/run-without-local-binary.exp: Same.
6139 * gdb.stabs/weird.exp: Same.
6140 * gdb.threads/attach-many-short-lived-threads.exp: Same.
6141 * gdb.threads/thread-find.exp: Same.
6142 * gdb.threads/tls-shared.exp: Same.
6143 * gdb.threads/tls.exp: Same.
6144 * gdb.threads/wp-replication.exp: Same.
6145 * gdb.trace/ax.exp: Same.
6146 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
6148 2019-10-31 Tom de Vries <tdevries@suse.de>
6150 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
6151 * gdb.ada/array_subscript_addr.exp: Same.
6152 * gdb.ada/arrayidx.exp: Same.
6153 * gdb.ada/arrayparam.exp: Same.
6154 * gdb.ada/arrayptr.exp: Same.
6155 * gdb.ada/boolean_expr.exp: Same.
6156 * gdb.ada/call_pn.exp: Same.
6157 * gdb.ada/complete.exp: Same.
6158 * gdb.ada/fixed_cmp.exp: Same.
6159 * gdb.ada/fun_addr.exp: Same.
6160 * gdb.ada/funcall_param.exp: Same.
6161 * gdb.ada/interface.exp: Same.
6162 * gdb.ada/mod_from_name.exp: Same.
6163 * gdb.ada/null_array.exp: Same.
6164 * gdb.ada/packed_array.exp: Same.
6165 * gdb.ada/packed_tagged.exp: Same.
6166 * gdb.ada/print_chars.exp: Same.
6167 * gdb.ada/print_pc.exp: Same.
6168 * gdb.ada/ptype_arith_binop.exp: Same.
6169 * gdb.ada/ptype_field.exp: Same.
6170 * gdb.ada/ptype_tagged_param.exp: Same.
6171 * gdb.ada/rec_return.exp: Same.
6172 * gdb.ada/ref_tick_size.exp: Same.
6173 * gdb.ada/str_ref_cmp.exp: Same.
6174 * gdb.ada/taft_type.exp: Same.
6175 * gdb.ada/tagged.exp: Same.
6176 * gdb.ada/type_coercion.exp: Same.
6177 * gdb.ada/uninitialized_vars.exp: Same.
6179 2019-10-30 Tom de Vries <tdevries@suse.de>
6181 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
6183 2019-10-26 Tom de Vries <tdevries@suse.de>
6185 * gdb.base/bigcore.c: Fix typos in comments.
6186 * gdb.base/ctf-ptype.c: Same.
6187 * gdb.base/long_long.c: Same.
6188 * gdb.dwarf2/dw2-op-out-param.S: Same.
6189 * gdb.python/py-evthreads.c: Same.
6190 * gdb.reverse/i387-stack-reverse.c: Same.
6191 * gdb.trace/tfile.c: Same.
6192 * lib/compiler.c: Same.
6193 * lib/compiler.cc: Same.
6195 2019-10-25 Tom de Vries <tdevries@suse.de>
6197 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
6198 gdb_test_multiple calls.
6199 * gdb.reverse/sigall-reverse.exp: Same.
6200 * gdb.reverse/solib-precsave.exp: Same.
6201 * gdb.reverse/solib-reverse.exp: Same.
6202 * gdb.reverse/until-precsave.exp: Same.
6203 * gdb.reverse/until-reverse.exp: Same.
6205 2019-10-24 Tom de Vries <tdevries@suse.de>
6207 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
6208 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
6209 kfail using -wrap pattern flag and convenience variable
6212 2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
6214 * gdb.python/py-progspace.exp: Add tests for the
6215 Progspace.block_for_pc method.
6217 2019-10-23 Tom Tromey <tom@tromey.com>
6219 * configure: Rebuild.
6220 * aclocal.m4: Use m4_include, not sinclude.
6222 2019-10-21 Tom de Vries <tdevries@suse.de>
6224 * gdb.base/infcall-nested-structs.c: Add
6225 __attribute__((noinline,noclone)) to all functions.
6226 (call_all): Add missing variable initialization. Simplify return value.
6227 (breakpt): Increment volatile variable, to prevent call from being
6229 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
6231 2019-10-17 Tom de Vries <tdevries@suse.de>
6233 * gdb.fortran/module.exp: Allow info variables to print info for files
6234 other than module.f90.
6236 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
6238 * gdb.fortran/module.exp: Extend with 'info variables' test.
6240 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
6242 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
6245 2019-10-16 Tom de Vries <tdevries@suse.de>
6248 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
6250 2019-10-16 Tom de Vries <tdevries@suse.de>
6253 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
6254 Add KFAIL for PR tdep/25096.
6256 2019-10-16 Tom de Vries <tdevries@suse.de>
6259 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
6261 2019-10-16 Tom de Vries <tdevries@suse.de>
6263 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
6266 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
6268 * gdb.mi/list-thread-groups-available.exp: Read entries one by
6269 one instead of increasing timeout.
6271 2019-10-13 Tom de Vries <tdevries@suse.de>
6274 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
6275 * gdb.reverse/sigall-reverse.exp: Same.
6276 * gdb.reverse/solib-precsave.exp: Same.
6277 * gdb.reverse/solib-reverse.exp: Same.
6278 * gdb.reverse/step-precsave.exp: Same.
6279 * gdb.reverse/until-precsave.exp: Same.
6280 * gdb.reverse/until-reverse.exp: Same.
6281 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
6283 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
6285 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
6286 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
6287 (cmp_struct_05_01, cmp_struct_static_02_01)
6288 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
6291 2019-10-10 Tom de Vries <tdevries@suse.de>
6294 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
6297 2019-10-09 Tom de Vries <tdevries@suse.de>
6300 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
6302 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
6304 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
6305 exceptions due to missing debug information.
6307 2019-10-07 Tom de Vries <tdevries@suse.de>
6309 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
6311 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
6313 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
6314 * gdb.base/annota1.exp: Update to use gdb_test_name.
6316 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
6318 * gdb.base/ctf-whatis.exp: New file.
6319 * gdb.base/ctf-whatis.c: New file.
6320 * gdb.base/ctf-ptype.exp: New file.
6321 * gdb.base/ctf-ptype.c: New file.
6322 * gdb.base/ctf-constvars.exp: New file.
6323 * gdb.base/ctf-constvars.c: New file.
6324 * gdb.base/ctf-cvexpr.exp: New file.
6326 2019-10-04 Tom de Vries <tdevries@suse.de>
6328 * gdb.cp/local-static.c (main): Move declaration of int i out of the
6331 2019-10-03 Tom Tromey <tom@tromey.com>
6334 * gdb.rust/simple.rs (Union2): New type.
6336 * gdb.rust/simple.exp: Add test.
6338 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6340 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
6341 nested function prefix.
6343 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
6344 Richard Bunt <richard.bunt@arm.com>
6345 Andrew Burgess <andrew.burgess@embecosm.com>
6347 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
6349 * gdb.fortran/nested-funcs.f90: Update expected results.
6350 * gdb.fortran/nested-funcs-2.exp: New file.
6351 * gdb.fortran/nested-funcs-2.f90: New file.
6353 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6355 * gdb.python/py-parameter.exp: Make test names unique.
6356 * gdb.python/py-template.exp: Likewise.
6357 * gdb.python/py-value.exp: Likewise.
6359 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6361 * gdb.base/break-interp.exp: Reduce test name duplication.
6362 * gdb.base/call-sc.exp: Likewise.
6363 * gdb.base/callfuncs.exp: Likewise.
6364 * gdb.base/charset.exp: Likewise.
6365 * gdb.base/dump.exp: Likewise.
6366 * gdb.base/ena-dis-br.exp: Likewise.
6367 * gdb.base/relational.exp: Likewise.
6368 * gdb.base/step-over-syscall.exp: Likewise.
6369 * gdb.base/structs.exp: Likewise.
6371 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6373 * gdb.linespec/explicit.exp: Make test names unique.
6374 * gdb.linespec/ls-errs.exp: Likewise.
6376 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6378 * gdb.reverse/break-precsave.exp: Make test names unique.
6379 * gdb.reverse/break-reverse.exp: Likewise.
6380 * gdb.reverse/finish-precsave.exp: Likewise.
6381 * gdb.reverse/finish-reverse.exp: Likewise.
6382 * gdb.reverse/machinestate-precsave.exp: Likewise.
6383 * gdb.reverse/machinestate.exp: Likewise.
6384 * gdb.reverse/readv-reverse.exp: Likewise.
6385 * gdb.reverse/recvmsg-reverse.exp: Likewise.
6386 * gdb.reverse/sigall-precsave.exp: Likewise.
6387 * gdb.reverse/sigall-reverse.exp: Likewise.
6388 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
6389 * gdb.reverse/watch-precsave.exp: Likewise.
6390 * gdb.reverse/watch-reverse.exp: Likewise.
6392 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
6394 * gdb.threads/stop-with-handle.c: New file.
6395 * gdb.threads/stop-with-handle.exp: New file.
6397 2019-10-03 Tom de Vries <tdevries@suse.de>
6400 * gdb.base/list-missing-source.exp: Allowing the "Compilation
6401 directory" line to be missing.
6403 2019-10-03 Tom de Vries <tdevries@suse.de>
6406 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
6409 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
6411 * gdb.python/py-format-string.c (string.h): New include.
6412 (main): Fill a_struct_with_union.the_union.an_int with bytes of
6413 the same value, for endianness-independence.
6414 * gdb.python/py-format-string.exp (default_regexp_dict)
6415 (test_pretty_structs, test_format): Adjust expected output to the
6416 changed initialization.
6418 2019-10-02 Tom Tromey <tromey@adacore.com>
6420 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
6422 2019-10-02 Pedro Alves <palves@redhat.com>
6423 Andrew Burgess <andrew.burgess@embecosm.com>
6425 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
6427 (this_version_id) Use ATTRIBUTE_VISIBILITY.
6428 (get_version_1): Print this_version_id and its address.
6429 Add extern "C" wrappers around interface functions.
6430 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
6432 (this_version_id) Use ATTRIBUTE_VISIBILITY.
6433 (get_version_2): Print this_version_id and its address.
6434 Add extern "C" wrappers around interface functions.
6435 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
6436 <stddef.h> and "print-file-var.h".
6437 Add extern "C" wrappers around interface functions.
6438 [VERSION_ID_MAIN] (this_version_id): Define.
6439 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
6440 * gdb.base/print-file-var.h: Add some #defines to simplify setting
6441 up extern "C" blocks.
6442 * gdb.base/print-file-var.exp (test): New, factored out from top
6444 (top level): Test all combinations of attribute hidden or not,
6445 dlopen or not, and this_version_id symbol in main file or not.
6446 Compile tests as both C++ and C, make test names unique.
6448 2019-10-01 Tom Tromey <tom@tromey.com>
6450 * gdb.base/style.exp: Test "show logging filename".
6452 2019-10-01 Tom Tromey <tom@tromey.com>
6454 * lib/gdb-utils.exp (style): Handle "metadata" argument.
6455 * gdb.base/style.exp: Add metadata style test.
6457 2019-10-01 Tom Tromey <tom@tromey.com>
6459 * gdb.base/style.exp: Test "pwd".
6461 2019-10-01 Tom Tromey <tom@tromey.com>
6463 * gdb.base/style.exp: Update tests.
6465 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
6467 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
6469 (s1): Initialize fields 'four' and 'six' instead of 'three' and
6470 'five'. Use an all-ones bit pattern for each.
6471 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
6472 to its changed values.
6474 2019-09-30 Tom Tromey <tromey@adacore.com>
6476 * gdb.rust/traits.rs: Disable all warnings.
6478 2019-09-29 Tom de Vries <tdevries@suse.de>
6480 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
6482 2019-09-29 Tom de Vries <tdevries@suse.de>
6484 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
6486 2019-09-27 Tom de Vries <tdevries@suse.de>
6488 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
6490 2019-09-27 Tom de Vries <tdevries@suse.de>
6493 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
6495 2019-09-26 Tom Tromey <tromey@adacore.com>
6497 * gdb.ada/py_taft.exp: New file.
6498 * gdb.ada/py_taft/main.adb: New file.
6499 * gdb.ada/py_taft/pkg.adb: New file.
6500 * gdb.ada/py_taft/pkg.ads: New file.
6502 2019-09-24 Tom de Vries <tdevries@suse.de>
6505 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
6507 2019-09-22 Tom de Vries <tdevries@suse.de>
6509 * gdb.base/restore.exp: Allow register variables to be optimized out at
6512 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
6514 * gdb.arch/spu-info.exp: Remove file.
6515 * gdb.arch/spu-info.c: Remove file.
6516 * gdb.arch/spu-ls.exp: Remove file.
6517 * gdb.arch/spu-ls.c: Remove file.
6519 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
6520 * gdb.asm/spu.inc: Remove file.
6522 * gdb.base/dump.exp: Remove support for spu*-*-*.
6523 * gdb.base/stack-checking.exp: Likewise.
6524 * gdb.base/overlays.exp: Likewise.
6525 * gdb.base/ovlymgr.c: Likewise.
6526 * gdb.base/spu.ld: Remove file.
6528 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
6529 * gdb.cp/cpexprs.exp: Likewise.
6530 * gdb.cp/exception.exp: Likewise.
6531 * gdb.cp/gdb2495.exp: Likewise.
6532 * gdb.cp/mb-templates.exp: Likewise.
6533 * gdb.cp/pr9167.exp: Likewise.
6534 * gdb.cp/userdef.exp: Likewise.
6536 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
6538 * gdb.cell: Remove directory.
6539 * lib/cell.exp: Remove file.
6541 2019-09-19 Tom de Vries <tdevries@suse.de>
6543 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
6545 2019-09-19 Tom de Vries <tdevries@suse.de>
6547 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
6549 2019-09-19 Tom de Vries <tdevries@suse.de>
6551 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
6552 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
6553 (gdb_target_cmd): ... here.
6554 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
6557 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
6559 * gdb.base/source-dir.exp: Avoid having directory names in test
6562 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
6564 * gdb.base/source-dir.exp: Add extra test for mapped compilation
6567 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
6569 * gdb.base/list-missing-source.exp: New file.
6571 2019-09-14 Tom de Vries <tdevries@suse.de>
6574 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
6575 * lib/ada.exp (gnatmake_version_at_least): New proc.
6577 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
6579 * gdb.base/maint.exp: Use exec_has_index_section.
6581 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
6583 * gdb.base/maint.exp: Add test for 'maint info sections'.
6585 2019-09-12 Tom de Vries <tdevries@suse.de>
6587 * gdb.base/store.exp: Allow register variables to be optimized out at
6590 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6592 * gdb.ada/rdv_wait.exp: Update to new task names.
6593 * gdb.base/task_switch_in_core.exp: Likewise.
6594 * gdb.base/info_sources_base.c: Likewise.
6596 2019-09-10 Tom Tromey <tromey@adacore.com>
6598 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
6600 2019-09-10 Tom Tromey <tromey@adacore.com>
6602 * gdb.ada/dgopt.exp: New file.
6603 * gdb.ada/dgopt/x.adb: New file.
6605 2019-09-08 Tom Tromey <tom@tromey.com>
6607 * gdb.tui/resize.exp: Remove setup_xfail.
6608 * gdb.tui/regs.exp: Remove setup_xfail.
6609 * gdb.tui/basic.exp: Remove setup_xfail.
6611 2019-09-06 David Blaikie <dblaikie@gmail.com>
6613 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
6614 * gdb.cp/cplabel.exp: Ditto.
6615 * gdb.linespec/ls-errs.exp: Ditto.
6617 2019-09-05 Tom de Vries <tdevries@suse.de>
6619 * lib/gdb.exp (cmp_file_string): New proc.
6620 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
6621 runto_main. Verify save breakpoints output.
6623 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6625 * gdb.base/info-var.exp: Test info variables without running
6626 to main, to avoid expect's buffer overflow.
6628 2019-09-03 Tom Tromey <tromey@adacore.com>
6630 * gdb.ada/bias.exp: New file.
6631 * gdb.ada/bias/bias.adb: New file.
6632 * gdb.ada/print_chars.exp: Add regression test.
6633 * gdb.ada/print_chars/foo.adb (My_Character): New type.
6636 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
6638 * gdb.base/argv0-symlink.exp: Run only on native target
6641 2019-08-29 Tom de Vries <tdevries@suse.de>
6643 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
6645 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
6647 2019-08-28 Tom de Vries <tdevries@suse.de>
6649 * gdb.base/info-var.exp: Allow info variables to print info for files
6650 other than info-var-f1.c and info-var-f2.c.
6652 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
6654 * gdb.fortran/info-types.exp: Add module.
6655 * gdb.fortran/info-types.f90: Update expected results.
6657 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
6659 * gdb.fortran/info-types.exp: New file.
6660 * gdb.fortran/info-types.f90: New file.
6661 * lib/fortran.exp (fortran_character1): New proc.
6663 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
6665 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
6666 functions'. Reindent as needed.
6667 * gdb.base/info-var-f1.c: New file.
6668 * gdb.base/info-var-f2.c: New file.
6669 * gdb.base/info-var.exp: New file.
6670 * gdb.base/info-var.h: New file.
6672 2019-08-26 Tom de Vries <tdevries@suse.de>
6675 * gdb.cp/no-libstdcxx-probe.exp: New test.
6677 2019-08-26 Tom de Vries <tdevries@suse.de>
6679 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
6680 * tests need to be skipped.
6681 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
6682 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
6683 mi_skip_libstdcxx_probe_tests.
6685 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
6687 * gdb.python/py-xmethods.exp: Use raw strings when passing
6688 arguments to SimpleXMethodMatcher.
6690 2019-08-22 Tom de Vries <tdevries@suse.de>
6692 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
6695 2019-08-21 Pedro Alves <palves@redhat.com>
6697 * gdb.base/with.exp: Test "with" with no arguments.
6699 2019-08-21 Tom de Vries <tdevries@suse.de>
6701 * gdb.base/gdb-caching-proc.exp: Sort files.
6703 2019-08-20 Tom de Vries <tdevries@suse.de>
6705 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
6708 2019-08-16 Tom de Vries <tdevries@suse.de>
6710 * gdb.base/compare-sections.exp ("after run to main"): Allow
6711 mismatched read-only sections for PIE executables.
6713 2019-08-16 Tom Tromey <tom@tromey.com>
6715 * lib/tuiterm.exp (_csi_Z): New proc.
6716 * gdb.tui/basic.exp: Update window positions.
6717 * gdb.tui/empty.exp: Update window positions.
6719 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6721 * gdb.base/examine-backward.exp: Correct regexp for
6722 "examine 3 bytes backward from ${address_zero}".
6724 2019-08-15 Tom Tromey <tom@tromey.com>
6726 * gdb.tui/empty.exp: Enable resizing tests.
6728 2019-08-15 Tom Tromey <tromey@adacore.com>
6730 * gdb.ada/char_enum.exp: Add regression tests.
6731 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
6733 (Char, Gchar): Update.
6734 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
6736 2019-08-15 Christian Biesinger <cbiesinger@google.com>
6738 * gdb.python/python.exp: Expect a leading underscore on
6739 GdbOutput{,Error}File.
6741 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6743 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
6746 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6748 * gdb.base/batch-preserve-term-settings.exp
6749 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
6751 2019-08-15 Christian Biesinger <cbiesinger@google.com>
6753 * lib/gdb.exp: When running on a mingw target, replace
6756 2019-08-14 Alan Hayward <alan.hayward@arm.com>
6758 * gdb.arch/aarch64-prologue.c: New test.
6759 * gdb.arch/aarch64-prologue.exp: New file.
6761 2019-08-13 Tom de Vries <tdevries@suse.de>
6763 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
6766 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
6768 * gdb.python/py-completion.exp: Download the .py file to the host
6769 and use its host pathname. Conditionalize tests that use
6770 tab completion and manipulate files on the build machine.
6771 * gdb.python/py-events.exp: Download the .py file to the host
6772 and use its host pathname.
6773 * gdb.python/py-evsignal.exp: Likewise.
6774 * gdb.python/py-evthreads.exp: Likewise.
6775 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
6777 * gdb.python/py-framefilter.exp: Download the .py file to the right
6778 place on the host. Match Windows pathname syntax.
6779 * gdb.python/py-mi-var-info-path-expression.exp: Download the
6780 .py file to the host and use its host pathname.
6781 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
6782 * gdb.python/py-objfile.exp: Expect a host pathname, not a
6783 build pathname. Skip symlink test on Windows host. Add missing
6784 newline at end of file.
6785 * gdb.python/py-pp-maint.exp: Download the .py file to the host
6786 and use its host pathname.
6787 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
6788 * gdb.python/py-section-script.exp: Use host location of binfile
6789 on safe-path. Use correct path separator on Windows host.
6790 Reorder alternatives in gdb_test_multiple to prevent matching
6791 the wrong alternative on success.
6792 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
6794 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
6796 * gdb.gdb/selftest.exp (test_with_self): Update test to now
6797 expect the GDB inferior to no longer immediately stop after
6798 being resumed with "signal SIGINT".
6800 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
6802 * gdb.linespec/break-ask.exp: Generalize regexps to match
6803 Windows pathnames too.
6805 2019-08-08 Tom de Vries <tdevries@suse.de>
6808 * lib/tuiterm.exp (_accept): Fix CSI regexp.
6810 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6812 * gdb.base/style.exp: Update tests for help doc new invariants.
6813 * gdb.base/help.exp: Likewise.
6815 2019-08-06 Tom Tromey <tom@tromey.com>
6817 * gdb.base/style.exp: Add disassemble test.
6818 * gdb.base/style.c (some_called_function): New function.
6821 2019-08-05 Christian Biesinger <cbiesinger@google.com>
6823 * gdb.python/py-block.exp: Test dictionary access on blocks.
6825 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
6828 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
6829 -list-thread-groups --available test when running under
6832 2019-08-05 Tom de Vries <tdevries@suse.de>
6835 * lib/gdb.exp (with_read1_timeout_factor): New proc.
6836 * gdb.base/help.exp: Use with_read1_timeout_factor.
6837 * gdb.base/info-macros.exp: Same.
6838 * gdb.cp/nested-types.exp: Same.
6840 2019-08-05 Tom de Vries <tdevries@suse.de>
6842 * lib/gdb.exp (version_at_least): Factor out of ...
6843 (tcl_version_at_least): ... here.
6844 (gdb_compile): Fail if pie results in non-PIE executable.
6845 (readelf_version, readelf_prints_pie): New proc.
6846 (exec_is_pie): Return -1 if unknown.
6848 2019-08-05 Tom de Vries <tdevries@suse.de>
6850 * lib/gdb.exp (tcl_version_at_least): Fix typo.
6852 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
6854 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
6856 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
6858 * lib/completion-support.exp (test_gdb_complete_none): Skip
6859 tab completion tests if no readline support.
6860 (test_gdb_complete_unique_re): Likewise.
6861 (test_gdb_complete_multiple): Likewise.
6863 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6865 * gdb.base/info_sources.exp: New file.
6866 * gdb.base/info_sources.c: New file.
6867 * gdb.base/info_sources_base.c: New file.
6869 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6871 * gdb.base/batch-exit-status.exp: Call test_exit_status with
6873 (test_exit_status): Add prefix argument.
6875 2019-08-01 Tom de Vries <tdevries@suse.de>
6878 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
6879 calling exp_continue for new thread and thread exited messages.
6881 2019-08-01 Tom de Vries <tdevries@suse.de>
6884 * gdb.base/structs.exp: Fix check-read1 timeout using
6886 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
6888 2019-08-01 Tom de Vries <tdevries@suse.de>
6891 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
6894 2019-08-01 Tom de Vries <tdevries@suse.de>
6897 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
6899 2019-07-30 Tom Tromey <tromey@adacore.com>
6901 * gdb.ada/display_nested.exp: New file.
6902 * gdb.ada/display_nested/foo.adb: New file.
6903 * gdb.ada/display_nested/pack.adb: New file.
6904 * gdb.ada/display_nested/pack.ads: New file.
6906 2019-07-30 Christian Biesinger <cbiesinger@google.com>
6908 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
6910 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
6912 2019-07-30 Tom de Vries <tdevries@suse.de>
6914 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
6917 2019-07-30 Tom de Vries <tdevries@suse.de>
6920 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
6921 (exec_is_pie): New proc.
6923 2019-07-29 Christian Biesinger <cbiesinger@google.com>
6925 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
6927 2019-07-29 Christian Biesinger <cbiesinger@google.com>
6929 * gdb.python/py-objfile.c: Add global and static vars.
6930 * gdb.python/py-objfile.exp: Test new functions Objfile.
6931 lookup_global_symbol and lookup_static_symbol.
6933 2019-07-29 Tom Tromey <tom@tromey.com>
6935 * lib/tuiterm.exp (Term::_csi_@): New proc.
6936 (Term::_csi_X): Don't move cursor.
6938 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6940 * gdb.base/options.exp: Update backtrace - completion to
6941 new option -frame-info.
6942 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
6943 Test new 'set print frame-info'. Test backtrace -frame-info
6944 overriding 'set print frame-info'.
6945 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
6946 Test new 'set print frame-info'.
6947 Verify consistency of backtrace with and without filters, with and
6948 without -no-filters.
6949 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
6952 2019-07-29 Tom de Vries <tdevries@suse.de>
6954 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
6957 2019-07-29 Tom de Vries <tdevries@suse.de>
6959 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
6960 is a substring of the first for "complete non-unique file name".
6962 2019-07-29 Tom de Vries <tdevries@suse.de>
6964 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
6967 2019-07-29 Tom de Vries <tdevries@suse.de>
6969 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
6970 Pass prompt_regexp parameter to gdb_test_multiple calls.
6972 2019-07-29 Tom de Vries <tdevries@suse.de>
6974 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
6975 print registers" regexps.
6977 2019-07-29 Tom de Vries <tdevries@suse.de>
6979 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
6981 2019-07-29 Tom de Vries <tdevries@suse.de>
6984 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
6985 (skip_python_tests_prompt): Add prompt_regexp argument to
6986 gdb_test_multiple calls.
6988 2019-07-27 Tom Tromey <tom@tromey.com>
6990 * gdb.tui/main.exp: New file.
6992 2019-07-27 Tom Tromey <tom@tromey.com>
6994 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
6996 * gdb.tui/empty.exp: New file.
6998 2019-07-27 Tom Tromey <tom@tromey.com>
7000 * lib/tuiterm.exp (spawn): New proc.
7001 (Term::resize): New proc.
7002 * gdb.tui/resize.exp: New file.
7004 2019-07-27 Tom Tromey <tom@tromey.com>
7006 * gdb.tui/list.exp: New file.
7008 2019-07-27 Tom Tromey <tom@tromey.com>
7010 * gdb.tui/regs.exp: New file.
7012 2019-07-27 Tom Tromey <tom@tromey.com>
7014 * gdb.tui/basic.exp: Add "layout split" test.
7016 2019-07-27 Tom Tromey <tom@tromey.com>
7018 * gdb.tui/basic.exp: Add "layout asm" test.
7020 2019-07-27 Tom Tromey <tom@tromey.com>
7022 * lib/tuiterm.exp: New file.
7023 * gdb.tui/basic.exp: New file.
7025 2019-07-27 Kevin Buettner <kevinb@redhat.com>
7027 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
7028 Enable tests associated with this flag. Adjust regex
7029 referencing "foo_low" to now refer to "foo_cold" instead.
7031 2019-07-27 Kevin Buettner <kevinb@redhat.com>
7033 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
7034 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
7035 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
7036 foo_cold. Revise comments to match.
7037 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
7038 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
7039 were wrapped into this proc; Call do_test in loop from outermost
7041 (foo_low): Rename all occurrences to "foo_cold".
7042 (backtrace from baz): New test.
7043 (x2/i foo_cold): New test.
7044 (info line *foo_cold): New test.
7046 2019-07-26 Tom de Vries <tdevries@suse.de>
7048 * gdb.arch/i386-pkru.exp: Fix unterminated string.
7050 2019-07-25 Tom de Vries <tdevries@suse.de>
7053 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
7054 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
7055 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
7056 (skip_libstdcxx_probe_tests): ... here.
7057 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
7059 2019-07-24 Tom de Vries <tdevries@suse.de>
7062 * gdb.objc/basicclass.m: Include stdio.h.
7063 * gdb.objc/nondebug.m: Same.
7064 * gdb.objc/objcdecode.m: Same.
7066 2019-07-24 Tom de Vries <tdevries@suse.de>
7069 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
7072 2019-07-24 Tom de Vries <tdevries@suse.de>
7075 * gdb.multi/tids.exp: Update error messages for info threads.
7077 2019-07-24 Tom de Vries <tdevries@suse.de>
7079 * gdb.base/info-types.exp: Allow info types to print info for more than
7082 2019-07-23 Tom de Vries <tdevries@suse.de>
7085 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
7086 gdb_spawn_with_cmdline_opts.
7088 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
7090 * gdb.arch/arm-cmse-sgstubs.c: New test.
7091 * gdb.arch/arm-cmse-sgstubs.exp: New file.
7093 2019-07-23 Tom de Vries <tdevries@suse.de>
7096 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
7097 issuing next command.
7099 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
7101 * gdb.ada/info_auto_lang.exp: Update expected results.
7102 * gdb.base/info-types.c: Add additional types to check.
7103 * gdb.base/info-types.exp: Update expected results.
7105 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
7107 * gdb.base/info-types.c: New file.
7108 * gdb.base/info-types.exp: New file.
7110 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
7112 * gdb.arch/riscv-bp-infcall.c: New file.
7113 * gdb.arch/riscv-bp-infcall.exp: New file.
7115 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
7117 PR breakpoints/24541
7118 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
7120 2019-07-14 Tom de Vries <tdevries@suse.de>
7123 * gdb.objc/basicclass.exp: Fix unterminated string.
7125 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
7126 Andrew Burgess <andrew.burgess@embecosm.com>
7128 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
7129 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
7131 * gdb.fortran/vla-value.exp: Print elements of an array with
7133 * gdb.fortran/vla.f90: Setup an array with negative bounds for
7136 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
7138 * gdb.base/options.exp (expect_string): Dequote strings in
7140 (test-string): Test strings with different quoting and reindent.
7142 2019-07-10 Tom Tromey <tromey@adacore.com>
7144 * gdb.ada/mi_ex_cond.exp: Update expected results.
7145 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
7146 * gdb.ada/mi_catch_ex.exp: Update expected results.
7147 * gdb.ada/mi_catch_assert.exp: Update expected results.
7148 * gdb.ada/catch_ex.exp (catch_exception_info)
7149 (catch_exception_entry, catch_assert_entry)
7150 (catch_unhandled_entry): Update.
7151 * gdb.ada/catch_assert_if.exp: Update expected results.
7153 2019-07-10 Richard Bunt <richard.bunt@arm.com>
7154 Stephen Roberts <stephen.roberts@arm.com>
7156 * gdb.base/define.exp: Restore original prompt.
7158 2019-07-09 Pedro Alves <palves@redhat.com>
7160 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
7161 breakpoints" output.
7162 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
7163 * gdb.python/py-breakpoint.exp: No longer expect that "catch
7164 throw" creates breakpoint.
7165 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
7166 'type="catchpoint"'.
7168 2019-07-09 Pedro Alves <palves@redhat.com>
7171 * gdb.cp/except-multi-location-lib.cc: New.
7172 * gdb.cp/except-multi-location-main.cc: New.
7173 * gdb.cp/except-multi-location.exp: New.
7175 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
7177 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
7178 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
7179 argument and update callers.
7181 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
7183 * gdb.arch/amd64-break-on-asm-line.S: New file.
7184 * gdb.arch/amd64-break-on-asm-line.exp: New file.
7186 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7188 * gdb.base/printcmds.exp: Test printing C string and
7189 C wide string convenience vars without transiting via the inferior.
7190 Also make test names unique.
7192 2019-07-08 Alan Hayward <alan.hayward@arm.com>
7194 PR breakpoints/25011
7195 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
7197 2019-07-04 Pedro Alves <palves@redhat.com>
7199 * lib/gdb.exp (foreach_with_prefix): Don't return early if
7200 body returned ok(0), break(3) or continue(4).
7201 * gdb.testsuite/foreach_with_prefix.exp: New file.
7203 2019-07-04 Alan Hayward <alan.hayward@arm.com>
7205 * gdb.server/unittest.exp: Allow 0 unit tests to run.
7207 2019-07-03 Pedro Alves <palves@redhat.com>
7209 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
7212 2019-07-03 Pedro Alves <palves@redhat.com>
7215 * gdb.base/shell.exp: Load completion-support.exp.
7216 Adjust expected error output. Add completion tests.
7218 2019-07-03 Pedro Alves <palves@redhat.com>
7220 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
7223 2019-07-03 Pedro Alves <palves@redhat.com>
7225 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
7226 (expect_integer): Adjust to expect "-string".
7227 (expect_string): New.
7228 (all_options): Expect "-string".
7229 (test-flag, test-boolean): Adjust to expect "-string".
7230 (test-string): New proc.
7231 (top level): Call it.
7233 2019-07-03 Pedro Alves <palves@redhat.com>
7235 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
7236 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
7237 the expected output in the success.
7239 2019-07-03 Pedro Alves <palves@redhat.com>
7241 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
7242 Split one gdb_test_multiple call in two to avoid a race.
7244 2019-07-03 Pedro Alves <palves@redhat.com>
7246 * gdb.base/with.c: New file.
7247 * gdb.base/with.exp: New file.
7249 2019-07-03 Pedro Alves <palves@redhat.com>
7251 * gdb.base/settings.exp: Replace all references to "maint
7252 test-settings set" with references to "maint set test-settings",
7253 and all references to "maint test-settings show" with references
7254 to "maint show test-settings".
7256 2019-07-03 Pedro Alves <palves@redhat.com>
7258 * gdb.base/settings.exp (test-string): Adjust expected out when
7259 testing "maint test-settings show filename"
7261 2019-07-02 Pedro Alves <palves@redhat.com>
7263 * gdb.base/options.exp (test-info-threads): New procedure.
7264 (top level): Call it.
7266 2019-06-28 Tom Tromey <tromey@adacore.com>
7268 * gdb.dwarf2/ada-linkage-name.c: New file.
7269 * gdb.dwarf2/ada-linkage-name.exp: New file.
7271 2019-06-27 Tom Tromey <tromey@adacore.com>
7274 * gdb.cp/constexpr-field.exp: Use setup_xfail.
7276 2019-06-26 Tom de Vries <tdevries@suse.de>
7278 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
7280 2019-06-26 Tom de Vries <tdevries@suse.de>
7282 * gdb.base/index-cache.exp: Add back missing debug option.
7284 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7286 * gdb.base/alias.exp: Test non matching/non existing prefixes.
7288 2019-06-25 Tom de Vries <tdevries@suse.de>
7291 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
7293 2019-06-24 Tom de Vries <tdevries@suse.de>
7295 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
7297 2019-06-24 Tom de Vries <tdevries@suse.de>
7299 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
7300 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
7301 * gdb.trace/unavailable-dwarf-piece.exp: Same.
7303 2019-06-24 Tom de Vries <tdevries@suse.de>
7305 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
7307 2019-06-21 Tom de Vries <tdevries@suse.de>
7309 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
7311 2019-06-21 Tom de Vries <tdevries@suse.de>
7315 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
7318 2019-06-19 Tom Tromey <tromey@adacore.com>
7320 * gdb.ada/length_cond.exp: Add intro comment.
7322 2019-06-19 Tom Tromey <tromey@adacore.com>
7324 * gdb.ada/length_cond.exp: New file.
7325 * gdb.ada/length_cond/length_cond.adb: New file.
7326 * gdb.ada/length_cond/pck.adb: New file.
7327 * gdb.ada/length_cond/pck.ads: New file.
7329 2019-06-18 Tom de Vries <tdevries@suse.de>
7331 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
7333 2019-06-18 Tom Tromey <tromey@adacore.com>
7335 * gdb.base/list0.h: Add comment explaining control character.
7337 2019-06-18 Tom de Vries <tdevries@suse.de>
7339 * boards/fission.exp: Break up long debug_flags line.
7341 2019-06-16 Tom de Vries <tdevries@suse.de>
7344 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
7347 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
7350 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
7351 improve detection of bug gdb/24541.
7353 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
7356 * gdb.base/index-cache.exp (uses_readnow,
7357 expecting_index_cache_use): Define global variable.
7358 (test_cache_enabled_miss, test_cache_enabled_hit): Use
7359 expecting_index_cache_use.
7361 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
7362 Andrew Burgess <andrew.burgess@embecosm.com>
7364 * gdb.fortran/pointers.f90: New file.
7365 * gdb.fortran/print_type.exp: New file.
7366 * gdb.fortran/vla-ptype.exp: Adapt expected results.
7367 * gdb.fortran/vla-type.exp: Likewise.
7368 * gdb.fortran/vla-value.exp: Likewise.
7369 * gdb.mi/mi-vla-fortran.exp: Likewise.
7371 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7373 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
7374 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
7375 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
7378 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7380 * gdb.base/annota1.exp: Update expected results.
7381 * gdb.cp/annota2.exp: Likewise.
7382 * gdb.cp/annota3.exp: Likewise.
7384 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
7386 * gdb.base/style-logging.exp: Remove path from test name.
7388 2019-06-14 Tom Tromey <tromey@adacore.com>
7391 * gdb.base/style-logging.exp: New file.
7393 2019-06-14 Tom Tromey <tromey@adacore.com>
7395 * gdb.base/symfile-warn.exp: New file.
7396 * gdb.base/symfile-warn.c: New file.
7398 2019-06-14 Tom Tromey <tromey@adacore.com>
7400 * gdb.base/annotate-symlink.exp: New file.
7402 2019-06-14 Tom Tromey <tromey@adacore.com>
7404 * gdb.ada/set_wstr.exp: Add reassignment test.
7406 2019-06-14 Tom Tromey <tromey@adacore.com>
7408 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
7409 'unchecked_access and 'unrestricted_access as well.
7411 2019-06-14 Tom Tromey <tromey@adacore.com>
7414 * gdb.ada/vla.exp: Update tests.
7415 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
7418 2019-06-13 Pedro Alves <palves@redhat.com>
7420 * gdb.base/settings.exp (test-integer): Test junk after
7423 2019-06-13 Pedro Alves <palves@redhat.com>
7425 * gdb.base/options.exp (test-thread-apply): New.
7426 (top level): Call it.
7428 2019-06-13 Pedro Alves <palves@redhat.com>
7430 * gdb.base/options.exp (test-frame-apply): New.
7431 (top level): Test print commands with different "frame apply"
7434 2019-06-13 Pedro Alves <palves@redhat.com>
7436 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
7437 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
7438 'max_completions' parameter and handle it.
7439 (test_gdb_completion_offers_commands): New.
7441 2019-06-13 Pedro Alves <palves@redhat.com>
7443 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
7445 2019-06-13 Pedro Alves <palves@redhat.com>
7447 * gdb.base/options.exp (test-backtrace): New.
7448 (top level): Call it.
7450 2019-06-13 Pedro Alves <palves@redhat.com>
7452 * gdb.guile/scm-frame-args.exp: Use "set print
7453 raw-frame-arguments" instead of "set print raw frame-arguments".
7454 * gdb.python/py-frame-args.exp: Likewise.
7456 2019-06-13 Pedro Alves <palves@redhat.com>
7458 * gdb.compile/compile.exp: Adjust expected output to option
7461 2019-06-13 Pedro Alves <palves@redhat.com>
7463 * gdb.base/options.exp: Build executable.
7464 (test-print): New procedure.
7465 (top level): Call it, once for "print" and another for "compile
7468 2019-06-13 Pedro Alves <palves@redhat.com>
7470 * gdb.base/options.c: New file.
7471 * gdb.base/options.exp: New file.
7473 2019-06-13 Pedro Alves <palves@redhat.com>
7475 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
7476 that "o" is ambiguous.
7478 2019-06-13 Pedro Alves <palves@redhat.com>
7480 * gdb.base/settings.c: New file.
7481 * gdb.base/settings.exp: New file.
7483 2019-06-13 Pedro Alves <palves@redhat.com>
7485 * gdb.base/completion.exp: Fix comment typo.
7487 2019-06-13 Pedro Alves <palves@redhat.com>
7489 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
7492 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
7494 * gdb.fortran/block-data.f: New.
7495 * gdb.fortran/block-data.exp: New.
7497 2019-06-11 Tom de Vries <tdevries@suse.de>
7500 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
7503 2019-06-11 Tom de Vries <tdevries@suse.de>
7506 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
7508 2019-06-11 Tom de Vries <tdevries@suse.de>
7510 * boards/readnow.exp: New file.
7512 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
7514 * gdb.fortran/vla-sizeof.exp: Update expected results.
7516 2019-06-06 Amos Bird <amosbird@gmail.com>
7518 * gdb.base/annota1.exp (thread_switch): Add test for
7519 thread-exited annotation.
7521 2019-06-06 Tom Tromey <tromey@adacore.com>
7523 * gdb.base/maint.exp: Expect command started/finished output.
7525 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
7527 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
7529 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
7531 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
7533 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
7534 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
7535 * gdb.arch/riscv-unwind-long-insn.c: New file.
7536 * gdb.arch/riscv-unwind-long-insn.exp: New file.
7538 2019-06-04 Christian Biesinger <cbiesinger@google.com>
7540 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
7542 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7544 * lib/gdb.exp (help_list_trailer): New regexp variable
7545 factorizing the help trailer message.
7546 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
7547 arg to allow to better factorize various tests.
7548 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
7549 (test_prefix_command_help): Use help_list_trailer.
7550 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
7551 * gdb.guile/scm-cmd.exp: Likewise.
7552 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
7553 * gdb.base/help.exp: Use test_user_defined_class_help.
7554 * gdb.base/style.exp: Add tests for styling of help and apropos.
7555 * lib/gdb-utils.exp (style): Add title and highlight styles.
7557 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7559 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
7561 * gdb.base/default.exp: Update for new convenience variables.
7563 2019-05-29 Tom Tromey <tromey@adacore.com>
7565 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
7566 to "break complete ada" test case's regexp.
7568 2019-05-29 Tom Tromey <tromey@adacore.com>
7571 * gdb.cp/constexpr-field.exp: New file.
7572 * gdb.cp/constexpr-field.cc: New file.
7574 2019-05-29 Tom Tromey <tromey@adacore.com>
7576 * gdb.base/finish.exp (finish_no_print): New proc.
7577 (finish_tests): Call it.
7579 2019-05-24 Tom de Vries <tdevries@suse.de>
7581 * gdb.dwarf2/gdb-add-index.exp: New file.
7583 2019-05-22 Tom Tromey <tromey@adacore.com>
7585 * gdb.base/info-shared.exp (check_info_shared): Use "style".
7586 * gdb.base/style.exp: Use "style".
7587 * lib/gdb-utils.exp (style): New proc.
7589 2019-05-22 Tom de Vries <tdevries@suse.de>
7591 * gdb.base/align.exp: Require c++11.
7593 2019-05-22 Tom de Vries <tdevries@suse.de>
7596 * gdb.python/py-mi-var-info-path-expression.exp: Call
7597 mi_skip_python_tests to check if python is supported.
7599 2019-05-22 Alan Hayward <alan.hayward@arm.com>
7601 * gdb.arch/aarch64-pauth.c: New test.
7602 * gdb.arch/aarch64-pauth.exp: New file.
7604 2019-05-22 Alan Hayward <alan.hayward@arm.com>
7606 * README (Re-running Tests Outside The Testsuite): New section.
7608 2019-05-21 Tom de Vries <tdevries@suse.de>
7610 * gdb.arch/amd64-eval.exp: Require c++11.
7611 * gdb.base/max-depth.exp: Same.
7612 * gdb.compile/compile-cplus-array-decay.exp: Same.
7613 * gdb.cp/meth-typedefs.exp: Same.
7614 * gdb.cp/subtypes.exp: Same.
7615 * gdb.cp/temargs.exp: Same.
7617 2019-05-21 Alan Hayward <alan.hayward@arm.com>
7619 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
7621 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
7624 * gdb.fortran/complex.exp: Remove setup_kfail calls.
7625 * gdb.fortran/printing-types.exp: Add new test.
7626 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
7628 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
7631 2019-05-17 Alan Hayward <alan.hayward@arm.com>
7633 * README (Running the Testsuite): Change example.
7634 (Testsuite Parameters): Remove TRANSCRIPT.
7635 * lib/gdb.exp: Remove TRANSCRIPT check.
7637 2019-05-17 Alan Hayward <alan.hayward@arm.com>
7639 * README (Testsuite Parameters): Add replay logging to
7641 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
7642 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
7643 as a comma separated list.
7644 (gdb_debug_init): Override procedure.
7646 2019-05-17 Alan Hayward <alan.hayward@arm.com>
7648 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
7649 (gdb_write_cmd_file): New procedure.
7650 * lib/gdbserver-support.exp (gdbserver_start): Call
7651 gdbserver_write_cmd_file.
7652 (gdbserver_write_cmd_file): New procedure.
7654 2019-05-17 Alan Hayward <alan.hayward@arm.com>
7656 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
7657 (delete_breakpoints): Likewise.
7658 (gdb_run_cmd): Likewise.
7659 (gdb_start_cmd): Likewise.
7660 (gdb_starti_cmd): Likewise.
7661 (gdb_internal_error_resync): Likewise.
7662 (gdb_test_multiple): Likewise.
7663 (gdb_reinitialize_dir): Likewise.
7664 (default_gdb_exit): Likewise.
7665 (gdb_file_cmd): Mark kill as optional.
7666 (default_gdb_start): Call gdb_stdin_log_init.
7667 (send_gdb): Call gdb_stdin_log_write.
7668 (rerun_to_main): Mark Y as an answer.
7669 (gdb_stdin_log_init): New function.
7670 (gdb_stdin_log_write): Likewise.
7672 2019-05-17 Alan Hayward <alan.hayward@arm.com>
7674 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
7675 * gdb.base/debug-expr.exp: Likewise.
7676 * gdb.base/foll-fork.exp: Likewise.
7677 * gdb.base/foll-vfork.exp: Likewise.
7678 * gdb.base/fork-print-inferior-events.exp: Likewise.
7679 * gdb.base/gdb-sigterm.exp: Likewise.
7680 * gdb.base/gdbinit-history.exp: Likewise.
7681 * gdb.base/osabi.exp: Likewise.
7682 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
7683 * gdb.base/ui-redirect.exp: Likewise.
7684 * gdb.gdb/unittest.exp: Likewise.
7685 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
7686 * gdb.mi/mi-watch.exp: Likewise.
7687 * gdb.mi/new-ui-mi-sync.exp: Likewise.
7688 * gdb.mi/user-selected-context-sync.exp: Likewise.
7689 * gdb.python/python.exp: Disable debug test when debugging.
7690 * gdb.threads/check-libthread-db.exp: Disable when debugging.
7691 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7693 * gdb.threads/stepi-random-signal.exp: Likewise.
7695 2019-05-17 Alan Hayward <alan.hayward@arm.com>
7697 * Makefile.in: Pass through GDB_DEBUG.
7698 * README (Testsuite Parameters): Add GDB_DEBUG.
7699 (gdb,debug): Add board setting.
7700 * lib/gdb.exp (default_gdb_start): Start debugging.
7701 (gdb_debug_enabled): New procedure.
7702 (gdb_debug_init): Likewise.
7704 2019-05-17 Alan Hayward <alan.hayward@arm.com>
7706 * Makefile.in: Pass through GDB_DEBUG.
7707 * README (Testsuite Parameters): Add GDB_DEBUG.
7708 (gdb,debug): Add board setting.
7709 * lib/gdb.exp (default_gdb_start): Start debugging.
7710 (gdb_debug_enabled): New procedure.
7711 (gdb_debug_init): Likewise.
7713 2019-05-17 Alan Hayward <alan.hayward@arm.com>
7715 * gdb.base/ui-redirect.exp: Add debug redirect tests.
7717 2019-05-17 Alan Hayward <alan.hayward@arm.com>
7719 * gdb.base/ui-redirect.exp: Test redirection.
7721 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
7723 * gdb.mi/mi-complete.exp: New file.
7724 * gdb.mi/mi-complete.cc: Likewise.
7726 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
7728 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
7729 indexed and sliced arrays, and pointers to arrays.
7731 2019-05-14 Tom Tromey <tromey@adacore.com>
7733 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
7736 2019-05-14 Tom de Vries <tdevries@suse.de>
7738 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
7739 selection entry encoding.
7741 2019-05-10 Tom Tromey <tromey@adacore.com>
7743 * gdb.ada/info_exc.exp: Add "complete" test.
7745 2019-05-09 Tom de Vries <tdevries@suse.de>
7747 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
7750 2019-05-09 Tom de Vries <tdevries@suse.de>
7752 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
7755 2019-05-08 Joel Brobecker <brobecker@adacore.com>
7757 * gdb.ada/frame_arg_lang.exp: New testcase.
7758 * gdb.ada/frame_arg_lang/bla.adb: New file.
7759 * gdb.ada/frame_arg_lang/pck.ads: New file.
7760 * gdb.ada/frame_arg_lang/pck.adb: New file.
7761 * gdb.ada/frame_arg_lang/foo.c: New file.
7763 2019-05-08 Tom Tromey <tromey@adacore.com>
7765 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
7767 2019-05-08 Tom Tromey <tromey@adacore.com>
7769 * gdb.base/ptype-offsets.exp: Update tests.
7771 2019-05-08 Tom Tromey <tromey@adacore.com>
7773 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
7775 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
7778 2019-05-08 Tom Tromey <tromey@adacore.com>
7780 * gdb.ada/vla.exp: New file.
7781 * gdb.ada/vla/vla.adb: New file.
7783 2019-05-07 Tom de Vries <tdevries@suse.de>
7785 * gdb.base/index-cache.exp (ls_host): Fix return statement.
7787 2019-05-07 Tom de Vries <tdevries@suse.de>
7790 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
7793 2019-05-07 Tom de Vries <tdevries@suse.de>
7796 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
7797 .debug_aranges section.
7799 2019-05-07 Tom de Vries <tdevries@suse.de>
7802 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
7804 2019-05-06 Tom de Vries <tdevries@suse.de>
7806 * lib/gdb.exp (exec_has_index_section): New proc.
7807 * gdb.base/index-cache.exp: Handle case that binfile contains an index
7810 2019-05-04 Tom de Vries <tdevries@suse.de>
7812 * boards/cc-with-debug-names.exp: New file.
7814 2019-05-03 Tom Tromey <tromey@adacore.com>
7816 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
7817 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
7818 * gdb.ada/char_enum.exp: Add test.
7820 2019-05-03 Tom de Vries <tdevries@suse.de>
7822 * boards/cc-with-gdb-index.exp: New file.
7824 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
7826 * gdb.rust/simple.exp: Add new test case.
7827 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
7828 (main): Initialise an instance of the new struct.
7830 2019-05-01 Tom Tromey <tromey@adacore.com>
7832 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
7834 (NPR): New variable.
7835 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
7838 2019-05-01 Tom Tromey <tromey@adacore.com>
7840 * gdb.ada/packed_array_assign.exp: Add packed assignment
7843 2019-05-01 Tom de Vries <tdevries@suse.de>
7845 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
7847 2019-05-01 Tom de Vries <tdevries@suse.de>
7849 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
7851 2019-04-30 Ali Tamur <tamur@google.com>
7853 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
7855 2019-04-30 Tom Tromey <tromey@adacore.com>
7857 * lib/ada.exp (find_ada_tool): New proc.
7858 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
7859 * gdb.ada/catch_ex_std.exp: New file.
7860 * gdb.ada/catch_ex_std/foo.adb: New file.
7861 * gdb.ada/catch_ex_std/some_package.adb: New file.
7862 * gdb.ada/catch_ex_std/some_package.ads: New file.
7864 2019-04-30 Tom Tromey <tromey@adacore.com>
7867 * gdb.cp/temargs.cc: Add test code from PR.
7869 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7871 * gdb.fortran/vla-datatypes.exp: Update expected results.
7872 * gdb.fortran/vla-ptype.exp: Likewise.
7873 * gdb.fortran/vla-type.exp: Likewise.
7874 * gdb.fortran/vla-value.exp: Likewise.
7876 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7878 * gdb.fortran/ptr-indentation.exp: Update expected results.
7879 * gdb.fortran/ptype-on-functions.exp: Likewise.
7880 * gdb.fortran/vla-ptr-info.exp: Likewise.
7881 * gdb.fortran/vla-value.exp: Likewise.
7883 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7885 * gdb.fortran/ptype-on-functions.exp: New file.
7886 * gdb.fortran/ptype-on-functions.f90: New file.
7888 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7890 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
7893 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7895 * gdb.fortran/complex.exp: Expand.
7896 * gdb.fortran/complex.f: Renamed to...
7897 * gdb.fortran/complex.f90: ...this, and extended to add more
7900 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7902 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
7905 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
7906 Richard Bunt <richard.bunt@arm.com>
7908 * gdb.base/max-depth.c: New file.
7909 * gdb.base/max-depth.exp: New file.
7910 * gdb.python/py-nested-maps.c: New file.
7911 * gdb.python/py-nested-maps.exp: New file.
7912 * gdb.python/py-nested-maps.py: New file.
7913 * gdb.python/py-format-string.exp (test_max_depth): New proc.
7914 (test_all_common): Call test_max_depth.
7915 * gdb.fortran/max-depth.exp: New file.
7916 * gdb.fortran/max-depth.f90: New file.
7917 * gdb.go/max-depth.exp: New file.
7918 * gdb.go/max-depth.go: New file.
7919 * gdb.modula2/max-depth.exp: New file.
7920 * gdb.modula2/max-depth.c: New file.
7921 * lib/gdb.exp (get_print_expr_at_depths): New proc.
7923 2019-04-29 Tom de Vries <tdevries@suse.de>
7925 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
7927 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7929 * gdb.base/callexit.exp: Test may-call-functions off.
7931 2019-04-25 Keith Seitz <keiths@redhat.com>
7934 * gdb.cp/meth-typedefs.cc (incomplete_struct)
7935 (another_incomplete_struct, test_incomplete): New definitions.
7936 (main): Use new definitions.
7937 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
7940 2019-04-25 Ali Tamur <tamur@google.com>
7942 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
7944 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
7948 * gdb.base/coredump-filter-build-id.exp: New file.
7950 2019-04-25 Alan Hayward <alan.hayward@arm.com>
7952 * Makefile.in: Pass through GDBSERVER_DEBUG.
7953 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
7954 (gdbserver,debug): Add board setting.
7955 * gdb.trace/tspeed.exp: Skip when debugging.
7956 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
7957 * lib/gdbserver-support.exp: Likewise
7959 2019-04-24 Tom Tromey <tromey@adacore.com>
7961 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
7964 2019-04-24 Tom Tromey <tromey@adacore.com>
7966 * gdb.arch/amd64-eval.exp: Test bitfield return.
7967 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
7968 (class Foo) <return_bitfields>: New method.
7971 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
7973 * gdb.cp/many-args.cc: New file.
7974 * gdb.cp/many-args.exp: New file.
7976 2019-04-23 Tom de Vries <tdevries@suse.de>
7979 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
7981 2019-04-23 Alan Hayward <alan.hayward@arm.com>
7983 * gdb.trace/backtrace.exp: Use nopie flag.
7984 * gdb.trace/circ.exp: Likewise.
7985 * gdb.trace/collection.exp: Likewise.
7986 * gdb.trace/ftrace.exp: Likewise.
7987 * gdb.trace/mi-trace-unavailable.exp: Likewise.
7988 * gdb.trace/mi-traceframe-changed.exp: Likewise.
7989 * gdb.trace/qtro.exp: Likewise.
7990 * gdb.trace/read-memory.exp: Likewise.
7991 * gdb.trace/report.exp: Likewise.
7992 * gdb.trace/tfile.exp: Likewise.
7993 * gdb.trace/tfind.exp: Likewise.
7994 * gdb.trace/unavailable.exp: Likewise.
7996 2019-04-22 Pedro Alves <palves@redhat.com>
7998 * gdb.base/solib-probes-nosharedlibrary.c,
7999 gdb.base/solib-probes-nosharedlibrary.exp: New files.
8001 2019-04-19 Tom Tromey <tromey@adacore.com>
8003 * gdb.ada/ptype_union.c: New file.
8004 * gdb.ada/ptype_union.exp: New file.
8006 2019-04-19 Tom Tromey <tromey@adacore.com>
8009 * gdb.base/list0.h (foo): Add a control-l character.
8011 2019-04-18 Tom de Vries <tdevries@suse.de>
8014 * boards/local-board.exp: Set sysroot to "".
8016 2019-04-18 Tom de Vries <tdevries@suse.de>
8017 Pedro Alves <palves@redhat.com>
8020 * gdb.threads/vfork-follow-child-exec.c: New file.
8021 * gdb.threads/vfork-follow-child-exec.exp: New file.
8022 * gdb.threads/vfork-follow-child-exit.c: New file.
8023 * gdb.threads/vfork-follow-child-exit.exp: New file.
8025 2019-04-15 Leszek Swirski <leszeks@google.com>
8027 * gdb.arch/amd64-eval.cc: New file.
8028 * gdb.arch/amd64-eval.exp: New file.
8030 2019-04-11 Alan Hayward <alan.hayward@arm.com>
8032 * gdb.server/sysroot.c: New test.
8033 * gdb.server/sysroot.exp: New file.
8034 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
8037 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
8039 * gdb.base/align.exp: Extend test to cover structures containing
8042 2019-04-11 Tom de Vries <tdevries@suse.de>
8044 * boards/cc-with-dwz-m.exp: New file.
8045 * boards/cc-with-dwz.exp: New file.
8046 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
8048 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
8050 * gdb.base/start-cpp.exp: New file.
8051 * gdb.base/start-cpp.cc: New file.
8053 2019-04-08 Kevin Buettner <kevinb@redhat.com>
8055 * gdb.python/py-thrhandle.exp: Adjust tests to call
8056 thread_from_handle instead of thread_from_thread_handle.
8058 2019-04-08 Kevin Buettner <kevinb@redhat.com>
8060 * gdb.python/py-thrhandle.exp: Add tests for
8061 gdb.InferiorThread.handle.
8063 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
8065 * gdb.python/py-function.exp: Check calling helper function from
8067 * lib/gdb.exp (gdb_supported_languages): New proc.
8069 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
8071 * gdb.base/complex-parts.c: New file.
8072 * gdb.base/complex-parts.exp: New file.
8074 2019-04-01 Tom Tromey <tromey@adacore.com>
8077 * gdb.dwarf2/dw2-ranges-main.c: New file.
8078 * gdb.dwarf2/dw2-ranges-psym.c: New file.
8079 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
8081 2019-03-30 Simon Marchi <simark@simark.ca>
8083 * gdb.base/default.exp: Add values for $_gdb_major and
8086 2019-03-29 Tom Tromey <tromey@adacore.com>
8088 * gdb.base/help.exp: Tighten apropos regexp.
8090 2019-03-29 Keith Seitz <keiths@redhat.com>
8092 * gdb.fortran/array-bounds.exp: New file.
8093 * gdb.fortran/array-bounds.f90: New file.
8095 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8097 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
8099 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8101 * gdb.multi/hello.c (main): Increase alarm timer.
8103 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
8105 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
8106 factor when no hardware watchpoint support.
8108 2019-03-28 Alan Hayward <alan.hayward@arm.com>
8109 Pedro Alves <palves@redhat.com>
8111 * boards/local-board.exp: set sysroot to /.
8113 2019-03-27 Alan Hayward <alan.hayward@arm.com>
8115 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
8118 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8120 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
8122 (make_container): Initialise new field.
8123 * gdb.python/py-prettyprint.exp: Add new tests.
8124 * gdb.python/py-prettyprint.py (class ContainerPrinter)
8125 <display_hint>: New method.
8127 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8129 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
8130 gdb_continue_to_breakpoint more throughout this test.
8131 (run_lang_tests) Supply unique test names, and use
8134 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
8136 * gdb.base/finish-pretty.exp: Update expected results.
8137 * gdb.base/pretty-print.c: New file.
8138 * gdb.base/pretty-print.exp: New file.
8140 2019-03-25 Pedro Alves <palves@redhat.com>
8142 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
8143 move comments outside list. Append '-i "" eof' section.
8145 2019-03-22 Alan Hayward <alan.hayward@arm.com>
8148 * README: Add pie options.
8149 * gdb.base/break-interp.exp: Ensure pie is disabled.
8150 * gdb.base/dump.exp: Likewise.
8151 * lib/gdb.exp (gdb_compile): Add pie option.
8153 2019-03-19 Tom Tromey <tromey@adacore.com>
8155 * gdb.mi/mi2-cli-display.c: New file.
8156 * gdb.mi/mi2-cli-display.exp: New file.
8158 2019-03-18 Joel Brobecker <brobecker@adacore.com>
8159 Tom Tromey <tromey@adacore.com>
8161 * gdb.ada/ptype_array/pck.adb: New file.
8162 * gdb.ada/ptype_array/pck.ads: New file.
8163 * gdb.ada/ptype_array/foo.adb: New file.
8164 * gdb.ada/ptype_array.exp: New file.
8166 2019-03-14 Tom Tromey <tromey@adacore.com>
8168 * gdb.base/style.exp: Add "set style sources" test.
8170 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
8172 * mi-breakpoint-location-ena-dis.exp: Rename to ...
8173 * mi-breakpoint-multiple-locations.exp: ... this.
8174 (make_breakpoints_pattern): New proc.
8175 (do_test): Add mi_version parameter, test -break-insert,
8176 -break-info and =breakpoint-created.
8178 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
8180 * config/default.exp: Remove 'load_lib gdb.exp'.
8181 * config/monitor.exp: Likewise.
8182 * config/sid.exp: Likewise.
8183 * config/sim.exp: Likewise.
8184 * config/slite.exp: Likewise.
8185 * config/unix.exp: Likewise.
8186 * gdb.base/default.exp: Remove unhelpful comment.
8188 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8190 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
8192 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8194 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
8196 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8198 * gdb.fortran/type-kinds.exp: Update expected results.
8200 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8202 * gdb.fortran/type-kinds.exp: Test new integer type kind.
8204 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8206 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
8208 (test_basic_parsing_of_type_kinds): Expand types tested.
8209 (test_parsing_invalid_type_kinds): New function.
8211 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8213 * gdb.fortran/intrinsics.exp: New file.
8214 * gdb.fortran/intrinsics.f90: New file.
8215 * gdb.fortran/type-kinds.exp: New file.
8217 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8219 * gdb.fortran/dot-ops.exp: New file.
8221 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8223 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
8224 Check upper and lower case logical literals.
8226 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8228 * gdb.fortran/types.exp (test_float_literal_types_accepted):
8229 Remove duplicate tests.
8231 2019-03-06 Alan Hayward <alan.hayward@arm.com>
8233 * lib/gdb.exp (builtin_cd): rename of cd.
8234 (cd): Override builtin.
8236 2019-03-06 Richard Bunt <richard.bunt@arm.com>
8238 * gdb.fortran/function-calls.exp: New file.
8239 * gdb.fortran/function-calls.f90: New test.
8241 2019-03-04 Richard Bunt <richard.bunt@arm.com>
8243 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
8244 on user program standard output.
8245 * gdb.fortran/short-circuit-argument-list.f90: Record function
8248 2019-02-28 Alan Hayward <alan.hayward@arm.com>
8250 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
8253 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8256 * gdb.base/interrupt-daemon-attach.c,
8257 gdb.base/interrupt-daemon-attach.exp: New test.
8259 2019-02-27 Pedro Alves <palves@redhat.com>
8261 * gdb.base/page.exp: Add tests for "set width/height -1".
8263 2019-02-27 Pedro Alves <palves@redhat.com>
8265 * gdb.base/page.exp: Add tests for "set/show width/height" with
8268 2019-02-27 Tom Tromey <tromey@adacore.com>
8270 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
8272 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
8275 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
8277 * gdb.base/align.exp: Extend to compile in both C and C++, and add
8278 tests for structs with static members.
8280 2019-02-26 Tom Tromey <tromey@adacore.com>
8282 * gdb.python/py-value.exp (test_value_from_buffer): Check for
8283 ValueError, not TypeError.
8285 2019-02-26 Kevin Buettner <kevinb@redhat.com>
8287 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
8288 call from main program.
8290 2019-02-23 Joel Brobecker <brobecker@adacore.com>
8292 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
8293 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
8294 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
8295 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
8296 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
8298 2019-02-22 Keith Seitz <keiths@redhat.com>
8301 * gdb.base/symlink-sourcefile.c: New file.
8302 * gdb.base/symlink-sourcefile.exp: New file.
8304 2019-02-20 Tom Tromey <tom@tromey.com>
8306 * gdb.base/info_qt.exp: Update.
8308 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
8310 * gdb.base/source.exp: Move "error in sourced script" code to
8312 * gdb.base/source-error.gdb: Move contents to
8313 source-error-1.gdb. Add new code to source source-error-1.gdb.
8314 * gdb.base/source-error-1.gdb: New file, from previous
8317 2019-02-17 Tom Tromey <tom@tromey.com>
8319 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
8321 * gdb.base/style.c (SOME_MACRO): New macro.
8323 2019-02-17 Tom Tromey <tom@tromey.com>
8325 * gdb.base/style.exp: Add line-wrapping tests.
8326 * gdb.base/page.exp: Add test for quitting during pagination.
8328 2019-02-17 Joel Brobecker <brobecker@adacore.com>
8330 * gdb.ada/big_packed_array: New testcase.
8331 * gdb.ada/homonym.exp: Fix incorrect expected output for
8332 "break <homonym__get_value>" test.
8334 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
8336 PR breakpoints/21870
8337 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
8338 and prepare_for_testing. Add comment.
8339 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
8340 redundant cleanup call. Clean up comment.
8342 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
8344 PR breakpoints/21870
8345 * gdb.arch/aarch64-dbreg-contents.exp: New file.
8346 * gdb.arch/aarch64-dbreg-contents.c: New file.
8348 2019-02-10 Joel Brobecker <brobecker@adacore.com>
8350 * gdb.ada/mi_ref_changeable: New testcase.
8352 2019-02-07 Alan Hayward <alan.hayward@arm.com>
8354 * gdb.base/attach.exp: Add double attach test.
8356 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
8358 * lib/gdb.exp (default_gdb_start): Don't match pagination
8360 (gdb_init): Set stty_init.
8362 2019-01-27 Tom Tromey <tom@tromey.com>
8364 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
8367 2019-01-24 Alan Hayward <alan.hayward@arm.com>
8369 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
8371 (struct struct_static_02_02): Likewise.
8372 (struct struct_static_02_03): Likewise.
8373 (struct struct_static_02_04): Likewise.
8374 (struct struct_static_04_01): Likewise.
8375 (struct struct_static_04_02): Likewise.
8376 (struct struct_static_04_03): Likewise.
8377 (struct struct_static_04_04): Likewise.
8378 (struct struct_static_06_01): Likewise.
8379 (struct struct_static_06_02): Likewise.
8380 (struct struct_static_06_03): Likewise.
8381 (struct struct_static_06_04): Likewise.
8382 (cmp_struct_static_02_01): Likewise.
8383 (cmp_struct_static_02_02): Likewise.
8384 (cmp_struct_static_02_03): Likewise.
8385 (cmp_struct_static_02_04): Likewise.
8386 (cmp_struct_static_04_01): Likewise.
8387 (cmp_struct_static_04_02): Likewise.
8388 (cmp_struct_static_04_03): Likewise.
8389 (cmp_struct_static_04_04): Likewise.
8390 (cmp_struct_static_06_01): Likewise.
8391 (cmp_struct_static_06_02): Likewise.
8392 (cmp_struct_static_06_03): Likewise.
8393 (cmp_struct_static_06_04): Likewise.
8394 (call_all): Test new structs.
8395 * gdb.base/infcall-nested-structs.exp: Likewise.
8397 2019-01-21 Alan Hayward <alan.hayward@arm.com>
8398 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
8400 2019-01-21 Alan Hayward <alan.hayward@arm.com>
8401 * gdb.base/stack-protector.c: New test.
8402 * gdb.base/stack-protector.exp: New file.
8403 * gdb.cp/ovldbreak.exp: Only allow a single break line.
8404 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
8406 (gdb_compile): Remove stack protector for GCC and prevent
8409 2019-01-16 Keith Seitz <keiths@redhat.com>
8412 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
8414 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8416 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
8418 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
8420 * gdb.arch/powerpc-vector-regs.c: New file.
8421 * gdb.arch/powerpc-vector-regs.exp: New file.
8423 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8425 * gdb.arch/altivec-regs.exp: Fix the list passed to
8426 gdb_expect_list when testing "info vector".
8428 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
8430 * gdb.base/style.exp: Don't include path in testname.
8432 2019-01-10 Keith Seitz <keiths@redhat.com>
8436 * gdb.dwarf2/multidictionary.exp: New file.
8438 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
8440 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
8441 (test_gnuv3_style_demangling): ... this.
8442 (test_lucid_style_demangling): Remove.
8443 (test_arm_style_demangling): Remove.
8444 (test_hp_style_demangling): Remove.
8445 (do_tests): Remove calls to the above.
8447 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
8449 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
8452 2019-01-06 Tom Tromey <tom@tromey.com>
8455 * gdb.dwarf2/typedef-void-finish.exp: New file.
8457 2018-12-28 Tom Tromey <tom@tromey.com>
8458 Simon Marchi <simark@simark.ca>
8460 * gdb.base/jit-exec.exp: New file.
8461 * gdb.base/jit-exec.c: New file.
8462 * gdb.base/jit-execd.c: New file.
8464 2018-12-28 Tom Tromey <tom@tromey.com>
8466 * gdb.base/style.exp: Update test to check for address styling.
8468 2018-12-28 Tom Tromey <tom@tromey.com>
8470 * gdb.base/style.exp: Add test for styling of "Reading symbols"
8473 2018-12-28 Tom Tromey <tom@tromey.com>
8475 * gdb.base/style.exp: Add test for version number styling.
8477 2018-12-28 Tom Tromey <tom@tromey.com>
8479 * gdb.base/style.exp: Add test for print_address_symbolic.
8481 2018-12-28 Tom Tromey <tom@tromey.com>
8483 * gdb.base/style.exp: Add test for breakpoint setting.
8485 2018-12-28 Tom Tromey <tom@tromey.com>
8487 * gdb.base/style.exp: Add test for variable names.
8489 2018-12-28 Tom Tromey <tom@tromey.com>
8491 * gdb.base/style.exp: New file.
8492 * gdb.base/style.c: New file.
8494 2018-12-28 Tom Tromey <tom@tromey.com>
8496 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
8498 * gdb.base/readline.exp (operate_and_get_next): Save and restore
8499 the TERM environment variable.
8501 2018-12-27 Tom Tromey <tom@tromey.com>
8503 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
8506 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
8508 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
8509 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
8511 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8513 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
8514 Filename a.adb changed to bp_fun_addr.adb.
8515 gdb.ada/bp_fun_addr.exp: Update test accordingly.
8517 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
8519 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
8520 non-PIE executables.
8521 * README: Mention the gdb,nopie_flag board setting.
8522 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
8524 * gdb.arch/amd64-entry-value.exp: Likewise.
8525 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
8526 * gdb.arch/i386-float.exp: Likewise.
8527 * gdb.arch/i386-signal.exp: Likewise.
8528 * gdb.mi/mi-reg-undefined.exp: Likewise.
8530 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
8533 * gdb.base/info-os.exp: Check return for unknown "info os" type.
8535 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8537 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
8538 Update order of results accordingly.
8540 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
8542 * gdb.base/annota1.exp: Update a test regexp.
8544 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
8546 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
8548 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8550 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
8551 (reuse_time): Initialize to REUSE_TIME_CAP.
8552 (check_rc): New function.
8553 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
8554 Check pthread_create rc.
8555 (spawner_thread_func): Check pthread_create and pthread_join rc.
8557 2018-12-08 Pedro Alves <palves@redhat.com>
8559 * gdb.base/list.exp (test_forward_search): Rename to ...
8560 (test_forward_reverse_search): ... this. Also test reverse-search
8561 and the forward-search alias.
8563 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
8565 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
8566 local timeout variable before return, and remove all local timeout
8568 (gdb_load): Likewise.
8570 2018-12-01 Tom de Vries <tdevries@suse.de>
8572 * gdb.base/gdb-caching-proc.exp: New file.
8574 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
8576 * Makefile.in (TIMESTAMP): New variable.
8577 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
8579 (check-single-racy): Likewise.
8580 (check/%.exp): Likewise.
8581 (check-racy/%.exp): Likewise.
8582 (workers/%.worker): Likewise.
8583 (build-perf): Likewise.
8584 (check-perf): Likewise.
8585 * README: Describe new "TS" and "TS_FORMAT" variables.
8586 * print-ts.py: New file.
8588 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
8591 * gdb.python/python.exp: Test command repetition after
8594 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
8596 * gdb.opt/inline-break.exp: Add test that info breakpoint output
8597 is correctly aligned.
8599 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8601 * gdb.ada/info_auto_lang.exp: New testcase.
8602 * gdb.ada/info_auto_lang/global_pack.ads: New file.
8603 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
8604 * gdb.ada/info_auto_lang/some_c.c: New file.
8606 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8608 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
8609 FUNC_lang language syntax.
8611 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8613 * gdb.base/info_minsym.c: New file.
8614 * gdb.base/info_minsym.exp: New file.
8616 2018-11-19 Tom Tromey <tom@tromey.com>
8619 * gdb.rust/simple.exp: Add ptype test. Update expected output.
8620 * gdb.rust/expr.exp: Update expected output. Change one test.
8622 2018-11-19 Tom Tromey <tom@tromey.com>
8624 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
8626 2018-11-19 Pedro Alves <palves@redhat.com>
8628 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
8629 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
8630 see the expected warning.
8632 2018-11-16 Alan Hayward <alan.hayward@arm.com>
8635 * gdb.cp/infcall-nodebug-lib.c: New test.
8636 * gdb.cp/infcall-nodebug-main.c: New test.
8637 * gdb.cp/infcall-nodebug.exp: New file.
8639 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
8641 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
8644 2018-11-09 Tom de Vries <tdevries@suse.de>
8646 * gdb.base/msym-lang.c: New test.
8647 * gdb.base/msym-lang.exp: New file.
8648 * gdb.base/msym-lang-main.c: New test.
8650 2018-11-08 Tom Tromey <tom@tromey.com>
8654 * gdb.base/warning.exp: New file.
8656 2018-11-08 Jan Beulich <jbeulich@suse.com>
8658 * testsuite/gdb.arch/i386-avx512.c,
8659 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
8661 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
8663 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
8666 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
8668 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
8669 * gdb.dwarf2/missing-type-name.exp: New file.
8671 2018-11-06 Tom de Vries <tdevries@suse.de>
8673 * gdb.base/many-headers.c: New test.
8674 * gdb.base/many-headers.exp: New file.
8676 2018-11-06 Jim Wilson <jimw@sifive.com>
8678 * gdb.base/code_elim.exp: For riscv, set additional_flags
8679 to include -msmall-data-limit=0.
8681 2018-11-01 Joel Brobecker <brobecker@adacore.com>
8683 * gdb.ada/watch_minus_l: New testcase.
8685 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
8687 * gdb.arch/aix-sighandle.c: New file.
8688 * gdb.arch/aix-sighandle.exp: New file.
8690 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
8692 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
8693 registers being unions.
8695 2018-10-31 Tom de Vries <tdevries@suse.de>
8697 * lib/valgrind.exp: New file.
8698 (vgdb_start, vgdb_stop): New procs, factored out of ...
8699 * gdb.base/valgrind-bt.exp: ... here, ...
8700 * gdb.base/valgrind-disp-step.exp: ... here and ...
8701 * gdb.base/valgrind-infcall.exp: ... here.
8703 2018-10-31 Tom de Vries <tdevries@suse.de>
8705 * lib/gdb.exp (get_valueof): Don't output read value in test name.
8707 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
8709 * gdb.dwarf2/void-type.c: New file.
8710 * gdb.dwarf2/void-type.exp: New file.
8712 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8714 * gdb.base/info_qt.c: New file.
8715 * gdb.base/info_qt.exp: New file.
8717 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8719 * gdb.arch/powerpc-htm-regs.c: New file.
8720 * gdb.arch/powerpc-htm-regs.exp: New file.
8722 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8724 * gdb.arch/powerpc-tar.c: New file.
8725 * gdb.arch/powerpc-tar.exp: New file.
8727 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8729 * gdb.arch/powerpc-ppr-dscr.c: New file.
8730 * gdb.arch/powerpc-ppr-dscr.exp: New file.
8732 2018-10-25 Tom de Vries <tdevries@suse.de>
8734 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
8736 2018-10-24 Tom de Vries <tdevries@suse.de>
8738 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
8739 longer exists error.
8741 2018-10-24 Tom de Vries <tdevries@suse.de>
8743 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
8745 2018-10-24 Tom de Vries <tdevries@suse.de>
8747 * gdb.base/valgrind-db-attach.exp: Handle removed support for
8748 --db-attach in valgrind.
8750 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
8752 * gdb.arch/riscv-reg-aliases.c: New file.
8753 * gdb.arch/riscv-reg-aliases.exp: New file.
8755 2018-10-19 Alan Hayward <alan.hayward@arm.com>
8757 * gdb.python/py-cmd.exp: Check for gdb_prompt.
8759 2018-10-19 Alan Hayward <alan.hayward@arm.com>
8761 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
8763 2018-10-19 Alan Hayward <alan.hayward@arm.com>
8765 * gdb.cp/ovldbreak.exp: Fix regexps.
8767 2018-10-19 Alan Hayward <alan.hayward@arm.com>
8769 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
8771 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
8774 * gdb.base/restore.exp: New test to check if "restore" with an
8775 invalid file doesn't segfault.
8777 2018-10-18 Tom de Vries <tdevries@suse.de>
8779 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
8780 * gdb.ada/excep_handle.exp: Same.
8781 * gdb.ada/mi_string_access.exp: Same.
8782 * gdb.ada/mi_var_union.exp: Same.
8783 * gdb.arch/arc-analyze-prologue.exp: Same.
8784 * gdb.arch/arc-decode-insn.exp: Same.
8785 * gdb.base/readnever.exp: Same.
8786 * gdb.fortran/printing-types.exp: Same.
8787 * gdb.guile/scm-lazy-string.exp: Same.
8789 2018-10-16 Tom de Vries <tdevries@suse.de>
8792 * gdb.base/catch-follow-exec.c: Add copyright notice.
8793 * gdb.base/catch-follow-exec.exp: Rewrite to use
8794 gdb_spawn_with_cmdline_opts. Require gdb-native.
8796 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
8798 * gdb.trace/actions-changed.exp: Check for arch support.
8799 * gdb.trace/actions.exp: Likewise.
8800 * gdb.trace/ax.exp: Likewise.
8801 * gdb.trace/backtrace.exp: Likewise.
8802 * gdb.trace/change-loc.exp: Likewise.
8803 * gdb.trace/deltrace.exp: Likewise.
8804 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
8805 * gdb.trace/ftrace.exp: Likewise.
8806 * gdb.trace/infotrace.exp: Check for arch support.
8807 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
8808 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
8809 * gdb.trace/mi-tsv-changed.exp: Likewise.
8810 * gdb.trace/packetlen.exp: Likewise.
8811 * gdb.trace/passc-dyn.exp: Likewise.
8812 * gdb.trace/passcount.exp: Likewise.
8813 * gdb.trace/pending.exp: Likewise.
8814 * gdb.trace/range-stepping.exp: Check for shlib support.
8815 * gdb.trace/report.exp: Check for arch support.
8816 * gdb.trace/save-trace.exp: Likewise.
8817 * gdb.trace/signal.exp: Check for signal support.
8818 * gdb.trace/tfind.exp: Check for arch support.
8819 * gdb.trace/trace-break.exp: Check for arch and shlib support.
8820 * gdb.trace/trace-common.h: Add comment.
8821 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
8822 * gdb.trace/trace-enable-disable.exp: Likewise.
8823 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
8824 * gdb.trace/tracecmd.exp: Check for arch support.
8825 * gdb.trace/tspeed.exp: Check for shlib and target support.
8826 * gdb.trace/tstatus.exp: Check for arch support.
8827 * gdb.trace/tsv.exp: Likewise.
8828 * gdb.trace/while-dyn.exp: Likewise.
8829 * gdb.trace/while-stepping.exp: Likewise.
8830 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
8832 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
8834 * gdb.trace/tspeed.exp: Remove nowarnings.
8835 (prepare_for_trace_test): Declare "global ipalib".
8836 * gdb.trace/tspeed.c: Include unistd.h.
8837 (main): Remove superfluous printf argument.
8839 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
8841 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
8842 directory prefix on the filename.
8844 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
8846 * gdb.gdb/unittest.exp: Update expected message informing that
8847 selftests have been disabled.
8848 * gdb.server/unittest.exp: Likewise.
8850 2018-10-09 Tom de Vries <tdevries@suse.de>
8852 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
8855 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
8858 * gdb.cp/virtbase2.cc: New file.
8859 * gdb.cp/virtbase2.exp: New file.
8861 2018-10-06 Tom Tromey <tom@tromey.com>
8864 * gdb.python/py-inferior.exp: Add architecture test.
8866 2018-10-06 Tom Tromey <tom@tromey.com>
8868 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
8869 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
8871 2018-10-06 Tom Tromey <tom@tromey.com>
8873 * gdb.python/py-breakpoint.exp (check_last_event): Check location
8874 of a "throw" catchpoint.
8876 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
8878 * gdb.base/info-proc.exp: Update string expected from "help info
8881 2018-10-04 Tom Tromey <tom@tromey.com>
8883 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
8884 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
8885 (test_initial_complaints, test_empty_complaints): Update.
8886 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
8888 2018-10-04 Tom Tromey <tom@tromey.com>
8891 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
8892 * lib/gdb.exp (gdb_file_cmd): Update.
8893 * gdb.stabs/weird.exp (print_weird_var): Update.
8894 * gdb.server/solib-list.exp: Update.
8895 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
8896 * gdb.mi/mi-cli.exp: Update.
8897 * gdb.linespec/linespec.exp: Update.
8898 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
8899 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
8900 * gdb.cp/cp-relocate.exp: Update.
8901 * gdb.base/sym-file.exp: Update.
8902 * gdb.base/relocate.exp: Update.
8903 * gdb.base/readnever.exp: Update.
8904 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
8905 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
8906 * gdb.base/dbx.exp (gdb_file_cmd): Update.
8907 * gdb.base/code_elim.exp: Update.
8908 * gdb.base/break-unload-file.exp (test_break): Update.
8909 * gdb.base/break-interp.exp (test_attach_gdb): Update.
8910 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
8912 * gdb.base/attach.exp (do_attach_tests): Update.
8913 * gdb.base/sepdebug.exp: Update.
8914 * gdb.python/py-section-script.exp: Update.
8916 2018-10-04 Tom Tromey <tom@tromey.com>
8919 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
8920 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
8923 2018-10-04 Tom Tromey <tom@tromey.com>
8925 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
8926 set width and height to 0.
8927 (test_command_line_attach_run): Use -quiet.
8929 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
8931 * lib/gdb.exp (skip_ifunc_tests): New.
8932 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
8933 other compile failures.
8934 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
8936 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
8938 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
8939 is_amd64_regs_target.
8941 2018-10-01 Alan Hayward <alan.hayward@arm.com>
8943 * gdb.arch/aarch64-sighandler-regs.c: New test.
8944 * gdb.arch/aarch64-sighandler-regs.exp: New file.
8945 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
8947 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
8949 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
8952 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
8954 * gdb.base/frame-selection.exp: New file.
8955 * gdb.base/frame-selection.c: New file.
8957 2018-09-27 Alan Hayward <alan.hayward@arm.com>
8959 * gdb.threads/check-libthread-db.c (thread_routine): Use a
8963 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
8965 * gdb.base/large-frame-1.c: New file.
8966 * gdb.base/large-frame-2.c: New file.
8967 * gdb.base/large-frame.exp: New file.
8968 * gdb.base/large-frame.h: New file.
8970 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
8973 * gdb.base/write_mem.exp: New test.
8974 * gdb.base/write_mem.c: Likewise.
8976 2018-09-23 Tom Tromey <tom@tromey.com>
8979 * gdb.python/py-parameter.exp: Add test for parameter that throws
8982 2018-09-23 Tom Tromey <tom@tromey.com>
8985 * gdb.python/py-template.exp (test_template_arg): Add test for
8986 negative template argument number.
8988 2018-09-23 Tom Tromey <tom@tromey.com>
8991 * gdb.python/python.exp: Add test for post_event error.
8993 2018-09-23 Tom Tromey <tom@tromey.com>
8996 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
8997 convert pointers to int and long.
8999 2018-09-23 Tom Tromey <tom@tromey.com>
9002 * gdb.python/py-value.exp (test_value_numeric_ops): Add
9003 signed-ness conversion tests.
9005 2018-09-23 Tom Tromey <tom@tromey.com>
9008 * gdb.python/py-value.exp (test_float_conversion): New proc.
9011 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
9013 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
9015 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
9017 * gdb.base/complete-empty.exp: Skip tab-completion tests if
9019 * gdb.base/utf8-identifiers.exp: Likewise.
9020 * gdb.cp/cpcompletion.exp: Likewise.
9021 * gdb.linespec/cpcompletion.exp: Likewise.
9022 * gdb.linespec/cpls-abi-tag.exp: Likewise.
9023 * gdb.linespec/cpls-ops.exp: Likewise.
9025 2018-09-19 Richard Bunt <richard.bunt@arm.com>
9026 Chris January <chris.january@arm.com>
9028 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
9029 * gdb.fortran/short-circuit-argument-list.exp: New file.
9030 * gdb.fortran/short-circuit-argument-list.f90: New test.
9032 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9034 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
9035 "arch=" keyword when executing "-stack-list-frames".
9037 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9039 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
9040 "arch=" keyword when executing "-stack-list-frames".
9042 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
9044 * gdb.ada/complete.exp: Expect for "@" when doing "complete
9047 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
9050 * gdb.python/python.exp: Test gdb.execute("show commands").
9052 2018-09-16 Tom Tromey <tom@tromey.com>
9054 * gdb.base/new-ui.exp (do_execution_tests): Update.
9055 * gdb.base/dbx.exp (test_breakpoints): Update.
9057 2018-09-14 Alan Hayward <alan.hayward@arm.com>
9059 * lib/gdb.exp (gdb_simple_compile): Add proc.
9060 (is_elf_target): Use gdb_simple_compile.
9061 (skip_altivec_tests): Likewise.
9062 (skip_vsx_tests): Likewise.
9063 (skip_tsx_tests): Likewise.
9064 (skip_btrace_tests): Likewise.
9065 (skip_btrace_pt_tests): Likewise.
9066 (gdb_can_simple_compile): Likewise.
9067 (gdb_has_argv0): Likewise.
9068 (gdb_target_symbol_prefix): Likewise.
9069 (target_supports_scheduler_locking): Likewise.
9071 2018-09-13 Tom Tromey <tom@tromey.com>
9073 * Makefile.in (TAGS): Recognize proc_with_prefix and
9076 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9078 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
9081 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9083 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
9084 and a few other Inferior properties when the Inferior is no
9087 2018-09-13 Tom Tromey <tom@tromey.com>
9090 * gdb.rust/simple.exp: Add test for enum field access error.
9092 2018-09-13 Tom Tromey <tom@tromey.com>
9095 * gdb.rust/simple.rs (EmptyEnum): New type.
9097 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
9099 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
9101 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
9102 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
9103 * gdb.python/py-symtab.exp: Update test printing an objfile.
9105 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
9107 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
9110 2018-09-12 Alan Hayward <alan.hayward@arm.com>
9112 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
9113 (support_complex_tests): Use gdb_can_simple_compile.
9114 (is_ilp32_target): Likewise.
9115 (is_lp64_target): Likewise.
9116 (is_64_target): Likewise.
9117 (is_amd64_regs_target): Likewise.
9118 (is_aarch32_target): Likewise.
9119 (gdb_int128_helper): Likewise.
9121 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9123 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
9125 2018-09-10 Jerome Guitton <guitton@adacore.com>
9127 * gdb.ada/same_component_name: Add test for case of tagged record
9128 with variable-length fields.
9130 2018-09-10 Xavier Roirand <roirand@adacore.com>
9132 * gdb.ada/access_to_unbounded_array.exp: New testcase.
9133 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
9134 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
9135 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
9137 2018-09-10 Xavier Roirand <roirand@adacore.com>
9139 * gdb.ada/mi_string_access.exp: New testcase.
9140 * gdb.ada/mi_string_access/bar.adb: New file.
9141 * gdb.ada/mi_string_access/pck.adb: New file.
9142 * gdb.ada/mi_string_access/pck.asd: New file.
9144 2018-09-10 Xavier Roirand <roirand@adacore.com>
9146 * gdb.ada/mi_var_union.exp: New testcase.
9147 * gdb.ada/mi_var_union/bar.adb: New file.
9148 * gdb.ada/mi_var_union/pck.adb: New file.
9149 * gdb.ada/mi_var_union/pck.asd: New file.
9151 2018-09-08 Tom Tromey <tom@tromey.com>
9153 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
9155 2018-09-08 Tom Tromey <tom@tromey.com>
9158 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
9159 (register_pretty_printers): Register new printer.
9160 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
9162 * gdb.python/py-prettyprint.c (int_type3): New typedef.
9163 (an_int_type3): New global.
9165 2018-09-08 Joel Brobecker <brobecker@adacore.com>
9167 * gdb.ada/expr_with_funcall: New testcase.
9169 2018-09-08 Joel Brobecker <brobecker@adacore.com>
9171 * gdb.ada/packed_array_assign: New testcase.
9173 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
9175 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
9176 names, and add test prefixes to make test names unique.
9178 2018-09-05 Tom de Vries <tdevries@suse.de>
9180 * gdb.dwarf2/varval.exp: Add test.
9182 2018-09-04 Gary Benson <gbenson@redhat.com>
9184 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
9185 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
9187 2018-08-31 Tom Tromey <tom@tromey.com>
9189 * gdb.rust/simple.rs: Rename second variable "v".
9191 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
9193 * gdb.base/funcargs.c (use_a): New function.
9194 (recurse): Call use_a.
9196 2018-08-29 Keith Seitz <keiths@redhat.com>
9198 * gdb.compile/compile-cplus-anonymous.cc: New file.
9199 * gdb.compile/compile-cplus-anonymous.exp: New file.
9200 * gdb.compile/compile-cplus-array-decay.cc: New file.
9201 * gdb.compile/compile-cplus-array-decay.exp: New file.
9202 * gdb.compile/compile-cplus-inherit.cc: New file.
9203 * gdb.compile/compile-cplus-inherit.exp: New file.
9204 * gdb.compile/compile-cplus-member.cc: New file.
9205 * gdb.compile/compile-cplus-member.exp: New file.
9206 * gdb.compile/compile-cplus-method.cc: New file.
9207 * gdb.compile/compile-cplus-method.exp: New file.
9208 * gdb.compile/compile-cplus-mod.c: "New" file.
9209 * gdb.compile/compile-cplus-namespace.cc: New file.
9210 * gdb.compile/compile-cplus-namespace.exp: New file.
9211 * gdb.compile/compile-cplus-nested.cc: New file.
9212 * gdb.compile/compile-cplus-nested.exp: New file.
9213 * gdb.compile/compile-cplus-print.c: "New" file.
9214 * gdb.compile/compile-cplus-print.exp: "New" file.
9215 * gdb.compile/compile-cplus-virtual.cc: New file.
9216 * gdb.compile/compile-cplus-virtual.exp: New file.
9217 * gdb.compile/compile-cplus.c: "New" file.
9218 * gdb.compile/compile-cplus.exp: "New" file.
9219 * lib/compile-support.exp: New file.
9221 2018-08-16 Gary Benson <gbenson@redhat.com>
9224 * gdb.base/batch-exit-status.exp: New file.
9225 * gdb.base/batch-exit-status.good-commands: Likewise.
9226 * gdb.base/batch-exit-status.bad-commands: Likewise.
9228 2018-08-29 Alan Hayward <alan.hayward@arm.com>
9230 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
9231 (struct struct02): Likewise.
9232 (struct struct03): Likewise.
9233 (struct struct04): Likewise.
9234 (struct struct_01_01): New struct.
9235 (struct struct_01_02): Likewise.
9236 (struct struct_01_03): Likewise.
9237 (struct struct_01_04): Likewise.
9238 (struct struct_02_01): Likewise.
9239 (struct struct_02_02): Likewise.
9240 (struct struct_02_03): Likewise.
9241 (struct struct_02_04): Likewise.
9242 (struct struct_04_01): Likewise.
9243 (struct struct_04_02): Likewise.
9244 (struct struct_04_03): Likewise.
9245 (struct struct_04_04): Likewise.
9246 (struct struct_05_01): Likewise.
9247 (struct struct_05_02): Likewise.
9248 (struct struct_05_03): Likewise.
9249 (struct struct_05_04): Likewise.
9250 (cmp_struct01): Remove function.
9251 (cmp_struct02): Likewise.
9252 (cmp_struct03): Likewise.
9253 (cmp_struct04): Likewise.
9254 (cmp_struct_01_01): Add Function.
9255 (cmp_struct_01_02): Likewise.
9256 (cmp_struct_01_03): Likewise.
9257 (cmp_struct_01_04): Likewise.
9258 (cmp_struct_02_01): Likewise.
9259 (cmp_struct_02_02): Likewise.
9260 (cmp_struct_02_03): Likewise.
9261 (cmp_struct_02_04): Likewise.
9262 (cmp_struct_04_01): Likewise.
9263 (cmp_struct_04_02): Likewise.
9264 (cmp_struct_04_03): Likewise.
9265 (cmp_struct_04_04): Likewise.
9266 (cmp_struct_05_01): Likewise.
9267 (cmp_struct_05_02): Likewise.
9268 (cmp_struct_05_03): Likewise.
9269 (cmp_struct_05_04): Likewise.
9270 (call_all): Add new structs.
9271 * gdb.base/infcall-nested-structs.exp: Likewise.
9273 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
9275 * gdb.python/py-framefilter-mi.exp: Update regexp to
9276 check for "arch" field in frame output.
9278 2018-08-23 Kevin Buettner <kevinb@redhat.com>
9280 * gdb.dwarf2/dw2-ranges-func.c: New file.
9281 * gdb.dwarf2/dw2-ranges-func.exp: New file.
9283 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
9285 * gdb.base/term.exp: Compare terminal settings with values from
9287 * gdb.base/term.c: Get and set terminal settings.
9289 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
9291 * lib/mi-support.exp (mi_expect_stop): Update regexp to
9292 accommodate new "arch" field in frame output.
9293 * gdb.mi/mi-return.exp: Likewise.
9294 * gdb.mi/mi-stack.exp: Likewise.
9295 * gdb.mi/mi-syn-frame.exp: Likewise.
9296 * gdb.mi/user-selected-context-sync.exp: Likewise.
9298 2018-08-19 Michael Spang <spang@google.com>
9301 * gdb.base/gcore-tls-pie.c: New file.
9302 * gdb.base/gcore-tls-pie.exp: New file.
9304 2018-08-18 Kevin Buettner <kevinb@redhat.com>
9306 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
9307 * gdb.dwarf2/varval.c: New file.
9308 * gdb.dwarf2/varval.exp: New file.
9310 2018-08-17 Alan Hayward <alan.hayward@arm.com>
9313 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
9315 2018-08-16 Keith Seitz <keiths@redhat.com>
9317 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
9318 tests expected to pass.
9320 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
9322 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
9323 -data-disassemble -a.
9324 (test_disassembly_bogus_args): Likewise.
9326 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
9328 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
9330 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
9332 * gdb.base/vla-optimized-out.exp: Add new test.
9334 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
9336 * gdb.base/vla-optimized-out-o3.exp: Delete.
9337 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
9338 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
9341 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
9344 * gdb.server/extended-remote-restart.c: New file.
9345 * gdb.server/extended-remote-restart.exp: New file.
9347 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
9349 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
9350 "set variable index = 42".
9352 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
9354 * boards/index-cache-gdb.exp: New file.
9355 * gdb.dwarf2/index-cache.exp: New file.
9356 * gdb.dwarf2/index-cache.c: New file.
9357 * gdb.base/maint.exp: Check if we are using the index cache.
9359 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9361 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
9364 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9366 * dg-extract-results.sh: Move to toplevel contrib.
9367 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
9368 * Makefile.in (check-parallel-racy): Likewise.
9370 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
9372 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
9373 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
9374 tests if the target supports scheduler locking.
9376 2018-08-04 Tom de Vries <tdevries@suse.de>
9378 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
9380 2018-08-02 Tom Tromey <tom@tromey.com>
9383 * gdb.cp/temargs.exp: Test "info address" of a template
9386 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
9388 * gdb.python/py-mi-var-info-path-expression.c: New file.
9389 * gdb.python/py-mi-var-info-path-expression.py: New file.
9390 * gdb.python/py-mi-var-info-path-expression.exp: New file.
9392 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
9394 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
9395 error after "cannot resolve name" string.
9397 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
9399 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
9401 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
9403 2018-07-28 Tom de Vries <tdevries@suse.de>
9405 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
9407 2018-07-26 Tom de Vries <tdevries@suse.de>
9409 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
9411 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
9413 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
9416 2018-07-26 Tom de Vries <tdevries@suse.de>
9418 PR breakpoints/23366
9419 * gdb.base/catch-follow-exec.c: New test.
9420 * gdb.base/catch-follow-exec.exp: New file.
9422 2018-07-25 Tom de Vries <tdevries@suse.de>
9424 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
9425 vla-optimized-out.c.
9427 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
9429 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
9430 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
9432 2018-07-20 Tom de Vries <tdevries@suse.de>
9434 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
9436 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
9438 2018-07-19 Tom de Vries <tdevries@suse.de>
9440 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
9443 2018-07-18 Tom de Vries <tdevries@suse.de>
9445 * gdb.base/vla-optimized-out.c: New test.
9446 * gdb.base/vla-optimized-out.exp: New file.
9448 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
9450 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
9451 message "No address associated with hostname" when gdbserver
9452 cannot resolve the hostname.
9454 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9456 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
9457 Add some test prefixes to make tests unique.
9459 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9461 * gdb.base/frameapply.c: New file.
9462 * gdb.base/frameapply.exp: New file.
9464 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9466 * gdb.base/skip.exp: Update expected error message.
9468 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
9469 Jan Kratochvil <jan.kratochvil@redhat.com>
9470 Paul Fertser <fercerpav@gmail.com>
9471 Tsutomu Seki <sekiriki@gmail.com>
9473 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
9475 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
9477 * boards/native-gdbserver.exp: Likewise.
9478 * gdb.server/run-without-local-binary.exp: Improve regexp used
9479 for detecting when a remote debugging connection succeeds.
9480 * gdb.server/server-connect.exp: New file.
9481 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
9482 Do not prefix the port number with ":".
9483 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
9484 support for detecting and using it. Add '$debughost_gdbserver'
9485 to the list of arguments used to start gdbserver. Handle case
9486 when gdbserver cannot resolve a network name.
9488 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
9491 * gdb.base/ptype-offsets.cc (struct static_member): New
9493 (main) <stmember>: New variable.
9494 * gdb.base/ptype-offsets.exp: Add test for printing a struct
9495 with a static member in it.
9497 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
9499 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
9500 watchpoints enabled and disabled.
9502 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
9504 * gdb.base/examine-backward.exp: Still run tests around address
9505 0x0, even if address 0x0 is not readable. Update the pattern for
9506 matching address 0x0 in expected output.
9508 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
9510 * gdb.base/share-env-with-gdbserver.c (main): Add call to
9513 2018-07-04 Tom de Vries <tdevries@suse.de>
9515 * gdb.dwarf2/dw2-error.exp: Update expected error message.
9517 2018-07-02 Maciej W. Rozycki <macro@mips.com>
9520 * gdb.arch/mips-disassembler-options.exp: New test.
9521 * gdb.arch/mips-disassembler-options.s: New test source.
9523 2018-06-29 Pedro Alves <palves@redhat.com>
9525 * gdb.threads/names.exp: Adjust expected "info threads" output.
9527 2018-06-29 Pedro Alves <palves@redhat.com>
9529 * gdb.opt/inline-break.exp (line number, address): Add "info
9532 2018-06-29 Pedro Alves <palves@redhat.com>
9534 * gdb.opt/inline-break.c (func1): Add "break here" marker.
9535 * gdb.opt/inline-break.exp: Test setting breakpoints by line
9536 number and address and running to them.
9538 2018-06-29 Richard Bunt <richard.bunt@arm.com>
9540 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
9542 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9544 * lib/compiler.c: Remove executable permission flag.
9546 2018-06-28 Richard Bunt <richard.bunt@arm.com>
9548 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
9550 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
9552 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
9554 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
9556 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
9558 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
9559 address argument is omitted.
9561 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
9563 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
9565 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
9568 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
9569 * gdb.base/infoline-reloc-main-from-zero.c: New file.
9571 2018-06-26 Tom Tromey <tom@tromey.com>
9574 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
9575 * gdb.rust/simple.rs (struct SimpleLayout): New.
9577 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
9579 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
9580 "info registers" output.
9582 2018-06-21 Richard Bunt <richard.bunt@arm.com>
9584 * gdb.base/watchpoint-hw-attach.c: New test.
9585 * gdb.base/watchpoint-hw-attach.exp: New file.
9587 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
9589 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
9591 * boards/dwarf4-gdb-index.exp: Likewise.
9592 * boards/fission-dwp.exp: Likewise.
9594 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
9596 * gdb.base/float128.exp: Add comment and improved fail message
9597 to the failure case of "print large128" test.
9599 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
9601 * configure.ac: Remove AC_PREREQ.
9602 * configure: Re-generate.
9604 2018-06-19 Pedro Alves <palves@redhat.com>
9606 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
9607 (func_extern_caller): New.
9608 (main): Call func_extern_caller.
9609 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
9612 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
9615 * gdb.cp/typedef-base.cc: New file.
9616 * gdb.cp/typedef-base.exp: New file.
9618 2018-06-18 Tom de Vries <tdevries@suse.de>
9620 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
9622 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
9623 Richard Bunt <Richard.Bunt@arm.com>
9625 * gdb.threads/attach-slow-waitpid.c: New file.
9626 * gdb.threads/attach-slow-waitpid.exp: New file.
9627 * gdb.threads/slow-waitpid.c: New file.
9629 2018-06-14 Pedro Alves <palves@redhat.com>
9631 * gdb.base/fork-running-state.c: Include <errno.h>.
9632 (exit_if_relative_exits): New.
9633 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
9635 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
9638 2018-06-14 Tom de Vries <tdevries@suse.de>
9641 * gdb.base/finish-pretty.c: New test.
9642 * gdb.base/finish-pretty.exp: New file.
9644 2018-06-14 Pedro Alves <palves@redhat.com>
9646 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
9647 gdb's expected startup output.
9649 2018-06-14 Pedro Alves <palves@redhat.com>
9651 * lib/selftest-support.exp (selftest_setup): Remove inlined
9654 2018-06-14 Tom de Vries <tdevries@suse.de>
9656 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
9657 matching of breakpoint printing.
9659 2018-06-13 Tom de Vries <tdevries@suse.de>
9662 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
9663 (fork_child): ... here, and ...
9664 (fork_parent): ... here.
9666 2018-06-12 Tom de Vries <tdevries@suse.de>
9668 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
9670 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
9671 Stephen Roberts <stephen.roberts@arm.com>
9673 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
9674 rewrite test to describe action performed, rather than possible
9677 2018-06-08 Gary Benson <gbenson@redhat.com>
9679 * gdb.threads/check-libthread-db.exp: New file.
9680 * gdb.threads/check-libthread-db.c: Likewise.
9682 2018-06-05 Tom Tromey <tom@tromey.com>
9684 * gdb.base/default.exp: Update expected "show version" output.
9686 2018-06-05 Tom Tromey <tom@tromey.com>
9689 * gdb.cp/static-print-quit.exp: Update.
9690 * lib/gdb.exp (pagination_prompt): Update.
9691 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
9692 * gdb.python/python.exp: Update.
9694 2018-06-04 Joel Brobecker <brobecker@adacore.com>
9696 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
9698 2018-06-01 Joel Brobecker <brobecker@adacore.com>
9700 * gdb.ada/bp_fun_addr: New testcase.
9702 2018-06-01 Tom Tromey <tom@tromey.com>
9704 * gdb.xml/tdesc-regs.exp (load_description): Update expected
9706 * gdb.dwarf2/method-ptr.exp: Set language to C++.
9707 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
9708 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
9709 * gdb.base/maint.exp (maint_pass_if): Update.
9711 2018-05-31 Maciej W. Rozycki <macro@mips.com>
9713 * gdb.base/endian.exp: New test.
9714 * gdb.base/endian.c: New test source.
9716 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
9719 * gdb.base/bt-selected-frame.c: New file.
9720 * gdb.base/bt-selected-frame.exp: New file.
9721 * lib/gdb.exp (get_current_frame_number): New function.
9723 2018-05-24 Maciej W. Rozycki <macro@mips.com>
9724 Pedro Alves <palves@redhat.com>
9726 * gdb.threads/tls-core.c: Include <stdlib.h>
9727 (thread_proc): Call `abort'.
9728 * gdb.threads/tls-core.exp: Generate a core with core_find too.
9729 (tls_core_test): New procedure, bits factored out from ...
9730 (top level): ... here. Test both native cores and gcore cores.
9732 2018-05-23 Tom Tromey <tom@tromey.com>
9734 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
9736 2018-05-23 Tom Tromey <tom@tromey.com>
9738 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
9740 (test_short_complaints): Likewise.
9741 (test_empty_complaints): Likewise.
9742 (test_initial_complaints): Update.
9744 2018-05-23 Tom Tromey <tom@tromey.com>
9746 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
9748 2018-05-23 Tom Tromey <tom@tromey.com>
9750 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
9751 (test_short_complaints): Update.
9753 2018-05-22 Pedro Alves <palves@redhat.com>
9755 * gdb.base/remote.exp: Only gdb_start after compiling the
9756 testcase. Issue "disconnect" before testing "set remote" command
9757 defaults. Issue clean_restart before running to main.
9759 2018-05-22 Pedro Alves <palves@redhat.com>
9761 * gdb.base/remote.exp: Adjust expected output of "show remote
9762 memory-write-packet-size". Add tests for "set remote
9763 memory-write-packet-size 0" and "set remote
9764 memory-write-packet-size fixed/limit".
9766 2018-05-22 Pedro Alves <palves@redhat.com>
9769 * gdb.base/utf8-identifiers.c: New file.
9770 * gdb.base/utf8-identifiers.exp: New file.
9772 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
9774 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
9776 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
9778 * gdb.arch/powerpc-vsx-gcore.exp: New file.
9780 2018-05-18 Tom Tromey <tom@tromey.com>
9782 * gdb.base/ptype-offsets.exp: Update.
9784 2018-05-17 Keith Seitz <keiths@redhat.com>
9786 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
9787 in expected breakpoint stop locations.
9788 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
9789 move to proper scope to test variable values.
9790 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
9791 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
9793 (main): Call not_inline_func3.
9794 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
9795 inline_func1, inline_func2, and inline_func3. Test that when each
9796 breakpoint is hit, GDB properly reports both the stop location
9797 and the backtrace. Repeat tests for temporary breakpoints.
9799 2018-05-15 Maciej W. Rozycki <macro@mips.com>
9801 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
9802 rather then trying to access it in determining whether the PID
9803 of `gdbserver' could have been retrieved.
9805 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
9807 * gdb.arch/amd64-init-x87-values.S: New file.
9808 * gdb.arch/amd64-init-x87-values.exp: New file.
9810 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9812 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
9814 2018-05-04 Tom Tromey <tom@tromey.com>
9817 * gdb.python/python.exp: Test multi-line execute.
9819 2018-05-04 Tom Tromey <tom@tromey.com>
9822 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
9824 2018-05-04 Tom Tromey <tom@tromey.com>
9827 * gdb.base/define.exp: Test defining a user command inside a user
9829 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
9831 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9832 Pedro Alves <palves@redhat.com>
9834 PR breakpoints/19806 and support for PR external/20207.
9835 * gdb.base/watchpoint-unaligned.c: New file.
9836 * gdb.base/watchpoint-unaligned.exp: New file.
9838 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
9840 * gdb.base/maint.exp: Make test names unique, use
9841 test_prefix_command_help to test 'help maint info', and remove
9842 repeated test of 'help maint'.
9844 2018-05-04 Tom Tromey <tom@tromey.com>
9847 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
9850 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
9852 * gdb.base/maint.exp: Process output from 'maint print registers'
9855 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
9857 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
9860 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
9862 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
9865 2018-05-02 Pedro Alves <palves@redhat.com>
9867 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
9868 to_log_command renames.
9869 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
9871 2018-05-02 Tom Tromey <tom@tromey.com>
9873 * gdb.python/py-parameter.exp: Set test message.
9875 2018-05-02 Tom Tromey <tom@tromey.com>
9878 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
9879 PARAM_ZUINTEGER_UNLIMITED tests.
9881 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
9884 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
9887 2018-04-30 Tom Tromey <tom@tromey.com>
9889 * gdb.python/py-type.exp: Check align attribute.
9890 * gdb.python/py-type.c: New "aligncheck" global.
9892 2018-04-30 Tom Tromey <tom@tromey.com>
9895 * gdb.dwarf2/dw2-align.exp: New file.
9896 * gdb.cp/align.exp: New file.
9897 * gdb.base/align.exp: New file.
9898 * lib/gdb.exp (gdb_int128_helper): New proc.
9899 (has_int128_c, has_int128_cxx): New caching procs.
9901 2018-04-27 Tom Tromey <tom@tromey.com>
9904 * gdb.rust/simple.exp: Add inclusive range tests.
9906 2018-04-26 Pedro Alves <palves@redhat.com>
9908 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
9909 ifunc breakpoint locations correctly of ifunc breakpoints set
9910 while the program resolves the ifunc.
9912 2018-04-26 Pedro Alves <palves@redhat.com>
9914 * gdb.base/gnu-ifunc-final.c: New file.
9915 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
9916 * gdb.base/gnu-ifunc.exp (executable): Delete.
9917 (staticexecutable): Adjust.
9918 (lib_opts, exec_opts): Delete.
9919 (make_binsuffix, build, set-break): New procedures.
9920 (misc_tests): New, with tests factored out from the top level.
9921 (top level): Test different combinations of ifunc resolver name,
9922 resolver with and with debug info, and ifunc target with and
9923 without debug info. Wrap static tests with with_target_prefix.
9925 2018-04-26 Pedro Alves <palves@redhat.com>
9927 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
9928 return type" warnings.
9930 2018-04-25 Pedro Alves <palves@redhat.com>
9932 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
9934 * gdb.base/kill-after-signal.exp: Likewise.
9935 * gdb.threads/kill.exp: Likewise.
9937 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9938 Sergio Durigan Junior <sergiodj@redhat.com>
9939 Pedro Alves <palves@redhat.com>
9941 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
9942 regexps to expect for '[Inferior ... detached]' as well.
9943 * gdb.base/attach.exp: Likewise.
9944 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
9945 "gdb_continue_to_end".
9946 (test_catch_syscall_with_wrong_args): Likewise.
9947 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
9948 ']'. Don't set 'verbose' on.
9949 * gdb.base/foll-vfork.exp: Likewise.
9950 * gdb.base/fork-print-inferior-events.c: New file.
9951 * gdb.base/fork-print-inferior-events.exp: New file.
9952 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
9953 '[Inferior ... has been killed]' message.
9954 * gdb.base/kill-after-signal.exp: Likewise.
9955 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
9957 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
9959 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
9960 regexps to expect for '[Inferior ... detached]' as well.
9961 * gdb.threads/process-dies-while-detaching.exp: Likewise.
9963 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
9966 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
9968 2018-04-22 Rajendra SY <rajendra.sy@gmail.com>
9971 * gdb.base/break-probes.exp: Pass shlib_load to
9972 prepare_for_testing. Set normal_bp to r_debug_state if target is
9975 2018-04-19 Richard Bunt <richard.bunt@arm.com>
9977 * gdb.threads/multiple-successive-infcall.c: New test.
9978 * gdb.threads/multiple-successive-infcall.exp: New file.
9980 2018-04-17 Tom Tromey <tom@tromey.com>
9982 * gdb.rust/simple.rs (Union): New type.
9983 (main): New local "u".
9984 * gdb.rust/simple.exp (test_one_slice): Add new test case.
9986 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9988 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
9989 number information in output of "whereis" command.
9990 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
9992 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9994 * gdb.ada/info_types.exp: Adjust expected output to the line
9995 numbers now printed by "info var/func/type".
9996 * gdb.base/completion.exp: Likewise.
9997 * gdb.base/included.exp: Likewise.
9998 * gdb.cp/cp-relocate.exp: Likewise.
9999 * gdb.cp/cplusfuncs.exp: Likewise.
10000 * gdb.cp/namespace.exp: Likewise.
10001 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
10003 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
10005 * gdb.btrace/cpu.exp: New.
10007 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
10009 * gdb.base/step-indirect-call-thunk.exp: New.
10010 * gdb.base/step-indirect-call-thunk.c: New.
10011 * gdb.reverse/step-indirect-call-thunk.exp: New.
10012 * gdb.reverse/step-indirect-call-thunk.c: New.
10014 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
10016 * gdb.base/pie-fork.c: New file.
10017 * gdb.base/pie-fork.exp: New file.
10019 2018-04-11 Tom Tromey <tom@tromey.com>
10021 * gdb.rust/simple.exp: Add test for ".." struct initializer.
10023 2018-04-10 Pedro Alves <palves@redhat.com>
10025 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
10026 exits. Instead loop running forever.
10027 (fork_parent): Run forever too.
10029 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
10031 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
10032 mi_continue_to_line.
10033 * gdb.mi/mi-stack.c (callee4): Add comment.
10035 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
10037 * gdb.mi/mi-stack.exp: Fix indentation.
10039 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
10042 * gdb.arch/amd64-osabi.exp: New file.
10044 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
10047 * gdb.base/osabi.exp: New file.
10049 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
10051 * gdb.cp/static-typedef-print.exp: New file.
10052 * gdb.cp/static-typedef-print.cc: New file.
10054 2018-03-27 Joel Brobecker <brobecker@adacore.com>
10056 * gdb.ada/varsize_limit: New testcase.
10058 2018-03-27 Joel Brobecker <brobecker@adacore.com>
10060 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
10062 * gdb.ada/notcplusplus: New testcase.
10064 * gdb.base/c-linkage-name.c: New file.
10065 * gdb.base/c-linkage-name.exp: New testcase.
10067 2018-03-26 Tom Tromey <tom@tromey.com>
10069 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
10070 * gdb.python/py-framefilter.py (name_error): New global.
10071 (ErrorInName.function): Use name_error.
10073 2018-03-26 Tom Tromey <tom@tromey.com>
10075 PR backtrace/15582:
10076 * gdb.python/py-framefilter.exp: Add "bt hide" test.
10078 2018-03-23 Keith Seitz <keiths@redhat.com>
10081 * gdb.cp/subtypes.exp: New file.
10082 * gdb.cp/subtypes.h: New file.
10083 * gdb.cp/subtypes.cc: New file.
10084 * gdb.cp/subtypes-2.cc: New file.
10086 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
10088 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
10089 (done): Call '_exit' not 'exit' to avoid atexit handlers.
10090 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
10091 -nostartfiles when compiling the test. Confirm that all registers
10092 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
10094 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
10096 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
10097 option, syntax was wrong anyway.
10098 * gdb.arch/arm-disp-step.exp: Likewise.
10099 * gdb.arch/sparc64-regs.exp: Likewise.
10100 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
10101 option, syntax was wrong anyway, switch to use
10102 prepare_for_testing.
10103 * gdb.arch/i386-disp-step.exp: Likewise.
10105 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
10107 * gdb.ada/exec_changed.exp: Replace "target_info exists
10108 use_gdb_stub" by "use_gdb_stub".
10109 * gdb.ada/start.exp: Likewise.
10110 * gdb.base/async-shell.exp: Likewise.
10111 * gdb.base/attach-pie-misread.exp: Likewise.
10112 * gdb.base/attach-wait-input.exp: Likewise.
10113 * gdb.base/break-entry.exp: Likewise.
10114 * gdb.base/break-interp.exp: Likewise.
10115 * gdb.base/dprintf-detach.exp: Likewise.
10116 * gdb.base/nostdlib.exp: Likewise.
10117 * gdb.base/solib-nodir.exp: Likewise.
10118 * gdb.base/statistics.exp: Likewise.
10119 * gdb.base/testenv.exp: Likewise.
10120 * gdb.mi/mi-exec-run.exp: Likewise.
10121 * gdb.mi/mi-start.exp: Likewise.
10122 * gdb.multi/dummy-frame-restore.exp: Likewise.
10123 * gdb.multi/multi-arch-exec.exp: Likewise.
10124 * gdb.multi/multi-arch.exp: Likewise.
10125 * gdb.multi/tids.exp: Likewise.
10126 * gdb.multi/watchpoint-multi.exp: Likewise.
10127 * gdb.python/py-events.exp: Likewise.
10128 * gdb.threads/attach-into-signal.exp: Likewise.
10129 * gdb.threads/attach-stopped.exp: Likewise.
10130 * gdb.threads/threadapply.exp: Likewise.
10131 * lib/selftest-support.exp: Likewise.
10133 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
10135 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
10137 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
10139 * gdb.perf/template-breakpoints.cc: New file.
10140 * gdb.perf/template-breakpoints.exp: New file.
10141 * gdb.perf/template-breakpoints.py: New file.
10143 2018-03-19 Tom Tromey <tom@tromey.com>
10145 * gdb.rust/simple.rs (main): Add local variables field1, field2,
10147 * gdb.rust/simple.exp: Test bare identifier form of struct
10150 2018-03-19 Tom Tromey <tom@tromey.com>
10152 * gdb.gdb/observer.exp: Remove.
10154 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10156 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
10157 "qualified" option when setting breakpoints.
10158 * gdb.trace/backtrace.exp: Likewise.
10159 * gdb.trace/circ.exp: Likewise.
10160 * gdb.trace/collection.exp: Likewise.
10161 * gdb.trace/disconnected-tracing.exp: Likewise.
10162 * gdb.trace/ftrace-lock.exp: Likewise.
10163 * gdb.trace/ftrace.exp: Likewise.
10164 * gdb.trace/infotrace.exp: Likewise.
10165 * gdb.trace/packetlen.exp: Likewise.
10166 * gdb.trace/passc-dyn.exp: Likewise.
10167 * gdb.trace/qtro.exp: Likewise.
10168 * gdb.trace/read-memory.exp: Likewise.
10169 * gdb.trace/report.exp: Likewise.
10170 * gdb.trace/signal.exp: Likewise.
10171 * gdb.trace/status-stop.exp: Likewise.
10172 * gdb.trace/strace.exp: Likewise.
10173 * gdb.trace/tfind.exp: Likewise.
10174 * gdb.trace/trace-break.exp: Likewise.
10175 * gdb.trace/trace-condition.exp: Likewise.
10176 * gdb.trace/trace-mt.exp: Likewise.
10177 * gdb.trace/tstatus.exp: Likewise.
10178 * gdb.trace/tsv.exp: Likewise.
10179 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
10180 * gdb.trace/unavailable.exp: Likewise.
10181 * gdb.trace/while-dyn.exp: Likewise.
10183 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10185 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
10186 that libinproctrace is copied to the target.
10188 2018-03-14 Tom Tromey <tom@tromey.com>
10191 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
10193 * gdb.base/wchar.exp: Likewise.
10195 2018-03-14 Tom Tromey <tom@tromey.com>
10198 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
10201 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
10204 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
10205 "target" to remote_exec.
10207 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
10210 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
10211 ${board}_upload): Remove.
10213 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
10215 * gdb.cp/watch-cp.cc: New test.
10216 * gdb.cp/watch-cp.exp: New file.
10218 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
10220 * gdb.base/infcall-nested-structs.exp: New file.
10221 * gdb.base/infcall-nested-structs.c: New file.
10222 * gdb.base/float.exp: Add riscv support.
10224 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
10226 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
10227 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
10229 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
10231 * gdb.server/abspath.exp: New file.
10232 * lib/gdb.exp (with_cwd): New procedure.
10234 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
10236 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
10238 (gdb_is_target_remote_prompt): New proc.
10239 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
10240 (gdb_is_target_native): Pass prompt parameter to
10243 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
10245 * gdb.base/load-command.c: New file.
10246 * gdb.base/load-command.exp: New file.
10247 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
10248 (gdb_is_target_1): ...this, and generalize for other targets
10250 (gdb_is_target_remote): Use gdb_is_target_1.
10251 (gdb_is_target_native): use gdb_is_target_1.
10253 2018-02-26 Tom Tromey <tom@tromey.com>
10256 * gdb.python/py-framefilter.exp: Update test.
10258 2018-02-26 Tom Tromey <tom@tromey.com>
10260 * gdb.dwarf2/variant.c: New file.
10261 * gdb.dwarf2/variant.exp: New file.
10263 2018-02-26 Tom Tromey <tom@tromey.com>
10265 * gdb.rust/simple.exp: Accept more possible results in enum test.
10267 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
10269 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
10272 2018-02-23 Maciej W. Rozycki <macro@mips.com>
10274 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
10275 name of a variable: $actual_linejj -> $actual_line.
10277 2018-02-21 John Baldwin <jhb@FreeBSD.org>
10279 * gdb.arch/amd64-i386-address.exp: Fix a typo.
10281 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
10283 * gdb.btrace/buffer-size.exp: Do not force BTS.
10285 2018-02-14 Pedro Alves <palves@redhat.com>
10287 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
10290 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
10292 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
10295 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
10297 * gdb.cp/m-static.exp: Check type of optimized out static
10300 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
10302 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
10303 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
10305 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
10306 Leszek Swirski <leszeks@google.com>
10308 * gdb.python/py-prettyprint.c
10309 (struct to_string_returns_value_inner,
10310 struct to_string_returns_value_wrapper): New.
10311 (main): Add tsrvw variable.
10312 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
10313 ToStringReturnsValueWrapper): New classes.
10314 (register_pretty_printers): Register new pretty-printers.
10315 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
10316 recursive pretty printer.
10317 * gdb.python/py-mi.exp: Likewise.
10319 2018-02-01 Leszek Swirski <leszeks@google.com>
10321 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
10322 functions with the same name as an include file are parsed
10325 2018-02-01 Yao Qi <yao.qi@linaro.org>
10327 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
10330 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
10332 * gdb.arch/powerpc-prologue-frame.s: New file.
10333 * gdb.arch/powerpc-prologue-frame.c: Likewise.
10334 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
10336 2018-01-31 Joel Brobecker <brobecker@adacore.com>
10338 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
10340 2018-01-30 Pedro Alves <palves@redhat.com>
10343 * gdb.base/interrupt-daemon.c: New.
10344 * gdb.base/interrupt-daemon.exp: New.
10345 * gdb.multi/multi-term-settings.c: New.
10346 * gdb.multi/multi-term-settings.exp: New.
10348 2018-01-30 Joel Brobecker <brobecker@adacore.com>
10350 * gdb.base/break.exp: Save the location where the breakpoint
10351 on break.c:47 was actually inserted when debugging the version
10352 compiled at -O2 and use it in the expected output of the "info
10353 break" test performed soon after.
10355 2018-01-22 Pedro Alves <palves@redhat.com>
10356 Sergio Durigan Junior <sergiodj@redhat.com>
10358 * gdb.base/whatis.exp: Add tests for 'set print object on' +
10359 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
10361 2018-01-22 Joel Brobecker <brobecker@adacore.com>
10363 * gdb.base/break-include.c, gdb.base/break-include.inc,
10364 gdb.base/break-include.exp: New files.
10365 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
10366 line number now being the actual line number where the breakpoint
10368 * gdb.mi/mi-break.exp: Likewise.
10369 * gdb.mi/mi-reverse.exp: Likewise.
10370 * gdb.mi/mi-simplerun.exp: Ditto.
10372 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
10374 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
10376 * gdb.mi/mi-var-create-rtti.exp: Likewise.
10378 2018-01-21 Don Breazeal <donb@codesourcery.com>
10379 Andrew Burgess <andrew.burgess@embecosm.com>
10381 * gdb.mi/basics.c: Add new global.
10382 * gdb.mi/mi-frame-regs.exp: New file.
10383 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
10386 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
10388 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
10389 non-parameter, and on an unknown symbol.
10391 2018-01-19 Tom Tromey <tom@tromey.com>
10393 * gdb.rust/modules.rs (TWENTY_THREE): New global.
10394 * gdb.rust/modules.exp: Add ::-qualified lookup test.
10396 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10398 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
10399 setrlimit and chdir to int.
10401 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
10403 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
10405 (my_tend): Likewise.
10406 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
10407 rationale of avoiding FP- and vector instructions.
10409 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
10411 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
10412 "info reg" with "\[ \t\]*".
10413 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
10415 * gdb.arch/s390-multiarch.exp: Ditto.
10416 * gdb.base/pc-fp.exp: Ditto.
10417 * gdb.reverse/i386-precsave.exp: Ditto.
10418 * gdb.reverse/i386-reverse.exp: Ditto.
10419 * gdb.reverse/i387-env-reverse.exp: Ditto.
10420 * gdb.reverse/i387-stack-reverse.exp: Ditto.
10422 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
10424 * lib/gdb.exp (gdb_compile): Re-enable use of
10425 universal_compile_options for languages other than Rust.
10427 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
10429 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
10431 2018-01-17 Mike Gulick <mgulick@mathworks.com>
10434 * gdb.base/solib-vanish.exp: New.
10435 * gdb.base/solib-vanish-main.c: New.
10436 * gdb.base/solib-vanish-lib1.c: New.
10437 * gdb.base/solib-vanish-lib2.c: New.
10439 2018-01-17 Yao Qi <yao.qi@linaro.org>
10441 * gdb.compile/compile.exp: Match the address printed for
10442 frame in the output of command "bt".
10444 2018-01-15 Tom Tromey <tom@tromey.com>
10446 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
10449 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
10451 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
10453 (prepare): Return 0 on error, 1 on success.
10455 2018-01-12 Pedro Alves <palves@redhat.com>
10457 * gdb.base/continue-after-aborted-step-over.c: New.
10458 * gdb.base/continue-after-aborted-step-over.exp: New.
10460 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
10462 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
10463 options when not creating an executable.
10465 2018-01-11 Pedro Alves <palves@redhat.com>
10468 * gdb.server/stop-reply-no-thread.c: New file.
10469 * gdb.server/stop-reply-no-thread.exp: New file.
10471 2018-01-10 Pedro Alves <palves@redhat.com>
10474 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
10475 functions too. Test setting breakpoints and printing C functions
10476 with no debug info too.
10477 * gdb.ada/bp_c_mixed_case/qux.c: New file.
10479 2018-01-10 Pedro Alves <palves@redhat.com>
10482 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
10485 2018-01-10 Pedro Alves <palves@redhat.com>
10488 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
10490 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
10492 * gdb.server/unittest.exp: Match the output in non-development
10495 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
10497 * gdb.gdb/unittest.exp: Match output in non-development mode.
10499 2018-01-08 Joel Brobecker <brobecker@adacore.com>
10501 * gdb.ada/access_tagged_param.exp: Relax expected output
10502 for value of "ObjL" in "continue" to pck.inspect breakpoint
10505 2018-01-08 Joel Brobecker <brobecker@adacore.com>
10507 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
10508 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
10510 2018-01-05 Pedro Alves <palves@redhat.com>
10513 * gdb.base/libsegfault.exp: New.
10515 2018-01-05 Joel Brobecker <brobecker@adacore.com>
10518 * gdb.ada/access_tagged_param.exp: New file.
10519 * gdb.ada/access_tagged_param/foo.adb: New file.
10521 2018-01-05 Pedro Alves <palves@redhat.com>
10524 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
10525 exercise lower case too, and to exercise both full matching and
10528 2018-01-05 Joel Brobecker <brobecker@adacore.com>
10530 * gdb.ada/rename_subscript_param: New testcase.
10532 2018-01-05 Jerome Guitton <guitton@adacore.com>
10534 * gdb.ada/arr_acc_idx_w_gap: New testcase.
10536 2018-01-05 Joel Brobecker <brobecker@adacore.com>
10538 * gdb.ada/convvar_comp: New testcase.
10540 2018-01-05 Xavier Roirand <roirand@adacore.com>
10542 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
10543 (My_Table): New global variable.
10544 * testsuite/gdb.ada/array_char_idx.exp: Add test.
10546 2018-01-04 Joel Brobecker <brobecker@adacore.com>
10549 * gdb.ada/maint_with_ada: New testcase.
10551 2018-01-04 Joel Brobecker <brobecker@adacore.com>
10554 * gdb.ada/bp_c_mixed_case: New testcase.
10556 2018-01-04 Joel Brobecker <brobecker@adacore.com>
10559 * gdb.ada/complete.exp: Add "complete break ada" test.
10561 2018-01-04 Joel Brobecker <brobecker@adacore.com>
10564 * gdb.ada/info_addr_mixed_case: New testcase.
10566 2018-01-03 Xavier Roirand <roirand@adacore.com>
10568 * gdb.ada/excep_handle.exp: New testcase.
10569 * gdb.ada/excep_handle/foo.adb: New file.
10570 * gdb.ada/excep_handle/pck.ads: New file.
10572 2018-01-03 Joel Brobecker <brobecker@adacore.com>
10574 * gdb.base/step-line.c: Add extra empty line in copyright header.
10575 * gdb.base/step-line.inp: Likewise.
10577 2018-01-02 Joel Brobecker <brobecker@adacore.com>
10579 * gdb.ada/dyn_stride.exp: Add slice test.
10581 2018-01-02 Joel Brobecker <brobecker@adacore.com>
10583 * gdb.ada/dyn_stride: New testcase.
10585 2017-12-27 Stafford Horne <shorne@gmail.com>
10587 * gdb.xml/extra-regs.xml: Add example foo reggroup.
10588 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
10590 2017-12-27 Stafford Horne <shorne@gmail.com>
10592 * gdb.base/reggroups.c: New file.
10593 * gdb.base/reggroups.exp: New file.
10595 2017-12-18 Joel Brobecker <brobecker@adacore.com>
10597 * gdb.dwarf2/ada-valprint-error.c: New file.
10598 * gdb.dwarf2/ada-valprint-error.exp: New file.
10600 2017-12-18 Joel Brobecker <brobecker@adacore.com>
10602 * gdb.ada/assign_arr: New testcase.
10604 2017-12-18 Xavier Roirand <roirand@adacore.com>
10606 * gdb.ada/funcall_ptr: New testcase.
10608 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
10611 * gdb.base/ptype-offsets.cc: New file.
10612 * gdb.base/ptype-offsets.exp: New file.
10614 2017-12-15 Yao Qi <yao.qi@linaro.org>
10616 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
10617 if XML is disabled.
10619 2017-12-15 Xavier Roirand <roirand@adacore.com>
10621 * gdb.ada/same_component_name: New testcase.
10623 2017-12-14 Joel Brobecker <brobecker@adacore.com>
10625 * gdb.ada/str_binop_equal: New testcase.
10627 2017-12-14 Joel Brobecker <brobecker@adacore.com>
10629 * gdb.ada/task_switch_in_core: New testcase.
10631 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
10633 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
10634 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
10635 call test_bkpt_qualified.
10636 (test_bkpt_qualified): New proc.
10638 2017-12-13 Pedro Alves <palves@redhat.com>
10640 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
10641 Tighten regexp by matching with an anchor.
10643 2017-12-13 Pedro Alves <palves@redhat.com>
10645 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
10646 ("expression with namespace"): New set of tests.
10647 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
10648 (Nested::Test_NS::qux): New.
10649 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
10650 defaults to 'start_quote_char' and 'end_quote_char' parameters.
10652 2017-12-13 Joel Brobecker <brobecker@adacore.com>
10654 * gdb.base/server-del-break.c: New file.
10655 * gdb.base/server-del-break.exp: New file.
10657 2017-12-12 Stafford Horne <shorne@gmail.com>
10659 * gdb.xml/tdesc-regs.exp: Add or1k support.
10661 2017-12-12 Stafford Horne <shorne@gmail.com>
10663 * gdb.base/bp-permanent.c: Define nop of or1k.
10665 2017-12-11 Joel Brobecker <brobecker@adacore.com>
10667 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
10668 output with components being reordered.
10670 2017-12-11 Joel Brobecker <brobecker@adacore.com>
10672 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
10673 output with components being reordered.
10675 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10676 Pedro Alves <palves@redhat.com>
10678 * gdb.base/maint.exp (check for .gdb_index): Check also for
10680 * gdb.dlang/watch-loc.c (.debug_aranges): New.
10681 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
10682 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
10683 (.gdb_index used after symbol reloading): Support also .debug_names.
10684 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
10686 2017-12-08 Yao Qi <yao.qi@linaro.org>
10688 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
10689 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
10691 2017-12-08 Yao Qi <yao.qi@linaro.org>
10693 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
10694 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
10696 2017-12-08 Yao Qi <yao.qi@linaro.org>
10698 * gdb.arch/aarch64-tagged-pointer.c: New file.
10699 * gdb.arch/aarch64-tagged-pointer.exp: New file.
10701 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
10703 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
10706 2017-12-07 Keith Seitz <keiths@redhat.com>
10708 PR breakpoints/22569
10709 * gdb.linespec/ls-errs.exp: Change expected result of "break
10710 -source this file has spaces.c -line 3".
10711 Check that an explicit source file followed by whitespace is
10712 identified as an invalid explicit location.
10714 2017-12-07 Keith Seitz <keiths@redhat.com>
10716 * gdb.cp/nested-types.cc: New file.
10717 * gdb.cp/nested-types.exp: New file.
10718 * lib/cp-support.exp: Load data-structures.exp library.
10719 (debug_cp_test_ptype_class): New global.
10720 (cp_ptype_class_verbose, next_line): New procedures.
10721 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
10722 Add and document new return value.
10723 Switch the list of lines to a queue.
10724 Add support for new `type' key for nested type definitions.
10725 Add debugging/troubleshooting messages.
10726 * lib/data-structures.exp: New file.
10728 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
10730 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
10731 with proc_with_prefix, don't use with_test_prefix.
10733 2017-12-07 Tom Tromey <tom@tromey.com>
10735 * gdb.base/break.exp: Add test for empty "commands".
10737 2017-12-07 Yao Qi <yao.qi@linaro.org>
10739 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
10740 malloc and catch syscall.
10742 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
10744 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
10745 tests for explicit locations.
10747 2017-12-06 Pedro Alves <palves@redhat.com>
10749 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
10750 force-disabling XML descriptions.
10752 2017-12-04 Pedro Alves <palves@redhat.com>
10755 * gdb.arch/amd64-disp-step-avx.S: New file.
10756 * gdb.arch/amd64-disp-step-avx.exp: New file.
10758 2017-12-03 Pedro Alves <palves@redhat.com>
10760 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
10762 (parent_function): Print distinct messages when waitpid fails, or
10763 the child exits with a signal, or the child exits for an unhandled
10765 * gdb.threads/process-dies-while-detaching.exp
10766 (detach_and_expect_exit): New 'inf_output_re' parameter and use
10767 it. Wait for both inferior output and GDB's prompt. Use an
10768 indirect spawn id list.
10769 (do_detach): New parameter 'child_exit'. Use it to compute
10770 expected inferior output.
10771 (test_detach, test_detach_watch, test_detach_killed_outside):
10772 Adjust to pass down the expected child exit kind.
10774 2017-12-01 Joel Brobecker <brobecker@adacore.com>
10775 Sergio Durigan Junior <sergiodj@redhat.com>
10776 Pedro Alves <palves@redhat.com>
10778 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
10780 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
10782 * gdb.base/relocate.exp: Add tests to guarantee that arguments
10783 to 'symbol-file' and 'add-symbol-file' can be
10784 position-independent.
10786 2017-12-01 Yao Qi <yao.qi@linaro.org>
10788 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
10789 the URL in copyright header.
10790 * gdb.arch/aarch64-fp.exp: Likewise.
10791 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
10792 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
10793 * gdb.base/expand-psymtabs.exp: Likewise.
10794 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
10795 * gdb.fortran/common-block.exp: Likewise.
10796 * gdb.fortran/common-block.f90: Likewise.
10797 * gdb.fortran/logical.exp: Likewise.
10798 * gdb.fortran/vla-datatypes.f90: Likewise.
10799 * gdb.fortran/vla-sub.f90: Likewise.
10801 2017-11-30 Joel Brobecker <brobecker@adacore.com>
10803 * gdb.ada/repeat_dyn: New testcase.
10805 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
10807 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
10808 Update for changed thread numbering.
10809 * gdb.cell/bt.exp: Update for changed GDB output.
10811 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
10813 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
10814 setting isremote by hand.
10815 * boards/dwarf4-gdb-index.exp: Likewise.
10816 * boards/fission.exp: Likewise.
10817 * boards/stabs.exp: Likewise.
10819 2017-11-30 Pedro Alves <palves@redhat.com>
10821 * gdb.linespec/cpls-ops.exp
10822 (check_explicit_skips_function_argument): Extract the underlying
10823 type of size_t instead of hardcoding it.
10825 2017-11-29 Pedro Alves <palves@redhat.com>
10828 * gdb.linespec/cpls-abi-tag.cc: New file.
10829 * gdb.linespec/cpls-abi-tag.exp: New file.
10831 2017-11-29 Pedro Alves <palves@redhat.com>
10833 * gdb.base/langs.exp: Use -qualified.
10834 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
10836 * gdb.cp/namespace.exp: Use -qualified.
10837 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
10838 (overload-3, template-overload, template-ret-type, const-overload)
10839 (const-overload-quoted, anon-ns, ambiguous-prefix): New
10841 (test_driver): Call them.
10842 * gdb.cp/save-bp-qualified.cc: New.
10843 * gdb.cp/save-bp-qualified.exp: New.
10844 * gdb.linespec/explicit.exp: Test -qualified.
10845 * lib/completion-support.exp (completion::explicit_opts_list): Add
10847 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
10849 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
10851 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
10853 2017-11-29 Tom Tromey <tom@tromey.com>
10855 * gdb.base/relocate.exp: Update invalid argument test.
10856 Add new tests for invalid arguments.
10858 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
10860 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
10861 Return 0 as a long.
10862 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
10864 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
10866 * gdb.cp/breakpoint.cc (bar): Set return type to void.
10867 * gdb.cp/psymtab-parameter.cc (func): Likewise.
10868 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
10870 * gdb.cp/shadow.cc (B.func): Return 0.
10872 2017-11-27 Joel Brobecker <brobecker@adacore.com>
10874 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
10875 expected output in gdb_expect call to allow the exception
10876 message to be present as well. Fix syntax confusion to avoid
10877 TCL thinking that exception_name is an array.
10879 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
10881 * gdb.arch/spu-info.c: Include <unistd.h>.
10882 (do_signal_test): Fix broken calls to write.
10883 * gdb.arch/spu-info.exp: Use prepare_for_testing.
10884 Fix checks for empty mailboxes. Update signal tests for corrected
10885 do_signal_test routine. Allow nonzero event status.
10886 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
10887 * gdb.cell/arch.exp: Use standard_output_file.
10888 * gdb.cell/break.exp: Likewise.
10889 * gdb.cell/bt.exp: Likewise.
10890 * gdb.cell/core.exp: Likewise.
10891 * gdb.cell/dwarfaddr.exp: Likewise.
10892 * gdb.cell/ea-cache.exp: Likewise.
10893 * gdb.cell/ea-standalone.exp: Likewise.
10894 * gdb.cell/f-regs.exp: Likewise.
10895 * gdb.cell/fork.exp: Likewise.
10896 * gdb.cell/gcore.exp: Likewise.
10897 * gdb.cell/mem-access.exp: Likewise.
10898 * gdb.cell/ptype.exp: Likewise.
10899 * gdb.cell/registers.exp: Likewise.
10900 * gdb.cell/sizeof.exp: Likewise.
10901 * gdb.cell/solib-symbol.exp: Likewise.
10902 * gdb.cell/solib.exp: Likewise.
10904 2017-11-25 Pedro Alves <palves@redhat.com>
10906 * gdb.base/complete-empty.exp: New file.
10907 * gdb.base/completion.exp: Adjust.
10909 2017-11-25 Pedro Alves <palves@redhat.com>
10911 * gdb.linespec/cpls-ops.cc: New file.
10912 * gdb.linespec/cpls-ops.exp: New file.
10913 * lib/completion-support.exp (test_complete_prefix_range_re): New,
10914 factored out from ...
10915 (test_complete_prefix_range): ... this.
10917 2017-11-24 Pedro Alves <palves@redhat.com>
10919 * gdb.linespec/cpcompletion.exp: New file.
10920 * gdb.linespec/cpls-hyphen.cc: New file.
10921 * gdb.linespec/cpls.cc: New file.
10922 * gdb.linespec/cpls2.cc: New file.
10923 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
10924 test to use test_gdb_complete_unique. Add label completion,
10925 keyword completion and explicit location completion tests.
10926 * lib/completion-support.exp: New file.
10928 2017-11-24 Joel Brobecker <brobecker@adacore.com>
10930 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
10931 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
10932 when hitting an exception catchpoint.
10934 2017-11-22 Yao Qi <yao.qi@linaro.org>
10936 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
10938 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
10940 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
10941 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
10942 * gdb.dwarf2/info-locals-optimized-out.c: New file.
10944 2017-11-22 Yao Qi <yao.qi@linaro.org>
10946 * gdb.base/info-os.exp: Pass pthreads.
10947 * gdb.multi/multi-attach.exp: Likewise.
10949 2017-11-22 Yao Qi <yao.qi@linaro.org>
10951 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
10954 2017-11-22 Yao Qi <yao.qi@linaro.org>
10956 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
10957 * gdb.base/break-interp.exp: Likewise.
10958 * gdb.base/jit-attach-pie.exp: Likewise.
10960 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
10962 * gdb.base/float128.c (large128): New variable.
10963 * gdb.base/float128.exp: Add test to print largest __float128 value.
10965 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
10967 * gdb.arch/vsx-regs.exp: Update register content checks.
10969 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
10971 * gdb.arch/ppc-longdouble.exp: New file.
10972 * gdb.arch/ppc-longdouble.c: Likewise.
10974 2017-11-21 Pedro Alves <palves@redhat.com>
10976 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
10978 2017-11-20 Pedro Alves <palves@redhat.com>
10980 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
10981 (long_double_typedef): New typedefs.
10982 Use DEF on double and long double.
10983 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
10985 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
10986 and 'long_double_ptr_same_size' locals. Use them to decide
10987 whether cast from array/function to float is valid/invalid.
10989 2017-11-17 Tom Tromey <tom@tromey.com>
10991 * gdb.rust/traits.rs: New file.
10992 * gdb.rust/traits.exp: New file.
10994 2017-11-17 Joel Brobecker <brobecker@adacore.com>
10996 * gdb.ada/minsyms: New testcase.
10998 2017-11-16 Pedro Alves <palves@redhat.com>
11000 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
11001 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
11003 2017-11-16 Pedro Alves <palves@redhat.com>
11005 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
11006 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
11008 2017-11-16 Pedro Alves <palves@redhat.com>
11010 * gdb.server/reconnect-ctrl-c.c: New file.
11011 * gdb.server/reconnect-ctrl-c.exp: New file.
11013 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
11015 * gdb.python/py-rbreak.exp: New file.
11016 * gdb.python/py-rbreak.c: New file.
11017 * gdb.python/py-rbreak-func2.c: New file.
11019 2017-11-16 Pedro Alves <palves@redhat.com>
11021 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
11023 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
11026 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
11028 * gdb.tui/completionn.exp (test_tab_completion): Add space in
11031 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
11033 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
11036 2017-11-09 Pedro Alves <palves@redhat.com>
11038 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
11039 factored out from ...
11040 (top level): ... here, and adjusted to avoid expecting beyond the
11041 prompt in a single gdb_test_multiple.
11043 2017-11-09 Pedro Alves <palves@redhat.com>
11045 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
11047 * gdb.server/ext-attach.exp ("kill" test): Likewise.
11048 * gdb.server/ext-restart.exp ("kill" test): Likewise.
11049 * gdb.server/ext-run.exp ("kill" test): Likewise.
11050 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
11052 2017-11-09 Pedro Alves <palves@redhat.com>
11054 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
11055 match till end of line.
11057 2017-11-09 Pedro Alves <palves@redhat.com>
11059 * gdb.base/memattr.exp: Tighten regexes to match the end line.
11061 2017-11-09 Pedro Alves <palves@redhat.com>
11063 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
11064 New procedures, factored out from ...
11065 (top level): ... here, and adjusted to avoid expecting beyond the
11068 2017-11-09 Pedro Alves <palves@redhat.com>
11070 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
11071 output. Fix '?' match.
11073 2017-11-08 Joel Brobecker <brobecker@adacore.com>
11075 * gdb.ada/scoped_watch: New testcase.
11076 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
11077 which is actually correct.
11078 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
11079 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
11081 2017-11-08 Pedro Alves <palves@redhat.com>
11083 * gdb.gdb/complaints.exp (test_initial_complaints)
11084 (test_serial_complaints, test_short_complaints): Call
11085 complaint_internal instead of complaint.
11087 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
11089 * gdb.threads/tls-core.c: New file.
11090 * gdb.threads/tls-core.exp: Likewise.
11092 2017-11-08 Pedro Alves <palves@redhat.com>
11094 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
11095 (p Exported_Capitalized): New test.
11096 (p exported_capitalized): New test.
11098 2017-11-07 Pedro Alves <palves@redhat.com>
11100 * gdb.cp/ena-dis-br-range.exp: Add more tests.
11102 2017-11-07 Pedro Alves <palves@redhat.com>
11104 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
11105 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
11106 (disable_invalid, disable_inverted, disable_negative): New
11108 ("bad numbers"): New set of tests.
11110 2017-11-07 Pedro Alves <palves@redhat.com>
11112 * gdb.cp/ena-dis-br-range.exp: Add tests.
11114 2017-11-07 Pedro Alves <palves@redhat.com>
11116 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
11118 2017-11-07 Xavier Roirand <roirand@adacore.com>
11119 Pedro Alves <palves@redhat.com>
11121 * gdb.base/ena-dis-br.exp: Add reference to
11122 gdb.cp/ena-dis-br-range.exp.
11123 * gdb.cp/ena-dis-br-range.exp: New file.
11124 * gdb.cp/ena-dis-br-range.cc: New file.
11126 2017-11-06 Pedro Alves <palves@redhat.com>
11128 * gdb.base/attach-non-pgrp-leader.c: New.
11129 * gdb.base/attach-non-pgrp-leader.exp: New.
11131 2017-11-06 Pedro Alves <palves@redhat.com>
11133 * configure.ac: No longer check for termio.h and sgtty.h.
11134 * configure: Regenerate.
11135 * remote-utils.c: Include termios.h instead of gdb_termios.h.
11136 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
11137 Remove termio and sgtty code.
11139 2017-11-03 Yao Qi <yao.qi@linaro.org>
11141 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
11142 in GDB is disabled.
11144 2017-11-03 Yao Qi <yao.qi@linaro.org>
11146 * gdb.python/py-thrhandle.exp: Skip it if python is not
11149 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
11151 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
11152 as a breakpoint command.
11154 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
11157 * gdb.python/py-infthread.exp: Test calling
11158 InferiorThread.inferior () multiple times in a row.
11160 2017-10-27 Keith Seitz <keiths@redhat.com>
11162 * gdb.opt/inline-break.exp (break_info_1): New procedure.
11163 Test "info break" for every inlined function breakpoint.
11165 2017-10-27 Yao Qi <yao.qi@linaro.org>
11167 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
11169 2017-10-26 Patrick Frants <osscontribute@gmail.com>
11171 * gdb.cp/classes.exp (test_static_members): Test printing
11173 * gdb.cp/classes.c (struct Inner, struct Outer): New.
11174 (Inner::instance, Outer::instance): New.
11176 2017-10-24 Pedro Alves <palves@redhat.com>
11178 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
11179 extra console" test in two stages.
11181 2017-10-24 Pedro Alves <palves@redhat.com>
11183 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
11185 2017-10-24 Pedro Alves <palves@redhat.com>
11187 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
11190 2017-10-24 Pedro Alves <palves@redhat.com>
11192 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
11193 $attempt" and "stoppedtry $stoppedtry" test prefixes.
11195 2017-10-24 Pedro Alves <palves@redhat.com>
11197 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
11198 parameter and handle it. Don't output read value in test name.
11200 2017-10-24 Pedro Alves <palves@redhat.com>
11202 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
11205 2017-10-24 Pedro Alves <palves@redhat.com>
11207 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
11208 include the unstable output directory name in the test's name.
11209 (initial_setup_simple) <'set args'>: Use custom test name.
11211 2017-10-24 Pedro Alves <palves@redhat.com>
11213 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
11214 with explicit test name.
11216 2017-10-20 Pedro Alves <palves@redhat.com>
11218 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
11219 'wait -i'. Use gdb_assert and remote_close.
11221 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
11223 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
11224 number from variable rather than hard-coded.
11226 2017-10-19 Pedro Alves <palves@redhat.com>
11228 * gdb.base/long-inferior-output.c: New file.
11229 * gdb.base/long-inferior-output.exp: New file.
11231 2017-11-18 Keith Seitz <keiths@redhat.com>
11233 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
11236 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
11237 Add additional user-defined conversion operator tests.
11239 2017-10-17 Pedro Alves <palves@redhat.com>
11241 * boards/native-stdio-gdbserver.exp: Load "local-board".
11243 2017-10-17 Pedro Alves <palves@redhat.com>
11245 * gdb.base/quit-live.c: New file.
11246 * gdb.base/quit-live.exp: New file.
11248 2017-10-16 Keith Seitz <keiths@redhat.com>
11250 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
11251 (class_with_protected_typedef, class_with_private_typedef)
11252 (struct_with_public_typedef, struct_with_protected_typedef)
11253 (struct_with_private_typedef): New classes/structs.
11254 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
11255 typedefs and access specifiers.
11257 2017-10-16 Pedro Alves <palves@redhat.com>
11258 Simon Marchi <simon.marchi@polymtl.ca>
11260 * README (Local vs Remote vs Native): New section.
11261 * boards/local-board.exp: New file, with bits factored out from
11263 * boards/native-extended-gdbserver.exp: ... here. Load
11265 * boards/native-gdbserver.exp: Load "local-board".
11266 (${board}_spawn, ${board}_exec): Delete.
11267 * boards/native-stdio-gdbserver.exp: Most contents factored out to
11269 * boards/stdio-gdbserver-base.exp: ... this new file.
11270 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
11271 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
11273 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
11274 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
11275 stdio_gdbserver_command.
11276 (${board}_get_remote_address, ${board}_get_comm_port)
11277 (${board}_download, ${board}_upload): Delete.
11278 (get_target_remote_pipe_cmd): New.
11280 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
11282 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
11283 test_bkpt_deletion, test_bkpt_cond_and_cmds,
11284 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
11285 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
11286 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
11287 remove with_test_prefix.
11289 2017-10-13 Pedro Alves <palves@redhat.com>
11291 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
11292 * gdb.base/annota1.exp: Use it instead of is_remote.
11293 * gdb.base/annota3.exp: Use it instead of is_remote.
11294 * gdb.cp/annota2.exp: Use it instead of is_remote.
11295 * gdb.cp/annota3.exp: Use it instead of is_remote.
11296 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
11298 2017-10-13 Pedro Alves <palves@redhat.com>
11300 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
11301 (test_num_test_vars, run_and_count_vars, find_env)
11302 (test_set_unset_env, test_inherit_env_var): New procedures.
11303 (top level): Use them.
11305 2017-10-13 Pedro Alves <palves@redhat.com>
11307 * lib/selftest-support.exp (selftest_setup): Extend comments, and
11308 also skip on stub-like targets.
11310 2017-10-13 Pedro Alves <palves@redhat.com>
11313 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
11314 (top level): Move some tests to ...
11315 (test_not_found): ... this new procedure.
11316 (top level): Call it.
11318 2017-10-13 Pedro Alves <palves@redhat.com>
11320 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
11321 expect different "info terminal" output if testing with a
11324 2017-10-13 Pedro Alves <palves@redhat.com>
11325 Simon Marchi <simon.marchi@polymtl.ca>
11328 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
11330 2017-10-13 Pedro Alves <palves@redhat.com>
11332 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
11335 2017-10-13 Pedro Alves <palves@redhat.com>
11337 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
11340 2017-10-13 Pedro Alves <palves@redhat.com>
11342 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
11345 2017-10-13 Pedro Alves <palves@redhat.com>
11347 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
11349 (corefile_test_attach): Likewise. Check can_spawn_for_attach
11350 instead of is_remote.
11352 2017-10-13 Pedro Alves <palves@redhat.com>
11354 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
11355 (top level): Add comment.
11357 2017-10-13 Pedro Alves <palves@redhat.com>
11359 * gdb.base/remote.exp (top level): Fix comment typo and add
11362 2017-10-13 Pedro Alves <palves@redhat.com>
11363 Simon Marchi <simon.marchi@polymtl.ca>
11365 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
11366 calls and add comments. Skip test if use_gdb_stub is set.
11367 (top level): Use "set cwd" command instead of "cd" command.
11369 2017-10-13 Pedro Alves <palves@redhat.com>
11371 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
11372 is_remote target check.
11374 2017-10-13 Pedro Alves <palves@redhat.com>
11376 * gdb.base/scope.exp: Use build_executable + clean_restart +
11377 gdb_file_cmd instead of prepare_for_testing and no longer skip
11378 "before run" tests on is_remote target boards. Update comments.
11379 * boards/native-extended-gdbserver.exp
11380 (extended_gdbserver_load_last_file): New, factored out from ...
11381 (gdb_load): ... this. Move further below and add comment.
11382 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
11384 2017-10-12 Pedro Alves <palves@redhat.com>
11386 * gdb.base/attach.exp: Remove references to gdb64.
11387 * gdb.base/dbx.exp: Remove references to gdb64.
11389 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
11390 Pedro Alves <palves@redhat.com>
11392 * gdb.base/label.exp: Remove is_remote target check.
11394 2017-10-12 Pedro Alves <palves@redhat.com>
11396 * gdb.base/auvx.exp (coredir): Update comment.
11397 (top level) <core_works>: Use "set cwd" command instead of "cd"
11400 2017-10-12 Pedro Alves <palves@redhat.com>
11401 Simon Marchi <simon.marchi@polymtl.ca>
11403 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
11406 2017-10-12 Pedro Alves <palves@redhat.com>
11407 Simon Marchi <simon.marchi@polymtl.ca>
11409 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
11410 Instead skip if there's any gdb_protocol set.
11412 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
11413 Pedro Alves <palves@redhat.com>
11415 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
11417 2017-10-12 Pedro Alves <palves@redhat.com>
11418 Simon Marchi <simon.marchi@polymtl.ca>
11420 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
11421 instead of on dejagnu remote boards.
11423 2017-10-12 Pedro Alves <palves@redhat.com>
11424 Simon Marchi <simon.marchi@polymtl.ca>
11426 * gdb.base/inferior-died.exp: Remove is_remote and isnative
11427 checks. Use build_executable + clean_restart instead of
11428 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
11429 of enabling non-stop after starting gdb.
11431 2017-10-12 Pedro Alves <palves@redhat.com>
11433 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
11434 * gdb.threads/non-ldr-exc-2.exp: Ditto.
11435 * gdb.threads/non-ldr-exc-3.exp: Ditto.
11436 * gdb.threads/non-ldr-exc-4.exp: Ditto.
11438 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
11440 * gdb.arch/arc-tdesc-cpu.exp: New file.
11441 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
11443 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
11445 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
11447 2017-10-10 Pedro Alves <palves@redhat.com>
11449 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
11452 2017-10-10 Pedro Alves <palves@redhat.com>
11454 * lib/selftest-support.exp (selftest_setup): Update for
11455 captured_command_loop's prototype change.
11457 2017-10-09 Pedro Alves <palves@redhat.com>
11459 Test both arch1=>arch2 and arch2=>arch1.
11461 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
11462 (srcfile2, binfile2, march1, march2): Remove globals. Largely
11464 (append_arch1_options, append_arch2_options, append_arch_options)
11465 (build_executables): New procedures.
11466 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
11468 (top level): Add new 'first_arch' testing axis.
11470 2017-10-09 Pedro Alves <palves@redhat.com>
11472 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
11474 (thread_start, all_started): New functions.
11475 (main): Spawn new thread and wait until it is scheduled.
11476 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
11478 (do_test): Add 'selected_thread' parameter. Run to all_started
11479 instead of main. Explicitly set the breakpoint at main. Switch
11480 to the SELECTED_THREAD thread.
11481 (top level): Test handling the exec event with either the main
11482 thread or the second thread selected.
11484 2017-10-09 Pedro Alves <palves@redhat.com>
11486 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
11487 logic. Move STOP marker after the value checks.
11488 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
11491 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
11493 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
11495 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
11497 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
11498 integer-to-dfp conversion.
11499 * gdb.base/dfp-test.exp: Likewise.
11501 2017-10-04 Pedro Alves <palves@redhat.com>
11503 * gdb.multi/hangout.c: Include <unistd.h>.
11504 (hangout_loop): New function.
11505 (main): Call alarm. Call hangout_loop in a loop.
11506 * gdb.multi/hello.c: Include <unistd.h>.
11507 (hello_loop): New function.
11508 (main): Call alarm. Call hangout_loop in a loop.
11509 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
11510 inferior with the other selected.
11512 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
11514 * gdb.mi/list-thread-groups-available.exp: New file.
11515 * gdb.mi/list-thread-groups-available.c: New file.
11517 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
11519 * gdb.base/set-cwd.exp: Make it available on
11520 native-extended-gdbserver.
11522 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
11524 * gdb.base/set-cwd.c: New file.
11525 * gdb.base/set-cwd.exp: Likewise.
11527 2017-10-02 Tom Tromey <tom@tromey.com>
11530 * gdb.rust/simple.rs (main): New variable "fslice".
11531 * gdb.rust/simple.exp: Add slice tests. Update string tests.
11533 2017-10-02 Tom Tromey <tom@tromey.com>
11535 * gdb.rust/simple.exp: Test ptype of a slice.
11537 2017-10-02 Tom Tromey <tom@tromey.com>
11539 * gdb.rust/simple.exp: Test index of slice.
11541 2017-09-27 Tom Tromey <tom@tromey.com>
11543 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
11545 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
11546 Pedro Alves <palves@redhat.com>
11548 * gdb.base/compare-sections.exp (get value of read-only section): Read
11550 (corrupt read-only section): Likewise and don't set written if patching
11553 2017-09-21 Kevin Buettner <kevinb@redhat.com>
11555 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
11558 2017-09-20 Pedro Alves <palves@redhat.com>
11560 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
11561 symbol names in gdb's output.
11562 * gdb.cp/overload.exp ("list all overloads"): Likewise.
11564 2017-09-20 Pedro Alves <palves@redhat.com>
11566 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
11568 (test_list_ambiguous_symbol): ... this and add a symbol name
11570 (test_list_ambiguous_function): Reimplement on top of
11571 test_list_ambiguous_symbol and also test listing ambiguous
11573 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
11574 (ambiguous_fun): ... this.
11575 (ambiguous_var): New.
11576 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
11577 (ambiguous_fun): ... this.
11578 (ambiguous_var): New.
11580 2017-09-19 John Baldwin <jhb@FreeBSD.org>
11582 * gdb.base/starti.c: New file.
11583 * gdb.base/starti.exp: New file.
11584 * lib/gdb.exp (gdb_starti_cmd): New procedure.
11586 2017-09-14 Pedro Alves <palves@redhat.com>
11588 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
11589 (top level): Use it instead of runto.
11591 2017-09-11 Tom Tromey <tom@tromey.com>
11593 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
11595 2017-09-11 Tom Tromey <tom@tromey.com>
11597 * gdb.python/py-infthread.exp: Add tests for new_thread event.
11598 * gdb.python/py-inferior.exp: Add tests for new inferior events.
11600 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
11602 * gdb.fortran/printing-types.exp: New file.
11603 * gdb.fortran/printing-types.exp: New file.
11605 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
11607 * gdb.fortran/vla-ptype.exp: Fix typos.
11608 * gdb.fortran/vla-value.exp: Same.
11610 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
11612 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
11613 * gdb.mi/mi-var-child-f.exp: Likewise.
11614 * gdb.mi/mi-vla-fortran.exp: Likewise.
11616 2017-09-08 Frank Penczek <frank.penczek@intel.com>
11617 Christoph Weinmann <christoph.t.weinmann@intel.com>
11618 Bernhard Heckel <bernhard.heckel@intel.com>
11620 * gdb.fortran/ptr-indentation.f90: New file.
11621 * gdb.fortran/ptr-indentation.exp: New file.
11623 2017-09-05 Tom Tromey <tom@tromey.com>
11626 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
11628 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
11630 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
11632 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
11634 * gdb.threads/tls-nodebug-pie.c: New file.
11635 * gdb.threads/tls-nodebug-pie.exp: New file.
11637 2017-09-05 Tom Tromey <tom@tromey.com>
11639 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
11642 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
11644 * gdb.multi/multi-arch-exec.exp: Test with different
11645 "follow-exec-mode" settings.
11646 (do_test): New procedure.
11648 2017-09-04 Pedro Alves <palves@redhat.com>
11650 * gdb.base/func-static.c (S::method const, S::method volatile)
11651 (S::method volatile const): New methods.
11652 (c_s, v_s, cv_s): New instances.
11653 (main): Call method() on them.
11654 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
11655 (cannot_resolve): New procedure.
11656 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
11657 print-quote-unquoted columns.
11658 (do_test): Test printing each scope too.
11660 2017-09-04 Pedro Alves <palves@redhat.com>
11662 * gdb.base/local-static.exp: Also test with
11663 class::method::variable wholly quoted.
11664 * gdb.cp/m-static.exp (class::method::variable): Remove test.
11666 2017-09-04 Pedro Alves <palves@redhat.com>
11668 * gdb.base/local-static.c: New.
11669 * gdb.base/local-static.cc: New.
11670 * gdb.base/local-static.exp: New.
11672 2017-09-04 Pedro Alves <palves@redhat.com>
11674 * gdb.asm/asm-source.exp: Add casts to int.
11675 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
11676 (dataglobal64_1, dataglobal64_2): New globals.
11677 * gdb.base/nodebug.exp: Test different expressions involving the
11678 new globals, with print, whatis and ptype. Add casts to int.
11679 * gdb.base/solib-display.exp: Add casts to int.
11680 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
11681 * gdb.cp/m-static.exp: Add cast to int.
11682 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
11683 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
11684 tls variable with no debug info without a cast. Test with a cast
11686 * gdb.trace/entry-values.exp: Add casts.
11688 2017-09-04 Pedro Alves <palves@redhat.com>
11690 * gdb.base/nodebug.exp: Test that ptype's error about functions
11691 with unknown return type includes the function name too.
11693 2017-09-04 Pedro Alves <palves@redhat.com>
11695 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
11696 return type of munmap in infcall.
11697 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
11698 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
11699 type of ftell in infcall.
11700 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
11701 type of getpid in infcall.
11702 * gdb.base/infcall-exec.exp: Cast return type of execlp in
11704 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
11705 Bail on failure to extract the pid.
11706 * gdb.base/nodebug.c: #include <stdint.h>.
11707 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
11709 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
11710 Change expected output of print/whatis/ptype with functions with
11711 no debug info. Test all supported languages. Call
11712 test_call_promotion.
11713 * gdb.compile/compile.exp: Adjust expected output to expect
11715 * gdb.threads/siginfo-threads.exp: Likewise.
11717 2017-09-04 Pedro Alves <palves@redhat.com>
11719 * gdb.base/callfuncs.exp (do_function_calls): New parameter
11720 "prototypes". Test calling float functions via prototyped and
11721 unprototyped function pointers.
11722 (perform_all_tests): New parameter "prototypes". Pass it down.
11723 (top level): Pass down "prototypes" parameter to
11726 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11728 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
11729 Test with nested loops.
11731 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11733 * gdb.base/commands.exp: Call the new procedures.
11734 (loop_break_test, loop_continue_test): New procedures.
11736 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11738 * gdb.base/commands.exp: Call new procedure.
11739 (define_if_without_arg_test): New procedure.
11741 2017-09-04 Pedro Alves <palves@redhat.com>
11743 * gdb.base/list-ambiguous.exp: New file.
11744 * gdb.base/list-ambiguous0.c: New file.
11745 * gdb.base/list-ambiguous1.c: New file.
11746 * gdb.base/list.exp (test_list_range): Adjust expected output.
11748 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
11750 * gdb.base/share-env-with-gdbserver.c: New file.
11751 * gdb.base/share-env-with-gdbserver.exp: Likewise.
11753 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
11755 * gdb.base/commands.exp (gdbvar_simple_if_test,
11756 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
11757 progvar_simple_if_test, progvar_simple_while_test,
11758 progvar_complex_if_while_test, user_defined_command_test,
11759 user_defined_command_args_eval,
11760 user_defined_command_args_stack_test,
11761 user_defined_command_manyargs_test, bp_deleted_in_command_test,
11762 temporary_breakpoint_commands,
11763 gdb_test_no_prompt, redefine_hook_test,
11764 redefine_backtrace_test): Remove "global gdb_prompt".
11766 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
11768 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
11769 New proc, call it from toplevel.
11771 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
11774 * gdb.server/normal.c: New file, copied from gdb.base.
11775 * gdb.server/run-without-local-binary.exp: New file.
11777 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
11779 * gdb.arch/sparc64-adi.exp: New file.
11780 * gdb.arch/sparc64-adi.c: New file.
11782 2017-08-22 Pedro Alves <palves@redhat.com>
11784 * gdb.cp/overload.exp (line_range_pattern): New procedure.
11785 (top level): Add "list all overloads" tests.
11787 2017-08-22 Tom Tromey <tom@tromey.com>
11789 * gdb.gdb/xfullpath.exp: Remove.
11791 2017-08-21 Pedro Alves <palves@redhat.com>
11794 * gdb.base/symbol-alias.c: New.
11795 * gdb.base/symbol-alias2.c: New.
11796 * gdb.base/symbol-alias.exp: New.
11798 2017-08-21 Pedro Alves <palves@redhat.com>
11800 * gdb.base/dfp-test.c
11801 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
11802 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
11803 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
11804 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
11805 * gdb.base/whatis-ptype-typedefs.c: New.
11806 * gdb.base/whatis-ptype-typedefs.exp: New.
11807 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
11808 (an_int, an_int_type, an_int_type2): New globals.
11809 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
11810 involving typedefs and cast expressions.
11811 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
11812 (lookup_typedefs_function): New.
11813 (typedefs_pretty_printers_dict): New.
11814 (top level): Register lookup_typedefs_function in
11815 gdb.pretty_printers.
11817 2017-08-18 Yao Qi <yao.qi@linaro.org>
11819 * gdb.server/unittest.exp: New.
11821 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
11824 * gdb.base/environ.exp: Add test to check if 'unset environment'
11827 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
11829 * lib/gdb.exp (universal_compile_options): New caching proc.
11830 (gdb_compile): Suppress GCC's coloring of messages.
11832 2017-08-14 Tom Tromey <tom@tromey.com>
11835 * gdb.base/printcmds.exp (test_radices): New function.
11836 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
11837 * gdb.base/sizeof.exp (check_valueof): Use p/d.
11838 * lib/gdb.exp (get_integer_valueof): Use p/d.
11840 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
11842 * lib/gdb.exp (get_valueof): Don't capture end-of-line
11845 2017-08-05 Tom Tromey <tom@tromey.com>
11847 * gdb.rust/simple.exp: Allow String to appear in a different
11850 2017-07-26 Yao Qi <yao.qi@linaro.org>
11852 * gdb.gdb/unittest.exp: Invoke command
11853 "maintenance check xml-descriptions".
11855 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11857 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
11859 (hex128): Drop erroneous calculation of parameters.
11861 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
11863 * gdb.python/py-unwind.exp: Disable stack protection when
11864 building test file.
11866 2017-07-20 Pedro Alves <palves@redhat.com>
11868 * gdb.base/default.exp (set language): Adjust expected output.
11870 2017-07-20 Pedro Alves <palves@redhat.com>
11872 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
11873 (test_minsym): ... this, and make static.
11874 (get_pck__foo__bar__minsym): Rename to ...
11875 (get_test_minsym): ... this.
11876 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
11877 symbol names and comments.
11878 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
11879 (get_test_minsym): ... this.
11880 (pck__foo__bar__minsym__2): Rename to ...
11881 (test_minsym): ... this.
11884 2017-07-17 Pedro Alves <palves@redhat.com>
11886 * gdb.base/completion.exp: Adjust expected output.
11887 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
11888 the completer works.
11890 2017-07-17 Pedro Alves <palves@redhat.com>
11892 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
11894 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
11896 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
11898 2017-07-14 Tom Tromey <tom@tromey.com>
11901 * gdb.rust/simple.exp: Add tests.
11903 2017-07-14 Tom Tromey <tom@tromey.com>
11905 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
11907 2017-07-14 Pedro Alves <palves@redhat.com>
11909 * gdb.linespec/base/one/thefile.cc (z1): New function.
11910 * gdb.linespec/base/two/thefile.cc (z2): New function.
11911 * gdb.linespec/linespec.exp: Add tests.
11913 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
11915 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
11916 to mi_create_breakpoint.
11918 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
11920 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
11921 mi_create_breakpoint.
11923 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
11925 * gdb.dlang/demangle.exp: Update for demangling changes.
11927 2017-07-09 Tom Tromey <tom@tromey.com>
11929 * gdb.dwarf2/shortpiece.exp: New file.
11931 2017-07-06 David Blaikie <dblaikie@gmail.com>
11933 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
11934 built from fissiont-multi-cu{1,2}.c.
11935 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
11936 except putting 'main' and 'func' in separate CUs in the same DWO file.
11937 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
11939 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
11942 2017-07-06 Pedro Alves <palves@redhat.com>
11944 * gdb.python/py-unwind.exp: Test flushregs.
11946 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
11949 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
11950 tests for alias commands and trailing whitespace.
11952 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
11955 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
11956 procedure. Call it.
11958 2017-06-29 Pedro Alves <palves@redhat.com>
11960 * gdb.base/printcmds.exp: Add tests.
11962 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
11965 * gdb.base/reread-readsym.exp: New file.
11966 * gdb.base/reread-readsym.c: New file.
11968 2017-06-21 Kevin Buettner <kevinb@redhat.com>
11970 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
11973 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
11975 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
11977 * gdb.arch/powerpc-power9.s: Likewise.
11979 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
11981 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
11982 on 32-bit x86 targets. Exploit is_*_target macros where
11985 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11987 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
11990 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11992 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
11993 located in one or more DWARF pieces.
11995 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11997 * lib/gdb.exp (get_endianness): New proc.
11998 * gdb.arch/aarch64-fp.exp: Use it.
11999 * gdb.arch/altivec-regs.exp: Likewise.
12000 * gdb.arch/e500-regs.exp: Likewise.
12001 * gdb.arch/vsx-regs.exp: Likewise.
12002 * gdb.base/dump.exp: Likewise.
12003 * gdb.base/funcargs.exp: Likewise.
12004 * gdb.base/gnu_vector.exp: Likewise.
12005 * gdb.dwarf2/formdata16.exp: Likewise.
12006 * gdb.dwarf2/implptrpiece.exp: Likewise.
12007 * gdb.dwarf2/nonvar-access.exp: Likewise.
12008 * gdb.python/py-inferior.exp: Likewise.
12009 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
12011 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12014 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
12015 stack value pieces are taken from the LSB end.
12017 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12019 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
12020 variable at nonzero offset.
12022 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12024 * gdb.dwarf2/var-access.c: New file.
12025 * gdb.dwarf2/var-access.exp: New test.
12026 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
12028 2017-06-12 Tom Tromey <tom@tromey.com>
12030 * gdb.dwarf2/formdata16.exp: Add tests.
12032 2017-06-12 Tom Tromey <tom@tromey.com>
12034 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
12036 2017-06-12 Tom Tromey <tom@tromey.com>
12039 * gdb.reverse/i386-sse-reverse.exp: Update tests.
12040 * gdb.arch/vsx-regs.exp: Update tests.
12041 * gdb.arch/s390-vregs.exp (hex128): New proc.
12043 * gdb.arch/altivec-regs.exp: Update tests.
12045 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
12047 * gdb.base/startup-with-shell.c: New file.
12048 * gdb.base/startup-with-shell.exp: Likewise.
12050 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
12052 * gdb.server/non-existing-program.exp: Update regex in order to
12053 reflect the fact that gdbserver is now using fork_inferior (with a
12054 shell) to startup the inferior.
12056 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
12058 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
12059 support function calls from GDB.
12061 2017-05-21 Tom Tromey <tom@tromey.com>
12064 * gdb.rust/unsized.exp: New file.
12065 * gdb.rust/unsized.rs: New file.
12067 2017-05-19 Tom Tromey <tom@tromey.com>
12070 * gdb.rust/watch.exp: New file.
12071 * gdb.rust/watch.rs: New file.
12073 2017-05-18 Tom Tromey <tom@tromey.com>
12075 * gdb.rust/simple.exp: Allow Box to be qualified.
12077 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
12079 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
12081 2017-05-18 Pedro Alves <palves@redhat.com>
12083 * gdb.base/fileio.c (test_write, test_read, test_close)
12084 (test_fstat): Don't print 'ret' in the fail path.
12086 2017-05-18 Pedro Alves <palves@redhat.com>
12088 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
12089 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
12090 (test_system, test_rename, test_unlink, test_time): Change
12092 * gdb.base/fileio.exp (stop_msg): Adjust.
12094 2017-05-18 Pedro Alves <palves@redhat.com>
12096 * gdb.base/fileio.c (null_str): New global.
12097 (test_stat): Use it.
12098 * gdb.base/fileio.exp: Remove nowarnings.
12100 2017-05-17 Yao Qi <yao.qi@linaro.org>
12102 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
12104 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
12106 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
12108 (top-level): Invoke test_set_inferior_tty.
12110 2017-05-04 Pedro Alves <palves@redhat.com>
12112 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
12113 Add parens to print call for Python 3.
12115 2017-05-03 Keith Seitz <keiths@redhat.com>
12117 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
12120 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12122 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
12125 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12127 * gdb.python/py-record-btrace.exp: Remove test for
12128 gdb.BtraceInstruction.error.
12130 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12132 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
12134 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12136 * gdb.python/py-record-btrace-threads.c: New file.
12137 * gdb.python/py-record-btrace-threads.exp: New file.
12139 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
12142 * gdb.base/environ.exp: Make test available in all architectures.
12143 Move bits related to "info program" testing to
12144 gdb.base/info-program.exp. Rewrite tests to use the two new
12145 procedures mentione below.
12146 (test_set_show_env_var) New procedure.
12147 (test_set_show_env_var_equal): Likewise.
12148 * gdb.base/info-program.exp: New file.
12150 2017-04-27 Keith Seitz <keiths@redhat.com>
12152 * gdb.cp/oranking.cc (test15): New function.
12153 (main): Call test15 and declare additional variables for testing.
12154 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
12155 "p foo101('abc')" tests.
12156 Add tests for cv qualifier overloads.
12157 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
12158 "lvalue reference overload" test.
12159 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
12160 "print value of f1 on Child&& in f2" test.
12162 2017-04-19 Pedro Alves <palves@redhat.com>
12164 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
12166 (top level): Call it.
12167 * lib/gdb.exp (gdb_define_cmd): New procedure.
12169 2017-04-12 Pedro Alves <palves@redhat.com>
12172 * gdb.cp/wide_char_types.c: Include <wchar.h>.
12173 (wchar): New global.
12174 * gdb.cp/wide_char_types.exp (wide_char_types_program)
12175 (do_test_wide_char, wide_char_types_no_program, top level): Add
12178 2017-04-12 Pedro Alves <palves@redhat.com>
12181 * gdb.cp/wide_char_types.c: New file.
12182 * gdb.cp/wide_char_types.exp: New file.
12184 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
12187 * gdb.trace/tsv.exp: Add test for "tsave -r".
12189 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
12191 * gdb.dlang/watch-loc.c: New file.
12192 * gdb.dlang/watch-loc.exp: New file.
12194 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12196 * gdb.python/py-section-script.exp (sepdebug): New testcases.
12198 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
12200 * gdb.arch/arc-analyze-prologue.S: New file.
12201 * gdb.arch/arc-analyze-prologue.exp: Likewise.
12203 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
12205 * gdb.arch/arc-decode-insn.S: New file.
12206 * gdb.arch/arc-decode-insn.exp: Likewise.
12208 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
12211 * gdb.arch/sparc64-regs.exp: New file.
12212 * gdb.arch/sparc64-regs.S: Likewise.
12214 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
12216 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
12217 and memory view on Python 3.
12219 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
12220 Keith Seitz <keiths@redhat.com>
12223 * gdb.cp/demangle.exp: Add rvalue reference tests.
12224 * gdb.cp/rvalue-ref-casts.cc: New file.
12225 * gdb.cp/rvalue-ref-casts.exp: New file.
12226 * gdb.cp/rvalue-ref-overload.cc: New file.
12227 * gdb.cp/rvalue-ref-overload.exp: New file.
12228 * gdb.cp/rvalue-ref-params.cc: New file.
12229 * gdb.cp/rvalue-ref-params.exp: New file.
12230 * gdb.cp/rvalue-ref-sizeof.cc: New file.
12231 * gdb.cp/rvalue-ref-sizeof.exp: New file.
12232 * gdb.cp/rvalue-ref-types.cc: New file.
12233 * gdb.cp/rvalue-ref-types.exp: New file.
12234 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
12235 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
12237 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
12239 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
12242 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
12244 * lib/mi-support.exp (mi_gdb_test): Add additional message
12245 for unexpected output.
12247 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12249 * gdb.base/examine-backward.c (Barrier): New character array
12250 constant, to ensure that TestStrings is preceded by a string
12253 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12255 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
12256 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
12257 and implicit pointer into such a location.
12259 2017-03-16 Doug Evans <dje@google.com>
12261 * gdb.python/py-lazy-string (pointer): Really add new typedef.
12263 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
12265 * gdb.cp/m-static.exp: Fix expectation for prototype of
12266 test5.single_constructor and single_constructor::single_constructor.
12268 2017-03-16 Doug Evans <dje@google.com>
12270 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
12271 * gdb.guile/scm-lazy-string.c: New file.
12272 * gdb.guile/scm-value.exp: Move lazy string tests to ...
12273 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
12274 for pointer, array, typedef lazy strings.
12276 2017-03-16 Doug Evans <dje@google.com>
12278 PR python/17728, python/18439, python/18779
12279 * gdb.python/py-value.c (main) Delete locals sptr, sn.
12280 * gdb.python/py-lazy-string.c (pointer): New typedef.
12281 (main): New locals ptr, array, typedef_ptr.
12282 * gdb.python/py-value.exp: Move lazy string tests to ...
12283 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
12284 array, typedef lazy strings.
12286 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
12288 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
12289 Add optional 'test' parameter.
12291 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
12293 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
12294 Skip for versions of DejaGnu < 1.5.
12296 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
12298 * lib/gdb.exp (dejagnu_version): New proc.
12299 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
12300 Use dejagnu_version.
12302 2017-03-10 Keith Seitz <keiths@redhat.com>
12305 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
12306 type from destructor regexps.
12307 Add a branch which actually passes the test.
12308 Adjust "ptype t5i" test names.
12310 2017-03-08 Pedro Alves <palves@redhat.com>
12312 * gdb.base/step-over-exit.exp: Add explicit test message.
12314 2017-03-08 Pedro Alves <palves@redhat.com>
12317 * gdb.threads/interrupt-while-step-over.c: New file.
12318 * gdb.threads/interrupt-while-step-over.exp: New file.
12320 2017-03-08 Pedro Alves <palves@redhat.com>
12322 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
12323 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
12325 2017-03-08 Pedro Alves <palves@redhat.com>
12327 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
12328 PKRU as not supported as a PASS.
12330 2017-03-08 Pedro Alves <palves@redhat.com>
12332 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
12333 prefix instead of $binfile1/$binfile2.
12334 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
12336 * gdb.python/py-completion.exp: Use "load python file" as test
12337 messages instead of unstable path names.
12339 2017-03-08 Pedro Alves <palves@redhat.com>
12340 Jan Kratochvil <jan.kratochvil@redhat.com>
12343 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
12345 (top level): Call it.
12347 2017-03-08 Pedro Alves <palves@redhat.com>
12350 * gdb.tui/tui-nl-filtered-output.exp: New file.
12352 2017-03-08 Pedro Alves <palves@redhat.com>
12354 * gdb.base/completion.exp: Move TUI completion tests to ...
12355 * gdb.tui/completion.exp: ... this new file.
12357 2017-03-08 Pedro Alves <palves@redhat.com>
12359 * gdb.base/tui-disasm-long-lines.c,
12360 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
12361 gdb.base/tui-layout.exp: Move to ...
12362 * gdb.tui/: ... this new directory.
12364 2017-03-07 Pedro Alves <palves@redhat.com>
12366 * gdb.base/tui-layout.c: New file.
12367 * gdb.base/tui-layout.exp: New file.
12369 2017-03-07 Pedro Alves <palves@redhat.com>
12371 * gdb.base/tui-layout.c: Rename to ...
12372 * gdb.base/tui-disasm-long-lines.c: ... this.
12373 * gdb.base/tui-layout.exp: Rename to ...
12374 * gdb.base/tui-disasm-long-lines.exp: ... this.
12376 2017-03-07 Pedro Alves <palves@redhat.com>
12378 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
12380 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
12382 * i386-mpx-call.c: New file.
12383 * i386-mpx-call.exp: New file.
12385 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
12387 * gdb.arch/powerpc-power.exp: Delete test.
12388 * gdb.arch/powerpc-power.s: Likewise.
12389 * gdb.disasm/disassembler-options.exp: New test.
12390 * gdb.arch/powerpc-altivec.exp: Likewise.
12391 * gdb.arch/powerpc-altivec.s: Likewise.
12392 * gdb.arch/powerpc-altivec2.exp: Likewise.
12393 * gdb.arch/powerpc-altivec2.s: Likewise.
12394 * gdb.arch/powerpc-altivec3.exp: Likewise.
12395 * gdb.arch/powerpc-altivec3.s: Likewise.
12396 * gdb.arch/powerpc-power7.exp: Likewise.
12397 * gdb.arch/powerpc-power7.s: Likewise.
12398 * gdb.arch/powerpc-power8.exp: Likewise.
12399 * gdb.arch/powerpc-power8.s: Likewise.
12400 * gdb.arch/powerpc-power9.exp: Likewise.
12401 * gdb.arch/powerpc-power9.s: Likewise.
12402 * gdb.arch/powerpc-vsx.exp: Likewise.
12403 * gdb.arch/powerpc-vsx.s: Likewise.
12404 * gdb.arch/powerpc-vsx2.exp: Likewise.
12405 * gdb.arch/powerpc-vsx2.s: Likewise.
12406 * gdb.arch/powerpc-vsx3.exp: Likewise.
12407 * gdb.arch/powerpc-vsx3.s: Likewise.
12408 * gdb.arch/arm-disassembler-options.exp: Likewise.
12409 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
12410 * gdb.arch/s390-disassembler-options.exp: Likewise.
12412 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
12414 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
12415 (check_supported_features): ... this. Changed return type to void.
12416 (supports_rdseed): New static global.
12417 (rdseed): Check supports_rdseed.
12418 (initialize): Call check_supported_features.
12420 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12422 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
12423 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
12425 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
12426 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
12428 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12430 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
12433 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12435 * gdb.dwarf2/formdata16.c: New file.
12436 * gdb.dwarf2/formdata16.exp: New file.
12437 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
12439 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12441 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
12442 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
12443 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
12444 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
12447 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12449 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
12451 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
12454 * gdb.base/maint.exp: Add testcases for when the commands do
12455 not have arguments.
12457 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
12459 * gdb.cp/chained-calls.exp: Use p instead of P.
12461 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
12463 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
12464 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
12466 2017-02-14 Tom Tromey <tom@tromey.com>
12469 * gdb.python/py-events.exp: Add before_prompt event tests.
12471 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
12473 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
12475 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
12477 * gdb.linespec/explicit.c (my_unique_function_name): New function.
12478 (main): Call my_unique_function_name.
12479 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
12480 completion of patterns with a single match.
12481 Add missing -re switches to gdb_test_multiple calls.
12483 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
12485 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
12486 return if core file is not recognized.
12488 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
12490 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
12493 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
12495 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
12498 2017-02-10 Tom Tromey <tom@tromey.com>
12500 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
12502 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
12505 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
12507 2017-02-08 Jerome Guitton <guitton@adacore.com>
12509 * gdb.base/define.exp: Add test for command abbreviations
12512 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
12514 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
12515 * gdb.reverse/insn-reverse-x86.c: New file.
12517 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
12520 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
12522 2017-02-03 Tom Tromey <tom@tromey.com>
12525 * gdb.rust/simple.exp: Add new tests.
12527 2017-02-02 Pedro Alves <palves@redhat.com>
12529 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
12532 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
12534 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
12535 taking a 2-byte value out of a 4-byte DWARF implicit value on
12536 big-endian targets.
12537 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
12538 logic. Add test cases for DW_OP_implicit.
12540 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12542 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
12544 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12546 * gdb.btrace/enable.exp: Call gdb_exit before
12547 skip_gdbserver_tests.
12549 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12551 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
12554 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12556 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
12557 the test is skipped.
12558 * gdb.btrace/data.exp: Likewise.
12559 * gdb.btrace/delta.exp: Likewise.
12560 * gdb.btrace/dlopen.exp: Likewise.
12561 * gdb.btrace/enable-running.exp: Likewise.
12562 * gdb.btrace/enable.exp: Likewise.
12563 * gdb.btrace/exception.exp: Likewise.
12564 * gdb.btrace/function_call_history.exp: Likewise.
12565 * gdb.btrace/gcore.exp: Likewise.
12566 * gdb.btrace/instruction_history.exp: Likewise.
12567 * gdb.btrace/multi-thread-step.exp: Likewise.
12568 * gdb.btrace/nohist.exp: Likewise.
12569 * gdb.btrace/non-stop.exp: Likewise.
12570 * gdb.btrace/reconnect.exp: Likewise.
12571 * gdb.btrace/record_goto-step.exp: Likewise.
12572 * gdb.btrace/record_goto.exp: Likewise.
12573 * gdb.btrace/rn-dl-bind.exp: Likewise.
12574 * gdb.btrace/segv.exp: Likewise.
12575 * gdb.btrace/step.exp: Likewise.
12576 * gdb.btrace/stepi.exp: Likewise.
12577 * gdb.btrace/tailcall-only.exp: Likewise.
12578 * gdb.btrace/tailcall.exp: Likewise.
12579 * gdb.btrace/tsx.exp: Likewise.
12580 * gdb.btrace/unknown_functions.exp: Likewise.
12581 * gdb.btrace/vdso.exp: Likewise.
12583 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
12585 * gdb.btrace/enable-running.c: New.
12586 * gdb.btrace/enable-running.exp: New.
12588 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
12590 * gdb.arch/amd64-gs_base.c: New file.
12591 * gdb.arch/amd64-gs_base.exp: New file.
12593 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
12595 * lib/memory.exp: Remove spurious empty newlines.
12597 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
12599 * gdb.python/py-bad-printers.exp: Load python file using "source".
12600 * gdb.python/py-events.exp: Likewise.
12601 * gdb.python/py-evsignal.exp: Likewise.
12602 * gdb.python/py-evthreads.exp: Likewise.
12603 * gdb.python/py-frame-args.exp: Likewise.
12604 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
12605 * gdb.python/py-framefilter-mi.exp: Likewise.
12606 * gdb.python/py-framefilter.exp: Likewise.
12607 * gdb.python/py-mi.exp: Likewise.
12608 * gdb.python/py-pp-maint.exp: Likewise.
12609 * gdb.python/py-pp-registration.exp: Likewise.
12610 * gdb.python/py-prettyprint.exp: Likewise.
12611 (run_lang_tests): Likewise.
12612 * gdb.python/py-typeprint.exp: Likewise.
12614 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
12616 * lib/memory.exp: New file.
12617 * lib/gdb.exp: Load memory.exp.
12618 * gdb.base/memattr.exp (delete_memory): Move proc to
12619 lib/memory.exp and rename to delete_memory_regions.
12620 Replace delete_memory with delete_memory_regions.
12621 Cleanup memory regions before tests.
12622 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
12625 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
12627 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
12629 (initialize): New function conditionally defined.
12630 (testcases): Move within conditional block.
12631 (main): Call initialize.
12632 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
12633 of gdb.reverse/insn-reverse.c.
12634 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
12635 gdb.reverse/insn-reverse.c.
12637 2017-01-26 Yao Qi <yao.qi@linaro.org>
12639 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
12640 disassemble on address 0.
12642 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
12643 Yao Qi <yao.qi@linaro.org>
12645 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
12646 * gdb.dwarf2/implptr-64bit.S: Remove.
12647 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
12648 variables in caller's context. Add DW_OP_implicit_value.
12650 2017-01-25 Yao Qi <yao.qi@linaro.org>
12652 * lib/dwarf.exp (Dwarf::_location): Handle
12653 DW_OP_GNU_implicit_pointer with proper size.
12655 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
12657 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
12658 and add untested calls.
12660 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
12662 * gdb.python/python.exp: Check line number against what GDB thinks
12663 the line number is for func1.
12665 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
12667 * gdb.dlang/debug-expr.exp: New file.
12669 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
12671 Fix test names for the following files:
12673 * gdb.ada/exec_changed.exp
12674 * gdb.ada/info_types.exp
12675 * gdb.arch/aarch64-atomic-inst.exp
12676 * gdb.arch/aarch64-fp.exp
12677 * gdb.arch/altivec-abi.exp
12678 * gdb.arch/altivec-regs.exp
12679 * gdb.arch/amd64-byte.exp
12680 * gdb.arch/amd64-disp-step.exp
12681 * gdb.arch/amd64-dword.exp
12682 * gdb.arch/amd64-entry-value-inline.exp
12683 * gdb.arch/amd64-entry-value-param.exp
12684 * gdb.arch/amd64-entry-value-paramref.exp
12685 * gdb.arch/amd64-entry-value.exp
12686 * gdb.arch/amd64-i386-address.exp
12687 * gdb.arch/amd64-invalid-stack-middle.exp
12688 * gdb.arch/amd64-invalid-stack-top.exp
12689 * gdb.arch/amd64-optimout-repeat.exp
12690 * gdb.arch/amd64-prologue-skip.exp
12691 * gdb.arch/amd64-prologue-xmm.exp
12692 * gdb.arch/amd64-stap-special-operands.exp
12693 * gdb.arch/amd64-stap-wrong-subexp.exp
12694 * gdb.arch/amd64-tailcall-cxx.exp
12695 * gdb.arch/amd64-tailcall-noret.exp
12696 * gdb.arch/amd64-tailcall-ret.exp
12697 * gdb.arch/amd64-tailcall-self.exp
12698 * gdb.arch/amd64-word.exp
12699 * gdb.arch/arm-bl-branch-dest.exp
12700 * gdb.arch/arm-disp-step.exp
12701 * gdb.arch/arm-neon.exp
12702 * gdb.arch/arm-single-step-kernel-helper.exp
12703 * gdb.arch/avr-flash-qualifier.exp
12704 * gdb.arch/disp-step-insn-reloc.exp
12705 * gdb.arch/e500-abi.exp
12706 * gdb.arch/e500-regs.exp
12707 * gdb.arch/ftrace-insn-reloc.exp
12708 * gdb.arch/i386-avx512.exp
12709 * gdb.arch/i386-bp_permanent.exp
12710 * gdb.arch/i386-byte.exp
12711 * gdb.arch/i386-cfi-notcurrent.exp
12712 * gdb.arch/i386-disp-step.exp
12713 * gdb.arch/i386-dr3-watch.exp
12714 * gdb.arch/i386-float.exp
12715 * gdb.arch/i386-gnu-cfi.exp
12716 * gdb.arch/i386-mpx-map.exp
12717 * gdb.arch/i386-mpx-sigsegv.exp
12718 * gdb.arch/i386-mpx-simple_segv.exp
12719 * gdb.arch/i386-mpx.exp
12720 * gdb.arch/i386-permbkpt.exp
12721 * gdb.arch/i386-prologue.exp
12722 * gdb.arch/i386-signal.exp
12723 * gdb.arch/i386-size-overlap.exp
12724 * gdb.arch/i386-unwind.exp
12725 * gdb.arch/i386-word.exp
12726 * gdb.arch/mips-fcr.exp
12727 * gdb.arch/powerpc-d128-regs.exp
12728 * gdb.arch/powerpc-stackless.exp
12729 * gdb.arch/ppc64-atomic-inst.exp
12730 * gdb.arch/s390-stackless.exp
12731 * gdb.arch/s390-tdbregs.exp
12732 * gdb.arch/s390-vregs.exp
12733 * gdb.arch/sparc-sysstep.exp
12734 * gdb.arch/thumb-bx-pc.exp
12735 * gdb.arch/thumb-singlestep.exp
12736 * gdb.arch/thumb2-it.exp
12737 * gdb.arch/vsx-regs.exp
12738 * gdb.asm/asm-source.exp
12739 * gdb.base/a2-run.exp
12740 * gdb.base/advance.exp
12741 * gdb.base/all-bin.exp
12742 * gdb.base/anon.exp
12743 * gdb.base/args.exp
12744 * gdb.base/arithmet.exp
12745 * gdb.base/async-shell.exp
12746 * gdb.base/async.exp
12747 * gdb.base/attach-pie-noexec.exp
12748 * gdb.base/attach-twice.exp
12749 * gdb.base/auto-load.exp
12750 * gdb.base/bang.exp
12751 * gdb.base/bitfields.exp
12752 * gdb.base/break-always.exp
12753 * gdb.base/break-caller-line.exp
12754 * gdb.base/break-entry.exp
12755 * gdb.base/break-inline.exp
12756 * gdb.base/break-on-linker-gcd-function.exp
12757 * gdb.base/break-probes.exp
12758 * gdb.base/break.exp
12759 * gdb.base/breakpoint-shadow.exp
12760 * gdb.base/call-ar-st.exp
12761 * gdb.base/call-sc.exp
12762 * gdb.base/call-signal-resume.exp
12763 * gdb.base/call-strs.exp
12764 * gdb.base/callfuncs.exp
12765 * gdb.base/catch-fork-static.exp
12766 * gdb.base/catch-gdb-caused-signals.exp
12767 * gdb.base/catch-load.exp
12768 * gdb.base/catch-signal-fork.exp
12769 * gdb.base/catch-signal.exp
12770 * gdb.base/catch-syscall.exp
12771 * gdb.base/charset.exp
12772 * gdb.base/checkpoint.exp
12773 * gdb.base/chng-syms.exp
12774 * gdb.base/code-expr.exp
12775 * gdb.base/code_elim.exp
12776 * gdb.base/commands.exp
12777 * gdb.base/completion.exp
12778 * gdb.base/complex.exp
12779 * gdb.base/cond-expr.exp
12780 * gdb.base/condbreak.exp
12781 * gdb.base/consecutive.exp
12782 * gdb.base/continue-all-already-running.exp
12783 * gdb.base/coredump-filter.exp
12784 * gdb.base/corefile.exp
12786 * gdb.base/debug-expr.exp
12787 * gdb.base/define.exp
12789 * gdb.base/disabled-location.exp
12790 * gdb.base/disasm-end-cu.exp
12791 * gdb.base/disasm-optim.exp
12792 * gdb.base/display.exp
12793 * gdb.base/duplicate-bp.exp
12794 * gdb.base/ena-dis-br.exp
12795 * gdb.base/ending-run.exp
12796 * gdb.base/enumval.exp
12797 * gdb.base/environ.exp
12798 * gdb.base/eu-strip-infcall.exp
12799 * gdb.base/eval-avoid-side-effects.exp
12800 * gdb.base/eval-skip.exp
12801 * gdb.base/exitsignal.exp
12802 * gdb.base/expand-psymtabs.exp
12803 * gdb.base/filesym.exp
12804 * gdb.base/find-unmapped.exp
12805 * gdb.base/finish.exp
12806 * gdb.base/float.exp
12807 * gdb.base/foll-exec-mode.exp
12808 * gdb.base/foll-exec.exp
12809 * gdb.base/foll-fork.exp
12810 * gdb.base/fortran-sym-case.exp
12811 * gdb.base/freebpcmd.exp
12812 * gdb.base/func-ptr.exp
12813 * gdb.base/func-ptrs.exp
12814 * gdb.base/funcargs.exp
12815 * gdb.base/gcore-buffer-overflow.exp
12816 * gdb.base/gcore-relro-pie.exp
12817 * gdb.base/gcore-relro.exp
12818 * gdb.base/gcore.exp
12819 * gdb.base/gdb1090.exp
12820 * gdb.base/gdb11530.exp
12821 * gdb.base/gdb11531.exp
12822 * gdb.base/gdb1821.exp
12823 * gdb.base/gdbindex-stabs.exp
12824 * gdb.base/gdbvars.exp
12825 * gdb.base/hbreak.exp
12826 * gdb.base/hbreak2.exp
12827 * gdb.base/included.exp
12828 * gdb.base/infcall-input.exp
12829 * gdb.base/inferior-died.exp
12830 * gdb.base/infnan.exp
12831 * gdb.base/info-macros.exp
12832 * gdb.base/info-os.exp
12833 * gdb.base/info-proc.exp
12834 * gdb.base/info-shared.exp
12835 * gdb.base/info-target.exp
12836 * gdb.base/infoline.exp
12837 * gdb.base/interp.exp
12838 * gdb.base/interrupt.exp
12839 * gdb.base/jit-reader.exp
12840 * gdb.base/jit-simple.exp
12841 * gdb.base/kill-after-signal.exp
12842 * gdb.base/kill-detach-inferiors-cmd.exp
12843 * gdb.base/label.exp
12844 * gdb.base/langs.exp
12845 * gdb.base/ldbl_e308.exp
12846 * gdb.base/line-symtabs.exp
12847 * gdb.base/linespecs.exp
12848 * gdb.base/list.exp
12849 * gdb.base/long_long.exp
12850 * gdb.base/longest-types.exp
12851 * gdb.base/maint.exp
12852 * gdb.base/max-value-size.exp
12853 * gdb.base/memattr.exp
12854 * gdb.base/mips_pro.exp
12855 * gdb.base/morestack.exp
12856 * gdb.base/moribund-step.exp
12857 * gdb.base/multi-forks.exp
12858 * gdb.base/nested-addr.exp
12859 * gdb.base/nextoverexit.exp
12860 * gdb.base/noreturn-finish.exp
12861 * gdb.base/noreturn-return.exp
12862 * gdb.base/nostdlib.exp
12863 * gdb.base/offsets.exp
12864 * gdb.base/opaque.exp
12865 * gdb.base/pc-fp.exp
12866 * gdb.base/permissions.exp
12867 * gdb.base/print-symbol-loading.exp
12868 * gdb.base/prologue-include.exp
12869 * gdb.base/psymtab.exp
12870 * gdb.base/ptype.exp
12871 * gdb.base/random-signal.exp
12872 * gdb.base/randomize.exp
12873 * gdb.base/range-stepping.exp
12874 * gdb.base/readline-ask.exp
12875 * gdb.base/recpar.exp
12876 * gdb.base/recurse.exp
12877 * gdb.base/relational.exp
12878 * gdb.base/restore.exp
12879 * gdb.base/return-nodebug.exp
12880 * gdb.base/return.exp
12881 * gdb.base/run-after-attach.exp
12882 * gdb.base/save-bp.exp
12883 * gdb.base/scope.exp
12884 * gdb.base/sect-cmd.exp
12885 * gdb.base/set-lang-auto.exp
12886 * gdb.base/set-noassign.exp
12887 * gdb.base/setvar.exp
12888 * gdb.base/sigall.exp
12889 * gdb.base/sigbpt.exp
12890 * gdb.base/siginfo-addr.exp
12891 * gdb.base/siginfo-infcall.exp
12892 * gdb.base/siginfo-obj.exp
12893 * gdb.base/siginfo.exp
12894 * gdb.base/signals-state-child.exp
12895 * gdb.base/signest.exp
12896 * gdb.base/sigstep.exp
12897 * gdb.base/sizeof.exp
12898 * gdb.base/skip.exp
12899 * gdb.base/solib-corrupted.exp
12900 * gdb.base/solib-nodir.exp
12901 * gdb.base/solib-search.exp
12902 * gdb.base/stack-checking.exp
12903 * gdb.base/stale-infcall.exp
12904 * gdb.base/stap-probe.exp
12905 * gdb.base/start.exp
12906 * gdb.base/step-break.exp
12907 * gdb.base/step-bt.exp
12908 * gdb.base/step-line.exp
12909 * gdb.base/step-over-exit.exp
12910 * gdb.base/step-over-syscall.exp
12911 * gdb.base/step-resume-infcall.exp
12912 * gdb.base/step-test.exp
12913 * gdb.base/store.exp
12914 * gdb.base/structs3.exp
12915 * gdb.base/sym-file.exp
12916 * gdb.base/symbol-without-target_section.exp
12917 * gdb.base/term.exp
12918 * gdb.base/testenv.exp
12919 * gdb.base/ui-redirect.exp
12920 * gdb.base/until.exp
12921 * gdb.base/unwindonsignal.exp
12922 * gdb.base/value-double-free.exp
12923 * gdb.base/vla-datatypes.exp
12924 * gdb.base/vla-ptr.exp
12925 * gdb.base/vla-sideeffect.exp
12926 * gdb.base/volatile.exp
12927 * gdb.base/watch-cond-infcall.exp
12928 * gdb.base/watch-cond.exp
12929 * gdb.base/watch-non-mem.exp
12930 * gdb.base/watch-read.exp
12931 * gdb.base/watch-vfork.exp
12932 * gdb.base/watchpoint-cond-gone.exp
12933 * gdb.base/watchpoint-delete.exp
12934 * gdb.base/watchpoint-hw-hit-once.exp
12935 * gdb.base/watchpoint-hw.exp
12936 * gdb.base/watchpoint-stops-at-right-insn.exp
12937 * gdb.base/watchpoints.exp
12938 * gdb.base/wchar.exp
12939 * gdb.base/whatis-exp.exp
12940 * gdb.btrace/buffer-size.exp
12941 * gdb.btrace/data.exp
12942 * gdb.btrace/delta.exp
12943 * gdb.btrace/dlopen.exp
12944 * gdb.btrace/enable.exp
12945 * gdb.btrace/exception.exp
12946 * gdb.btrace/function_call_history.exp
12947 * gdb.btrace/gcore.exp
12948 * gdb.btrace/instruction_history.exp
12949 * gdb.btrace/nohist.exp
12950 * gdb.btrace/reconnect.exp
12951 * gdb.btrace/record_goto-step.exp
12952 * gdb.btrace/record_goto.exp
12953 * gdb.btrace/rn-dl-bind.exp
12954 * gdb.btrace/segv.exp
12955 * gdb.btrace/step.exp
12956 * gdb.btrace/stepi.exp
12957 * gdb.btrace/tailcall-only.exp
12958 * gdb.btrace/tailcall.exp
12959 * gdb.btrace/tsx.exp
12960 * gdb.btrace/unknown_functions.exp
12961 * gdb.btrace/vdso.exp
12962 * gdb.compile/compile-ifunc.exp
12963 * gdb.compile/compile-ops.exp
12964 * gdb.compile/compile-print.exp
12965 * gdb.compile/compile-setjmp.exp
12966 * gdb.cp/abstract-origin.exp
12967 * gdb.cp/ambiguous.exp
12968 * gdb.cp/annota2.exp
12969 * gdb.cp/annota3.exp
12970 * gdb.cp/anon-ns.exp
12971 * gdb.cp/anon-struct.exp
12972 * gdb.cp/anon-union.exp
12973 * gdb.cp/arg-reference.exp
12974 * gdb.cp/baseenum.exp
12976 * gdb.cp/breakpoint.exp
12977 * gdb.cp/bs15503.exp
12978 * gdb.cp/call-c.exp
12980 * gdb.cp/chained-calls.exp
12981 * gdb.cp/class2.exp
12982 * gdb.cp/classes.exp
12983 * gdb.cp/cmpd-minsyms.exp
12984 * gdb.cp/converts.exp
12985 * gdb.cp/cp-relocate.exp
12986 * gdb.cp/cpcompletion.exp
12987 * gdb.cp/cpexprs.exp
12988 * gdb.cp/cplabel.exp
12989 * gdb.cp/cplusfuncs.exp
12990 * gdb.cp/cpsizeof.exp
12992 * gdb.cp/derivation.exp
12993 * gdb.cp/destrprint.exp
12994 * gdb.cp/dispcxx.exp
12995 * gdb.cp/enum-class.exp
12996 * gdb.cp/exception.exp
12997 * gdb.cp/exceptprint.exp
12998 * gdb.cp/expand-psymtabs-cxx.exp
12999 * gdb.cp/expand-sals.exp
13000 * gdb.cp/extern-c.exp
13001 * gdb.cp/filename.exp
13002 * gdb.cp/formatted-ref.exp
13003 * gdb.cp/fpointer.exp
13004 * gdb.cp/gdb1355.exp
13005 * gdb.cp/gdb2495.exp
13007 * gdb.cp/impl-this.exp
13008 * gdb.cp/infcall-dlopen.exp
13009 * gdb.cp/inherit.exp
13010 * gdb.cp/iostream.exp
13011 * gdb.cp/koenig.exp
13013 * gdb.cp/m-data.exp
13014 * gdb.cp/m-static.exp
13015 * gdb.cp/mb-ctor.exp
13016 * gdb.cp/mb-inline.exp
13017 * gdb.cp/mb-templates.exp
13018 * gdb.cp/member-name.exp
13019 * gdb.cp/member-ptr.exp
13020 * gdb.cp/meth-typedefs.exp
13021 * gdb.cp/method.exp
13022 * gdb.cp/method2.exp
13023 * gdb.cp/minsym-fallback.exp
13025 * gdb.cp/namelessclass.exp
13026 * gdb.cp/namespace-enum.exp
13027 * gdb.cp/namespace-nested-import.exp
13028 * gdb.cp/namespace.exp
13029 * gdb.cp/nextoverthrow.exp
13030 * gdb.cp/no-dmgl-verbose.exp
13031 * gdb.cp/non-trivial-retval.exp
13032 * gdb.cp/noparam.exp
13033 * gdb.cp/nsdecl.exp
13034 * gdb.cp/nsimport.exp
13035 * gdb.cp/nsnested.exp
13036 * gdb.cp/nsnoimports.exp
13037 * gdb.cp/nsrecurs.exp
13038 * gdb.cp/nsstress.exp
13039 * gdb.cp/nsusing.exp
13040 * gdb.cp/operator.exp
13041 * gdb.cp/oranking.exp
13042 * gdb.cp/overload-const.exp
13043 * gdb.cp/overload.exp
13044 * gdb.cp/ovldbreak.exp
13045 * gdb.cp/ovsrch.exp
13046 * gdb.cp/paren-type.exp
13047 * gdb.cp/parse-lang.exp
13048 * gdb.cp/pass-by-ref.exp
13049 * gdb.cp/pr-1023.exp
13050 * gdb.cp/pr-1210.exp
13051 * gdb.cp/pr-574.exp
13052 * gdb.cp/pr10687.exp
13053 * gdb.cp/pr12028.exp
13054 * gdb.cp/pr17132.exp
13055 * gdb.cp/pr17494.exp
13056 * gdb.cp/pr9067.exp
13057 * gdb.cp/pr9167.exp
13058 * gdb.cp/pr9631.exp
13059 * gdb.cp/printmethod.exp
13060 * gdb.cp/psmang.exp
13061 * gdb.cp/psymtab-parameter.exp
13062 * gdb.cp/ptype-cv-cp.exp
13063 * gdb.cp/ptype-flags.exp
13064 * gdb.cp/re-set-overloaded.exp
13065 * gdb.cp/ref-types.exp
13067 * gdb.cp/scope-err.exp
13068 * gdb.cp/shadow.exp
13069 * gdb.cp/smartp.exp
13070 * gdb.cp/static-method.exp
13071 * gdb.cp/static-print-quit.exp
13072 * gdb.cp/temargs.exp
13073 * gdb.cp/templates.exp
13074 * gdb.cp/try_catch.exp
13075 * gdb.cp/typedef-operator.exp
13076 * gdb.cp/typeid.exp
13077 * gdb.cp/userdef.exp
13078 * gdb.cp/using-crash.exp
13079 * gdb.cp/var-tag.exp
13080 * gdb.cp/virtbase.exp
13081 * gdb.cp/virtfunc.exp
13082 * gdb.cp/virtfunc2.exp
13083 * gdb.cp/vla-cxx.exp
13084 * gdb.disasm/t01_mov.exp
13085 * gdb.disasm/t02_mova.exp
13086 * gdb.disasm/t03_add.exp
13087 * gdb.disasm/t04_sub.exp
13088 * gdb.disasm/t05_cmp.exp
13089 * gdb.disasm/t06_ari2.exp
13090 * gdb.disasm/t07_ari3.exp
13091 * gdb.disasm/t08_or.exp
13092 * gdb.disasm/t09_xor.exp
13093 * gdb.disasm/t10_and.exp
13094 * gdb.disasm/t11_logs.exp
13095 * gdb.disasm/t12_bit.exp
13096 * gdb.disasm/t13_otr.exp
13097 * gdb.dlang/circular.exp
13098 * gdb.dwarf2/arr-stride.exp
13099 * gdb.dwarf2/arr-subrange.exp
13100 * gdb.dwarf2/atomic-type.exp
13101 * gdb.dwarf2/bad-regnum.exp
13102 * gdb.dwarf2/bitfield-parent-optimized-out.exp
13103 * gdb.dwarf2/callframecfa.exp
13104 * gdb.dwarf2/clztest.exp
13105 * gdb.dwarf2/corrupt.exp
13106 * gdb.dwarf2/data-loc.exp
13107 * gdb.dwarf2/dup-psym.exp
13108 * gdb.dwarf2/dw2-anon-mptr.exp
13109 * gdb.dwarf2/dw2-anonymous-func.exp
13110 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
13111 * gdb.dwarf2/dw2-bad-unresolved.exp
13112 * gdb.dwarf2/dw2-basic.exp
13113 * gdb.dwarf2/dw2-canonicalize-type.exp
13114 * gdb.dwarf2/dw2-case-insensitive.exp
13115 * gdb.dwarf2/dw2-common-block.exp
13116 * gdb.dwarf2/dw2-compdir-oldgcc.exp
13117 * gdb.dwarf2/dw2-compressed.exp
13118 * gdb.dwarf2/dw2-const.exp
13119 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
13120 * gdb.dwarf2/dw2-cu-size.exp
13121 * gdb.dwarf2/dw2-dup-frame.exp
13122 * gdb.dwarf2/dw2-entry-value.exp
13123 * gdb.dwarf2/dw2-icycle.exp
13124 * gdb.dwarf2/dw2-ifort-parameter.exp
13125 * gdb.dwarf2/dw2-inline-break.exp
13126 * gdb.dwarf2/dw2-inline-param.exp
13127 * gdb.dwarf2/dw2-intercu.exp
13128 * gdb.dwarf2/dw2-intermix.exp
13129 * gdb.dwarf2/dw2-lexical-block-bare.exp
13130 * gdb.dwarf2/dw2-linkage-name-trust.exp
13131 * gdb.dwarf2/dw2-minsym-in-cu.exp
13132 * gdb.dwarf2/dw2-noloc.exp
13133 * gdb.dwarf2/dw2-op-call.exp
13134 * gdb.dwarf2/dw2-op-out-param.exp
13135 * gdb.dwarf2/dw2-opt-structptr.exp
13136 * gdb.dwarf2/dw2-param-error.exp
13137 * gdb.dwarf2/dw2-producer.exp
13138 * gdb.dwarf2/dw2-ranges-base.exp
13139 * gdb.dwarf2/dw2-ref-missing-frame.exp
13140 * gdb.dwarf2/dw2-reg-undefined.exp
13141 * gdb.dwarf2/dw2-regno-invalid.exp
13142 * gdb.dwarf2/dw2-restore.exp
13143 * gdb.dwarf2/dw2-restrict.exp
13144 * gdb.dwarf2/dw2-single-line-discriminators.exp
13145 * gdb.dwarf2/dw2-strp.exp
13146 * gdb.dwarf2/dw2-undefined-ret-addr.exp
13147 * gdb.dwarf2/dw2-unresolved.exp
13148 * gdb.dwarf2/dw2-var-zero-addr.exp
13149 * gdb.dwarf2/dw4-sig-types.exp
13150 * gdb.dwarf2/dwz.exp
13151 * gdb.dwarf2/dynarr-ptr.exp
13152 * gdb.dwarf2/enum-type.exp
13153 * gdb.dwarf2/gdb-index.exp
13154 * gdb.dwarf2/implptr-64bit.exp
13155 * gdb.dwarf2/implptr-optimized-out.exp
13156 * gdb.dwarf2/implptr.exp
13157 * gdb.dwarf2/implref-array.exp
13158 * gdb.dwarf2/implref-const.exp
13159 * gdb.dwarf2/implref-global.exp
13160 * gdb.dwarf2/implref-struct.exp
13161 * gdb.dwarf2/mac-fileno.exp
13162 * gdb.dwarf2/main-subprogram.exp
13163 * gdb.dwarf2/member-ptr-forwardref.exp
13164 * gdb.dwarf2/method-ptr.exp
13165 * gdb.dwarf2/missing-sig-type.exp
13166 * gdb.dwarf2/nonvar-access.exp
13167 * gdb.dwarf2/opaque-type-lookup.exp
13168 * gdb.dwarf2/pieces-optimized-out.exp
13169 * gdb.dwarf2/pieces.exp
13170 * gdb.dwarf2/pr10770.exp
13171 * gdb.dwarf2/pr13961.exp
13172 * gdb.dwarf2/staticvirtual.exp
13173 * gdb.dwarf2/subrange.exp
13174 * gdb.dwarf2/symtab-producer.exp
13175 * gdb.dwarf2/trace-crash.exp
13176 * gdb.dwarf2/typeddwarf.exp
13177 * gdb.dwarf2/valop.exp
13178 * gdb.dwarf2/watch-notconst.exp
13179 * gdb.fortran/array-element.exp
13180 * gdb.fortran/charset.exp
13181 * gdb.fortran/common-block.exp
13182 * gdb.fortran/complex.exp
13183 * gdb.fortran/derived-type-function.exp
13184 * gdb.fortran/derived-type.exp
13185 * gdb.fortran/logical.exp
13186 * gdb.fortran/module.exp
13187 * gdb.fortran/multi-dim.exp
13188 * gdb.fortran/nested-funcs.exp
13189 * gdb.fortran/print-formatted.exp
13190 * gdb.fortran/subarray.exp
13191 * gdb.fortran/vla-alloc-assoc.exp
13192 * gdb.fortran/vla-datatypes.exp
13193 * gdb.fortran/vla-history.exp
13194 * gdb.fortran/vla-ptr-info.exp
13195 * gdb.fortran/vla-ptype-sub.exp
13196 * gdb.fortran/vla-ptype.exp
13197 * gdb.fortran/vla-sizeof.exp
13198 * gdb.fortran/vla-type.exp
13199 * gdb.fortran/vla-value-sub-arbitrary.exp
13200 * gdb.fortran/vla-value-sub-finish.exp
13201 * gdb.fortran/vla-value-sub.exp
13202 * gdb.fortran/vla-value.exp
13203 * gdb.fortran/whatis_type.exp
13205 * gdb.go/handcall.exp
13207 * gdb.go/integers.exp
13208 * gdb.go/methods.exp
13209 * gdb.go/package.exp
13210 * gdb.go/strings.exp
13212 * gdb.go/unsafe.exp
13213 * gdb.guile/scm-arch.exp
13214 * gdb.guile/scm-block.exp
13215 * gdb.guile/scm-breakpoint.exp
13216 * gdb.guile/scm-cmd.exp
13217 * gdb.guile/scm-disasm.exp
13218 * gdb.guile/scm-equal.exp
13219 * gdb.guile/scm-frame-args.exp
13220 * gdb.guile/scm-frame-inline.exp
13221 * gdb.guile/scm-frame.exp
13222 * gdb.guile/scm-iterator.exp
13223 * gdb.guile/scm-math.exp
13224 * gdb.guile/scm-objfile.exp
13225 * gdb.guile/scm-ports.exp
13226 * gdb.guile/scm-symbol.exp
13227 * gdb.guile/scm-symtab.exp
13228 * gdb.guile/scm-value-cc.exp
13229 * gdb.guile/types-module.exp
13230 * gdb.linespec/break-ask.exp
13231 * gdb.linespec/cpexplicit.exp
13232 * gdb.linespec/explicit.exp
13233 * gdb.linespec/keywords.exp
13234 * gdb.linespec/linespec.exp
13235 * gdb.linespec/ls-dollar.exp
13236 * gdb.linespec/ls-errs.exp
13237 * gdb.linespec/skip-two.exp
13238 * gdb.linespec/thread.exp
13239 * gdb.mi/mi-async.exp
13240 * gdb.mi/mi-basics.exp
13241 * gdb.mi/mi-break.exp
13242 * gdb.mi/mi-catch-load.exp
13243 * gdb.mi/mi-cli.exp
13244 * gdb.mi/mi-cmd-param-changed.exp
13245 * gdb.mi/mi-console.exp
13246 * gdb.mi/mi-detach.exp
13247 * gdb.mi/mi-disassemble.exp
13248 * gdb.mi/mi-eval.exp
13249 * gdb.mi/mi-file-transfer.exp
13250 * gdb.mi/mi-file.exp
13251 * gdb.mi/mi-fill-memory.exp
13252 * gdb.mi/mi-inheritance-syntax-error.exp
13253 * gdb.mi/mi-linespec-err-cp.exp
13254 * gdb.mi/mi-logging.exp
13255 * gdb.mi/mi-memory-changed.exp
13256 * gdb.mi/mi-read-memory.exp
13257 * gdb.mi/mi-record-changed.exp
13258 * gdb.mi/mi-reg-undefined.exp
13259 * gdb.mi/mi-regs.exp
13260 * gdb.mi/mi-return.exp
13261 * gdb.mi/mi-reverse.exp
13262 * gdb.mi/mi-simplerun.exp
13263 * gdb.mi/mi-solib.exp
13264 * gdb.mi/mi-stack.exp
13265 * gdb.mi/mi-stepi.exp
13266 * gdb.mi/mi-syn-frame.exp
13267 * gdb.mi/mi-until.exp
13268 * gdb.mi/mi-var-block.exp
13269 * gdb.mi/mi-var-child.exp
13270 * gdb.mi/mi-var-cmd.exp
13271 * gdb.mi/mi-var-cp.exp
13272 * gdb.mi/mi-var-display.exp
13273 * gdb.mi/mi-var-invalidate.exp
13274 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
13275 * gdb.mi/mi-vla-fortran.exp
13276 * gdb.mi/mi-watch.exp
13277 * gdb.mi/mi2-var-child.exp
13278 * gdb.mi/user-selected-context-sync.exp
13279 * gdb.modula2/unbounded-array.exp
13280 * gdb.multi/dummy-frame-restore.exp
13281 * gdb.multi/multi-arch-exec.exp
13282 * gdb.multi/multi-arch.exp
13283 * gdb.multi/tids.exp
13284 * gdb.multi/watchpoint-multi.exp
13285 * gdb.opencl/callfuncs.exp
13286 * gdb.opencl/convs_casts.exp
13287 * gdb.opencl/datatypes.exp
13288 * gdb.opencl/operators.exp
13289 * gdb.opencl/vec_comps.exp
13290 * gdb.opt/clobbered-registers-O2.exp
13291 * gdb.opt/inline-break.exp
13292 * gdb.opt/inline-bt.exp
13293 * gdb.opt/inline-cmds.exp
13294 * gdb.opt/inline-locals.exp
13295 * gdb.pascal/case-insensitive-symbols.exp
13296 * gdb.pascal/floats.exp
13297 * gdb.pascal/gdb11492.exp
13298 * gdb.python/lib-types.exp
13299 * gdb.python/py-arch.exp
13300 * gdb.python/py-as-string.exp
13301 * gdb.python/py-bad-printers.exp
13302 * gdb.python/py-block.exp
13303 * gdb.python/py-breakpoint-create-fail.exp
13304 * gdb.python/py-breakpoint.exp
13305 * gdb.python/py-caller-is.exp
13306 * gdb.python/py-cmd.exp
13307 * gdb.python/py-explore-cc.exp
13308 * gdb.python/py-explore.exp
13309 * gdb.python/py-finish-breakpoint.exp
13310 * gdb.python/py-finish-breakpoint2.exp
13311 * gdb.python/py-frame-args.exp
13312 * gdb.python/py-frame-inline.exp
13313 * gdb.python/py-frame.exp
13314 * gdb.python/py-framefilter-mi.exp
13315 * gdb.python/py-infthread.exp
13316 * gdb.python/py-lazy-string.exp
13317 * gdb.python/py-linetable.exp
13318 * gdb.python/py-mi-events.exp
13319 * gdb.python/py-mi-objfile.exp
13320 * gdb.python/py-mi.exp
13321 * gdb.python/py-objfile.exp
13322 * gdb.python/py-pp-integral.exp
13323 * gdb.python/py-pp-maint.exp
13324 * gdb.python/py-pp-re-notag.exp
13325 * gdb.python/py-pp-registration.exp
13326 * gdb.python/py-recurse-unwind.exp
13327 * gdb.python/py-strfns.exp
13328 * gdb.python/py-symbol.exp
13329 * gdb.python/py-symtab.exp
13330 * gdb.python/py-sync-interp.exp
13331 * gdb.python/py-typeprint.exp
13332 * gdb.python/py-unwind-maint.exp
13333 * gdb.python/py-unwind.exp
13334 * gdb.python/py-value-cc.exp
13335 * gdb.python/py-xmethods.exp
13336 * gdb.reverse/amd64-tailcall-reverse.exp
13337 * gdb.reverse/break-precsave.exp
13338 * gdb.reverse/break-reverse.exp
13339 * gdb.reverse/consecutive-precsave.exp
13340 * gdb.reverse/consecutive-reverse.exp
13341 * gdb.reverse/finish-precsave.exp
13342 * gdb.reverse/finish-reverse-bkpt.exp
13343 * gdb.reverse/finish-reverse.exp
13344 * gdb.reverse/fstatat-reverse.exp
13345 * gdb.reverse/getresuid-reverse.exp
13346 * gdb.reverse/i386-precsave.exp
13347 * gdb.reverse/i386-reverse.exp
13348 * gdb.reverse/i386-sse-reverse.exp
13349 * gdb.reverse/i387-env-reverse.exp
13350 * gdb.reverse/i387-stack-reverse.exp
13351 * gdb.reverse/insn-reverse.exp
13352 * gdb.reverse/machinestate-precsave.exp
13353 * gdb.reverse/machinestate.exp
13354 * gdb.reverse/next-reverse-bkpt-over-sr.exp
13355 * gdb.reverse/pipe-reverse.exp
13356 * gdb.reverse/readv-reverse.exp
13357 * gdb.reverse/recvmsg-reverse.exp
13358 * gdb.reverse/rerun-prec.exp
13359 * gdb.reverse/s390-mvcle.exp
13360 * gdb.reverse/step-precsave.exp
13361 * gdb.reverse/step-reverse.exp
13362 * gdb.reverse/time-reverse.exp
13363 * gdb.reverse/until-precsave.exp
13364 * gdb.reverse/until-reverse.exp
13365 * gdb.reverse/waitpid-reverse.exp
13366 * gdb.reverse/watch-precsave.exp
13367 * gdb.reverse/watch-reverse.exp
13368 * gdb.rust/generics.exp
13369 * gdb.rust/methods.exp
13370 * gdb.rust/modules.exp
13371 * gdb.rust/simple.exp
13372 * gdb.server/connect-with-no-symbol-file.exp
13373 * gdb.server/ext-attach.exp
13374 * gdb.server/ext-restart.exp
13375 * gdb.server/ext-wrapper.exp
13376 * gdb.server/file-transfer.exp
13377 * gdb.server/server-exec-info.exp
13378 * gdb.server/server-kill.exp
13379 * gdb.server/server-mon.exp
13380 * gdb.server/wrapper.exp
13381 * gdb.stabs/exclfwd.exp
13382 * gdb.stabs/gdb11479.exp
13383 * gdb.threads/clone-new-thread-event.exp
13384 * gdb.threads/corethreads.exp
13385 * gdb.threads/current-lwp-dead.exp
13386 * gdb.threads/dlopen-libpthread.exp
13387 * gdb.threads/gcore-thread.exp
13388 * gdb.threads/sigstep-threads.exp
13389 * gdb.threads/watchpoint-fork.exp
13390 * gdb.trace/actions-changed.exp
13391 * gdb.trace/backtrace.exp
13392 * gdb.trace/change-loc.exp
13393 * gdb.trace/circ.exp
13394 * gdb.trace/collection.exp
13395 * gdb.trace/disconnected-tracing.exp
13396 * gdb.trace/ftrace.exp
13397 * gdb.trace/mi-trace-frame-collected.exp
13398 * gdb.trace/mi-trace-unavailable.exp
13399 * gdb.trace/mi-traceframe-changed.exp
13400 * gdb.trace/mi-tsv-changed.exp
13401 * gdb.trace/no-attach-trace.exp
13402 * gdb.trace/passc-dyn.exp
13403 * gdb.trace/qtro.exp
13404 * gdb.trace/range-stepping.exp
13405 * gdb.trace/read-memory.exp
13406 * gdb.trace/save-trace.exp
13407 * gdb.trace/signal.exp
13408 * gdb.trace/status-stop.exp
13409 * gdb.trace/tfile.exp
13410 * gdb.trace/trace-break.exp
13411 * gdb.trace/trace-buffer-size.exp
13412 * gdb.trace/trace-condition.exp
13413 * gdb.trace/tracefile-pseudo-reg.exp
13414 * gdb.trace/tstatus.exp
13415 * gdb.trace/unavailable.exp
13416 * gdb.trace/while-dyn.exp
13417 * gdb.trace/while-stepping.exp
13419 2016-12-22 Doug Evans <xdje42@gmail.com>
13421 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
13424 2016-12-19 Yao Qi <yao.qi@linaro.org>
13426 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
13427 (test_with_self): Don't call do_steps_and_nexts, and remove
13428 code about stepping into xmalloc.
13430 2016-12-09 Yao Qi <yao.qi@linaro.org>
13432 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
13434 2016-12-09 Yao Qi <yao.qi@linaro.org>
13436 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
13438 2016-12-09 Pedro Alves <palves@redhat.com>
13440 * gdb.base/all-architectures-0.exp: New file.
13441 * gdb.base/all-architectures-1.exp: New file.
13442 * gdb.base/all-architectures-2.exp: New file.
13443 * gdb.base/all-architectures-3.exp: New file.
13444 * gdb.base/all-architectures-4.exp: New file.
13445 * gdb.base/all-architectures-5.exp: New file.
13446 * gdb.base/all-architectures-6.exp: New file.
13447 * gdb.base/all-architectures-7.exp: New file.
13448 * gdb.base/all-architectures.exp.in: New file.
13450 2016-12-09 Yao Qi <yao.qi@linaro.org>
13452 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
13454 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
13456 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
13458 Remove useless pattern-matching code.
13460 2016-12-02 Pedro Alves <palves@redhat.com>
13462 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
13464 (top level): Call it.
13466 2016-12-02 Pedro Alves <palves@redhat.com>
13468 * gdb.base/commands.exp (user_defined_command_args_stack_test):
13470 (top level): Call it.
13472 2016-12-02 Pedro Alves <palves@redhat.com>
13475 * gdb.base/commands.exp (user_defined_command_args_eval): New
13477 (top level): Call it.
13479 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
13481 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
13484 2016-12-02 Tom Tromey <tom@tromey.com>
13486 * gdb.dwarf2/main-subprogram.c: New file.
13487 * gdb.dwarf2/main-subprogram.exp: New file.
13489 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
13491 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
13492 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
13493 gdb_test_no_output for a couple of cases.
13494 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
13496 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
13498 Fix test names and standardize compilation error messages throughout
13499 the following files:
13501 * gdb.ada/start.exp
13502 * gdb.arch/alpha-step.exp
13503 * gdb.arch/e500-prologue.exp
13504 * gdb.arch/ftrace-insn-reloc.exp
13505 * gdb.arch/gdb1291.exp
13506 * gdb.arch/gdb1431.exp
13507 * gdb.arch/gdb1558.exp
13508 * gdb.arch/i386-dr3-watch.exp
13509 * gdb.arch/i386-sse-stack-align.exp
13510 * gdb.arch/ia64-breakpoint-shadow.exp
13511 * gdb.arch/pa-nullify.exp
13512 * gdb.arch/powerpc-aix-prologue.exp
13513 * gdb.arch/thumb-bx-pc.exp
13514 * gdb.base/annota1.exp
13515 * gdb.base/annota3.exp
13516 * gdb.base/arrayidx.exp
13517 * gdb.base/assign.exp
13518 * gdb.base/attach.exp
13519 * gdb.base/auxv.exp
13520 * gdb.base/bang.exp
13521 * gdb.base/bfp-test.exp
13522 * gdb.base/bigcore.exp
13523 * gdb.base/bitfields2.exp
13524 * gdb.base/break-fun-addr.exp
13525 * gdb.base/break-probes.exp
13526 * gdb.base/call-rt-st.exp
13527 * gdb.base/callexit.exp
13528 * gdb.base/catch-fork-kill.exp
13529 * gdb.base/charset.exp
13530 * gdb.base/checkpoint.exp
13531 * gdb.base/comprdebug.exp
13532 * gdb.base/constvars.exp
13533 * gdb.base/coredump-filter.exp
13534 * gdb.base/cursal.exp
13535 * gdb.base/cvexpr.exp
13536 * gdb.base/detach.exp
13537 * gdb.base/display.exp
13538 * gdb.base/dmsym.exp
13539 * gdb.base/dprintf-pending.exp
13540 * gdb.base/dso2dso.exp
13541 * gdb.base/dtrace-probe.exp
13542 * gdb.base/dump.exp
13543 * gdb.base/enum_cond.exp
13544 * gdb.base/exe-lock.exp
13545 * gdb.base/exec-invalid-sysroot.exp
13546 * gdb.base/execl-update-breakpoints.exp
13547 * gdb.base/exprs.exp
13548 * gdb.base/fileio.exp
13549 * gdb.base/find.exp
13550 * gdb.base/finish.exp
13551 * gdb.base/fixsection.exp
13552 * gdb.base/foll-vfork.exp
13553 * gdb.base/frame-args.exp
13554 * gdb.base/gcore.exp
13555 * gdb.base/gdb1250.exp
13556 * gdb.base/global-var-nested-by-dso.exp
13557 * gdb.base/gnu-ifunc.exp
13558 * gdb.base/hashline1.exp
13559 * gdb.base/hashline2.exp
13560 * gdb.base/hashline3.exp
13561 * gdb.base/hbreak-in-shr-unsupported.exp
13562 * gdb.base/huge.exp
13563 * gdb.base/infcall-input.exp
13564 * gdb.base/info-fun.exp
13565 * gdb.base/info-shared.exp
13566 * gdb.base/jit-simple.exp
13567 * gdb.base/jit-so.exp
13569 * gdb.base/jump.exp
13570 * gdb.base/label.exp
13571 * gdb.base/lineinc.exp
13572 * gdb.base/logical.exp
13573 * gdb.base/longjmp.exp
13574 * gdb.base/macscp.exp
13575 * gdb.base/miscexprs.exp
13576 * gdb.base/new-ui-echo.exp
13577 * gdb.base/new-ui-pending-input.exp
13578 * gdb.base/new-ui.exp
13579 * gdb.base/nodebug.exp
13580 * gdb.base/nofield.exp
13581 * gdb.base/offsets.exp
13582 * gdb.base/overlays.exp
13583 * gdb.base/pending.exp
13584 * gdb.base/pointers.exp
13585 * gdb.base/pr11022.exp
13586 * gdb.base/printcmds.exp
13587 * gdb.base/prologue.exp
13588 * gdb.base/ptr-typedef.exp
13589 * gdb.base/realname-expand.exp
13590 * gdb.base/relativedebug.exp
13591 * gdb.base/relocate.exp
13592 * gdb.base/remote.exp
13593 * gdb.base/reread.exp
13594 * gdb.base/return2.exp
13595 * gdb.base/savedregs.exp
13597 * gdb.base/sepdebug.exp
13598 * gdb.base/sepsymtab.exp
13599 * gdb.base/set-inferior-tty.exp
13600 * gdb.base/setshow.exp
13601 * gdb.base/shlib-call.exp
13602 * gdb.base/sigaltstack.exp
13603 * gdb.base/siginfo-addr.exp
13604 * gdb.base/signals.exp
13605 * gdb.base/signull.exp
13606 * gdb.base/sigrepeat.exp
13607 * gdb.base/so-impl-ld.exp
13608 * gdb.base/solib-display.exp
13609 * gdb.base/solib-overlap.exp
13610 * gdb.base/solib-search.exp
13611 * gdb.base/solib-symbol.exp
13612 * gdb.base/structs.exp
13613 * gdb.base/structs2.exp
13614 * gdb.base/symtab-search-order.exp
13615 * gdb.base/twice.exp
13616 * gdb.base/unload.exp
13617 * gdb.base/varargs.exp
13618 * gdb.base/watchpoint-solib.exp
13619 * gdb.base/watchpoint.exp
13620 * gdb.base/whatis.exp
13621 * gdb.base/wrong_frame_bt_full.exp
13622 * gdb.btrace/dlopen.exp
13623 * gdb.cell/ea-standalone.exp
13624 * gdb.cell/ea-test.exp
13625 * gdb.cp/dispcxx.exp
13626 * gdb.cp/gdb2384.exp
13627 * gdb.cp/method2.exp
13628 * gdb.cp/nextoverthrow.exp
13629 * gdb.cp/pr10728.exp
13630 * gdb.disasm/am33.exp
13631 * gdb.disasm/h8300s.exp
13632 * gdb.disasm/mn10300.exp
13633 * gdb.disasm/sh3.exp
13634 * gdb.dwarf2/dw2-dir-file-name.exp
13635 * gdb.fortran/complex.exp
13636 * gdb.fortran/library-module.exp
13637 * gdb.guile/scm-pretty-print.exp
13638 * gdb.guile/scm-symbol.exp
13639 * gdb.guile/scm-type.exp
13640 * gdb.guile/scm-value.exp
13641 * gdb.linespec/linespec.exp
13642 * gdb.mi/gdb701.exp
13643 * gdb.mi/gdb792.exp
13644 * gdb.mi/mi-breakpoint-changed.exp
13645 * gdb.mi/mi-dprintf-pending.exp
13646 * gdb.mi/mi-dprintf.exp
13647 * gdb.mi/mi-exit-code.exp
13648 * gdb.mi/mi-pending.exp
13649 * gdb.mi/mi-solib.exp
13650 * gdb.mi/new-ui-mi-sync.exp
13651 * gdb.mi/pr11022.exp
13652 * gdb.mi/user-selected-context-sync.exp
13653 * gdb.opt/solib-intra-step.exp
13654 * gdb.python/py-events.exp
13655 * gdb.python/py-finish-breakpoint.exp
13656 * gdb.python/py-mi.exp
13657 * gdb.python/py-prettyprint.exp
13658 * gdb.python/py-shared.exp
13659 * gdb.python/py-symbol.exp
13660 * gdb.python/py-template.exp
13661 * gdb.python/py-type.exp
13662 * gdb.python/py-value.exp
13663 * gdb.reverse/solib-precsave.exp
13664 * gdb.reverse/solib-reverse.exp
13665 * gdb.server/solib-list.exp
13666 * gdb.stabs/weird.exp
13667 * gdb.threads/reconnect-signal.exp
13668 * gdb.threads/stepi-random-signal.exp
13669 * gdb.trace/actions.exp
13671 * gdb.trace/backtrace.exp
13672 * gdb.trace/change-loc.exp
13673 * gdb.trace/deltrace.exp
13674 * gdb.trace/ftrace-lock.exp
13675 * gdb.trace/ftrace.exp
13676 * gdb.trace/infotrace.exp
13677 * gdb.trace/mi-tracepoint-changed.exp
13678 * gdb.trace/packetlen.exp
13679 * gdb.trace/passcount.exp
13680 * gdb.trace/pending.exp
13681 * gdb.trace/range-stepping.exp
13682 * gdb.trace/report.exp
13683 * gdb.trace/stap-trace.exp
13684 * gdb.trace/tfind.exp
13685 * gdb.trace/trace-break.exp
13686 * gdb.trace/trace-condition.exp
13687 * gdb.trace/trace-enable-disable.exp
13688 * gdb.trace/trace-mt.exp
13689 * gdb.trace/tracecmd.exp
13690 * gdb.trace/tspeed.exp
13691 * gdb.trace/tsv.exp
13694 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
13696 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
13697 with gdb_test_no_output.
13698 Use command as test name.
13700 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
13702 Fix test names starting with uppercase throughout the files.
13704 * gdb.ada/assign_1.exp
13705 * gdb.ada/boolean_expr.exp
13706 * gdb.base/arrayidx.exp
13708 * gdb.base/gcore-buffer-overflow.exp
13709 * gdb.base/testenv.exp
13710 * gdb.compile/compile.exp
13711 * gdb.python/py-framefilter-invalidarg.exp
13712 * gdb.python/py-framefilter.exp
13714 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
13716 Fix test names starting with uppercase throughout the files.
13718 * gdb.ada/array_return.exp
13719 * gdb.ada/expr_delims.exp
13720 * gdb.ada/mi_dyn_arr.exp
13721 * gdb.ada/mi_interface.exp
13722 * gdb.ada/mi_var_array.exp
13723 * gdb.ada/watch_arg.exp
13724 * gdb.arch/alpha-step.exp
13725 * gdb.arch/altivec-regs.exp
13726 * gdb.arch/e500-regs.exp
13727 * gdb.arch/powerpc-d128-regs.exp
13728 * gdb.base/arrayidx.exp
13729 * gdb.base/break.exp
13730 * gdb.base/checkpoint.exp
13731 * gdb.base/debug-expr.exp
13732 * gdb.base/dmsym.exp
13733 * gdb.base/radix.exp
13734 * gdb.base/sepdebug.exp
13735 * gdb.base/testenv.exp
13736 * gdb.base/watch_thread_num.exp
13737 * gdb.base/watchpoint-cond-gone.exp
13738 * gdb.cell/break.exp
13739 * gdb.cell/ea-cache.exp
13740 * gdb.compile/compile.exp
13741 * gdb.cp/gdb2495.exp
13742 * gdb.gdb/selftest.exp
13743 * gdb.gdb/xfullpath.exp
13745 * gdb.go/integers.exp
13746 * gdb.objc/basicclass.exp
13747 * gdb.pascal/hello.exp
13748 * gdb.pascal/integers.exp
13749 * gdb.python/py-breakpoint.exp
13750 * gdb.python/py-cmd.exp
13751 * gdb.python/py-linetable.exp
13752 * gdb.python/py-xmethods.exp
13753 * gdb.python/python.exp
13754 * gdb.reverse/consecutive-precsave.exp
13755 * gdb.reverse/finish-precsave.exp
13756 * gdb.reverse/i386-precsave.exp
13757 * gdb.reverse/machinestate-precsave.exp
13758 * gdb.reverse/sigall-precsave.exp
13759 * gdb.reverse/solib-precsave.exp
13760 * gdb.reverse/step-precsave.exp
13761 * gdb.reverse/until-precsave.exp
13762 * gdb.reverse/watch-precsave.exp
13763 * gdb.threads/leader-exit.exp
13764 * gdb.threads/pthreads.exp
13765 * gdb.threads/wp-replication.exp
13766 * gdb.trace/actions.exp
13767 * gdb.trace/mi-tsv-changed.exp
13768 * gdb.trace/tsv.exp
13770 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
13772 Fix test names starting with uppercase throughout the files.
13774 * gdb.arch/i386-bp_permanent.exp
13775 * gdb.arch/i386-gnu-cfi.exp
13776 * gdb.base/disasm-end-cu.exp
13777 * gdb.base/macscp.exp
13778 * gdb.base/pending.exp
13779 * gdb.base/watch_thread_num.exp
13780 * gdb.cp/exception.exp
13781 * gdb.cp/gdb2495.exp
13783 * gdb.python/py-evsignal.exp
13784 * gdb.python/python.exp
13785 * gdb.trace/tracecmd.exp
13787 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
13789 Fix test names starting with uppercase throughout the files.
13791 * gdb.base/charset.exp
13792 * gdb.base/eval.exp
13793 * gdb.base/multi-forks.exp
13794 * gdb.guile/scm-progspace.exp
13795 * gdb.opencl/datatypes.exp
13796 * gdb.python/py-block.exp
13797 * gdb.python/py-function.exp
13798 * gdb.python/py-symbol.exp
13799 * gdb.python/py-symtab.exp
13800 * gdb.python/py-xmethods.exp
13801 * gdb.reverse/break-precsave.exp
13802 * gdb.reverse/break-reverse.exp
13803 * gdb.reverse/consecutive-precsave.exp
13804 * gdb.reverse/consecutive-reverse.exp
13805 * gdb.reverse/finish-precsave.exp
13806 * gdb.reverse/finish-reverse-bkpt.exp
13807 * gdb.reverse/finish-reverse.exp
13808 * gdb.reverse/fstatat-reverse.exp
13809 * gdb.reverse/getresuid-reverse.exp
13810 * gdb.reverse/i386-precsave.exp
13811 * gdb.reverse/i386-reverse.exp
13812 * gdb.reverse/i386-sse-reverse.exp
13813 * gdb.reverse/i387-stack-reverse.exp
13814 * gdb.reverse/insn-reverse.exp
13815 * gdb.reverse/machinestate-precsave.exp
13816 * gdb.reverse/machinestate.exp
13817 * gdb.reverse/next-reverse-bkpt-over-sr.exp
13818 * gdb.reverse/pipe-reverse.exp
13819 * gdb.reverse/readv-reverse.exp
13820 * gdb.reverse/recvmsg-reverse.exp
13821 * gdb.reverse/rerun-prec.exp
13822 * gdb.reverse/s390-mvcle.exp
13823 * gdb.reverse/sigall-precsave.exp
13824 * gdb.reverse/sigall-reverse.exp
13825 * gdb.reverse/solib-precsave.exp
13826 * gdb.reverse/solib-reverse.exp
13827 * gdb.reverse/step-precsave.exp
13828 * gdb.reverse/step-reverse.exp
13829 * gdb.reverse/time-reverse.exp
13830 * gdb.reverse/until-precsave.exp
13831 * gdb.reverse/until-reverse.exp
13832 * gdb.reverse/waitpid-reverse.exp
13833 * gdb.reverse/watch-precsave.exp
13834 * gdb.reverse/watch-reverse.exp
13836 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
13838 Fix test names starting with uppercase throughout the files.
13840 * gdb.arch/i386-mpx-simple_segv.exp
13841 * gdb.arch/i386-mpx.exp
13842 * gdb.arch/i386-permbkpt.exp
13843 * gdb.arch/pa-nullify.exp
13844 * gdb.arch/powerpc-d128-regs.exp
13845 * gdb.arch/vsx-regs.exp
13846 * gdb.base/bfp-test.exp
13847 * gdb.base/break.exp
13848 * gdb.base/breakpoint-shadow.exp
13849 * gdb.base/callfuncs.exp
13850 * gdb.base/charset.exp
13851 * gdb.base/commands.exp
13852 * gdb.base/completion.exp
13853 * gdb.base/dfp-test.exp
13854 * gdb.base/echo.exp
13855 * gdb.base/ending-run.exp
13856 * gdb.base/eval.exp
13857 * gdb.base/expand-psymtabs.exp
13858 * gdb.base/float128.exp
13859 * gdb.base/floatn.exp
13860 * gdb.base/foll-exec-mode.exp
13861 * gdb.base/gdb1056.exp
13862 * gdb.base/gdb11531.exp
13863 * gdb.base/kill-after-signal.exp
13864 * gdb.base/multi-forks.exp
13865 * gdb.base/overlays.exp
13866 * gdb.base/pending.exp
13867 * gdb.base/sepdebug.exp
13868 * gdb.base/testenv.exp
13869 * gdb.base/valgrind-db-attach.exp
13870 * gdb.base/watch_thread_num.exp
13871 * gdb.base/watchpoint-cond-gone.exp
13872 * gdb.base/watchpoint.exp
13873 * gdb.base/watchpoints.exp
13874 * gdb.cp/arg-reference.exp
13875 * gdb.cp/baseenum.exp
13876 * gdb.cp/operator.exp
13877 * gdb.cp/shadow.exp
13878 * gdb.dwarf2/dw2-op-out-param.exp
13879 * gdb.dwarf2/dw2-reg-undefined.exp
13882 * gdb.go/integers.exp
13883 * gdb.go/methods.exp
13884 * gdb.go/package.exp
13885 * gdb.guile/scm-parameter.exp
13886 * gdb.guile/scm-progspace.exp
13887 * gdb.guile/scm-value.exp
13888 * gdb.mi/mi-pending.exp
13889 * gdb.mi/user-selected-context-sync.exp
13890 * gdb.multi/multi-attach.exp
13891 * gdb.multi/tids.exp
13892 * gdb.opt/clobbered-registers-O2.exp
13893 * gdb.pascal/floats.exp
13894 * gdb.pascal/integers.exp
13895 * gdb.python/py-block.exp
13896 * gdb.python/py-events.exp
13897 * gdb.python/py-parameter.exp
13898 * gdb.python/py-symbol.exp
13899 * gdb.python/py-symtab.exp
13900 * gdb.python/py-type.exp
13901 * gdb.python/py-value.exp
13902 * gdb.python/py-xmethods.exp
13903 * gdb.python/python.exp
13904 * gdb.reverse/break-precsave.exp
13905 * gdb.reverse/consecutive-precsave.exp
13906 * gdb.reverse/finish-precsave.exp
13907 * gdb.reverse/i386-precsave.exp
13908 * gdb.reverse/machinestate-precsave.exp
13909 * gdb.reverse/sigall-precsave.exp
13910 * gdb.reverse/solib-precsave.exp
13911 * gdb.reverse/step-precsave.exp
13912 * gdb.reverse/until-precsave.exp
13913 * gdb.reverse/watch-precsave.exp
13914 * gdb.server/ext-attach.exp
13915 * gdb.server/ext-restart.exp
13916 * gdb.server/ext-run.exp
13917 * gdb.server/ext-wrapper.exp
13918 * gdb.stabs/gdb11479.exp
13919 * gdb.stabs/weird.exp
13920 * gdb.threads/attach-many-short-lived-threads.exp
13921 * gdb.threads/kill.exp
13922 * gdb.threads/watchpoint-fork.exp
13924 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
13926 Fix test names starting with uppercase throughout all the files below.
13928 * gdb.ada/array_return.exp
13929 * gdb.ada/catch_ex.exp
13930 * gdb.ada/info_exc.exp
13931 * gdb.ada/mi_catch_ex.exp
13932 * gdb.ada/mi_dyn_arr.exp
13933 * gdb.ada/mi_ex_cond.exp
13934 * gdb.ada/mi_exc_info.exp
13935 * gdb.ada/mi_interface.exp
13936 * gdb.ada/mi_task_arg.exp
13937 * gdb.ada/mi_task_info.exp
13938 * gdb.ada/mi_var_array.exp
13939 * gdb.arch/alpha-step.exp
13940 * gdb.arch/amd64-disp-step.exp
13941 * gdb.arch/arm-disp-step.exp
13942 * gdb.arch/disp-step-insn-reloc.exp
13943 * gdb.arch/e500-prologue.exp
13944 * gdb.arch/ftrace-insn-reloc.exp
13945 * gdb.arch/gdb1558.exp
13946 * gdb.arch/i386-bp_permanent.exp
13947 * gdb.arch/i386-disp-step.exp
13948 * gdb.arch/i386-float.exp
13949 * gdb.arch/i386-gnu-cfi.exp
13950 * gdb.arch/ia64-breakpoint-shadow.exp
13951 * gdb.arch/mips16-thunks.exp
13952 * gdb.arch/pa-nullify.exp
13953 * gdb.arch/powerpc-aix-prologue.exp
13954 * gdb.arch/powerpc-power.exp
13955 * gdb.arch/ppc-dfp.exp
13956 * gdb.arch/s390-tdbregs.exp
13957 * gdb.arch/spu-info.exp
13958 * gdb.arch/spu-ls.exp
13959 * gdb.arch/thumb-bx-pc.exp
13960 * gdb.base/advance.exp
13961 * gdb.base/annota-input-while-running.exp
13962 * gdb.base/arrayidx.exp
13963 * gdb.base/asmlabel.exp
13964 * gdb.base/async.exp
13965 * gdb.base/attach-wait-input.exp
13966 * gdb.base/auto-connect-native-target.exp
13967 * gdb.base/batch-preserve-term-settings.exp
13968 * gdb.base/bfp-test.exp
13969 * gdb.base/bigcore.exp
13970 * gdb.base/bp-permanent.exp
13971 * gdb.base/break-always.exp
13972 * gdb.base/break-fun-addr.exp
13973 * gdb.base/break-idempotent.exp
13974 * gdb.base/break-main-file-remove-fail.exp
13975 * gdb.base/break-probes.exp
13976 * gdb.base/break-unload-file.exp
13977 * gdb.base/break.exp
13978 * gdb.base/call-ar-st.exp
13979 * gdb.base/call-rt-st.exp
13980 * gdb.base/call-sc.exp
13981 * gdb.base/call-signal-resume.exp
13982 * gdb.base/call-strs.exp
13983 * gdb.base/callexit.exp
13984 * gdb.base/callfuncs.exp
13985 * gdb.base/catch-gdb-caused-signals.exp
13986 * gdb.base/catch-signal-siginfo-cond.exp
13987 * gdb.base/catch-syscall.exp
13988 * gdb.base/compare-sections.exp
13989 * gdb.base/cond-eval-mode.exp
13990 * gdb.base/condbreak-call-false.exp
13991 * gdb.base/consecutive-step-over.exp
13992 * gdb.base/cursal.exp
13993 * gdb.base/disabled-location.exp
13994 * gdb.base/disasm-end-cu.exp
13995 * gdb.base/display.exp
13996 * gdb.base/double-prompt-target-event-error.exp
13997 * gdb.base/dprintf-bp-same-addr.exp
13998 * gdb.base/dprintf-detach.exp
13999 * gdb.base/dprintf-next.exp
14000 * gdb.base/dprintf-non-stop.exp
14001 * gdb.base/dprintf-pending.exp
14002 * gdb.base/dso2dso.exp
14003 * gdb.base/ending-run.exp
14004 * gdb.base/enum_cond.exp
14005 * gdb.base/examine-backward.exp
14006 * gdb.base/exe-lock.exp
14007 * gdb.base/exec-invalid-sysroot.exp
14008 * gdb.base/execl-update-breakpoints.exp
14009 * gdb.base/execution-termios.exp
14010 * gdb.base/fileio.exp
14011 * gdb.base/fixsection.exp
14012 * gdb.base/foll-exec-mode.exp
14013 * gdb.base/foll-exec.exp
14014 * gdb.base/fork-running-state.exp
14015 * gdb.base/frame-args.exp
14016 * gdb.base/fullpath-expand.exp
14017 * gdb.base/func-ptr.exp
14018 * gdb.base/gcore-relro-pie.exp
14019 * gdb.base/gdb1090.exp
14020 * gdb.base/gdb1555.exp
14021 * gdb.base/global-var-nested-by-dso.exp
14022 * gdb.base/gnu-ifunc.exp
14023 * gdb.base/hbreak-in-shr-unsupported.exp
14024 * gdb.base/hbreak-unmapped.exp
14025 * gdb.base/hook-stop.exp
14026 * gdb.base/infcall-input.exp
14027 * gdb.base/info-fun.exp
14028 * gdb.base/info-shared.exp
14029 * gdb.base/interrupt-noterm.exp
14030 * gdb.base/jit-so.exp
14032 * gdb.base/line-symtabs.exp
14033 * gdb.base/list.exp
14034 * gdb.base/longjmp.exp
14035 * gdb.base/macscp.exp
14036 * gdb.base/max-value-size.exp
14037 * gdb.base/nodebug.exp
14038 * gdb.base/nofield.exp
14039 * gdb.base/overlays.exp
14040 * gdb.base/paginate-after-ctrl-c-running.exp
14041 * gdb.base/paginate-bg-execution.exp
14042 * gdb.base/paginate-inferior-exit.exp
14043 * gdb.base/pending.exp
14044 * gdb.base/pr11022.exp
14045 * gdb.base/printcmds.exp
14046 * gdb.base/ptr-typedef.exp
14047 * gdb.base/ptype.exp
14048 * gdb.base/randomize.exp
14049 * gdb.base/range-stepping.exp
14050 * gdb.base/realname-expand.exp
14051 * gdb.base/relativedebug.exp
14052 * gdb.base/remote.exp
14053 * gdb.base/savedregs.exp
14054 * gdb.base/sepdebug.exp
14055 * gdb.base/set-noassign.exp
14056 * gdb.base/shlib-call.exp
14057 * gdb.base/shreloc.exp
14058 * gdb.base/sigaltstack.exp
14059 * gdb.base/sigbpt.exp
14060 * gdb.base/siginfo-addr.exp
14061 * gdb.base/siginfo-obj.exp
14062 * gdb.base/siginfo-thread.exp
14063 * gdb.base/signest.exp
14064 * gdb.base/signull.exp
14065 * gdb.base/sigrepeat.exp
14066 * gdb.base/skip.exp
14067 * gdb.base/so-impl-ld.exp
14068 * gdb.base/solib-corrupted.exp
14069 * gdb.base/solib-disc.exp
14070 * gdb.base/solib-display.exp
14071 * gdb.base/solib-overlap.exp
14072 * gdb.base/solib-search.exp
14073 * gdb.base/solib-symbol.exp
14074 * gdb.base/source-execution.exp
14075 * gdb.base/sss-bp-on-user-bp-2.exp
14076 * gdb.base/sss-bp-on-user-bp.exp
14077 * gdb.base/stack-checking.exp
14078 * gdb.base/stale-infcall.exp
14079 * gdb.base/step-break.exp
14080 * gdb.base/step-line.exp
14081 * gdb.base/step-over-exit.exp
14082 * gdb.base/step-test.exp
14083 * gdb.base/structs.exp
14084 * gdb.base/sym-file.exp
14085 * gdb.base/symtab-search-order.exp
14086 * gdb.base/term.exp
14087 * gdb.base/type-opaque.exp
14088 * gdb.base/unload.exp
14089 * gdb.base/until-nodebug.exp
14090 * gdb.base/until.exp
14091 * gdb.base/unwindonsignal.exp
14092 * gdb.base/watch-cond.exp
14093 * gdb.base/watch-non-mem.exp
14094 * gdb.base/watch_thread_num.exp
14095 * gdb.base/watchpoint-reuse-slot.exp
14096 * gdb.base/watchpoint-solib.exp
14097 * gdb.base/watchpoint.exp
14098 * gdb.btrace/dlopen.exp
14099 * gdb.cell/arch.exp
14100 * gdb.cell/break.exp
14102 * gdb.cell/core.exp
14103 * gdb.cell/data.exp
14104 * gdb.cell/dwarfaddr.exp
14105 * gdb.cell/ea-cache.exp
14106 * gdb.cell/ea-standalone.exp
14107 * gdb.cell/ea-test.exp
14108 * gdb.cell/f-regs.exp
14109 * gdb.cell/fork.exp
14110 * gdb.cell/gcore.exp
14111 * gdb.cell/mem-access.exp
14112 * gdb.cell/ptype.exp
14113 * gdb.cell/registers.exp
14114 * gdb.cell/sizeof.exp
14115 * gdb.cell/solib-symbol.exp
14116 * gdb.cell/solib.exp
14117 * gdb.compile/compile-tls.exp
14118 * gdb.cp/exception.exp
14119 * gdb.cp/gdb2495.exp
14121 * gdb.cp/mb-inline.exp
14122 * gdb.cp/mb-templates.exp
14123 * gdb.cp/pr10687.exp
14124 * gdb.cp/pr9167.exp
14125 * gdb.cp/scope-err.exp
14126 * gdb.cp/templates.exp
14127 * gdb.cp/virtfunc.exp
14128 * gdb.dwarf2/dw2-dir-file-name.exp
14129 * gdb.dwarf2/dw2-single-line-discriminators.exp
14130 * gdb.fortran/complex.exp
14131 * gdb.fortran/library-module.exp
14132 * gdb.guile/guile.exp
14133 * gdb.guile/scm-cmd.exp
14134 * gdb.guile/scm-frame-inline.exp
14135 * gdb.guile/scm-objfile.exp
14136 * gdb.guile/scm-pretty-print.exp
14137 * gdb.guile/scm-symbol.exp
14138 * gdb.guile/scm-type.exp
14139 * gdb.guile/scm-value.exp
14140 * gdb.linespec/keywords.exp
14141 * gdb.linespec/ls-errs.exp
14142 * gdb.linespec/macro-relative.exp
14143 * gdb.linespec/thread.exp
14144 * gdb.mi/mi-breakpoint-changed.exp
14145 * gdb.mi/mi-dprintf-pending.exp
14146 * gdb.mi/mi-fullname-deleted.exp
14147 * gdb.mi/mi-logging.exp
14148 * gdb.mi/mi-pending.exp
14149 * gdb.mi/mi-solib.exp
14150 * gdb.mi/new-ui-mi-sync.exp
14151 * gdb.mi/user-selected-context-sync.exp
14152 * gdb.multi/dummy-frame-restore.exp
14153 * gdb.multi/multi-arch-exec.exp
14154 * gdb.multi/remove-inferiors.exp
14155 * gdb.multi/watchpoint-multi-exit.exp
14156 * gdb.opt/solib-intra-step.exp
14157 * gdb.perf/backtrace.exp
14158 * gdb.perf/single-step.exp
14159 * gdb.perf/skip-command.exp
14160 * gdb.perf/skip-prologue.exp
14161 * gdb.perf/solib.exp
14162 * gdb.python/lib-types.exp
14163 * gdb.python/py-as-string.exp
14164 * gdb.python/py-bad-printers.exp
14165 * gdb.python/py-block.exp
14166 * gdb.python/py-breakpoint.exp
14167 * gdb.python/py-cmd.exp
14168 * gdb.python/py-events.exp
14169 * gdb.python/py-evthreads.exp
14170 * gdb.python/py-finish-breakpoint.exp
14171 * gdb.python/py-finish-breakpoint2.exp
14172 * gdb.python/py-frame-inline.exp
14173 * gdb.python/py-frame.exp
14174 * gdb.python/py-inferior.exp
14175 * gdb.python/py-infthread.exp
14176 * gdb.python/py-mi.exp
14177 * gdb.python/py-objfile.exp
14178 * gdb.python/py-pp-maint.exp
14179 * gdb.python/py-pp-registration.exp
14180 * gdb.python/py-prettyprint.exp
14181 * gdb.python/py-recurse-unwind.exp
14182 * gdb.python/py-shared.exp
14183 * gdb.python/py-symbol.exp
14184 * gdb.python/py-symtab.exp
14185 * gdb.python/py-template.exp
14186 * gdb.python/py-type.exp
14187 * gdb.python/py-unwind-maint.exp
14188 * gdb.python/py-unwind.exp
14189 * gdb.python/py-value.exp
14190 * gdb.python/python.exp
14191 * gdb.reverse/finish-reverse-bkpt.exp
14192 * gdb.reverse/insn-reverse.exp
14193 * gdb.reverse/next-reverse-bkpt-over-sr.exp
14194 * gdb.reverse/solib-precsave.exp
14195 * gdb.reverse/solib-reverse.exp
14196 * gdb.stabs/gdb11479.exp
14197 * gdb.stabs/weird.exp
14198 * gdb.threads/fork-child-threads.exp
14199 * gdb.threads/fork-plus-threads.exp
14200 * gdb.threads/fork-thread-pending.exp
14201 * gdb.threads/forking-threads-plus-breakpoint.exp
14202 * gdb.threads/hand-call-in-threads.exp
14203 * gdb.threads/interrupted-hand-call.exp
14204 * gdb.threads/linux-dp.exp
14205 * gdb.threads/local-watch-wrong-thread.exp
14206 * gdb.threads/next-while-other-thread-longjmps.exp
14207 * gdb.threads/non-ldr-exit.exp
14208 * gdb.threads/pending-step.exp
14209 * gdb.threads/print-threads.exp
14210 * gdb.threads/process-dies-while-detaching.exp
14211 * gdb.threads/process-dies-while-handling-bp.exp
14212 * gdb.threads/pthreads.exp
14213 * gdb.threads/queue-signal.exp
14214 * gdb.threads/reconnect-signal.exp
14215 * gdb.threads/signal-command-handle-nopass.exp
14216 * gdb.threads/signal-command-multiple-signals-pending.exp
14217 * gdb.threads/signal-delivered-right-thread.exp
14218 * gdb.threads/signal-sigtrap.exp
14219 * gdb.threads/sigthread.exp
14220 * gdb.threads/staticthreads.exp
14221 * gdb.threads/stepi-random-signal.exp
14222 * gdb.threads/thread-unwindonsignal.exp
14223 * gdb.threads/thread_check.exp
14224 * gdb.threads/thread_events.exp
14225 * gdb.threads/tid-reuse.exp
14226 * gdb.threads/tls-nodebug.exp
14227 * gdb.threads/tls-shared.exp
14228 * gdb.threads/tls-so_extern.exp
14229 * gdb.threads/tls.exp
14230 * gdb.threads/wp-replication.exp
14231 * gdb.trace/actions-changed.exp
14232 * gdb.trace/actions.exp
14233 * gdb.trace/backtrace.exp
14234 * gdb.trace/change-loc.exp
14235 * gdb.trace/collection.exp
14236 * gdb.trace/deltrace.exp
14237 * gdb.trace/disconnected-tracing.exp
14238 * gdb.trace/entry-values.exp
14239 * gdb.trace/ftrace-lock.exp
14240 * gdb.trace/ftrace.exp
14241 * gdb.trace/infotrace.exp
14242 * gdb.trace/mi-trace-frame-collected.exp
14243 * gdb.trace/mi-trace-unavailable.exp
14244 * gdb.trace/mi-traceframe-changed.exp
14245 * gdb.trace/mi-tracepoint-changed.exp
14246 * gdb.trace/mi-tsv-changed.exp
14247 * gdb.trace/no-attach-trace.exp
14248 * gdb.trace/packetlen.exp
14249 * gdb.trace/passc-dyn.exp
14250 * gdb.trace/passcount.exp
14251 * gdb.trace/pending.exp
14252 * gdb.trace/pr16508.exp
14253 * gdb.trace/qtro.exp
14254 * gdb.trace/range-stepping.exp
14255 * gdb.trace/read-memory.exp
14256 * gdb.trace/report.exp
14257 * gdb.trace/save-trace.exp
14258 * gdb.trace/signal.exp
14259 * gdb.trace/stap-trace.exp
14260 * gdb.trace/status-stop.exp
14261 * gdb.trace/strace.exp
14262 * gdb.trace/tfile.exp
14263 * gdb.trace/tfind.exp
14264 * gdb.trace/trace-break.exp
14265 * gdb.trace/trace-condition.exp
14266 * gdb.trace/trace-enable-disable.exp
14267 * gdb.trace/trace-mt.exp
14268 * gdb.trace/tracecmd.exp
14269 * gdb.trace/tracefile-pseudo-reg.exp
14270 * gdb.trace/tspeed.exp
14271 * gdb.trace/tstatus.exp
14272 * gdb.trace/tsv.exp
14273 * gdb.trace/unavailable.exp
14274 * gdb.trace/while-dyn.exp
14275 * gdb.trace/while-stepping.exp
14276 * lib/gdb-guile.exp
14278 * lib/mi-support.exp
14281 * lib/prelink-support.exp
14282 * lib/selftest-support.exp
14284 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
14286 * Makefile.in: Include disable-implicit-rules.mk.
14288 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14290 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
14291 non-byte-aligned bit fields.
14293 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14296 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
14297 respects the DW_AT_data_bit_offset attribute.
14299 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
14301 * gdb.base/default.exp: Fix output of "set language".
14303 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
14305 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
14306 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
14308 * configure.ac: Remove checks for the make program.
14309 * configure: Re-generate.
14311 2016-11-16 Kevin Buettner <kevinb@redhat.com>
14313 * gdb.python/py-recurse-unwind.c (main): Add loop.
14314 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
14315 to read_register() and gdb.parse_and_eval(). Make each code
14316 call a separate case that can be individually tested.
14317 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
14318 proc. Call cont_and_backtrace for each of the code paths that
14319 we want to test in the unwinder.
14321 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
14323 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
14324 the definition of struct S.
14326 2016-11-11 Catherine Moore <clm@codesourcery.com>
14328 * gdb.base/dump.exp: Identify verilog format dump tests as such.
14330 2016-11-09 Pedro Alves <palves@redhat.com>
14332 * gdb.base/commands.exp (runto_or_return): New procedure.
14333 (gdbvar_simple_if_test, gdbvar_simple_while_test)
14334 (gdbvar_complex_if_while_test, progvar_simple_if_test)
14335 (progvar_simple_while_test, progvar_complex_if_while_test)
14336 (if_while_breakpoint_command_test)
14337 (infrun_breakpoint_command_test, breakpoint_command_test)
14338 (user_defined_command_test, watchpoint_command_test)
14339 (test_command_prompt_position, redefine_hook_test)
14340 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
14341 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
14342 multi_line_input and multi_line. Remove gdb_expect and
14343 gdb_stop_suppressing_tests uses.
14344 * lib/gdb.exp (valnum_re): New global.
14345 (multi_line_input): New procedure.
14347 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
14349 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
14351 (test_setup): Define with proc_with_prefix.
14352 (test_cli_inferior): Likewise.
14353 (test_cli_thread): Likewise.
14354 (test_cli_frame): Likewise.
14355 (test_cli_select_frame): Likewise.
14356 (test_cli_up_down): Likewise.
14357 (test_mi_thread_select): Likewise.
14358 (test_mi_stack_select_frame): Likewise.
14359 (test_cli_in_mi_inferior): Likewise.
14360 (test_cli_in_mi_thread): Likewise.
14361 (test_cli_in_mi_frame): Likewise.
14362 (top level): Do not use with_test_prefix_procname.
14364 2016-11-09 Pedro Alves <palves@redhat.com>
14366 * gdb.base/commands.exp (gdbvar_simple_if_test)
14367 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
14368 (progvar_simple_if_test, progvar_simple_while_test)
14369 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
14370 (infrun_breakpoint_command_test, breakpoint_command_test)
14371 (user_defined_command_test, watchpoint_command_test)
14372 (test_command_prompt_position, deprecated_command_test)
14373 (bp_deleted_in_command, temporary_breakpoint_commands)
14374 (stray_arg0_test, source_file_with_indented_comment)
14375 (recursive_source_test, if_commands_test)
14376 (error_clears_commands_left, redefine_hook_test)
14377 (redefine_backtrace_test): Use proc_with_prefix.
14378 * lib/gdb.exp (proc_with_prefix): New proc.
14380 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
14382 * gdb.base/tui-layout.c: New file.
14383 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
14384 disassembly window contains very long lines.
14386 2016-11-08 Tom Tromey <tom@tromey.com>
14388 * gdb.python/py-value.exp (test_value_creation): Make "long" test
14389 depend on Python 2.
14391 2016-11-08 Tom Tromey <tom@tromey.com>
14393 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
14396 2016-10-29 Manish Goregaokar <manish@mozilla.com>
14398 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
14400 2016-10-27 Manish Goregaokar <manish@mozilla.com>
14402 * gdb.rust/simple.rs: Add test for univariant enums without
14403 discriminants and for encoded struct-like enums.
14405 2016-10-28 Pedro Alves <palves@redhat.com>
14407 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
14408 gdb_test_multiple, tighten regexps and match symtabs and line
14409 tables incrementally.
14411 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
14413 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
14416 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
14418 * gdb.base/exec-invalid-sysroot.exp: New file.
14420 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14422 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
14424 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14426 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
14428 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
14430 * gdb.base/killed-outside.exp: Remove $options from a call to
14431 `prepare_for_testing'.
14433 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14435 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
14436 Change test message.
14438 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14440 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
14443 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
14445 * gdb.trace/mi-trace-save.exp: New file.
14447 2016-10-13 Yao Qi <yao.qi@linaro.org>
14449 * gdb.base/code_elim.exp (get_var_address): Remove.
14450 * gdb.base/relocate.exp: Likewise.
14451 * gdb.base/shreloc.exp: Likewise.
14452 * lib/gdb.exp (get_var_address): New.
14454 2016-10-13 Yao Qi <yao.qi@linaro.org>
14456 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
14457 floating point tests if $skip_float_test is false.
14459 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
14461 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
14462 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
14464 Add 1 to argc so we guarantee distinct initial/modified argc values.
14466 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14468 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
14470 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14472 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
14473 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
14474 * gdb.arch/vsx-regs.exp: Likewise.
14476 2016-10-07 Yao Qi <yao.qi@linaro.org>
14478 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
14480 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
14482 * gdb.python/python.exp: Test decode_line("*0").
14484 2016-10-06 Doug Evans <dje@google.com>
14486 * gdb.python/py-value.exp (test_value_creation): Add test for large
14487 unsigned 64-bit value.
14489 2016-10-06 Tom Tromey <tom@tromey.com>
14491 * gdb.compile/compile.exp: Change java tests to rust.
14492 * gdb.base/setshow.exp: Change java tests to rust.
14493 * gdb.base/default.exp: Remove java from language list.
14494 * README (Examples): Update language example.
14495 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
14497 * lib/gdb.exp (skip_java_tests): Remove.
14498 * lib/java.exp: Remove.
14499 * gdb.java: Remove.
14501 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
14503 * gdb.arch/mips-fcr.exp: New test.
14504 * gdb.arch/mips-fcr.c: Source for the new test.
14506 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
14508 * gdb.base/solib-disc.exp: Use `standard_output_file'
14511 2016-10-06 Pedro Alves <palves@redhat.com>
14513 * gdb.base/jit-simple-dl.c: New file.
14514 * gdb.base/jit-simple-jit.c: New file, factored out from ...
14515 * gdb.base/jit-simple.c: ... this.
14516 * gdb.base/jit-simple.exp (jit_run): Delete.
14517 (build_jit): New proc.
14518 (jit_test_reread): Recompile either the main program or the shared
14519 library, depending on what is being tested. Skip changing address
14520 if caller wants to. Compare before/after addresses. If testing
14521 standalone, explicitly load the binary. Test "maint info
14523 (top level): Add "standalone vs shared lib" and "change address"
14524 vs "same address" axes.
14526 2016-10-06 Pedro Alves <palves@redhat.com>
14528 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
14531 (jit_test_reread): Use with_test_prefix. Reload the main binary
14532 explicitly. Compare the before/after addresses of the JIT
14535 2016-08-15 Doug Evans <dje@google.com>
14537 * gdb.xml/extra-regs.xml: Update, end field now required, default type
14538 for single bitfields is bool.
14539 * gdb.xml/tdesc-regs.exp: Ditto.
14541 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
14543 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
14545 2016-10-05 Yao Qi <yao.qi@linaro.org>
14547 * lib/gdb.exp (support_complex_tests): Return zero if
14548 gdb_skip_float_test return true.
14550 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
14551 Simon Marchi <simon.marchi@ericsson.com>
14554 * gdb.mi/user-selected-context-sync.exp: New file.
14555 * gdb.mi/user-selected-context-sync.c: New file.
14557 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
14558 Simon Marchi <simon.marchi@ericsson.com>
14561 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
14562 =thread-select-event check.
14564 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
14566 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
14567 the compulsory L operand changes.
14568 * gdb.arch/powerpc-power.s: Likewise.
14570 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14572 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
14573 * gdb.base/jit-attach-pie.c: New file.
14574 * gdb.base/jit-attach-pie.exp: New file.
14576 2016-09-28 Pedro Alves <palves@redhat.com>
14578 * gdb.base/infcall-input.c: New file.
14579 * gdb.base/infcall-input.exp: New file.
14581 2016-09-22 Yao Qi <yao.qi@linaro.org>
14583 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
14584 (gdb_exit): Rename it to ...
14585 (gdbserver_gdb_exit): ... Close GDBserver.
14586 (gdb_exit): New proc, call gdbserver_gdb_exit.
14587 (mi_gdb_exit): Likewise.
14589 2016-09-22 Yao Qi <yao.qi@linaro.org>
14591 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
14593 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
14594 Remove duplication.
14596 2016-09-22 Yao Qi <yao.qi@linaro.org>
14598 * lib/gdbserver-support.exp: Check the existence of
14599 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
14601 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
14603 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
14605 2016-09-21 Tom Tromey <tom@tromey.com>
14608 * gdb.base/quit.exp: New file.
14610 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
14612 * .gitignore: New file.
14614 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
14616 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
14619 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14621 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
14623 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14625 * gdb.cp/casts.cc (decltype): Move it ...
14626 (main): ... with its call to ...
14627 * gdb.cp/casts03.cc: ... a new file.
14628 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
14630 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14632 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
14634 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
14636 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
14637 and sync up the test with tests in gas/testsuite/gas/ppc.
14638 * gdb.arch/powerpc-power.exp: Likewise.
14640 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14642 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
14644 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
14645 Jan Kratochvil <jan.kratochvil@redhat.com>
14647 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
14648 make m1's definition to be different from m2's. Use 'dummy' as an
14649 argument for probe 'two'.
14651 2016-09-10 Jon Beniston <jon@beniston.com>
14653 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
14656 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
14658 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
14659 variable declaration.
14660 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
14661 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
14662 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
14663 received HWCAP as its argument.
14665 2016-09-06 Pedro Alves <palves@redhat.com>
14667 * gdb.base/new-ui-pending-input.c: New file.
14668 * gdb.base/new-ui-pending-input.exp: New file.
14669 * gdb.exp (clear_gdb_spawn_id): New procedure.
14670 (with_spawn_id): Check whether gdb_spawn_id exists before
14671 referencing it. If gdb_spawn_id didn't exist on entry, clear it
14674 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
14676 * gdb.base/float128.c: New file.
14677 * gdb.base/float128.exp: Likewise.
14678 * gdb.base/floatn.c: Likewise.
14679 * gdb.base/floatn.exp: Likewise.
14681 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
14683 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
14685 2016-09-05 Pedro Alves <palves@redhat.com>
14688 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
14689 unwinders are immediately called as side effect of "source" or
14690 "disable unwinder" commands.
14691 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
14693 2016-09-02 Yao Qi <yao.qi@linaro.org>
14695 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
14696 is true and $type is "float" or "double".
14698 2016-09-02 Yao Qi <yao.qi@linaro.org>
14700 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
14702 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
14703 * gdb.base/call-rt-st.exp: Likewise.
14704 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
14705 return value instead of gdb,skip_float_test.
14706 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
14707 (do_function_calls): Use its return value instead of
14708 gdb,skip_float_test.
14709 * gdb.base/finish.exp: Likewise.
14710 * gdb.base/funcargs.exp: Likewise.
14711 * gdb.base/return.exp: Likewise.
14712 * gdb.base/return2.exp: Likewise.
14713 * gdb.base/varargs.exp: Likewise.
14714 * lib/gdb.exp (gdb_skip_float_test): Change it to
14715 gdb_caching_proc. Detect the broken ptrace on arm-linux.
14717 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
14719 * gdb.multi/tids.exp: Test "thread apply all".
14721 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14723 * gdb.base/default.exp (tty): Remove.
14725 2016-08-24 Kevin Buettner <kevinb@redhat.com>
14727 * gdb.python/py-recurse-unwind.c: New file.
14728 * gdb.python/py-recurse-unwind.py: New file.
14729 * gdb.python/py-recurse-unwind.exp: New file.
14731 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
14733 * gdb.base/set-inferior-tty.exp: New file.
14734 * gdb.base/set-inferior-tty.c: New file.
14736 2016-08-23 Pedro Alves <palves@redhat.com>
14739 * gdb.base/new-ui-echo.c: New file.
14740 * gdb.base/new-ui-echo.exp: New file.
14742 2016-08-23 Yao Qi <yao.qi@linaro.org>
14744 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
14746 * gdb.server/connect-without-multi-process.exp (do_test):
14749 2016-08-23 Yao Qi <yao.qi@linaro.org>
14751 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
14752 standalone_txt. Delete gdb_txt and standalone_txt on host
14753 and target. Spawn the binary on target. Copy files from
14756 2016-08-22 Pedro Alves <palves@redhat.com>
14759 * gdb.base/vdso-warning.exp: Test core dumps too. Use
14760 with_test_prefix. Factor out bits to ...
14761 (test_no_vdso): ... this new procedure.
14763 2016-08-19 Carl Love <cel@us.ibm.com>
14765 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
14766 maintaining separate logic for constructing the output path.
14767 * gdb.arch/powerpc-d128-regs.exp: Likewise.
14768 * gdb.arch/ppc-dfp.exp: Likewise.
14769 * gdb.arch/ppc-fp.exp: Likewise.
14770 * gdb.arch/vsx-regs.exp: Likewise.
14771 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
14772 binprefix for generating the additional binary files.
14774 2016-08-19 Pedro Alves <palves@redhat.com>
14776 * gdb.trace/mi-trace-frame-collected.exp
14777 (test_trace_frame_collected): On x32, expect two registers.
14779 2016-08-18 Carl Love <cel@us.ibm.com>
14781 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
14782 and sync up the test with tests in gas/testsuite/gas/ppc.
14783 * gdb.arch/powerpc-power.exp: Likewise.
14785 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
14787 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
14788 expected error message.
14790 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
14792 * gdb.multi/remove-inferiors.exp: New file.
14793 * gdb.multi/remove-inferiors.c: New file.
14795 2016-08-12 Yao Qi <yao.qi@linaro.org>
14797 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
14800 2016-08-10 Pedro Alves <palves@redhat.com>
14803 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
14806 2016-08-09 Pedro Alves <palves@redhat.com>
14807 Simon Marchi <simon.marchi@ericsson.com>
14810 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
14811 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
14813 2016-08-09 Pedro Alves <palves@redhat.com>
14816 * gdb.mi/mi-cmd-error.exp: New file.
14818 2016-08-09 Pedro Alves <palves@redhat.com>
14821 * gdb.base/signals-state-child.c: New file.
14822 * gdb.base/signals-state-child.exp: New file.
14823 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
14825 2016-08-09 Pedro Alves <palves@redhat.com>
14827 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
14829 2016-08-03 Tom Tromey <tom@tromey.com>
14832 * gdb.python/py-frame-inline.exp: Add Frame.function test.
14834 2016-08-01 Yao Qi <yao.qi@linaro.org>
14836 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
14837 variable mode to "multi-process" if $multi_process is 1, otherwise
14838 set it to "single-process".
14840 2016-08-01 Yao Qi <yao.qi@linaro.org>
14842 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
14843 * gdb.cp/cpexprs.exp: Likewise.
14844 * gdb.cp/m-static.exp: Likewise.
14846 2016-07-26 Tom Tromey <tom@tromey.com>
14849 * gdb.threads/tls.exp (check_thread_local): Add python symbol
14852 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
14854 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
14855 selecting assembly source files.
14856 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
14857 assembly source files.
14858 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
14859 assembly source files.
14860 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
14861 selecting assembly source files.
14863 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
14865 * gdb.base/new-ui.exp (do_test_invalid_args): New
14868 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
14870 * gdb.btrace/reconnect.c: New file.
14871 * gdb.btrace/reconnect.exp: New file.
14873 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
14875 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
14876 to test_catch_syscall_group.
14877 (test_catch_syscall_group): New.
14879 2016-07-21 Tom Tromey <tom@tromey.com>
14881 * gdb.rust/simple.rs (main): Use empty struct expression.
14882 * gdb.rust/simple.exp: Add tests for empty struct expression.
14884 2016-07-21 Yao Qi <yao.qi@linaro.org>
14886 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
14887 if gdb_skip_xml_test is true on some targets.
14889 2016-07-21 Yao Qi <yao.qi@linaro.org>
14891 * gdb.server/solib-list.exp: Unset last_loaded_file.
14893 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14895 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
14896 "step into captured_main (args)".
14898 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14900 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
14902 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14904 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
14906 2016-07-19 Pedro Alves <palves@redhat.com>
14908 * gdb.opt/inline-break.exp: Remove optimize=-O2.
14909 * gdb.opt/inline-bt.exp: Likewise.
14910 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
14911 additional_flags=-Winline.
14912 * gdb.opt/inline-locals.exp: Likewise.
14913 * gdb.opt/inline-markers.c (ATTR): Define.
14914 (inlined_fn): Use it.
14916 2016-07-19 Yao Qi <yao.qi@linaro.org>
14918 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
14919 (test_with_self): Remove some code. Remove argument executable.
14920 (top-level): Use do_self_tests.
14922 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
14923 Don Breazeal <donb@codesourcery.com>
14925 * gdb.base/maint.exp: Escape paths used in regular expressions.
14926 * gdb.stabs/weird.exp: Likewise.
14928 2016-07-13 Tom Tromey <tom@tromey.com>
14930 PR python/15620, PR python/18620:
14931 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
14932 (test_bkpt_events): New procs.
14934 2016-07-13 Tom Tromey <tom@tromey.com>
14937 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
14939 (test_watchpoints): Likewise.
14940 (test_bkpt_pending): New proc.
14942 2016-07-13 Tom Tromey <tom@tromey.com>
14945 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
14948 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14950 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
14951 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
14952 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
14954 (g): Rename g_end_lbl to g_label.
14955 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
14956 low_pc and high_pc.
14957 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
14959 2016-07-12 Tom Tromey <tom@tromey.com>
14962 * gdb.python/py-unwind-maint.exp: Update tests.
14964 2016-07-12 Yao Qi <yao.qi@linaro.org>
14966 * lib/selftest-support.exp (selftest_setup): Match the output
14967 when captured_main is inlined.
14969 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
14971 * gdb.fortran/derived-types.exp (result_line, result_line_2):
14973 (print this%a, print this%b, print this): New tests.
14974 * gdb.fortran/derived-types.f90 (this): New object and
14977 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
14979 * gdb.ada/arraydim.exp: Remove extra directory level in build
14982 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
14984 * lib/ada.exp: Remove extra directory level in build directory.
14985 * gdb.ada/cond_lang.exp: Likewise.
14986 * gdb.ada/exec_changed.exp: Likewise.
14987 * gdb.ada/lang_switch.exp: Likewise.
14989 2016-07-06 Manish Goregaokar <manish@mozilla.com>
14991 * simple.rs: Add test for raw pointer subscripting.
14992 * simple.exp: Add test expectations.
14994 2016-07-05 Yao Qi <yao.qi@linaro.org>
14996 * gdb.mi/mi-reverse.exp: Match =record-started output.
14998 2016-07-01 Pedro Alves <palves@redhat.com>
15000 * gdb.base/jit-reader.exp (info_registers_current_frame): New
15002 (jit_reader_test): Test the jit reader's unwinder.
15003 * gdb.base/jithost.c (jit_function_00_code): New global.
15004 (main): Use memcpy to fill in the mmapped code, instead of poking
15005 bytes manually here.
15006 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
15008 (read_debug_info): Save the function's range.
15009 (read_sp): New function.
15010 (unwind_frame): Use it. Also unwind RBP.
15011 (get_frame_id): Use read_sp.
15012 (gdb_init_reader): Use calloc instead of malloc.
15013 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
15014 parameter. Use gdb_test_multiple.
15016 2016-07-01 Pedro Alves <palves@redhat.com>
15017 Antoine Tremblay <antoine.tremblay@ericsson.com>
15019 * gdb.threads/process-dies-while-detaching.c: New file.
15020 * gdb.threads/process-dies-while-detaching.exp: New file.
15022 2016-07-01 Pedro Alves <palves@redhat.com>
15024 * gdb.multi/watchpoint-multi-exit.c: New file.
15025 * gdb.multi/watchpoint-multi-exit.exp: New file.
15027 2016-06-30 Pedro Alves <palves@redhat.com>
15029 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
15030 unset inferior_spawn_id.
15032 2016-06-30 Pedro Alves <palves@redhat.com>
15034 * lib/mi-support.exp (default_mi_gdb_start): Declare global
15035 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
15037 2016-06-29 Yao Qi <yao.qi@linaro.org>
15039 * gdb.base/return.c: Add copyright header.
15041 2016-06-29 Tom Tromey <tom@tromey.com>
15044 * gdb.python/py-framefilter.exp: Add tests for setting priority
15045 and disabling of non-existent frame filter.
15047 2016-06-29 Yao Qi <yao.qi@linaro.org>
15049 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
15052 2016-06-28 Yao Qi <yao.qi@linaro.org>
15054 * gdb.base/catch-syscall.exp: Remove check on isnative and target
15055 triplets. Start gdb, execute catch syscall, and continue. Check
15056 gdb's output to determine catch syscall is supported.
15058 2016-06-27 Manish Goregaokar <manish@mozilla.com>
15060 * gdb.rust/simple.rs: Add test for returning unit in a function.
15061 * gdb.rust/simple.exp: Add expectation for functions returning
15064 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
15066 * gdb.python/py-breakpoint-create-fail.c,
15067 gdb.python/py-breakpoint-create-fail.exp,
15068 gdb.python/py-breakpoint-create-fail.py: New testcase.
15070 2016-06-25 Manish Goregaokar <manish@mozilla.com>
15073 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
15074 * gdb.rust/simple.exp: Add test expectations for new NonZero
15077 2016-06-24 David Taylor <dtaylor@emc.com>
15079 * gdb.base/offsets.exp: New file.
15080 * gdb.base/offsets.c: New file.
15082 2016-06-23 Tom Tromey <tom@tromey.com>
15085 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
15086 before any filters are loaded.
15088 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
15090 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
15091 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
15093 * gdb.fortran/derived-type-function.exp: New file.
15094 * gdb.fortran/derived-type-function.f90: New file.
15097 2016-06-21 Pedro Alves <palves@redhat.com>
15099 * gdb.base/new-ui.exp: New file.
15100 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
15101 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
15102 (with_spawn_id): New procedure.
15104 2016-06-21 Pedro Alves <palves@redhat.com>
15106 * gdb.mi/mi-exec-run.exp: New file.
15108 2016-06-21 Pedro Alves <palves@redhat.com>
15110 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
15111 breakpoint command's output on the main UI.
15112 (test_break): New procedure, factored out from calls in the top
15114 (top level): Use foreach_with_prefix to test MI as main UI and as
15117 2016-06-21 Pedro Alves <palves@redhat.com>
15119 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
15120 (test_awatch_creation_and_listing)
15121 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
15122 Remove 'type' parameter.
15123 (test_watchpoint_all): New parameter mi_mode. Remove
15125 (top level): Use foreach_with_prefix, and add main/separate UI MI
15128 2016-06-21 Pedro Alves <palves@redhat.com>
15130 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
15131 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
15132 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
15133 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
15134 (gdb_main_spawn_id, mi_spawn_id): Declare and
15136 (mi_create_inferior_pty): New procedure,
15137 factored out from default_mi_gdb_start.
15138 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
15140 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
15141 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
15142 Use mi_create_inferior_pty.
15143 (mi_gdb_start): Use eval to pass down args list.
15145 2016-06-21 Pedro Alves <palves@redhat.com>
15147 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
15148 * gdb.opt/inline-cmds.exp: Add MI tests.
15150 2016-06-21 Pedro Alves <palves@redhat.com>
15152 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
15154 2016-06-21 Pedro Alves <palves@redhat.com>
15156 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
15157 (top level): Use it instead of mi_execute_to.
15159 2016-06-21 Pedro Alves <palves@redhat.com>
15161 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
15162 (cont_handler_str): New.
15163 (signal_stop_handler): Set stop_handler_str instead of printing to
15165 (continue_handler): Set cont_handler_str instead of printing to
15167 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
15168 mi_send_resuming_command. Print stop_handler_str and
15169 cont_handler_str instead of expecting the python events print
15172 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
15174 * gdb.base/jit-reader.exp: New file.
15175 * gdb.base/jithost.c: New file.
15176 * gdb.base/jithost.h: New file.
15177 * gdb.base/jitreader.c : New file.
15178 * gdb.base/jit-protocol.h: New file.
15180 2016-06-17 Yao Qi <yao.qi@linaro.org>
15182 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
15183 parameters follow_fork and detach_on_fork. Set follow-fork-mode
15184 and detach-on-fork. Adjust tests.
15185 (top level): Invoke break_cond_on_syscall with combinations of
15186 syscall, follow-fork-mode and detach-on-fork.
15188 2016-06-17 Yao Qi <yao.qi@linaro.org>
15190 * gdb.base/step-over-exit.c: New.
15191 * gdb.base/step-over-exit.exp: New.
15193 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
15195 * gdb.base/float.exp: Add target check for nds32*-*-*.
15196 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
15198 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
15200 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
15201 for unsupported target features.
15202 * gdb.base/call-rt-st.exp: Likewise.
15203 * gdb.base/call-sc.exp: Likewise.
15204 * gdb.base/call-signal-resume.exp: Likewise.
15205 * gdb.base/call-strs.exp: Likewise.
15206 * gdb.base/callexit.exp: Likewise.
15207 * gdb.base/callfuncs.exp: Likewise.
15208 * gdb.base/nodebug.exp: Likewise.
15209 * gdb.base/printcmds.exp: Likewise.
15210 * gdb.base/ptype.exp: Likewise.
15211 * gdb.base/structs.exp: Likewise.
15212 * gdb.base/unwindonsignal.exp: Likewise.
15213 * gdb.cp/gdb2495.exp: Likewise.
15214 * gdb.cp/templates.exp: Likewise.
15215 * gdb.cp/virtfunc.exp: Likewise.
15216 * gdb.threads/hand-call-in-threads.exp: Likewise.
15217 * gdb.threads/interrupted-hand-call.exp: Likewise.
15218 * gdb.threads/thread-unwindonsignal.exp: Likewise.
15220 2016-06-10 Tom Tromey <tom@tromey.com>
15223 * gdb.rust/expr.exp: Add test for integer constant larger than
15226 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
15228 * gdb.fortran/nested-funcs.exp: New.
15229 * gdb.fortran/nested-funcs.f90: New.
15231 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
15233 * gdb.base/examine-backward.c: New file.
15234 * gdb.base/examine-backward.exp: New file.
15236 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
15238 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
15241 2016-06-02 Tom Tromey <tom@tromey.com>
15244 * gdb.python/py-shared.exp: Add solib_name test.
15246 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
15248 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
15250 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
15253 * gdb.dwarf2/implref.exp: Rename to...
15254 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
15255 * gdb.dwarf2/implref-array.c: New file.
15256 * gdb.dwarf2/implref-array.exp: Likewise.
15257 * gdb.dwarf2/implref-global.c: Likewise.
15258 * gdb.dwarf2/implref-global.exp: Likewise.
15259 * gdb.dwarf2/implref-struct.c: Likewise.
15260 * gdb.dwarf2/implref-struct.exp: Likewise.
15262 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15264 * gdb.trace/trace-condition.exp: Add 64bit tests.
15266 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15268 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
15270 (main): Adapt to 8 to 64 bits types.
15271 * gdb.trace/trace-condition.exp: Add new tests.
15273 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15275 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
15277 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15279 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
15280 Move condition tests...
15281 * gdb.trace/trace-condition.exp: Here.
15283 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
15285 * gdb.trace/trace-condition.exp: Add counter-case tests.
15287 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
15290 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
15291 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
15293 2016-05-27 Pedro Alves <palves@redhat.com>
15295 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
15297 (top level): Call it, and bail out of DejaGnu is known to be bad.
15299 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
15301 * gdb.base/whatis.c: Extend the test case.
15302 * gdb.base/whatis.exp: Add additional tests.
15304 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15306 * gdb.fortran/type.f90: Add pointer variable.
15307 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
15309 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15311 * gdb.fortran/vla-type.exp: Fix testcase name.
15313 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15315 * gdb.fortran/vla-type.exp: Access elements in nested structs.
15317 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15319 * gdb.fortran/type.f90: Add nested structures.
15320 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
15321 * gdb.fortran/derived-type.exp: Adapt expected output.
15322 * gdb.fortran/vla-type.exp: Adapt expected output.
15324 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15326 * gdb.fortran/whatis_type.exp: Adapt expected output.
15328 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15330 * gdb.fortran/print_type.exp: Fix expected output.
15331 * gdb.fortran/whatis_type.exp: Fix expected output.
15333 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
15335 * gdb.fortran/whatis_type.exp: Use multi_line.
15337 2016-05-24 Tom Tromey <tom@tromey.com>
15340 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
15341 use value as an index.
15343 2016-05-23 Tom Tromey <tom@tromey.com>
15346 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
15347 no-breakpoint case.
15349 2016-05-24 Pedro Alves <palves@redhat.com>
15352 * gdb.threads/clone-attach-detach.c: New file.
15353 * gdb.threads/clone-attach-detach.exp: New file.
15355 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
15357 * gdb.base/annota-input-while-running.exp: Fix syntax error.
15359 2016-05-23 Tom Tromey <tom@tromey.com>
15361 PR python/19438, PR python/18393:
15362 * gdb.python/py-progspace.exp: Add "dir" test.
15363 * gdb.python/py-objfile.exp: Add "dir" test.
15365 2016-05-23 Yao Qi <yao.qi@linaro.org>
15367 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
15368 * gdb.arch/thumb2-it.exp: Likewise.
15370 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
15372 * gdb.mi/mi-threads-interrupt.c: New file.
15373 * gdb.mi/mi-threads-interrupt.exp: New file.
15375 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
15378 * gdb.mi/mi-async-run.exp: New file.
15379 * gdb.mi/mi-async-run.c: New file.
15381 2016-05-17 Tom Tromey <tom@tromey.com>
15382 Manish Goregaokar <manishsmail@gmail.com>
15384 * lib/rust-support.exp: New file.
15385 * lib/gdb.exp (skip_rust_tests): New proc.
15386 (build_executable_from_specs): Handle rust.
15387 * lib/future.exp (gdb_find_rustc): New proc.
15388 (gdb_default_target_compile): Handle rust.
15389 * gdb.rust/expr.exp: New file.
15390 * gdb.rust/generics.exp: New file.
15391 * gdb.rust/generics.rs: New file.
15392 * gdb.rust/methods.exp: New file.
15393 * gdb.rust/methods.rs: New file.
15394 * gdb.rust/modules.exp: New file.
15395 * gdb.rust/modules.rs: New file.
15396 * gdb.rust/simple.exp: New file.
15397 * gdb.rust/simple.rs: New file.
15399 2016-05-17 Tom Tromey <tom@tromey.com>
15401 * gdb.base/default.exp (set language): Add rust.
15403 2016-05-17 Tom Tromey <tom@tromey.com>
15405 * gdb.gdb/unittest.exp: New file.
15407 2016-05-16 Yao Qi <yao.qi@linaro.org>
15409 * gdb.base/batch-preserve-term-settings.exp: Remove variable
15410 shell_prompt. Update shell_prompt_re.
15412 2016-05-12 Doug Evans <dje@google.com>
15415 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
15416 $options when building executable.
15417 * gdb.dwarf2/fission-loclists-pie.S: New file.
15418 * gdb.dwarf2/fission-loclists-pie.exp: New file.
15420 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
15422 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
15423 of [is_remote target],
15425 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
15427 * lib/gdb.exp (use_gdb_stub): New procedure.
15429 2016-05-03 Yunlian Jiang <yunlian@google.com>
15430 Doug Evans <dje@google.com>
15433 * gdb.dwarf2/dwp-sepdebug.c: New file.
15434 * gdb.dwarf2/dwp-sepdebug.exp: New file.
15436 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
15438 * gdb.base/detach.exp: Remove is_remote check.
15440 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
15442 * gdb.base/annota-input-while-running.exp: Don't check for
15443 [is_remote target]. Enable annotations after running to main.
15444 Remove unused "set test..." line.
15446 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
15448 * gdb.trace/trace-enable-disable.exp: New file.
15449 * gdb.trace/trace-enable-disable.c: New file.
15451 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
15453 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
15454 use it in info sharedlibrary test.
15455 * gdb.trace/ftrace-lock.exp: Likewise.
15456 * gdb.trace/ftrace.exp: Likewise.
15457 * gdb.trace/range-stepping.exp: Likewise.
15458 * gdb.trace/trace-break.exp: Likewise.
15459 * gdb.trace/trace-condition.exp: Likewise.
15460 * gdb.trace/trace-mt.exp: Likewise.
15462 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
15464 * lib/gdb.exp (gdb_load_shlibs): Rename to...
15465 (gdb_load_shlib): ... this.
15466 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
15468 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
15469 * gdb.base/ctxobj.exp: Likewise.
15470 * gdb.base/dprintf-pending.exp: Likewise.
15471 * gdb.base/dso2dso.exp: Likewise.
15472 * gdb.base/fixsection.exp: Likewise.
15473 * gdb.base/gcore-relro.exp: Likewise.
15474 * gdb.base/gdb1555.exp: Likewise.
15475 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15476 * gdb.base/gnu-ifunc.exp: Likewise.
15477 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
15478 * gdb.base/jit-so.exp (one_jit_test): Likewise.
15479 * gdb.base/pending.exp: Likewise.
15480 * gdb.base/print-file-var.exp: Likewise.
15481 * gdb.base/print-symbol-loading.exp: Likewise.
15482 * gdb.base/shlib-call.exp: Likewise.
15483 * gdb.base/shreloc.exp: Likewise.
15484 * gdb.base/so-impl-ld.exp: Likewise.
15485 * gdb.base/solib-disc.exp: Likewise.
15486 * gdb.base/solib-nodir.exp: Likewise.
15487 * gdb.base/solib-overlap.exp: Likewise.
15488 * gdb.base/solib-symbol.exp: Likewise.
15489 * gdb.base/solib-weak.exp (do_test): Likewise.
15490 * gdb.base/sym-file.exp: Likewise.
15491 * gdb.base/symtab-search-order.exp: Likewise.
15492 * gdb.base/type-opaque.exp: Likewise.
15493 * gdb.base/unload.exp: Likewise.
15494 * gdb.base/watchpoint-solib.exp: Likewise.
15495 * gdb.compile/compile.exp: Likewise.
15496 * gdb.cp/gdb2384.exp: Likewise.
15497 * gdb.cp/infcall-dlopen.exp: Likewise.
15498 * gdb.cp/re-set-overloaded.exp: Likewise.
15499 * gdb.fortran/library-module.exp: Likewise.
15500 * gdb.opt/solib-intra-step.exp: Likewise.
15501 * gdb.python/py-finish-breakpoint.exp: Likewise.
15502 * gdb.python/py-shared.exp: Likewise.
15503 * gdb.reverse/solib-precsave.exp: Likewise.
15504 * gdb.reverse/solib-reverse.exp: Likewise.
15505 * gdb.server/solib-list.exp: Likewise.
15506 * gdb.threads/dlopen-libpthread.exp: Likewise.
15507 * gdb.threads/tls-shared.exp: Likewise.
15508 * gdb.threads/tls-so_extern.exp: Likewise.
15509 * gdb.trace/change-loc.exp: Likewise.
15510 * gdb.trace/ftrace-lock.exp: Likewise.
15511 * gdb.trace/ftrace.exp: Likewise.
15512 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
15513 * gdb.trace/pending.exp: Likewise.
15514 * gdb.trace/range-stepping.exp: Likewise.
15515 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
15516 (strace_info_marker): Likewise.
15517 (strace_probe_marker): Likewise.
15518 (strace_trace_on_same_addr): Likewise.
15519 (strace_trace_on_diff_addr): Likewise.
15520 * gdb.trace/trace-break.exp: Likewise.
15521 * gdb.trace/trace-condition.exp: Likewise.
15522 * gdb.trace/trace-mt.exp: Likewise.
15524 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
15526 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
15527 result of gdb_remote_download.
15528 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
15529 * gdb.base/dso2dso.exp: Likewise.
15530 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15531 * gdb.base/print-file-var.exp: Likewise.
15532 * gdb.base/shlib-call.exp: Likewise.
15533 * gdb.base/shreloc.exp: Likewise.
15534 * gdb.base/solib-overlap.exp: Likewise.
15535 * gdb.base/solib-weak.exp (do_test): Likewise.
15536 * gdb.base/unload.exp: Likewise.
15538 2016-04-27 Yao Qi <yao.qi@linaro.org>
15540 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
15543 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15545 * vla-type.exp: Print structure from toplevel.
15547 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15549 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
15551 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
15554 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
15556 * gdb.fortran/vla-type.f90: New file.
15557 * gdb.fortran/vla-type.exp: New file.
15559 2016-04-25 Yao Qi <yao.qi@linaro.org>
15561 * gdb.base/branch-to-self.c: New file.
15562 * gdb.base/branch-to-self.exp: New file.
15564 2016-04-22 Yao Qi <yao.qi@linaro.org>
15566 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
15569 2016-04-22 Yao Qi <yao.qi@linaro.org>
15571 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
15572 * gdb.base/annota3.exp: Likewise.
15574 2016-04-22 Yao Qi <yao.qi@linaro.org>
15576 * gdb.reverse/step-precsave.exp: Do one step and test program
15577 stops in "callee" and do multiple steps until program goes out
15579 * gdb.reverse/step-reverse.exp: Likewise.
15581 2016-04-22 Yao Qi <yao.qi@linaro.org>
15583 * gdb.trace/signal.exp: Also pass if
15584 $tracepoint_hits($i) > $iterations.
15586 2016-04-22 Yao Qi <yao.qi@linaro.org>
15588 * gdb.trace/signal.c: New file.
15589 * gdb.trace/signal.exp: New file.
15591 2016-04-19 Doug Evans <xdje42@gmail.com>
15593 * gdb.base/bad-file.exp: New file.
15595 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
15597 * gdb.dwarf2/implref.exp: New file.
15599 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
15601 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
15602 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
15603 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
15604 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
15605 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
15606 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
15607 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
15608 * lib/fortran.exp (fortran_int4): New procedure.
15609 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
15610 (fortran_logical4): Likewise.
15612 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
15614 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
15616 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
15618 * lib/compiler.c: Add Intel specific preprocessor macros.
15619 * lib/compiler.cc: Likewise.
15621 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
15623 * gdb.server/connect-with-no-symbol-file.c: New file.
15624 * gdb.server/connect-with-no-symbol-file.exp: New file.
15626 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
15628 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
15630 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
15632 * boards/gdbserver-base.exp (${board}_download): Copy source file to
15633 standard output directory.
15635 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
15637 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
15639 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
15641 * gdb.btrace/instruction_history.c (loop): Add declaration.
15643 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
15645 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
15647 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
15649 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
15650 parentheses to print.
15651 (continue_handler): Likewise.
15653 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
15655 * gdb.server/solib-list.exp: Remove is_remote check.
15656 Pass shlib= to gdb_compile. Don't link shared library with
15657 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
15658 Run binary filename through "readlink -f" on the target.
15660 2016-04-08 Pedro Alves <palves@redhat.com>
15662 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
15663 interpreter filename as argument to gdbserver_spawn.
15664 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
15665 Return empty if $last_loaded_file does not exist.
15667 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15669 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
15670 * gdb.base/jit-main.c: Use exit after usage.
15672 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15674 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
15675 GDBHISTSIZE prior to the tests.
15676 * gdb.base/gdbinit-history.exp: Likewise.
15678 2016-04-07 Pedro Alves <palves@redhat.com>
15680 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
15681 instead of build_executable. Use gdb_load_shlibs.
15683 2016-04-07 Yao Qi <yao.qi@linaro.org>
15685 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
15686 Execute "si" command.
15688 2016-04-07 Yao Qi <yao.qi@linaro.org>
15690 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
15691 number instead of the comments on some line.
15693 2016-04-06 Don Breazeal <donb@codesourcery.com>
15695 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
15696 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
15698 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
15700 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
15701 standard_output_file. Remove unused binfile variable.
15703 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
15705 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
15706 * gdb.python/py-mi-objfile.exp: Match "list main" output
15709 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
15711 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
15714 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
15716 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
15718 * gdb.trace/ftrace.exp: Likewise.
15719 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
15721 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
15722 (gdb_load_shlibs): Copy libraries to test directory when testing
15723 natively. Only set solib-search-path if testing remotely.
15724 * lib/mi-support.exp (mi_load_shlibs): Likewise.
15726 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
15728 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
15729 gdb_download. Use it even if the target is not remote.
15730 * gdb.base/jit.exp (compile_jit_test): Likewise.
15731 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
15732 output directory if the destination board is local, otherwise use
15733 the standard remote_download from DejaGnu.
15734 (gdb_download): Remove.
15735 (gdb_load_shlibs): Use gdb_remote_download instead of
15737 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
15738 Use gdb_remote_download instead of gdb_download. Use it even if
15739 the target is not remote.
15740 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
15741 instead of gdb_download.
15743 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
15745 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
15746 (test_insert_delete_modify): Call mi_load_shlibs before trying to
15749 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
15752 * gdb.base/printcmds.exp: Add artificial arrays tests.
15754 2016-03-31 Pedro Alves <palves@redhat.com>
15757 * gdb.base/jit-main.c: Include unistd.h.
15758 (ATTACH): Define to 0 if not already defined.
15759 (wait_for_gdb, mypid): New globals.
15760 (WAIT_FOR_GDB): New macro.
15761 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
15762 some breakpoint locations.
15763 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
15765 (one_jit_test): Add REATTACH parameter, and handle it. Use
15766 continue_to_test_location.
15767 (top level): Test attach, and adjusts calls to one_jit_test.
15769 2016-03-31 Pedro Alves <palves@redhat.com>
15772 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
15773 BINSUFFIX parameter, and handle it.
15774 (top level): Adjust calls compile_jit_test.
15776 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
15779 * gdb.python/py-mi-events-gdb.py: New file.
15780 * gdb.python/py-mi-events.c: New file.
15781 * gdb.python/py-mi-events.exp: New file.
15783 2016-03-30 Yao Qi <yao.qi@linaro.org>
15785 * gdb.reverse/until-precsave.exp: Match function name only.
15786 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
15787 Move malloc to a condition block.
15788 * gdb.reverse/until-reverse.exp: Match function name only.
15790 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
15792 * gdb.trace/ftrace.exp: Set arg0exp for s390.
15793 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
15794 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
15795 variable for GPR 0 instead of assuming it is register 0.
15796 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
15797 * lib/trace-support.exp: Add s390 registers.
15799 2016-03-29 Yao Qi <yao.qi@linaro.org>
15801 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
15803 2016-03-24 Yao Qi <yao.qi@linaro.org>
15805 * gdb.reverse/break-reverse.exp: Add quotation mark in the
15808 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15810 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
15811 maintaining separate logic for constructing the output path.
15813 2016-03-16 Don Breazeal <donb@codesourcery.com>
15815 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
15816 Retry fork and waitpid on interrupted system call errors.
15817 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
15818 Use with_timeout_factor to increase timeout by factor of 10.
15820 2016-03-15 Don Breazeal <donb@codesourcery.com>
15822 * gdb.cp/scope-err.cc: New test program.
15823 * gdb.cp/scope-err.exp: New test script.
15824 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
15825 lines and "set breakpoint here" comment.
15826 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
15827 Fixed some whitespace and format issues.
15828 * gdb.mi/mi-linespec-err-cp.cc: New test program.
15829 * gdb.mi/mi-linespec-err-cp.exp: New test script.
15831 2016-03-15 Doug Evans <dje@google.com>
15833 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
15834 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
15835 All callers updated. Add tests for enums, mixed flags register.
15837 2016-03-15 Doug Evans <dje@google.com>
15839 * gdb.base/skip.c (main): Call test_skip_file_and_function.
15840 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
15842 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
15844 * gdb.base/default.exp: Add $_as_string to the list of expected
15845 convenience functions.
15847 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
15849 * gdb.base/maint.exp: New tests for 'maint info line-table'.
15851 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
15853 * gdb.python/py-as-string.exp: New file.
15854 * gdb.python/py-as-string.c: New file.
15856 2016-03-09 Pedro Alves <palves@redhat.com>
15858 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
15859 signal" -> "Thread NN received signal" output change.
15860 * gdb.threads/ia64-sigill.exp: Likewise.
15861 * gdb.threads/linux-dp.exp: Likewise.
15862 * gdb.threads/manythreads.exp: Likewise.
15863 * gdb.threads/pending-step.exp: Likewise.
15864 * gdb.threads/print-threads.exp: Likewise.
15865 * gdb.threads/sigstep-threads.exp: Likewise.
15866 * gdb.threads/staticthreads.exp: Likewise.
15867 * gdb.threads/tls.exp: Likewise.
15869 2016-03-09 Pedro Alves <palves@redhat.com>
15871 * gdb.base/command-line-input.exp: New file.
15873 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15875 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
15876 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
15877 * gdb.trace/pending.exp: Accept leading dot before function name.
15878 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
15879 * lib/trace-support.exp: Set registers for ppc.
15881 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15883 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
15884 use it for disassembly; accept .main in addition to main in backtrace.
15886 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
15887 Marcin Kościelnicki <koriakin@0x04.net>
15889 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
15890 (gdb_recursion_test_ptr): New global variable.
15891 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
15892 gdb_recursion_test.
15893 (gdb_c_test): Ditto.
15895 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15897 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
15900 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15902 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
15903 (bar): Add bar_start_lbl label.
15904 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
15905 of foo/bar for emitting DWARF and tracing.
15907 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
15909 * analyze-racy-logs.py: Set executable bit.
15911 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
15913 * Makefile.in (DEFAULT_RACY_ITER): New variable.
15914 (CHECK_TARGET_TMP): Likewise.
15915 (check-single-racy): New rule.
15916 (check-parallel-racy): Likewise.
15917 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
15918 (do-check-parallel-racy): New rule.
15919 (check-racy/%.exp): Likewise.
15920 * README (Racy testcases): New section.
15921 * analyze-racy-logs.py: New file.
15923 2016-03-03 Doug Evans <dje@google.com>
15925 * gdb.base/skip.exp: Use with_test_prefix.
15927 2016-03-03 Yao Qi <yao.qi@linaro.org>
15929 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
15930 Invoke step_over_syscall "clone" and break_cond_on_syscall
15932 * gdb.base/step-over-clone.c: New file.
15934 2016-03-03 Yao Qi <yao.qi@linaro.org>
15936 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
15939 2016-03-03 Yao Qi <yao.qi@linaro.org>
15941 * gdb.base/disp-step-fork.c: Rename to ...
15942 * gdb.base/step-over-fork.c: ... it. New file.
15943 * gdb.base/disp-step-vfork.c: Rename to ...
15944 * gdb.base/step-over-vfork.c: ... it. New file.
15945 * gdb.base/disp-step-syscall.exp: Rename to ...
15946 * gdb.base/step-over-syscall.exp: ... it. New file.
15947 (disp_step_cross_syscall): Rename to ...
15948 (step_over_syscall): ... it.
15950 2016-03-03 Yao Qi <yao.qi@linaro.org>
15952 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
15953 If target supports condition evaluation on target, invoke
15954 break_cond_on_syscall for fork and vfork.
15956 2016-03-03 Yao Qi <yao.qi@linaro.org>
15958 * gdb.base/disp-step-syscall.exp: Don't invoke
15959 support_displaced_stepping.
15960 (disp_step_cross_syscall): Test with displaced stepping off and
15963 2016-03-03 Yao Qi <yao.qi@linaro.org>
15965 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
15968 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
15971 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15973 * gdb.fortran/vla-history.exp: Remove breakpoint.
15975 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15977 * gdb.fortran/vla-history.exp: Lookup array elements and printing
15980 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15982 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
15985 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15987 * gdb.mi/vla.f90: Nullify pointer after declaration.
15989 2016-03-01 Pedro Alves <palves@redhat.com>
15991 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
15993 2016-03-01 Pedro Alves <palves@redhat.com>
15995 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
15996 before anything else.
15997 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
15999 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
16000 before anything else.
16001 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
16003 2016-03-01 Pedro Alves <palves@redhat.com>
16005 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
16007 2016-03-01 Yao Qi <yao.qi@linaro.org>
16009 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
16010 prepare_for_testing.
16012 2016-03-01 Yao Qi <yao.qi@linaro.org>
16014 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
16016 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
16018 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
16019 manually constructing the output path.
16021 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
16023 * gdb.arch/s390-stackless.S: New.
16024 * gdb.arch/s390-stackless.exp: New.
16026 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
16028 * gdb.dlang/circular.c: New file.
16029 * gdb.dlang/circular.exp: New file.
16031 2016-02-26 Yao Qi <yao.qi@linaro.org>
16033 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
16034 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
16035 (testcases): Update.
16037 2016-02-26 Yao Qi <yao.qi@linaro.org>
16039 * gdb.reverse/aarch64.c: Rename to ...
16040 * gdb.reverse/insn-reverse.c: ... it.
16041 * gdb.reverse/aarch64.exp: Rename to ...
16042 * gdb.reverse/insn-reverse.exp: ... it.
16044 2016-02-26 Yao Qi <yao.qi@linaro.org>
16046 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
16047 (testcase_ftype): New.
16048 (testcases): New array.
16049 (n_testcases): New.
16050 (main): Call each element in testcases.
16051 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
16052 (read_testcase): New.
16053 Do the tests in a loop.
16055 2016-02-25 Yao Qi <yao.qi@linaro.org>
16057 * gdb.base/branches.c: Remove.
16059 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16062 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
16064 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16066 * gdb.trace/ftrace.exp: Remove unnecessary target check.
16068 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
16070 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
16071 change x86_64 call_insn to 'callq'.
16073 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16075 * gdb.trace/tfile-avx.c: Move to...
16076 * gdb.trace/tracefile-pseudo-reg.c: Here.
16077 * gdb.trace/tfile-avx.exp: Move to...
16078 * gdb.trace/tracefile-pseudo-reg.exp: Here.
16080 2016-02-24 Gary Benson <gbenson@redhat.com>
16082 * gdb.base/attach-pie-noexec.exp: Do not expect an error
16085 2016-02-23 Doug Evans <dje@google.com>
16087 * gdb.base/skip.c (test_skip): New function.
16088 (end_test_skip_file_and_function): New function.
16089 (test_skip_file_and_function): New function.
16090 * gdb.base/skip1.c (test_skip): New function.
16091 (skip1_test_skip_file_and_function): New function.
16092 * gdb.base/skip.exp: Add tests for new skip options.
16093 * gdb.base/skip-solib.exp: Update expected output.
16094 * gdb.perf/skip-command.cc: New file.
16095 * gdb.perf/skip-command.exp: New file.
16096 * gdb.perf/skip-command.py: New file.
16098 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
16100 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
16101 info registers pattern.
16103 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
16105 * lib/future.exp: Add D support.
16106 (gdb_find_gdc): New proc.
16107 (gdb_default_target_compile): Add D support.
16109 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
16111 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
16113 (trace_speed_test): Determine the iteration count for a time
16114 between 15..30 seconds.
16116 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
16118 * gdb.arch/i386-mpx-sigsegv.c: New file.
16119 * gdb.arch/i386-mpx-sigsegv.exp: New file.
16120 * gdb.arch/i386-mpx-simple_segv.c: New file.
16121 * gdb.arch/i386-mpx-simple_segv.exp: New file.
16123 2016-02-18 Yao Qi <yao.qi@linaro.org>
16125 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
16126 Don't call setup_kfail.
16128 2016-02-18 Yao Qi <yao.qi@linaro.org>
16130 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16131 Set "set breakpoint condition-evaluation" per $cond_bp_target.
16133 2016-02-16 Doug Evans <dje@google.com>
16135 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
16136 * gdb.base/skip1.c: Ditto.
16137 * gdb.base/skip.exp: Whitespace cleanup.
16139 2016-02-16 Don Breazeal <donb@codesourcery.com>
16142 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
16143 Remove kfail for PR remote/19496.
16145 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
16147 * lib/gdb.exp (standard_temp_file): Return a path specific to
16148 the runtest invocation.
16150 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
16152 * gdb.trace/save-trace.exp: Change relative path to be in the
16153 standard output directory.
16155 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16157 * gdb.arch/i386-prologue.c: Add missing prototypes.
16159 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16161 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
16162 * gdb.arch/i386-prologue.exp: Likewise.
16163 * gdb.arch/i386-size.exp: Likewise.
16165 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
16167 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
16168 define object file path.
16169 * gdb.btrace/gcore.exp: Use standard_output_file to define core
16171 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
16172 standard_output_file to define binfile.
16174 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16176 Fix compatibility with recent gfortran-5.3.1.
16177 * gdb.fortran/vla-history.exp (print vla1 allocated)
16178 (print vla2 allocated, print $2, print $3): Remove
16179 (print $4): Rename to ...
16180 (print $2): ... here.
16181 (print $9): Rename to ...
16182 (print $5): ... here.
16183 (print $10): Rename to ...
16184 (print $6): ... here.
16185 * gdb.fortran/vla.f90: Add pvla initialization.
16187 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16189 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
16191 * gdb.fortran/vla-value-sub.exp: Likewise.
16193 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
16195 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
16197 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
16199 * i386-biarch-core.exp: Define corefile using
16200 standard_output_file.
16202 2016-02-12 Yao Qi <yao.qi@linaro.org>
16204 * gdb.arch/arm-single-step-kernel-helper.c: New.
16205 * gdb.arch/arm-single-step-kernel-helper.exp: New.
16207 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
16209 * gdb.btrace/tailcall-only.exp: New.
16210 * gdb.btrace/tailcall-only.c: New.
16211 * gdb.btrace/x86_64-tailcall-only.S: New.
16212 * gdb.btrace/i686-tailcall-only.S: New.
16214 2016-02-11 Pedro Alves <palves@redhat.com>
16216 * README (Parallel testing): Add missing double quotes.
16218 2016-02-11 Pedro Alves <palves@redhat.com>
16220 * README (Parallel testing): New section.
16221 (GDB_PARALLEL): Rewrite.
16222 (FORCE_PARALLEL): Document.
16224 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
16226 * gdb.trace/tfile-avx.c: New test.
16227 * gdb.trace/tfile-avx.exp: New test.
16229 2016-02-09 Keith Seitz <keiths@redhat.com>
16231 PR breakpoints/19546
16232 * gdb.base/infcall-exec.c: New file.
16233 * gdb.base/infcall-exec2.c: New file.
16234 * gdb.base/infcall-exec.exp: New file.
16236 2016-02-09 Keith Seitz <keiths@redhat.com>
16238 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
16239 (toplevel): Call test_bkpt_address.
16241 2016-02-09 Keith Seitz <keiths@redhat.com>
16244 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
16245 (toplevel): Call test_bkpt_address.
16247 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
16249 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
16251 * configure: Regenerate.
16253 2016-02-09 Pedro Alves <palves@redhat.com>
16255 PR breakpoints/19548
16256 * gdb.base/execl-update-breakpoints.c (some_function): New
16259 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
16260 Tighten expected GDB output.
16262 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
16264 * Makefile.in (ALL_SUBDIRS): Remove.
16265 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
16266 (distclean maintainer-clean realclean): Likewise.
16267 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
16268 * configure: Regenerate.
16269 * gdb.ada/Makefile.in: Delete.
16270 * gdb.arch/Makefile.in: Likewise.
16271 * gdb.asm/Makefile.in: Likewise.
16272 * gdb.base/Makefile.in: Likewise.
16273 * gdb.btrace/Makefile.in: Likewise.
16274 * gdb.cell/Makefile.in: Likewise.
16275 * gdb.compile/Makefile.in: Likewise.
16276 * gdb.cp/Makefile.in: Likewise.
16277 * gdb.disasm/Makefile.in: Likewise.
16278 * gdb.dlang/Makefile.in: Likewise.
16279 * gdb.dwarf2/Makefile.in: Likewise.
16280 * gdb.fortran/Makefile.in: Likewise.
16281 * gdb.gdb/Makefile.in: Likewise.
16282 * gdb.go/Makefile.in: Likewise.
16283 * gdb.guile/Makefile.in: Likewise.
16284 * gdb.java/Makefile.in: Likewise.
16285 * gdb.linespec/Makefile.in: Likewise.
16286 * gdb.mi/Makefile.in: Likewise.
16287 * gdb.modula2/Makefile.in: Likewise.
16288 * gdb.multi/Makefile.in: Likewise.
16289 * gdb.objc/Makefile.in: Likewise.
16290 * gdb.opencl/Makefile.in: Likewise.
16291 * gdb.opt/Makefile.in: Likewise.
16292 * gdb.pascal/Makefile.in: Likewise.
16293 * gdb.perf/Makefile.in: Likewise.
16294 * gdb.python/Makefile.in: Likewise.
16295 * gdb.reverse/Makefile.in: Likewise.
16296 * gdb.server/Makefile.in: Likewise.
16297 * gdb.stabs/Makefile.in: Likewise.
16298 * gdb.threads/Makefile.in: Likewise.
16299 * gdb.trace/Makefile.in: Likewise.
16300 * gdb.xml/Makefile.in: Likewise.
16301 * lib/gdb.exp (make_gdb_parallel_path): Add check for
16303 (standard_output_file): Remove check for GDB_PARALLEL, always
16304 return path in outputs/$subdir/$testname.
16306 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
16308 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
16309 (site.exp): Assign abs_srcdir to tcl's srcdir.
16311 2016-02-04 Yao Qi <yao.qi@linaro.org>
16313 * gdb.base/foll-exec-mode.c: Include limits.h.
16314 (main): Add parameters argc and argv. Get directory from
16316 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
16318 * gdb.base/foll-exec.c: Include limits.h.
16319 (main): Add parameters argc and argv.
16320 Get directory from argv[0].
16321 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
16322 Adjust tests on the number of lines as source code changed.
16323 * gdb.base/foll-vfork-exit.c: Include limits.h.
16324 (main): Add one line of statement before vfork.
16325 * gdb.base/foll-vfork.c: Include limits.h and string.h.
16326 (main): Add parameters argc and argv. Get directory from
16328 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
16329 (setup_gdb): Set tbreak to skip some source lines.
16330 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
16331 (main): Add parameters argc and argv. Get directory from
16333 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
16335 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
16336 (main): Add parameters argc and argv. Get directory from
16338 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
16341 2016-02-01 Doug Evans <dje@google.com>
16343 * gdb.base/skip.exp: Clean up multiple references to same test name.
16345 2016-02-01 Pedro Alves <palves@redhat.com>
16348 * gdb.threads/forking-threads-plus-breakpoint.exp
16349 (displaced_stepping_supported): New global.
16350 (probe_displaced_stepping_support): New procedure.
16351 (do_test): Add 'displaced' parameter, and use it.
16352 (top level): Check for displaced stepping support. Add displaced
16353 stepping on/off testing axis.
16355 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
16357 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
16358 pointer. Don't perform further tests on the unassociated pointer
16359 if the first test fails.
16361 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
16363 * gdb.base/max-value-size.c: New file.
16364 * gdb.base/max-value-size.exp: New file.
16365 * gdb.base/huge.exp: Disable max-value-size for this test.
16367 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
16369 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
16371 2016-01-28 Yao Qi <yao.qi@linaro.org>
16373 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
16375 2016-01-25 Pedro Alves <palves@redhat.com>
16378 * gdb.base/fork-running-state.c: New file.
16379 * gdb.base/fork-running-state.exp: New file.
16381 2016-01-25 Pedro Alves <palves@redhat.com>
16384 * gdb.base/catch-fork-kill.c: New file.
16385 * gdb.base/catch-fork-kill.exp: New file.
16387 2016-01-25 Pedro Alves <palves@redhat.com>
16389 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
16390 Delete, moved to lib/gdb.exp.
16391 * gdb.threads/forking-threads-plus-breakpoint.exp
16392 (foreach_with_prefix): Likewise.
16393 * gdb.threads/process-dies-while-handling-bp.exp
16394 (foreach_with_prefix): Likewise.
16395 * lib/gdb.exp (foreach_with_prefix): New procedure.
16397 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
16399 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
16400 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
16402 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
16404 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
16407 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16408 Pedro Alves <palves@redhat.com>
16410 Fix testsuite compatibility with Guile.
16411 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
16414 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16416 Fix testsuite compatibility with Guile.
16417 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
16418 (thread 1): New test for backtrace through signal handler.
16420 2016-01-22 Yao Qi <yao.qi@linaro.org>
16423 * gdb.base/multi-forks.c: Include
16424 ../lib/unbuffer_output.c
16425 (main): Call gdb_unbuffer_output.
16427 2016-01-21 Doug Evans <dje@google.com>
16429 * lib/ada.exp (gdb_compile_ada): Fix typo.
16431 2016-01-21 Joel Brobecker <brobecker@adacore.com>
16433 * gdb.base/break-fun-addr.exp: New file.
16434 * gdb.base/break-fun-addr1.c: New file.
16435 * gdb.base/break-fun-addr2.c: New file.
16437 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
16439 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
16440 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
16443 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16445 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
16446 when GDB can not set the vector return value. Add more comments
16449 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
16451 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
16454 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16456 * Makefile.in (DO_RUNTEST): Add --status and update usages.
16458 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16460 * Makefile.in (check-single): Pass --status to runtest.
16461 (check/%.exp): Likewise.
16463 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
16465 * Makefile.in (check-parallel): Propagate return code from make
16468 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
16470 * gdb.trace/ftrace.exp: Fix expected message on continue.
16471 * gdb.trace/pending.exp: Fix expected message on continue.
16472 * gdb.trace/trace-break.exp: Fix expected message on continue.
16474 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
16476 * lib/gdb.exp (gdb_test): Remove unused global references.
16478 2016-01-18 Pedro Alves <palves@redhat.com>
16480 * gdb.base/async-shell.exp: Adjust expected output.
16481 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
16482 * gdb.base/siginfo-thread.exp: Adjust expected output.
16483 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
16484 * gdb.java/jnpe.exp: Adjust expected output.
16485 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
16486 * gdb.threads/continue-pending-status.exp: Adjust expected output.
16487 * gdb.threads/leader-exit.exp: Adjust expected output.
16488 * gdb.threads/manythreads.exp: Adjust expected output.
16489 * gdb.threads/pthreads.exp: Adjust expected output.
16490 * gdb.threads/schedlock.exp: Adjust expected output.
16491 * gdb.threads/siginfo-threads.exp: Adjust expected output.
16492 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
16494 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
16496 * gdb.threads/sigthread.exp: Adjust expected output.
16497 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
16499 2016-01-18 Yao Qi <yao.qi@linaro.org>
16501 * gdb.guile/scm-section-script.c: Replace @progbits with
16503 * gdb.python/py-section-script.c: Likewise.
16505 2016-01-15 Pedro Alves <palves@redhat.com>
16507 * gdb.multi/tids.exp: Test star wildcard ranges.
16509 2016-01-15 Pedro Alves <palves@redhat.com>
16511 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
16512 command from "thread apply" invocation.
16513 (thr_apply_info_thr_invalid): Default the expected output to the
16515 (top level): Add tests that use convenience variables. Add tests
16516 for "thread apply" with a valid TID list, but missing the command.
16518 2016-01-13 Pedro Alves <palves@redhat.com>
16520 * gdb.base/default.exp: Expect $_gthread as well.
16521 * gdb.multi/tids.exp: Test $_gthread.
16522 * gdb.threads/thread-specific.exp: Test $_gthread.
16524 2016-01-13 Pedro Alves <palves@redhat.com>
16526 * gdb.multi/tids.exp: Test "info threads -gid".
16528 2016-01-13 Pedro Alves <palves@redhat.com>
16530 * gdb.multi/tids.exp: Test InferiorThread.global_num and
16532 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
16534 2016-01-07 Pedro Alves <palves@redhat.com>
16536 * gdb.base/break.exp: Adjust to output changes.
16537 * gdb.base/hbreak2.exp: Likewise.
16538 * gdb.base/sepdebug.exp: Likewise.
16539 * gdb.base/watch_thread_num.exp: Likewise.
16540 * gdb.linespec/keywords.exp: Likewise.
16541 * gdb.multi/info-threads.exp: Likewise.
16542 * gdb.threads/thread-find.exp: Likewise.
16543 * gdb.multi/tids.c: New file.
16544 * gdb.multi/tids.exp: New file.
16546 2016-01-13 Pedro Alves <palves@redhat.com>
16548 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
16550 2016-01-13 Pedro Alves <palves@redhat.com>
16552 * gdb.base/default.exp: Expect $_inferior as well.
16553 * gdb.multi/base.exp: Test $_inferior.
16555 2016-01-13 Pedro Alves <palves@redhat.com>
16557 PR breakpoints/19388
16558 * gdb.base/catch-signal-siginfo-cond.c: New file.
16559 * gdb.base/catch-signal-siginfo-cond.exp: New file.
16561 2016-01-12 Josh Stone <jistone@redhat.com>
16562 Philippe Waroquiers <philippe.waroquiers@skynet.be>
16564 * gdb.base/catch-syscall.c (do_execve): New variable.
16565 (main): Conditionally trigger an execve.
16566 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
16567 (test_catch_syscall_execve): New, check entry/return across execve.
16568 (do_syscall_tests): Call test_catch_syscall_execve.
16570 2016-01-12 Pedro Alves <palves@redhat.com>
16572 * gdb.base/random-signal.exp (do_test): New procedure, with body
16573 of testcase moved in.
16575 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16576 Pedro Alves <palves@redhat.com>
16578 * gdb.base/funcargs.exp (finish from indirectly called function):
16579 Reintroduce the case for 'First'.
16581 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16582 Pedro Alves <palves@redhat.com>
16584 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
16585 (tcatch_vfork_then_child_follow_exec)
16586 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
16589 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16591 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
16592 and repeats to unlimited.
16593 * gdb.python/py-value.exp: Likewise.
16594 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
16595 and repeats to unlimited.
16597 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
16599 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
16600 and reordering the functions.
16601 * gdb.multi/hangout.c: Likewise.
16602 * gdb.multi/hello.c: Likewise.
16604 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
16606 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
16608 (SingleStatisticTestResult.report): Use dict.keys instead of
16611 2016-01-06 Pedro Alves <palves@redhat.com>
16613 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
16615 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
16617 * gdb.btrace/dlopen.exp: New.
16618 * gdb.btrace/dlopen.c: New.
16619 * gdb.btrace/dlopen-dso.c: New.
16621 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
16623 * lib/gdb.exp (gdb_test): Update comments to clarify that the
16624 PATTERN argument is optional.
16626 2015-12-24 Joel Brobecker <brobecker@adacore.com>
16628 * lib/ada.exp (target_compile_ada_from_dir): New function.
16629 (gdb_compile_ada): Reimplement avoiding the use of project files.
16630 * gdb.ada/gnat_ada.gpr: Delete.
16631 * gdb.ada/cond_lang.exp: Adjust test to make path before
16633 * gdb.ada/small_reg_param.exp: Likewise.
16635 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
16637 * gdb.base/foll-vork.exp: Remove HP-UX special case.
16639 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
16641 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
16644 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
16646 * gdb.base/break.exp: Remove dead code.
16647 * gdb.base/sepdebug.exp: Likewise.
16649 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
16651 * gdb.asm/asm-source.exp: Remove HP-UX references.
16652 * gdb.base/annota1.exp: Likewise.
16653 * gdb.base/annota3.exp: Likewise.
16654 * gdb.base/attach.exp: Likewise.
16655 * gdb.base/bigcore.exp: Likewise.
16656 * gdb.base/break.exp: Likewise.
16657 * gdb.base/call-ar-st.exp: Likewise.
16658 * gdb.base/callfuncs.exp: Likewise.
16659 * gdb.base/catch-fork-static.exp: Likewise.
16660 * gdb.base/display.exp: Likewise.
16661 * gdb.base/foll-exec-mode.exp: Likewise.
16662 * gdb.base/foll-exec.exp: Likewise.
16663 * gdb.base/foll-fork.exp: Likewise.
16664 * gdb.base/foll-vfork.exp: Likewise.
16665 * gdb.base/funcargs.exp: Likewise.
16666 * gdb.base/hbreak2.exp: Likewise.
16667 * gdb.base/inferior-died.exp: Likewise.
16668 * gdb.base/interrupt.exp: Likewise.
16669 * gdb.base/multi-forks.exp: Likewise.
16670 * gdb.base/nodebug.exp: Likewise.
16671 * gdb.base/sepdebug.exp: Likewise.
16672 * gdb.base/solib1.c: Likewise.
16673 * gdb.base/step-test.exp: Likewise.
16674 * gdb.mi/non-stop.c: Likewise.
16675 * gdb.mi/pthreads.c: Likewise.
16676 * gdb.multi/bkpt-multi-exec.ex: Likewise.
16677 * gdb.threads/pthreads.c: Likewise.
16678 * gdb.threads/staticthreads.exp: Likewise.
16679 * lib/future.exp: Likewise.
16680 * lib/gdb.exp: Likewise.
16681 * gdb.base/so-indr-cl.c: Remove.
16682 * gdb.base/so-indr-cl.exp: Likewise.
16683 * gdb.base/solib.c: Likewise.
16684 * gdb.base/solib.exp: Likewise.
16685 * gdb.base/solib2.c: Likewise.
16687 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
16689 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
16690 * gdb.base/call-ar-st.exp: Likewise.
16691 * gdb.base/callfuncs.exp: Likewise.
16692 * gdb.base/condbreak.exp: Likewise.
16693 * gdb.base/constvars.exp: Likewise.
16694 * gdb.base/hbreak2.exp: Likewise.
16695 * gdb.base/langs.exp: Likewise.
16696 * gdb.base/list.exp: Likewise.
16697 * gdb.base/long_long.exp: Likewise.
16698 * gdb.base/ptype.exp: Likewise.
16699 * gdb.base/scope.exp: Likewise.
16700 * gdb.base/signals.exp: Likewise.
16701 * gdb.base/so-impl-ld.exp: Likewise.
16702 * gdb.base/varargs.exp: Likewise.
16703 * gdb.base/volatile.exp: Likewise.
16704 * gdb.base/whatis.exp: Likewise.
16705 * gdb.cp/cplusfuncs.exp: Likewise.
16706 * gdb.cp/inherit.exp: Likewise.
16707 * gdb.cp/local.exp: Likewise.
16708 * gdb.cp/member-ptr.exp: Likewise.
16709 * gdb.cp/method.exp: Likewise.
16710 * gdb.cp/overload.exp: Likewise.
16711 * gdb.cp/templates.exp: Likewise.
16712 * gdb.stabs/weird.exp: Likewise.
16713 * lib/compiler.c: Likewise.
16714 * lib/compiler.cc: Likewise.
16715 * lib/cp-support.exp: Likewise.
16716 * lib/gdb.exp: Likewise.
16718 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
16720 * configure.ac: Remove HP-UX case.
16721 * configure: Regenerate.
16723 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
16725 * lib/gdb.exp (gdb_compile): Add function doc.
16727 2015-12-17 Pedro Alves <palves@redhat.com>
16730 * gdb.multi/info-threads.exp: New file.
16732 2015-12-15 Yao Qi <yao.qi@linaro.org>
16734 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
16737 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16739 * gdb.base/history-duplicates.exp: Skip if no readline support.
16741 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16743 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
16745 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16747 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
16749 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16751 * gdb.base/completion.exp: Skip tests that interrupt GDB with
16752 ctrl-C if nointerrupts target property is set.
16753 * gdb.base/double-prompt-target-event-error.exp: Likewise.
16754 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
16755 * gdb.base/paginate-bg-execution.exp: Likewise.
16756 * gdb.base/paginate-execution-startup.exp: Likewise.
16757 * gdb.base/random-signal.exp: Likewise.
16758 * gdb.base/range-stepping.exp: Likewise.
16759 * gdb.cp/annota2.exp: Likewise.
16760 * gdb.cp/annota3.exp: Likewise.
16761 * gdb.gdb/selftest.exp: Likewise.
16762 * gdb.threads/continue-pending-status.exp: Likewise.
16763 * gdb.threads/leader-exit.exp: Likewise.
16764 * gdb.threads/manythreads.exp: Likewise.
16765 * gdb.threads/pthreads.exp: Likewise.
16766 * gdb.threads/schedlock.exp: Likewise.
16767 * gdb.threads/sigthread.exp: Likewise.
16769 2015-12-11 Don Breazeal <donb@codesourcery.com>
16771 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
16773 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
16774 * gdb.base/foll-exec.exp (main): Enable for target remote.
16775 * gdb.base/foll-fork.exp (main): Likewise.
16776 * gdb.base/foll-vfork.exp (main): Likewise.
16777 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
16778 (proc continue_to_exit_bp_loc): Use clean_restart.
16779 * gdb.base/pie-execl.exp (main): Disable for target remote.
16780 * gdb.base/watch-vfork.exp (main): Enable for target remote.
16781 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
16782 * gdb.threads/execl.exp (main): Likewise.
16783 * gdb.threads/fork-child-threads.exp (main): Likewise.
16784 * gdb.threads/fork-plus-threads.exp (main): Disable for target
16786 * gdb.threads/fork-thread-pending.exp (main): Enable for target
16788 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
16789 pid.tid style ptids, instead of just tid.
16790 * gdb.threads/thread-execl.exp (main): Enable for target remote.
16791 * gdb.threads/watchpoint-fork.exp (main): Likewise.
16792 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
16793 ptids, instead of just tid.
16795 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
16797 * gdb.base/list.exp (test_list_forward): Add end of file error
16799 (test_repeat_list_command): Add end of file error test.
16800 (test_list_backwards): Add beginning of file error test.
16802 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
16804 * gdb.base/list.exp (test_list_invalid_args): New function,
16805 defined, and called.
16807 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
16809 * gdb.base/list.exp (test_list): Make test names unique.
16811 2015-12-11 Yao Qi <yao.qi@linaro.org>
16813 * gdb.base/coremaker2.c: Remove.
16815 2015-12-10 Pedro Alves <palves@redhat.com>
16817 * gdb.multi/base.exp: Remove stale "spaces" references.
16819 2015-12-10 Pedro Alves <palves@redhat.com>
16821 * gdb.multi/base.exp: Don't use nowarnings.
16822 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
16823 * gdb.multi/hangout.c: Include stdio.h.
16824 * gdb.multi/hello.c: Include stdlib.h.
16825 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
16826 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
16827 * gdb.multi/multi-arch.exp: Don't use nowarnings.
16829 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
16831 * gdb.dwarf2/dw2-ranges-base.c: New file.
16832 * gdb.dwarf2/dw2-ranges-base.exp: New file.
16833 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
16834 support additional line table, and debug ranges generation.
16835 (Dwarf::ranges): New function, generate .debug_ranges.
16836 (Dwarf::lines): Support generating simple line table programs.
16837 (Dwarf::assemble): Initialise new namespace variables.
16839 2015-12-09 Kevin Buettner <kevinb@redhat.com>
16841 * gdb.base/async.exp (proc test_background): Add case for
16842 asynchronous execution not supported.
16844 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
16846 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
16847 format and change test names to make them unique.
16849 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
16850 Pedro Alves <pedro@redhat.com>
16853 Add checking of floatformats setup on x86_64 hosts.
16854 * gdb.arch/i386-float.S (main): Load bigval and smallval.
16855 (smallval, bigval): New labels/constants.
16856 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
16857 float" after loading bigval and smallval.
16859 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
16861 * gdb.ada/fun_overload_menu.exp: New testcase.
16862 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
16864 2015-12-04 Josh Stone <jistone@redhat.com>
16866 * gdb.base/catch-fork-static.exp: New.
16868 2015-12-03 Yao Qi <yao.qi@linaro.org>
16870 * gdb.base/sizeof.c: Don't include stdio.h and
16871 ../lib/unbuffer_output.c.
16872 (main): New variable 'size' and 'value'. Remove printf and
16873 gdb_unbuffer_output. Assign return value to size and value.
16874 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
16876 (check_sizeof): Check the result by printing variable 'size'.
16877 (check_valueof): Check the result by printing variable 'value'.
16879 2015-12-01 Yao Qi <yao.qi@linaro.org>
16881 * gdb.base/disp-step-syscall.exp: Define syscall instruction
16882 for aarch64*-*-linux* target.
16884 2015-11-30 Pedro Alves <palves@redhat.com>
16886 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
16888 2015-11-30 Pedro Alves <palves@redhat.com>
16890 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
16891 Handle non-stop mode vCont replies.
16893 2015-11-30 Pedro Alves <palves@redhat.com>
16895 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
16896 prepare_for_testing. Start gdb with "set non-stop on" appended to
16897 GDBFLAGS. Lax expected stop output.
16899 2015-11-27 Yao Qi <yao.qi@linaro.org>
16901 * gdb.arch/arm-neon.exp: New.
16902 * gdb.arch/arm-neon.c: New.
16904 2015-11-27 Yao Qi <yao.qi@linaro.org>
16906 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
16908 2015-11-27 Yao Qi <yao.qi@linaro.org>
16910 * gdb.cp/annota2.exp: Allow multiple occurrences of the
16911 frames-invalid annotation.
16913 2015-11-27 Yao Qi <yao.qi@linaro.org>
16915 * gdb.cp/annota2.exp: Use ${frames_invalid}.
16917 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
16919 * gdb.threads/names.exp: New file.
16920 * gdb.threads/names.c: New file.
16921 * README: Mention gdb,no_thread_names.
16923 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
16926 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
16929 2015-11-24 Pedro Alves <palves@redhat.com>
16932 * gdb.base/display.exp: Expect displays to be sorted in ascending
16933 order. Use multi_line.
16934 * gdb.base/solib-display.exp: Likewise.
16936 2015-11-24 Pedro Alves <palves@redhat.com>
16939 * gdb.base/display.exp: Expect displays to be sorted in ascending
16940 order. Use multi_line.
16941 * gdb.base/solib-display.exp: Likewise.
16943 2015-11-24 Pedro Alves <palves@redhat.com>
16946 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
16947 threads in ascending order.
16948 * gdb.base/foll-fork.exp: Likewise.
16949 * gdb.base/foll-vfork.exp: Likewise.
16950 * gdb.base/multi-forks.exp: Likewise.
16951 * gdb.mi/mi-nonstop.exp: Likewise.
16952 * gdb.mi/mi-nsintrall.exp: Likewise.
16953 * gdb.multi/base.exp: Likewise.
16954 * gdb.multi/multi-arch.exp: Likewise.
16955 * gdb.python/py-inferior.exp: Likewise.
16956 * gdb.threads/break-while-running.exp: Likewise.
16957 * gdb.threads/execl.exp: Likewise.
16958 * gdb.threads/gcore-thread.exp: Likewise.
16959 * gdb.threads/info-threads-cur-sal.exp: Likewise.
16960 * gdb.threads/kill.exp: Likewise.
16961 * gdb.threads/linux-dp.exp: Likewise.
16962 * gdb.threads/multiple-step-overs.exp: Likewise.
16963 * gdb.threads/next-bp-other-thread.exp: Likewise.
16964 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
16965 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
16966 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
16967 * gdb.threads/thread-find.exp: Likewise.
16968 * gdb.threads/tls.exp: Likewise.
16969 * lib/mi-support.exp (mi_reverse_list): Delete.
16970 (mi_check_thread_states): No longer reverse list.
16972 2015-11-24 Pedro Alves <palves@redhat.com>
16974 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
16977 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
16979 * gdb.trace/actions.c: Include trace-common.h.
16980 (main): Add a location for a fast tracepoint.
16981 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
16982 the normal tracepoints.
16983 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
16985 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
16987 * save-trace.exp: Factor out code to these...
16988 (gdb_save_tracepoints): New.
16989 (gdb_load_tracepoints): New.
16990 (do_save_load_test): New.
16992 2015-11-23 Kevin Buettner <kevinb@redhat.com>
16994 * gdb.base/asmlabel.exp: New test.
16995 * gdb.base/asmlabel.c: New test case.
16997 2015-11-23 Joel Brobecker <brobecker@adacore.com>
16999 * gdb.base/wrong_frame_bt_full-main.c: New file.
17000 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
17001 * gdb.base/wrong_frame_bt_full.exp: New file.
17003 2015-11-23 Joel Brobecker <brobecker@adacore.com>
17005 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
17007 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
17009 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
17010 pstate register when comparing registers values in
17011 sparc64-*-linux-gnu targets to avoid spurious differences.
17013 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
17015 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
17017 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
17019 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
17020 as type argument to gdb_compile.
17021 * gdb.base/nested-subp2.exp: Likewise.
17022 * gdb.base/nested-subp3.exp: Likewise.
17024 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
17026 * lib/dwarf.exp (_note): Fix left shift of negative value.
17027 * gdb.trace/trace-condition.exp: Likewise.
17029 2015-11-13 Yao Qi <yao.qi@linaro.org>
17031 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
17032 comments about d10v.
17033 (test_scalar_returns): Likewise.
17034 * gdb.base/d10v.ld: Remove.
17035 * gdb.base/overlays.exp: Remove the target triplet checking for
17037 * gdb.base/structs.exp (test_struct_returns): Remove the
17038 comments about d10v.
17039 (test_struct_calls): Likewise.
17041 2015-11-13 Yao Qi <yao.qi@linaro.org>
17043 * gdb.base/gnu_vector.exp: Check the return value by "p res".
17044 * gdb.base/gnu_vector.c: Don't include stdio.h.
17045 (main): Don't print res and call add_some_intvecs.
17047 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
17049 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
17052 (func4): Use FAST_TRACEPOINT_LABEL.
17053 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
17056 (thread_function): Use FAST_TRACEPOINT_LABEL.
17057 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
17059 (marker): Use FAST_TRACEPOINT_LABEL.
17060 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
17061 (pendfunc1): Remove.
17062 (pendfunc): Use FAST_TRACEPOINT_LABEL.
17063 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
17065 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
17066 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
17069 (marker): Use FAST_TRACEPOINT_LABEL.
17070 * gdb.trace/trace-common.h: New header.
17071 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
17074 (marker): Use FAST_TRACEPOINT_LABEL.
17075 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
17077 (thread_function): Use FAST_TRACEPOINT_LABEL.
17079 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
17081 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
17083 * gdb.trace/change-loc.exp: Use global pcreg definition.
17084 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
17085 * gdb.trace/entry-values.exp: Use global spreg definition, add $
17087 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
17088 * gdb.trace/pending.exp: Likewise.
17089 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
17090 * gdb.trace/trace-break.exp: Likewise.
17091 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
17093 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
17094 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
17096 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
17098 2015-11-09 Joel Brobecker <brobecker@adacore.com>
17100 * gdb.ada/fin_fun_out: New testcase.
17102 2015-11-07 Kevin Buettner <kevinb@redhat.com>
17104 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
17105 value associated with DW_AT_byte_size.
17106 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
17107 constants for DW_AT_byte_size, DW_AT_lower_bound, and
17110 2015-11-07 Kevin Buettner <kevinb@redhat.com>
17112 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
17113 (gdb_target_symbol_prefix_flags): Define in terms of _asm
17115 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
17116 gdb.dwarf2/dw2-canonicalize-type.exp,
17117 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
17118 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
17119 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
17120 provided by gdb_target_symbol_prefix_flags_asm.
17121 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
17122 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
17123 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
17124 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
17125 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
17126 macros where needed). Use this macro for symbols which require
17127 the prefix provided by SYMBOL_PREFIX.
17129 2015-11-05 Kevin Buettner <kevinb@redhat.com>
17131 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
17133 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
17134 representing expressions, of more than one list element.
17135 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
17136 to prepend linker symbol prefix to f.
17137 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
17138 table_1 and table_2.
17139 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
17140 Likewise, for f and g.
17141 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
17143 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
17145 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
17146 table_1_ptr and table_2_ptr.
17148 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17149 Joel Brobecker <brobecker@adacore.com>
17151 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
17153 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
17155 * gdb.reverse/s390-mvcle.c: New test.
17156 * gdb.reverse/s390-mvcle.exp: New file.
17157 * lib/gdb.exp: Enable reverse tests on s390*-linux.
17159 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
17161 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
17163 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
17165 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
17167 * gdb.reverse/getresuid-reverse.exp: Likewise.
17168 * gdb.reverse/pipe-reverse.exp: Likewise.
17169 * gdb.reverse/readv-reverse.exp: Likewise.
17170 * gdb.reverse/recvmsg-reverse.exp: Likewise.
17171 * gdb.reverse/time-reverse.exp: Likewise.
17172 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
17174 2015-10-30 Yao Qi <yao.qi@linaro.org>
17176 * gdb.threads/wp-replication.c (watch_count_done): Remove.
17177 (empty_cycle): Remove.
17178 (main): Don't call empty_cycle. Don't use watch_count_done.
17179 * gdb.threads/wp-replication.exp: Don't set breakpoint on
17180 empty_cycle. Rewrite the code counting HW watchpoints.
17182 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
17184 * gdb.reverse/fstatat-reverse.c: New test.
17185 * gdb.reverse/fstatat-reverse.exp: New file.
17186 * gdb.reverse/getresuid-reverse.c: New test.
17187 * gdb.reverse/getresuid-reverse.exp: New file.
17188 * gdb.reverse/pipe-reverse.c: New test.
17189 * gdb.reverse/pipe-reverse.exp: New file.
17190 * gdb.reverse/readv-reverse.c: New test.
17191 * gdb.reverse/readv-reverse.exp: New file.
17192 * gdb.reverse/recvmsg-reverse.c: New test.
17193 * gdb.reverse/recvmsg-reverse.exp: New file.
17194 * gdb.reverse/time-reverse.c: New test.
17195 * gdb.reverse/time-reverse.exp: New file.
17196 * gdb.reverse/waitpid-reverse.c: New test.
17197 * gdb.reverse/waitpid-reverse.exp: New file.
17199 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
17201 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
17203 2015-10-26 Doug Evans <dje@google.com>
17206 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
17207 * gdb.dwarf2/bad-regnum.c: New file.
17208 * gdb.dwarf2/bad-regnum.exp: New file.
17210 2015-10-26 Doug Evans <dje@google.com>
17213 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
17216 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17218 * gdb.compile/compile.exp (compile code globalvar): Update expectation
17219 for a change by "Mention language in compile error message".
17221 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
17224 * gdb.python/py-type.c (C::a_method): New.
17225 (C::a_const_method): New.
17226 (C::a_static_method): New.
17228 * gdb.python/py-type.exp (test_fields): Test getting fields
17229 from function and method.
17231 2015-10-21 Keven Boell <keven.boell@intel.com>
17233 * gdb.fortran/vla-alloc-assoc.exp: New file.
17234 * gdb.fortran/vla-datatypes.exp: New file.
17235 * gdb.fortran/vla-datatypes.f90: New file.
17236 * gdb.fortran/vla-history.exp: New file.
17237 * gdb.fortran/vla-ptype-sub.exp: New file.
17238 * gdb.fortran/vla-ptype.exp: New file.
17239 * gdb.fortran/vla-sizeof.exp: New file.
17240 * gdb.fortran/vla-sub.f90: New file.
17241 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
17242 * gdb.fortran/vla-value-sub-finish.exp: New file.
17243 * gdb.fortran/vla-value-sub.exp: New file.
17244 * gdb.fortran/vla-value.exp: New file.
17245 * gdb.fortran/vla-ptr-info.exp: New file.
17246 * gdb.mi/mi-vla-fortran.exp: New file.
17247 * gdb.mi/vla.f90: New file.
17249 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
17251 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
17252 of hardwired timeout value.
17254 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
17255 Pedro Alves <palves@redhat.com>
17257 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
17258 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
17260 2015-10-19 Josh Stone <jistone@redhat.com>
17262 * gdb.base/catch-syscall.c: Include <sched.h>.
17263 (unknown_syscall): New variable.
17264 (main): Trigger a vfork and an unknown syscall.
17265 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
17266 (unknown_syscall_number): Likewise.
17267 (check_call_to_syscall): Accept an optional syscall pattern.
17268 (check_return_from_syscall): Likewise.
17269 (check_continue): Likewise.
17270 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
17271 (test_catch_syscall_skipping_return): New test toggling off 'catch
17272 syscall' to step over the syscall return, then toggling back on.
17273 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
17274 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
17275 (do_syscall_tests): Call test_catch_syscall_without_args and
17276 test_catch_syscall_mid_vfork.
17277 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
17278 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
17280 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
17282 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
17283 print g_vE): Add new pass patterns.
17284 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
17285 print various symbol names for vptr fields.
17287 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
17289 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
17292 2015-10-12 Yao Qi <yao.qi@linaro.org>
17294 * gdb.arch/disp-step-insn-reloc.exp: New test case.
17296 2015-10-12 Yao Qi <yao.qi@linaro.org>
17298 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
17299 is aarch64*-*-linux*.
17301 2015-10-12 Yao Qi <yao.qi@linaro.org>
17303 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
17304 (can_relocate_bcond_true): ... it.
17305 (can_relocate_bcond_false): New function.
17307 (can_relocate_bl): Likewise.
17308 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
17311 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
17313 * gdb.base/nested-addr.c: New file.
17314 * gdb.base/nested-addr.exp: New testcase.
17316 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
17318 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
17319 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
17320 its output. Ignore the output of "record goto begin" and instead
17321 check that GDB is replaying.
17323 2015-10-09 Pedro Alves <palves@redhat.com>
17325 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
17326 (top level): Use it in the run with no args test.
17328 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
17330 * gdb.dlang/properties.exp: New file.
17332 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
17334 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
17335 whether or not address 0x1000 is mapped on the target.
17337 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
17339 * gdb.python/py-type.exp: Do not run tests if binaries fail to
17342 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
17344 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
17345 instruction-history test.
17347 2015-09-28 Doug Evans <dje@google.com>
17349 * gdb.base/gcore.c (array_func): Add reference to static_array.
17351 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
17353 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
17356 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
17358 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
17359 short or char as base type.
17361 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
17363 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
17364 to allow any size enum.
17366 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
17368 * gdb.ada/array_ptr_renaming.exp: New testcase.
17369 * gdb.ada/array_ptr_renaming/foo.adb: New file.
17370 * gdb.ada/array_ptr_renaming/pack.ads: New file.
17372 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17374 * gdb.trace/ftrace-lock.c: New file.
17375 * gdb.trace/ftrace-lock.exp: New file.
17377 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17379 * gdb.arch/insn-reloc.c: New file.
17380 * gdb.arch/ftrace-insn-reloc.exp: New file.
17382 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
17384 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
17386 * gdb.trace/pendshr1.c (pendfunc): Likewise.
17387 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
17388 * gdb.trace/range-stepping.c: Likewise.
17389 * gdb.trace/trace-break.c: Likewise.
17390 * gdb.trace/trace-mt.c (thread_function): Likewise.
17391 * gdb.trace/ftrace.c (marker): Likewise.
17392 * gdb.trace/trace-condition.c (marker): Likewise.
17393 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
17394 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
17397 2015-09-18 Doug Evans <xdje42@gmail.com>
17399 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
17400 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
17402 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17404 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
17407 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17409 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
17410 the pending breakpoint. Remove timeout override for "Run till
17411 MI pending breakpoint on pendfunc3 on thread 2" test.
17413 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17415 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
17418 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17420 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
17421 in breakpoint filename pattern.
17423 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17425 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
17427 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
17429 * gdb.linespec/explicit.exp: Check for readline support for
17430 tab-completion tests. Fix obvious typo.
17432 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
17434 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
17437 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
17439 * gdb.btrace/non-stop.c: New.
17440 * gdb.btrace/non-stop.exp: New.
17442 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
17443 Yao Qi <yao.qi@linaro.org>
17445 * gdb.trace/trace-condition.c: New file.
17446 * gdb.trace/trace-condition.exp: New file.
17448 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
17450 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
17451 for testing bytecode compilation.
17453 2015-09-16 Pedro Alves <palves@redhat.com>
17454 Sandra Loosemore <sandra@codesourcery.com>
17456 * gdb.threads/non-stop-fair-events.c (timeout): New global.
17457 (SECONDS): Redefine.
17458 (main): Call pthread_kill and alarm early.
17459 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
17461 (test): If the target can't hardware step and doesn't support
17462 displaced stepping, increase the timeout.
17464 2015-09-16 Pedro Alves <palves@redhat.com>
17466 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
17467 (enable_debug): New procedures.
17468 (test): Use them. Bail out if waiting for threads fails.
17469 (top level): Bail out if a test fails.
17471 2015-09-16 Yao Qi <yao.qi@linaro.org>
17473 * gdb.asm/asm-source.exp: Set asm-arch for
17474 aarch64*-*-* target.
17475 * gdb.asm/aarch64.inc: New file.
17477 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
17479 * gdb.ada/array_of_variable_length.exp: New testcase.
17480 * gdb.ada/array_of_variable_length/foo.adb: New file.
17481 * gdb.ada/array_of_variable_length/pck.adb: New file.
17482 * gdb.ada/array_of_variable_length/pck.ads: New file.
17484 2015-09-15 Doug Evans <dje@google.com>
17486 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
17487 of function static local variable.
17489 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
17491 * gdb.threads/tls-so_extern.exp: New test file.
17492 * gdb.threads/tls-so_extern.c: New test file.
17493 * gdb.threads/tls-so_extern_main.c: New test file.
17495 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
17497 * gdb.opt/solib-intra-step-lib.c: New file.
17498 * gdb.opt/solib-intra-step-main.c: New file.
17499 * gdb.opt/solib-intra-step.exp: New file.
17501 2015-09-15 Pedro Alves <palves@redhat.com>
17503 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
17504 gdb_continue_to_breakpoint instead of gdb_test_multiple.
17506 2015-09-14 Pedro Alves <palves@redhat.com>
17508 * gdb.base/hook-stop-continue.c: Delete.
17509 * gdb.base/hook-stop-continue.exp: Delete.
17510 * gdb.base/hook-stop-frame.c: Delete.
17511 * gdb.base/hook-stop-frame.exp: Delete.
17512 * gdb.base/hook-stop.c: New file.
17513 * gdb.base/hook-stop.exp: New file.
17515 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
17517 * gdb.ada/access_to_packed_array.exp: New testcase.
17518 * gdb.ada/access_to_packed_array/foo.adb: New file.
17519 * gdb.ada/access_to_packed_array/pack.adb: New file.
17520 * gdb.ada/access_to_packed_array/pack.ads: New file.
17522 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
17524 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
17527 2015-09-11 Don Breazeal <donb@codesourcery.com>
17529 * gdb.base/foll-exec.c: Add copyright header. Fix
17531 * gdb.base/foll-exec.exp (zap_session): Delete proc.
17532 (do_exec_tests): Use clean_restart in place of zap_session,
17533 and for test initialization. Fix formatting issues. Use
17534 fail in place of perror.
17535 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
17536 an expect statement to match an expression with output from
17537 the program under debug.
17538 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
17539 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
17540 * gdb.threads/non-ldr-exc-2.exp: Likewise.
17541 * gdb.threads/non-ldr-exc-3.exp: Likewise.
17542 * gdb.threads/non-ldr-exc-4.exp: Likewise.
17544 2015-09-09 Doug Evans <dje@google.com>
17546 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
17548 2015-09-09 Doug Evans <dje@google.com>
17550 * gdb.base/pie-execl.exp: Fix result test of build_executable.
17552 2015-09-09 Doug Evans <dje@google.com>
17554 * gdb.base/savedregs.exp: Fix typo.
17556 2015-09-09 Pedro Alves <palves@redhat.com>
17558 * gdb.mi/mi-cli.exp: Add CLI finish tests.
17560 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
17562 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
17563 command actually switches threads. Give up on remaining
17564 tests if target fails to stop at breakpoint.
17566 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
17568 * gdb.ada/funcall_char.exp: New testcase.
17569 * gdb.ada/funcall_char/foo.adb: New file.
17571 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
17573 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
17574 expected outputs. Add two testcases for completing ambiguous
17576 * gdb.ada/complete/aux_pck.adb: New file.
17577 * gdb.ada/complete/aux_pck.ads: New file.
17578 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
17579 Ambiguous_Func functions.
17580 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
17581 * gdb.ada/complete/pck.adb: Likewise.
17583 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
17585 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
17586 failures to run the test program under GDB.
17588 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
17590 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
17593 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
17595 * gdb.base/run-after-attach.exp: New test file.
17596 * gdb.base/run-after-attach.c: New test file.
17598 2015-08-26 Don Breazeal <donb@codesourcery.com>
17600 * gdb.base/foll-exec-2.c: New test program.
17601 * gdb.base/foll-exec-2.exp: New test.
17603 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
17605 * gdb.base/nested-subp1.exp: New file.
17606 * gdb.base/nested-subp1.c: New file.
17607 * gdb.base/nested-subp2.exp: New file.
17608 * gdb.base/nested-subp2.c: New file.
17609 * gdb.base/nested-subp3.exp: New file.
17610 * gdb.base/nested-subp3.c: New file.
17612 2015-08-24 Pedro Alves <palves@redhat.com>
17614 * gdb.server/connect-without-multi-process.c: New file.
17615 * gdb.server/connect-without-multi-process.exp: New file.
17617 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
17619 * gdb.opt/inline-markers.c: Make z int.
17621 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
17623 * gdb.opt/inline-markers.c: Make z volatile.
17625 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
17627 * gdb.opt/inline-bt.c: New volatile global z.
17628 * gdb.opt/inline-cmds.c: Likewise.
17629 * gdb.opt/inline-locals.c: Likewise.
17630 * gdb.opt/inline-markers.c: New extern global z.
17632 (inline_fn): Likewise.
17634 2015-08-24 Pedro Alves <palves@redhat.com>
17636 * config/m32r-stub.exp: Remove file.
17637 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
17638 * gdb.base/call-rt-st.exp: Likewise.
17639 * gdb.base/call-strs.exp: Likewise.
17640 * gdb.base/default.exp: Remove references to h8300-*-hms and
17642 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
17644 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
17646 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
17647 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
17648 and "return" use KFAIL when GDB can not read/write the vector
17651 2015-08-21 Gary Benson <gbenson@redhat.com>
17653 * gdb.trace/pending.exp: Cope with remote transfer warnings.
17655 2015-08-20 Pedro Alves <palves@redhat.com>
17657 * gdb.server/solib-list.exp: No longer expect an interior stop in
17660 2015-08-20 Pedro Alves <palves@redhat.com>
17662 * gdb.server/connect-stopped-target.c: New file.
17663 * gdb.server/connect-stopped-target.exp: New file.
17665 2015-08-20 Pedro Alves <palves@redhat.com>
17667 * gdb.dwarf2/comp-unit-lang.exp: New file.
17668 * gdb.dwarf2/comp-unit-lang.c: New file.
17670 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
17672 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
17673 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
17675 2015-08-19 Kevin Buettner <kevinb@redhat.com>
17677 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
17678 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
17680 2015-08-18 Doug Evans <dje@google.com>
17681 Adrian Sendroiu <adrian.sendroiu@freescale.com>
17683 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
17684 skip_python_tests. New arg prompt_regexp.
17685 (skip_python_tests): New function.
17686 * lib/mi-support.exp (mi_skip_python_tests): New function.
17687 * gdb.python/py-mi-objfile-gdb.py: New file.
17688 * gdb.python/py-mi-objfile.c: New file.
17689 * gdb.python/py-mi-objfile.exp: New file.
17691 2015-08-17 Keith Seitz <keiths@redhat.com>
17693 * gdb.linespec/explicit.exp: Move strace test from here ...
17694 * gdb.trace/strace.exp: ... to here.
17696 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
17698 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
17699 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
17701 2015-08-14 Doug Evans <xdje42@gmail.com>
17703 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
17704 inferior before selecting a new file.
17706 2015-08-14 Doug Evans <xdje42@gmail.com>
17708 * gdb.mi/mi-disassemble.exp: Update.
17709 * gdb.base/disasm-optim.S: New file.
17710 * gdb.base/disasm-optim.c: New file.
17711 * gdb.base/disasm-optim.h: New file.
17712 * gdb.base/disasm-optim.exp: New file.
17714 2015-08-14 Keith Seitz <keiths@redhat.com>
17716 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
17719 2015-08-13 Joel Brobecker <brobecker@adacore.com>
17721 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
17723 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
17725 * gdb.ada/fun_renaming.exp: New testcase.
17726 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
17727 * gdb.ada/fun_renaming/pack.adb: New file.
17728 * gdb.ada/fun_renaming/pack.ads: New file.
17730 2015-08-12 Keith Seitz <keiths@redhat.com>
17732 * gdb.base/dso2dso.exp: Pass basename of source file in call to
17733 gdb_get_line_number.
17735 2015-08-12 Joel Brobecker <brobecker@adacore.com>
17737 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
17738 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
17739 gdb.base/dso2dso.exp: New files.
17741 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
17742 Pedro Alves <palves@redhat.com>
17743 Keith Seitz <keiths@redhat.com>
17745 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
17748 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
17750 * gdb.base/gdbhistsize-history.exp
17751 (test_histsize_history_setting): Use save_vars.
17752 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
17754 (test_no_truncation_of_unlimited_history_file): Use save_vars.
17755 * gdb.base/readline.exp: Use save_vars.
17757 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
17759 * lib/gdb.exp (save_vars): New proc.
17761 2015-08-11 Keith Seitz <keiths@redhat.com>
17763 * gdb.base/help.exp: Update help_breakpoint_text.
17765 2015-08-11 Keith Seitz <keiths@redhat.com>
17767 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
17768 (at toplevel): Call test_explicit_breakpoints.
17769 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
17771 * lib/mi-support.exp (mi_make_breakpoint): Add support for
17772 breakpoint conditions, "-cond".
17774 2015-08-11 Keith Seitz <keiths@redhat.com>
17776 * gdb.linespec/3explicit.c: New file.
17777 * gdb.linespec/cpexplicit.cc: New file.
17778 * gdb.linespec/cpexplicit.exp: New file.
17779 * gdb.linespec/explicit.c: New file.
17780 * gdb.linespec/explicit.exp: New file.
17781 * gdb.linespec/explicit2.c: New file.
17782 * gdb.linespec/ls-errs.exp: Add explicit location tests.
17783 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
17784 before using in the matching pattern.
17785 Clarify that `prefix' is a regular expression.
17787 2015-08-11 Keith Seitz <keiths@redhat.com>
17789 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
17791 Add tests for missing ",FMT" and ",".
17793 2015-08-10 Doug Evans <dje@google.com>
17794 Keith Seitz <keiths@redhat.com>
17797 * gdb.base/completion.exp: Add location completer tests.
17799 2015-08-07 Pedro Alves <palves@redhat.com>
17801 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
17803 (top level): Run do_test with and without displaced stepping.
17805 2015-08-07 Pedro Alves <palves@redhat.com>
17807 * gdb.base/valgrind-disp-step.c: New file.
17808 * gdb.base/valgrind-disp-step.exp: New file.
17810 2015-08-07 Pedro Alves <palves@redhat.com>
17812 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
17814 (main): Add alarm. Run an infinite loop instead of calling
17816 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
17818 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
17820 (main): Add alarm. Run an infinite loop instead of calling
17822 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
17825 2015-08-07 Pedro Alves <palves@redhat.com>
17827 * gdb.base/checkpoint-ns.exp: New file.
17828 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
17831 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
17833 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
17834 * gdb.btrace/instruction_history.exp: Update.
17835 * gdb.btrace/tsx.exp: New.
17836 * gdb.btrace/tsx.c: New.
17838 2015-08-06 Pedro Alves <palves@redhat.com>
17840 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
17842 * gdb.reverse/until-precsave.exp: Bump timeouts.
17844 2015-08-06 Pedro Alves <palves@redhat.com>
17846 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
17848 2015-08-06 Pedro Alves <palves@redhat.com>
17851 * gdb.threads/process-dies-while-handling-bp.c: New file.
17852 * gdb.threads/process-dies-while-handling-bp.exp: New file.
17854 2015-08-06 Pedro Alves <palves@redhat.com>
17856 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
17857 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
17859 2015-08-05 Pedro Alves <palves@redhat.com>
17861 * gdb.threads/next-while-other-thread-longjmps.c: New file.
17862 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
17864 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
17866 * gdb.base/bp-permanent.exp: Report test as unsupported if
17867 the target cannot stop at the permanent breakpoint.
17869 2015-08-03 Doug Evans <dje@google.com>
17871 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
17874 2015-08-03 Doug Evans <dje@google.com>
17876 * Makefile.in (workers/%.worker, build-perf): New rule.
17877 (GDB_PERFTEST_MODE): New variable.
17878 (check-perf): Use it.
17879 (clean): Clean up gdb.perf parallel build subdirs.
17880 * lib/build-piece.exp: New file.
17881 * lib/gdb.exp (make_gdb_parallel_path): New function
17882 (standard_output_file, standard_temp_file): Call it.
17883 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
17885 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
17887 2015-08-03 Doug Evans <dje@google.com>
17889 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
17890 (LOG_FILE_NAME): New global.
17891 (TextReporter.__init__): Initialize self.txt_sum.
17892 (TextReporter.report): Add support for multiple data-points.
17893 Move report to perftest.sum, put raw data in perftest.log.
17894 (TextReporter.start): Open sum and log files.
17895 (TextReporter.end): Close sum and log files.
17896 * gdb.perf/lib/perftest/testresult.py
17897 (SingleStatisticTestResult.record): Handle multiple data-points.
17899 2015-07-31 Pedro Alves <palves@redhat.com>
17901 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
17902 Use spawn_id_get_pid. Wait for spawn id after eof. Use
17903 kill_wait_spawned_process instead of explicit "kill -9".
17904 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
17905 returning a spawn id instead of a pid. Use spawn_id_get_pid and
17906 kill_wait_spawned_process.
17907 * gdb.base/attach-twice.exp: Likewise.
17908 * gdb.base/attach.exp: Likewise.
17909 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
17911 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
17912 returning a spawn id instead of a pid. Use spawn_id_get_pid and
17913 kill_wait_spawned_process.
17914 * gdb.base/valgrind-infcall.exp: Likewise.
17915 * gdb.multi/multi-attach.exp: Likewise.
17916 * gdb.python/py-prompt.exp: Likewise.
17917 * gdb.python/py-sync-interp.exp: Likewise.
17918 * gdb.server/ext-attach.exp: Likewise.
17919 * gdb.threads/attach-into-signal.exp (corefunc): Use
17920 spawn_wait_for_attach, spawn_id_get_pid and
17921 kill_wait_spawned_process.
17922 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
17923 spawn_wait_for_attach returning a spawn id instead of a pid. Use
17924 spawn_id_get_pid and kill_wait_spawned_process.
17925 * gdb.threads/attach-stopped.exp (corefunc): Use
17926 spawn_wait_for_attach, spawn_id_get_pid and
17927 kill_wait_spawned_process.
17928 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
17929 Use spawn_id_get_pid. Wait for spawn id after eof. Use
17930 kill_wait_spawned_process instead of explicit "kill -9".
17931 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
17932 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
17933 (spawn_wait_for_attach): Use spawn instead of exec to spawn
17934 processes. Don't map cygwin/windows pids here. Now returns a
17937 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
17939 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
17940 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
17943 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
17945 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
17947 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
17950 2014-05-21 Mark Wielaard <mjw@redhat.com>
17952 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
17954 2015-07-30 Pedro Alves <palves@redhat.com>
17956 * linux-low.c (handle_extended_wait): Set the child's last
17957 reported status to TARGET_WAITKIND_STOPPED.
17959 2015-07-30 Pedro Alves <palves@redhat.com>
17962 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
17963 only shows inferior 1.
17965 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
17966 Pedro Alves <palves@redhat.com>
17969 * gdb.threads/fork-plus-threads.c: New file.
17970 * gdb.threads/fork-plus-threads.exp: New file.
17972 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17974 * gdb.base/batch-preserve-term-settings.exp
17975 (test_terminal_settings_preserved_after_cli_exit): Use
17978 2015-07-29 Pedro Alves <palves@redhat.com>
17979 Don Breazeal <donb@codesourcery.com>
17981 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
17982 output from both inferior_spawn_id and gdb_spawn_id.
17984 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
17986 * gdb.threads/attach-into-signal.exp (corefunc): Use
17987 with_test_prefix on nested loops, uniquefying the test messages.
17989 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
17991 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
17994 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17996 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
17998 (test_terminal_settings_preserved_after_sigterm): New test.
18000 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18002 * gdb.base/batch-preserve-term-settings.exp
18003 (test_terminal_settings_preserved_after_cli_exit): New test.
18005 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
18007 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
18008 manipulation of saved_gdbflags.
18009 (test_terminal_settings_preserved): Remove global declaration of
18010 the unused variable pagination_prompt. Remove manipulation of
18011 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
18014 2015-07-29 Pedro Alves <palves@redhat.com>
18016 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
18018 2015-07-29 Pedro Alves <palves@redhat.com>
18020 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
18023 2015-07-29 Pedro Alves <palves@redhat.com>
18025 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
18026 (main): Call gdb_unbuffer_output.
18027 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
18028 (main): Call gdb_unbuffer_output.
18029 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
18030 (main): Call gdb_unbuffer_output.
18031 * gdb.base/call-strs.exp: Adjust to step over the
18032 gdb_unbuffer_output call.
18033 * gdb.base/catch-gdb-caused-signals.c: Include
18034 "../lib/unbuffer_output.c".
18035 (main): Call gdb_unbuffer_output.
18036 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
18037 (main): Call gdb_unbuffer_output.
18038 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
18039 (main): Call gdb_unbuffer_output.
18040 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
18041 (main): Call gdb_unbuffer_output.
18042 * gdb.base/shlib-call.exp: Adjust to step over the
18043 gdb_unbuffer_output call.
18044 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
18045 (main): Call gdb_unbuffer_output.
18046 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
18047 (main): Call gdb_unbuffer_output.
18048 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
18049 (main): Rename to ...
18051 (main): Reimplement.
18052 * gdb.base/varargs.exp: Run to test instead of to main.
18053 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
18054 (main): Call gdb_unbuffer_output.
18056 2015-07-29 Pedro Alves <palves@redhat.com>
18058 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
18059 factore out from mi_continue_dprintf. For call-style dprintfs,
18060 expect dprintf output out of $inferior_spawn_id.
18061 (mi_continue_dprintf): Use mi_expect_dprintf.
18062 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
18063 (main): Call gdb_unbuffer_output.
18065 2015-07-29 Pedro Alves <palves@redhat.com>
18067 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
18068 (default_mi_gdb_start): Set inferior_spawn_id instead of
18069 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
18071 (mi_gdb_test): Always expect inferior output from both
18072 $inferior_spawn_id and $gdb_spawn_id.
18074 2015-07-29 Pedro Alves <palves@redhat.com>
18076 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
18077 send_inferior and $inferior_spawn_id.
18079 2015-07-29 Pedro Alves <palves@redhat.com>
18081 * gdb.gdb/complaints.exp (test_initial_complaints)
18082 (test_serial_complaints, test_short_complaints): Use
18084 (test_empty_complaint): Handle $inferior_spawn_id !=
18087 2015-07-29 Pedro Alves <palves@redhat.com>
18089 * gdb.base/varargs.exp: Use gdb_test_stdio.
18091 2015-07-29 Pedro Alves <palves@redhat.com>
18093 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
18095 2015-07-29 Pedro Alves <palves@redhat.com>
18097 * gdb.base/ending-run.exp: Use gdb_test_stdio.
18099 2015-07-29 Pedro Alves <palves@redhat.com>
18101 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
18102 parameter into two new parameters, "inf_result" and "gdb_result".
18103 Expect inferior output and gdb output from $inferior_spawn_id and
18104 $gdb_spawn_id, respectively. Adjust all callers.
18106 2015-07-29 Pedro Alves <palves@redhat.com>
18108 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
18109 of gdb_test_sequence.
18111 2015-07-29 Pedro Alves <palves@redhat.com>
18113 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
18114 (saw_spurious_output): Expect inferior output from
18115 $inferior_spawn_id. Use gdb_test_stdio.
18117 2015-07-29 Pedro Alves <palves@redhat.com>
18119 * gdb.base/dprintf.exp: Use standard_testfile. Change
18120 prepare_for_testing call.
18121 (srcfile): Don't set.
18122 (restart): New procedure.
18123 (test_dprintf): New procecure, use to continue over dprintfs.
18124 (test_call, test_agent): New procedures, tests moved here.
18125 Restart gdb and recreate dprintfs. Adjust expected output.
18127 2015-07-29 Pedro Alves <palves@redhat.com>
18129 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
18131 2015-07-29 Pedro Alves <palves@redhat.com>
18133 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
18135 2015-07-29 Pedro Alves <palves@redhat.com>
18137 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
18140 2015-07-29 Pedro Alves <palves@redhat.com>
18142 * lib/gdb.exp (gdb_test_stdio): New procedure.
18144 2015-07-29 Pedro Alves <palves@redhat.com>
18146 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
18148 2015-07-29 Pedro Alves <palves@redhat.com>
18150 * gdb.base/call-signal-resume.exp: Remove check for
18151 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
18152 * gdb.base/unwindonsignal.exp: Likewise.
18153 * gdb.base/call-signals.c (gen_signal): Remove printf call.
18154 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
18156 2015-07-29 Pedro Alves <palves@redhat.com>
18158 * gdb.base/siginfo-addr.c (pass): New function.
18159 (handler): Call it iff si_addr is correct.
18160 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
18161 Set a breakpoint at "pass" and continue to it.
18163 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
18165 * gdb.python/py-objfile.exp: Make some tests have unique names.
18166 * gdb.python/py-pp-registration.exp: Likewise.
18168 2015-07-28 Pedro Alves <palves@redhat.com>
18170 * gdb.server/server-exec-info.exp: Issue a "disconnect".
18172 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
18174 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
18176 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
18178 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
18180 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
18182 * gdb.base/gdb-sigterm-2.exp: New test.
18184 2015-07-25 Doug Evans <xdje42@gmail.com>
18187 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
18188 (workers/%.worker, build-perf): New rule.
18189 (GDB_PERFTEST_MODE): New variable.
18190 (check-perf): Use it.
18191 (clean): Clean up gdb.perf parallel build subdirs.
18192 * lib/build-piece.exp: New file.
18193 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
18194 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
18196 (standard_temp_file): Ditto.
18197 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18200 2015-07-24 Doug Evans <dje@google.com>
18202 * gdb.perf/lib/perftest/utils.py: New file.
18203 * gdb.perf/gm-hello.cc: New file.
18204 * gdb.perf/gm-pervasive-typedef.cc: New file.
18205 * gdb.perf/gm-pervasive-typedef.h: New file.
18206 * gdb.perf/gm-std.cc: New file.
18207 * gdb.perf/gm-std.h: New file.
18208 * gdb.perf/gm-use-cerr.cc: New file.
18209 * gdb.perf/gm-utils.h: New file.
18210 * gdb.perf/gmonster-null-lookup.py: New file.
18211 * gdb.perf/gmonster-pervasive-typedef.py: New file.
18212 * gdb.perf/gmonster-print-cerr.py: New file.
18213 * gdb.perf/gmonster-ptype-string.py: New file.
18214 * gdb.perf/gmonster-runto-main.py: New file.
18215 * gdb.perf/gmonster-select-file.py: New file.
18216 * gdb.perf/gmonster1-null-lookup.exp: New file.
18217 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
18218 * gdb.perf/gmonster1-print-cerr.exp: New file.
18219 * gdb.perf/gmonster1-ptype-string.exp: New file.
18220 * gdb.perf/gmonster1-runto-main.exp: New file.
18221 * gdb.perf/gmonster1-select-file.exp: New file.
18222 * gdb.perf/gmonster1.cc: New file.
18223 * gdb.perf/gmonster1.exp: New file.
18224 * gdb.perf/gmonster2-null-lookup.exp: New file.
18225 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
18226 * gdb.perf/gmonster2-print-cerr.exp: New file.
18227 * gdb.perf/gmonster2-ptype-string.exp: New file.
18228 * gdb.perf/gmonster2-runto-main.exp: New file.
18229 * gdb.perf/gmonster2-select-file.exp: New file.
18230 * gdb.perf/gmonster2.cc: New file.
18231 * gdb.perf/gmonster2.exp: New file.
18233 2015-07-24 Doug Evans <dje@google.com>
18235 * gdb.perf/README: New file.
18236 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
18237 * lib/gen-perf-test.exp: New file.
18239 2015-07-24 Doug Evans <dje@google.com>
18241 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
18242 (PerfTest::startup): New function.
18243 (PerfTest::run): Return result of calling body.
18244 (PerfTest::assemble): Rewrite.
18245 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
18246 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
18247 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
18248 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
18249 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
18251 2015-07-24 Doug Evans <dje@google.com>
18253 * lib/gdb.exp (clean_restart): Make executable optional.
18255 2015-07-24 Doug Evans <dje@google.com>
18257 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
18258 compiler_info references.
18259 * gdb.cp/temargs.exp: Ditto.
18260 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
18261 (get_compiler_info): Early exit if already computed. Set compiler_info
18262 to "unknown" if there was a problem.
18263 (test_compiler_info): Add function comment. Call get_compiler_info.
18265 2015-07-24 Doug Evans <dje@google.com>
18267 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
18268 (workers/%.worker, build-perf): New rule.
18269 (GDB_PERFTEST_MODE): New variable.
18270 (check-perf): Use it.
18271 (clean): Clean up gdb.perf parallel build subdirs.
18272 * lib/build-piece.exp: New file.
18273 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
18274 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
18276 (standard_temp_file): Ditto.
18277 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
18280 2015-07-24 Doug Evans <dje@google.com>
18282 * lib/future.exp (gdb_default_target_compile): New option
18284 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
18287 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
18289 * gdb.base/catch-syscall.exp: Call gdb_exit before
18292 2015-07-24 Pedro Alves <palves@redhat.com>
18294 * gdb.python/py-events.exp: Accept output between the stop event
18296 * gdb.python/py-evsignal.exp: Likewise.
18297 * gdb.python/py-evthreads.exp: Likewise.
18299 2015-07-24 Pedro Alves <palves@redhat.com>
18302 * gdb.threads/non-ldr-exit.c: New file.
18303 * gdb.threads/non-ldr-exit.exp: New file.
18305 2015-07-24 Yao Qi <yao.qi@linaro.org>
18307 * gdb.server/ext-wrapper.exp: Test --wrapper option when
18308 restarting process.
18310 2015-07-24 Yao Qi <yao.qi@linaro.org>
18312 * gdb.server/ext-restart.exp: New file.
18314 2015-07-24 Yao Qi <yao.qi@linaro.org>
18316 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
18318 * gdb.server/ext-wrapper.exp: New file.
18320 2015-07-23 Doug Evans <dje@google.com>
18322 * gdb.dwarf2/dw2-dummy-cu.S: New file.
18323 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
18325 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
18327 * gdb.ada/var_arr_typedef.exp: New testcase.
18328 * gdb.ada/var_arr_typedef/pack.adb: New file.
18329 * gdb.ada/var_arr_typedef/pack.ads: New file.
18330 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
18332 2015-07-20 Joel Brobecker <brobecker@adacore.com>
18334 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
18336 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18338 * gdb.arch/i386-biarch-core.exp: Replace istarget
18339 by "complete set gnutarget". Remove expectation for the "core-file"
18342 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
18344 Revert the previous commit:
18345 Tests for validate symbol file using build-id.
18347 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
18349 Tests for validate symbol file using build-id.
18350 * gdb.base/solib-mismatch-lib.c: New file.
18351 * gdb.base/solib-mismatch-libmod.c: New file.
18352 * gdb.base/solib-mismatch.c: New file.
18353 * gdb.base/solib-mismatch.exp: New file.
18355 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
18357 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
18359 * gdb.base/sigbpt.exp (stepi_out): Likewise.
18360 * gdb.base/siginfo.exp: Likewise.
18361 * gdb.base/sigstep.exp (advance, advancei): Likewise.
18363 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
18365 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
18367 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
18369 * gdb.trace/range-stepping.exp: Check that the target supports
18372 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
18374 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
18376 2015-07-14 Pedro Alves <palves@redhat.com>
18378 * gdb.base/killed-outside.exp: New file.
18379 * gdb.base/killed-outside.c: New file.
18381 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
18383 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
18385 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
18387 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
18389 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
18390 infcall tests instead of setting up for KFAIL.
18392 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
18394 * gdb.btrace/record_goto-step.exp: New.
18396 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
18399 * gdb.compile/compile.c (struct struct_type): Add volatile to
18401 * gdb.compile/compile.exp
18402 (compile code struct_object.selffield = &struct_object): Skip further
18403 struct_object tests if this one xfails.
18405 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
18408 * gdb.trace/ax.exp: Add test.
18410 2015-07-07 Yao Qi <yao.qi@linaro.org>
18412 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
18413 instead of istarget "aarch64*-*-*".
18414 * gdb.arch/aarch64-fp.exp: Likewise.
18415 * gdb.base/float.exp: Likewise.
18416 * gdb.reverse/aarch64.exp: Likewise.
18417 * lib/gdb.exp (is_aarch64_target): New proc.
18419 2015-07-07 Yao Qi <yao.qi@linaro.org>
18421 * lib/gdb.exp (is_aarch32_target): New proc.
18422 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
18423 instead of "istarget "arm*-*-*"".
18424 * gdb.arch/arm-disp-step.exp: Likewise.
18425 * gdb.arch/thumb-bx-pc.exp: Likewise.
18426 * gdb.arch/thumb-prologue.exp: Likewise.
18427 * gdb.arch/thumb-singlestep.exp: Likewise.
18428 * gdb.base/disp-step-syscall.exp: Likewise.
18429 * gdb.base/float.exp: Likewise.
18431 2015-07-07 Yao Qi <yao.qi@linaro.org>
18433 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
18434 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
18436 2015-07-07 Yao Qi <yao.qi@linaro.org>
18438 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
18439 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
18441 * gdb.multi/multi-arch.exp: Likewise.
18443 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
18445 * gdb.python/py-lazy-string.exp: Add missing parentheses to
18448 2015-07-07 Yao Qi <yao.qi@linaro.org>
18450 * gdb.arch/thumb-singlestep.exp: Do one more single step.
18452 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
18454 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
18455 '[' and ']' characters.
18457 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
18459 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
18461 2015-06-29 Pedro Alves <palves@redhat.com>
18464 * gdb.threads/hand-call-new-thread.c: New file.
18465 * gdb.threads/hand-call-new-thread.c: New file.
18467 2015-06-26 Keith Seitz <keiths@redhat.com>
18468 Doug Evans <dje@google.com>
18471 * gdb.cp/var-tag-2.cc: New file.
18472 * gdb.cp/var-tag-3.cc: New file.
18473 * gdb.cp/var-tag-4.cc: New file.
18474 * gdb.cp/var-tag.cc: New file.
18475 * gdb.cp/var-tag.exp: New file.
18477 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
18479 * gdb.base/history-duplicates.exp: New test.
18481 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
18483 * gdb.base/completion.exp: Test the completion of the "focus"
18486 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
18488 * gdb.arch/amd64-prologue-skip.S: New file.
18489 * gdb.arch/amd64-prologue-skip.exp: New file.
18491 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
18493 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
18494 is_address_zero_readable check.
18496 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
18498 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
18499 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
18501 2015-06-24 Yao Qi <yao.qi@linaro.org>
18503 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
18506 2015-06-24 Yao Qi <yao.qi@linaro.org>
18508 * lib/gdb.exp (supports_get_siginfo_type): New proc.
18509 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
18510 * gdb.base/siginfo-thread.exp: Likewise.
18512 2015-06-22 Yao Qi <yao.qi@linaro.org>
18514 * boards/remote-gdbserver-on-localhost.exp: Add comments.
18516 2015-06-22 Yao Qi <yao.qi@linaro.org>
18518 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
18520 (skip_hw_watchpoint_tests): Likewise.
18522 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
18524 * gdb.base/gdbinit-history.exp: Test the interaction between
18525 setting GDBHISTSIZE and setting the history size via .gdbinit.
18527 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18530 * gdb.base/gdbhistsize-history.exp: New test.
18532 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18534 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
18536 * gdb.base/readline.exp: Likewise.
18538 2015-06-17 Yao Qi <yao.qi@linaro.org>
18540 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
18543 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
18545 * gdb.base/gdbinit-history.exp: Add test case to check that
18546 an unlimited history file does not get truncated on exit.
18548 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18550 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
18551 (VECTOR): New macro. Use it...
18552 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
18553 ...for these typedefs.
18554 (int8, char1, int1, double1): New typedefs.
18555 (struct just_int2, struct two_int2): New structures.
18556 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
18557 (add_structvecs, add_singlevecs): New functions.
18558 (main): Call add_some_intvecs twice.
18559 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
18560 the compile and exit upon failure. Try compiling for the "native"
18561 architecture. Test inferior function calls with vector arguments
18562 and vector return value handling with "finish" and "return".
18564 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
18566 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
18567 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
18569 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
18571 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
18573 PR breakpoints/16465
18574 * gdb.mi/mi-dprintf-pending.c: New file.
18575 * gdb.mi/mi-dprintf-pending.exp: New test.
18576 * gdb.mi/mi-dprintf-pendshr.c: New file.
18578 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18579 Mircea Gherzan <mircea.gherzan@intel.com>
18581 * gdb.arch/i386-mpx-map.c: New file.
18582 * gdb.arch/i386-mpx-map.exp: New File.
18584 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18586 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
18587 * gdb.arch/i386-mpx.exp: Indentation fixed.
18589 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18591 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
18592 function and improved indentation.
18593 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
18594 gdb_test_multiple. Added additional tests to skip the test.
18596 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
18598 * gdb.arch/i386-avx512.c: Change path in include file.
18599 * gdb.arch/i386-avx512.exp: Change include dir path
18601 * gdb.arch/i386-mpx.c: Change path in include file.
18602 * gdb.arch/i386-mpx.exp: Change include dir path compilation
18605 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
18607 * gdb.compile/compile-print.exp (compile print *vararray@3)
18608 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
18610 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
18612 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
18613 (do not keep jit in memory): ... this.
18614 (expect 5): Change it to ...
18615 (expect no 5): ... this.
18617 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
18620 * gdb.mi/mi-detach.exp: New file.
18622 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
18625 * gdb.arch/amd64-tailcall-self.S: New file.
18626 * gdb.arch/amd64-tailcall-self.c: New file.
18627 * gdb.arch/amd64-tailcall-self.exp: New file.
18629 2015-05-28 Don Breazeal <donb@codesourcery.com>
18631 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
18632 tests for remote targets by checking is_target_gdbserver.
18634 2015-05-27 Doug Evans <dje@google.com>
18636 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
18637 * gdb.dwarf2/opaque-type-lookup.c: New file.
18638 * gdb.dwarf2/opaque-type-lookup.exp: New file.
18640 2015-05-26 Doug Evans <dje@google.com>
18642 * gdb.cp/iostream.cc: New file.
18643 * gdb.cp/iostream.exp: New file.
18645 2015-05-26 Doug Evans <dje@google.com>
18647 * gdb.dwarf2/dw2-op-call.exp: Update.
18648 * gdb.dwarf2/dw4-sig-types.exp: Update.
18649 * gdb.dwarf2/implptr.exp: Update.
18650 * gdb.mi/mi-cmd-param-changed.exp: Update.
18652 2015-05-26 Doug Evans <dje@google.com>
18654 * gdb.python/py-lazy-string.c: New file.
18655 * gdb.python/py-lazy-string.exp: New file.
18656 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
18657 (main): Update. Add estring3.
18658 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
18659 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
18661 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
18662 Yao Qi <yao.qi@linaro.org>
18664 * gdb.reverse/aarch64.c: New.
18665 * gdb.reverse/aarch64.exp: New.
18667 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
18669 * lib/gdb.exp (supports_process_record): Return true for
18671 (supports_reverse): Likewise.
18673 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
18675 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18676 Use with_test_prefix.
18678 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
18680 * gdb.base/completion.exp: Add test for completion of layout
18683 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
18685 * lib/gdb.exp (skip_tui_tests): New proc.
18686 * gdb.base/tui-layout.exp: Check skip_tui_tests.
18688 2015-05-19 Pedro Alves <palves@redhat.com>
18690 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18691 Save the whole env array instead of just HOME. Unset HISTSIZE in
18692 the environment while testing. Restore whole environment
18695 2015-05-16 Doug Evans <xdje42@gmail.com>
18697 * gdb.guile/scm-ports.c: New file.
18698 * gdb.guile/scm-ports.exp: Add memory port tests.
18700 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18702 * gdb.compile/compile-print.c: New file.
18703 * gdb.compile/compile-print.exp: New file.
18705 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18707 * gdb.compile/compile-ops.exp: Cast param to void.
18708 * gdb.compile/compile.exp: Complete type for _gdb_expr.
18709 (compile code struct_object.selffield = &struct_object): Add xfail.
18711 2015-05-15 Joel Brobecker <brobecker@adacore.com>
18713 * gdb.ada/arr_enum_with_gap: New testcase.
18715 2015-05-15 Joel Brobecker <brobecker@adacore.com>
18717 * gdb.ada/byte_packed_arr: New testcase.
18719 2015-05-15 Joel Brobecker <brobecker@adacore.com>
18721 * gdb.ada/pckd_neg: New testcase.
18723 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
18726 * gdb.base/gdbinit-history.exp: New test.
18727 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
18728 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
18730 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
18732 * gdb.python/py-xmethods.cc: Enhance test case.
18733 * gdb.python/py-xmethods.exp: New tests.
18734 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
18736 (B_indexoper): Likewise.
18737 (global_dm_list) : Add new xmethod worker functions.
18739 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
18741 * gdb.base/coredump-filter.exp: Correctly unset
18742 "coredump_var_addr" array.
18744 2015-05-08 Pedro Alves <palves@redhat.com>
18746 * gdb.server/non-existing-program.exp: Unset spawn_id.
18748 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
18751 * gdb.python/py-xmethods.exp: Add tests.
18753 2015-05-08 Yao Qi <yao.qi@linaro.org>
18756 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
18757 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
18758 function set_coredump_filter, and remove remote_exec call.
18759 Remove argument ipid. Callers update.
18760 (top level): Don't get inferior's PID.
18762 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
18764 * gdb.base/watch_thread_num.exp: Skip test on targets without
18765 access watchpoints.
18767 2015-05-06 Pedro Alves <palves@redhat.com>
18770 * gdb.server/non-existing-program.exp: New file.
18772 2015-05-05 Joel Brobecker <brobecker@adacore.com>
18774 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
18776 2015-05-05 Joel Brobecker <brobecker@adacore.com>
18778 * gdb.ada/out_of_line_in_inlined: New testcase.
18780 2015-05-05 Joel Brobecker <brobecker@adacore.com>
18782 * gdb.ada/var_rec_arr: New testcase.
18784 2015-04-30 Yao Qi <yao.qi@linaro.org>
18786 * gdb.base/break-idempotent.exp: If
18787 skip_hw_watchpoint_multi_tests returns true, skip the tests
18788 on "rwatch" and "awatch".
18790 2015-04-30 Yao Qi <yao.qi@linaro.org>
18792 * gdb.base/relativedebug.exp: Invoke gdb command
18793 "info sharedlibrary", and if libc.so doesn't have debug info,
18796 2015-04-29 Doug Evans <dje@google.com>
18798 * gdb.python/py-xmethods.exp: Add ptype tests.
18799 * gdb.python/py-xmethods.py (E_method_char_worker): Add
18800 get_result_type method.
18802 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
18804 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
18805 the target does not support hardware watchpoints.
18807 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
18809 * gdb.base/break-always.exp: Abort testing if writing to memory
18812 2015-04-28 Doug Evans <dje@google.com>
18814 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
18815 * gdb.python/py-pp-registration.exp: ... here. New file.
18816 * gdb.python/py-pp-registration.c: New file.
18817 * gdb.python/py-pp-registration.py: New file.
18819 2015-04-28 Doug Evans <dje@google.com>
18821 * gdb.python/py-bad-printers.c: New file.
18822 * gdb.python/py-bad-printers.py: New file.
18823 * gdb.python/py-bad-printers.exp: New file.
18825 2015-04-28 Sasha Smundak <asmundak@google.com>
18827 * gdb.python/py-type.exp: New test.
18829 2015-04-28 Andy Wingo <wingo@igalia.com>
18831 * gdb.python/py-parameter.exp:
18832 * gdb.guile/scm-parameter.exp: Escape the path that we are
18833 matching against, as it might contain characters that are special
18834 to regular expressions.
18836 2015-04-27 Joel Brobecker <brobecker@adacore.com>
18838 * gdb.ada/rec_comp: New testcase.
18840 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
18842 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
18845 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
18847 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
18848 new tests for verilog output.
18850 2015-04-24 Yao Qi <yao.qi@linaro.org>
18852 * boards/remote-gdbserver-on-localhost.exp: New file.
18854 2015-04-23 Pedro Alves <palves@redhat.com>
18856 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
18857 $inferior_spawn_id instead of $inferior_spawn_id directly. On
18858 "end of file", remove $inferior_spawn_id from the indirect list.
18860 2015-04-23 Pedro Alves <palves@redhat.com>
18862 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
18864 2015-04-23 Pedro Alves <palves@redhat.com>
18866 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
18867 on $any_spawn_id instead of only on $gdb_spawn_id.
18869 2015-04-21 Pierre Muller <muller@sourceware.org>
18872 * lib/pascal.exp (gpc_compile): Add new option "class".
18873 (fpc_compile): Likewise.
18874 * gdb.pascal/case-insensitive-symbols.pas: New file.
18875 * gdb.pascal/case-insensitive-symbols.exp: New file.
18877 2015-04-20 Gary Benson <gbenson@redhat.com>
18879 * gdb.base/attach.exp: Fix three extended remote failures.
18881 2015-04-17 Gary Benson <gbenson@redhat.com>
18883 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
18884 the main executable over the remote protocol.
18886 2015-04-16 Pedro Alves <palves@redhat.com>
18888 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
18889 a new gdbserver if gdbserver_reconnect_p is set.
18891 2015-04-16 Pedro Alves <palves@redhat.com>
18893 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
18894 is set, don't exit gdbserver.
18896 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
18898 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
18899 appropriate .insn, such that an older assembler can be used.
18900 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
18901 the z/Architecture instruction set on 31-bit targets as well.
18903 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
18905 * gdb.go/handcall.exp: Remove all logic related to the first
18906 breakpoint and rely on go_runto_main instead.
18907 * gdb.go/strings.exp: Likewise.
18908 * gdb.go/unsafe.exp: Likewise.
18909 * gdb.go/hello.exp: Likewise. Also rename the remaining
18910 breakpoint marker to "breakpoint 1".
18911 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
18912 * gdb.go/strings.go: Likewise.
18913 * gdb.go/unsafe.go: Likewise.
18914 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
18915 "set breakpoint 2 here" and rename the remaining breakpoint marker
18918 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
18920 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
18921 if itertools.imap is not present.
18922 * gdb.python/py-objfile.exp: Add parentheses.
18923 * gdb.python/py-type.exp: Same.
18924 * gdb.python/py-unwind-maint.py: Same.
18926 2015-04-15 Yao Qi <yao.qi@linaro.org>
18928 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
18929 of ":$ptr_size" and set its form explicitly.
18931 2015-04-15 Pedro Alves <palves@redhat.com>
18932 Yao Qi <yao.qi@linaro.org>
18934 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
18935 timeout by factor of 4.
18936 (test_regular_watch): Likewise.
18937 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
18938 * gdb.reverse/sigall-reverse.exp: Likewise.
18939 * gdb.reverse/until-precsave.exp: Likewise.
18940 * lib/gdb.exp (with_timeout_factor): New proc.
18941 (gdb_expect): Move some code to ...
18942 (get_largest_timeout): ... here. New procedure.
18944 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
18946 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
18948 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
18950 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
18951 to write to the .text section.
18953 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
18955 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
18956 Handle the case of targets that do not provide PID information.
18958 2015-04-13 Yao Qi <yao.qi@linaro.org>
18960 * lib/gdbserver-support.exp (gdb_exit): Catch exception
18961 and use expect instead of gdb_expect.
18963 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
18965 * gdb.base/coredump-filter.exp: Rename variable "addr" to
18966 "coredump_var_addr" to avoid naming conflict with other testcases.
18968 2015-04-10 Pedro Alves <palves@redhat.com>
18970 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
18971 gdb_test_sequence and gdb_assert.
18973 2015-04-10 Pedro Alves <palves@redhat.com>
18975 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
18976 test messages that don't include the breakpoint address.
18978 2015-04-10 Yao Qi <yao.qi@linaro.org>
18980 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
18981 false for some offset and width combinations which aren't
18982 supported by linux kernel.
18984 2015-04-10 Pedro Alves <palves@redhat.com>
18986 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
18987 procedure, factored out from ...
18988 (top level): ... here. Add "set displaced-stepping" testing axis.
18989 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
18990 parameter "displaced". Use it.
18991 (top level): Use foreach and add "set displaced-stepping" testing
18994 2015-04-10 Pedro Alves <palves@redhat.com>
18996 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
18998 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
18999 both the address of the instruction that triggers the watchpoint
19000 and the address of the instruction immediately after, and use
19001 those addresses for the test. Fix comment.
19003 2015-04-10 Pedro Alves <palves@redhat.com>
19005 * gdb.base/sigstep.exp (breakpoint_to_handler)
19006 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
19007 Test "backtrace" in handler.
19008 (breakpoint_over_handler): New parameter 'displaced'. Use it.
19009 (top level): Add new "displaced" test axis to
19010 breakpoint_to_handler, breakpoint_to_handler_entry and
19011 breakpoint_over_handler.
19013 2015-04-10 Pedro Alves <palves@redhat.com>
19016 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
19018 2015-04-10 Yao Qi <yao.qi@linaro.org>
19020 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
19021 (test_add_rn_pc): New function.
19022 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
19023 (top level): Invoke test_add_rn_pc.
19025 2015-04-10 Pedro Alves <palves@redhat.com>
19028 * gdb.base/step-over-no-symbols.exp: New file.
19030 2015-04-09 Andy Wingo <wingo@igalia.com>
19032 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
19033 after the Python tests.
19035 2015-04-08 Keith Seitz <keiths@redhat.com>
19038 * gdb.python/py-completion.exp: New tests for completion.
19039 * gdb.python/py-completion.py (CompleteLimit1): New class.
19040 (CompleteLimit2): Likewise.
19041 (CompleteLimit3): Likewise.
19042 (CompleteLimit4): Likewise.
19043 (CompleteLimit5): Likewise.
19044 (CompleteLimit6): Likewise.
19045 (CompleteLimit7): Likewise.
19047 2015-04-08 Pedro Alves <palves@redhat.com>
19051 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
19053 (main): Install it as SIGUSR1 handler.
19054 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
19055 parameter. Always use "setup" as prefix. Toggle "set
19056 displaced-stepping" off/on depending on global. Don't switch to
19058 (top level): Add displaced stepping "off/on" test axis. Update
19059 "setup" calls. Wrap each subtest with with_test_prefix. Test
19060 continuing with a queued signal in each thread.
19062 2015-04-08 Pedro Alves <palves@redhat.com>
19064 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
19065 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
19066 gdb_breakpoint instead of gdb_test that doesn't expect anything.
19067 Return early if running to main fails.
19068 * gdb.trace/while-stepping.exp: Likewise.
19070 2015-04-07 Pedro Alves <palves@redhat.com>
19072 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
19073 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
19074 interact with inferior program.
19076 2015-04-07 Pedro Alves <palves@redhat.com>
19078 * lib/gdb.exp (inferior_spawn_id): New global.
19079 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
19080 spawn id after processing the user code.
19081 (default_gdb_start): Set inferior_spawn_id.
19082 (send_inferior): New procedure.
19083 * lib/gdbserver-support.exp (gdbserver_start): Set
19085 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
19087 2015-04-07 Pedro Alves <palves@redhat.com>
19089 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
19090 * lib/gdbserver-support.exp (gdbserver_start): Make
19091 $server_spawn_id global.
19092 (gdbserver_start): Don't wait for gdbserver's spawn id with
19094 (close_gdbserver): New procedure.
19095 (gdb_exit): Rename the default version and reimplement.
19097 2015-04-07 Pedro Alves <palves@redhat.com>
19099 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
19100 append the substituted item, not the original item.
19102 2015-04-07 Pedro Alves <palves@redhat.com>
19104 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
19107 2015-04-07 Pedro Alves <palves@redhat.com>
19109 * gdb.base/interrupt.exp: Don't handle the case of the inferior
19110 output appearing once only.
19112 2015-04-07 Pedro Alves <palves@redhat.com>
19114 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
19115 that doesn't expect anything. Return early if running to main
19118 2015-04-07 Yao Qi <yao.qi@linaro.org>
19120 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
19121 (child_function): Call alarm.
19122 (main): Move call to alarm into the loop.
19123 * gdb.threads/non-stop-fair-events.exp: Build program with
19124 -DTIMEOUT=$timeout.
19126 2015-04-06 Doug Evans <xdje42@gmail.com>
19128 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
19129 Fix dest parameter to board_info.
19130 (fpc_compile): Ditto.
19131 (gdb_compile_pascal): Rename dest arg to destfile.
19133 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
19135 * gdb.ada/funcall_ref.exp: New file.
19136 * gdb.ada/funcall_ref/foo.adb: New file.
19138 2015-04-02 Yao Qi <yao.qi@linaro.org>
19140 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
19143 2015-04-02 Gary Benson <gbenson@redhat.com>
19145 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
19147 2015-04-01 Sasha Smundak <asmundak@google.com>
19149 * gdb.python/py-unwind-maint.c: New file.
19150 * gdb.python/py-unwind-maint.exp: New test.
19151 * gdb.python/py-unwind-maint.py: New file.
19152 * gdb.python/py-unwind.c: New file.
19153 * gdb.python/py-unwind.exp: New test.
19154 * gdb.python/py-unwind.py: New test.
19156 2015-04-01 Pedro Alves <palves@redhat.com>
19158 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
19159 to fail instead of non-existent $test.
19161 2015-04-01 Pedro Alves <palves@redhat.com>
19163 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
19164 GDBFLAGS if not empty.
19166 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
19168 * gdb.ada/complete.exp: Remove "multi_line".
19169 * gdb.ada/info_exc.exp: Remove "multi_line".
19170 * gdb.ada/packed_tagged.exp: Remove "multi_line".
19171 * gdb.ada/ptype_field.exp: Remove "multi_line".
19172 * gdb.ada/sym_print_name.exp: Remove "multi_line".
19173 * gdb.ada/tagged.exp: Remove "multi_line".
19174 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
19176 * gdb.btrace/delta.exp: Likewise.
19177 * gdb.btrace/exception.exp: Likewise.
19178 * gdb.btrace/function_call_history.exp: Likewise.
19179 * gdb.btrace/instruction_history.exp: Likewise.
19180 * gdb.btrace/nohist.exp: Likewise.
19181 * gdb.btrace/record_goto.exp: Likewise.
19182 * gdb.btrace/segv.exp: Likewise.
19183 * gdb.btrace/stepi.exp: Likewise.
19184 * gdb.btrace/tailcall.exp: Likewise.
19185 * gdb.btrace/unknown_functions.exp: Likewise.
19186 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
19187 * lib/gdb.exp: Add the "multi_line" helper.
19189 2015-04-01 Pedro Alves <palves@redhat.com>
19191 * gdb.threads/tid-reuse.c: New file.
19192 * gdb.threads/tid-reuse.exp: New file.
19194 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
19197 * gdb.base/coredump-filter.c: New file.
19198 * gdb.base/coredump-filter.exp: Likewise.
19200 2015-03-27 Petr Machata <pmachata@redhat.com>
19202 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
19203 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
19204 (Dwarf::assemble): Initialize them.
19205 (Dwarf::lines): New function.
19207 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
19209 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
19210 SYMBOL_PREFIX for x86_64-*-cygwin.
19212 2015-03-26 Andy Wingo <wingo@igalia.com>
19215 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
19216 const_value but not a location.
19217 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
19218 location defined in non-main CUs are visible.
19220 2015-03-26 Yao Qi <yao.qi@linaro.org>
19223 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
19224 Add a line number entry for the same line.
19225 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
19226 Add a line number entry for the same line.
19228 2015-03-26 Yao Qi <yao.qi@linaro.org>
19230 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
19232 (func): Likewise. Add .Lfunc_1 label.
19233 Use .Lfunc_1 label.
19234 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
19237 Use .Lfunc_1 label.
19239 2015-03-26 Yao Qi <yao.qi@linaro.org>
19241 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
19242 Call gdb_compile instead to compile each .s files without debug
19245 2015-03-26 Yao Qi <yao.qi@linaro.org>
19247 * gdb.base/savedregs.exp (process_saved_regs): Make
19248 "Saved registers:" optional in the pattern.
19250 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
19252 * gdb.btrace/next.exp: Merged into step.exp.
19253 * gdb.btrace/finish.exp: Merged into step.exp.
19254 * gdb.btrace/nexti.exp: Merged into stepi.exp.
19255 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
19256 "record goto" and checking the exact replay position.
19257 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
19258 check for "Recording format" in "info record" output.
19259 * gdb.btrace/record_goto.exp: Choose test file based on target.
19260 * gdb.btrace/x86-record_goto.S: Renamed into ...
19261 * gdb.btrace/x86_64-record_goto.S: ... this.
19262 * gdb.btrace/i686-record_goto.S: New.
19263 * gdb.btrace/x86-tailcall.S: Renamed into ...
19264 * gdb.btrace/x86_64-tailcall.S: ... this.
19265 * gdb.btrace/i686-tailcall.S: New.
19266 * gdb.btrace/x86-tailcall.c: Renamed into ...
19267 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
19268 separate statements. Update test.
19269 * gdb.btrace/delta.exp: Use record_goto.c as test file.
19270 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
19271 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
19272 * gdb.btrace/tailcall.exp: Choose test file based on target.
19273 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
19275 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
19277 * gdb.btrace/exception.exp: Increase BTS buffer size.
19279 2015-03-24 Pedro Alves <palves@redhat.com>
19281 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
19283 2015-03-24 Pedro Alves <palves@redhat.com>
19285 * gdb.threads/schedlock.exp (test_step): No longer expect that
19286 "set scheduler-locking step" with "next" over a function call runs
19289 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
19291 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
19293 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
19295 PR breakpoints/16466
19296 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
19297 * gdb.mi/mi-pending.c (thread_func): New function.
19298 (int main): Add threading support required.
19299 * gdb.mi/mi-pending.exp: Add tests for this issue.
19300 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
19301 (pendfunc2): Remove stdio dependency.
19302 * gdb.mi/mi-pendshr2.c: New file.
19304 2015-03-23 Keith Seitz <keiths@redhat.com>
19306 * gdb.linespec/keywords.c: New file.
19307 * gdb.linespec/keywords.exp: New file.
19309 2015-03-23 Keith Seitz <keiths@redhat.com>
19312 * gdb.dwarf2/staticvirtual.exp: New test.
19314 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
19316 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
19317 * README: Remove HP-UX and gdb.hp.
19319 * configure: Regenerate.
19320 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
19321 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
19322 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
19323 gdb.hp/gdb.defects/Makefile.
19324 * gdb.hp/Makefile.in: File deleted.
19325 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
19326 * gdb.hp/gdb.aCC/optimize.c: File deleted.
19327 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
19328 * gdb.hp/gdb.aCC/run.c: File deleted.
19329 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
19330 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
19331 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
19332 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
19333 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
19334 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
19335 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
19336 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
19337 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
19338 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
19339 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
19340 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
19341 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
19342 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
19343 * gdb.hp/gdb.base-hp/reg.s: File deleted.
19344 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
19345 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
19346 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
19347 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
19348 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
19349 * gdb.hp/gdb.compat/Makefile.in: File deleted.
19350 * gdb.hp/gdb.compat/average.c: File deleted.
19351 * gdb.hp/gdb.compat/sum.c: File deleted.
19352 * gdb.hp/gdb.compat/xdb.c: File deleted.
19353 * gdb.hp/gdb.compat/xdb0.c: File deleted.
19354 * gdb.hp/gdb.compat/xdb0.h: File deleted.
19355 * gdb.hp/gdb.compat/xdb1.c: File deleted.
19356 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
19357 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
19358 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
19359 * gdb.hp/gdb.defects/Makefile.in: File deleted.
19360 * gdb.hp/gdb.defects/bs14602.c: File deleted.
19361 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
19362 * gdb.hp/gdb.defects/solib-d.c: File deleted.
19363 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
19364 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
19365 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
19366 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
19367 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
19368 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
19369 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
19370 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
19371 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
19372 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
19373 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
19374 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
19375 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
19376 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
19377 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
19378 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
19379 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
19380 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
19381 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
19382 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
19383 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
19384 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
19385 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
19386 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
19387 * gdb.hp/tools/odump: File deleted.
19389 2015-03-19 Pedro Alves <palves@redhat.com>
19391 * gdb.threads/continue-pending-status.exp (saw_thread_2)
19392 (saw_thread_3): New globals.
19393 (top level): Increment them when an event for the corresponding
19395 (no thread starvation): New test.
19397 2015-03-19 Pedro Alves <palves@redhat.com>
19399 * gdb.threads/continue-pending-status.c: New file.
19400 * gdb.threads/continue-pending-status.exp: New file.
19402 2015-03-18 Pedro Alves <palves@redhat.com>
19404 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
19405 Use gdb_is_target_remote instead of is_remote. Use
19406 gdb_test_multiple instead of gdb_expect. Exit early if
19407 gdb_test_multiple hits its internal matches. Tighten stepi tests
19408 expected output. Fail on exit with any signal, instead of just
19411 2015-03-18 Yao Qi <yao.qi@linaro.org>
19414 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
19416 * gdb.base/catch-syscall.exp: Don't skip it on
19417 aarch64*-*-linux* target. Remove elements in all_syscalls.
19418 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
19420 (setup_all_syscalls): New proc.
19422 2015-03-16 Yao Qi <yao.qi@linaro.org>
19424 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
19425 (top level): Skip tests if valid_addr_p returns false for
19428 2015-03-11 Andy Wingo <wingo@igalia.com>
19430 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
19432 2015-03-11 Yao Qi <yao.qi@linaro.org>
19434 * gdb.base/catch-syscall.exp: Fix typo in comments.
19436 2015-03-11 Yao Qi <yao.qi@linaro.org>
19438 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
19440 2015-03-09 Pedro Alves <palves@redhat.com>
19442 * dg-extract-results.py: Delete.
19444 2015-03-09 Pedro Alves <palves@redhat.com>
19446 Merge dg-extract-results.sh from GCC upstream (r218843).
19448 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
19449 * dg-extract-results.sh: Use --text with grep to avoid issues with
19450 binary files. Fall back to cat -v, if that doesn't work.
19452 2015-03-05 Pedro Alves <palves@redhat.com>
19454 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
19456 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
19458 * lib/mi-support.exp (mi_expect_interrupt): Accept
19459 alternative event for when in all-stop mode.
19461 2015-03-04 Pedro Alves <palves@redhat.com>
19463 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
19465 2015-03-04 Mark Kettenis <kettenis@gnu.org>
19467 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
19469 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
19471 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
19472 regexps for GDB's current line display, accept a hex address
19473 preceding the line number.
19475 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
19477 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
19478 the 'arch1' variable for "s390*-linux*" targets.
19480 2015-03-04 Pedro Alves <palves@redhat.com>
19482 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
19483 (main): Pass missing retval argument to pthread_join call.
19485 2015-03-02 Pedro Alves <palves@redhat.com>
19487 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
19488 (top level): Call do_test with non-stop as well.
19490 2015-03-02 Pedro Alves <palves@redhat.com>
19492 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
19495 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
19497 * gdb.arch/s390-vregs.exp: New test.
19498 * gdb.arch/s390-vregs.S: New file.
19500 2015-02-27 Pedro Alves <palves@redhat.com>
19502 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
19503 call to catch_command_errors.
19504 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
19505 catch_command_errors.
19507 2015-02-27 Pedro Alves <palves@redhat.com>
19509 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
19510 "true" for boolean result.
19511 * gdb.gdb/selftest.exp (test_with_self): Also accept full
19514 2015-02-27 Pedro Alves <palves@redhat.com>
19516 * lib/unbuffer_output.c: New file.
19517 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
19518 (main): Call gdb_unbuffer_output.
19520 2015-02-27 Yao Qi <yao.qi@linaro.org>
19522 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
19525 2015-02-26 Doug Evans <dje@google.com>
19527 * gdb.cp/class2.cc (Dbase, D): New classes.
19528 (main): New local delta.
19529 * gdb.cp/class2.exp: Test printing delta.
19530 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
19531 (dynbar): New global.
19532 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
19534 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
19536 * gdb.compile/compile-ifunc.c: New file.
19537 * gdb.compile/compile-ifunc.exp: New file.
19539 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
19541 * gdb.base/structs.exp: Check for correct struct on finish.
19543 2015-02-26 Yao Qi <yao.qi@linaro.org>
19545 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
19548 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
19550 * gdb.arch/cordic.ko.bz2: New file.
19551 * gdb.arch/cordic.ko.debug.bz2: New file.
19552 * gdb.arch/ppc64-symtab-cordic.exp: New file.
19554 2015-02-25 Yao Qi <yao.qi@linaro.org>
19556 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
19557 aarch64*-*-* target.
19559 2015-02-23 Pedro Alves <palves@redhat.com>
19561 * lib/gdb.exp (delete_breakpoints): Rewrite using
19564 2015-02-23 Pedro Alves <palves@redhat.com>
19566 * gdb.base/info-os.c: Include stdlib.h.
19568 2015-02-22 Doug Evans <xdje42@gmail.com>
19571 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
19572 is read after symbols have been re-read.
19573 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
19574 * gdb.ada/exec_changed/second.adb (Second): Ditto.
19576 2015-02-21 Doug Evans <dje@google.com>
19578 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
19580 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19583 * gdb.arch/i386-biarch-core.core.bz2: New file.
19584 * gdb.arch/i386-biarch-core.exp: New file.
19586 2015-02-21 Pedro Alves <palves@redhat.com>
19588 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
19591 2015-02-20 Pedro Alves <palves@redhat.com>
19593 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
19596 2015-02-20 Pedro Alves <palves@redhat.com>
19598 * gdb.threads/multi-create-ns-info-thr.exp: New file.
19600 2015-02-20 Pedro Alves <palves@redhat.com>
19602 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
19603 clean_restart before gdb_target_supports_trace.
19605 2015-02-20 Pedro Alves <palves@redhat.com>
19608 * gdb.threads/clone-thread_db.c: New file.
19609 * gdb.threads/clone-thread_db.exp: New file.
19611 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
19613 PR breakpoints/16812
19614 * gdb.base/catch-gdb-caused-signals.c: New file.
19615 * gdb.base/catch-gdb-caused-signals.exp: New file.
19617 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
19619 * configure: Regenerated.
19620 * configure.ac: Use GDB_AC_TRANSFORM.
19621 * aclocal.m4: sinclude ../transform.m4.
19623 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
19625 * lib/dtrace.exp: New file.
19626 * gdb.base/dtrace-probe.exp: Likewise.
19627 * gdb.base/dtrace-probe.d: Likewise.
19628 * gdb.base/dtrace-probe.c: Likewise.
19629 * lib/pdtrace.in: Likewise.
19630 * configure.ac: Output variables with the transformed names of
19631 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
19632 * configure: Regenerated.
19634 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
19636 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
19637 expected message when trying to access $_probe_* convenience
19638 variables while not on a probe.
19640 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
19642 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
19644 2015-02-11 Pedro Alves <pedro@codesourcery.com>
19646 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
19647 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
19649 2015-02-10 Doug Evans <xdje42@gmail.com>
19651 * lib/gdb.exp (gdb_load): Always return a result.
19653 2015-02-10 Pedro Alves <palves@redhat.com>
19655 * gdb.threads/signal-sigtrap.c: New file.
19656 * gdb.threads/signal-sigtrap.exp: New file.
19658 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
19660 * gdb.trace/no-attach-trace.c: New file.
19661 * gdb.trace/no-attach-trace.exp: New file.
19663 2015-02-09 Mark Wielaard <mjw@redhat.com>
19665 * gdb.dwarf2/atomic.c: New file.
19666 * gdb.dwarf2/atomic-type.exp: Likewise.
19668 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19670 * gdb.btrace/buffer-size.exp: Update "info record" output.
19671 * gdb.btrace/delta.exp: Update "info record" output.
19672 * gdb.btrace/enable.exp: Update "info record" output.
19673 * gdb.btrace/finish.exp: Update "info record" output.
19674 * gdb.btrace/instruction_history.exp: Update "info record" output.
19675 * gdb.btrace/next.exp: Update "info record" output.
19676 * gdb.btrace/nexti.exp: Update "info record" output.
19677 * gdb.btrace/step.exp: Update "info record" output.
19678 * gdb.btrace/stepi.exp: Update "info record" output.
19679 * gdb.btrace/nohist.exp: Update "info record" output.
19681 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19683 * gdb.btrace/buffer-size: New.
19685 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19687 * gdb.btrace/delta.exp: Update "info record" output.
19688 * gdb.btrace/enable.exp: Update "info record" output.
19689 * gdb.btrace/finish.exp: Update "info record" output.
19690 * gdb.btrace/instruction_history.exp: Update "info record" output.
19691 * gdb.btrace/next.exp: Update "info record" output.
19692 * gdb.btrace/nexti.exp: Update "info record" output.
19693 * gdb.btrace/step.exp: Update "info record" output.
19694 * gdb.btrace/stepi.exp: Update "info record" output.
19695 * gdb.btrace/nohist.exp: Update "info record" output.
19697 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
19700 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
19702 2015-02-06 Pedro Alves <palves@redhat.com>
19704 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
19706 (seconds_left, again): New globals.
19707 (main): Wait seconds_left in a 1-second sleep loop instead of
19708 sleeping 180 seconds. If 'again' is set, reset the seconds
19710 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
19711 'again' in the inferior before detaching. Print the seconds left.
19712 (options): New global.
19713 (top level): Build program with -DTIMEOUT=$timeout.
19715 2015-02-06 Pedro Alves <palves@redhat.com>
19717 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
19718 determine how many seconds to pass to 'alarm'.
19719 * gdb.base/gdb-sigterm.exp (top level): Build program with
19720 -DTIMEOUT=$timeout.
19721 (do_test): Return success/failure indication. Add more verbose
19722 logging. Don't fail if 200 single steps are seen. Instead, fail
19723 when the test times out.
19724 (passes): New global.
19725 (top level): Break the testing loop if testing fails on any
19726 iteration. Use gdb_assert.
19728 2015-02-04 Don Breazeal <donb@codesourcery.com>
19730 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
19731 and initialize them.
19732 (ipc_cleanup): New function.
19733 (main): Don't declare shmid, semid, and msqid. Add a call to
19734 atexit so that we call ipc_cleanup on exit.
19736 2015-02-04 Pedro Alves <palves@redhat.com>
19738 * boards/native-extended-gdbserver.exp: Remove any target variant
19739 specifications from the board name before clearing the isremote
19740 flag from board_info.
19742 2015-01-31 Doug Evans <xdje42@gmail.com>
19744 * gdb.base/maint.exp <maint print type argc>: Update expected output.
19746 2015-01-31 Gary Benson <gbenson@redhat.com>
19748 * gdb.base/completion.exp: Disable completion limiting for
19749 existing tests. Add new tests to check completion limiting.
19750 * gdb.linespec/ls-errs.exp: Disable completion limiting.
19752 2015-01-31 Doug Evans <xdje42@gmail.com>
19754 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
19756 2015-01-31 Doug Evans <xdje42@gmail.com>
19758 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
19759 entries. Duplicate file section script entries.
19760 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
19761 inlined entries. Add test for safe-path rejection.
19762 * gdb.python/py-section-script.c: Add duplicate inlined section script
19763 entries. Duplicate file section script entries.
19764 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
19765 inlined entries. Add test for safe-path rejection.
19767 2015-01-29 Joel Brobecker <brobecker@adacore.com>
19769 * gdb.ada/disc_arr_bound: New testcase.
19771 2015-01-29 Joel Brobecker <brobecker@adacore.com>
19773 * gdb.ada/mi_var_array: New testcase.
19775 2015-01-27 Doug Evans <dje@google.com>
19777 * gdb.python/py-objfile.exp: Add tests for objfile.username.
19778 Add test for objfile.filename, objfile.username after objfile
19781 2015-01-26 Joel Brobecker <brobecker@adacore.com>
19783 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
19784 the second test to print the name attribute of value
19785 returned by the call to gdb.lookup_type, and adjust
19786 the expected output accordingly.
19788 2015-01-25 Mark Wielaard <mjw@redhat.com>
19790 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
19791 * gdb.base/disp-step-fork.c: Include unistd.h.
19792 * gdb.base/siginfo-obj.c: Include stdio.h.
19793 * gdb.base/siginfo-thread.c: Likewise.
19794 * gdb.mi/non-stop.c: Include unistd.h.
19795 * gdb.mi/nsthrexec.c: Include stdio.h.
19796 * gdb.mi/pthreads.c: Include unistd.h.
19797 * gdb.modula2/unbounded1.c (main): Declare returns int.
19798 * gdb.reverse/consecutive-reverse.c: Likewise.
19799 * gdb.threads/create-fail.c: Include unistd.h.
19800 * gdb.threads/killed.c: Likewise.
19801 * gdb.threads/linux-dp.c: Likewise.
19802 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
19803 * gdb.threads/non-ldr-exc-2.c: Likewise.
19804 * gdb.threads/non-ldr-exc-3.c: Likewise.
19805 * gdb.threads/non-ldr-exc-4.c: Likewise.
19806 * gdb.threads/pthreads.c: Include unistd.h.
19807 (main): Declare returns int.
19808 * gdb.threads/tls-main.c (foo): New declaration.
19809 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
19811 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
19813 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
19814 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
19816 2015-01-15 Mark Wielaard <mjw@redhat.com>
19818 * gdb.base/noreturn-return.c: New file.
19819 * gdb.base/noreturn-return.exp: New file.
19820 * gdb.base/noreturn-finish.c: New file.
19821 * gdb.base/noreturn-finish.exp: New file.
19823 2015-01-23 Pedro Alves <palves@redhat.com>
19825 * gdb.threads/continue-pending-after-query.c: New file.
19826 * gdb.threads/continue-pending-after-query.exp: New file.
19828 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
19829 Simon Marchi <simon.marchi@ericsson.com>
19831 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
19832 * gdb.base/valgrind-db-attach.exp: Same.
19833 * gdb.base/valgrind-infcall.exp: Same.
19834 * lib/mi-support.exp (default_mi_gdb_start): Same.
19835 * lib/prompt.exp (default_prompt_gdb_start): Same.
19836 * lib/gdb.exp (default_gdb_spawn): Same.
19837 (gdb_interact): New.
19840 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
19842 * gdb.compile/compile.exp (pointer to jit function): New test.
19844 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
19846 * lib/gdb.exp (supports_process_record): Return true for
19848 (supports_reverse): Likewise.
19850 2015-01-15 Don Breazeal <donb@codesourcery.com>
19852 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
19853 instead of checking whether the target board is remote and
19854 use spawn_wait_for_attach instead of exec/sleep.
19855 * gdb.base/attach-twice.exp: Likewise.
19857 2015-01-15 Joel Brobecker <brobecker@adacore.com>
19859 * gdb.ada/var_arr_attrs: New testcase.
19861 2015-01-14 Pedro Alves <palves@redhat.com>
19862 Joel Brobecker <brobecker@adacore.com>
19865 * gdb.base/bp-cmds-execution-x-script.c: New file.
19866 * gdb.base/bp-cmds-execution-x-script.exp: New file.
19867 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
19869 2015-01-14 Pedro Alves <palves@redhat.com>
19872 * gdb.base/batch-preserve-term-settings.c: New file.
19873 * gdb.base/batch-preserve-term-settings.exp: New file.
19875 2015-01-13 Doug Evans <dje@google.com>
19877 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
19880 2015-01-13 Joel Brobecker <brobecker@adacore.com>
19882 * Makefile.in (clean mostlyclean): Do not delete *.py.
19884 2015-01-13 Joel Brobecker <brobecker@adacore.com>
19886 * gdb.python/py-lookup-type.exp: New file.
19888 2015-01-12 Pedro Alves <palves@redhat.com>
19890 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
19891 restore GDBFLAGS before returning.
19893 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19895 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
19896 is_amd64_regs_target and is_x86_like_target.
19898 2015-01-11 Doug Evans <xdje42@gmail.com>
19900 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
19901 is given without an explicit form.
19902 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
19904 * gdb.dwarf/corrupt.exp: Ditto.
19905 * gdb.dwarf2/enum-type.exp: Ditto.
19906 * gdb.trace/entry-values.exp: Ditto.
19907 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
19909 2015-01-11 Doug Evans <xdje42@gmail.com>
19912 * gdb.base/maint.exp: Remove references to "maint demangle".
19913 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
19914 Add tests for explicitly specifying language to demangle.
19915 * gdb.dlang/demangle.exp: Ditto.
19917 2015-01-09 Pedro Alves <palves@redhat.com>
19919 * gdb.threads/non-stop-fair-events.c: New file.
19920 * gdb.threads/non-stop-fair-events.exp: New file.
19922 2015-01-09 Pedro Alves <palves@redhat.com>
19924 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
19925 the global scope. Set a breakpoint after all threads are started
19926 rather than stepping over two source lines. Expect the prompt.
19927 * gdb.base/watch_thread_num.c (threads_started_barrier): New
19930 (main): Use threads_started_barrier to wait for all threads to
19931 start. Main thread no longer calls thread_function. Exit after
19933 (loop): New function.
19934 (thread_function): Wait on threads_started_barrier barrier. Call
19935 'loop' at each iteration.
19936 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
19937 threads have started, instead of hardcoding number of "next"
19938 steps. Use an access watchpoint instead of a write watchpoint.
19940 2015-01-09 Pedro Alves <palves@redhat.com>
19942 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
19943 (thread_func): Wait on barrier.
19944 (main): Wait for all threads to start before stopping GDB.
19945 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
19947 (thread1_func, thread2_func): Wait on barrier.
19948 (main): Wait for all threads to start before stopping GDB.
19949 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
19951 (thread1_func, thread2_func): Wait on barrier.
19952 (main): Wait for all threads to start before stopping GDB.
19954 2015-01-09 Pedro Alves <palves@redhat.com>
19956 * gdb.threads/attach-many-short-lived-threads.c: New file.
19957 * gdb.threads/attach-many-short-lived-threads.exp: New file.
19959 2014-01-09 Pedro Alves <palves@redhat.com>
19961 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
19962 instead of to thread 2.
19963 * gdb.threads/signal-command-multiple-signals-pending.c (main):
19964 Add barrier around each pthread_create call instead of around all
19966 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
19967 Set a break on thread_function and have the child threads hit it
19970 2015-01-09 Pedro Alves <palves@redhat.com>
19972 * lib/gdb.exp (can_spawn_for_attach): New procedure.
19973 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
19975 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
19976 checking whether the target board is remote.
19977 * gdb.multi/multi-attach.exp: Likewise.
19978 * gdb.python/py-sync-interp.exp: Likewise.
19979 * gdb.server/ext-attach.exp: Likewise.
19980 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
19981 tests that need to attach, instead of checking whether the target
19982 board is remote at the top of the file.
19984 2015-01-08 Yao Qi <yao@codesourcery.com>
19986 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
19988 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
19990 Fix testcase compilation.
19991 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
19993 2015-01-06 Joel Brobecker <brobecker@adacore.com>
19995 * gdb.python/py-type.exp: Add a couple test about empty
19996 array creation, and negative-length array creation.
19998 2015-01-02 Doug Evans <xdje42@gmail.com>
20000 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
20002 2015-01-02 Doug Evans <dje@google.com>
20004 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
20006 2014-12-29 Yao Qi <yao@codesourcery.com>
20008 * gdb.trace/entry-values.exp: Update comments. Rename variable
20009 bar_call_foo to returned_from_foo.
20011 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
20014 * gdb.linespec/break-asm-file.c: New file.
20015 * gdb.linespec/break-asm-file.exp: New file.
20016 * gdb.linespec/break-asm-file0.s: New file.
20017 * gdb.linespec/break-asm-file1.s: New file.
20019 2014-12-18 Nigel Stephens <nigel@mips.com>
20020 Maciej W. Rozycki <macro@codesourcery.com>
20022 * gdb.base/float.exp: Handle the new output from "info float" on
20025 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
20027 Fix MinGW compilation.
20028 * gdb.compile/compile-ops.exp: Update untested message if
20029 !skip_compile_feature_tests.
20030 * gdb.compile/compile-setjmp.exp: Likewise.
20031 * gdb.compile/compile-tls.exp: Likewise.
20032 * gdb.compile/compile.exp: Likewise.
20033 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
20034 supported on this host".
20036 2014-12-16 Doug Evans <xdje42@gmail.com>
20038 * boards/stabs.exp: New file.
20040 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
20042 * gdb.base/completion.exp: Adjust to format changes of "maint
20043 print user-registers".
20045 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
20048 * gdb.arch/aarch64-fp.c: New file.
20049 * gdb.arch/aarch64-fp.exp: New file.
20051 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
20053 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
20054 r210637, r210913, r211666, r215400, r215817).
20056 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
20057 * dg-extract-results.py: New file.
20058 * dg-extract-results.sh: Use it if the environment seems
20061 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
20063 * dg-extract-results.py (parse_run): Handle warnings that
20064 are printed before a test harness is run.
20066 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
20068 * dg-extract-results.py (Named): Remove __cmp__ method.
20069 (output_variation): Use a key to sort variation.harnesses.
20071 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
20073 * dg-extract-results.py: For Python 3, force sys.stdout to
20074 handle surrogate escape sequences.
20075 (safe_open): New function.
20076 (output_segment, main): Use it.
20078 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
20080 * dg-extract-results.py (Prog.result_re): Include options
20083 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
20085 * dg-extract-results.py (output_variation): Always sort if
20088 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
20090 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
20091 as long as we get pagination notifications.
20093 2014-12-15 Jason Merrill <jason@redhat.com>
20095 * Makefile.in (check-gdb.%): Restore.
20096 * README: Mention it.
20098 2014-12-13 Joel Brobecker <brobecker@adacore.com>
20100 * gdb.ada/str_uninit: New testcase.
20102 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
20105 * gdb.base/vla-stub-define.c: New file.
20106 * gdb.base/vla-stub.c: New file.
20107 * gdb.base/vla-stub.exp: New file.
20109 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
20110 Jan Kratochvil <jan.kratochvil@redhat.com>
20111 Tom Tromey <tromey@redhat.com>
20113 * configure.ac: Add gdb.compile/.
20114 * configure: Regenerate.
20115 * gdb.compile/Makefile.in: New file.
20116 * gdb.compile/compile-ops.exp: New file.
20117 * gdb.compile/compile-ops.c: New file.
20118 * gdb.compile/compile-tls.c: New file.
20119 * gdb.compile/compile-tls.exp: New file.
20120 * gdb.compile/compile-constvar.S: New file.
20121 * gdb.compile/compile-constvar.c: New file.
20122 * gdb.compile/compile-mod.c: New file.
20123 * gdb.compile/compile-nodebug.c: New file.
20124 * gdb.compile/compile-setjmp-mod.c: New file.
20125 * gdb.compile/compile-setjmp.c: New file.
20126 * gdb.compile/compile-setjmp.exp: New file.
20127 * gdb.compile/compile-shlib.c: New file.
20128 * gdb.compile/compile.c: New file.
20129 * gdb.compile/compile.exp: New file.
20130 * lib/gdb.exp (skip_compile_feature_tests): New proc.
20132 2014-12-12 Tom Tromey <tromey@redhat.com>
20134 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
20135 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
20137 2014-12-12 Doug Evans <dje@google.com>
20139 * lib/gdb-python.exp (get_python_valueof): New function.
20140 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
20142 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
20144 * gdb.base/completion.exp: Add test for completion of "info
20147 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
20149 * gdb.base/func-ptrs.c: New file.
20150 * gdb.base/func-ptrs.exp: New file.
20152 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
20154 PR breakpoints/17012
20155 * gdb.base/dprintf-detach.c: New file.
20156 * gdb.base/dprintf-detach.exp: New file.
20158 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
20160 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
20161 * lib/gdb.exp (target_is_gdbserver): New procedure.
20163 2014-12-08 Doug Evans <dje@google.com>
20165 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
20167 2014-12-05 Yao Qi <yao@codesourcery.com>
20169 * gdb.guile/scm-error.exp: Remove the third argument to
20170 gdb_remote_download.
20171 * gdb.guile/scm-frame-args.exp: Likewise.
20172 * gdb.guile/scm-section-script.exp: Likewise.
20174 2014-12-05 Yao Qi <yao@codesourcery.com>
20176 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
20178 2014-12-04 Doug Evans <dje@google.com>
20180 * gdb.python/py-objfile.exp: Add tests for
20181 objfile.add_separate_debug_file.
20183 2014-12-04 Doug Evans <dje@google.com>
20185 * lib/gdb.exp (get_build_id): New function.
20186 (build_id_debug_filename_get): Rewrite to use it.
20187 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
20189 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
20191 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
20192 `method(long)', not just 0x0.
20193 * gdb.cp/nsalias.exp: Align code labels to 4.
20194 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
20195 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
20196 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
20197 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
20198 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
20199 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
20201 2014-12-02 Doug Evans <dje@google.com>
20204 * gdb.cp/anon-ns.cc: Move guts of this file to ...
20205 * gdb.cp/anon-ns2.cc: ... here. New file.
20206 * gdb.cp/anon-ns.exp: Update.
20208 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
20210 * gdb.python/py-events.py (inferior_call_handler): New.
20211 (register_changed_handler, memory_changed_handler): New.
20212 (test_events.invoke): Register new handlers.
20213 * gdb.python/py-events.exp: Add tests for inferior call,
20214 memory_changed and register_changed events.
20216 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
20218 * gdb.base/execl-update-breakpoints.exp: Specify the link address
20219 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
20220 if the linker doesn't understand this.
20222 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
20224 * gdb.python/python.exp: Change expected reply to help().
20226 2014-12-01 Yao Qi <yao@codesourcery.com>
20228 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
20229 AC_CONFIG_SUBDIRS(gdb.gdbtk).
20230 * configure: Re-generated.
20232 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
20234 * gdb.cp/chained-calls.cc: New file.
20235 * gdb.cp/chained-calls.exp: New file.
20236 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
20238 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
20240 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
20241 * gdb.dwarf2/symtab-producer.exp: Same.
20242 * gdb.gdb/python-interrupts.exp: Same.
20243 * gdb.gdb/python-selftest.exp: Same.
20244 * gdb.python/py-linetable.exp: Same.
20245 * gdb.python/py-type.exp: Same.
20246 * gdb.python/py-value-cc.exp: Same.
20247 * gdb.python/py-value.exp: Same.
20249 2014-11-28 Yao Qi <yao@codesourcery.com>
20251 * gdb.base/break-probes.exp: Match library name prefixed with
20254 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
20256 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
20257 test expected output. Add parentheses for the call to print.
20258 Remove L suffix from integers.
20260 2014-11-26 Doug Evans <dje@google.com>
20262 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
20264 2014-11-22 Yao Qi <yao@codesourcery.com>
20266 * gdb.trace/entry-values.c: Remove asms.
20267 (foo): Add foo_label.
20268 (bar): Add bar_label.
20269 * gdb.trace/entry-values.exp: Remove code computing foo's
20270 length and bar's length.
20271 (Dwarf::assemble): Invoke function_range for bar and use
20272 MACRO_AT_func for foo.
20274 2014-11-22 Yao Qi <yao@codesourcery.com>
20276 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
20277 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
20278 Use .Lgcc43_procstart instead of gcc43.
20280 2014-11-21 Joel Brobecker <brobecker@adacore.com>
20282 * gdb.ada/n_arr_bound: New testcase.
20284 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
20286 PR breakpoints/10737
20287 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
20288 test_catch_syscall_multi_arch.
20289 (test_catch_syscall_multi_arch): New function.
20291 2014-11-20 Doug Evans <xdje42@gmail.com>
20293 * gdb.base/maint.exp: Update expected output.
20295 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
20297 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
20298 4-byte instruction on S390.
20300 2014-11-19 Joel Brobecker <brobecker@adacore.com>
20302 * gdb.ada/arr_arr: New testcase.
20304 2014-11-19 Joel Brobecker <brobecker@adacore.com>
20306 * gdb.ada/pkd_arr_elem: New Testcase.
20308 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
20310 * gdb.reverse/break-precsave: Expect completion message for
20312 * gdb.reverse/consecutive-precsave.exp: Likewise.
20313 * gdb.reverse/finish-precsave.exp: Likewise.
20314 * gdb.reverse/i386-precsave.exp: Likewise.
20315 * gdb.reverse/machinestate-precsave.exp: Likewise.
20316 * gdb.reverse/sigall-precsave.exp: Likewise.
20317 * gdb.reverse/solib-precsave.exp: Likewise.
20318 * gdb.reverse/step-precsave.exp: Likewise.
20319 * gdb.reverse/until-precsave.exp: Likewise.
20320 * gdb.reverse/watch-precsave.exp: Likewise.
20322 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20324 * gdb.base/bp-permanent.c: Include unistd.h.
20325 * gdb.python/py-framefilter-mi.c (main): Add return type.
20326 * gdb.python/py-framefilter.c (main): Likewise.
20327 * gdb.trace/actions-changed.c (main): Likewise.
20329 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20331 * gdb.mi/until.c: Add eye-catchers.
20332 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
20335 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
20337 * gdb.base/condbreak.exp: Drop references to removed non-prototype
20338 function header variants in break1.c.
20339 * gdb.base/ena-dis-br.exp: Likewise.
20340 * gdb.base/hbreak2.exp: Likewise.
20341 * gdb.reverse/until-precsave.exp: Drop references to removed
20342 non-prototype function header variants in ur1.c.
20343 * gdb.reverse/until-reverse.exp: Likewise.
20345 2014-11-17 Petr Machata <pmachata@redhat.com>
20347 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
20348 ${_cu_offset_size} bytes abbrev offset.
20350 2014-11-15 Doug Evans <xdje42@gmail.com>
20353 * gdb.base/line-symtabs.exp: New file.
20354 * gdb.base/line-symtabs.c: New file.
20355 * gdb.base/line-symtabs.h: New file.
20357 2014-11-14 Yao Qi <yao@codesourcery.com>
20359 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
20360 (func): Add label func_label.
20361 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
20362 Replace low_pc and high_pc with MACRO_AT_range.
20363 Replace name, low_pc and high_pc with MACRO_AT_func.
20365 2014-11-14 Yao Qi <yao@codesourcery.com>
20367 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
20368 Replace name, low_pc and high_pc with MACRO_AT_func.
20370 2014-11-14 Yao Qi <yao@codesourcery.com>
20372 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
20373 produce debug information.
20374 * gdb.dwarf2/implptr-optimized-out.S: Removed.
20376 2014-11-14 Yao Qi <yao@codesourcery.com>
20378 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
20379 object and get function length.
20380 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
20381 with MACRO_AT_func.
20382 (top-level): Replace gdb_compile and clean_restart with
20383 prepare_for_testing.
20384 * gdb.dwarf2/main.c (main): Add label main_label.
20386 2014-11-14 Yao Qi <yao@codesourcery.com>
20388 * lib/dwarf.exp (function_range): New procedure.
20389 (Dwarf::_handle_macro_at_func): New procedure.
20390 (Dwarf::_handle_macro_at_range): New procedure.
20391 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
20393 2014-11-14 Yao Qi <yao@codesourcery.com>
20395 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
20396 (_handle_attribute): New procedure.
20398 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20400 * gdb.ada/cond_lang/foo.c (callme): Add return type.
20401 * gdb.base/call-sc.c (zed): Likewise.
20402 * gdb.base/checkpoint.c (main): Likewise.
20403 * gdb.base/dump.c (main): Likewise.
20404 * gdb.base/gcore.c (main): Likewise.
20405 * gdb.base/huge.c (main): Likewise.
20406 * gdb.base/multi-forks.c (main): Likewise.
20407 * gdb.base/pr10179-a.c (main): Likewise.
20408 * gdb.base/savedregs.c (main): Likewise.
20409 * gdb.base/sigaltstack.c (main): Likewise.
20410 * gdb.base/siginfo.c (main): Likewise.
20411 * gdb.base/structs.c (zed): Likewise.
20412 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
20413 * gdb.mi/mi-syn-frame.c (main): Likewise.
20414 * gdb.mi/until.c (foo, main): Likewise.
20415 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
20416 * gdb.base/solib-weak.c (foo): Declare.
20417 * gdb.base/attach-twice.c: Include stdio.h.
20418 * gdb.base/weaklib1.c: Likewise.
20419 * gdb.base/weaklib2.c: Likewise.
20420 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
20421 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
20423 * gdb.base/attach-pie-misread.c: Include stdlib.h.
20424 * gdb.mi/mi-exit-code.c: Likewise.
20425 * gdb.base/break-interp-lib.c: Include string.h.
20426 * gdb.base/coremaker.c: Likewise.
20427 * gdb.base/testenv.c: Likewise.
20428 * gdb.python/py-finish-breakpoint.c: Likewise.
20429 * gdb.base/inferior-died.c: Include sys/wait.h.
20430 * gdb.base/fileio.c: Include time.h.
20431 * gdb.base/async-shell.c: Include unistd.h.
20432 * gdb.base/dprintf-non-stop.c: Likewise.
20433 * gdb.base/info-os.c: Likewise.
20434 * gdb.mi/mi-console.c: Likewise.
20435 * gdb.mi/watch-nonstop.c: Likewise.
20436 * gdb.python/py-events.c: Likewise.
20437 * gdb.base/async.c (baz): Move up before its invocation.
20438 * gdb.base/code_elim2.c (my_global_func): Likewise.
20439 * gdb.base/skip-solib-lib.c (multiply): Likewise.
20440 * gdb.base/advance.c (func2): Likewise.
20442 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20444 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
20446 * gdb.base/annota3.c: Likewise.
20447 * gdb.base/async.c: Likewise.
20448 * gdb.base/average.c: Likewise.
20449 * gdb.base/call-ar-st.c: Likewise.
20450 * gdb.base/call-rt-st.c: Likewise.
20451 * gdb.base/call-sc.c: Likewise.
20452 * gdb.base/call-strs.c: Likewise.
20453 * gdb.base/ending-run.c: Likewise.
20454 * gdb.base/execd-prog.c: Likewise.
20455 * gdb.base/exprs.c: Likewise.
20456 * gdb.base/foll-exec.c: Likewise.
20457 * gdb.base/foll-fork.c: Likewise.
20458 * gdb.base/foll-vfork.c: Likewise.
20459 * gdb.base/funcargs.c: Likewise.
20460 * gdb.base/gcore.c: Likewise.
20461 * gdb.base/jump.c: Likewise.
20462 * gdb.base/langs0.c: Likewise.
20463 * gdb.base/langs1.c: Likewise.
20464 * gdb.base/langs2.c: Likewise.
20465 * gdb.base/mips_pro.c: Likewise.
20466 * gdb.base/nodebug.c: Likewise.
20467 * gdb.base/opaque0.c: Likewise.
20468 * gdb.base/opaque1.c: Likewise.
20469 * gdb.base/recurse.c: Likewise.
20470 * gdb.base/run.c: Likewise.
20471 * gdb.base/scope0.c: Likewise.
20472 * gdb.base/scope1.c: Likewise.
20473 * gdb.base/setshow.c: Likewise.
20474 * gdb.base/setvar.c: Likewise.
20475 * gdb.base/shmain.c: Likewise.
20476 * gdb.base/shr1.c: Likewise.
20477 * gdb.base/shr2.c: Likewise.
20478 * gdb.base/sigall.c: Likewise.
20479 * gdb.base/signals.c: Likewise.
20480 * gdb.base/so-indr-cl.c: Likewise.
20481 * gdb.base/solib2.c: Likewise.
20482 * gdb.base/structs.c: Likewise.
20483 * gdb.base/sum.c: Likewise.
20484 * gdb.base/vforked-prog.c: Likewise.
20485 * gdb.base/watchpoint.c: Likewise.
20486 * gdb.reverse/shr2.c: Likewise.
20487 * gdb.reverse/until-reverse.c: Likewise.
20488 * gdb.reverse/ur1.c: Likewise.
20489 * gdb.reverse/watch-reverse.c: Likewise.
20491 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20493 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
20495 * gdb.base/sepdebug.exp: Drop references to removed code.
20497 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20499 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
20500 variant. Preserve original line numbering.
20501 * gdb.base/list1.c: Likewise.
20503 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20505 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
20507 * gdb.base/break1.c: Likewise.
20508 * gdb.base/break.exp: Drop references to removed code.
20510 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20512 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
20515 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20517 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
20519 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20521 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
20522 logic into perform_all_tests() and invoke it with and without
20523 function header prototypes.
20524 (do_function_calls): Remove conditional XFAIL for PR 5318.
20525 (rerun_and_prepare): Remove duplicate code.
20526 (perform_all_tests): New. Main logic moved here.
20528 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20530 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
20531 code guarded by #ifdef NO_PROTOTYPES.
20532 (t_double_many_args): Likewise.
20533 (DEF_FUNC_MANY_ARGS_1): Likewise.
20534 (DEF_FUNC_VALUES_1): Likewise.
20535 (t_structs_ldc): Renamed from t_structs_fc in conditional code
20536 guarded by #ifdef PROTOTYPES.
20538 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20540 * gdb.mi/mi-console.c: Add eye-catcher.
20541 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
20542 instead of literal line number.
20544 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20546 * gdb.base/shr2.c: Add eye-catcher.
20547 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
20550 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20552 * gdb.base/jump.c: Add eye-catchers.
20553 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
20556 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20558 * gdb.base/execd-prog.c: Add eye-catchers.
20559 * gdb.base/foll-exec.c: Likewise.
20560 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
20563 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20565 * gdb.base/ending-run.c: Add eye-catchers.
20566 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
20567 literal line numbers.
20569 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20571 * gdb.base/call-rt-st.c: Add eye-catchers.
20572 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
20573 literal line numbers.
20575 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20577 * gdb.base/call-ar-st.c: Add eye-catchers.
20578 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
20579 literal line numbers.
20581 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20583 * gdb.base/average.c: Add eye-catchers.
20584 * gdb.base/sum.c: Likewise.
20585 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
20586 regexps dynamically.
20588 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
20590 * gdb.base/solib1.c: Add eye-catchers.
20591 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
20592 literal line numbers.
20594 2014-11-12 Pedro Alves <palves@redhat.com>
20596 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
20599 2014-11-12 Pedro Alves <palves@redhat.com>
20601 * gdb.arch/i386-bp_permanent.c: New file.
20602 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
20603 (srcfile): Set to i386-bp_permanent.c.
20604 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
20605 that stepi does not execute the 'leave' instruction, instead of
20606 testing it does execute.
20607 * gdb.base/bp-permanent.c: New file.
20608 * gdb.base/bp-permanent.exp: New file.
20610 2014-11-10 Doug Evans <xdje42@gmail.com>
20613 * gdb.base/symtab-search-order.exp: New file.
20614 * gdb.base/symtab-search-order.c: New file.
20615 * gdb.base/symtab-search-order-1.c: New file.
20616 * gdb.base/symtab-search-order-shlib-1.c: New file.
20618 2014-11-07 Pedro Alves <palves@redhat.com>
20621 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
20624 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
20627 * gdb.cp/pr17494.cc: New file.
20628 * gdb.cp/pr17494.exp: New file.
20630 2014-11-02 Yao Qi <yao@codesourcery.com>
20632 * gdb.python/python.exp: Get working directory and match the
20633 output of "set extended-prompt \\w " with it.
20635 2014-10-30 Doug Evans <dje@google.com>
20637 * gdb.python/py-objfile.exp: Add tests for setting random attributes
20639 * gdb.python/py-progspace.exp: Add tests for setting random attributes
20642 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
20644 * gdb.base/fullpath-expand.exp: Skip for a remote host.
20645 * gdb.base/realname-expand.exp: Likewise.
20646 * gdb.linespec/macro-relative.exp: Likewise.
20648 2014-10-29 Pedro Alves <palves@redhat.com>
20651 * gdb.threads/schedlock.c (some_function): New function.
20652 (call_function): New global.
20653 (MAYBE_CALL_SOME_FUNCTION): New macro.
20654 (thread_function): Call it.
20655 * gdb.threads/schedlock.exp (get_args): Add description parameter,
20656 and use it instead of a global counter. Adjust all callers.
20657 (get_current_thread): Use "find current thread" for test message
20658 here rather than having all callers pass down the same string.
20659 (goto_loop): New procedure, factored out from ...
20660 (my_continue): ... this.
20661 (step_ten_loops): Change parameter from test message to command to
20663 (list_count): Delete global.
20664 (check_result): New procedure, factored out from duplicate top
20666 (continue tests): Wrap in with_test_prefix.
20667 (test_step): New procedure, factored out from duplicate top level
20669 (top level): Test "step" in combination with all scheduler-locking
20670 modes. Test "next" in combination with all scheduler-locking
20671 modes, and in combination with stepping over a function call or
20673 * gdb.threads/next-bp-other-thread.c: New file.
20674 * gdb.threads/next-bp-other-thread.exp: New file.
20676 2014-10-29 Pedro Alves <palves@redhat.com>
20679 * gdb.python/python.exp: Test a multi-line command that spawns
20680 interactive Python.
20681 * gdb.base/multi-line-starts-subshell.exp: New file.
20683 2014-10-29 Yao Qi <yao@codesourcery.com>
20685 * gdb.base/fileio.exp: Make directories on host.
20687 2014-10-29 Yao Qi <yao@codesourcery.com>
20689 * gdb.base/fileio.c (test_write): Close the file.
20691 2014-10-28 Pedro Alves <palves@redhat.com>
20694 * gdb.base/sigstep.c (no_handler): New global.
20695 (main): If 'no_handler is true, set the signal handlers to
20697 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
20698 with_sw_watch and no_handler parameters. Handle them.
20699 (top level) <stepping over handler when stopped at a breakpoint
20700 test>: Add a test axis for testing with a software watchpoint, and
20701 another for testing with the signal handler set to SIG_IGN.
20702 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
20703 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
20705 2014-10-28 Pedro Alves <palves@redhat.com>
20708 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
20709 * gdb.base/sigstep.exp (other_handler_location): New global.
20710 (advance): Support stepping into the signal handler, and running
20711 commands while in the handler.
20712 (in_handler_map): New global.
20713 (top level): In the advance test, add combinations for getting
20714 into the handler with stepping commands, and for running commands
20715 in the handler. Add comment descripting the advancei tests.
20717 2014-10-28 Pedro Alves <palves@redhat.com>
20719 * gdb.base/sigstep.exp: Use build_executable instead of
20720 prepare_for_testing.
20721 (top level): Move code that starts GDB, runs to main and creates a
20723 (restart): ... this new procedure.
20724 (top level): Move backtrace from signal handler test to ...
20725 (validate_backtrace): ... this new procedure.
20726 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
20727 with_test_prefix. Always restart GDB.
20728 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
20729 with_test_prefix. Always restart GDB. No need to delete
20730 breakpoints after the test.
20731 (test_skip_handler): Remove prefix parameter.
20732 (skip_over_handler, breakpoint_to_handler)
20733 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
20734 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
20735 restart GDB. No need to delete breakpoints after the test.
20736 (top level): Use foreach to call the test procedures with
20737 different commands.
20739 2014-10-28 Pedro Alves <palves@redhat.com>
20741 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
20742 instead of GNATS numbers.
20743 * gdb.base/sigbpt.exp: Likewise.
20744 * gdb.base/siginfo.exp: Likewise.
20745 * gdb.base/sigstep.exp: Likewise.
20747 2014-10-27 Pedro Alves <palves@redhat.com>
20749 * gdb.base/sigstep.c (dummy): New global.
20750 (main): Issue a couple writes to the new global.
20751 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
20753 (skip_over_handler): Use test_skip_handler.
20754 (top level): Call skip_over_handler for stepi and nexti too.
20755 (breakpoint_over_handler): Use test_skip_handler.
20756 (top level): Call breakpoint_over_handler for stepi and nexti too.
20758 2014-10-27 Yao Qi <yao@codesourcery.com>
20760 * gdb.trace/tfile.c (adjust_function_address)
20761 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
20762 function descriptor.
20764 2014-10-24 Don Breazeal <donb@codesourcery.com>
20766 * gdb.base/foll-fork.exp (test_follow_fork,
20767 catch_fork_child_follow): Check for updated fork messages emitted
20769 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
20770 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
20771 vfork_and_exec_child_follow_through_step): Check for updated vfork
20772 messages emitted from infrun.c.
20774 2014-10-24 Pedro Alves <palves@redhat.com>
20776 * gdb.base/corefile.exp: Remove references to ultrix.
20777 * gdb.base/interrupt.exp: Likewise.
20778 * gdb.base/whatis.exp: Likewise.
20779 * gdb.gdb/selftest.exp: Likewise.
20780 * gdb.threads/manythreads.exp: Likewise.
20781 * gdb.threads/print-threads.exp: Likewise.
20782 * gdb.threads/pthreads.exp:: Likewise.
20783 * gdb.threads/schedlock.exp: Likewise.
20785 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
20787 * gdb.cp/non-trivial-retval.cc: Add a test case.
20788 * gdb.cp/non-trivial-retval.exp: Add a test.
20790 2014-10-20 Yao Qi <yao@codesourcery.com>
20792 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
20793 * gdb.python/py-objfile-script-gdb.py: New file.
20794 * gdb.python/py-objfile-script.exp: Update reference to
20795 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
20796 of remote_download. Remove the dest file.
20798 2014-10-20 Yao Qi <yao@codesourcery.com>
20800 * gdb.base/checkpoint.exp: Don't remove file copied on host.
20801 * gdb.base/step-line.exp: Likewise.
20802 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
20803 * gdb.dwarf2/dw2-basic.exp: Likewise.
20804 * gdb.dwarf2/dw2-compressed.exp: Likewise.
20805 * gdb.dwarf2/dw2-filename.exp: Likewise.
20806 * gdb.dwarf2/dw2-intercu.exp: Likewise.
20807 * gdb.dwarf2/dw2-intermix.exp: Likewise.
20808 * gdb.dwarf2/dw2-producer.exp: Likewise.
20809 * gdb.dwarf2/mac-fileno.exp: Likewise.
20810 * gdb.python/py-frame-args.exp: Likewise.
20811 * gdb.python/py-framefilter.exp: Likewise.
20812 * gdb.python/py-mi.exp: Likewise.
20813 * gdb.python/py-objfile-script.exp: Likewise
20814 * gdb.python/py-pp-integral.exp: Likewise.
20815 * gdb.python/py-pp-re-notag.exp: Likewise.
20816 * gdb.python/py-prettyprint.exp: Likewise.
20817 * gdb.python/py-section-script.exp: Likewise.
20818 * gdb.python/py-typeprint.exp: Likewise.
20819 * gdb.python/py-xmethods.exp: Likewise.
20820 * gdb.stabs/weird.exp: Likewise.
20821 * gdb.xml/tdesc-regs.exp: Likewise.
20823 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
20825 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
20826 (out_cu): Use addr_len for the size of addresses.
20827 (out_line): Likewise. Size DW_LNE_set_address instruction
20828 according to addr_len.
20829 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
20830 (FUNC): Add START_INSNS to definition.
20832 2014-10-18 Yao Qi <yao@codesourcery.com>
20834 * gdb.base/argv0-symlink.exp: Check argv[0] value if
20835 gdb_has_argv0 return true.
20836 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
20837 check [target_info exists noargs], check [gdb_has_argv0]
20839 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
20840 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
20843 2014-10-17 Doug Evans <dje@google.com>
20845 * gdb.python/py-events.exp: Update expected output for clear_objfiles
20847 * gdb.python/py-events.py: Add clear_objfiles event.
20849 2014-10-17 Doug Evans <dje@google.com>
20851 * gdb.python/py-objfile.exp: Test progspace attribute.
20853 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
20855 * gdb.guile/scm-breakpoint.exp: Do not assume any
20856 directory separators when matching source file paths.
20857 * gdb.python/py-breakpoint.exp: Likewise.
20858 * gdb.reverse/break-precsave.exp: Likewise.
20859 * gdb.reverse/break-reverse.exp: Likewise.
20860 * gdb.reverse/consecutive-precsave.exp: Likewise.
20861 * gdb.reverse/finish-precsave.exp: Likewise.
20862 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
20863 * gdb.reverse/finish-reverse.exp: Likewise.
20864 * gdb.reverse/i386-precsave.exp: Likewise.
20865 * gdb.reverse/i387-env-reverse.exp: Likewise.
20866 * gdb.reverse/i387-stack-reverse.exp: Likewise.
20867 * gdb.reverse/machinestate-precsave.exp: Likewise.
20868 * gdb.reverse/machinestate.exp: Likewise.
20869 * gdb.reverse/sigall-precsave.exp: Likewise.
20870 * gdb.reverse/solib-precsave.exp: Likewise.
20871 * gdb.reverse/step-precsave.exp: Likewise.
20872 * gdb.reverse/until-precsave.exp: Likewise.
20873 * gdb.reverse/watch-precsave.exp: Likewise.
20874 * gdb.reverse/watch-reverse.exp: Likewise.
20876 2014-10-17 Yao Qi <yao@codesourcery.com>
20878 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
20879 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
20881 2014-10-17 Pedro Alves <palves@redhat.com>
20884 * gdb.base/bg-execution-repeat.c: New file.
20885 * gdb.base/bg-execution-repeat.exp: New file.
20887 2014-10-17 Pedro Alves <palves@redhat.com>
20890 * gdb.base/continue-all-already-running.c: New file.
20891 * gdb.base/continue-all-already-running.exp: New file.
20893 2014-10-17 Pedro Alves <palves@redhat.com>
20896 * gdb.base/annota-input-while-running.c: New file.
20897 * gdb.base/annota-input-while-running.exp: New file.
20899 2014-10-17 Pedro Alves <palves@redhat.com>
20901 * gdb.base/callfuncs.exp: emove references to osf.
20902 * gdb.base/sigall.exp: Likewise.
20903 * gdb.gdb/selftest.exp: Likewise.
20904 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
20905 * gdb.mi/non-stop.c: Likewise.
20906 * gdb.mi/pthreads.c: Likewise.
20907 * gdb.reverse/sigall-precsave.exp: Likewise.
20908 * gdb.reverse/sigall-reverse.exp: Likewise.
20909 * gdb.threads/pthreads.c: Likewise.
20910 * gdb.threads/pthreads.exp: Likewise.
20912 2014-10-17 Yao Qi <yao@codesourcery.com>
20914 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
20915 check 'target_info exists noargs'.
20916 (test_command_prompt_position): Likewise.
20917 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
20919 (progvar_simple_while_test): Likewise.
20920 (progvar_complex_if_while_test): Likewise.
20921 (if_while_breakpoint_command_test): Likewise.
20922 (infrun_breakpoint_command_test): Likewise.
20923 (breakpoint_command_test): Likewise.
20924 (watchpoint_command_test): Likewise.
20925 (bp_deleted_in_command_test): Likewise.
20926 (temporary_breakpoint_commands): Likewise.
20928 2014-10-16 Yao Qi <yao@codesourcery.com>
20930 * gdb.base/remotetimeout.exp: Remove noargs checking.
20932 2014-10-15 Pedro Alves <palves@redhat.com>
20934 PR breakpoints/9649
20935 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
20936 * gdb.base/breakpoint-in-ro-region.exp
20937 (probe_target_hardware_step): New procedure.
20938 (top level): Probe hardware stepping and hardware breakpoint
20939 support. Test stepping through a read-only region, with both
20940 "breakpoint auto-hw" on and off and both "always-inserted" on and
20943 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
20945 * gdb.dlang/demangle.exp: Update for demangling changes.
20947 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
20949 * gdb.cp/non-trivial-retval.cc: Add new test cases.
20950 * gdb.cp/non-trivial-retval.exp: Add new tests.
20952 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
20956 * gdb.cp/non-trivial-retval.cc: New file.
20957 * gdb.cp/non-trivial-retval.exp: New file.
20959 2014-10-15 Yao Qi <yao@codesourcery.com>
20961 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
20964 2014-10-15 Yao Qi <yao@codesourcery.com>
20966 * gdb.python/py-symbol.exp: Match file base name if host is
20967 remote, otherwise match file name with dir name.
20968 * gdb.python/py-symtab.exp: Likewise.
20969 * gdb.python/python.exp: Likewise.
20971 2014-10-15 Yao Qi <yao@codesourcery.com>
20973 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
20975 * gdb.python/py-symtab.exp: Likewise.
20976 * gdb.python/python.exp: Remove trailing ".*". Fix typo
20979 2014-10-14 Joel Brobecker <brobecker@adacore.com>
20981 * gdb.ada/addr_arith: New testcase.
20983 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
20985 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
20986 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
20987 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
20988 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
20990 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
20992 * gdb.arch/stap-eval-lang-ada.S: Likewise.
20993 * gdb.arch/stap-eval-lang-ada.c: Likewise.
20994 * gdb.arch/stap-eval-lang-ada.exp: New file.
20996 2014-10-14 Yao Qi <yao@codesourcery.com>
20998 * gdb.mi/mi-var-child.c (nothing1): New function.
20999 (nothing2): New function.
21000 (do_children_tests): Set function pointers by nothing1 and
21002 * gdb.mi/mi-var-child.exp: Step over new added statements.
21003 Update test to match the new output.
21004 * gdb.mi/var-cmd.c (nothing1): New function.
21005 (nothing2): New function.
21006 (do_children_tests): Set function pointers by nothing1 and
21008 * gdb.mi/mi-var-display.exp: Update test to match output.
21009 Step to the line specified by $line_dct_nothing.
21010 Increase the number of lines to step.
21012 2014-10-14 Yao Qi <yao@codesourcery.com>
21014 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
21016 * gdb.mi/mi2-var-child.exp: Likewise.
21018 2014-10-13 Doug Evans <dje@google.com>
21020 * gdb.python/py-objfile.exp: Change name of file name test.
21022 2014-10-13 Doug Evans <dje@google.com>
21024 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
21025 from the start of the CU.
21027 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
21028 Yao Qi <yao@codesourcery.com>
21030 Fix "save breakpoints" for "catch" command.
21031 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
21032 Remove -nonewline. Match also the added "main" line.
21034 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21036 Fix "save breakpoints" for "disable $bpnum" command.
21037 * gdb.base/save-bp.c (main): Add label.
21038 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
21040 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21042 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
21044 2014-10-11 Yao Qi <yao@codesourcery.com>
21046 * gdb.server/server-kill.exp: Execute command
21047 "set remote trace-status-packet on" before "tstatus".
21049 2014-10-11 Yao Qi <yao@codesourcery.com>
21051 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
21052 (main): Call getppid.
21053 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
21054 and continue to it. Read variable "server_pid".
21056 2014-10-11 Yao Qi <yao@codesourcery.com>
21058 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
21060 2014-10-11 Yao Qi <yao@codesourcery.com>
21062 * gdb.threads/thread-find.exp: Don't execute command
21064 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
21065 * gdb.threads/linux-dp.exp: Don't check the condition
21066 $threads_created equals to zero.
21068 2014-10-10 Pedro Alves <palves@redhat.com>
21070 * gdb.base/bigcore.exp: Remove references to IRIX.
21071 * gdb.base/funcargs.exp: Likewise.
21072 * gdb.base/interrupt.exp: Likewise.
21073 * gdb.base/mips_pro.exp: Likewise.
21074 * gdb.base/nodebug.exp: Likewise.
21075 * gdb.base/setvar.exp: Likewise.
21076 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
21078 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
21079 Pedro Alves <palves@redhat.com>
21082 * gdb.base/vdso-warning.c: New file.
21083 * gdb.base/vdso-warning.exp: New file.
21085 2014-10-02 Doug Evans <dje@google.com>
21087 * gdb.base/structs.c (main): Don't run forever.
21089 2014-10-02 Pedro Alves <palves@redhat.com>
21091 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
21092 (top level) <stop threads 1, stop threads 2>: Use it.
21094 2014-10-02 Pedro Alves <palves@redhat.com>
21096 * gdb.threads/break-while-running.exp (test): Add new
21097 'update_thread_list' argument. Skip "info threads" if false.
21098 (top level): Add new 'update_thread_list' axis.
21100 2014-10-02 Pedro Alves <palves@redhat.com>
21102 PR breakpoints/17431
21103 * gdb.base/execl-update-breakpoints.c: New file.
21104 * gdb.base/execl-update-breakpoints.exp: New file.
21106 2014-10-01 Pedro Alves <palves@redhat.com>
21108 * gdb.base/breakpoint-in-ro-region.c: New file.
21109 * gdb.base/breakpoint-in-ro-region.exp: New file.
21111 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
21113 * gdb.mi/mi-exit-code.exp: New file.
21114 * gdb.mi/mi-exit-code.c: New file.
21116 2014-09-30 Yao Qi <yao@codesourcery.com>
21118 * lib/prelink-support.exp (build_executable_own_libs): Error if
21119 the target isn't native.
21121 2014-09-30 Yao Qi <yao@codesourcery.com>
21123 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
21126 2014-09-22 Pedro Alves <palves@redhat.com>
21128 * gdb.threads/break-while-running.exp: New file.
21129 * gdb.threads/break-while-running.c: New file.
21131 2014-09-19 Yao Qi <yao@codesourcery.com>
21133 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
21134 Invoke test. Restart GDB with --readnow and invoke test again.
21136 2014-09-19 Yao Qi <yao@codesourcery.com>
21138 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
21139 proc set_breakpoint_on_gcd_function. Invoke
21140 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
21141 invoke set_breakpoint_on_gcd_function again.
21143 2014-09-18 Doug Evans <dje@google.com>
21145 * gdb.dwarf2/symtab-producer.exp: New file.
21147 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
21149 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
21150 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
21151 * gdb.base/global-var-nested-by-dso.c: Likewise.
21152 * gdb.base/global-var-nested-by-dso.exp: Likewise.
21154 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
21155 Pedro Alves <palves@redhat.com>
21157 * gdb.base/watch-bitfields.exp: Pass string other than test file
21158 name to prepare_for_testing.
21159 (watch): New procedure.
21160 (expect_watchpoint): Use with_test_prefix.
21161 (top level): Factor out tests to ...
21162 (test_watch_location, test_regular_watch): ... these new
21163 procedures, and use with_test_prefix and gdb_continue_to_end.
21165 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
21167 PR breakpoints/12526
21168 * gdb.base/watch-bitfields.exp: New file.
21169 * gdb.base/watch-bitfields.c: New file.
21171 2014-09-16 Pedro Alves <palves@redhat.com>
21173 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
21174 software and hardware addresses, not software address against
21177 2014-09-16 Pedro Alves <palves@redhat.com>
21179 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
21180 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
21182 2014-09-16 Pedro Alves <palves@redhat.com>
21184 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
21186 * gdb.base/a2-run.exp: Remove all code guarded by istarget
21187 "*-*-vxworks*" throughout.
21188 * gdb.base/break.exp: Likewise.
21189 * gdb.base/default.exp: Likewise.
21190 * gdb.base/scope.exp: Likewise.
21191 * gdb.base/sepdebug.exp: Likewise.
21192 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
21194 * gdb.base/run.c: Likewise.
21195 * gdb.base/sepdebug.c: Likewise.
21196 * gdb.hp/gdb.aCC/run.c: Likewise.
21197 * gdb.reverse/until-reverse.c: Likewise.
21198 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
21200 2014-09-16 Yao Qi <yao@codesourcery.com>
21202 * boards/local-remote-host-native.exp: New file.
21204 2014-09-14 Doug Evans <xdje42@gmail.com>
21206 * gdb.threads/queue-signal.c (thread_count): New variable.
21207 (thread_count_mutex, thread_count_condvar): New variables.
21208 (incr_thread_count, wait_all_threads_running): New functions.
21209 (main): Wait for all threads to be in their thread functions.
21211 2014-09-13 Doug Evans <xdje42@gmail.com>
21213 * gdb.threads/queue-signal.c: New file.
21214 * gdb.threads/queue-signal.exp: New file.
21216 2014-09-13 Doug Evans <xdje42@gmail.com>
21218 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
21219 be consistent with what default_gdb_init uses.
21220 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
21221 the plain text of the prompt. Add some logging printfs.
21222 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
21224 2014-09-12 Pedro Alves <palves@redhat.com>
21226 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
21227 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
21228 * gdb.arch/i386-size-overlap.exp: Likewise.
21229 * gdb.arch/i386-size.exp: Likewise.
21230 * gdb.arch/i386-unwind.exp: Likewise.
21231 * gdb.base/a2-run.exp: Likewise.
21232 * gdb.base/break.exp: Likewise.
21233 * gdb.base/charset.exp: Likewise.
21234 * gdb.base/chng-syms.exp: Likewise.
21235 * gdb.base/commands.exp: Likewise.
21236 * gdb.base/dbx.exp: Likewise.
21237 * gdb.base/find.exp: Likewise.
21238 * gdb.base/funcargs.exp: Likewise.
21239 * gdb.base/jit-simple.exp: Likewise.
21240 * gdb.base/reread.exp: Likewise.
21241 * gdb.base/sepdebug.exp: Likewise.
21242 * gdb.base/step-bt.exp: Likewise.
21243 * gdb.cp/mb-inline.exp: Likewise.
21244 * gdb.cp/mb-templates.exp: Likewise.
21245 * gdb.objc/basicclass.exp: Likewise.
21246 * gdb.threads/killed.exp: Likewise.
21248 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21251 * gdb.arch/powerpc-stackless.S: New file.
21252 * gdb.arch/powerpc-stackless.exp: New file.
21254 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
21256 * gdb.base/attach.c: Include unistd.h.
21257 (main): Call alarm. Add label postloop.
21258 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
21259 gdb_breakpoint, gdb_continue_to_breakpoint.
21260 (test_command_line_attach_run): Kill ${testpid} in one exit path.
21262 2014-09-11 Pedro Alves <palves@redhat.com>
21265 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
21266 * gdb.base/attach.exp (test_command_line_attach_run): New
21268 (top level): Call it.
21270 2014-09-11 Pedro Alves <palves@redhat.com>
21272 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
21273 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
21274 (do_command_attach_tests): Use spawn_wait_for_attach.
21275 * gdb.base/solib-overlap.exp: Likewise.
21276 * gdb.multi/multi-attach.exp: Likewise.
21277 * gdb.python/py-prompt.exp: Likewise.
21278 * gdb.python/py-sync-interp.exp: Likewise.
21279 * gdb.server/ext-attach.exp: Likewise.
21281 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
21283 * gdb.fortran/array-element.exp: Remove unexpected "continue"
21284 command in testcase. Simplify testcase.
21286 2014-09-10 Joel Brobecker <brobecker@adacore.com>
21288 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
21290 2014-09-10 Joel Brobecker <brobecker@adacore.com>
21292 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
21294 2014-09-10 Joel Brobecker <brobecker@adacore.com>
21296 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
21298 2014-09-10 Joel Brobecker <brobecker@adacore.com>
21300 * gdb.dwarf2/dynarr-ptr.c: New file.
21301 * gdb.dwarf2/dynarr-ptr.exp: New file.
21303 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21305 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
21306 of 30 rather than hardcoding 120 for a slow test case. Take the
21307 `gdb,timeout' target setting into account for this calculation.
21308 Don't extend the timeout for the test cases that don't need it.
21310 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21312 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
21313 a factor of 2 for a slow test case. Take the `gdb,timeout'
21314 target setting into account for this calculation.
21315 * gdb.reverse/until-precsave.exp: Increase the timeout by
21316 a factor of 15 and 3 respectively rather than adding 120
21317 for a pair of slow test cases. Take the `gdb,timeout'
21318 target setting into account for this calculation.
21320 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21322 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
21323 timeout, don't pass one down to gdb_expect.
21324 (gdb_expect): Rework timeout selection.
21326 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21328 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
21329 exception on timeout.
21330 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
21331 (gdbserver_start_extended): Catch any `gdbserver_start' error
21333 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
21334 * lib/mi-support.exp (mi_gdb_target_load): Catch any
21335 `gdbserver_gdb_load' error exceptions.
21337 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21339 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
21340 120 on waiting for the TCP socket to open.
21342 2014-09-09 Doug Evans <xdje42@gmail.com>
21344 * gdb.base/default.exp (show_conv_list): Add _caller_is,
21345 _caller_matches, _any_caller_is, _any_caller_matches.
21347 2014-09-09 Doug Evans <xdje42@gmail.com>
21349 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
21351 2014-09-09 Yao Qi <yao@codesourcery.com>
21353 * gdb.mi/mi-var-display.exp: Set print symbol off.
21355 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
21358 * gdb.base/commands.exp: Add tests to verify user-defined
21359 commands with empty bodies.
21360 * gdb.python/py-cmd.exp: Test that we don't show user-defined
21361 python commands in `show user command`.
21362 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
21363 scheme commands in `show user command`.
21365 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
21368 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
21369 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
21370 * gdb.python/py-framefilter-invalidarg.exp: New file.
21371 * gdb.python/py-framefilter-invalidarg.py: New file.
21373 2014-09-06 Doug Evans <xdje42@gmail.com>
21376 * gdb.python/py-caller-is.c: New file.
21377 * gdb.python/py-caller-is.exp: New file.
21379 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
21382 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
21383 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
21385 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
21388 * gdb.fortran/print-formatted.exp: New file.
21389 * gdb.fortran/print-formatted.f90: Likewise.
21391 2014-09-03 Sasha Smundak <asmundak@google.com>
21393 * gdb.python/py-frame.exp: Test Frame.read_register.
21395 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
21398 * gdb.python/py-completion.exp: New file.
21399 * gdb.python/py-completion.py: Likewise.
21401 2014-08-28 Doug Evans <dje@google.com>
21403 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
21404 eax,etc. are live with values set by gdb and thus the compiler can't
21406 * gdb.arch/i386-pseudo.c (main): Ditto.
21408 2014-08-27 Doug Evans <dje@google.com>
21410 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
21412 2014-08-25 Doug Evans <dje@google.com>
21414 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
21417 2014-08-25 Doug Evans <dje@google.com>
21419 * gdb.threads/thread-execl.exp: #include <stdio.h>.
21421 2014-08-24 Yao Qi <yao@codesourcery.com>
21423 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
21425 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
21427 2014-08-22 Doug Evans <dje@google.com>
21430 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
21431 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
21432 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
21434 2014-08-22 Yao Qi <yao@codesourcery.com>
21436 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
21437 * gdb.python/py-finish-breakpoint2.exp: Likewise.
21438 * gdb.python/python.exp: Likewise. Use .py file on the host
21439 instead of the build.
21441 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
21443 * gdb.threads/gcore-stale-thread.c: New file.
21444 * gdb.threads/gcore-stale-thread.exp: New file.
21446 2014-08-21 Pedro Alves <palves@redhat.com>
21448 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
21449 * gdb.base/gcore-relro-pie.exp: Likewise.
21450 * gdb.base/gcore-relro.exp: Likewise.
21451 * gdb.base/gcore.exp: Likewise.
21452 * gdb.base/print-symbol-loading.exp: Likewise.
21453 * gdb.threads/gcore-thread.exp: Likewise.
21454 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
21456 2014-08-20 Pedro Alves <palves@redhat.com>
21457 Jan Kratochvil <jan.kratochvil@redhat.com>
21459 * Makefile.in (EXTRA_RULES, CC): New variables, get from
21461 (EXPECT): Handle READ1 being set.
21462 (all): Depend on EXTRA_RULES.
21463 (check-read1, expect-read1, read1.so, read1): New rules.
21464 * README (Testsuite Parameters): Document the READ1 make variable.
21465 (Race detection): New section.
21466 * configure: Regenerate.
21467 * configure.ac: If build==host==target, and running under a
21468 GNU/glibc system, add read1 to the extra Makefile rules.
21469 (EXTRA_RULES): AC_SUBST it.
21470 * lib/read1.c: New file.
21472 2014-08-20 Joel Brobecker <brobecker@adacore.com>
21474 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
21475 the handling of variables declared as a typedef to an array
21476 which a DW_AT_data_location attribute.
21478 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
21479 Pedro Alves <palves@redhat.com>
21483 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
21486 2014-08-19 Pedro Alves <palves@redhat.com>
21488 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
21490 2014-08-19 Yao Qi <yao@codesourcery.com>
21492 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
21495 2014-08-18 David Blaikie <dblaikie@gmail.com>
21497 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
21499 2014-08-18 Joel Brobecker <brobecker@adacore.com>
21501 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
21502 attribute in array range.
21504 2014-08-18 Joel Brobecker <brobecker@adacore.com>
21506 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
21508 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
21511 * gdb.cp/pr17132.cc: New file.
21512 * gdb.cp/pr17132.exp: New file.
21514 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
21516 * gdb.python/py-xmethods.py (A_getarrayind)
21517 (E_method_char_worker.__call__, E_method_int_worker.__call__):
21518 Use 'print' with function call syntax.
21519 (E_method_matcher.match): Fix tab vs space indentation mixup.
21521 2014-08-15 Yao Qi <yao@codesourcery.com>
21523 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
21526 2014-08-15 Yao Qi <yao@codesourcery.com>
21528 * gdb.cp/casts.exp: Set print symbol off.
21529 * gdb.cp/class2.exp: Likewise.
21530 * gdb.cp/overload.exp: Likewise.
21531 * gdb.cp/templates.exp: Likewise.
21533 2014-08-11 Doug Evans <dje@google.com>
21535 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
21536 (test_load_shlib): Update.
21538 2014-08-09 Yao Qi <yao@codesourcery.com>
21540 * gdb.base/display.exp: Invoke is_address_zero_readable.
21541 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
21542 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
21543 * gdb.base/hbreak-unmapped.exp: Return if
21544 is_address_zero_readable returns true.
21545 * gdb.base/signest.exp: Likewise.
21546 * gdb.base/signull.exp: Likewise.
21547 * gdb.base/sigbpt.exp: Likewise.
21548 * gdb.guile/scm-disasm.exp: Do the test if
21549 is_address_zero_readable returns false.
21550 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
21551 * gdb.python/py-arch.exp: Likewise.
21552 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
21553 * lib/gdb.exp (is_address_zero_readable): New proc.
21555 2014-08-09 Yao Qi <yao@codesourcery.com>
21558 * gdb.mi/mi-var-display.exp: Make test messages unique.
21560 2014-08-04 Tom Tromey <tromey@redhat.com>
21562 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
21565 2014-08-04 Tom Tromey <tromey@redhat.com>
21567 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
21570 2014-08-01 Joel Brobecker <brobecker@adacore.com>
21572 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
21573 inner_vla_struct_object_size.
21574 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
21577 2014-07-30 Pedro Alves <palves@redhat.com>
21579 * gdb.threads/signal-command-handle-nopass.exp (test): Add
21582 2014-07-29 Yao Qi <yao@codesourcery.com>
21585 * gdb.base/until-nodebug.exp: New.
21587 2014-07-28 Doug Evans <xdje42@gmail.com>
21590 * gdb.guile/scm-parameter.exp: Add tests for trying to create
21591 previously existing parameter, and previously ambiguously spelled
21594 2014-07-28 Will Newton <will.newton@linaro.org>
21596 * gdb.base/varargs.exp: Remove KFAILs for ARM.
21598 2014-07-26 Ludovic Courtès <ludo@gnu.org>
21599 Doug Evans <xdje42@gmail.com>
21602 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
21604 2014-07-25 Pedro Alves <palves@redhat.com>
21606 * gdb.threads/signal-command-handle-nopass.c: New file.
21607 * gdb.threads/signal-command-handle-nopass.exp: New file.
21608 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
21609 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
21610 * gdb.threads/signal-delivered-right-thread.c: New file.
21611 * gdb.threads/signal-delivered-right-thread.exp: New file.
21613 2014-07-25 Pedro Alves <palves@redhat.com>
21615 * gdb.base/double-prompt-target-event-error.exp
21616 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
21618 (cancel_pagination_in_target_event): Rework double prompt
21620 * gdb.base/paginate-after-ctrl-c-running.exp
21621 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
21623 * gdb.base/paginate-bg-execution.exp
21624 (test_bg_execution_pagination_return)
21625 (test_bg_execution_pagination_cancel): Remove '-notransfer
21627 * gdb.base/paginate-execution-startup.exp
21628 (test_fg_execution_pagination_return)
21629 (test_fg_execution_pagination_cancel): Remove '-notransfer
21631 * gdb.base/paginate-inferior-exit.exp
21632 (test_paginate_inferior_exited): Remove '-notransfer <return>'
21634 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
21635 * lib/gdb.exp (pagination_prompt): Run text through
21637 (gdb_test_multiple): Match $pagination_prompt instead of
21639 (string_to_regexp): Move to lib/gdb-utils.exp.
21641 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
21643 * gdb.arch/amd64-entry-value-paramref.S: New file.
21644 * gdb.arch/amd64-entry-value-paramref.cc: New file.
21645 * gdb.arch/amd64-entry-value-paramref.exp: New file.
21646 * gdb.arch/amd64-optimout-repeat.S: New file.
21647 * gdb.arch/amd64-optimout-repeat.c: New file.
21648 * gdb.arch/amd64-optimout-repeat.exp: New file.
21650 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
21653 * gdb.base/statistics.exp: New file.
21655 2014-07-17 Doug Evans <dje@google.com>
21658 * gdb.base/maint.exp: Update testing of per-command stats.
21660 2014-07-16 Pedro Alves <palves@redhat.com>
21662 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
21663 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
21664 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
21665 (tfile_write_buf): New functions.
21666 (add_memory_block): Rewrite using the above.
21667 (adjust_function_address): New function.
21668 (FUNCTION_ADDRESS): New macro.
21669 (write_basic_trace_file): Remove short_x local, and use
21670 tfile_write_16. Change type of func_addr local to unsigned long
21671 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
21672 here. Cast argument of add_memory_block to char pointer.
21673 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
21674 (main): Remove parameters.
21675 * gdb.trace/tfile.exp: Remove nowarnings.
21677 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
21679 * gdb.base/debug-expr.exp: Test string evaluation with
21680 "debug expression" on.
21682 2014-07-15 Pedro Alves <palves@redhat.com>
21684 * gdb.base/reread.exp: Use clean_restart.
21686 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
21688 * gdb.arch/avr-flash-qualifer.c: New.
21689 * gdb.arch/avr-flash-qualifer.exp: New.
21691 2014-07-14 Pedro Alves <palves@redhat.com>
21693 * gdb.base/paginate-after-ctrl-c-running.c: New file.
21694 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
21696 2014-07-14 Pedro Alves <palves@redhat.com>
21698 * gdb.base/double-prompt-target-event-error.c: New file.
21699 * gdb.base/double-prompt-target-event-error.exp: New file.
21701 2014-07-14 Pedro Alves <palves@redhat.com>
21704 * gdb.base/paginate-inferior-exit.c: New file.
21705 * gdb.base/paginate-inferior-exit.exp: New file.
21707 2014-07-14 Pedro Alves <palves@redhat.com>
21710 * gdb.base/paginate-bg-execution.c: New file.
21711 * gdb.base/paginate-bg-execution.exp: New file.
21713 2014-07-14 Pedro Alves <palves@redhat.com>
21716 * gdb.base/paginate-execution-startup.c: New file.
21717 * gdb.base/paginate-execution-startup.exp: New file.
21718 * lib/gdb.exp (pagination_prompt): New global.
21719 (default_gdb_spawn): New procedure, factored out from
21721 (default_gdb_start): Adjust to call default_gdb_spawn.
21722 (gdb_spawn): New procedure.
21724 2014-07-14 Pedro Alves <palves@redhat.com>
21726 * lib/gdb.exp (gdb_assert): New procedure.
21727 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
21729 2014-07-14 Pedro Alves <palves@redhat.com>
21731 * gdb.base/execution-termios.c: New file.
21732 * gdb.base/execution-termios.exp: New file.
21734 2014-07-14 Tom Tromey <tromey@redhat.com>
21736 * gdb.cp/vla-cxx.cc: New file.
21737 * gdb.cp/vla-cxx.exp: New file.
21739 2014-07-14 Tom Tromey <tromey@redhat.com>
21741 * gdb.reverse/rerun-prec.c: New file.
21742 * gdb.reverse/rerun-prec.exp: New file.
21744 2014-07-12 Maciej W. Rozycki <macro@mips.com>
21745 Maciej W. Rozycki <macro@codesourcery.com>
21747 * lib/gdb-utils.exp: New file.
21748 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
21749 inline `gdb_init_command' processing.
21750 (gdb_start_cmd): Likewise.
21751 * lib/mi-support.exp (mi_run_cmd): Likewise.
21752 * README: Document `gdb_init_command' and `gdb_init_commands'.
21754 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
21756 Fix false FAIL running under a very long directory name.
21757 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
21758 and "set print elements 10000". Twice.
21760 2014-07-11 Yao Qi <yao@codesourcery.com>
21762 * gdb.base/exprs.exp: "set print symbol off".
21764 2014-07-11 Pedro Alves <palves@redhat.com>
21766 * gdb.threads/kill.c: New file.
21767 * gdb.threads/kill.exp: New file.
21769 2014-07-10 Yao Qi <yao@codesourcery.com>
21771 * gdb.trace/tfile.c (write_basic_trace_file)
21772 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
21773 address written to trace file.
21775 2014-07-09 Pedro Alves <palves@redhat.com>
21777 * gdb.base/attach-wait-input.exp: New file.
21778 * gdb.base/attach-wait-input.c: New file.
21780 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
21782 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
21783 setting up test structures.
21784 (main): Call new test function.
21785 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
21786 test function, continue into test function and walk test
21789 2014-07-02 Yao Qi <yao@codesourcery.com>
21791 * gdb.trace/entry-values.c: Define labels 'foo_start' and
21792 'bar_start' at the beginning of functions 'foo' and 'bar'
21794 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
21795 instead of 'foo' and 'bar'.
21797 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
21799 * gdb.btrace/segv.exp: New.
21800 * gdb.btrace/segv.c: New.
21802 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
21804 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
21807 2014-06-30 Mark Wielaard <mjw@redhat.com>
21809 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
21810 vulture, vilify, villar): New volatile array constants.
21811 (vindictive, vegetation): New const volatile array constants.
21812 * gdb.base/volatile.exp: Test volatile and const volatile array
21815 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
21817 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
21818 target lacks support for awatch, rwatch, or hbreak.
21820 2014-06-27 Yao Qi <yao@codesourcery.com>
21822 * gdb.multi/dummy-frame-restore.exp: New.
21823 * gdb.multi/dummy-frame-restore.c: New.
21825 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
21827 * gdb.btrace/gcore.exp: New.
21829 2014-06-23 Pedro Alves <palves@redhat.com>
21831 * gdb.base/watchpoint-reuse-slot.c: New file.
21832 * gdb.base/watchpoint-reuse-slot.exp: New file.
21834 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
21836 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
21837 progspace's filename in 'info', 'enable' and 'disable' command
21840 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
21842 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
21843 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
21844 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
21846 2014-06-20 Gary Benson <gbenson@redhat.com>
21848 * gdb.arch/i386-avx.exp: Fix include file location.
21849 * gdb.arch/i386-sse.exp: Likewise.
21851 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
21853 * gdb.dlang/expression.exp: New file.
21855 2014-06-19 Pedro Alves <palves@redhat.com>
21857 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
21859 (top level): ... here. Iterate running tests under different
21860 scheduler-locking settings.
21862 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
21864 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
21865 to DW_FORM_addr and use non-zero addresses.
21867 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
21870 * gdb.python/py-xmethods.cc: Add global function call counters and
21871 increment them in their respective functions. Remove "cout"
21873 * gdb.python/py-xmethods.exp: Make tests check the global function
21874 call counters instead of depending on inferior IO.
21876 2014-06-18 Don Breazeal <donb@codesourcery.com>
21878 * gdb.base/foll-fork.exp (default_fork_parent_follow):
21880 (explicit_fork_parent_follow): Deleted procedure.
21881 (explicit_fork_child_follow): Deleted procedure.
21882 (test_follow_fork): New procedure.
21883 (do_fork_tests): Replace calls to deleted procedures with
21884 calls to test_follow_fork and reset GDB for subsequent
21887 2014-06-17 Yao Qi <yao@codesourcery.com>
21889 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
21892 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
21894 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
21895 Initialize ptr and S explicitly.
21896 (skip_type_update_when_not_use_rtti_test): Likewise.
21898 2014-06-16 Keith Seitz <keiths@redhat.com>
21901 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
21902 the inferior is started.
21904 2014-06-16 Pedro Alves <palves@redhat.com>
21906 * gdb.base/break-main-file-remove-fail.c: New file.
21907 * gdb.base/break-main-file-remove-fail.exp: New file.
21908 * gdb.base/break-unload-file.exp: Use build_executable instead of
21909 prepare_for_testing.
21910 (test_break): New parameter "initial_load". Handle it.
21911 (top level): Add initial_load cmdline/file axis.
21913 2014-06-12 Tom Tromey <tromey@redhat.com>
21915 * gdb.base/completion.exp: Don't use directory name in test.
21917 2014-06-09 Gary Benson <gbenson@redhat.com>
21919 * gdb.base/sigall.c [Functions to send signals]: Reorder to
21920 separate the always-available ANSI-standard signals from the
21921 signals that require checking.
21923 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
21927 2014-06-07 Keith Seitz <keiths@redhat.com>
21931 * gdb.cp/var-tag.cc: New file.
21932 * gdb.cp/var-tag.exp: New file.
21933 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
21934 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
21935 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
21936 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
21938 2014-06-06 Doug Evans <xdje42@gmail.com>
21940 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
21942 2014-06-06 Pedro Alves <palves@redhat.com>
21944 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
21945 in target debug output instead of looking at RSP packets,
21946 disabling the test on any target that uses hardware stepping.
21949 2014-06-06 Pedro Alves <palves@redhat.com>
21951 * gdb.base/break-unload-file.exp: Fix typo.
21953 2014-06-06 Yao Qi <yao@codesourcery.com>
21955 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
21956 from "jit_function" to "^jit_function".
21958 2014-06-06 Yao Qi <yao@codesourcery.com>
21960 * gdb.base/async.c (foo): Add one statement.
21961 * gdb.base/async.exp: Get the next instruction address and
21962 match the output of "nexti" by instruction address. Match
21963 the hex address in the output of "finish".
21965 2014-06-06 Gary Benson <gbenson@redhat.com>
21967 * gdb.base/call-signals.c: Remove preprocessor conditionals
21968 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
21969 SIGSEGV and SIGTERM.
21970 * gdb.base/sigall.c: Likewise.
21971 * gdb.base/unwindonsignal.c: Likewise.
21972 * gdb.reverse/sigall-reverse.c: Likewise.
21974 2014-06-06 Yao Qi <yao@codesourcery.com>
21976 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
21977 readable, skip the test.
21979 2014-06-06 Yao Qi <yao@codesourcery.com>
21981 * gdb.threads/staticthreads.c (thread_function): Move the line
21982 setting breakpoint on forward.
21983 * gdb.threads/staticthreads.exp: Update comments.
21985 2014-06-05 Ludovic Courtès <ludo@gnu.org>
21987 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
21988 "history-append! type error".
21990 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
21992 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
21993 erroneous dprintf expected input.
21995 2014-06-04 Doug Evans <xdje42@gmail.com>
21997 * gdb.guile/scm-generics.exp: Delete.
21999 2014-06-04 Doug Evans <xdje42@gmail.com>
22001 * gdb.guile/scm-breakpoint.exp: Update.
22002 Add tests for breakpoint registration.
22004 2014-06-04 Tom Tromey <tromey@redhat.com>
22006 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
22008 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
22009 inner_vla_struct, vla_union types. Initialize objects of those
22010 types and compute their sizes.
22012 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
22013 Hui Zhu <hui@codesourcery.com>
22015 * gdb.base/fileio.exp: Add test for shell not available as well as
22017 * gdb.base/fileio.c (test_system): Check for shell twice.
22019 2014-06-04 Yao Qi <yao@codesourcery.com>
22021 * gdb.base/auto-connect-native-target.exp: Remove redundant
22022 space from the regexp pattern.
22024 2014-06-04 Yao Qi <yao@codesourcery.com>
22026 * gdb.base/default.exp: Replace "child" with "native" in
22029 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
22031 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
22032 * gdb.python/py-xmethods.exp: New tests to test xmethods.
22033 * gdb.python/py-xmethods.py: Python script supporting the
22034 new testcase and tests.
22036 2014-06-03 Joel Brobecker <brobecker@adacore.com>
22037 Pedro Alves <palves@redhat.com>
22039 PR breakpoints/17000
22040 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
22041 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
22043 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
22045 * gdb.base/subst.exp: Add tests to verify partial path matching
22048 2014-06-03 Pedro Alves <palves@redhat.com>
22050 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
22051 target that doesn't use software single-stepping.
22053 2014-06-03 Pedro Alves <palves@redhat.com>
22055 PR breakpoints/17000
22056 * gdb.base/sss-bp-on-user-bp-2.c: New file.
22057 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
22059 2014-06-02 Doug Evans <xdje42@gmail.com>
22061 * gdb.guile/scm-parameter.exp: New file.
22063 2014-06-02 Doug Evans <xdje42@gmail.com>
22065 * gdb.guile/scm-cmd.c: New file.
22066 * gdb.guile/scm-cmd.exp: New file.
22068 2014-06-02 Doug Evans <xdje42@gmail.com>
22070 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
22071 pretty-printer lookup.
22072 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
22073 (make-pp_s-printer): Call it.
22074 (make-pretty-printer-from-dict): New function.
22075 (lookup-pretty-printer-maker-from-dict): New function.
22076 (*pretty-printer*): Simplify.
22077 (make-objfile-pp_s-printer): New function.
22078 (install-objfile-pretty-printers!): New function.
22079 (make-progspace-pp_s-printer): New function.
22080 (install-progspace-pretty-printers!): New function.
22081 * gdb.guile/scm-progspace.c: New file.
22082 * gdb.guile/scm-progspace.exp: New file.
22084 2014-06-02 Pedro Alves <palves@redhat.com>
22086 * gdb.base/dprintf-bp-same-addr.c: New file.
22087 * gdb.base/dprintf-bp-same-addr.exp: New file.
22089 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22091 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
22092 * gdb.arch/powerpc-power.s: Likewise.
22094 2014-06-02 Joel Brobecker <brobecker@adacore.com>
22096 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
22098 2014-06-01 Yao Qi <yao@codesourcery.com>
22100 * gdb.base/watchpoint.exp (test_watch_location): Check null
22101 pointer can be dereferenced. If not, do the test, otherwise
22104 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
22106 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
22108 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
22110 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
22112 * gdb.arch/amd64-invalid-stack-middle.S: New file.
22113 * gdb.arch/amd64-invalid-stack-middle.c: New file.
22114 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
22115 * gdb.arch/amd64-invalid-stack-top.c: New file.
22116 * gdb.arch/amd64-invalid-stack-top.exp: New file.
22118 2014-05-30 Pedro Alves <palves@redhat.com>
22120 PR breakpoints/17000
22121 * gdb.base/sss-bp-on-user-bp.c: New file.
22122 * gdb.base/sss-bp-on-user-bp.exp: New file.
22124 2014-05-30 David Blaikie <dblaikie@gmail.com>
22126 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
22127 gnu_inline semantics via attribute.
22128 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
22129 source explicitly specifies the required semantics.
22131 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
22133 * gdb.reverse/sigall-reverse.exp: Fix a typo.
22135 2014-05-29 Pedro Alves <palves@redhat.com>
22136 Tom Tromey <tromey@redhat.com>
22138 * gdb.base/async-shell.exp: Don't enable target-async.
22139 * gdb.base/async.exp
22140 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
22142 (top level): Don't test with "target-async".
22143 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
22144 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
22145 * gdb.base/inferior-died.exp: Don't enable target-async.
22146 * gdb.base/interrupt-noterm.exp: Likewise.
22147 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
22148 * gdb.mi/mi-nonstop-exit.exp: Likewise.
22149 * gdb.mi/mi-nonstop.exp: Likewise.
22150 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
22151 * gdb.mi/mi-nsintrall.exp: Likewise.
22152 * gdb.mi/mi-nsmoribund.exp: Likewise.
22153 * gdb.mi/mi-nsthrexec.exp: Likewise.
22154 * gdb.mi/mi-watch-nonstop.exp: Likewise.
22155 * gdb.multi/watchpoint-multi.exp: Adjust comment.
22156 * gdb.python/py-evsignal.exp: Don't enable target-async.
22157 * gdb.python/py-evthreads.exp: Likewise.
22158 * gdb.python/py-prompt.exp: Likewise.
22159 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
22160 * gdb.server/solib-list.exp: Don't enable target-async.
22161 * gdb.threads/thread-specific-bp.exp: Likewise.
22162 * lib/mi-support.exp: Adjust to use mi-async.
22164 2014-05-29 Pedro Alves <palves@redhat.com>
22167 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
22168 reason, even in sync mode.
22170 2014-05-29 Pedro Alves <palves@redhat.com>
22171 Hui Zhu <hui@codesourcery.com>
22174 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
22175 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
22176 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
22177 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
22179 2014-05-28 Joel Brobecker <brobecker@adacore.com>
22181 * config/monitor.exp (gdb_target_monitor): Replace use of
22182 "set remotebaud" by "set serial baud".
22184 2014-05-26 Andy Wingo <wingo@igalia.com>
22186 * gdb.guile/scm-breakpoint.exp:
22187 * gdb.guile/scm-gsmob.exp: Update to use plain old object
22188 properties instead of gdb-object-properties.
22190 2014-05-26 Yao Qi <yao@codesourcery.com>
22192 * gdb.server/no-thread-db.exp: Specify source file name
22193 explicitly when setting a breakpoint.
22195 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22197 * gdb.btrace/vdso.c: New.
22198 * gdb.btrace/vdso.exp: New.
22200 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22202 * gdb.base/gcore.exp (capture_command_output): Move ...
22203 * lib/gdb.exp (capture_command_output): ... here.
22205 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
22207 * gdb.btrace/data.exp: Test memory access during btrace replay.
22209 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
22211 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
22213 2014-05-21 Pedro Alves <palves@redhat.com>
22216 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
22217 (top level): Test that output related to execution commands is
22218 sent to the console with CLI commands, but not with MI commands.
22219 Test that breakpoint events are always mirrored to the console.
22220 Also expect the new source line to be output after a "next" in
22221 async mode too. Make it a pass/fail test.
22222 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
22224 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
22226 2014-05-21 Pedro Alves <palves@redhat.com>
22228 * gdb.base/list.exp (build_pattern, test_list): New procedures.
22229 Use them to test variations of "list" after reaching a breakpoint.
22230 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
22231 Test "list" with listsize 10 after reaching a breakpoint.
22232 * gdb.python/python.exp (decode_line current location line
22233 number): Adjust expected line number.
22235 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
22237 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
22238 behavior for $args, pass it directly to "run".
22240 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
22242 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
22245 2014-05-21 Pedro Alves <palves@redhat.com>
22247 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
22248 auto-connect-native-target off".
22249 * gdb.base/auto-connect-native-target.c: New file.
22250 * gdb.base/auto-connect-native-target.exp: New file.
22252 2014-05-21 Pedro Alves <palves@redhat.com>
22254 * gdb.base/default.exp: Test "target native" instead of "target
22257 2014-05-21 Mark Wielaard <mjw@redhat.com>
22259 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
22261 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
22263 Fix TLS access for -static -pthread.
22264 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
22265 <HAVE_TLS> (thread_function, main): Initialize it.
22266 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
22268 <$have_tls != "">: Check TLSVAR.
22270 2014-05-21 Pedro Alves <palves@redhat.com>
22272 * gdb.base/dcache-line-read-error.c: New.
22273 * gdb.base/dcache-line-read-error.exp: New.
22275 2014-05-20 Pedro Alves <palves@redhat.com>
22277 * gdb.base/compare-sections.c: New file.
22278 * gdb.base/compare-sections.exp: New file.
22280 2014-05-20 Pedro Alves <palves@redhat.com>
22282 * gdb.base/break-idempotent.c: New file.
22283 * gdb.base/break-idempotent.exp: New file.
22285 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
22287 * gdb.btrace/nohist.exp: New.
22289 2014-05-20 Yao Qi <yao@codesourcery.com>
22291 * lib/gdb.exp (gdb_init): Set timeout if test file is under
22292 gdb.reverse directory and gdb_reverse_timeout exists in board
22294 * README: Document gdb_reverse_timeout.
22296 2014-05-20 Yao Qi <yao@codesourcery.com>
22298 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
22299 'test_file_name'. Treat args as a string instead of a list.
22300 (gdb_init): Rename argument 'args' by 'test_file_name'.
22302 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
22304 * gdb.arch/powerpc-power.exp: New file.
22305 * gdb.arch/powerpc-power.s: New file.
22307 2014-05-16 Doug Evans <dje@google.com>
22309 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
22310 * gdb.base/completion.exp: Check that all expected files exist
22311 before doing file completion.
22313 2014-05-16 Doug Evans <dje@google.com>
22315 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
22317 (do_syscall_tests_without_xml): Update.
22319 2014-05-16 Pedro Alves <palves@redhat.com>
22321 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
22322 instead of "unknown output after running".
22324 2014-05-16 Yao Qi <yao@codesourcery.com>
22326 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
22327 file1.txt from host at the end.
22328 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
22330 2014-05-15 Doug Evans <dje@google.com>
22332 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
22333 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
22334 loading file. Add test for TU lookup.
22336 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
22338 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
22339 calling "-exec-arguments" or "set args" before running the
22342 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
22344 * lib/mi-support.exp (mi_expect_stop): Expect message for
22345 inferiors that exit with non-zero exit code.
22347 2014-05-14 Yao Qi <yao@codesourcery.com>
22349 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
22350 match absolute path on remote host.
22351 (test_file_list_exec_source_files): Remove "/" from the
22354 2014-05-14 Yao Qi <yao@codesourcery.com>
22356 * boards/local-remote-host-notty.exp (${board}_file): New
22359 2014-05-07 Kyle McMartin <kyle@redhat.com>
22361 Pushed by Joel Brobecker <brobecker@adacore.com>.
22362 * gdb.arch/aarch64-atomic-inst.c: New file.
22363 * gdb.arch/aarch64-atomic-inst.exp: New file.
22365 2014-05-07 Yao Qi <yao@codesourcery.com>
22367 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
22368 in current context" too.
22370 2014-05-05 Keith Seitz <keiths@redhat.com>
22372 * gdb.linespec/ls-dollar.exp: Add test for linespec
22373 file:convenience_variable.
22375 2014-05-05 Yao Qi <yao@codesourcery.com>
22377 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
22378 traceframes into tfile and ctf trace files. Read data from
22379 trace file and test collected data.
22380 (gdb_collect_locals_test): Likewise.
22381 (gdb_unavailable_registers_test): Likewise.
22382 (gdb_unavailable_floats): Likewise.
22383 (gdb_collect_globals_test): Likewise.
22384 (top-level): Append "ctf" to trace_file_targets if GDB
22387 2014-05-05 Yao Qi <yao@codesourcery.com>
22389 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
22391 (gdb_collect_args_test_1): ... it. New proc.
22392 (gdb_collect_locals_test): Move some code to ...
22393 (gdb_collect_locals_test_1): ... it. New proc.
22394 (gdb_unavailable_registers_test): Move some code to ...
22395 (gdb_unavailable_registers_test_1): ... it. New proc.
22396 (gdb_unavailable_floats): Move some code to ...
22397 (gdb_unavailable_floats_1): ... it. New proc.
22399 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
22401 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
22402 probes to test for bitness recognition.
22403 * gdb.arch/amd64-stap-optional-prefix.exp
22404 (test_probe_value_without_reg): New procedure.
22405 Add code to test for different kinds of bitness.
22407 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
22409 PR breakpoints/16889
22410 * gdb.arch/amd64-stap-optional-prefix.S: New file.
22411 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
22413 2014-05-01 Pedro Alves <palves@redhat.com>
22415 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
22416 gdb_file_cmd if no file is specified.
22417 * boards/native-extended-gdbserver.exp (gdb_load): Use the
22418 last_loaded_file to set the remote exec-file.
22420 2014-05-01 Pedro Alves <palves@redhat.com>
22422 * boards/local-remote-host.exp: New file.
22424 2014-05-01 Pedro Alves <palves@redhat.com>
22426 * boards/local-remote-host.exp: Rename to ...
22427 * boards/local-remote-host-notty.exp: ... this.
22429 2014-04-28 Joel Brobecker <brobecker@adacore.com>
22431 * gdb.ada/dyn_arrayidx: New testcase.
22433 2014-04-26 Yao Qi <yao@codesourcery.com>
22435 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
22436 and compute the length of function main. Save it in
22438 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
22439 (top-level): Use gdb_compile to compile objects into
22440 executable and restart GDB. Remove invocation to
22441 prepare_for_testing.
22443 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
22444 Pedro Alves <palves@redhat.com>
22447 * gdb.multi/multi-attach.c: New file.
22448 * gdb.multi/multi-attach.exp: New file.
22450 2014-04-25 Pedro Alves <palves@redhat.com>
22452 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
22454 (top level): Test that "set remote conditional-breakpoints-packet
22455 off" works as intended.
22456 * gdb.base/dprintf.exp: Test that "set remote
22457 breakpoint-commands-packet off" works as intended.
22458 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
22460 (top level): Call it.
22461 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
22462 remote fast-tracepoints-packet off" works as intended.
22463 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
22464 * lib/gdb.exp (gdb_is_target_remote): ... here.
22466 2014-04-24 David Blaikie <dblaikie@gmail.com>
22468 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
22469 ensure clang would not discard them.
22470 * gdb.base/gdbvars.c: Ditto.
22471 * gdb.base/memattr.c: Ditto.
22472 * gdb.base/whatis.c: Ditto.
22473 * gdb.python/py-prettyprint.c: Ditto.
22474 * gdb.trace/actions.c: Ditto.
22475 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
22476 ensure clang would not discard it.
22478 2014-04-24 David Blaikie <dblaikie@gmail.com>
22480 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
22481 clang to emit the full definition of type required by the test
22482 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
22484 2014-04-24 David Blaikie <dblaikie@gmail.com>
22486 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
22487 coax Clang into emitting the definition of the type.
22488 * gdb.cp/pr10728-x.h (y): Ditto.
22489 * gdb.cp/pr10728-y.cc (y): Ditto.
22491 2014-04-24 David Blaikie <dblaikie@gmail.com>
22493 * gdb.base/label.exp: XFAIL label related tests under Clang.
22494 * gdb.cp/cplabel.exp: Ditto.
22495 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
22496 under Clang those using labels.
22498 2014-04-25 Yao Qi <yao@codesourcery.com>
22500 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
22502 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
22503 partial_label and double_label.
22505 2014-04-24 David Blaikie <dblaikie@gmail.com>
22507 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
22509 2014-04-24 David Blaikie <dblaikie@gmail.com>
22511 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
22512 of the function to work across GCC and Clang.
22513 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
22514 pointer types (const void ** const V void **).
22516 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
22517 Walfred Tedeschi <walfred.tedeschi@intel.com>
22519 * Makefile.in (EXECUTABLES): Added i386-avx512.
22520 * gdb.arch/i386-avx512.c: New file.
22521 * gdb.arch/i386-avx512.exp: Likewise.
22523 2014-04-23 Keith Seitz <keiths@redhat.com>
22525 * lib/mi-support.exp (mi_list_breakpoints): Delete.
22526 (mi_make_breakpoint_table): New procedure.
22527 (mi_create_breakpoint): Use mi_make_breakpoint
22528 and return the result.
22529 (mi_make_breakpoint): New procedure.
22530 (mi_build_kv_pairs): New procedure.
22532 * gdb.mi/mi-break.exp: Remove unused globals,
22533 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
22534 All callers updated.
22535 * gdb.mi/mi-dprintf.exp: Use variable to track command
22537 Update all callers of mi_create_breakpoint and use
22538 mi_make_breakpoint_table.
22539 Remove any unused global variables.
22540 * gdb.mi/mi-nonstop.exp: Likewise.
22541 * gdb.mi/mi-nsintrall.exp: Likewise.
22542 * gdb.mi/mi-nsmoribund.exp: Likewise.
22543 * gdb.mi/mi-nsthrexec.exp: Likewise.
22544 * gdb.mi/mi-reverse.exp: Likewise.
22545 * gdb.mi/mi-simplerun.exp: Likewise.
22546 * gdb.mi/mi-stepn.exp: Likewise.
22547 * gdb.mi/mi-syn-frame.exp: Likewise.
22548 * gdb.mi/mi-until.exp: Likewise.
22549 * gdb.mi/mi-var-cp.exp: Likewise.
22550 * gdb.mi/mi-var-display.exp: Likewise.
22551 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
22552 * gdb.mi/mi2-var-child.exp: Likewise.
22553 * gdb.mi/mi-vla-c99.exp: Likewise.
22554 * lib/mi-support.exp: Likewise.
22556 From Ian Lance Taylor <iant@cygnus.com>:
22557 * lib/gdb.exp (parse_args): New procedure.
22559 2014-04-23 Pedro Alves <palves@redhat.com>
22561 * gdb.base/break-unload-file.c: New file.
22562 * gdb.base/break-unload-file.exp: New file.
22563 * gdb.base/sym-file-lib.c (baz): New function.
22564 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
22566 (load): Store the segment's mapped size.
22567 (unload): New function.
22568 (unload_shlib): New function.
22569 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
22570 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
22571 set a breakpoint at baz, and call it.
22572 * gdb.base/sym-file.exp: New tests for stale breakpoint
22575 2014-04-23 Pedro Alves <palves@redhat.com>
22577 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
22578 * gdb.base/hbreak-in-shr-unsupported.c: New file.
22579 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
22580 * gdb.base/hbreak-unmapped.c: New file.
22581 * gdb.base/hbreak-unmapped.exp: New file.
22582 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
22583 * lib/gdb.exp (gdb_is_target_remote): ... here.
22585 2014-04-22 Pedro Alves <palves@redhat.com>
22587 * gdb.base/consecutive-step-over.c: New file.
22588 * gdb.base/consecutive-step-over.exp: New file.
22590 2014-04-22 Pedro Alves <palves@redhat.com>
22592 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
22593 instead of send_gdb/gdb_expect.
22595 2014-04-22 Yao Qi <yao@codesourcery.com>
22597 * lib/trace-support.exp (generate_tracefile): New procedure.
22598 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
22600 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
22601 if generate_tracefile returns 1.
22603 2014-04-18 Tom Tromey <palves@redhat.com>
22604 Pedro alves <tromey@redhat.com>
22607 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
22608 with a backtrace limit.
22609 * gdb.python/py-frame-inline.exp: Test running to an inline
22610 function with a backtrace limit, and printing the newest frame.
22611 * gdb.python/py-frame-inline.c (main): Call f.
22613 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
22615 * gdb.java/jnpe.exp: Drop srcdir from untested path.
22617 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
22619 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
22620 Drop prefix from unsupported source file path.
22622 2014-04-17 Yao Qi <yao@codesourcery.com>
22624 * lib/gdb.exp (with_target_charset): New proc.
22625 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
22626 with_target_charset.
22627 (test_print_strings): Likewise.
22628 (test_repeat_bytes): Likewise.
22629 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
22632 2014-04-16 Keith Seitz <keiths@redhat.com>
22635 * gdb.dwarf2/corrupt.c: New file.
22636 * gdb.dwarf2/corrupt.exp: New file.
22638 2014-04-16 Keith Seitz <keiths@redhat.com>
22641 * gdb.cp/namelessclass.cc: New file.
22642 * gdb.cp/namelessclass.exp: New file.
22643 * gdb.cp/namelessclass.S: New file.
22645 2014-04-16 Doug Evans <dje@google.com>
22647 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
22649 (gdbserver_default_get_comm_port): New function.
22650 (gdbserver_start): Check if board file provided
22651 "gdbserver,get_comm_port" and use it if so.
22652 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
22653 (gdb,socketport): Set to "stdio".
22654 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
22655 (stdio_gdbserver_template): Delete.
22656 (${board}_get_remote_address): Update.
22657 (${board}_build_remote_cmd): Delete.
22658 (${board}_get_comm_port): New function.
22659 (${board}_spawn): Update.
22660 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
22662 (${board}_get_remote_address): Update.
22663 (${board}_get_comm_port): New function.
22665 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
22667 * gdb.base/memattr.exp: Improve regexps to handle memory regions
22668 appearing in any order.
22670 2014-04-15 Doug Evans <dje@google.com>
22672 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
22673 uninitialized value of "description".
22675 2014-04-15 Keith Seitz <keiths@redhat.com>
22677 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
22678 Remove unused globals.
22679 (test_running_the_program): Likewise.
22680 (test_controlled_execution): Likewise.
22681 (test_controlling_breakpoints): Likewise.
22682 (test_program_termination): Likewise.
22684 2014-04-15 Keith Seitz <keiths@redhat.com>
22686 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
22688 (test_rbreak_creation_and_listing): Likewise.
22689 (test_ignore_count): Likewise.
22690 (test_error): Likewise.
22692 2014-04-15 Pedro Alves <palves@redhat.com>
22694 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
22695 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
22697 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
22698 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
22699 to sym-file-loader.c.
22700 (struct library): Forward declare.
22701 (load_shlib, lookup_function): Change prototypes.
22702 (find_shstrtab, find_strtab, find_shdr, find_symtab)
22703 (translate_offset): Remove declarations.
22704 (get_text_addr): New declaration.
22705 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
22706 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
22708 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
22709 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
22710 here from sym-file-loader.h.
22711 (struct library): New structure.
22712 (load_shlib, lookup_function): Change prototypes and adjust to
22713 work with a struct library.
22714 (find_shstrtab, find_strtab, find_shdr, find_symtab)
22715 (translate_offset): Make static.
22716 (get_text_addr): New function.
22717 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
22719 2014-04-15 Pedro Alves <palves@redhat.com>
22721 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
22723 2014-04-15 Pedro Alves <palves@redhat.com>
22725 * gdb.base/sym-file-loader.c: Include <limits.h>.
22726 (SELF_LINK): New define.
22727 (get_origin): New function.
22728 (load_shlib): Use it.
22729 * gdb.base/sym-file.exp: Don't early return if the target is
22730 remote. Use runto_main, and issue fail is that fails. Use
22732 (shlib_name): Delete.
22733 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
22735 2014-04-15 Pedro Alves <palves@redhat.com>
22737 * gdb.base/sym-file.exp: Remove regex characters from test
22738 message. Don't refer to breakpoint numbers in test messages.
22740 2014-04-14 Keith Seitz <keiths@redhat.com>
22743 * gdb.cp/var-tag.cc: New file.
22744 * gdb.cp/var-tag.exp: New file.
22745 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
22746 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
22747 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
22748 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
22750 2014-04-14 Tom Tromey <tromey@redhat.com>
22752 * gdb.cp/classes.exp (test_enums): Handle underlying type.
22753 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
22755 * gdb.cp/enum-class.exp: New file.
22756 * gdb.cp/enum-class.cc: New file.
22758 2014-04-14 Tom Tromey <tromey@redhat.com>
22760 * gdb.dwarf2/enum-type.exp: New file.
22762 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22764 * gdb.mi/mi-vla-c99.exp: New file.
22765 * gdb.mi/vla.c: New file.
22767 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22769 * gdb.base/vla-datatypes.c: New file.
22770 * gdb.base/vla-datatypes.exp: New file.
22772 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22774 * gdb.base/vla-ptr.c: New file.
22775 * gdb.base/vla-ptr.exp: New file.
22777 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22779 * gdb.dwarf2/count.exp: New file.
22781 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22783 * gdb.base/vla-sideeffect.c: New file.
22784 * gdb.base/vla-sideeffect.exp: New file.
22786 2014-04-14 David Blaikie <dblaikie@gmail.com>
22788 * gdb.mi/non-stop.c: Add return value for non-void function return
22790 * gdb.threads/staticthreads.c: Ditto.
22792 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
22793 Doug Evans <xdje42@gmail.com>
22795 * gdb.guile/scm-value.c: Improve test case.
22796 * gdb.guile/scm-value.exp: Add new test.
22798 2014-04-11 David Blaikie <dblaikie@gmail.com>
22800 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
22801 override Clang's default.
22803 2014-04-11 Joel Brobecker <brobecker@adacore.com>
22805 Revert the following changes (regressions):
22807 * gdb.base/vla-sideeffect.c: New file.
22808 * gdb.base/vla-sideeffect.exp: New file.
22810 * gdb.dwarf2/count.exp: New file.
22812 * gdb.base/vla-multi.c: New file.
22813 * gdb.base/vla-multi.exp: New file.
22815 * gdb.base/vla-ptr.c: New file.
22816 * gdb.base/vla-ptr.exp: New file.
22818 * gdb.base/vla-datatypes.c: New file.
22819 * gdb.base/vla-datatypes.exp: New file.
22821 * gdb.mi/mi-vla-c99.exp: New file.
22822 * gdb.mi/vla.c: New file.
22824 2014-04-11 Keith Seitz <keiths@redhat.com>
22827 * gdb.cp/cpsizeof.exp: New file.
22828 * gdb.cp/cpsizeof.cc: New file.
22830 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22832 * gdb.mi/mi-vla-c99.exp: New file.
22833 * gdb.mi/vla.c: New file.
22835 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22837 * gdb.base/vla-datatypes.c: New file.
22838 * gdb.base/vla-datatypes.exp: New file.
22840 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22842 * gdb.base/vla-ptr.c: New file.
22843 * gdb.base/vla-ptr.exp: New file.
22845 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22847 * gdb.base/vla-multi.c: New file.
22848 * gdb.base/vla-multi.exp: New file.
22850 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22852 * gdb.dwarf2/count.exp: New file.
22854 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22856 * gdb.base/vla-sideeffect.c: New file.
22857 * gdb.base/vla-sideeffect.exp: New file.
22859 2014-04-11 Yao Qi <yao@codesourcery.com>
22861 * gdb.base/completion.exp: Check file exists before running tests
22862 on file completion.
22864 2014-04-10 Pedro Alves <palves@redhat.com>
22866 * gdb.base/cond-eval-mode.c: New file.
22867 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
22868 prepare_for_testing to build the new file. Check result of
22870 (test_break, test_watch): New procedures.
22871 (top level): Use them.
22873 2014-04-08 Pierre Muller <muller@sourceware.org>
22875 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
22876 Ctrl-V use for mingw hosts.
22878 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
22880 * gdb.python/py-value.c: Improve test case.
22881 * gdb.python/py-value.exp: Add new test.
22883 2014-04-07 David Blaikie <dblaikie@gmail.com>
22885 * lib/compiler.c: Identify the clang compiler.
22886 * lib/compiler.cc: Ditto.
22888 2014-04-03 Yao Qi <yao@codesourcery.com>
22890 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
22892 2014-04-01 Anton Blanchard <anton@samba.org>
22894 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
22897 2014-04-01 Anton Blanchard <anton@samba.org>
22899 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
22900 prepare_for_testing.
22902 2014-04-01 Anton Blanchard <anton@samba.org>
22904 * gdb.arch/ppc64-atomic-inst.c: Remove.
22905 * gdb.arch/ppc64-atomic-inst.S: New file.
22906 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
22908 2014-03-31 Doug Evans <dje@google.com>
22910 * gdb.base/print-symbol-loading-lib.c: New file.
22911 * gdb.base/print-symbol-loading-main.c: New file.
22912 * gdb.base/print-symbol-loading.exp: New file.
22914 2014-03-31 Yao Qi <yao@codesourcery.com>
22916 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
22918 2014-03-28 Joel Brobecker <brobecker@adacore.com>
22920 * gdb.ada/mi_dyn_arr: New testcase.
22922 2014-03-27 Doug Evans <dje@google.com>
22924 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
22926 2014-03-27 Yao Qi <yao@codesourcery.com>
22928 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
22929 if target is nios2-*-*.
22931 2014-03-26 Yao Qi <yao@codesourcery.com>
22933 * lib/gdb.exp (readline_is_used): New proc.
22934 * gdb.base/completion.exp: Move tests on command complete up.
22935 Skip the rest of tests if readline is not used.
22936 * gdb.ada/complete.exp: Skp the test if readline is not
22938 * gdb.base/filesym.exp: Likewise.
22939 * gdb.base/macscp.exp: Likewise.
22940 * gdb.base/readline-ask.exp: Likewise.
22941 * gdb.base/readline.exp: Likewise.
22942 * gdb.python/py-cmd.exp: Likewise.
22943 * gdb.trace/tfile.exp: Likewise.
22945 2014-03-26 Yao Qi <yao@codesourcery.com>
22947 * gdb.base/macscp.exp: Fix code format issues.
22949 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
22951 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
22952 * gdb.asm/powerpc64le.inc: New file.
22954 2014-03-25 Pedro Alves <palves@redhat.com>
22955 Doug Evans <dje@google.com>
22957 * gdb.base/source-execution.c: New file.
22958 * gdb.base/source-execution.exp: New file.
22959 * gdb.base/source-execution.gdb: New file.
22961 2014-03-24 Doug Evans <dje@google.com>
22963 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
22966 2014-03-24 Hui Zhu <hui@codesourcery.com>
22967 Pedro Alves <palves@redhat.com>
22969 PR breakpoints/16101
22970 * gdb.base/dprintf.exp: Use unsupported rather than changing the
22971 test pass/fail messages. Detect missing support for dprintf when
22972 breakpoints are actually inserted.
22973 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
22974 breakpoints are actually inserted.
22975 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
22978 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
22980 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
22982 2014-03-22 Doug Evans <xdje42@gmail.com>
22984 * gdb.python/python.exp (python not supported): Verify multi-line
22985 python command issues an error.
22986 * gdb.guile/guile.exp (guile not supported): Verify multi-line
22987 guile command issues an error.
22989 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
22991 * gdb.threads/thread-specific.exp: Handle the lack of usable
22992 $this_breakpoint and $this_thread.
22994 2014-03-21 Hui Zhu <hui@codesourcery.com>
22996 * gdb.base/attach.exp (do_command_attach_tests): New.
22998 2014-03-20 Tom Tromey <tromey@redhat.com>
22999 Pedro Alves <palves@redhat.com>
23002 * gdb.base/condbreak-call-false.c: New file.
23003 * gdb.base/condbreak-call-false.exp: New file.
23005 2014-03-20 Pedro Alves <palves@redhat.com>
23007 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
23009 (block_signals, unblock_signals): Delete.
23010 (child_function_2, main): Remove references to deleted variable
23013 2014-03-20 Pedro Alves <palves@redhat.com>
23015 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
23016 Use pthread_kill to signal thread 2.
23017 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23018 Adjust to make the test send itself a signal rather than using the
23019 host's "kill" command.
23021 2014-03-20 Pedro Alves <palves@redhat.com>
23023 * gdb.threads/multiple-step-overs.c: New file.
23024 * gdb.threads/multiple-step-overs.exp: New file.
23025 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23026 Adjust expected infrun debug output.
23028 2014-03-20 Pedro Alves <palves@redhat.com>
23030 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
23031 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
23033 2014-03-20 Pedro Alves <palves@redhat.com>
23035 PR breakpoints/7143
23036 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
23037 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
23038 of gdb_test_multiple.
23039 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
23040 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
23042 2014-03-20 Pedro Alves <palves@redhat.com>
23044 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
23045 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
23047 2014-03-19 Pedro Alves <palves@redhat.com>
23049 * gdb.base/async.exp: Remove early return.
23051 2014-03-19 Pedro Alves <palves@redhat.com>
23053 * gdb.base/async.exp (step& tests): Pass explicit test messages.
23055 2014-03-19 Pedro Alves <palves@redhat.com>
23057 * gdb.base/async.exp (test_background): Expect \r\n after
23058 "completed." in the fail pattern.
23060 2014-03-19 Pedro Alves <palves@redhat.com>
23062 * gdb.base/async.exp (test_background): New procedure.
23063 Use it for all background execution command tests.
23065 2014-03-19 Pedro Alves <palves@redhat.com>
23067 * gdb.base/async.exp: Use prepare_for_testing.
23069 2014-03-19 Pedro Alves <palves@redhat.com>
23071 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
23074 2014-03-19 Pedro Alves <palves@redhat.com>
23076 * gdb.base/async.c (main): Add "jump here" and "until here" line
23078 * gdb.base/async.exp (jump_here): New global.
23079 (jump& test): Use it.
23080 (until_here): New global.
23081 (until& test): Use it.
23083 2014-03-19 Pedro Alves <palves@redhat.com>
23085 * gdb.base/async.exp: Don't frob gdb_protocol.
23087 2014-03-18 Doug Evans <xdje42@gmail.com>
23089 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
23090 Fix spelling of exec-done-display.
23092 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
23095 * gdb.base/gdb-sigterm.c: New file.
23096 * gdb.base/gdb-sigterm.exp: New file.
23098 2014-03-18 Pedro Alves <palves@redhat.com>
23101 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
23102 * lib/mi-support.exp (mi_expect_stop): Add special handling for
23105 2014-03-17 Joel Brobecker <brobecker@adacore.com>
23107 * gdb.ada/pckd_arr_ren: New testcase.
23109 2014-03-13 Doug Evans <xdje42@gmail.com>
23112 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
23113 collect after discarding symbols.
23115 2014-03-13 Ludovic Courtès <ludo@gnu.org>
23116 Doug Evans <xdje42@gmail.com>
23118 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
23119 to history survives a gc.
23121 2014-03-13 Pedro Alves <palves@redhat.com>
23123 * gdb.base/default.exp: Don't test "target procfs".
23125 2014-03-13 Pedro Alves <palves@redhat.com>
23127 * gdb.base/default.exp: Update "target child" and "target procfs"
23128 tests to not expect "Unix".
23130 2014-03-12 Tom Tromey <tromey@redhat.com>
23132 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
23133 New procs. Add target-async tests.
23134 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
23135 Add target-async tests.
23137 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23139 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
23140 'func_start' and 'func_end' for the beginning and end of the
23141 function code, respectively.
23142 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
23143 'func_end' instead of 'func' and 'main'.
23145 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23147 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
23148 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
23149 generate the debug info assembler source.
23151 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23153 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
23154 * gdb.dwarf2/arr-subrange.exp: Likewise.
23155 * gdb.dwarf2/dwz.exp: Likewise.
23156 * gdb.dwarf2/method-ptr.exp: Likewise.
23157 * gdb.dwarf2/missing-sig-type.exp: Likewise.
23158 * gdb.dwarf2/subrange.exp: Likewise.
23159 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
23160 * gdb.dwarf2/implptrpiece.exp: Likewise.
23161 * gdb.dwarf2/nostaticblock.exp: Likewise.
23163 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
23165 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
23166 directory to absolute path name arguments.
23168 2014-03-10 Joel Brobecker <brobecker@adacore.com>
23170 * gdb.ada/tagged_access: New testcase.
23172 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
23174 * gdb.btrace/data.exp: Update expected output.
23176 2014-03-06 Yao Qi <yao@codesourcery.com>
23178 * gdb.trace/pr16508.exp: New file.
23180 2014-03-05 Pedro Alves <palves@redhat.com>
23183 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
23185 (top level): Adjust to use it. Add tests that exercise breakpoint
23186 interaction with the code-cache.
23188 2014-02-26 Ludovic Courtès <ludo@gnu.org>
23190 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
23191 test for 'history-append!'.
23193 2014-02-26 Joel Brobecker <brobecker@adacore.com>
23195 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
23196 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
23197 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
23198 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
23199 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
23200 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
23202 2014-02-26 Joel Brobecker <brobecker@adacore.com>
23204 * testsuite/gdb.python/py-pp-re-notag.c: New file.
23205 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
23206 * testsuite/gdb.python/py-pp-re-notag.p: New file.
23208 2014-02-26 Joel Brobecker <brobecker@adacore.com>
23210 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
23212 2014-02-26 Joel Brobecker <brobecker@adacore.com>
23214 * gdb.dwarf2/arr-stride.c: New file.
23215 * gdb.dwarf2/arr-stride.exp: New file.
23217 2014-02-26 Pedro Alves <palves@redhat.com>
23219 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
23220 that won't ever trigger. Make sure that GDB reports the correct
23221 breakpoint that caused the stop.
23223 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
23226 * gdb.base/auto-load-script: New file.
23227 * gdb.base/auto-load.c: New file.
23228 * gdb.base/auto-load.exp: New file.
23231 * gdb.base/auto-load.exp: Fix out-of-srctree run.
23233 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
23235 Fix dw2-icycle.exp -fsanitize=address GDB crash.
23236 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
23238 2014-02-24 Doug Evans <dje@google.com>
23240 * lib/gdb.exp (run_on_host): Log error output if program fails.
23242 2014-02-21 Pedro Alves <palves@redhat.com>
23244 * gdb.threads/step-after-sr-lock.c: Rename to ...
23245 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
23246 * gdb.threads/step-after-sr-lock.exp: Rename to ...
23247 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
23250 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
23253 * gdb.arch/amd64-stap-special-operands.exp: New file.
23254 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
23255 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
23256 * gdb.arch/amd64-stap-triplet.S: Likewise.
23257 * gdb.arch/amd64-stap-triplet.c: Likewise.
23259 2014-02-20 Joel Brobecker <brobecker@adacore.com>
23261 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
23262 in .section pseudo-op.
23264 2014-02-20 lin zuojian <manjian2006@gmail.com>
23265 Joel Brobecker <brobecker@adacore.com>
23266 Doug Evans <xdje42@gmail.com>
23269 * gdb.dwarf2/dw2-icycle.S: New file.
23270 * gdb.dwarf2/dw2-icycle.c: New file.
23271 * gdb.dwarf2/dw2-icycle.exp: New file.
23273 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
23275 * gdb.python/py-value-cc.cc: Improve test case to enable testing
23276 operations on gdb.Value objects.
23277 * gdb.python/py-value-cc.exp: Add new test to test operations on
23280 2014-02-18 Doug Evans <dje@google.com>
23282 * Makefile.in (TESTS): New variable.
23283 (expanded_tests, expanded_tests_or_none): New variables
23284 (check-single): Pass $(expanded_tests_or_none) to runtest.
23285 (check-parallel): Only run tests in $(TESTS) if non-empty.
23286 (check/no-matching-tests-found): New rule.
23287 * README: Document TESTS makefile variable.
23289 2014-02-18 Doug Evans <dje@google.com>
23291 * Makefile.in (check-parallel): rm -rf outputs temp.
23293 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23295 Fix "ERROR: no fileid for" in the testsuite.
23296 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
23298 2014-02-12 Doug Evans <dje@google.com>
23300 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
23301 (MISCELLANEOUS): New variable.
23302 (clean): rm -rf $(MISCELLANEOUS).
23303 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
23304 dwp live in the same directory as symlinks, with each symlink pointed
23305 to a differently named file in a different directory.
23307 2014-02-11 Doug Evans <dje@google.com>
23309 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
23310 of Tcl file commands.
23312 2014-02-10 Mark Kettenis <kettenis@gnu.org>
23314 * gdb.threads/step-after-sr-lock.exp: Avoid executing
23315 "kill -SIGUSR1 -1".
23317 2014-02-10 Joel Brobecker <brobecker@adacore.com>
23319 * gdb.ada/tick_length_array_enum_idx: New testcase.
23321 2014-02-10 Doug Evans <xdje42@gmail.com>
23323 * configure.ac (AC_OUTPUT): Add gdb.guile.
23324 * configure: Regenerate.
23325 * lib/gdb-guile.exp: New file.
23326 * lib/gdb.exp (get_target_charset): New function.
23327 * gdb.base/help.exp: Update expected output from "apropos apropos".
23328 * gdb.guile/Makefile.in: New file.
23329 * gdb.guile/guile.exp: New file.
23330 * gdb.guile/scm-arch.c: New file.
23331 * gdb.guile/scm-arch.exp: New file.
23332 * gdb.guile/scm-block.c: New file.
23333 * gdb.guile/scm-block.exp: New file.
23334 * gdb.guile/scm-breakpoint.c: New file.
23335 * gdb.guile/scm-breakpoint.exp: New file.
23336 * gdb.guile/scm-disasm.c: New file.
23337 * gdb.guile/scm-disasm.exp: New file.
23338 * gdb.guile/scm-equal.c: New file.
23339 * gdb.guile/scm-equal.exp: New file.
23340 * gdb.guile/scm-error.exp: New file.
23341 * gdb.guile/scm-error.scm: New file.
23342 * gdb.guile/scm-frame-args.c: New file.
23343 * gdb.guile/scm-frame-args.exp: New file.
23344 * gdb.guile/scm-frame-args.scm: New file.
23345 * gdb.guile/scm-frame-inline.c: New file.
23346 * gdb.guile/scm-frame-inline.exp: New file.
23347 * gdb.guile/scm-frame.c: New file.
23348 * gdb.guile/scm-frame.exp: New file.
23349 * gdb.guile/scm-generics.exp: New file.
23350 * gdb.guile/scm-gsmob.exp: New file.
23351 * gdb.guile/scm-iterator.c: New file.
23352 * gdb.guile/scm-iterator.exp: New file.
23353 * gdb.guile/scm-math.c: New file.
23354 * gdb.guile/scm-math.exp: New file.
23355 * gdb.guile/scm-objfile-script-gdb.in: New file.
23356 * gdb.guile/scm-objfile-script.c: New file.
23357 * gdb.guile/scm-objfile-script.exp: New file.
23358 * gdb.guile/scm-objfile.c: New file.
23359 * gdb.guile/scm-objfile.exp: New file.
23360 * gdb.guile/scm-ports.exp: New file.
23361 * gdb.guile/scm-pretty-print.c: New file.
23362 * gdb.guile/scm-pretty-print.exp: New file.
23363 * gdb.guile/scm-pretty-print.scm: New file.
23364 * gdb.guile/scm-section-script.c: New file.
23365 * gdb.guile/scm-section-script.exp: New file.
23366 * gdb.guile/scm-section-script.scm: New file.
23367 * gdb.guile/scm-symbol.c: New file.
23368 * gdb.guile/scm-symbol.exp: New file.
23369 * gdb.guile/scm-symtab-2.c: New file.
23370 * gdb.guile/scm-symtab.c: New file.
23371 * gdb.guile/scm-symtab.exp: New file.
23372 * gdb.guile/scm-type.c: New file.
23373 * gdb.guile/scm-type.exp: New file.
23374 * gdb.guile/scm-value-cc.cc: New file.
23375 * gdb.guile/scm-value-cc.exp: New file.
23376 * gdb.guile/scm-value.c: New file.
23377 * gdb.guile/scm-value.exp: New file.
23378 * gdb.guile/source2.scm: New file.
23379 * gdb.guile/types-module.cc: New file.
23380 * gdb.guile/types-module.exp: New file.
23382 2014-02-10 Yao Qi <yao@codesourcery.com>
23385 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
23386 * configure: Regenerated.
23387 * Makefile.in: New file.
23389 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
23391 * gdb.python/py-framefilter.exp: Fix typo.
23393 2014-02-08 Yao Qi <yao@codesourcery.com>
23395 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
23396 that no =breakpoint-modified is emitted when breakpoints are
23397 modified through MI commands.
23399 2014-02-07 Pedro Alves <pedro@codesourcery.com>
23400 Pedro Alves <palves@redhat.com>
23402 * gdb.threads/step-after-sr-lock.c: New file.
23403 * gdb.threads/step-after-sr-lock.exp: New file.
23405 2014-02-07 Pedro Alves <palves@redhat.com>
23407 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
23409 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
23411 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
23412 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
23414 2014-02-06 Doug Evans <xdje42@gmail.com>
23416 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
23419 * gdb.gdb/python-interrupts.exp: New file.
23421 2014-02-05 Yao Qi <yao@codesourcery.com>
23423 * gdb.trace/report.exp (use_collected_data): Test the output
23424 of "info threads" and "info inferiors".
23426 2014-02-05 Yao Qi <yao@codesourcery.com>
23430 2013-05-24 Yao Qi <yao@codesourcery.com>
23432 * gdb.trace/tfile.exp: Test inferior and thread.
23434 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23436 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
23438 * gdb.base/step-bt.c: Call hello via function pointer to make
23439 sure its first instruction is executed on powerpc64le-linux.
23441 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23443 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
23445 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23447 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
23448 of the test patterns for use on little-endian systems.
23450 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
23452 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
23453 (decimal_vector): Fix for little-endian.
23455 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
23457 * gdb.arch/sparc-sysstep.exp: New file.
23458 * gdb.arch/sparc-sysstep.c: Likewise.
23460 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
23462 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
23464 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
23466 2014-01-23 Tom Tromey <tromey@redhat.com>
23468 * gdb.ada/array_char_idx: New testcase.
23470 2014-01-23 Tom Tromey <tromey@redhat.com>
23473 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
23474 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
23477 2014-01-23 Tom Tromey <tromey@redhat.com>
23480 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
23481 string from an inferior frame.
23482 * gdb.python/py-framefilter-mi.exp: Update.
23484 2014-01-22 Doug Evans <dje@google.com>
23486 * gdb.server/server-mon.exp: Add tests for "set debug-format".
23488 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23490 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
23492 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23494 * gdb.trace/entry-values.exp: Remove excess space character from
23495 regex patterns. Handle s390 call instruction.
23497 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23499 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
23500 define "*_start" label. Make "name" static.
23501 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
23502 ${name} by references to ${name}_start.
23504 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
23506 * gdb.base/info-macros.exp: Remove "debug" from the compile
23509 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23511 * gdb.dlang/demangle.exp: New file.
23513 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23515 * gdb.dlang/primitive-types.exp: New file.
23517 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
23519 * configure.ac: Create gdb.dlang/Makefile.
23520 * configure: Regenerate.
23521 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
23522 * gdb.dlang/Makefile.in: New file.
23523 * lib/d-support.exp: New file.
23524 * lib/gdb.exp (skip_d_tests): New proc.
23526 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23528 * gdb.btrace/delta.exp: Check reverse stepi.
23529 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
23530 * gdb.btrace/finish.exp: New.
23531 * gdb.btrace/next.exp: New.
23532 * gdb.btrace/nexti.exp: New.
23533 * gdb.btrace/record_goto.c: Add comments.
23534 * gdb.btrace/step.exp: New.
23535 * gdb.btrace/stepi.exp: New.
23536 * gdb.btrace/multi-thread-step.c: New.
23537 * gdb.btrace/multi-thread-step.exp: New.
23538 * gdb.btrace/rn-dl-bind.c: New.
23539 * gdb.btrace/rn-dl-bind.exp: New.
23540 * gdb.btrace/data.c: New.
23541 * gdb.btrace/data.exp: New.
23542 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
23544 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23546 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
23547 * gdb.btrace/exception.exp: Update.
23548 * gdb.btrace/instruction_history.exp: Update.
23549 * gdb.btrace/record_goto.exp: Update.
23550 * gdb.btrace/tailcall.exp: Update.
23551 * gdb.btrace/unknown_functions.exp: Update.
23552 * gdb.btrace/delta.exp: New.
23554 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23556 * gdb.btrace/record_goto.exp: Add backtrace test.
23557 * gdb.btrace/tailcall.exp: Add backtrace test.
23559 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23561 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
23562 * gdb.btrace/record_goto.c: New.
23563 * gdb.btrace/record_goto.exp: New.
23564 * gdb.btrace/x86-record_goto.S: New.
23566 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23568 * gdb.btrace/function_call_history.exp: Update tests.
23569 * gdb.btrace/instruction_history.exp: Update tests.
23571 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23573 * gdb.btrace/function_call_history.exp: Fix expected field
23574 order for "record function-call-history".
23575 Add new tests for "record function-call-history /c".
23576 * gdb.btrace/exception.cc: New.
23577 * gdb.btrace/exception.exp: New.
23578 * gdb.btrace/tailcall.exp: New.
23579 * gdb.btrace/x86-tailcall.S: New.
23580 * gdb.btrace/x86-tailcall.c: New.
23581 * gdb.btrace/unknown_functions.c: New.
23582 * gdb.btrace/unknown_functions.exp: New.
23583 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
23585 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23587 * gdb.btrace/instruction_history.exp: Update.
23588 * gdb.btrace/function_call_history.exp: Update.
23590 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23592 * gdb.btrace/function_call_history.exp: Fix expected function
23594 * gdb.btrace/instruction_history.exp: Initialize traced.
23595 Remove traced_functions.
23597 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23599 * gdb.btrace/function_call_history.exp: Update
23600 * gdb.btrace/instruction_history.exp: Update.
23602 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
23604 * gdb.btrace/enable.exp: Update expected text.
23606 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
23608 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
23611 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
23613 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
23615 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
23617 * lib/gdb.exp (supports_process_record): Return true for
23618 arm*-linux*. (supports_reverse): Likewise.
23620 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
23624 * gdb.python/py-type.c: Enhance test case.
23625 * gdb.python/py-value-cc.cc: Likewise
23626 * gdb.python/py-type.exp: Add new tests.
23627 * gdb.python/py-value-cc.exp: Likewise
23629 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
23630 Pedro Alves <palves@redhat.com>
23632 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
23633 Make "name" extern.
23634 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
23635 references to ${name}_start by references to ${name}.
23637 2014-01-10 Joel Brobecker <brobecker@adacore.com>
23639 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
23641 2014-01-10 Joel Brobecker <brobecker@adacore.com>
23643 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
23645 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
23646 Pedro Alves <palves@redhat.com>
23648 * gdb.mi/mi-info-os.exp: Connect to the target with
23649 mi_gdb_target_load.
23651 2014-01-08 Pedro Alves <palves@redhat.com>
23653 * gdb.threads/reconnect-signal.c: New file.
23654 * gdb.threads/reconnect-signal.exp: New file.
23656 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
23658 * gdb.base/source-dir.exp: New file.
23660 2014-01-07 Joel Brobecker <brobecker@adacore.com>
23662 * gdb.ada/mi_interface: New testcase.
23664 2014-01-07 Joel Brobecker <brobecker@adacore.com>
23666 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
23667 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
23668 gdb.ada/pp-rec-component/pck.ads: New files.
23670 2014-01-07 Joel Brobecker <brobecker@adacore.com>
23672 * gdb.python/py-pp-integral.c: New file.
23673 * gdb.python/py-pp-integral.py: New file.
23674 * gdb.python/py-pp-integral.exp: New file.
23676 For older changes see ChangeLog-1993-2013.
23678 ;; Local Variables:
23679 ;; mode: change-log
23682 ;; version-control: never
23685 Copyright 2014-2021 Free Software Foundation, Inc.
23686 Copying and distribution of this file, with or without modification,
23687 are permitted provided the copyright notice and this notice are preserved.