1 2021-01-07 Tom Tromey <tromey@adacore.com>
3 * gdb.ada/assign_arr.exp: Add 'others' test.
5 2021-01-06 Tom Tromey <tromey@adacore.com>
7 * gdb.ada/fixed_points/pck.ads (Delta4): New constant.
9 (FP4_Var): New variable.
10 * gdb.ada/fixed_points/fixed_points.adb: Update.
11 * gdb.ada/fixed_points.exp: Add tests for binary operators.
13 2021-01-06 Simon Marchi <simon.marchi@polymtl.ca>
15 * lib/gdb.exp (gdb_test_sequence): Accept -prompt switch.
16 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17 Pass prompt containing debug print to gdb_test_sequence.
19 2021-01-04 Tom de Vries <tdevries@suse.de>
21 * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: New file.
23 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
27 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
29 * gdb.server/abspath.exp: Append "set sysroot" to GDBFLAGS.
30 * gdb.server/connect-without-multi-process.exp: Likewise.
31 * gdb.server/exit-multiple-threads.exp: Likewise.
32 * gdb.server/ext-attach.exp: Likewise.
33 * gdb.server/ext-restart.exp: Likewise.
34 * gdb.server/ext-run.exp: Likewise.
35 * gdb.server/ext-wrapper.exp: Likewise.
36 * gdb.server/multi-ui-errors.exp: Likewise.
37 * gdb.server/no-thread-db.exp: Likewise.
38 * gdb.server/reconnect-ctrl-c.exp: Likewise.
39 * gdb.server/run-without-local-binary.exp: Likewise.
40 * gdb.server/server-kill.exp: Likewise.
41 * gdb.server/server-run.exp: Likewise.
42 * gdb.server/solib-list.exp: Likewise.
43 * gdb.server/stop-reply-no-thread.exp: Likewise.
44 * gdb.server/wrapper.exp: Likewise.
45 * gdb.server/sysroot.exp: Increase timeout when testing the
48 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
50 * gdb.server/server-run.exp: Use clean_restart.
52 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
54 * gdb.server/ext-run.exp: Use clean_restart.
56 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
58 * gdb.server/stop-reply-no-thread.exp: Use build_executable
59 instead of prepare_for_testing.
61 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
63 * gdb.server/solib-list.exp: Use clean_restart.
65 2021-01-04 Tom de Vries <tdevries@suse.de>
67 * gdb.base/morestack.c: Remove printf.
68 * gdb.base/morestack.exp: Don't use -fuse-ld=gold.
70 2020-12-31 Tom Tromey <tom@tromey.com>
72 * gdb.rust/simple.exp: Update output for Rust 1.49.
74 2020-12-31 Bernd Edlinger <bernd.edlinger@hotmail.de>
76 * gdb.cp/step-and-next-inline.exp: Fix test case.
78 2020-12-30 Simon Marchi <simon.marchi@polymtl.ca>
80 * gdb.python/py-frame-args.exp: De-duplicate test names.
82 2020-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
85 * gdb.dwarf2/dyn-type-unallocated.c: New file.
86 * gdb.dwarf2/dyn-type-unallocated.exp: New file.
88 2020-12-21 Peter Waller <p@pwaller.net>
90 * gdb.base/style-interp-exec-mi.exp: New.
91 * gdb.base/style-interp-exec-mi.c: New.
93 2020-12-21 Simon Marchi <simon.marchi@polymtl.ca>
95 * gdb.base/list.exp: Replace send_gdb + gdb_expect with
96 gdb_test. Use proc_with_prefix.
98 2020-12-21 Markus Metzger <markus.t.metzger@intel.com>
100 * gdb.btrace/exception.exp: Build with nopie.
101 * gdb.btrace/function_call_history.exp: Likewise.
102 * gdb.btrace/unknown_functions.exp: Likewise.
104 2020-12-21 Markus Metzger <markus.t.metzger@intel.com>
106 * gdb.btrace/multi-inferior.exp: Skip if use_gdb_stub.
108 2020-12-21 Markus Metzger <markus.t.metzger@intel.com>
110 * gdb.python/py-record-btrace.exp: Make test names unique.
111 * gdb.python/py-record-full.exp: Likewise.
113 2020-12-21 Markus Metzger <markus.t.metzger@intel.com>
115 * gdb.btrace/data.exp: Make test names unique.
116 * gdb.btrace/delta.exp: Likewise.
117 * gdb.btrace/enable.exp: Likewise.
118 * gdb.btrace/function_call_history.exp: Likewise.
119 * gdb.btrace/nohist.exp: Likewise.
120 * gdb.btrace/non-stop.exp: Likewise.
121 * gdb.btrace/rn-dl-bind.exp: Likewise.
122 * gdb.btrace/step.exp: Likewise.
123 * gdb.btrace/stepi.exp: Likewise.
124 * gdb.btrace/tailcall.exp: Likewise.
126 2020-12-21 Markus Metzger <markus.t.metzger@intel.com>
128 * gdb.btrace/enable.exp: Update error message.
129 * gdb.btrace/multi-inferior.exp: Likewise.
130 * gdb.btrace/reconnect.exp: Likewise.
131 * gdb.python/py-record-btrace.exp: Likewise.
132 * gdb.python/py-record-full.exp: Likewise.
134 2020-12-20 Tom de Vries <tdevries@suse.de>
136 * lib/gdb.exp (save_target_board_info): New proc.
137 (gdb_compile_shlib): Use save_target_board_info.
139 2020-12-19 Tom de Vries <tdevries@suse.de>
141 * lib/gdb.exp (supports_scalar_storage_order_attribute)
142 (supports_gnuc): New proc.
143 * gdb.base/endianity.exp: Define TEST_SSO. Eliminate
144 test_compiler_info calls. Add unsupported message.
145 * gdb.base/endianity.c: Use TEST_SSO.
147 2020-12-19 Hannes Domani <ssbssa@yahoo.de>
150 * gdb.python/compare-enum-type-a.c: New test.
151 * gdb.python/compare-enum-type-b.c: New test.
152 * gdb.python/compare-enum-type.exp: New file.
153 * gdb.python/compare-enum-type.h: New test.
155 2020-12-18 Hannes Domani <ssbssa@yahoo.de>
157 * gdb.python/py-format-string.exp: Add tests for address keyword.
159 2020-12-18 Hannes Domani <ssbssa@yahoo.de>
161 * gdb.python/py-type.exp: Add tests for TYPE_CODE_METHOD.
163 2020-12-18 Tom Tromey <tromey@adacore.com>
165 * gdb.ada/fixed_points.exp: Also run with
166 -fgnat-encodings=minimal. Update expected output.
168 2020-12-16 Simon Marchi <simon.marchi@efficios.com>
170 * gdb.base/async-shell.exp: Enable non-stop through GDBFLAGS.
171 * gdb.base/continue-all-already-running.exp: Likewise.
172 * gdb.base/moribund-step.exp: Likewise.
173 * gdb.base/step-sw-breakpoint-adjust-pc.exp: Likewise.
175 2020-12-16 Tom de Vries <tdevries@suse.de>
177 * gdb.base/batch-preserve-term-settings.exp:
179 2020-12-16 Tom de Vries <tdevries@suse.de>
181 * lib/gdb.exp (gdb_compile_shlib_1): Factor out of ...
182 (gdb_compile_shlib): ... here. Filter out PIE-related flags.
184 2020-12-16 Luis Machado <luis.machado@linaro.org>
186 * gdb.arch/aarch64-tagged-pointer.c (main): Add a few more
187 pointer-based memory accesses.
188 * gdb.arch/aarch64-tagged-pointer.exp: Exercise additional
191 2020-12-15 Rae Kim <rae.kim@gmail.com>
193 * gdb.base/document.exp: New test.
195 2020-12-15 Tom Tromey <tromey@adacore.com>
197 * gdb.base/style.exp: Add deprecation tests.
199 2020-12-14 Simon Marchi <simon.marchi@polymtl.ca>
201 * lib/gdb.exp (gdb_test_multiple): Fix typo in doc.
203 2020-12-14 Mark Wielaard <mark@klomp.org>
205 * lib/dwarf.exp (Dwarf::_handle_attribute): Handle SPECIAL_expr
206 specially, set attr_form_comment to the actual FORM string used.
208 2020-12-14 Mark Wielaard <mark@klomp.org>
210 * lib/dwarf.exp (Dwarf::_read_constants): Don't set
211 _constants(SPECIAL_expr) here, but set it...
212 (Dwarf::cu): ...here based on _cu_version.
214 2020-12-14 Tom de Vries <tdevries@suse.de>
216 * lib/gdb.exp (gdb_compile_shlib): Make sure it's not necessary to
218 * gdb.ada/catch_ex_std.exp: Don't pass -fPIC to gdb_compile_shlib.
219 * gdb.base/break-probes.exp: Same.
220 * gdb.base/ctxobj.exp: Same.
221 * gdb.base/dso2dso.exp: Same.
222 * gdb.base/global-var-nested-by-dso.exp: Same.
223 * gdb.base/info-shared.exp: Same.
224 * gdb.base/jit-reader-simple.exp: Same.
225 * gdb.base/print-file-var.exp: Same.
226 * gdb.base/skip-solib.exp: Same.
227 * gdb.btrace/dlopen.exp: Same.
229 2020-12-14 Tom de Vries <tdevries@suse.de>
232 * lib/gdb.exp (run_on_host): Declare test unsupported if spawn fails.
234 2020-12-14 Tom de Vries <tdevries@suse.de>
237 * gdb.base/solib-corrupted.exp: Handle "'_r_debug' has unknown type;
238 cast it to its declared type".
240 2020-12-14 Tom de Vries <tdevries@suse.de>
243 * gdb.base/batch-preserve-term-settings.exp: Use "gdb-subshell$ " as
246 2020-12-14 Tom Tromey <tromey@adacore.com>
248 * gdb.ada/nested.exp: Add new tests.
249 * gdb.ada/nested/hello.adb (Fourth, Fifth): New procedures.
251 2020-12-14 Tom Tromey <tromey@adacore.com>
253 * gdb.dwarf2/ada-thick-pointer.exp: New file.
255 2020-12-14 Tom Tromey <tromey@adacore.com>
257 * gdb.dwarf2/dw2-fixed-point.exp: Add test for division by zero.
259 2020-12-13 Tom de Vries <tdevries@suse.de>
262 * gdb.base/endianity.exp: Skip tests requiring scalar_storage_order
263 attribute support if compiler doesn't support it.
265 2020-12-13 Tom de Vries <tdevries@suse.de>
267 * lib/gdb.exp (gdb_compile_shlib): Handle ada.
268 * gdb.ada/catch_ex_std.exp: Use gdb_compile_shlib to compile from
269 source to shared lib. Add ada to options.
271 2020-12-13 Tom de Vries <tdevries@suse.de>
273 * gdb.ada/catch_ex_std.exp: Use gnatmake -bargs and -largs instead of
274 calling gnatbind and gnatlink.
276 2020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
278 * gdb.base/dcache-flush.c: New file.
279 * gdb.base/dcache-flush.exp: New file.
281 2020-12-13 Andrew Burgess <andrew.burgess@embecosm.com>
283 * gdb.base/c-linkage-name.exp: Update to use new 'maint flush ...'
285 * gdb.base/killed-outside.exp: Likewise.
286 * gdb.opt/inline-bt.exp: Likewise.
287 * gdb.perf/gmonster-null-lookup.py: Likewise.
288 * gdb.perf/gmonster-print-cerr.py: Likewise.
289 * gdb.perf/gmonster-ptype-string.py: Likewise.
290 * gdb.python/py-unwind.exp: Likewise.
292 2020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
294 * gdb.base/commands.exp: Update expected results.
296 2020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
299 * gdb.base/commands.exp: Add additional tests.
300 * gdb.base/completion.exp: Add additional tests.
302 2020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
304 * gdb.base/completion.exp: Add additional tests.
306 2020-12-11 Tom de Vries <tdevries@suse.de>
309 * gdb.arch/i386-mpx-call.exp: Don't expect to trigger bounds
310 violations by setting bounds registers if the bounds are passed in the
313 2020-12-11 Tom de Vries <tdevries@suse.de>
316 * gdb.base/float128.exp: Detect and handle no mpfr support.
318 2020-12-10 Simon Marchi <simon.marchi@efficios.com>
321 * gdb.multi/multi-arch-exec.c (thread_start, main): Add barrier
324 2020-12-10 Tom de Vries <tdevries@suse.de>
327 * gdb.tui/new-layout.exp: Don't execute tests with unbalanced curly
328 braces for tcl 8.5 and earlier.
330 2020-12-09 Simon Marchi <simon.marchi@efficios.com>
333 * gdb.base/flexible-array-member.c: New test.
334 * gdb.base/flexible-array-member.exp: New test.
336 2020-12-08 Tom de Vries <tdevries@suse.de>
338 * gdb.arch/amd64-gs_base.exp: Undo commit 67748e0f66, reimplement
339 using is_amd64_regs_target.
341 2020-12-08 Tom de Vries <tdevries@suse.de>
343 * gdb.ada/mi_task_arg.exp: Accept <optimized out> as valid value of
346 2020-12-07 Pedro Alves <pedro@palves.net>
348 * gdb.base/break-on-linker-gcd-function.exp: Remove unused
349 'additional_flags' variable.
351 2020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
353 * gdb.linespec/explicit.exp: Extend with a test to check completing
354 '-' after seemingly complete options.
356 2020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
358 * gdb.linespec/keywords.exp: Add tests to check positional
359 flexibility of "-force-condition".
361 2020-12-07 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
363 * gdb.base/bp-cmds-run-with-ex.c: New file.
364 * gdb.base/bp-cmds-run-with-ex.exp: New file.
365 * gdb.base/bp-cmds-run-with-ex.gdb: New file.
366 * gdb.gdb/python-interrupts.exp: Update the call to
367 'catch_command_errors' with the new argument.
368 * gdb.gdb/python-selftest.exp: Ditto.
370 2020-12-04 Simon Marchi <simon.marchi@efficios.com>
372 * gdb.arch/amd64-disp-step-avx.exp: Adjust pattern.
373 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
374 * gdb.threads/non-stop-fair-events.exp: Likewise.
376 2020-12-04 Simon Marchi <simon.marchi@efficios.com>
378 * gdb.threads/step-over-exec.exp: New.
379 * gdb.threads/step-over-exec.c: New.
380 * gdb.threads/step-over-exec-execd.c: New.
381 * lib/my-syscalls.S: New.
382 * lib/my-syscalls.h: New.
384 2020-12-04 Simon Marchi <simon.marchi@efficios.com>
386 * lib/dwarf.exp (declare_labels): Use name as text if text is
389 2020-12-04 Tom de Vries <tdevries@suse.de>
392 * gdb.arch/amd64-gs_base.exp: Handle -m32 where fs_base and gs_base
395 2020-12-04 Tom de Vries <tdevries@suse.de>
397 * gdb.reverse/insn-reverse.exp: Don't break inside gdb_test_multiple
400 2020-12-04 Tom de Vries <tdevries@suse.de>
402 * gdb.reverse/insn-reverse.exp: Fix count handling.
404 2020-12-04 Tom de Vries <tdevries@suse.de>
406 * gdb.reverse/insn-reverse-x86.c: Guard x86_64 assembly with #ifdef
409 2020-12-04 Tom de Vries <tdevries@suse.de>
411 * gdb.reverse/insn-reverse.c (test_nr): New var.
412 (usage, parse_args): New function.
413 (main): Call parse_args. Only run test for test_nr.
414 * gdb.reverse/insn-reverse.exp: Detect lack of progress in stepi loop
415 and bail out. Run subtests individually, using an inferior arg
416 specifying the subtest.
418 2020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
420 * gdb.arch/riscv-tdesc-regs.exp: Remove unwanted test.
422 2020-12-02 Andrew Burgess <andrew.burgess@embecosm.com>
424 * gdb.arch/riscv-tdesc-regs.exp (get_expected_result): New proc,
425 update test to use this.
427 2020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
429 * gdb.threads/non-ldr-exc-1.exp: Fix indentation.
431 2020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
433 * gdb.threads/non-ldr-exc-1.exp: Use foreach_with_prefix.
434 (do_test): Don't use with_test_prefix.
435 * gdb.threads/non-ldr-exc-2.exp: Use foreach_with_prefix.
436 (do_test): Don't use with_test_prefix.
437 * gdb.threads/non-ldr-exc-3.exp: Use foreach_with_prefix.
438 (do_test): Don't use with_test_prefix.
439 * gdb.threads/non-ldr-exc-4.exp: Use foreach_with_prefix.
440 (do_test): Don't use with_test_prefix.
442 2020-12-01 Simon Marchi <simon.marchi@polymtl.ca>
444 * gdb.threads/non-ldr-exit.exp: Fix comment.
446 2020-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
448 * gdb.xml/maint-xml-dump-03.xml: New file.
450 2020-11-30 Tom de Vries <tdevries@suse.de>
453 * gdb.dwarf2/count.exp: Remove kfails.
455 2020-11-24 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
457 * gdb.base/condbreak-multi-context.exp: Do not hard-code location
460 2020-11-24 Joel Brobecker <brobecker@adacore.com>
462 * gdb.dwarf2/dw2-fixed-point.exp: Fix the expected output of
463 the "ptype pck__fp1_range_var" test for the module-2 and pascal
464 languages. Remove the associated setup_xfail.
466 2020-11-23 Simon Marchi <simon.marchi@efficios.com>
468 * lib/gdb.exp (gdb_assert): Show error message on error.
470 2020-11-23 Tom de Vries <tdevries@suse.de>
472 * gdb.ada/enum_idx_packed.exp: Limit setup_kfail to gnat 9 and 10.
473 * gdb.ada/mod_from_name.exp: Same.
474 * gdb.ada/pckd_arr_ren.exp: Same.
476 2020-11-22 Simon Marchi <simon.marchi@polymtl.ca>
478 * gdb.base/template.exp: New.
479 * gdb.base/template.c: New.
481 2020-11-22 Gary Benson <gbenson@redhat.com>
484 * gdb.dwarf2/count.exp: Add test for an array whose upper bound
485 is defined using a DW_AT_count which references another DIE.
487 2020-11-21 Tom de Vries <tdevries@suse.de>
489 * gdb.base/vla-ptr.exp: Add XFAIL.
491 2020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
493 * gdb.fortran/array-slices-bad.exp: New file.
494 * gdb.fortran/array-slices-bad.f90: New file.
495 * gdb.fortran/array-slices-sub-slices.exp: New file.
496 * gdb.fortran/array-slices-sub-slices.f90: New file.
497 * gdb.fortran/array-slices.exp: Rewrite tests.
498 * gdb.fortran/array-slices.f90: Rewrite tests.
499 * gdb.fortran/vla-sizeof.exp: Correct expected results.
501 2020-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
503 * gdb.base/completion.exp: Add new completion tests.
505 2020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
507 * gdb.mi/mi-nonstop-exit.exp: Enable non-stop through GDBFLAGS.
508 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
509 * gdb.mi/mi-nsintrall.exp: Likewise.
510 * gdb.mi/mi-nsmoribund.exp: Likewise.
511 * gdb.mi/mi-nsthrexec.exp: Likewise.
512 * gdb.mi/mi-watch-nonstop.exp: Likewise.
514 2020-11-18 Simon Marchi <simon.marchi@polymtl.ca>
516 * lib/mi-support.exp (mi_run_cmd_full): Use unresovled instead
519 2020-11-18 Joseph Myers <joseph@codesourcery.com>
521 * lib/mi-support.exp (mi_gdb_file_cmd): Check for case where
522 $arg.exe exists but $arg does not.
524 2020-11-17 Gary Benson <gbenson@redhat.com>
526 * gdb.trace/trace-common.h (x86_trace_dummy): Add
527 __attribute__ ((used)).
529 2020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
531 * gdb.gdb/unittest.exp: Spot 'Running...' lines.
533 2020-11-17 Andrew Burgess <andrew.burgess@embecosm.com>
535 * gdb.base/completion.exp: Add new tests.
537 2020-11-16 Tom Tromey <tromey@adacore.com>
539 * gdb.dwarf2/data-loc.exp: Update expected output. Remove C
542 2020-11-15 Joel Brobecker <brobecker@adacore.com>
544 * gdb.ada/fixed_cmp.exp: Add -fgnat-encodings=minimal testing.
545 * gdb.dwarf2/dw2-fixed-point.c (pck__fp1_var2): New global.
546 (main): Add reference to pck__fp1_var2.
547 * gdb.dwarf2/dw2-fixed-point.exp: Add comparison operator testing.
549 2020-11-15 Joel Brobecker <brobecker@adacore.com>
551 * gdb.dwarf2/dw2-fixed-point.exp: Add arithmetic tests.
553 2020-11-15 Joel Brobecker <brobecker@adacore.com>
555 * gdb.ada/fixed_points.exp: Add ptype tests.
556 * gdb.dwarf2/dw2-fixed-point.exp: Likewise.
558 2020-11-15 Joel Brobecker <brobecker@adacore.com>
560 * gdb.dwarf2/dw2-fixed-point.exp: Add "print /x" tests.
562 2020-11-15 Joel Brobecker <brobecker@adacore.com>
564 * gdb.ada/fixed_cmp.exp: Force compilation to use -fgnat-encodings=all.
565 * gdb.ada/fixed_points.exp: Add fixed-point variables printing tests.
566 * gdb.ada/fixed_points/pck.ads, gdb.ada/fixed_points/pck.adb:
568 * gdb.ada/fixed_points/fixed_points.adb: Add use of package Pck.
570 * gdb.dwarf2/dw2-fixed-point.c, gdb.dwarf2/dw2-fixed-point.exp:
573 2020-11-14 Andrew Burgess <andrew.burgess@embecosm.com>
576 * gdb.fortran/completion.exp: New file.
577 * gdb.fortran/completion.f90: New file.
579 2020-11-12 Joseph Myers <joseph@codesourcery.com>
581 * lib/gdb.exp (gdb_file_cmd): Check for case where $arg.exe exists
584 2020-11-12 Andrew Burgess <andrew.burgess@embecosm.com>
586 * gdb.fortran/types.exp: Add more tests.
588 2020-11-12 Tom Tromey <tom@tromey.com>
591 * gdb.rust/traits.exp: Remove kfails.
593 2020-11-12 Gary Benson <gbenson@redhat.com>
595 * gdb.threads/tls-so_extern_main.c (tls_ptr): Add missing return
598 2020-11-11 Simon Marchi <simon.marchi@efficios.com>
600 * gdb.base/continue-after-aborted-step-over.exp: Add "breakpoint
601 always-inserted" axis.
602 (do_test): Add breakpoint_always_inserted parameter.
604 2020-11-10 Tom Tromey <tromey@adacore.com>
606 * gdb.ada/bias.exp: Update.
607 * gdb.ada/bias/bias.adb (X): Change value.
609 2020-11-10 Gary Benson <gbenson@redhat.com>
611 * gdb.base/vla-optimized-out.exp (p sizeof (a)): Wrap supplied
612 regexp fragment in parentheses to prevent false matching.
614 2020-11-10 Gary Benson <gbenson@redhat.com>
616 * gdb.base/vla-optimized-out.c (f1): Add __attribute__ ((weak)).
618 2020-11-10 Gary Benson <gbenson@redhat.com>
620 * gdb.cp/step-and-next-inline.exp: Only require
621 -gstatement-frontiers when building with GCC.
622 Only setup KFAIL's for GCC issues when using
623 a GCC-built executable.
625 2020-11-06 Andrew Burgess <andrew.burgess@embecosm.com>
627 * gdb.base/debug-expr.c: Add extra function to allow for an
629 * gdb.base/debug-expr.exp (test_debug_expr): Delete, replace calls
630 to this proc with gdb_test_debug_expr. Add an extra test.
631 * gdb.cp/debug-expr.exp (test_debug_expr): Delete, replace calls
632 to this proc with gdb_test_debug_expr, give the tests names
633 * gdb.dlang/debug-expr.exp (test_debug_expr): Delete, replace
634 calls to this proc with gdb_test_debug_expr, give the tests names
635 * gdb.fortran/debug-expr.exp: New file.
636 * gdb.fortran/debug-expr.f90: New file.
637 * lib/gdb.exp (gdb_test_debug_expr): New proc.
639 2020-11-06 Simon Marchi <simon.marchi@efficios.com>
641 * lib/dwarf.exp (ranges): Handle "base" and "range" as
643 * gdb.dwarf/dw2-bad-elf.exp: Adjust.
644 * gdb.dwarf2/dw2-inline-many-frames.exp: Adjust.
645 * gdb.dwarf2/dw2-inline-stepping.exp: Adjust.
646 * gdb.dwarf2/dw2-ranges-base.exp: Adjust.
647 * gdb.dwarf2/dw2-ranges-func.exp: Adjust.
648 * gdb.dwarf2/dw2-ranges-overlap.exp: Adjust.
649 * gdb.dwarf2/dw2-ranges-psym.exp: Adjust.
650 * gdb.dwarf2/enqueued-cu-base-addr.exp: Adjust.
652 2020-11-04 Tom Tromey <tromey@adacore.com>
654 * gdb.ada/funcall_ref.exp: Update.
655 * gdb.ada/var_rec_arr.exp: Update.
657 2020-11-04 Tom Tromey <tromey@adacore.com>
659 * gdb.ada/rec_ptype.exp: New file.
660 * gdb.ada/rec_ptype/main.adb: New file.
661 * gdb.ada/rec_ptype/p.ads: New file.
663 2020-11-04 Tom Tromey <tromey@adacore.com>
665 * gdb.ada/tick_length_array_enum_idx.exp: Add ptype test.
666 * gdb.ada/tick_length_array_enum_idx/foo_n207_004.adb
667 (PT_Full): New variable.
668 * gdb.ada/tick_length_array_enum_idx/pck.adb
671 2020-11-04 Tom Tromey <tromey@adacore.com>
673 * gdb.ada/array_of_variant.exp: New file.
674 * gdb.ada/array_of_variant/p.adb: New file.
675 * gdb.ada/array_of_variant/pck.ads: New file.
676 * gdb.ada/array_of_variant/pck.adb: New file.
678 2020-11-04 Tom Tromey <tromey@adacore.com>
680 * gdb.ada/enum_idx_packed.exp: Add test.
681 * gdb.ada/enum_idx_packed/foo.adb (Multi_Access):
683 * gdb.ada/enum_idx_packed/pck.ads (Short)
684 (Multi_Dimension, Multi_Dimension_Access): New types.
686 2020-11-04 Tom Tromey <tromey@adacore.com>
688 * gdb.ada/enum_idx_packed.exp: Test two forms of -fgnat-encodings.
690 2020-11-04 Tom Tromey <tromey@adacore.com>
692 * gdb.ada/set_pckd_arr_elt.exp: Also test
693 -fgnat-encodings=minimal. Add tests.
694 * gdb.ada/set_pckd_arr_elt/foo.adb (Foo): Add VA variable.
695 Call Update_Small a second time.
696 * gdb.ada/set_pckd_arr_elt/pck.adb (New_Variant): New function.
697 * gdb.ada/set_pckd_arr_elt/pck.ads (Buffer, Variant)
698 (Variant_Access): New types.
699 (New_Variant): Declare.
701 2020-11-04 Tom Tromey <tromey@adacore.com>
703 * gdb.ada/mod_from_name.exp: Test printing slice.
705 2020-11-04 Tom Tromey <tromey@adacore.com>
707 * gdb.ada/O2_float_param.exp: Test different -fgnat-encodings
709 * gdb.ada/access_to_unbounded_array.exp: Test different
710 -fgnat-encodings values.
711 * gdb.ada/big_packed_array.exp: Test different -fgnat-encodings
713 * gdb.ada/arr_enum_idx_w_gap.exp: Test different -fgnat-encodings
715 * gdb.ada/array_ptr_renaming.exp: Test different -fgnat-encodings
717 * gdb.ada/array_of_variable_length.exp: Test different
718 -fgnat-encodings values.
719 * gdb.ada/arrayparam.exp: Test different -fgnat-encodings values.
720 * gdb.ada/arrayptr.exp: Test different -fgnat-encodings values.
721 * gdb.ada/frame_arg_lang.exp: Revert -fgnat-encodings=minimal
723 * gdb.ada/mi_string_access.exp: Test different -fgnat-encodings
725 * gdb.ada/mod_from_name.exp: Test different -fgnat-encodings values.
726 * gdb.ada/out_of_line_in_inlined.exp: Test different
727 -fgnat-encodings values.
728 * gdb.ada/packed_array.exp: Test different -fgnat-encodings
730 * gdb.ada/pckd_arr_ren.exp: Test different -fgnat-encodings
732 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Test different
733 -fgnat-encodings values.
734 * gdb.ada/variant_record_packed_array.exp: Test different
735 -fgnat-encodings values.
737 2020-11-04 Tom Tromey <tromey@adacore.com>
739 * gdb.ada/enum_idx_packed.exp: Add tests.
740 * gdb.ada/enum_idx_packed/foo.adb: Add variables.
741 * gdb.ada/enum_idx_packed/pck.adb: Add functions.
742 * gdb.ada/enum_idx_packed/pck.ads: Add types, function
745 2020-11-03 Tom de Vries <tdevries@suse.de>
747 * lib/dwarf.exp (Dwarf::_handle_DW_TAG): Improve attribute list
749 (Dwarf::cu, Dwarf::tu): Remove superfluous abbreviation table
752 2020-11-02 Simon Marchi <simon.marchi@polymtl.ca>
754 * gdb.base/step-over-no-symbols.exp (test_step_over): Replace
755 integer format test with regexp.
757 2020-11-02 Gary Benson <gbenson@redhat.com>
759 * gdb.base/print-file-var.exp (test): Separate compiler and
760 linker options, and build using build_executable_from_specs
763 2020-11-02 Gary Benson <gbenson@redhat.com>
765 * lib/gdb.exp (gdb_compile): Inhibit passing "-x c++"
766 for .c files compiled as C++ with Clang if any shared
767 libraries are specified.
769 2020-11-02 Gary Benson <gbenson@redhat.com>
771 * lib/attributes.h: New header.
772 * gdb.base/backtrace.c: Include the above. Replace
773 __attribute__(noclone)) with ATTRIBUTE_NOCLONE.
774 * gdb.base/infcall-nested-structs.c: Likewise.
775 * gdb.base/vla-optimized-out.c: Likewise.
777 2020-11-02 Tom de Vries <tdevries@suse.de>
779 * gdb.dwarf2/fission-multi-cu.S: Remove .debug_line.dwo section.
781 2020-11-01 Joel Brobecker <brobecker@adacore.com>
783 * gdb.ada/fixed_points/fixed_points.adb: Replace use of
784 System.Min_Int and System.Max_Int with smaller hardcoded
787 2020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
789 * configure.ac: Split AC_INIT into AC_INIT and AC_CONFIG_SRCDIR.
790 * configure: Re-generate.
792 2020-10-30 Simon Marchi <simon.marchi@efficios.com>
794 * gdb.arch/amd64-disp-step-avx.exp: Update displaced step debug
797 2020-10-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
799 * gdb.base/paginate-after-ctrl-c-running.exp: Update with no pagination
801 * gdb.base/paginate-bg-execution.exp: Ditto.
802 * gdb.base/paginate-inferior-exit.exp: Ditto.
803 * gdb.base/double-prompt-target-event-error.c: Remove.
804 * gdb.base/double-prompt-target-event-error.exp: Remove.
806 2020-10-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
808 * gdb.base/kill-detach-inferiors-cmd.exp: Check that 'kill
809 inferiors' and 'detach inferiors' do not change the current
812 2020-10-29 Tom de Vries <tdevries@suse.de>
814 * gdb.threads/tls.exp: Fix DUPLICATEs.
816 2020-10-28 Tom de Vries <tdevries@suse.de>
818 * gdb.python/py-symbol.exp: Add KFAILs for -readnow.
820 2020-10-28 Tom de Vries <tdevries@suse.de>
822 * gdb.ada/exec_changed.exp: Add KFAILs for -readnow.
823 * gdb.base/reread.exp: Same.
825 2020-10-28 Tom de Vries <tdevries@suse.de>
827 * lib/gdb.exp (readnow): Handle arg.
828 * gdb.rust/traits.exp: Add KFAILs for -readnow.
830 2020-10-28 Tom de Vries <tdevries@suse.de>
832 * gdb.base/relocate.exp: Update regexp for -readnow.
834 2020-10-28 Tom de Vries <tdevries@suse.de>
836 * gdb.dwarf2/dw2-error.exp: Mark failure break in main as known with
839 2020-10-28 Tom de Vries <tdevries@suse.de>
842 * gdb.dwarf2/dw2-ranges-overlap.c: New test.
843 * gdb.dwarf2/dw2-ranges-overlap.exp: New file.
845 2020-10-28 Tom de Vries <tdevries@suse.de>
847 * lib/gdb.exp (gdb_file_cmd): Set gdb_file_cmd_msg.
848 * gdb.cp/nsalias.exp: Set complaints limit before file cmd. Expect
849 complaint during file command for -readnow.
851 2020-10-28 Tom de Vries <tdevries@suse.de>
853 * gdb.cp/nsalias.exp: Fix typo in test name.
855 2020-10-28 Tom de Vries <tdevries@suse.de>
857 * gdb.dwarf2/dw2-filename.exp: Update regexp for -readnow.
859 2020-10-28 Tom de Vries <tdevries@suse.de>
861 * gdb.dwarf2/dw2-stack-boundary.exp: KFAILing the complaints for
864 2020-10-27 Tom de Vries <tdevries@suse.de>
866 * gdb.base/multi-forks.exp: Use exp_continue to fix timeout.
868 2020-10-27 Tom de Vries <tdevries@suse.de>
870 * gdb.base/maint.exp: Update for -readnow.
872 2020-10-27 Tom de Vries <tdevries@suse.de>
874 * gdb.cp/psymtab-parameter.exp: Don't expect unexpanded CU for
877 2020-10-14 Gary Benson <gbenson@redhat.com>
879 * gdb.python/py-format-string.exp (test_deref_refs): Treat
880 "_vptr$Base" as correct, in addition to "_vptr.Base".
881 (test_mixed): Likewise.
883 2020-10-27 Gary Benson <gbenson@redhat.com>
885 * gdb.mi/mi-fortran-modules.exp: Check skip_fortran_tests.
886 * gdb.mi/mi-vla-fortran.exp: Likewise. Also fix a comment.
888 2020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
890 * gdb.base/condbreak.exp: Update the completion tests to
891 consider the '-force' flag.
893 2020-10-27 Tom de Vries <tdevries@suse.de>
895 * gdb.base/list-ambiguous-readnow.exp: New file.
897 2020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
899 * gdb.base/condbreak-multi-context.exp: Expand to test forcing
901 * gdb.linespec/cpcompletion.exp: Update to consider the
902 '-force-condition' keyword.
903 * gdb.linespec/explicit.exp: Ditto.
904 * lib/completion-support.exp: Ditto.
906 2020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
908 * gdb.base/condbreak-multi-context.cc: New file.
909 * gdb.base/condbreak-multi-context.exp: New file.
911 2020-10-26 Tom Tromey <tom@tromey.com>
913 * lib/mi-support.exp (default_mi_gdb_start): Call
915 * lib/gdb.exp (standard_output_file_with_gdb_instance): Don't
916 subtract one from gdb_instances.
917 (gdb_stdin_log_write): Flush in_file.
919 2020-10-26 Tom de Vries <tdevries@suse.de>
921 * gdb.dwarf2/enqueued-cu-base-addr.exp: New file.
923 2020-10-26 Tom Tromey <tromey@adacore.com>
925 * gdb.ada/unsigned_range/foo.adb: New file.
926 * gdb.ada/unsigned_range/pack.adb: New file.
927 * gdb.ada/unsigned_range/pack.ads: New file.
928 * gdb.ada/unsigned_range.exp: New file.
930 2020-10-26 Tom de Vries <tdevries@suse.de>
932 * lib/gdb.exp (INTERNAL_GDBFLAGS): Set heigth and width.
934 2020-10-26 Tom de Vries <tdevries@suse.de>
936 * gdb.dwarf2/dw2-objfile-overlap-inner.S: Specify default base address
938 * gdb.dwarf2/dw2-objfile-overlap-outer.S: Same.
940 2020-10-23 Tom de Vries <tdevries@suse.de>
942 * lib/dwarf.exp (Dwarf::_guess_form): Return "" by default instead of
944 (Dwarf::_default_form): New proc.
945 (Dwarf::_handle_DW_TAG): Use _default_form. Error out if no form was
948 2020-10-23 Tom de Vries <tdevries@suse.de>
950 * gdb.dwarf2/ada-linkage-name.exp: Use $srcfile for DW_AT_name of CU.
951 * gdb.dwarf2/atomic-type.exp: Same.
952 * gdb.dwarf2/bad-regnum.exp: Same.
953 * gdb.dwarf2/cpp-linkage-name.exp: Same.
954 * gdb.dwarf2/dw2-align.exp: Same.
955 * gdb.dwarf2/dw2-bad-elf.exp: Same.
956 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
957 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
958 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
959 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
960 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
961 * gdb.dwarf2/enum-type.exp: Same.
962 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Same.
963 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
964 * gdb.dwarf2/main-subprogram.exp: Same.
965 * gdb.dwarf2/missing-type-name.exp: Same.
966 * gdb.dwarf2/nonvar-access.exp: Same.
967 * gdb.dwarf2/typedef-void-finish.exp: Same.
968 * gdb.dwarf2/var-access.exp: Same.
969 * gdb.dwarf2/void-type.exp: Same.
971 2020-10-22 Simon Marchi <simon.marchi@polymtl.ca>
974 * gdb.dwarf2/template-specification-full-name.exp: New test.
976 2020-10-22 Luis Machado <luis.machado@linaro.org>
978 * gdb.base/msym-bp-shl.exp (test_break): Adjust pattern to not
979 expected an offset from the function.
980 * gdb.base/msym-bp.exp (test): Likewise.
982 2020-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
984 * gdb.fortran/array-slices.exp: Add a new test.
986 2020-10-21 Gary Benson <gbenson@redhat.com>
988 * gdb.mi/mi-fullname-deleted.exp: Fix substituted
989 fullname test with Clang. Also expand comments generally.
991 2020-10-20 Tom de Vries <tdevries@suse.de>
993 * gdb.dwarf2/pr13961.S: Remove superfluous end-of-siblings marker.
995 2020-10-20 Tom de Vries <tdevries@suse.de>
997 * gdb.dwarf2/arr-stride.c: Remove.
998 * gdb.dwarf2/arr-stride.exp: Use main.c.
999 * gdb.dwarf2/arr-subrange.c: Remove.
1000 * gdb.dwarf2/arr-subrange.exp: Use main.c.
1001 * gdb.dwarf2/bad-regnum.c: Remove.
1002 * gdb.dwarf2/bad-regnum.exp: Use main.c.
1003 * gdb.dwarf2/corrupt.c: Remove.
1004 * gdb.dwarf2/corrupt.exp: Use main.c.
1005 * gdb.dwarf2/dw2-bad-elf.c: Remove.
1006 * gdb.dwarf2/dw2-bad-elf.exp: Use main.c.
1007 * gdb.dwarf2/dw2-icycle.c: Remove.
1008 * gdb.dwarf2/dw2-icycle.exp: Use main.c.
1009 * gdb.dwarf2/formdata16.c: Remove.
1010 * gdb.dwarf2/formdata16.exp: Use main.c.
1011 * gdb.dwarf2/implptrconst.c: Remove.
1012 * gdb.dwarf2/implptrconst.exp: Use main.c.
1013 * gdb.dwarf2/info-locals-optimized-out.c: Remove.
1014 * gdb.dwarf2/info-locals-optimized-out.exp: Use main.c.
1015 * gdb.dwarf2/opaque-type-lookup.c: Remove.
1016 * gdb.dwarf2/opaque-type-lookup.exp: Use main.c.
1018 2020-10-20 Tom de Vries <tdevries@suse.de>
1020 * gdb.dwarf2/ada-valprint-error.exp: Remove redundant mention of .exp
1022 * gdb.dwarf2/dw2-dir-file-name.exp: Same.
1024 2020-10-20 Tom de Vries <tdevries@suse.de>
1026 * gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name.
1027 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
1028 * gdb.dwarf2/dw2-main-no-line-number.exp: Same.
1029 * gdb.dwarf2/dw2-ranges-base.exp: Same.
1030 * gdb.dwarf2/dw2-ranges.exp: Same.
1031 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
1032 * gdb.dwarf2/var-access.exp: Same.
1034 2020-10-19 Tom Tromey <tromey@adacore.com>
1037 * gdb.tui/list.exp: Check source window contents after focus
1040 2020-10-17 Tom de Vries <tdevries@suse.de>
1043 * gdb.dwarf2/dw2-main-no-line-number.exp: New file.
1045 2020-10-17 Tom de Vries <tdevries@suse.de>
1047 * lib/gdb.exp (standard_testfile): Also treat args starting with '-'
1049 * gdb.dwarf2/atomic.c: Rename to ...
1050 * gdb.dwarf2/atomic-type.c: ... this.
1051 * gdb.dwarf2/dw2-ranges2.c: Rename to ...
1052 * gdb.dwarf2/dw2-ranges-2.c: ... this.
1053 * gdb.dwarf2/dw2-ranges3.c: Rename to ...
1054 * gdb.dwarf2/dw2-ranges-3.c: ... this.
1055 * gdb.dwarf2/fission-mix2.c: Rename to ...
1056 * gdb.dwarf2/fission-mix-2.c: ... this.
1057 * gdb.dwarf2/ada-linkage-name.exp: Use more suffix args for
1059 * gdb.dwarf2/ada-valprint-error.exp: Same.
1060 * gdb.dwarf2/arr-stride.exp: Same.
1061 * gdb.dwarf2/arr-subrange.exp: Same.
1062 * gdb.dwarf2/atomic-type.exp: Same.
1063 * gdb.dwarf2/bad-regnum.exp: Same.
1064 * gdb.dwarf2/break-inline-psymtab.exp: Same.
1065 * gdb.dwarf2/clang-debug-names-2.exp: Same.
1066 * gdb.dwarf2/clang-debug-names.exp: Same.
1067 * gdb.dwarf2/comp-unit-lang.exp: Same.
1068 * gdb.dwarf2/corrupt.exp: Same.
1069 * gdb.dwarf2/count.exp: Same.
1070 * gdb.dwarf2/cpp-linkage-name.exp: Same.
1071 * gdb.dwarf2/data-loc.exp: Same.
1072 * gdb.dwarf2/dw2-align.exp: Same.
1073 * gdb.dwarf2/dw2-bad-elf.exp: Same.
1074 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
1075 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
1076 * gdb.dwarf2/dw2-case-insensitive.exp: Same.
1077 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Same.
1078 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
1079 * gdb.dwarf2/dw2-inline-many-frames.exp: Same.
1080 * gdb.dwarf2/dw2-inline-param.exp: Same.
1081 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
1082 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
1083 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
1084 * gdb.dwarf2/dw2-is-stmt.exp: Same.
1085 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
1086 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
1087 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
1088 * gdb.dwarf2/dw2-param-error.exp: Same.
1089 * gdb.dwarf2/dw2-ranges-base.exp: Same.
1090 * gdb.dwarf2/dw2-ranges.exp: Same.
1091 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
1092 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
1093 * gdb.dwarf2/dw4-sig-types.exp: Same.
1094 * gdb.dwarf2/dynarr-ptr.exp: Same.
1095 * gdb.dwarf2/enum-type.exp: Same.
1096 * gdb.dwarf2/fission-mix.exp: Same.
1097 * gdb.dwarf2/formdata16.exp: Same.
1098 * gdb.dwarf2/implptrconst.exp: Same.
1099 * gdb.dwarf2/implptrpiece.exp: Same.
1100 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
1101 * gdb.dwarf2/main-subprogram.exp: Same.
1102 * gdb.dwarf2/method-ptr.exp: Same.
1103 * gdb.dwarf2/missing-sig-type.exp: Same.
1104 * gdb.dwarf2/nonvar-access.exp: Same.
1105 * gdb.dwarf2/opaque-type-lookup.exp: Same.
1106 * gdb.dwarf2/shortpiece.exp: Same.
1107 * gdb.dwarf2/staticvirtual.exp: Same.
1108 * gdb.dwarf2/subrange.exp: Same.
1109 * gdb.dwarf2/symtab-producer.exp: Same.
1110 * gdb.dwarf2/typedef-void-finish.exp: Same.
1111 * gdb.dwarf2/var-access.exp: Same.
1112 * gdb.dwarf2/variant.exp: Same.
1113 * gdb.dwarf2/void-type.exp: Same.
1114 * gdb.dwarf2/dw2-ranges-psym.exp: Same. Use main.c instead of
1116 * gdb.dwarf2/dw2-ranges-main.c: Remove.
1118 2020-10-16 Tom de Vries <tdevries@suse.de>
1120 * lib/gdb.exp (gdb_breakpoint): Remove mention of "passfail".
1122 2020-10-16 Tom de Vries <tdevries@suse.de>
1124 * lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple.
1126 2020-10-14 Tom de Vries <tdevries@suse.de>
1129 * gdb.ada/mi_catch_ex.exp: Do mi_delete_breakpoints before running
1131 * gdb.ada/mi_catch_ex_hand.exp: Same.
1133 2020-10-13 Pedro Alves <pedro@palves.net>
1135 * lib/mi-support.exp (mi_clean_restart): New.
1136 (mi_run_to_main): Delete.
1137 All callers adjust to use mi_clean_restart / mi_runto_main.
1139 2020-10-13 Pedro Alves <pedro@palves.net>
1141 * config/monitor.exp: Use "list -q".
1142 * gdb.arch/gdb1558.exp: Use "break -q".
1143 * gdb.arch/i386-permbkpt.exp: Use "break -q".
1144 * gdb.arch/i386-prologue-skip-cf-protection.exp: Use "break -q".
1145 * gdb.base/break.exp: Use "break -q", "list -q" and "tbreak -q".
1146 * gdb.base/commands.exp: Use "break -q".
1147 * gdb.base/condbreak.exp: Use "break -q".
1148 * gdb.base/ctf-ptype.exp: Use "list -q".
1149 * gdb.base/define.exp: Use "break -q".
1150 * gdb.base/del.exp: Use "break -q".
1151 * gdb.base/fullname.exp: Use "break -q".
1152 * gdb.base/hbreak-in-shr-unsupported.exp: Use "hbreak -q".
1153 * gdb.base/hbreak-unmapped.exp: Use "hbreak -q".
1154 * gdb.base/hbreak2.exp: Use "hbreak -q" and "list -q".
1155 * gdb.base/hw-sw-break-same-address.exp: Use "break -q" and
1157 * gdb.base/included.exp: Use "list -q".
1158 * gdb.base/label.exp: Use "break -q".
1159 * gdb.base/lineinc.exp: Use "break -q".
1160 * gdb.base/list.exp: Use "list -q".
1161 * gdb.base/macscp.exp: Use "list -q".
1162 * gdb.base/pending.exp: Use "break -q".
1163 * gdb.base/prologue-include.exp: Use "break -q".
1164 * gdb.base/ptype.exp: Use "list -q".
1165 * gdb.base/sepdebug.exp: Use "break -q", "list -q" and "tbreak -q".
1166 * gdb.base/server-del-break.exp: Use "break -q".
1167 * gdb.base/style.exp: Use "break -q".
1168 * gdb.base/symbol-without-target_section.exp: Use "list -q".
1169 * gdb.base/watchpoint-reuse-slot.exp: Use "hbreak -q".
1170 * gdb.cp/exception.exp: Use "tbreak -q".
1171 * gdb.dwarf2/dw2-error.exp: Use "break -q".
1172 * gdb.dwarf2/fission-mix.exp: Use "break -q".
1173 * gdb.dwarf2/fission-reread.exp: Use "break -q".
1174 * gdb.dwarf2/pr13961.exp: Use "break -q".
1175 * gdb.linespec/explicit.exp: Use "list -q".
1176 * gdb.linespec/linespec.exp: Use "break -q".
1177 * gdb.mi/mi-simplerun.exp: Use "--qualified".
1178 * gdb.python/py-mi-objfile-gdb.py: Use "list -q".
1179 * gdb.server/bkpt-other-inferior.exp: Use "break -q".
1180 * gdb.server/connect-without-multi-process.exp: Use "break -q".
1181 * gdb.trace/change-loc.exp: Use "break -q".
1182 * gdb.trace/pending.exp: Use "break -q".
1183 * gdb.tui/basic.exp: Use "list -q".
1184 * gdb.tui/list-before.exp: Use "list -q".
1185 * gdb.tui/list.exp: Use "list -q".
1186 * lib/gdb.exp (gdb_has_argv0): Use "break -q".
1188 2020-10-13 Pedro Alves <pedro@palves.net>
1190 * gdb.base/ui-redirect.exp: Expect "break -qualified main" in
1191 saved breakpoints file.
1192 * gdb.guile/scm-breakpoint.exp: Expect "-qualified main" when
1193 inspecting breakpoint list.
1194 * lib/gdb.exp (runto_main): Add "qualified" to options.
1195 * lib/mi-support.exp (mi_runto_helper): Add 'qualified' parameter,
1197 (mi_runto_main): Pass 1 as qualified argument.
1199 2020-10-13 Pedro Alves <pedro@palves.net>
1201 * lib/mi-support.exp (mi_runto_main): New proc.
1202 (mi_run_to_main): Use it.
1203 * gdb.mi/mi-catch-cpp-exceptions.exp: Likewise.
1204 * gdb.mi/mi-var-cmd.exp: Likewise.
1205 * gdb.mi/mi-var-invalidate.exp: Likewise.
1206 * mi-var-list-children-invalid-grandchild.exp: Likewise.
1207 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
1208 * gdb.mi/new-ui-mi-sync.exp: Likewise.
1209 * gdb.mi/user-selected-context-sync.exp: Likewise.
1210 * gdb.opt/inline-cmds.exp: Likewise.
1211 * gdb.python/py-framefilter-mi.exp: Likewise.
1212 * gdb.python/py-mi.exp: Likewise.
1214 2020-10-13 Pedro Alves <pedro@palves.net>
1216 * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of
1218 * gdb.ada/small_reg_param.exp: Likewise.
1219 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1220 * gdb.base/annota1.exp: Likewise.
1221 * gdb.base/anon.exp: Likewise.
1222 * gdb.base/breakpoint-in-ro-region.exp: Likewise.
1223 * gdb.base/dprintf-non-stop.exp: Likewise.
1224 * gdb.base/dprintf.exp: Likewise.
1225 * gdb.base/gdb11530.exp: Likewise.
1226 * gdb.base/gdb11531.exp: Likewise.
1227 * gdb.base/gnu_vector.exp: Likewise.
1228 * gdb.base/interrupt-noterm.exp: Likewise.
1229 * gdb.base/memattr.exp: Likewise.
1230 * gdb.base/step-over-syscall.exp: Likewise.
1231 * gdb.base/watch-cond-infcall.exp: Likewise.
1232 * gdb.base/watch-read.exp: Likewise.
1233 * gdb.base/watch-vfork.exp: Likewise.
1234 * gdb.base/watch_thread_num.exp: Likewise.
1235 * gdb.base/watchpoint-stops-at-right-insn.exp: Likewise.
1236 * gdb.guile/scm-frame-inline.exp: Likewise.
1237 * gdb.linespec/explicit.exp: Likewise.
1238 * gdb.opt/inline-break.exp: Likewise.
1239 * gdb.python/py-frame-inline.exp: Likewise.
1240 * gdb.reverse/break-precsave.exp: Likewise.
1241 * gdb.reverse/break-reverse.exp: Likewise.
1242 * gdb.reverse/consecutive-precsave.exp: Likewise.
1243 * gdb.reverse/consecutive-reverse.exp: Likewise.
1244 * gdb.reverse/finish-precsave.exp: Likewise.
1245 * gdb.reverse/finish-reverse.exp: Likewise.
1246 * gdb.reverse/fstatat-reverse.exp: Likewise.
1247 * gdb.reverse/getresuid-reverse.exp: Likewise.
1248 * gdb.reverse/i386-precsave.exp: Likewise.
1249 * gdb.reverse/i386-reverse.exp: Likewise.
1250 * gdb.reverse/i386-sse-reverse.exp: Likewise.
1251 * gdb.reverse/i387-env-reverse.exp: Likewise.
1252 * gdb.reverse/i387-stack-reverse.exp: Likewise.
1253 * gdb.reverse/insn-reverse.exp: Likewise.
1254 * gdb.reverse/machinestate-precsave.exp: Likewise.
1255 * gdb.reverse/machinestate.exp: Likewise.
1256 * gdb.reverse/pipe-reverse.exp: Likewise.
1257 * gdb.reverse/readv-reverse.exp: Likewise.
1258 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1259 * gdb.reverse/rerun-prec.exp: Likewise.
1260 * gdb.reverse/s390-mvcle.exp: Likewise.
1261 * gdb.reverse/solib-precsave.exp: Likewise.
1262 * gdb.reverse/solib-reverse.exp: Likewise.
1263 * gdb.reverse/step-precsave.exp: Likewise.
1264 * gdb.reverse/step-reverse.exp: Likewise.
1265 * gdb.reverse/time-reverse.exp: Likewise.
1266 * gdb.reverse/until-precsave.exp: Likewise.
1267 * gdb.reverse/until-reverse.exp: Likewise.
1268 * gdb.reverse/waitpid-reverse.exp: Likewise.
1269 * gdb.reverse/watch-precsave.exp: Likewise.
1270 * gdb.reverse/watch-reverse.exp: Likewise.
1271 * gdb.threads/kill.exp: Likewise.
1272 * gdb.threads/tid-reuse.exp: Likewise.
1274 2020-10-13 Simon Marchi <simon.marchi@polymtl.ca>
1277 * gdb.base/maint-target-async-off.c: New test.
1278 * gdb.base/maint-target-async-off.exp: New test.
1280 2020-10-13 Alan Modra <amodra@gmail.com>
1282 * gdb.arch/powerpc-altivec.s,
1283 * gdb.arch/powerpc-power7.s,
1284 * gdb.arch/powerpc-power8.s,
1285 * gdb.arch/powerpc-power9.s,
1286 * gdb.arch/powerpc-vsx.s,
1287 * gdb.arch/powerpc-vsx2.s: Remove duplicate instructions.
1288 * gdb.arch/powerpc-altivec.exp,
1289 * gdb.arch/powerpc-power7.exp,
1290 * gdb.arch/powerpc-power8.exp,
1291 * gdb.arch/powerpc-power9.exp,
1292 * gdb.arch/powerpc-vsx.exp,
1293 * gdb.arch/powerpc-vsx2.exp: Likewise, and update expected
1294 disassembly of mfvsrd/mtvsrd.
1296 2020-10-13 Alan Modra <amodra@gmail.com>
1298 * gdb.arch/arm-disassembler-options.exp: Adjust expected
1299 "target architecture" output.
1300 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1301 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
1302 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
1303 * gdb.arch/s390-disassembler-options.exp: Likewise.
1305 2020-10-12 Pedro Alves <pedro@palves.net>
1309 * gdb.cp/ambiguous.cc (marker1): Delete.
1310 (main): Initialize all the fields of the locals. Replace marker1
1311 call with a "set breakpoint here" marker.
1312 * gdb.cp/ambiguous.exp: Modernize. Use gdb_continue_to_breakpoint
1313 instead of running to marker1. Add tests printing all the
1314 variables and all the fields of the variables.
1315 (test_ambiguous): New proc, expecting the new GDB output when a
1316 field access is ambiguous. Change all "warning: X ambiguous"
1319 2020-10-12 Gary Benson <gbenson@redhat.com>
1321 * gdb.base/msym-bp.c (foo): Add __attribute__ ((used)).
1322 * gdb.base/msym-bp-2.c (foo): Likewise.
1323 * gdb.base/msym-lang.c (foo): Likewise.
1324 * gdb.base/msym-lang-main.c (foo): Likewise.
1325 * gdb.base/symtab-search-order-1.c (static_global): Likewise.
1326 * gdb.guile/scm-pretty-print.c (eval_func): Likewise.
1327 * gdb.mi/mi-sym-info-1.c (global_f1): Likewise.
1328 * gdb.mi/mi-sym-info-2.c (global_f1, var1, var2): Likewise.
1329 * gdb.multi/watchpoint-multi-exit.c (globalvar): Likewise.
1330 * gdb.python/py-as-string.c (enum_valid, enum_invalid): Likewise.
1331 * gdb.python/py-objfile.c (static_var): Likewise.
1332 * gdb.python/py-symbol.c (rr): Likewise.
1333 * gdb.python/py-symbol-2.c (anon, rr): Likewise.
1334 * gdb.mi/mi-sym-info.exp (lineno1, lineno2): Updated.
1336 2020-10-11 Andrew Burgess <andrew.burgess@embecosm.com>
1338 * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected
1339 output of backtrace.
1341 2020-10-09 Tom Tromey <tromey@adacore.com>
1343 * gdb.ada/scalar_storage/storage.adb (Another_Range): New type.
1344 (Rec): Add field. Fix range.
1345 * gdb.ada/scalar_storage.exp: Update.
1347 2020-10-09 Hannes Domani <ssbssa@yahoo.de>
1350 * gdb.base/printcmds.exp: Add tests for void results.
1352 2020-10-09 Jan Vrany <jan.vrany@labware.com>
1354 * gdb.mi/mi-cmd-param-changed.exp: Check that notification is
1355 is emmited for both 'set directories' and 'directory' commands.
1357 2020-10-08 Tom Tromey <tom@tromey.com>
1359 * gdb.base/style.exp: Check that "main"'s name is styled.
1361 2020-10-07 Tom Tromey <tromey@adacore.com>
1363 * gdb.base/find.exp: Rename some tests.
1365 2020-10-06 Gary Benson <gbenson@redhat.com>
1367 * gdb.base/list0.c (unused): Add __attribute__ ((used)).
1368 * gdb.base/list1.c (unused): Likewise.
1370 2020-10-06 Gary Benson <gbenson@redhat.com>
1372 * gdb.base/list-ambiguous0.c (ambiguous_var): Add
1373 __attribute__ ((used)).
1374 * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise.
1376 2020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
1378 * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions,
1379 make use of regions throughout.
1380 * gdb.base/overlays.exp: Enclose string with variableds in "..",
1382 * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
1384 2020-10-05 Hannes Domani <ssbssa@yahoo.de>
1386 * gdb.base/call-sc.c: Fix return struct on stack test case.
1387 * gdb.base/call-sc.exp: Likewise.
1389 2020-10-02 Gary Benson <gbenson@redhat.com>
1391 * README: Fix "paralell".
1393 2020-09-30 Gary Benson <gbenson@redhat.com>
1395 * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0):
1396 Convert directive to lowercase.
1397 (.Labbrev1_begin): Add missing label.
1398 (abbrev code 0x1): Remove DW_AT_stmt_list.
1399 (.Ldie_b): Likewise.
1401 2020-09-27 Tom Tromey <tom@tromey.com>
1403 * gdb.tui/new-layout.exp: Use with_test_prefix.
1405 2020-09-26 Gareth Rees <grees@undo.io> (tiny change)
1408 * gdb.python/python.exp: add test cases for the from_tty
1409 argument to gdb.execute.
1411 2020-09-25 Gary Benson <gbenson@redhat.com>
1413 * gdb.base/infcall-nested-structs.exp.tcl: Add
1414 additional_flags=-Wno-tautological-compare for C++
1415 tests when compiling using Clang.
1417 2020-09-25 Gary Benson <gbenson@redhat.com>
1419 * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only
1422 2020-09-24 Tom Tromey <tromey@adacore.com>
1425 * gdb.tui/list.exp: Check output of "focus next".
1427 2020-09-23 Tom Tromey <tom@tromey.com>
1429 * gdb.dwarf2/intbits.exp: New file.
1430 * gdb.dwarf2/intbits.c: New file.
1432 2020-09-20 Pedro Alves <pedro@palves.net>
1434 * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main
1435 spawn_id before calling remote_close. Close secondary MI channel.
1437 2020-09-20 Pedro Alves <pedro@palves.net>
1439 * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]'
1442 2020-09-19 Andrew Burgess <andrew.burgess@embecosm.com>
1444 * gdb.fortran/array-slices.exp: Update expected results.
1445 * gdb.fortran/class-allocatable-array.exp: Likewise.
1446 * gdb.fortran/multi-dim.exp: Likewise.
1447 * gdb.fortran/vla-type.exp: Likewise.
1448 * gdb.mi/mi-vla-fortran.exp: Likewise.
1450 2020-09-18 Victor Collod <vcollod@nvidia.com>
1453 * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test
1454 compatible with i386, and move it to...
1455 * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here.
1456 * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to...
1457 * gdb.arch/i386-prologue-skip-cf-protection.c: ... here.
1459 2020-09-18 Pedro Alves <pedro@palves.net>
1462 * gdb.multi/multi-target-thread-find.exp: New file.
1464 2020-09-18 Pedro Alves <pedro@palves.net>
1466 * gdb.multi/multi-target-continue.exp: New file, factored out from
1468 * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
1470 * gdb.multi/multi-target-interrupt.exp: New file, factored out from
1472 * gdb.multi/multi-target-no-resumed.exp: New file, factored out from
1474 * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
1476 * gdb.multi/multi-target.exp.tcl: New file, factored out from
1478 * gdb.multi/multi-target.exp: Delete.
1480 2020-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
1482 * gdb.fortran/array-slices.exp: Add missing message data.
1484 2020-09-17 Pedro Alves <pedro@palves.net>
1486 * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
1488 2020-09-17 Pedro Alves <pedro@palves.net>
1490 * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
1493 2020-09-17 Pedro Alves <pedro@palves.net>
1495 * gdb.python/py-as-string.c: Add cast.
1497 2020-09-17 Pedro Alves <pedro@palves.net>
1499 * gdb.base/sizeof.c (fill): Add cast.
1501 2020-09-17 Pedro Alves <pedro@palves.net>
1503 * gdb.base/share-env-with-gdbserver.c (main): Add cast.
1505 2020-09-17 Pedro Alves <pedro@palves.net>
1507 * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
1509 * gdb.base/prologue.exp: Use print /d.
1510 * gdb.base/symbol-alias.exp: Handle C++ output.
1511 * gdb.base/symbol-alias2.c: Handle C++ output.
1512 [__cplusplus] (func): Explicitly specify linkage name.
1514 2020-09-17 Pedro Alves <pedro@palves.net>
1516 * gdb.python/py-nested-maps.c (struct key_t): Rename to...
1517 (struct my_key_t): ... this. Adjust all references.
1518 (struct value_t): Rename to ...
1519 (struct my_value_t): ... this. Adjust all references.
1520 (create_map, add_map_element, create_map_map)
1521 (add_map_map_element): Add casts.
1523 2020-09-17 Pedro Alves <pedro@palves.net>
1525 * gdb.python/py-framefilter-mi.c (funca): Add casts.
1526 * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
1528 2020-09-17 Pedro Alves <pedro@palves.net>
1530 * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
1532 2020-09-17 Pedro Alves <pedro@palves.net>
1534 * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
1535 * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
1536 (charfoo, intfoo): Define full prototype.
1537 * gdb.base/ptype1.c (charfoo): Define full prototype.
1538 * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
1539 * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
1541 2020-09-17 Pedro Alves <pedro@palves.net>
1543 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
1545 (utf_32_string): Compile for both C and C++.
1546 * gdb.base/charset.exp: Use "print /d".
1548 2020-09-17 Pedro Alves <pedro@palves.net>
1550 * gdb.base/watchpoint.c (buf): Make it 31 bytes.
1551 (nullptr): Rename to ...
1552 (null_ptr): ... this.
1553 * gdb.base/watchpoint.exp: Adjust to rename.
1555 2020-09-17 Pedro Alves <pedro@palves.net>
1557 * gdb.base/printcmds.c (three, flag_enum_without_zero)
1558 (three_not_flag): Add casts.
1560 2020-09-17 Pedro Alves <pedro@palves.net>
1562 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
1564 (main): Add references to Barrier, TestStrings, TestStringsH and
1566 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
1567 and expect a full prototype in C++.
1569 2020-09-17 Pedro Alves <pedro@palves.net>
1571 * gdb.base/nested-addr.c (main): Add cast.
1572 * gdb.base/nested-addr.exp: Use "print /d".
1574 2020-09-17 Pedro Alves <pedro@palves.net>
1576 * gdb.base/break.exp (func): New. Use it throughout when
1577 expecting a function name.
1579 2020-09-17 Pedro Alves <pedro@palves.net>
1581 * gdb.base/display.exp: Issue "set print asm-demangle on".
1583 2020-09-17 Pedro Alves <pedro@palves.net>
1585 * gdb.base/find.c: Include <string.h>.
1586 (init_bufs): Add cast.
1587 * gdb.base/find.exp: Issue "set print asm-demangle on".
1589 2020-09-16 Tom Tromey <tromey@adacore.com>
1592 * gdb.base/skipcxx.exp: New file.
1593 * gdb.base/skipcxx.cc: New file.
1595 2020-09-16 Tom de Vries <tdevries@suse.de>
1598 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
1599 WITH_DEBUG_SECTIONS is defined.
1600 (xstr, str): New macro.
1601 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
1602 to get start and size of _Dmain.
1603 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
1604 using additional_flags.
1606 2020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1608 * gdb.base/bp-cmds-sourced-script.c: New file.
1609 * gdb.base/bp-cmds-sourced-script.exp: New test.
1610 * gdb.base/bp-cmds-sourced-script.gdb: New file.
1612 2020-09-16 Tom de Vries <tdevries@suse.de>
1614 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
1615 get the gdb prompt after issuing "monitor exit".
1617 2020-09-16 Tom de Vries <tdevries@suse.de>
1620 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
1622 2020-09-16 Tom de Vries <tdevries@suse.de>
1625 * gdb.tui/new-layout.exp: Escape unbalanced braces.
1627 2020-09-15 Tom Tromey <tromey@adacore.com>
1630 * lib/rust-support.exp (rust_llvm_version): New proc.
1631 * gdb.rust/simple.exp: Check rust_llvm_version.
1633 2020-09-14 Tom de Vries <tdevries@suse.de>
1635 * gdb.rust/traits.exp: Fix PATH warning.
1637 2020-09-13 Pedro Alves <pedro@palves.net>
1639 * gdb.base/catch-follow-exec.c (main): Add explicit return
1641 * gdb.base/catch-signal.c (main): Likewise.
1642 * gdb.base/condbreak-call-false.c (main): Likewise.
1643 * gdb.base/consecutive.c (main): Add explicit return
1644 statement and return type.
1645 * gdb.base/cursal.c (main): Add explicit return statement.
1646 * gdb.base/cvexpr.c (main): Likewise.
1647 * gdb.base/display.c (main): Add explicit return statement and
1649 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
1650 * gdb.base/endianity.c (main): Likewise.
1651 * gdb.base/execd-prog.c (main): Likewise.
1652 * gdb.base/gdb1090.c (main): Likewise.
1653 * gdb.base/info_qt.c (main): Likewise.
1654 * gdb.base/lineinc.c (main): Likewise.
1655 * gdb.base/load-command.c (main): Likewise.
1656 * gdb.base/macscp1.c (main): Likewise.
1657 * gdb.base/pr10179-a.c (main): Likewise.
1658 * gdb.base/quit-live.c (main): Likewise.
1659 * gdb.base/scope0.c (main): Likewise.
1660 * gdb.base/settings.c (main): Likewise.
1661 * gdb.base/stack-checking.c (main): Return int.
1662 * gdb.base/varargs.c (main): Add explicit return statement.
1663 * gdb.cp/ambiguous.cc (main): Likewise.
1664 * gdb.cp/anon-struct.cc (main): Likewise.
1665 * gdb.cp/anon-union.cc (main): Likewise.
1666 * gdb.cp/bool.cc (main): Likewise.
1667 * gdb.cp/bs15503.cc (main): Likewise.
1668 * gdb.cp/cplusfuncs.cc (main): Likewise.
1669 * gdb.cp/cttiadd.cc (main): Likewise.
1670 * gdb.cp/extern-c.cc (main): Likewise.
1671 * gdb.cp/filename.cc (main): Likewise.
1672 * gdb.cp/formatted-ref.cc (main): Likewise.
1673 * gdb.cp/mb-ctor.cc (main): Likewise.
1674 * gdb.cp/member-ptr.cc (main): Likewise.
1675 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
1676 * gdb.cp/overload-const.cc (main): Likewise.
1677 * gdb.cp/paren-type.cc (main): Likewise.
1678 * gdb.cp/parse-lang.cc (main): Likewise.
1679 * gdb.cp/pr-1023.cc (main): Likewise.
1680 * gdb.cp/psmang1.cc (main): Likewise.
1681 * gdb.cp/readnow-language.cc (main): Likewise.
1682 * gdb.cp/ref-params.cc (main): Likewise.
1683 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
1684 * gdb.cp/virtbase2.cc (main): Likewise.
1685 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
1686 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
1687 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
1688 * gdb.mi/mi-console.c (main): Likewise.
1689 * gdb.mi/mi-read-memory.c (main): Likewise.
1690 * gdb.modula2/multidim.c (main): Likewise.
1691 * gdb.opt/inline-small-func.c (main): Likewise.
1692 * gdb.python/py-rbreak.c (main): Likewise.
1693 * gdb.stabs/exclfwd1.c (main): Likewise.
1694 * gdb.trace/qtro.c (main): Likewise.
1696 2020-09-13 Pedro Alves <pedro@palves.net>
1698 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
1701 2020-09-13 Pedro Alves <pedro@palves.net>
1703 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
1704 instead of spawning GDB with remote_spawn.
1705 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
1706 gdb_spawn instead of spawning GDB with remote_spawn.
1708 2020-09-13 Pedro Alves <pedro@palves.net>
1710 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
1711 file and add calls to first and second.
1712 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
1715 2020-09-13 Pedro Alves <pedro@palves.net>
1717 * gdb.mi/mi-break-qualified.cc: New file.
1718 * gdb.mi/mi-break-qualified.exp: New file.
1719 * lib/mi-support.exp (mi_create_breakpoint_multi)
1720 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
1722 (mi_create_breakpoint_1): New, factored out from
1723 mi_create_breakpoint.
1725 2020-09-13 Pedro Alves <pedro@palves.net>
1727 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
1728 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
1729 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
1730 (register_class): Delete.
1731 (main): Don't call register_class.
1733 2020-09-13 Pedro Alves <pedro@palves.net>
1735 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
1736 (do_tests): Remove "calling method for small class" test.
1737 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
1738 (register_class): Delete.
1739 (main): Don't call register_class.
1740 * gdb.cp/call-method-register.exp: New file, based on bits removed
1742 * gdb.cp/call-method-register.cc: New file, based on bits removed
1745 2020-09-13 Pedro Alves <pedro@palves.net>
1747 * gdb.base/msym-bp-2.c: New.
1748 * gdb.base/msym-bp-shl-lib.c: New file.
1749 * gdb.base/msym-bp-shl-main-2.c: New file.
1750 * gdb.base/msym-bp-shl-main.c: New file.
1751 * gdb.base/msym-bp-shl.exp: New file.
1752 * gdb.base/msym-bp.c: New file.
1753 * gdb.base/msym-bp.exp: New file.
1755 2020-09-13 Joel Brobecker <brobecker@adacore.com>
1757 * gdb.base/default.exp: Change $_gdb_major to 11.
1759 2020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
1760 Felix Willgerodt <Felix.Willgerodt@intel.com>
1762 * x86-avx512bf16.c: New file.
1763 * x86-avx512bf16.exp: Likewise.
1764 * lib/gdb.exp (skip_avx512bf16_tests): New function.
1766 2020-09-11 Tom de Vries <tdevries@suse.de>
1769 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
1771 2020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1773 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
1775 2020-09-10 Alan Modra <amodra@gmail.com>
1778 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
1780 2020-09-08 Tom de Vries <tdevries@suse.de>
1782 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
1783 after gdb_starti_cmd.
1785 2020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1787 * lib/fortran.exp (fortran_complex8): New proc.
1788 (fortran_complex16): New proc.
1789 * gdb.fortran/complex.exp: Use routines from fortran.exp
1790 * gdb.fortran/pointer-to-pointer.exp: Likewise.
1791 * gdb.fortran/vla-ptr-info.exp: Likewise.
1793 2020-09-03 Tom de Vries <tdevries@suse.de>
1796 * gdb.base/label-without-address.exp: Runto main first.
1798 2020-09-02 Tom Tromey <tromey@adacore.com>
1800 * gdb.ada/mi_var_access.exp: Test children of access variable.
1801 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
1802 * gdb.ada/mi_var_array.exp: Update.
1804 2020-08-31 Kevin Buettner <kevinb@redhat.com>
1806 * gdb.base/corefile.exp (warning-free): XFAIL test when running
1807 on docker w/ AUFS storage driver.
1809 2020-08-31 Kevin Buettner <kevinb@redhat.com>
1811 * gdb.base/corefile2.exp (renamed binfile): New tests.
1813 2020-08-31 Simon Marchi <simon.marchi@efficios.com>
1815 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
1817 2020-08-31 Simon Marchi <simon.marchi@efficios.com>
1819 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
1820 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
1822 2020-08-31 Simon Marchi <simon.marchi@efficios.com>
1824 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
1825 output, printing a "not saved" value from history and printing a
1826 convenience variable created from a "not saved" value.
1828 2020-08-31 Tom de Vries <tdevries@suse.de>
1830 * gdb.base/eh_return.exp: Use nopie.
1832 2020-08-28 Pedro Alves <pedro@palves.net>
1834 * gdb.base/advance-until-multiple-locations.exp
1835 (advance_overload, until_overload): Adjust to match the
1836 frame/function header instead of the source line text.
1838 2020-08-28 Tom de Vries <tdevries@suse.de>
1840 * gdb.base/label-without-address.c: New test.
1841 * gdb.base/label-without-address.exp: New file.
1843 2020-08-27 Pedro Alves <pedro@palves.net>
1847 * gdb.base/advance-until-multiple-locations.cc: New.
1848 * gdb.base/advance-until-multiple-locations.exp: New.
1850 2020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
1852 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
1854 2020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
1856 * gdb.arch/amd64-byte.exp: Make test names unique, use
1857 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
1858 * gdb.arch/amd64-dword.exp: Likewise.
1859 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
1860 * gdb.arch/amd64-stap-special-operands.exp: Make test names
1862 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
1863 * gdb.arch/amd64-word.exp: Make test names unique, use
1864 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
1865 * gdb.arch/i386-byte.exp: Make test names unique, use
1867 * gdb.arch/i386-word.exp: Likewise.
1869 2020-08-25 Shahab Vahedi <shahab@synopsys.com>
1871 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
1873 2020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
1876 * gdb.threads/stepi-random-signal.exp: Update pattern.
1878 2020-08-25 Simon Marchi <simon.marchi@efficios.com>
1881 * gdb.base/ui-redirect.exp: Update pattern.
1883 2020-08-25 Gary Benson <gbenson@redhat.com>
1885 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
1886 when compiling with clang.
1887 * gdb.dwarf2/dw2-restore.exp: Likewise.
1889 2020-08-25 Gary Benson <gbenson@redhat.com>
1891 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
1892 Add additional_flags=-Wno-inaccessible-base when compiling
1893 with GCC >= 10.1 or clang. Add additional_flags=-w when
1894 compiling with GCC < 10.
1896 2020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
1899 * gdb.modula2/multidim.c: New file.
1900 * gdb.modula2/multidim.exp: New file.
1902 2020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
1904 * lib/gdb.exp (runto): Always emit fail on internal error.
1906 2020-08-24 Simon Marchi <simon.marchi@efficios.com>
1908 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
1909 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1911 * gdb.threads/stepi-random-signal.exp: Likewise.
1913 2020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1915 * gdb.base/print-file-var.exp: Fix typo "breapoint".
1916 * gdb.trace/strace.exp: Ditto.
1918 2020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1920 * gdb.fortran/vla-type.exp: Skip commands not required for
1921 the Flang compiled binaries after prologue fix.
1923 2020-08-17 Tom de Vries <tdevries@suse.de>
1924 Tom Tromey <tromey@adacore.com>
1927 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
1929 2020-08-17 Tom Tromey <tromey@adacore.com>
1931 * gdb.ada/mi_var_access.exp: New file.
1932 * gdb.ada/mi_var_access/mi_access.adb: New file.
1933 * gdb.ada/mi_var_access/pck.adb: New file.
1934 * gdb.ada/mi_var_access/pck.ads: New file.
1936 2020-08-16 Tom de Vries <tdevries@suse.de>
1939 * gdb.base/eh_return.c: New test.
1940 * gdb.base/eh_return.exp: New file.
1942 2020-08-15 Tom de Vries <tdevries@suse.de>
1944 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
1945 (mixed_func_1d_): Use fortran_charlen_t in decl.
1947 2020-08-15 Tom de Vries <tdevries@suse.de>
1950 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
1951 Update expected pattern.
1953 2020-08-13 Pedro Alves <pedro@palves.net>
1955 * gdb.fortran/complex.exp: Check skip_fortran_tests.
1956 * gdb.fortran/library-module.exp: Likewise.
1957 * gdb.fortran/logical.exp: Likewise.
1958 * gdb.fortran/module.exp: Likewise.
1959 * gdb.fortran/print_type.exp: Likewise.
1960 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
1961 * gdb.fortran/vla-datatypes.exp: Likewise.
1962 * gdb.fortran/vla-history.exp: Likewise.
1963 * gdb.fortran/vla-ptr-info.exp: Likewise.
1964 * gdb.fortran/vla-ptype-sub.exp: Likewise.
1965 * gdb.fortran/vla-ptype.exp: Likewise.
1966 * gdb.fortran/vla-sizeof.exp: Likewise.
1967 * gdb.fortran/vla-type.exp: Likewise.
1968 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
1969 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
1970 * gdb.fortran/vla-value-sub.exp: Likewise.
1971 * gdb.fortran/vla-value.exp: Likewise.
1973 2020-08-13 Pedro Alves <pedro@palves.net>
1975 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
1976 * gdb.ada/access_to_packed_array.exp: Likewise.
1977 * gdb.ada/access_to_unbounded_array.exp: Likewise.
1978 * gdb.ada/addr_arith.exp: Likewise.
1979 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
1980 * gdb.ada/arr_arr.exp: Likewise.
1981 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
1982 * gdb.ada/array_bounds.exp: Likewise.
1983 * gdb.ada/array_of_variable_length.exp: Likewise.
1984 * gdb.ada/array_ptr_renaming.exp: Likewise.
1985 * gdb.ada/array_subscript_addr.exp: Likewise.
1986 * gdb.ada/arraydim.exp: Likewise.
1987 * gdb.ada/arrayparam.exp: Likewise.
1988 * gdb.ada/arrayptr.exp: Likewise.
1989 * gdb.ada/assign_1.exp: Likewise.
1990 * gdb.ada/assign_arr.exp: Likewise.
1991 * gdb.ada/atomic_enum.exp: Likewise.
1992 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
1993 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
1994 * gdb.ada/bias.exp: Likewise.
1995 * gdb.ada/boolean_expr.exp: Likewise.
1996 * gdb.ada/bp_c_mixed_case.exp: Likewise.
1997 * gdb.ada/bp_enum_homonym.exp: Likewise.
1998 * gdb.ada/bp_inlined_func.exp: Likewise.
1999 * gdb.ada/bp_on_var.exp: Likewise.
2000 * gdb.ada/bp_range_type.exp: Likewise.
2001 * gdb.ada/bp_reset.exp: Likewise.
2002 * gdb.ada/call_pn.exp: Likewise.
2003 * gdb.ada/catch_assert_if.exp: Likewise.
2004 * gdb.ada/catch_ex.exp: Likewise.
2005 * gdb.ada/catch_ex_std.exp: Likewise.
2006 * gdb.ada/char_enum.exp: Likewise.
2007 * gdb.ada/char_param.exp: Likewise.
2008 * gdb.ada/complete.exp: Likewise.
2009 * gdb.ada/cond_lang.exp: Likewise.
2010 * gdb.ada/convvar_comp.exp: Likewise.
2011 * gdb.ada/dgopt.exp: Likewise.
2012 * gdb.ada/disc_arr_bound.exp: Likewise.
2013 * gdb.ada/display_nested.exp: Likewise.
2014 * gdb.ada/dot_all.exp: Likewise.
2015 * gdb.ada/dyn_loc.exp: Likewise.
2016 * gdb.ada/dyn_stride.exp: Likewise.
2017 * gdb.ada/excep_handle.exp: Likewise.
2018 * gdb.ada/expr_delims.exp: Likewise.
2019 * gdb.ada/expr_with_funcall.exp: Likewise.
2020 * gdb.ada/exprs.exp: Likewise.
2021 * gdb.ada/fin_fun_out.exp: Likewise.
2022 * gdb.ada/fixed_cmp.exp: Likewise.
2023 * gdb.ada/formatted_ref.exp: Likewise.
2024 * gdb.ada/frame_arg_lang.exp: Likewise.
2025 * gdb.ada/frame_args.exp: Likewise.
2026 * gdb.ada/fullname_bp.exp: Likewise.
2027 * gdb.ada/fun_addr.exp: Likewise.
2028 * gdb.ada/fun_in_declare.exp: Likewise.
2029 * gdb.ada/fun_overload_menu.exp: Likewise.
2030 * gdb.ada/fun_renaming.exp: Likewise.
2031 * gdb.ada/funcall_char.exp: Likewise.
2032 * gdb.ada/funcall_param.exp: Likewise.
2033 * gdb.ada/funcall_ptr.exp: Likewise.
2034 * gdb.ada/funcall_ref.exp: Likewise.
2035 * gdb.ada/homonym.exp: Likewise.
2036 * gdb.ada/info_addr_mixed_case.exp: Likewise.
2037 * gdb.ada/info_auto_lang.exp: Likewise.
2038 * gdb.ada/info_exc.exp: Likewise.
2039 * gdb.ada/info_types.exp: Likewise.
2040 * gdb.ada/int_deref.exp: Likewise.
2041 * gdb.ada/interface.exp: Likewise.
2042 * gdb.ada/iwide.exp: Likewise.
2043 * gdb.ada/lang_switch.exp: Likewise.
2044 * gdb.ada/length_cond.exp: Likewise.
2045 * gdb.ada/maint_with_ada.exp: Likewise.
2046 * gdb.ada/mi_catch_assert.exp: Likewise.
2047 * gdb.ada/mi_catch_ex.exp: Likewise.
2048 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
2049 * gdb.ada/mi_dyn_arr.exp: Likewise.
2050 * gdb.ada/mi_ex_cond.exp: Likewise.
2051 * gdb.ada/mi_exc_info.exp: Likewise.
2052 * gdb.ada/mi_interface.exp: Likewise.
2053 * gdb.ada/mi_prot.exp: Likewise.
2054 * gdb.ada/mi_ref_changeable.exp: Likewise.
2055 * gdb.ada/mi_string_access.exp: Likewise.
2056 * gdb.ada/mi_task_arg.exp: Likewise.
2057 * gdb.ada/mi_task_info.exp: Likewise.
2058 * gdb.ada/mi_var_array.exp: Likewise.
2059 * gdb.ada/mi_var_union.exp: Likewise.
2060 * gdb.ada/mi_variant.exp: Likewise.
2061 * gdb.ada/minsyms.exp: Likewise.
2062 * gdb.ada/mod_from_name.exp: Likewise.
2063 * gdb.ada/nested.exp: Likewise.
2064 * gdb.ada/null_array.exp: Likewise.
2065 * gdb.ada/optim_drec.exp: Likewise.
2066 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
2067 * gdb.ada/packed_array_assign.exp: Likewise.
2068 * gdb.ada/packed_tagged.exp: Likewise.
2069 * gdb.ada/pp-rec-component.exp: Likewise.
2070 * gdb.ada/print_chars.exp: Likewise.
2071 * gdb.ada/print_pc.exp: Likewise.
2072 * gdb.ada/ptr_typedef.exp: Likewise.
2073 * gdb.ada/ptype_arith_binop.exp: Likewise.
2074 * gdb.ada/ptype_array.exp: Likewise.
2075 * gdb.ada/ptype_field.exp: Likewise.
2076 * gdb.ada/ptype_tagged_param.exp: Likewise.
2077 * gdb.ada/ptype_union.exp: Likewise.
2078 * gdb.ada/py_range.exp: Likewise.
2079 * gdb.ada/py_taft.exp: Likewise.
2080 * gdb.ada/rdv_wait.exp: Likewise.
2081 * gdb.ada/rec_comp.exp: Likewise.
2082 * gdb.ada/rec_return.exp: Likewise.
2083 * gdb.ada/ref_param.exp: Likewise.
2084 * gdb.ada/ref_tick_size.exp: Likewise.
2085 * gdb.ada/rename_subscript_param.exp: Likewise.
2086 * gdb.ada/repeat_dyn.exp: Likewise.
2087 * gdb.ada/same_component_name.exp: Likewise.
2088 * gdb.ada/same_enum.exp: Likewise.
2089 * gdb.ada/scalar_storage.exp: Likewise.
2090 * gdb.ada/set_wstr.exp: Likewise.
2091 * gdb.ada/small_reg_param.exp: Likewise.
2092 * gdb.ada/str_binop_equal.exp: Likewise.
2093 * gdb.ada/str_ref_cmp.exp: Likewise.
2094 * gdb.ada/str_uninit.exp: Likewise.
2095 * gdb.ada/sub_variant.exp: Likewise.
2096 * gdb.ada/sym_print_name.exp: Likewise.
2097 * gdb.ada/taft_type.exp: Likewise.
2098 * gdb.ada/tagged.exp: Likewise.
2099 * gdb.ada/tagged_access.exp: Likewise.
2100 * gdb.ada/task_bp.exp: Likewise.
2101 * gdb.ada/task_switch_in_core.exp: Likewise.
2102 * gdb.ada/tasks.exp: Likewise.
2103 * gdb.ada/tick_last_segv.exp: Likewise.
2104 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
2105 * gdb.ada/type_coercion.exp: Likewise.
2106 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
2107 * gdb.ada/unchecked_union.exp: Likewise.
2108 * gdb.ada/uninitialized_vars.exp: Likewise.
2109 * gdb.ada/var_arr_attrs.exp: Likewise.
2110 * gdb.ada/var_arr_typedef.exp: Likewise.
2111 * gdb.ada/var_rec_arr.exp: Likewise.
2112 * gdb.ada/variant-record.exp: Likewise.
2113 * gdb.ada/variant.exp: Likewise.
2114 * gdb.ada/variant_record_packed_array.exp: Likewise.
2115 * gdb.ada/varsize_limit.exp: Likewise.
2116 * gdb.ada/whatis_array_val.exp: Likewise.
2117 * gdb.ada/widewide.exp: Likewise.
2118 * gdb.ada/win_fu_syms.exp: Likewise.
2120 2020-08-12 Gary Benson <gbenson@redhat.com>
2122 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
2124 2020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
2126 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
2127 unset the array variable.
2129 2020-08-03 Tom de Vries <tdevries@suse.de>
2132 * lib/dwarf.exp (DW_LNE_user): New proc.
2133 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
2134 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
2136 2020-07-31 Kevin Buettner <kevinb@redhat.com>
2138 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
2140 (inttypes.h): Include.
2142 2020-07-31 Kevin Buettner <kevinb@redhat.com>
2144 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
2146 (C5_8k, C5_64k, C5_256k): New macros.
2147 (buf_ro): Allocate 256 KiB of initialized data.
2149 2020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2151 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
2152 that attempt to overwrite an existing condition with a condition
2153 that fails parsing and also with a condition that parses fine
2154 but contains junk at the end.
2156 2020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2158 * gdb.base/condbreak-bad.c: New test.
2159 * gdb.base/condbreak-bad.exp: New file.
2161 2020-07-30 Tom de Vries <tdevries@suse.de>
2163 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
2165 (GDBInfoModuleSymbols::check_entry): ... here.
2166 (GDBInfoModuleSymbols::check_optional_entry): New proc.
2167 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
2168 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
2170 2020-07-30 Tom de Vries <tdevries@suse.de>
2172 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
2173 "__class_some_module_Number_t" optional.
2175 2020-07-29 Tom de Vries <tdevries@suse.de>
2177 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
2180 2020-07-29 Tom de Vries <tdevries@suse.de>
2182 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
2183 rather than function name.
2185 2020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2188 * gdb.cp/disasm-func-name.cc: New file.
2189 * gdb.cp/disasm-func-name.exp: New file.
2191 2020-07-28 Tom Tromey <tromey@adacore.com>
2193 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
2196 2020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2198 * gdb.python/py-unwind.py: Update to make use of a register
2201 2020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2203 * gdb.python/py-arch-reg-names.exp: Add additional tests.
2205 2020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
2209 * gdb.fortran/class-allocatable-array.exp: New file.
2210 * gdb.fortran/class-allocatable-array.f90: New file.
2211 * gdb.fortran/pointer-to-pointer.exp: New file.
2212 * gdb.fortran/pointer-to-pointer.f90: New file.
2214 2020-07-25 Tom de Vries <tdevries@suse.de>
2217 * gdb.dwarf2/dw2-line-number-zero.c: New test.
2218 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
2220 2020-07-24 Tom de Vries <tdevries@suse.de>
2223 * gdb.ada/mi_prot.exp: Require gnatmake-8.
2225 2020-07-23 Pedro Alves <pedro@palves.net>
2227 * gdb.server/server-kill.exp (prepare): New, factored out from the
2230 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
2231 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
2233 2020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
2235 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
2237 2020-07-22 Sandra Loosemore <sandra@codesourcery.com>
2239 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
2240 Initialize to empty string at top level.
2241 (gdb_wrapper_init): Revert check for file existence on build.
2242 Build the wrapper in its default place, not a build-specific
2243 location. When host == build, make the pathname absolute.
2244 (gdb_compile): Delete leftover declaration of
2245 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
2246 string instead of uninitialized.
2248 2020-07-22 Kevin Buettner <kevinb@redhat.com>
2250 * gdb.base/corefile2.exp: New file.
2251 * gdb.base/coremaker2.exp: New file.
2253 2020-07-22 Kevin Buettner <kevinb@redhat.com>
2255 * gdb.base/coredump-filter.exp: Add second
2256 non-Private-Shared-Anon-File test.
2257 (test_disasm): Rename binfile for test which is expected
2260 2020-07-22 Kevin Buettner <kevinb@redhat.com>
2262 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
2264 * gdb.base/coremaker.c (buf2ro): New global.
2265 (mmapdata): Add a read-only mmap mapping.
2267 2020-07-22 Kevin Buettner <kevinb@redhat.com>
2270 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
2272 * gdb.base/coremaker.c (buf3): New global.
2273 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
2276 2020-07-22 Kevin Buettner <kevinb@redhat.com>
2278 * gdb.base/coremaker.c (filler_ro): New global constant.
2280 2020-07-22 Tom Tromey <tromey@adacore.com>
2282 * gdb.ada/mi_prot.exp: New file.
2283 * gdb.ada/mi_prot/pkg.adb: New file.
2284 * gdb.ada/mi_prot/pkg.ads: New file.
2285 * gdb.ada/mi_prot/prot.adb: New file.
2287 2020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2289 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
2292 2020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
2294 * gdb.python/py-arch-reg-groups.exp: Additional tests.
2296 2020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
2298 * gdb.python/py-arch-reg-names.exp: Additional tests.
2300 2020-07-21 Tom de Vries <tdevries@suse.de>
2302 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
2303 breakpoint locations".
2304 * gdb.reverse/solib-reverse.exp: Same.
2306 2020-07-21 Tom de Vries <tdevries@suse.de>
2308 * gdb.reverse/step-reverse.c (callee): Merge statements.
2310 2020-07-21 Tom de Vries <tdevries@suse.de>
2312 * gdb.fortran/info-modules.exp (info module variables): Allow missing
2313 line numbers for some variables.
2315 2020-07-21 Tom de Vries <tdevries@suse.de>
2317 * gdb.opt/inline-locals.c (init_array): New func.
2318 (func1): Use init_array.
2319 * gdb.opt/inline-locals.exp: Update pattern.
2321 2020-07-21 Tom de Vries <tdevries@suse.de>
2323 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
2324 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
2326 2020-07-20 Ludovic Courtès <ludo@gnu.org>
2328 * gdb.guile/source2.scm: Add #f first argument to 'format'.
2329 * gdb.guile/types-module.exp: Remove "ERROR:" from
2330 regexps since Guile 3.0 no longer prints that.
2332 2020-07-20 Ludovic Courtès <ludo@gnu.org>
2334 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
2335 error regexp to match on Guile 2.2.
2337 2020-07-20 Gary Benson <gbenson@redhat.com>
2339 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
2342 2020-07-20 Tom de Vries <tdevries@suse.de>
2344 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
2345 (omp_set_lock_in_order): New function.
2346 (single_scope, multi_scope, nested_func, nested_parallel): Use
2347 omp_set_lock_in_order and omp_unset_lock.
2348 (main): Init and destroy lock and lock2.
2350 2020-07-20 Tom de Vries <tdevries@suse.de>
2352 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
2354 2020-07-20 Tom de Vries <tdevries@suse.de>
2356 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
2358 2020-07-17 Tom de Vries <tdevries@suse.de>
2360 * gdb.base/valgrind-infcall-2.c: New test.
2361 * gdb.base/valgrind-infcall-2.exp: New file.
2362 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
2364 2020-07-17 Tom de Vries <tdevries@suse.de>
2366 * gdb.dlang/circular.c (found): Use found_label as label name.
2367 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
2368 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
2369 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
2370 * gdb.dwarf2/ada-linkage-name.exp: Same.
2371 * gdb.dwarf2/arr-subrange.exp: Same.
2372 * gdb.dwarf2/atomic-type.exp: Same.
2373 * gdb.dwarf2/comp-unit-lang.exp: Same.
2374 * gdb.dwarf2/cpp-linkage-name.exp: Same.
2375 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
2376 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
2377 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
2378 * gdb.dwarf2/implptr-64bit.exp: Same.
2379 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
2380 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
2381 * gdb.dwarf2/imported-unit.exp: Same.
2382 * gdb.dwarf2/main-subprogram.exp: Same.
2383 * gdb.dwarf2/missing-type-name.exp: Same.
2384 * gdb.dwarf2/nonvar-access.exp: Same.
2385 * gdb.dwarf2/struct-with-sig.exp: Same.
2386 * gdb.dwarf2/typedef-void-finish.exp: Same.
2387 * gdb.dwarf2/void-type.exp: Same.
2389 2020-07-17 Tom de Vries <tdevries@suse.de>
2391 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
2393 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
2394 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
2395 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
2396 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
2397 * gdb.dwarf2/dwz.exp: Same.
2398 * gdb.dwarf2/implptr-optimized-out.exp: Same.
2399 * gdb.dwarf2/implref-array.exp: Same.
2400 * gdb.dwarf2/implref-const.exp: Same.
2401 * gdb.dwarf2/implref-global.exp: Same.
2402 * gdb.dwarf2/implref-struct.exp: Same.
2403 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
2404 * gdb.dwarf2/opaque-type-lookup.exp: Same.
2405 * gdb.dwarf2/var-access.exp: Same.
2406 * gdb.dwarf2/varval.exp: Same.
2407 * gdb.trace/entry-values.exp: Same.
2409 2020-07-17 Tom de Vries <tdevries@suse.de>
2411 * lib/dwarf.exp (Dwarf::extern): Remove.
2412 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
2413 * gdb.dlang/circular.exp: Same.
2414 * gdb.dwarf2/comp-unit-lang.exp: Same.
2415 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
2416 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
2417 * gdb.dwarf2/dwz.exp: Same.
2418 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
2419 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
2420 * gdb.dwarf2/imported-unit.exp: Same.
2421 * gdb.dwarf2/opaque-type-lookup.exp: Same.
2423 2020-07-16 Sandra Loosemore <sandra@codesourcery.com>
2425 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
2426 Use double quotes instead of single quotes.
2428 2020-07-16 Caroline Tice <cmtice@google.com>
2430 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
2431 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
2433 2020-07-16 Tom de Vries <tdevries@suse.de>
2435 * lib/dwarf.exp (program): Initialize _line.
2436 (DW_LNE_end_sequence): Reinitialize _line.
2437 (DW_LNS_advance_line): Update _line.
2439 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
2440 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
2441 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
2442 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
2443 * gdb.dwarf2/dw2-is-stmt.exp: Same.
2444 * gdb.dwarf2/dw2-ranges-func.exp: Same.
2446 2020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
2448 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
2451 2020-07-15 Tom de Vries <tdevries@suse.de>
2453 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
2454 is_amd64_regs_target.
2456 2020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
2458 * gdb.fortran/ptype-on-functions.exp: Add more tests.
2459 * gdb.fortran/ptype-on-functions.f90: Likewise.
2461 2020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
2463 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
2464 values in documentation for addr_size to 4 and 8.
2466 2020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
2468 * gdb.arch/amd64-osabi.exp: Update.
2469 * gdb.arch/arm-disassembler-options.exp: Update.
2470 * gdb.arch/powerpc-disassembler-options.exp: Update.
2471 * gdb.arch/ppc64-symtab-cordic.exp: Update.
2472 * gdb.arch/s390-disassembler-options.exp: Update.
2473 * gdb.base/all-architectures.exp.tcl: Update.
2474 * gdb.base/attach-pie-noexec.exp: Update.
2475 * gdb.base/catch-syscall.exp: Update.
2476 * gdb.xml/tdesc-arch.exp: Update.
2478 2020-07-14 Tom de Vries <tdevries@suse.de>
2480 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
2481 (local_gettid): ... this.
2484 2020-07-13 Sandra Loosemore <sandra@codesourcery.com>
2486 * gdb.base/info_sources.exp: Skip directory match tests on
2489 2020-07-13 Gary Benson <gbenson@redhat.com>
2491 * gdb.base/savedregs.exp (caller): Use parentheses to
2492 make expected expression evaluation ordering explicit.
2494 2020-07-13 Gary Benson <gbenson@redhat.com>
2496 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
2498 2020-07-13 Gary Benson <gbenson@redhat.com>
2500 * gdb.base/bigcore.c (main): Use a volatile pointer when
2501 attempting to trigger a SIGSEGV.
2502 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
2503 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
2504 * gdb.base/savedregs.c (thrower): Likewise.
2505 * gdb.mi/mi-syn-frame.c (bar): Likewise.
2507 2020-07-13 Gary Benson <gbenson@redhat.com>
2509 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
2510 defining and using VLA structure fields into...
2511 * gdb.base/vla-struct-fields.c: New file.
2512 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
2514 * gdb.base/vla-struct-fields.exp: New file.
2516 2020-07-13 Tom de Vries <tdevries@suse.de>
2518 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
2519 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
2520 * gdb.base/gold-gdb-index.exp: Same.
2521 * gdb.base/morestack.exp: Same.
2523 2020-07-11 Daniel Xu <dxu@dxuuu.xyz>
2526 * gdb.rust/modules.rs: Prevent linker from discarding test
2529 2020-07-10 Pedro Alves <pedro@palves.net>
2532 * gdb.multi/multi-target.c (exit_thread): New.
2533 (thread_start): Break loop if EXIT_THREAD.
2534 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
2535 (top level) Call test_no_resumed.
2537 2020-07-08 Tom Tromey <tromey@adacore.com>
2539 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
2540 * gdb.ada/catch_ex.exp: Examine catchpoint text.
2542 2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2545 * gdb.opt/inline-frame-tailcall.c: New file.
2546 * gdb.opt/inline-frame-tailcall.exp: New file.
2547 * gdb.python/py-unwind-inline.c: New file.
2548 * gdb.python/py-unwind-inline.exp: New file.
2549 * gdb.python/py-unwind-inline.py: New file.
2551 2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2553 * gdb.python/py-arch-reg-groups.exp: New file.
2555 2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2557 * gdb.python/py-arch-reg-names.exp: New file.
2559 2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2561 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
2562 gdb.PendingFrame.architecture method.
2564 2020-07-06 Tom de Vries <tdevries@suse.de>
2566 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
2568 2020-07-03 Pedro Alves <palves@redhat.com>
2570 * gdb.base/structs2.c (main): Adjust second parem_reg call to
2571 explicitly write negative numbers.
2572 * gdb.base/structs2.exp: Adjust expected output.
2574 2020-07-03 Pedro Alves <palves@redhat.com>
2576 * gdb.base/charset.c (init_string): Change all char parameters to
2577 unsigned char parameters.
2579 2020-07-03 Pedro Alves <palves@redhat.com>
2581 * gdb.base/call-sc.exp (start_scalars_test): Use
2582 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
2583 * gdb.base/overlays.c: Remove references to PARAMS.
2584 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
2585 * gdb.base/reread.exp: Don't set 'prototypes' global.
2586 * gdb.base/structs.exp (start_structs_test): Use
2587 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
2588 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
2589 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
2590 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
2592 * gdb.base/varargs.exp: Don't set 'prototypes' global.
2594 2020-07-03 Pedro Alves <palves@redhat.com>
2596 * gdb.base/m32rovly.c: Delete.
2597 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
2599 2020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2601 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
2602 of gdb_py_test_multiple.
2603 * gdb.python/py-cmd.exp: Likewise.
2604 * gdb.python/py-events.exp: Likewise.
2605 * gdb.python/py-function.exp: Likewise.
2606 * gdb.python/py-inferior.exp: Likewise.
2607 * gdb.python/py-infthread.exp: Likewise.
2608 * gdb.python/py-linetable.exp: Likewise.
2609 * gdb.python/py-parameter.exp: Likewise.
2610 * gdb.python/py-value.exp: Likewise.
2612 2020-06-30 Tom de Vries <tdevries@suse.de>
2615 * lib/future.exp (gdb_default_target_compile): Detect and handle
2618 2020-06-29 Simon Marchi <simon.marchi@efficios.com>
2620 * boards/simavr.exp (gdb_load): Catch errors when closing
2621 previous connection. Close connection, wait for process and
2622 unset simavr_spawn_id on failure.
2624 2020-06-29 Tom de Vries <tdevries@suse.de>
2626 * lib/gdb.exp (unknown): Make test-case unresolved.
2628 2020-06-29 Tom de Vries <tdevries@suse.de>
2631 * gdb.server/solib-list.exp: Verify that the symbol reload
2632 confirmation question is asked.
2634 2020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2636 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
2637 have a input seq nr in each pass message.
2638 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
2639 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
2640 * gdb.python/python.exp: Make test names unique,
2641 use gdb_test_multiline instead of gdb_py_test_multiple,
2643 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
2645 2020-06-26 Nick Alcock <nick.alcock@oracle.com>
2647 * configure.ac: Add --enable-libctf.
2648 * aclocal.m4: sinclude ../config/enable.m4.
2649 * Makefile.in (site.exp): Add enable_libctf to site.exp.
2650 * lib/gdb.exp (skip_ctf_tests): Use it.
2651 * gdb.base/ctf-constvars.exp: Error message tweak.
2652 * gdb.base/ctf-ptype.exp: Likewise.
2653 * configure: Regenerate.
2655 2020-06-26 Gary Benson <gbenson@redhat.com>
2657 * gdb.cp/try_catch.cc: Include string.h.
2658 (main): Replace comparison against string literal with
2659 strcmp, avoiding build failure with -Wstring-compare.
2660 Add "marker test-complete".
2661 * gdb.cp/try_catch.exp: Run the test to the above marker,
2662 then verify that the value of "test" is still true.
2664 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
2666 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
2668 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
2670 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
2672 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
2674 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
2675 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
2676 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
2677 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
2678 * gdb.arch/riscv-tdesc-loading.exp: New file.
2680 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
2682 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
2684 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
2686 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
2687 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
2688 * gdb.arch/riscv-tdesc-regs.c: New file.
2689 * gdb.arch/riscv-tdesc-regs.exp: New file.
2691 2020-06-24 Pedro Alves <palves@redhat.com>
2693 * gdb.arch/amd64-entry-value-paramref.exp: Use
2694 prepare_for_testing_full and don't pass "c++" for the .S file
2696 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
2697 $options, since it's an assembly file. Remove -Wno-deprecated.
2698 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
2699 compiling C++ programs.
2701 2020-06-24 Pedro Alves <palves@redhat.com>
2703 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
2704 Clang, add "-Wno-unknown-warning-option" to the options.
2706 2020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
2708 * gdb.xml/tdesc-reload.c: New file.
2709 * gdb.xml/tdesc-reload.exp: New file.
2710 * gdb.xml/maint-xml-dump-01.xml: New file.
2711 * gdb.xml/maint-xml-dump-02.xml: New file.
2712 * gdb.xml/maint-xml-dump.exp: New file.
2714 2020-06-23 Sandra Loosemore <sandra@codesourcery.com>
2716 * lib/completion-support.exp (test_gdb_completion_offers_commands):
2717 Adjust for omitted commands when TUI is disabled.
2719 2020-06-23 Gary Benson <gbenson@redhat.com>
2720 Pedro Alves <palves@redhat.com>
2722 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
2723 * gdb.cp/nsimport.cc: Likewise.
2724 * gdb.cp/nsnested.cc: Likewise.
2725 * gdb.cp/nsnoimports.cc: Likewise.
2726 * gdb.cp/nsusing.cc: Likewise.
2727 * gdb.cp/smartp.cc: Likewise.
2728 * gdb.python/py-pp-integral.c: Likewise.
2729 * gdb.python/py-pp-re-notag.c: Likewise.
2731 2020-06-23 Gary Benson <gbenson@redhat.com>
2733 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
2734 * gdb.cp/nsimport.cc: Likewise.
2735 * gdb.cp/nsnested.cc: Likewise.
2736 * gdb.cp/nsnoimports.cc: Likewise.
2737 * gdb.cp/nsusing.cc: Likewise.
2738 * gdb.cp/smartp.cc: Likewise.
2739 * gdb.python/py-pp-integral.c: Likewise.
2740 * gdb.python/py-pp-re-notag.c: Likewise.
2742 2020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2744 * gdb.base/default-args.exp: New test.
2745 * gdb.base/default-args.c: New file.
2746 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
2747 * gdb.base/default.exp: Update to new help text.
2748 * gdb.base/help.exp: Likewise.
2749 * gdb.base/page.exp: Likewise.
2750 * gdb.base/style.exp: Likewise.
2751 * gdb.guile/guile.exp: Likewise.
2752 * gdb.python/python.exp: Likewise.
2754 2020-06-22 Sandra Loosemore <sandra@codesourcery.com>
2756 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
2757 remote host. Fix search path syntax on Windows host.
2759 2020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2761 * gdb.base/attach.exp: Test priority of 'exec-file' changed
2762 over 'exec-file-mismatch'.
2763 * gdb.base/attach.c: Mark should_exit volatile.
2764 * gdb.base/attach2.c: Likewise. Add a comment explaining
2765 why the sleep cannot be big.
2766 * gdb.base/attach3.c: New file.
2768 2020-06-20 Sandra Loosemore <sandra@codesourcery.com>
2770 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
2773 2020-06-20 Sandra Loosemore <sandra@codesourcery.com>
2775 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
2778 2020-06-19 Sandra Loosemore <sandra@codesourcery.com>
2779 Hafiz Abid Qadeer <abidh@codesourcery.com>
2781 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
2782 file sent to remote host.
2783 (top level): Allow int32_t as type of 32-bit register.
2785 2020-06-19 Tom de Vries <tdevries@suse.de>
2787 * lib/gdb.exp (gdb_note): New proc.
2788 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
2789 (gdb_default_target_compile): ... here. Only call
2790 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
2791 (use_gdb_compile): Change to array.
2792 (toplevel): Update sets of use_gdb_compile to specify language.
2793 Warn about default_target_compile override. Store dejagnu's version
2794 of default_target_compile in dejagnu_default_target_compile.
2796 2020-06-18 Tom de Vries <tdevries@suse.de>
2798 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
2799 (default_gdb_init): ... here.
2801 2020-06-17 Sandra Loosemore <sandra@codesourcery.com>
2803 Fix TUI support checks in gdb.tui tests.
2805 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
2806 just say UNSUPPORTED.
2807 * gdb.tui/corefile-run.exp: Likewise.
2808 * gdb.tui/empty.exp: Likewise.
2809 * gdb.tui/list-before.exp: Likewise.
2810 * gdb.tui/list.exp: Likewise.
2811 * gdb.tui/main.exp: Likewise.
2812 * gdb.tui/regs.exp: Likewise.
2813 * gdb.tui/resize.exp: Likewise.
2814 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
2815 * gdb.tui/tui-layout-asm.exp: Likewise.
2816 * gdb.tui/tui-missing-src.exp: Likewise.
2817 * gdb.tui/winheight.exp: Likewise.
2818 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
2820 2020-06-17 Sandra Loosemore <sandra@codesourcery.com>
2822 Fix TCL error in gdb.python/py-format-string.exp.
2824 * gdb.python/py-format-string.exp: Move test for python support
2825 earlier, out of function body.
2827 2020-06-15 Simon Marchi <simon.marchi@efficios.com>
2829 * gdb.base/index-cache-load-twice.c: New.
2830 * gdb.base/index-cache-load-twice.exp: New.
2832 2020-06-17 Keith Seitz <keiths@redhat.com>
2834 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
2835 when executing "gdb --configuration".
2837 2020-06-17 Tom de Vries <tdevries@suse.de>
2839 * lib/gdb.exp (gdb_tcl_unknown): New proc.
2840 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
2841 conditional on presence of gdb_tcl_unknown.
2842 (gdb_finish): Make override undo conditional on presence of
2845 2020-06-16 Tom Tromey <tom@tromey.com>
2847 * gdb.python/tui-window.py (failwin): New function. Register it
2848 as a TUI window type.
2849 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
2851 2020-06-16 Gary Benson <gbenson@redhat.com>
2853 * gdb.python/py-nested-maps.c (create_map): Add missing return
2855 (create_map_map): Likewise.
2857 2020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2859 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
2861 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
2862 and use the already-defined 'options' variable.
2864 2020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
2865 Tom de Vries <tdevries@suse.de>
2867 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
2868 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
2869 (gdb_setup_known_globals): New proc.
2870 (gdb_cleanup_globals): New proc.
2871 * lib/gdb.exp (load_lib): New override proc.
2872 (gdb_stdin_log_init): Set var in_file as persistent global.
2873 * lib/pascal.exp (gdb_stdin_log_init): Set vars
2874 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
2875 fpc_compiler as persistent global.
2877 2020-06-12 Tom de Vries <tdevries@suse.de>
2879 * lib/tuiterm.exp (spawn): Rename to ...
2880 (tui_spawn): ... this.
2881 (toplevel): Move rename of spawn ...
2882 (gdb_init_tuiterm): ... here. New proc.
2883 (gdb_finish_tuiterm): New proc.
2884 * lib/gdb.exp (gdb_finish_hooks): New global var.
2885 (gdb_finish): Handle gdb_finish_hooks.
2886 (tuiterm_env): New proc.
2887 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
2889 * gdb.tui/basic.exp: Same.
2890 * gdb.tui/corefile-run.exp: Same.
2891 * gdb.tui/empty.exp: Same.
2892 * gdb.tui/list-before.exp: Same.
2893 * gdb.tui/list.exp: Same.
2894 * gdb.tui/main.exp: Same.
2895 * gdb.tui/new-layout.exp: Same.
2896 * gdb.tui/regs.exp: Same.
2897 * gdb.tui/resize.exp: Same.
2898 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
2899 * gdb.tui/tui-layout-asm.exp: Same.
2900 * gdb.tui/tui-missing-src.exp: Same.
2901 * gdb.tui/winheight.exp: Same.
2903 2020-06-12 Tom de Vries <tdevries@suse.de>
2906 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
2907 (gdb_finish): Reinstall dejagnu's override of ::unknown.
2909 2020-06-11 Tom Tromey <tom@tromey.com>
2912 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
2913 floating point tests.
2915 2020-06-11 Keith Seitz <keiths@redhat.com>
2918 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
2920 Add new struct vla_typedef and union vla_typedef_union and
2921 corresponding instantiation objects.
2922 Initialize new objects.
2923 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
2924 and vla_typedef_union_object.
2925 Fixup type for vla_struct_object.
2927 2020-06-11 Tom de Vries <tdevries@suse.de>
2929 * lib/gdb.exp (with_override): New proc, factored out of ...
2930 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
2932 2020-06-10 Tom de Vries <tdevries@suse.de>
2934 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
2936 2020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
2938 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
2939 parameter, update callers.
2941 2020-06-04 Simon Marchi <simon.marchi@efficios.com>
2943 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
2944 * gdb.dwarf2/share-psymtabs-bt.c: New file.
2945 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
2947 2020-06-04 Tom de Vries <tdevries@suse.de>
2949 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
2951 2020-06-04 Tom de Vries <tdevries@suse.de>
2953 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
2956 2020-06-04 Tom de Vries <tdevries@suse.de>
2958 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
2960 2020-06-03 Tom de Vries <tdevries@suse.de>
2963 * gdb.cp/breakpoint-locs-2.cc: New test.
2964 * gdb.cp/breakpoint-locs.cc: New test.
2965 * gdb.cp/breakpoint-locs.exp: New file.
2966 * gdb.cp/breakpoint-locs.h: New test.
2968 2020-06-03 Tom de Vries <tdevries@suse.de>
2971 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
2972 value of global verbose.
2973 * gdb.base/jit-elf.exp: Same.
2974 * gdb.base/jit-reader.exp: Same.
2976 2020-06-02 Tom de Vries <tdevries@suse.de>
2978 * gdb.dwarf2/multidictionary.exp: Don't use
2979 gdb_spawn_with_cmdline_opts.
2981 2020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
2983 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
2985 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
2986 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
2987 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
2988 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
2989 * gdb.dwarf2/dw2-inline-header.c: New file.
2990 * gdb.dwarf2/dw2-inline-header.h: New file.
2992 2020-05-30 Pedro Alves <palves@redhat.com>
2994 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
2995 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
2997 2020-05-29 Gary Benson <gbenson@redhat.com>
2999 * gdb.compile/compile-cplus.exp (additional_flags): Also
3000 set when building with clang.
3001 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
3002 when building with clang.
3004 2020-05-29 Gary Benson <gbenson@redhat.com>
3006 * gdb.arch/i386-avx.exp (additional_flags): Also set when
3007 building with clang.
3008 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
3010 2020-05-29 Gary Benson <gbenson@redhat.com>
3012 * gdb.cp/koenig.exp (prepare_for_testing): Add
3013 additional_flags=-Wno-unused-comparison.
3014 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
3016 2020-05-28 Gary Benson <gbenson@redhat.com>
3018 * gdb.base/sigaltstack.c (catcher): Add default case to switch
3021 2020-05-28 Gary Benson <gbenson@redhat.com>
3023 * gdb.cp/classes.exp (prepare_for_testing): Add
3024 additional_flags=-Wno-deprecated-register.
3025 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
3026 * gdb.cp/misc.exp: Likewise.
3028 2020-05-28 Gary Benson <gbenson@redhat.com>
3030 * gdb.linespec/cpls-ops.cc (dummy): New static global.
3031 (test_op_new::operator new): Add return statement.
3032 (test_op_new_array::operator new[]): Likewise.
3034 2020-05-27 Pedro Alves <palves@redhat.com>
3036 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
3037 check. Use test_gdb_complete_unique instead of
3038 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
3039 test_gdb_complete_multiple instead of
3040 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
3042 2020-05-27 Luis Machado <luis.machado@linaro.org>
3044 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
3045 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
3046 * gdb.arch/arm-disassembler-options.exp: Likewise.
3047 * gdb.arch/arm-disp-step.exp: Likewise.
3048 * gdb.arch/thumb-prologue.exp: Likewise.
3049 * gdb.base/async.exp: Likewise.
3050 * gdb.base/auxv.exp: Likewise.
3051 * gdb.base/complex-parts.exp: Likewise.
3052 * gdb.base/ena-dis-br.exp: Likewise.
3053 * gdb.base/foll-exec.exp: Likewise.
3054 * gdb.base/permissions.exp: Likewise.
3055 * gdb.base/relocate.exp: Likewise.
3056 * gdb.base/return2.exp: Likewise.
3057 * gdb.base/sigbpt.exp: Likewise.
3058 * gdb.base/siginfo-obj.exp: Likewise.
3059 * gdb.cp/converts.exp: Likewise.
3060 * gdb.cp/exceptprint.exp: Likewise.
3061 * gdb.cp/inherit.exp: Likewise.
3062 * gdb.cp/nsnoimports.exp: Likewise.
3063 * gdb.cp/virtbase2.exp: Likewise.
3064 * gdb.mi/mi-var-cmd.exp: Likewise.
3065 * gdb.mi/var-cmd.c: Likewise.
3067 2020-05-26 Tom Tromey <tromey@adacore.com>
3069 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
3071 2020-05-26 Tom Tromey <tromey@adacore.com>
3073 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
3074 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
3076 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
3079 2020-05-26 Christian Biesinger <cbiesinger@google.com>
3081 * Makefile.in: Use = instead of == for the test command
3084 2020-05-26 Tom de Vries <tdevries@suse.de>
3086 * gdb.base/gold-gdb-index-2.c: New test.
3087 * gdb.base/gold-gdb-index.c: New test.
3088 * gdb.base/gold-gdb-index.exp: New file.
3089 * gdb.base/gold-gdb-index.h: New test.
3091 2020-05-25 Tom de Vries <tdevries@suse.de>
3093 * boards/gold-gdb-index.exp: New file.
3095 2020-05-25 Simon Marchi <simon.marchi@efficios.com>
3097 * boards/simavr.exp: New file.
3099 2020-05-25 Simon Marchi <simon.marchi@efficios.com>
3101 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
3102 * gdb.base/inferior-args.exp: New file.
3103 * gdb.base/inferior-args.c: New file.
3105 2020-05-25 Simon Marchi <simon.marchi@efficios.com>
3107 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
3108 inferior_args. Pass it to gdb_reload.
3109 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
3111 (gdb_reload): Add inferior_args argument.
3112 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
3113 pass it to gdbserver_run.
3114 * boards/native-gdbserver.exp: Do not set noargs.
3115 * boards/native-extended-gdbserver.exp (gdb_reload): Add
3116 inferior_args argument.
3117 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
3118 * gdb.base/a2-run.exp: Check for use_gdb_stub.
3119 * gdb.base/args.exp: Likewise.
3121 2020-05-25 Tom de Vries <tdevries@suse.de>
3123 * lib/gdb.exp (exec_is_pie): Add comment.
3125 2020-05-25 Tom de Vries <tdevries@suse.de>
3127 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
3128 instead of $binfile in the untested message.
3130 2020-05-25 Tom de Vries <tdevries@suse.de>
3133 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
3135 2020-05-25 Tom de Vries <tdevries@suse.de>
3137 * boards/gold.exp: New file.
3139 2020-05-23 Tom Tromey <tom@tromey.com>
3141 * gdb.base/style.exp: Remove completion styling test.
3142 * lib/gdb-utils.exp (style): Remove completion styles.
3144 2020-05-23 Tom Tromey <tom@tromey.com>
3146 * gdb.base/style.exp: Add completion styling test.
3147 * lib/gdb-utils.exp (style): Add completion styles.
3149 2020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
3151 * gdb.base/annota1.exp: Update expected results.
3152 * gdb.cp/annota2.exp: Update expected results, remove duplicate
3154 * gdb.cp/annota3.exp: Update expected results.
3156 2020-05-20 Simon Marchi <simon.marchi@efficios.com>
3159 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
3161 * gdb.base/coremaker.c (mmapdata): Likewise.
3162 * gdb.base/jit-reader-host.c (main): Likewise.
3163 * gdb.base/sym-file-loader.c (load): Likewise.
3164 (load_shlib): Likewise.
3166 2020-05-20 Tom Tromey <tromey@adacore.com>
3168 * gdb.ada/array_char_idx.exp: Recognize initialized array.
3170 2020-05-20 Tom de Vries <tdevries@suse.de>
3173 * gdb.base/with-mf-inc.c: New test.
3174 * gdb.base/with-mf-main.c: New test.
3175 * gdb.base/with-mf.exp: New file.
3177 2020-05-19 Tom Tromey <tromey@adacore.com>
3179 * gdb.rust/simple.exp: Restore missing test result.
3181 2020-05-19 Tom de Vries <tdevries@suse.de>
3183 * gdb.base/gdb-caching-proc.exp: Fix typo.
3185 2020-05-19 Tom Tromey <tromey@adacore.com>
3187 * gdb.rust/simple.exp: Add some test descriptions.
3188 (test_one_slice): Use with_test_prefix.
3190 2020-05-18 Tom de Vries <tdevries@suse.de>
3192 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
3194 2020-05-17 Pedro Alves <palves@redhat.com>
3197 * gdb.base/hw-sw-break-same-address.exp: New file.
3199 2020-05-16 Pedro Alves <palves@redhat.com>
3201 * gdb.multi/multi-re-run.exp (test_re_run): Switch
3202 LAST_LOADED_FILE accordingly.
3204 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3206 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
3208 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3210 * gdb.base/help.exp: Test apropos and help for commands
3211 having aliases. Fixed comments not starting with an
3212 upper-case letter or not finishing with a dot.
3214 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3216 * gdb.base/alias.exp: Update help output check.
3218 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3220 * gdb.base/default.exp: Update output following fixes.
3222 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3224 * gdb.base/alias.exp: Test aliases starting with a prefix of
3227 2020-05-15 Gary Benson <gbenson@redhat.com>
3229 * gdb.base/info-os.c (main): Add return statement.
3230 * gdb.base/info_minsym.c (minsym_fun): Likewise.
3231 * gdb.base/large-frame-2.c (func): Likewise.
3232 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
3233 * gdb.base/pr10179-b.c (foo2): Likewise.
3234 * gdb.base/valgrind-disp-step.c (foo): Likewise.
3235 * gdb.base/watch-cond.c (func): Likewise.
3236 * gdb.multi/goodbye.c (verylongfun): Likewise.
3237 * gdb.multi/hello.c (commonfun): Likewise.
3238 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
3239 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
3240 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
3242 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
3243 * gdb.threads/interrupt-while-step-over.c (child_function):
3245 * gdb.trace/actions-changed.c (end): Likewise.
3247 2020-05-15 Gary Benson <gbenson@redhat.com>
3249 * gdb.opencl/callfuncs.exp: Report when test skipped.
3250 * gdb.opencl/convs_casts.exp: Likewise.
3251 * gdb.opencl/datatypes.exp: Likewise.
3252 * gdb.opencl/operators.exp: Likewise.
3253 * gdb.opencl/vec_comps.exp: Likewise.
3255 2020-05-15 Tom de Vries <tdevries@suse.de>
3257 * gdb.base/align.exp.in: Rename to ...
3258 * gdb.base/align.exp.tcl: ... this.
3259 * gdb.base/align-c++.exp: Update.
3260 * gdb.base/align-c.exp: Update.
3261 * gdb.base/all-architectures.exp.in: Rename to ...
3262 * gdb.base/all-architectures.exp: ... this.
3263 * gdb.base/all-architectures-0.exp: Update.
3264 * gdb.base/all-architectures-1.exp: Update.
3265 * gdb.base/all-architectures-2.exp: Update.
3266 * gdb.base/all-architectures-3.exp: Update.
3267 * gdb.base/all-architectures-4.exp: Update.
3268 * gdb.base/all-architectures-5.exp: Update.
3269 * gdb.base/all-architectures-6.exp: Update.
3270 * gdb.base/all-architectures-7.exp: Update.
3271 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
3272 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
3273 * gdb.base/infcall-nested-structs-c++.exp: Update.
3274 * gdb.base/infcall-nested-structs-c.exp: Update.
3275 * gdb.base/info-types.exp.in: Rename to ...
3276 * gdb.base/info-types.exp.tcl: ... this.
3277 * gdb.base/info-types-c++.exp: Update.
3278 * gdb.base/info-types-c.exp: Update.
3279 * gdb.base/max-depth.exp.in: Rename to ...
3280 * gdb.base/max-depth.exp.tcl: ... this.
3281 * gdb.base/max-depth-c++.exp: Update.
3282 * gdb.base/max-depth-c.exp: Update.
3283 * gdb.cp/cpexprs.exp.in: Rename to ...
3284 * gdb.cp/cpexprs.exp.tcl: ... this.
3285 * gdb.cp/cpexprs-debug-types.exp: Update.
3286 * gdb.cp/cpexprs.exp: Update.
3287 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
3288 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
3289 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
3290 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
3291 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
3292 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
3293 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
3294 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
3295 * gdb.dwarf2/clang-debug-names-2.exp: Update.
3296 * gdb.dwarf2/clang-debug-names.exp: Update.
3298 2020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
3300 * lib/check-test-names.exp: Remove code that prevents this file
3301 loading when tests are run in parallel.
3303 2020-05-15 Pedro Alves <palves@redhat.com>
3305 * gdb.multi/multi-kill.exp (start_inferior): Remove
3306 'testpid' parameter. Refer to namespace variable directly.
3307 (testpid): Declare as namespace variable.
3309 2020-05-15 Pedro Alves <palves@redhat.com>
3311 * gdb.multi/multi-kill.exp: Wrap in namespace.
3312 (start_inferior): Add TESTPID parameter. Use it instead of the
3314 (top level): Define empty TESTPID array, and pass it down to
3317 2020-05-14 Tom de Vries <tdevries@suse.de>
3319 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
3322 2020-05-14 Tom de Vries <tdevries@suse.de>
3324 * gdb.base/align.exp: Split into ...
3325 * gdb.base/align.exp.in: ...
3326 * gdb.base/align-c++.exp: ...
3327 * gdb.base/align-c.exp: ... these.
3328 * gdb.base/infcall-nested-structs.exp: Split into ...
3329 * gdb.base/infcall-nested-structs.exp.in: ...
3330 * gdb.base/infcall-nested-structs-c++.exp: ...
3331 * gdb.base/infcall-nested-structs-c.exp: ... these.
3332 * gdb.base/info-types.exp: Split into ...
3333 * gdb.base/info-types.exp.in: ...
3334 * gdb.base/info-types-c++.exp: ...
3335 * gdb.base/info-types-c.exp: ... these.
3336 * gdb.base/max-depth.exp: Split into ...
3337 * gdb.base/max-depth.exp.in: ...
3338 * gdb.base/max-depth-c++.exp: ...
3339 * gdb.base/max-depth-c.exp: ... these.
3340 * gdb.cp/infcall-nodebug.exp: Split into ...
3341 * gdb.cp/infcall-nodebug.exp.in: ...
3342 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
3343 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
3344 * gdb.cp/infcall-nodebug-c-d0.exp: ...
3345 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
3347 2020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3348 Pedro Alves <palves@redhat.com>
3350 * gdb.multi/multi-exit.c: New file.
3351 * gdb.multi/multi-exit.exp: New file.
3352 * gdb.multi/multi-kill.c: New file.
3353 * gdb.multi/multi-kill.exp: New file.
3355 2020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3357 * gdb.base/annota1.exp: Update the expected output.
3358 * gdb.cp/annota2.exp: Ditto.
3360 2020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
3362 * lib/check-test-names.exp: Disable when testing is being run in
3365 2020-05-12 Tom de Vries <tdevries@suse.de>
3367 * gdb.base/jit-elf.exp: Fix string concat.
3369 2020-05-12 Tom de Vries <tdevries@suse.de>
3371 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
3374 2020-05-12 Tom de Vries <tdevries@suse.de>
3376 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
3378 2020-05-12 Tom de Vries <tdevries@suse.de>
3380 * gdb.ada/catch_ex.exp: Use with_test_prefix.
3381 * gdb.ada/mi_catch_ex.exp: Same.
3382 * gdb.ada/mi_catch_ex_hand.exp: Same.
3384 2020-05-12 Tom de Vries <tdevries@suse.de>
3386 * gdb.fortran/complex.exp: Use with_test_prefix.
3388 2020-05-12 Tom de Vries <tdevries@suse.de>
3390 * gdb.trace/passcount.exp: Fix test-names.
3392 2020-05-12 Tom de Vries <tdevries@suse.de>
3394 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
3396 2020-05-12 Tom de Vries <tdevries@suse.de>
3398 * gdb.gdb/complaints.exp: Use with_test_prefix.
3399 * gdb.xml/tdesc-regs.exp: Same.
3400 * gdb.opt/inline-locals.exp: Fix test name.
3402 2020-05-12 Tom de Vries <tdevries@suse.de>
3404 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
3405 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
3406 * gdb.dwarf2/implref-struct.exp: Same.
3407 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
3408 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
3410 2020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
3412 * gdb.base/jit-so.exp (one_jit_test): Change test name.
3414 2020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
3416 * lib/check-test-names.exp (all_test_names): New module variable.
3417 (counts): Add 'duplicates' field.
3418 (_check_duplicates): New procedure.
3419 (check): Also check for duplicates.
3420 (do_log_summary): Print duplicates count.
3421 (do_reset_vars): Reset counter for duplicate test names, and
3422 discard all know test names.
3424 2020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
3426 * lib/gdb.exp: Include check-test-names.exp library.
3427 * lib/check-test-names.exp: New file.
3429 2020-05-11 Tom de Vries <tdevries@suse.de>
3431 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
3433 2020-05-11 Keith Seitz <keiths@redhat.com>
3435 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
3437 2020-05-11 Tom de Vries <tdevries@suse.de>
3439 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
3440 * gdb.cp/cpexprs.exp.in: .. here.
3441 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
3444 2020-05-11 Keith Seitz <keiths@redhat.com>
3446 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
3448 * gdb.ada/arrayptr.exp: Likewise.
3449 * gdb.ada/assign_arr.exp: Likewise.
3450 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
3451 * gdb.ada/bp_on_var.exp: Likewise.
3452 * gdb.ada/call_pn.exp: Likewise.
3453 * gdb.ada/complete.exp: Likewise.
3454 * gdb.ada/fun_overload_menu.exp: Likewise.
3455 * gdb.ada/funcall_param.exp: Likewise.
3456 * gdb.ada/funcall_ref.exp: Likewise.
3457 * gdb.ada/packed_array_assign.exp: Likewise.
3458 * gdb.ada/same_component_name.exp: Likewise.
3459 * gdb.ada/type_coercion.exp: Likewise.
3460 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
3461 * gdb.ada/variant_record_packed_array.exp: Likewise.
3463 2020-05-11 Tom de Vries <tdevries@suse.de>
3466 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
3468 * gdb.dwarf2/clang-debug-names.exp: ... here.
3469 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
3470 clang-debug-names.exp.in.
3471 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
3472 * gdb.dwarf2/clang-debug-names-2.c: New test.
3474 2020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
3476 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
3477 (fortran_runto_main): New Proc, fortran version of runto_main.
3478 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
3479 * gdb.fortran/array-bounds.exp: Likewise.
3480 * gdb.fortran/array-slices.exp: Likewise.
3481 * gdb.fortran/block-data.exp: Likewise.
3482 * gdb.fortran/charset.exp: Likewise.
3483 * gdb.fortran/common-block.exp: Likewise.
3484 * gdb.fortran/complex.exp: Likewise.
3485 * gdb.fortran/derived-type-function.exp: Likewise.
3486 * gdb.fortran/derived-type.exp: Likewise.
3487 * gdb.fortran/info-modules.exp: Likewise.
3488 * gdb.fortran/info-types.exp: Likewise.
3489 * gdb.fortran/intrinsics.exp: Likewise.
3490 * gdb.fortran/library-module.exp: Likewise.
3491 * gdb.fortran/logical.exp: Likewise.
3492 * gdb.fortran/max-depth.exp: Likewise.
3493 * gdb.fortran/module.exp: Likewise.
3494 * gdb.fortran/multi-dim.exp: Likewise.
3495 * gdb.fortran/nested-funcs.exp: Likewise.
3496 * gdb.fortran/print-formatted.exp: Likewise.
3497 * gdb.fortran/print_type.exp: Likewise.
3498 * gdb.fortran/printing-types.exp: Likewise.
3499 * gdb.fortran/ptr-indentation.exp: Likewise.
3500 * gdb.fortran/ptype-on-functions.exp: Likewise.
3501 * gdb.fortran/subarray.exp: Likewise.
3502 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
3503 * gdb.fortran/vla-datatypes.exp: Likewise.
3504 * gdb.fortran/vla-history.exp: Likewise.
3505 * gdb.fortran/vla-ptr-info.exp: Likewise.
3506 * gdb.fortran/vla-ptype-sub.exp: Likewise.
3507 * gdb.fortran/vla-ptype.exp: Likewise.
3508 * gdb.fortran/vla-sizeof.exp: Likewise.
3509 * gdb.fortran/vla-type.exp: Likewise.
3510 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
3511 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
3512 * gdb.fortran/vla-value-sub.exp: Likewise.
3513 * gdb.fortran/vla-value.exp: Likewise.
3514 * gdb.fortran/whatis_type.exp: Likewise.
3515 * gdb.mi/mi-var-child-f.exp: Likewise.
3517 2020-05-09 Tom de Vries <tdevries@suse.de>
3519 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
3521 2020-05-08 Tom de Vries <tdevries@suse.de>
3523 * gdb.dwarf2/clang-debug-names.c: New test.
3524 * gdb.dwarf2/clang-debug-names.exp: New file.
3526 2020-05-06 Simon Marchi <simon.marchi@efficios.com>
3528 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
3529 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
3531 2020-05-06 Tom de Vries <tdevries@suse.de>
3533 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
3534 breakpoint is at a "recommended breakpoint location".
3535 * gdb.reverse/consecutive-reverse.exp: Same.
3537 2020-05-06 Tom de Vries <tdevries@suse.de>
3539 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
3542 2020-05-06 Tom de Vries <tdevries@suse.de>
3544 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
3546 2020-05-06 Tom de Vries <tdevries@suse.de>
3548 * gdb.base/store.exp (check_set, up_set): Allowing missing location
3551 2020-05-06 Tom de Vries <tdevries@suse.de>
3553 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
3556 2020-05-06 Tom de Vries <tdevries@suse.de>
3558 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
3561 2020-05-06 Tom de Vries <tdevries@suse.de>
3563 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
3565 * gdb.base/async.exp: ... here.
3566 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
3567 "recommended breakpoint location".
3569 2020-05-06 Tom de Vries <tdevries@suse.de>
3571 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
3573 2020-05-04 Tom de Vries <tdevries@suse.de>
3575 * gdb.base/async.exp: Check whether instruction addresses are a
3576 "recommended breakpoint location".
3578 2020-05-03 Tom Tromey <tom@tromey.com>
3580 * gdb.base/sepdebug.exp: Remove "catch" test.
3581 * gdb.base/break.exp: Remove "catch" test.
3582 * gdb.base/default.exp: Update expected output.
3584 2020-05-02 Tom de Vries <tdevries@suse.de>
3586 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
3587 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
3588 * gdb.arch/i386-mpx-map.exp: Same.
3589 * gdb.arch/i386-mpx-sigsegv.exp: Same.
3590 * gdb.arch/i386-mpx-simple_segv.exp: Same.
3591 * gdb.arch/i386-mpx.exp: Same.
3593 2020-05-02 Tom de Vries <tdevries@suse.de>
3595 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
3597 2020-05-01 Tom de Vries <tdevries@suse.de>
3599 * gdb.ada/operator_bp.exp: Allow more than required amount of
3602 2020-05-01 Tom de Vries <tdevries@suse.de>
3604 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
3606 2020-04-30 Hannes Domani <ssbssa@yahoo.de>
3609 * gdb.cp/stub-array-size.cc: New test.
3610 * gdb.cp/stub-array-size.exp: New file.
3611 * gdb.cp/stub-array-size.h: New test.
3612 * gdb.cp/stub-array-size2.cc: New test.
3614 2020-04-30 Hannes Domani <ssbssa@yahoo.de>
3616 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
3617 output to the new format.
3619 2020-04-29 Simon Marchi <simon.marchi@efficios.com>
3621 * gdb.base/break.exp: Use with_test_prefix.
3623 2020-04-29 Tom de Vries <tdevries@suse.de>
3625 * lib/gdb.exp (debug_types): New proc.
3626 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
3627 * gdb.python/py-symtab.exp: Same.
3629 2020-04-29 Hannes Domani <ssbssa@yahoo.de>
3632 * gdb.base/pretty-array.c: New test.
3633 * gdb.base/pretty-array.exp: New file.
3635 2020-04-29 Tom de Vries <tdevries@suse.de>
3638 * gdb.cp/cpexprs.exp: Adapt for inclusion.
3639 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
3640 and include cpexprs.exp.
3642 2020-04-28 Mark Williams <mark@myosotissp.com>
3645 * dw4-toplevel-types.exp: Test for top level types.
3646 * dw4-toplevel-types.cc: Test for top level types.
3648 2020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3650 * gdb.threads/stop-with-handle.exp: Fix typo in comment
3651 (theads -> threads).
3653 2020-04-28 Tom de Vries <tdevries@suse.de>
3655 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
3657 2020-04-28 Tom de Vries <tdevries@suse.de>
3659 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
3661 2020-04-28 Tom de Vries <tdevries@suse.de>
3663 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
3665 2020-04-28 Tom de Vries <tdevries@suse.de>
3667 * gdb.dwarf2/main-foo.c: New test.
3668 * gdb.dwarf2/struct-with-sig.exp: New file.
3670 2020-04-25 Tom de Vries <tdevries@suse.de>
3672 * boards/debug-types.exp: New file.
3674 2020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
3676 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
3678 2020-04-24 Tom Tromey <tom@tromey.com>
3681 * gdb.python/py-symbol.exp: Update expected results for
3683 * gdb.cp/print-demangle.exp: New file.
3684 * gdb.base/c-linkage-name.exp: Fix test.
3685 * gdb.guile/scm-symbol.exp: Update expected results for
3688 2020-04-24 Tom Tromey <tom@tromey.com>
3690 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
3691 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
3692 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
3695 2020-04-24 Tom de Vries <tdevries@suse.de>
3697 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
3700 2020-04-24 Tom Tromey <tromey@adacore.com>
3702 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
3704 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
3705 values. Update test for minimal encodings.
3706 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
3707 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
3708 values. Update test for minimal encodings.
3710 2020-04-24 Tom Tromey <tromey@adacore.com>
3713 * gdb.ada/variant.exp: Add Python checks.
3714 * gdb.rust/simple.exp: Add dynamic type checks.
3716 2020-04-24 Tom Tromey <tromey@adacore.com>
3718 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
3719 Make array type matching more lax.
3720 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
3721 * gdb.ada/mi_variant.exp: New file.
3722 * gdb.ada/mi_variant/pck.ads: New file.
3723 * gdb.ada/mi_variant/pkg.adb: New file.
3724 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
3725 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
3727 2020-04-24 Tom Tromey <tromey@adacore.com>
3729 * gdb.ada/variant.exp: Add dynamic field offset tests.
3730 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
3731 * gdb.ada/variant/pkg.adb: Add new variables.
3733 2020-04-24 Tom Tromey <tromey@adacore.com>
3735 * gdb.ada/variant.exp: New file
3736 * gdb.ada/variant/pkg.adb: New file
3737 * gdb.ada/variant/pck.adb: New file
3739 2020-04-24 Tom de Vries <tdevries@suse.de>
3741 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
3743 2020-04-24 Tom de Vries <tdevries@suse.de>
3745 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
3748 2020-04-24 Tom de Vries <tdevries@suse.de>
3750 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
3752 2020-04-24 Tom de Vries <tdevries@suse.de>
3754 * lib/gdb.exp (default_gdb_start): Handle eof.
3755 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
3757 * gdb.base/readnever.exp: Handle clean_restart failure.
3759 2020-04-23 Tom de Vries <tdevries@suse.de>
3761 * gdb.base/decl-before-def.exp: Run to main and print a again.
3763 2020-04-23 Tom de Vries <tdevries@suse.de>
3765 * gdb.base/decl-before-def-decl.c: New test.
3766 * gdb.base/decl-before-def-def.c: New test.
3767 * gdb.base/decl-before-def.exp: New file.
3769 2020-04-23 Tom de Vries <tdevries@suse.de>
3771 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
3773 2020-04-22 Tom de Vries <tdevries@suse.de>
3775 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
3777 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
3778 before $objsfile in the line line.
3780 2020-04-22 Tom de Vries <tdevries@suse.de>
3782 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
3784 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
3786 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
3787 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
3788 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
3789 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
3790 * gdb.base/jit-protocol.h: Update definitions to match all usage
3793 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
3795 * gdb.base: Rename all jit related test and source files.
3797 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
3799 * gdb.base/jit-reader.exp: Relax register output check.
3801 2020-04-22 Tom de Vries <tdevries@suse.de>
3804 * gdb.base/psym-external-decl-2.c: New test.
3805 * gdb.base/psym-external-decl.c: New test.
3806 * gdb.base/psym-external-decl.exp: New file.
3807 * gdb.threads/tls.exp: Add PR25807 kfail.
3809 2020-04-22 Tom de Vries <tdevries@suse.de>
3812 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
3813 in "info source" output.
3815 2020-04-22 Tom de Vries <tdevries@suse.de>
3818 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
3819 symtab for imported_unit.c.
3821 2020-04-21 Gary Benson <gbenson@redhat.com>
3823 * gdb.base/advance.c (func): New argument, to match call site.
3824 (func2, func3): Add return statements.
3826 2020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3828 * gdb.multi/run-only-second-inf.c: New file.
3829 * gdb.multi/run-only-second-inf.exp: New file.
3831 2020-04-21 Markus Metzger <markus.t.metzger@intel.com>
3833 * gdb.btrace/multi-inferior.c: New test.
3834 * gdb.btrace/multi-inferior.exp: New file.
3836 2020-04-21 Markus Metzger <markus.t.metzger@intel.com>
3838 * gdb.btrace/enable-new-thread.c: New test.
3839 * gdb.btrace/enable-new-thread.exp: New file.
3841 2020-04-21 Tom de Vries <tdevries@suse.de>
3844 * gdb.threads/killed-outside.c: New test.
3845 * gdb.threads/killed-outside.exp: New file.
3847 2020-04-20 Gary Benson <gbenson@redhat.com>
3849 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
3850 * gdb.base/nested-subp2.exp: Likewise.
3851 * gdb.base/nested-subp3.exp: Likewise.
3853 2020-04-20 Gary Benson <gbenson@redhat.com>
3855 * gdb.base/nested-subp1.exp: Disable test when using clang.
3856 * gdb.base/nested-subp2.exp: Likewise.
3857 * gdb.base/nested-subp3.exp: Likewise.
3859 2020-04-20 Gary Benson <gbenson@redhat.com>
3861 * gdb.cp/exception.cc: Fix compilation error with clang.
3863 2020-04-20 Gary Benson <gbenson@redhat.com>
3865 * gdb.trace/tspeed.c: Fix compilation error with clang.
3867 2020-04-20 Gary Benson <gbenson@redhat.com>
3869 * gdb.base/jit-main.c: Fix compilation error with clang.
3871 2020-04-17 Kamil Rytarowski <n54@gmx.com>
3873 * gdb.base/attach-twice.c: Include "sys/types.h".
3874 (PTRACE_ATTACH): Add fallback definition.
3875 (main): Pass `0' to the 4th argument of `ptrace'.
3877 2020-04-17 Kamil Rytarowski <n54@gmx.com>
3879 * gdb.base/fork-running-state.c: Include "signal.h".
3881 2020-04-17 Tom Tromey <tromey@adacore.com>
3883 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
3885 * gdb.btrace/cpu.exp: Update tests.
3886 * gdb.base/maint.exp: Update tests.
3887 * gdb.base/default.exp: Update tests.
3888 * gdb.base/completion.exp: Update tests.
3890 2020-04-16 Tom de Vries <tdevries@suse.de>
3893 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
3894 (ensure_gdb_index): and factor out and move ...
3895 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
3896 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
3898 2020-04-16 Tom de Vries <tdevries@suse.de>
3900 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
3903 2020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
3905 * gdb.base/many-completions.exp: New file.
3907 2020-04-14 Tom de Vries <tdevries@suse.de>
3910 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
3912 2020-04-14 Tom de Vries <tdevries@suse.de>
3915 * gdb.base/maint-expand-symbols-header-file.c: New test.
3916 * gdb.base/maint-expand-symbols-header-file.exp: New file.
3917 * gdb.base/maint-expand-symbols-header-file.h: New test.
3919 2020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
3921 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
3922 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
3924 (get_func_info): Delete.
3925 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
3926 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
3927 * lib/dwarf.exp (get_func_info): New function.
3929 2020-04-13 Tom de Vries <tdevries@suse.de>
3931 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
3932 to what find_gnatmake does.
3934 2020-04-10 Tom de Vries <tdevries@suse.de>
3936 * gdb.base/style.exp: Expect "Expanding full symbols" message for
3939 2020-04-10 Tom de Vries <tdevries@suse.de>
3942 * gdb.base/style.c: Add leading newlines.
3943 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
3944 Check listing of main's one-line body.
3946 2020-04-08 Tom de Vries <tdevries@suse.de>
3948 * lib/gdb.exp (psymtabs_p): New proc.
3949 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
3950 importing unit" unsupported if there are no partial symbols.
3952 2020-04-08 Tom de Vries <tdevries@suse.de>
3955 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
3957 2020-04-07 Tom de Vries <tdevries@suse.de>
3960 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
3962 2020-04-07 Tom de Vries <tdevries@suse.de>
3964 * gdb.base/check-psymtab.c: New test.
3965 * gdb.base/check-psymtab.exp: New file.
3967 2020-04-06 Tom Tromey <tromey@adacore.com>
3969 * gdb.ada/variant-record/proc.adb: New file.
3970 * gdb.ada/variant-record/value.adb: New file.
3971 * gdb.ada/variant-record/value.s: New file.
3972 * gdb.ada/variant-record.exp: New file.
3974 2020-04-03 Hannes Domani <ssbssa@yahoo.de>
3977 * gdb.cp/typed-enum.cc: New test.
3978 * gdb.cp/typed-enum.exp: New file.
3980 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
3982 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
3983 * gdb.dwarf2/dw2-inline-small-func.c: New file.
3984 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
3985 * gdb.dwarf2/dw2-inline-small-func.h: New file.
3986 * gdb.opt/inline-small-func.c: New file.
3987 * gdb.opt/inline-small-func.exp: New file.
3988 * gdb.opt/inline-small-func.h: New file.
3990 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
3992 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
3995 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
3997 * lib/dwarf.exp (function_range): Allow compiler options to be
4000 2020-04-02 Tom de Vries <tdevries@suse.de>
4002 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
4003 __attribute__((always_inline)).
4004 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
4006 2020-04-02 Tom de Vries <tdevries@suse.de>
4008 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
4009 (gdbserver_gdb_exit): ... here. Add timeout warning.
4010 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
4011 (connect_target_extended_remote): Append new server_spawn_id to
4013 (cleanup): New proc.
4014 (setup, <toplevel>): Call cleanup.
4016 2020-04-02 Tom de Vries <tdevries@suse.de>
4018 * gdb.base/main-psymtab.exp: New file.
4020 2020-04-02 Tom de Vries <tdevries@suse.de>
4022 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
4024 2020-04-01 Tom Tromey <tom@tromey.com>
4026 * gdb.base/complex-parts.exp: Add type tests.
4028 2020-04-01 Tom Tromey <tom@tromey.com>
4030 * gdb.base/complex-parts.exp: Add arithmetic tests.
4032 2020-04-01 Tom Tromey <tom@tromey.com>
4034 * gdb.compile/compile.exp: Update.
4035 * gdb.compile/compile-cplus.exp: Update.
4036 * gdb.base/varargs.exp: Update.
4037 * gdb.base/floatn.exp: Update.
4038 * gdb.base/endianity.exp: Update.
4039 * gdb.base/callfuncs.exp (do_function_calls): Update.
4040 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
4041 (complex_float_integral_args): Update.
4042 * gdb.base/complex.exp: Update.
4043 * gdb.base/complex-parts.exp: Update.
4045 2020-04-01 Tom Tromey <tromey@adacore.com>
4047 * gdb.rust/union.rs: New file.
4048 * gdb.rust/union.exp: New file.
4049 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
4051 * gdb.rust/simple.exp: Move union tests to union.exp.
4053 2020-04-01 Tom Tromey <tromey@adacore.com>
4055 * gdb.rust/simple.rs (main): Remove "y0".
4057 2020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4059 * gdb.multi/stop-all-on-exit.c: New test.
4060 * gdb.multi/stop-all-on-exit.exp: New file.
4062 2020-04-01 Hannes Domani <ssbssa@yahoo.de>
4065 * gdb.cp/misc.cc: Add integer reference variable.
4066 * gdb.cp/misc.exp: Add test.
4068 2020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4070 * gdb.server/stop-reply-no-thread.exp: Enhance the test
4071 scenario to cover execution until the end and also the case
4073 2020-03-31 Tom de Vries <tdevries@suse.de>
4075 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
4076 c. Use "maint info symtabs" to check symtab expansion.
4078 2020-03-30 Tom de Vries <tdevries@suse.de>
4080 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
4082 (verify_psymtab_expanded): Move ...
4083 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
4085 (readnow): New proc.
4087 2020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4089 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
4092 2020-03-20 Tom Tromey <tromey@adacore.com>
4094 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
4096 2020-03-20 Tom Tromey <tromey@adacore.com>
4098 * gdb.ada/sub_variant/subv.adb: New file.
4099 * gdb.ada/sub_variant.exp: New file.
4101 2020-03-20 Tom de Vries <tdevries@suse.de>
4103 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
4105 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
4107 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4109 * gdb.server/exit-multiple-threads.c: New file.
4110 * gdb.server/exit-multiple-threads.exp: New file.
4112 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4114 * gdb.fortran/mixed-lang-stack.c: New file.
4115 * gdb.fortran/mixed-lang-stack.cpp: New file.
4116 * gdb.fortran/mixed-lang-stack.exp: New file.
4117 * gdb.fortran/mixed-lang-stack.f90: New file.
4119 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
4121 * gdb.linespec/cp-completion-aliases.cc: New file.
4122 * gdb.linespec/cp-completion-aliases.exp: New file.
4124 2020-03-19 Tom de Vries <tdevries@suse.de>
4126 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
4129 2020-03-18 Tom de Vries <tdevries@suse.de>
4131 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
4132 * gdb.dwarf2/break-inline-psymtab.c: New test.
4133 * gdb.dwarf2/break-inline-psymtab.exp: New file.
4135 2020-03-16 Tom de Vries <tdevries@suse.de>
4137 * lib/cache.exp (gdb_do_cache): Add and handle local variables
4138 cache_verify and cache_verify_proc.
4140 2020-03-15 Tom de Vries <tdevries@suse.de>
4142 * gdb.server/solib-list.exp: Handle
4143 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
4145 2020-03-15 Tom de Vries <tdevries@suse.de>
4147 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
4150 2020-03-14 Tom Tromey <tom@tromey.com>
4152 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
4154 2020-03-14 Tom de Vries <tdevries@suse.de>
4156 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
4158 2020-03-14 Tom de Vries <tdevries@suse.de>
4160 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
4161 result in line-by-line fashion.
4163 2020-03-14 Tom de Vries <tdevries@suse.de>
4165 * lib/gdb.exp (supports_statement_frontiers): New proc.
4166 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
4168 2020-03-14 Tom de Vries <tdevries@suse.de>
4170 * gdb.base/printcmds.exp: Add missing quoting for "print
4173 2020-03-13 Tom Tromey <tom@tromey.com>
4175 * gdb.base/printcmds.exp (test_print_strings): Add regression
4177 * gdb.base/printcmds.c (charptr): New typedef.
4178 (teststring2): New global.
4180 2020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
4182 * gdb.base/break-interp.exp: Use the tail of the filename, not the
4183 full path in the test name.
4184 (test_ld): Add some with_test_prefix blocks to make test names
4187 2020-03-13 Tom de Vries <tdevries@suse.de>
4189 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
4191 2020-03-13 Tom de Vries <tdevries@suse.de>
4193 * gdb.mi/mi-sym-info.exp: Make matching more precise.
4195 2020-03-13 Tom de Vries <tdevries@suse.de>
4198 * gdb.dwarf2/imported-unit.exp: Add test.
4200 2020-03-13 Tom de Vries <tdevries@suse.de>
4202 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
4203 (var1, var2): New variable.
4204 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
4207 2020-03-13 Tom de Vries <tdevries@suse.de>
4209 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
4210 (Term::command): Use prompt prefix.
4211 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
4212 * gdb.tui/tui-layout-asm-short-prog.exp: Use
4213 command_no_prompt_prefix instead of prefix.
4214 * gdb.tui/tui-layout-asm.exp: Same.
4216 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
4218 * gdb.base/break-interp.exp: Use foreach_with_prefix.
4220 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
4222 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
4223 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
4224 on" while stepping over the test instruction, match printed
4227 2020-03-12 Tom de Vries <tdevries@suse.de>
4229 * gdb.base/info-types.exp: Use exp_continue during matching of output
4232 2020-03-12 Tom de Vries <tdevries@suse.de>
4234 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
4236 2020-03-12 Tom de Vries <tdevries@suse.de>
4238 * gdb.fortran/module.exp: Use exp_continue during matching of output
4239 of "info variable -n".
4241 2020-03-12 Tom de Vries <tdevries@suse.de>
4243 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
4244 gdb.dwarf2/dw2-ranges-base.c.
4246 2020-03-12 Tom de Vries <tdevries@suse.de>
4248 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
4249 in presence of GLIBC debuginfo.
4251 2020-03-12 Tom de Vries <tdevries@suse.de>
4253 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
4256 2020-03-12 Tom de Vries <tdevries@suse.de>
4258 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
4261 2020-03-11 Simon Marchi <simon.marchi@efficios.com>
4263 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
4264 from Unix to Windows path.
4266 2020-03-11 Tom de Vries <tdevries@suse.de>
4268 * gdb.ada/minsyms.exp: Set language to ada.
4270 2020-03-11 Tom de Vries <tdevries@suse.de>
4272 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
4274 2020-03-11 Tom de Vries <tdevries@suse.de>
4276 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
4278 2020-03-11 Tom Tromey <tromey@adacore.com>
4280 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
4282 2020-03-11 Tom de Vries <tdevries@suse.de>
4284 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
4286 2020-03-11 Tom de Vries <tdevries@suse.de>
4288 * gdb.base/break-interp.exp: Limit verbose scope.
4290 2020-03-11 Tom de Vries <tdevries@suse.de>
4292 * gdb.fortran/logical.f90: Define variable with character type.
4293 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
4295 2020-03-11 Tom de Vries <tdevries@suse.de>
4297 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
4299 2020-03-11 Tom de Vries <tdevries@suse.de>
4301 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
4304 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
4305 Bernd Edlinger <bernd.edlinger@hotmail.de>
4307 * gdb.cp/step-and-next-inline.cc: New file.
4308 * gdb.cp/step-and-next-inline.exp: New file.
4309 * gdb.cp/step-and-next-inline.h: New file.
4310 * gdb.dwarf2/dw2-is-stmt.c: New file.
4311 * gdb.dwarf2/dw2-is-stmt.exp: New file.
4312 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
4313 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
4314 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
4316 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
4318 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
4319 is-stmt flag in the line table.
4321 2020-03-09 Tom de Vries <tdevries@suse.de>
4323 * lib/gdb.exp (cached_file): Create cache dir.
4325 2020-03-07 Tom de Vries <tdevries@suse.de>
4327 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
4328 * gdb.cp/rvalue-ref-params.exp: Same.
4330 2020-03-06 Tom de Vries <tdevries@suse.de>
4332 * lib/gdb.exp (tentative_rename, cached_file): New proc.
4333 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
4335 2020-03-06 Tom de Vries <tdevries@suse.de>
4337 * README: Fix "the the".
4338 * gdb.base/dprintf.exp: Same.
4340 2020-03-05 Tom de Vries <tdevries@suse.de>
4342 * gdb.base/maint.exp: Update "main print statistics" expected output.
4344 2020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
4346 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
4347 (fortran_int8): Likewise.
4348 (fortran_real4): Likewise.
4349 (fortran_real8): Likewise.
4350 (fortran_complex4): Likewise.
4351 (fortran_logical4): Likewise.
4352 (fortran_character1): Likewise.
4354 2020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
4356 * gdb.fortran/logical.exp: Add tests that any non-zero value is
4359 2020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
4361 * gdb.base/printcmds.exp: Add test to verify printf of a
4362 variable holding an address.
4364 2020-03-03 Tom de Vries <tdevries@suse.de>
4366 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
4368 2020-03-03 Tom de Vries <tdevries@suse.de>
4370 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
4371 gdb_test_multiple call.
4373 2020-03-03 Tom de Vries <tdevries@suse.de>
4375 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
4376 gdb_test_multiple calls.
4378 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
4380 * gdb.base/default.exp: Remove test of 'set history filename'.
4381 * gdb.base/gdbinit-history.exp: Add tests for setting the history
4382 filename to the empty string.
4383 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
4386 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
4388 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
4391 2020-03-02 Pedro Alves <palves@redhat.com>
4392 Tom de Vries <tdevries@suse.de>
4394 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
4395 -prompt prefix, before user_code argument. Add -lbl option likewise.
4396 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
4397 (gdb_is_target_1): Add -prompt prefix and move to before user_code
4399 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
4400 have "\r\n" at start-of-line, instead of at end-of-line.
4402 2020-02-28 Simon Marchi <simon.marchi@efficios.com>
4404 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
4407 2020-02-28 Luis Machado <luis.machado@linaro.org>
4409 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
4412 2020-02-28 Luis Machado <luis.machado@linaro.org>
4414 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
4415 asm/ptrace.h and error.h.
4417 2020-02-28 Tom de Vries <tdevries@suse.de>
4419 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
4420 (struct wrapper, do_something, mundane/symada__cS): Move ...
4421 * gdb.base/c-linkage-name-2.c: ... here. New source file.
4422 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
4423 Update "print symada__cS before partial symtab expansion" regexp.
4424 Update breakpoint location. Flush symbol cache after expansion.
4426 2020-02-28 Luis Machado <luis.machado@linaro.org>
4428 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
4430 2020-02-27 Tom de Vries <tdevries@suse.de>
4432 * config/sid.exp: Remove unused globals.
4433 * gdb.base/attach.exp: Same.
4434 * gdb.base/catch-load.exp: Same.
4435 * gdb.base/dbx.exp: Same.
4436 * lib/gdb.exp: Same.
4437 * lib/mi-support.exp: Same.
4438 * lib/prompt.exp: Same.
4440 2020-02-27 Tom de Vries <tdevries@suse.de>
4442 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
4445 2020-02-26 Aaron Merey <amerey@redhat.com>
4447 * gdb.debuginfod: New directory for debuginfod tests.
4448 * gdb.debuginfod/main.c: New test file.
4449 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
4451 2020-02-26 Tom de Vries <tdevries@suse.de>
4454 * gdb.base/persistent-lang.cc: New test.
4455 * gdb.base/persistent-lang.exp: New file.
4457 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
4459 * gdb.fortran/derived-type-striding.exp: Add a new test.
4460 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
4463 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
4465 * gdb.base/cached-source-file.exp: Avoid source file paths in test
4468 2020-02-25 Tom de Vries <tdevries@suse.de>
4471 * gdb.go/methods.exp: Remove gcc/93866 xfail.
4473 2020-02-24 Tom de Vries <tdevries@suse.de>
4476 * gdb.base/info-locals-unused-static-var.c: New test.
4477 * gdb.base/info-locals-unused-static-var.exp: New file.
4479 2020-02-22 Tom Tromey <tom@tromey.com>
4481 * gdb.python/tui-window.exp: New file.
4482 * gdb.python/tui-window.py: New file.
4484 2020-02-22 Tom Tromey <tom@tromey.com>
4487 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
4490 2020-02-22 Tom Tromey <tom@tromey.com>
4492 * gdb.tui/new-layout.exp: Add sub-layout tests.
4494 2020-02-22 Tom Tromey <tom@tromey.com>
4496 * gdb.tui/new-layout.exp: New file.
4498 2020-02-22 Tom Tromey <tom@tromey.com>
4500 * gdb.rust/rust-style.rs: New file.
4501 * gdb.rust/rust-style.exp: New file.
4502 * gdb.base/style.exp: Test structure printing.
4503 * gdb.base/style.c (struct some_struct): New type.
4504 (enum etype): New type.
4505 (struct_value): New global.
4507 2020-02-21 Tom de Vries <tdevries@suse.de>
4510 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
4511 Remove blanket xfails. Use message argument for gdb_breakpoint.
4512 Make continuing to breakpoint test conditional on setting breakpoint.
4513 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
4514 DW_AT_name attribute. Add xfail for GCC PR93866.
4516 2020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
4518 * gdb.dwarf2/cpp-linkage-name.c: New file.
4519 * gdb.dwarf2/cpp-linkage-name.exp: New file.
4521 2020-02-21 Shahab Vahedi <shahab@synopsys.com>
4523 * lib/gdb.exp (gdb_wrapper_init): Reset
4524 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
4527 2020-02-20 Tom de Vries <tdevries@suse.de>
4530 * gdb.go/hello.exp: Copy ...
4531 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
4532 print of st to print value of global definition. Add xfail for GCC
4534 * gdb.go/hello.exp: Remove printing of st before definition.
4535 * gdb.go/hello.go: Copy ...
4536 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
4538 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
4540 2020-02-20 Tom de Vries <tdevries@suse.de>
4542 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
4543 (gdb_simple_compile): Handle compile_flags go by using .go extension
4545 * gdb.go/chan.exp: Use support_go_compile.
4546 * gdb.go/handcall.exp: Same.
4547 * gdb.go/hello.exp: Same.
4548 * gdb.go/integers.exp: Same.
4549 * gdb.go/max-depth.exp: Same.
4550 * gdb.go/methods.exp: Same.
4551 * gdb.go/package.exp: Same.
4552 * gdb.go/strings.exp: Same.
4553 * gdb.go/types.exp: Same.
4554 * gdb.go/unsafe.exp: Same.
4556 2020-02-19 Tom de Vries <tdevries@suse.de>
4558 * gdb.python/lib-types.exp: Make xfail more strict.
4560 2020-02-19 Tom de Vries <tdevries@suse.de>
4562 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
4564 2020-02-19 Doug Evans <dje@google.com>
4567 * gdb.rust/simple.exp: Add test.
4568 * gdb.rust/simple.rs: Add test.
4570 2020-02-19 Tom de Vries <tdevries@suse.de>
4572 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
4573 output line-by-line.
4575 2020-02-19 Tom de Vries <tdevries@suse.de>
4577 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
4579 2020-02-19 Tom de Vries <tdevries@suse.de>
4581 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
4584 2020-02-19 Tom de Vries <tdevries@suse.de>
4586 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
4587 (gdb_do_cache): Use gdb_do_cache_wrap.
4588 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
4590 2020-02-19 Tom de Vries <tdevries@suse.de>
4592 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
4595 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
4597 * gdb.base/printcmds.exp (test_print_enums): Update expected
4600 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
4602 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
4605 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
4607 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
4610 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
4612 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
4615 (enum flag_enum_without_zero): New enum.
4616 (flag_enum_without_zero): New variable.
4617 (enum not_flag_enum): New enum.
4618 (three_not_flag): New variable.
4619 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
4620 (test_print_enums): Add more tests for printing flag enums.
4622 2020-02-18 Tom de Vries <tdevries@suse.de>
4624 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
4625 (gdb_compile_ada): ... here.
4626 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
4627 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
4629 2020-02-14 Tom Tromey <tom@tromey.com>
4631 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
4633 * boards/gdbserver-base.exp: Update path to gdbserver.
4635 2020-02-13 Tom de Vries <tdevries@suse.de>
4637 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
4639 2020-02-13 Tom de Vries <tdevries@suse.de>
4641 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
4644 2020-02-13 Tom de Vries <tdevries@suse.de>
4646 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
4649 2020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
4652 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
4653 * gdb.base/cached-source-file.c: New file.
4654 * gdb.base/cached-source-file.exp: New file.
4656 2020-02-11 Tom de Vries <tdevries@suse.de>
4659 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
4661 2020-02-10 Tom de Vries <tdevries@suse.de>
4663 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
4665 2020-02-10 Maciej W. Rozycki <macro@wdc.com>
4667 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
4668 and $after_addr are both integers before making a comparison.
4670 2020-02-09 Tom de Vries <tdevries@suse.de>
4672 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
4673 command output and paste it into gdb.log. If any, paste catch message
4676 2020-02-07 Tom Tromey <tromey@adacore.com>
4678 PR breakpoints/24915:
4679 * gdb.base/annotate-symlink.exp: Use setup_xfail.
4681 2020-02-06 Shahab Vahedi <shahab@synopsys.com>
4683 * gdb.tui/tui-missing-src.exp: Add the "missing source
4684 file" test for the TUI.
4686 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
4688 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
4689 including a port number in the output.
4691 2020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
4693 * lib/fortran.exp (fortran_int4): Handle clang.
4694 (fortran_int8): Likewise.
4695 (fortran_real4): Likewise.
4696 (fortran_real8): Likewise.
4697 (fortran_complex4): Likewise.
4698 (fortran_logical4): Likewise.
4699 (fortran_character1): Likewise.
4701 2020-02-04 Tom de Vries <tdevries@suse.de>
4703 * README (Race detection): Add note.
4705 2020-02-04 Tom de Vries <tdevries@suse.de>
4707 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
4709 2020-02-04 Tom de Vries <tdevries@suse.de>
4711 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
4713 2020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
4715 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
4716 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
4717 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
4719 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
4720 binary for blttar, bnetarl.
4721 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
4722 wait instruction. Delete ldmx test.
4723 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
4725 2020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
4727 * gdb.fortran/array-bounds-high.exp: New file.
4728 * gdb.fortran/array-bounds-high.f90: New file.
4730 2020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
4732 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
4733 Replace #include of <sys/fcntl.h> by <fcntl.h>.
4735 2020-02-01 Tom de Vries <tdevries@suse.de>
4737 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
4739 2020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
4742 * gdb.tui/tui-layout-asm-short-prog.S: New file.
4743 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
4745 2020-01-29 Luis Machado <luis.machado@linaro.org>
4747 * gdb.arch/aarch64-brk-patterns.c: New source file.
4748 * gdb.arch/aarch64-brk-patterns.exp: New test.
4750 2020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4752 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
4754 * gdb.cp/pass-by-ref.exp: Ditto.
4756 2020-01-29 Tom de Vries <tdevries@suse.de>
4758 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
4759 * gdb.threads/watchpoint-fork-mt.c: Same.
4760 * gdb.threads/watchpoint-fork-parent.c: Same.
4761 * gdb.threads/watchpoint-fork-st.c: Same.
4762 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
4764 2020-01-27 Luis Machado <luis.machado@linaro.org>
4766 * gdb.base/step-over-syscall.exp (setup): Check if we're already
4767 sitting at a syscall instruction when we hit the syscall function's
4769 Check PC against one obtained with the x command.
4770 Validate syscall number.
4771 (step_over_syscall): Don't continue to the syscall instruction if
4772 we're already there.
4774 2020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4776 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
4778 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4780 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
4781 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
4783 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4785 * gdb.dwarf2/dw2-inline-stepping.c: New file.
4786 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
4788 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4790 * gdb.base/maint.exp: Update line table parsing test.
4791 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
4793 2020-01-24 Pedro Alves <palves@redhat.com>
4796 * gdb.multi/multi-re-run-1.c: New.
4797 * gdb.multi/multi-re-run-2.c: New.
4798 * gdb.multi/multi-re-run.exp: New.
4800 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4803 * gdb.server/server-kill-python.exp: New file.
4805 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4807 * gdb.server/multi-ui-errors.c: New file.
4808 * gdb.server/multi-ui-errors.exp: New file.
4810 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4813 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
4815 2020-01-19 Tom Tromey <tom@tromey.com>
4817 * gdb.tui/main.exp: Add check for plain "file".
4819 2020-01-16 Christian Biesinger <cbiesinger@google.com>
4821 * lib/gdb.exp: Fix spelling error (seperatelly).
4823 2020-01-14 Tom Tromey <tom@tromey.com>
4826 * gdb.python/python.exp: Test decode_line with empty string
4829 2020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
4831 * gdb.base/skip-inline.exp: Extend test.
4833 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
4835 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
4836 * gdb.dwarf2/dw2-bad-elf.c: New file.
4837 * gdb.dwarf2/dw2-bad-elf.exp: New file.
4839 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
4841 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
4844 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
4846 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
4849 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4851 * gdb.multi/multi-target.exp (setup): Factor out "info
4852 connections" and "info inferiors" tests to ...
4853 (test_info_inferiors): ... this new procedure.
4854 (top level): Run new "info-inferiors" tests.
4856 2020-01-10 Pedro Alves <palves@redhat.com>
4858 * gdb.server/bkpt-other-inferior.exp: New file.
4860 2020-01-10 Pedro Alves <palves@redhat.com>
4862 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
4864 * gdb.base/quit-live.exp: Likewise.
4865 * gdb.base/remote-exec-file.exp: Likewise.
4866 * gdb.guile/scm-progspace.exp: Likewise.
4867 * gdb.linespec/linespec.exp: Likewise.
4868 * gdb.mi/new-ui-mi-sync.exp: Likewise.
4869 * gdb.mi/user-selected-context-sync.exp: Likewise.
4870 * gdb.multi/multi-target.exp (setup): Add "info connection" and
4871 "info inferiors" tests.
4872 * gdb.multi/remove-inferiors.exp: Adjust expected output of
4874 * gdb.multi/watchpoint-multi.exp: Likewise.
4875 * gdb.python/py-inferior.exp: Likewise.
4876 * gdb.server/extended-remote-restart.exp: Likewise.
4877 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
4879 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
4880 * gdb.trace/report.exp: Likewise.
4882 2020-01-10 Pedro Alves <palves@redhat.com>
4884 * gdb.multi/multi-target.c: New file.
4885 * gdb.multi/multi-target.exp: New file.
4886 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
4887 mode requested, but remote does not support non-stop".
4889 2020-01-10 Pedro Alves <palves@redhat.com>
4891 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
4892 disconnect before reconnecting.
4894 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4895 Pedro Alves <palves@redhat.com>
4897 * gdb.server/connect-without-multi-process.exp: Also test
4900 2020-01-10 Pedro Alves <palves@redhat.com>
4902 * gdb.base/remote-exec-file.exp: New file.
4904 2020-01-10 Pedro Alves <palves@redhat.com>
4906 * gdb.base/fork-running-state.exp (do_test): Adjust expected
4908 * gdb.threads/async.c: New.
4909 * gdb.threads/async.exp: New.
4910 * gdb.multi/tids-gid-reset.c: New.
4911 * gdb.multi/tids-gid-reset.exp: New.
4913 2020-01-10 George Barrett <bob@bob131.so>
4915 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
4916 to help in finding the image relocation offset.
4917 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
4918 options in arguments.
4919 (stap_test_no_debuginfo): Likewise.
4920 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
4922 (stap_test): Add null semaphore relocation test.
4924 2020-01-10 George Barrett <bob@bob131.so>
4926 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
4927 * gdb.base/stap-probe.exp: Likewise.
4928 (stap_test): Pass argument as an additional flag.
4929 (stap_test_no_debuginfo): Likewise.
4930 (stap_test): Check `info probes stap' output for semaphore
4931 addresses if the test binary is supposed to have them.
4933 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4935 * gdb.tui/basic.exp: Add more scrolling tests.
4937 2020-01-09 Tom Tromey <tom@tromey.com>
4940 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
4942 (Term::command, Term::resize): Update.
4943 * gdb.tui/basic.exp: Add scrolling test.
4945 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4947 * gdb.tui/tui-layout-asm.exp: New file.
4949 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4951 * lib/tuiterm.exp (Term::check_box_contents): New proc.
4953 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4955 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
4956 (Term::enter_tui): Use Term::prepare_for_tui.
4958 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4960 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
4963 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4965 * gdb.base/skip.exp: Fix race condition in test.
4967 2020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
4969 * gdb.base/backtrace.c: New file.
4970 * gdb.base/backtrace.exp: New file.
4972 2020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
4974 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
4976 2020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4978 * gdb.base/style.exp: Test that warnings are styled.
4980 2019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
4982 * gdb.base/line65535.exp: New file.
4983 * gdb.base/line65535.c: New file.
4985 2019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
4987 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
4988 * lib/gnat_debug_info_test.adb: New file.
4989 * gdb.ada/ptype_tagged_param.exp: Use
4990 gnat_runtime_has_debug_info, expect a different output if
4991 runtime does not have debug info.
4993 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
4995 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
4996 (another) quote in test name.
4998 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
5000 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
5001 Add quote in test name.
5003 2019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5005 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
5007 * gdb.cp/pass-by-ref.exp: Extend with more cases.
5008 * gdb.cp/pass-by-ref-2.cc: New file.
5009 * gdb.cp/pass-by-ref-2.exp: New file.
5011 2019-12-20 Tom Tromey <tom@tromey.com>
5013 * gdb.tui/list-before.exp: New file.
5015 2019-12-20 Tom Tromey <tom@tromey.com>
5017 * gdb.tui/list.exp: Check for source on initial listing.
5019 2019-12-11 Tom Tromey <tromey@adacore.com>
5021 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
5024 2019-12-18 Simon Marchi <simon.marchi@efficios.com>
5026 * gdb.base/default.exp: Update value of $_gdb_major.
5028 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
5030 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
5032 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
5034 * gdb.base/skip.exp: Whitespace fix.
5036 2019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
5038 * gdb.base/skip-inline.c: New file.
5039 * gdb.base/skip-inline.exp: New file.
5041 2019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
5043 * gdb.base/jit-reader.exp (jit_reader_test): Rename
5044 jit_function_00 to jit_function_stack_mangle.
5045 * gdb.base/jithost.c (jit_function_t): Rename to...
5046 (jit_function_stack_mangle_t): ... this.
5047 (jit_function_add_t): New typedef.
5048 (jit_function_00_code): Rename to...
5049 (jit_function_stack_mangle_code): ... this, make static.
5050 (jit_function_add_code): New.
5051 (main): Generate "add" function and call it. Adjust to changes
5053 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
5054 (struct jithost_abi) <begin, end>: Remove fields.
5055 <object, function_stack_mangle, function_add>: New fields.
5056 * gdb.base/jitreader.c (struct reader_state) <code_begin,
5057 code_end>: Remove fields.
5058 <func_stack_mangle>: New field.
5059 (read_debug_info): Adjust to renaming, create block for "add"
5061 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
5063 2019-12-11 Tom Tromey <tom@tromey.com>
5065 * gdb.tui/resize.exp: Fix regexp.
5066 * gdb.tui/regs.exp: Fix regexps.
5067 * gdb.tui/main.exp: Fix regexp.
5069 2019-12-11 Tom Tromey <tom@tromey.com>
5071 * gdb.tui/resize.exp: Update.
5072 * gdb.tui/empty.exp (layouts): Update.
5074 2019-12-11 Tom Tromey <tom@tromey.com>
5076 * gdb.tui/regs.exp: Update.
5077 * gdb.tui/empty.exp (layouts): Update.
5078 * gdb.tui/basic.exp: Update.
5079 * lib/tuiterm.exp (_check_box): Don't check bottom border.
5081 2019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5083 * gdb.base/options.exp: Add -raw-values in the print completion list.
5084 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
5086 2019-12-10 Kevin Buettner <kevinb@redhat.com>
5088 * gdb.threads/omp-par-scope.c: New file.
5089 * gdb/threads/omp-par-scope.exp: New file.
5091 2019-12-10 Kevin Buettner <kevinb@redhat.com>
5093 * lib/gdb.exp (support_nested_function_tests): New proc.
5095 2019-12-10 Kevin Buettner <kevinb@redhat.com>
5097 * lib/gdb.exp (gdb_compile_openmp): New proc.
5098 (build_executable_from_specs): Add an "openmp" option.
5099 (gdb_compile_pthreads): Add non-executable case.
5101 2019-12-10 Tom Tromey <tromey@adacore.com>
5103 * gdb.ada/unchecked_union.exp: New file.
5104 * gdb.ada/unchecked_union/pck.adb: New file.
5105 * gdb.ada/unchecked_union/pck.ads: New file.
5106 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
5107 * gdb-utils.exp (string_to_regexp): Also quote "?".
5109 2019-12-10 George Barrett <bob@bob131.so>
5111 Test scripted probe breakpoints.
5112 * gdb.guile/scm-breakpoint.c (main): Add probe point.
5113 * gdb.python/py-breakpoint.c (main): Likewise.
5114 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
5116 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
5118 2019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5120 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
5121 an rvalue parameter.
5122 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
5125 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
5127 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
5130 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
5132 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
5133 broken version of GCC.
5135 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
5137 * gdb.fortran/info-modules.exp: Rewrite to make use of new
5138 sym-info-cmds library.
5139 * gdb.fortran/info-types.exp: Likewise.
5140 * lib/sym-info-cmds.exp: New file.
5142 2019-12-08 Tom de Vries <tdevries@suse.de>
5144 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
5146 2019-12-07 Keith Seitz <keiths@redhat.com>
5148 * gdb.base/corefile-buildid-shlib-shr.c: New file.
5149 * gdb.base/corefile-buildid-shlib.c: New file.
5150 * gdb.base/corefile-buildid.c: New file.
5151 * gdb.base/corefile-buildid.exp: New file.
5153 2019-12-06 Tom de Vries <tdevries@suse.de>
5155 * gdb.dwarf2/varval.exp: Add decl before def test.
5157 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5159 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
5161 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
5163 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
5164 CV and reference conversion for overload resolution.
5165 * gdb.cp/rvalue-ref-overload.exp: Test it.
5167 2019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5169 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
5170 * gdb.base/frameapply.exp: Test faas without command.
5172 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5174 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
5176 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
5179 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5181 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
5182 casting to type with no kind specified.
5183 (test_basic_parsing_of_type_kinds): Additional tests for types
5184 with no kind specified, and add tests for single/double
5185 precision/complex types.
5187 2019-12-04 Tom Tromey <tromey@adacore.com>
5189 * gdb.base/endianity.c (struct other) <x>: New field.
5190 (main): Initialize it.
5191 * gdb.base/endianity.exp: Update.
5193 2019-12-04 Tom Tromey <tromey@adacore.com>
5195 * gdb.ada/scalar_storage/storage.adb: New file.
5196 * gdb.ada/scalar_storage/pck.adb: New file.
5197 * gdb.ada/scalar_storage/pck.ads: New file.
5198 * gdb.ada/scalar_storage.exp: New file.
5200 2019-12-04 Tom Tromey <tromey@adacore.com>
5202 * gdb.base/endianity.c (struct otherendian) <f>: New field.
5203 (main): Initialize it.
5204 * gdb.base/endianity.exp: Update.
5206 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5208 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
5210 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
5212 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
5213 -symbol-info-module-functions and -symbol-info-module-variables.
5215 2019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
5217 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
5219 2019-12-01 Richard Bunt <richard.bunt@arm.com>
5220 Andrew Burgess <andrew.burgess@embecosm.com>
5222 * gdb.fortran/derived-type-striding.exp: New file.
5223 * gdb.fortran/derived-type-striding.f90: New file.
5224 * gdb.fortran/array-slices.exp: New file.
5225 * gdb.fortran/array-slices.f90: New file.
5227 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5229 * gdb.base/define.exp: Test . in command names.
5230 * gdb.base/setshow.exp: Update test, as . is now part of
5233 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5235 * gdb.base/define-prefix.exp: New file.
5237 2019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
5239 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
5241 (skip_btrace_pt_tests): Likewise.
5243 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
5245 * gdb.fortran/info-modules.exp: Compile source files in correct
5248 2019-11-27 Kevin Buettner <kevinb@redhat.com>
5250 * gdb.dwarf2/imported-unit.exp: New file.
5251 * gdb.dwarf2/imported-unit.c: New file.
5253 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
5255 * gdb.mi/mi-fortran-modules-2.f90: New file.
5256 * gdb.mi/mi-fortran-modules.exp: New file.
5257 * gdb.mi/mi-fortran-modules.f90: New file.
5259 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
5261 * gdb.mi/mi-sym-info-1.c: New file.
5262 * gdb.mi/mi-sym-info-2.c: New file.
5263 * gdb.mi/mi-sym-info.exp: New file.
5265 2019-11-22 Tom Tromey <tromey@adacore.com>
5267 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
5268 * gdb.ada/tasks/foo.adb: Add another stopping location.
5270 2019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
5272 * gdb.base/endianity.c: New test.
5273 * gdb.base/endianity.exp: New file.
5275 2019-11-21 Lukas Durfina <ldurfina@tachyum.com>
5277 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
5279 2019-11-21 Tom de Vries <tdevries@suse.de>
5282 * gdb.base/ui-redirect.exp: Test output of user-defined command.
5284 2019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5286 * gdb.python/py-progspace.exp: Add missing parentheses on some
5289 2019-11-19 Tom Tromey <tom@tromey.com>
5291 * gdb.tui/winheight.exp: New file.
5293 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
5295 * gdb.base/ctf-whatis.c: Delete.
5296 * gdb.base/ctf-whatis.exp: Delete.
5297 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
5299 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
5301 * gdb.base/ctf-cvexpr.exp: Delete.
5302 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
5304 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
5306 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
5307 the compiler. Clean up header comment a little.
5308 * gdb.base/ctf-ptype.exp: Likewise.
5309 * gdb.base/ctf-whatis.exp: Likewise.
5310 * lib/gdb.exp (skip_ctf_tests): New proc.
5312 2019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
5314 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
5315 * gdb.tui/corefile-run.exp: New file.
5317 2019-11-14 Tom Tromey <tromey@adacore.com>
5319 * gdb.base/gdbvars.exp (test_convenience_variables): Add
5322 2019-11-12 Tom Tromey <tom@tromey.com>
5324 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
5325 after any command. Expect prompt after WAIT_FOR is seen.
5326 (enter_tui): Enable resize messages.
5327 (command): Expect command in output.
5328 (get_line): Avoid error when cursor appears to be off-screen.
5329 (dump_screen): Include screen size in title.
5330 (_do_resize): New proc, from "resize".
5331 (resize): Rewrite. Do resize in two steps.
5332 * gdb.tui/empty.exp (layouts): Fix entries.
5333 (check_boxes): Remove xfail.
5334 (check_text): Dump screen on failure.
5336 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
5338 * gdb.python/py-symbol.exp: Add test for
5339 gdb.lookup_static_symbols.
5341 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
5343 * gdb.python/py-symbol.c: Declare and call function from new
5345 * gdb.python/py-symbol.exp: Compile both source files, and add new
5346 tests for gdb.lookup_static_symbol.
5347 * gdb.python/py-symbol-2.c: New file.
5349 2019-11-02 Tom de Vries <tdevries@suse.de>
5351 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
5352 * gdb.base/anon.exp: Same.
5353 * gdb.base/auto-connect-native-target.exp: Same.
5354 * gdb.base/call-ar-st.exp: Same.
5355 * gdb.base/catch-syscall.exp: Same.
5356 * gdb.base/commands.exp: Same.
5357 * gdb.base/default.exp: Same.
5358 * gdb.base/display.exp: Same.
5359 * gdb.base/float.exp: Same.
5360 * gdb.base/foll-fork.exp: Same.
5361 * gdb.base/help.exp: Same.
5362 * gdb.base/info-macros.exp: Same.
5363 * gdb.base/info-proc.exp: Same.
5364 * gdb.base/info-target.exp: Same.
5365 * gdb.base/long_long.exp: Same.
5366 * gdb.base/macscp.exp: Same.
5367 * gdb.base/memattr.exp: Same.
5368 * gdb.base/nofield.exp: Same.
5369 * gdb.base/pointers.exp: Same.
5370 * gdb.base/printcmds.exp: Same.
5371 * gdb.base/ptype.exp: Same.
5372 * gdb.base/restore.exp: Same.
5373 * gdb.base/return.exp: Same.
5374 * gdb.base/scope.exp: Same.
5375 * gdb.base/set-noassign.exp: Same.
5376 * gdb.base/setshow.exp: Same.
5377 * gdb.base/shlib-call.exp: Same.
5378 * gdb.base/signals.exp: Same.
5379 * gdb.base/sigstep.exp: Same.
5380 * gdb.base/skip.exp: Same.
5381 * gdb.base/solib-symbol.exp: Same.
5382 * gdb.base/stap-probe.exp: Same.
5383 * gdb.base/step-line.exp: Same.
5384 * gdb.base/step-test.exp: Same.
5385 * gdb.base/style.exp: Same.
5386 * gdb.base/varargs.exp: Same.
5387 * gdb.base/vla-datatypes.exp: Same.
5388 * gdb.base/vla-ptr.exp: Same.
5389 * gdb.base/vla-sideeffect.exp: Same.
5390 * gdb.base/volatile.exp: Same.
5391 * gdb.base/watch-cond-infcall.exp: Same.
5392 * gdb.base/watchpoint.exp: Same.
5394 2019-11-02 Tom de Vries <tdevries@suse.de>
5396 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
5397 * gdb.cp/cpexprs.exp: Same.
5398 * gdb.cp/except-multi-location.exp: Same.
5399 * gdb.cp/exceptprint.exp: Same.
5400 * gdb.cp/gdb2384.exp: Same.
5401 * gdb.cp/inherit.exp: Same.
5402 * gdb.cp/m-static.exp: Same.
5403 * gdb.cp/meth-typedefs.exp: Same.
5404 * gdb.cp/misc.exp: Same.
5405 * gdb.cp/namespace.exp: Same.
5406 * gdb.cp/non-trivial-retval.exp: Same.
5407 * gdb.cp/overload.exp: Same.
5408 * gdb.cp/pr17132.exp: Same.
5409 * gdb.cp/re-set-overloaded.exp: Same.
5410 * gdb.cp/rvalue-ref-types.exp: Same.
5411 * gdb.cp/templates.exp: Same.
5413 2019-11-01 Luis Machado <luis.machado@linaro.org>
5417 * gdb.arch/pr25124.S: New file.
5418 * gdb.arch/pr25124.exp: New file.
5420 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5422 * gdb.fortran/info-modules.exp: Update expected results, and add
5423 additional tests for 'info module functinos', and 'info module
5425 * gdb.fortran/info-types.exp: Update expected results.
5426 * gdb.fortran/info-types.f90: Extend testcase with additional
5427 module variables and functions.
5429 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5431 * gdb.fortran/info-modules.exp: New file.
5432 * gdb.fortran/info-types.exp: Build with new file.
5433 * gdb.fortran/info-types.f90: Include and use new module.
5434 * gdb.fortran/info-types-2.f90: New file.
5436 2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5438 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
5439 * gdb.base/settings.exp: Test all settings types using
5440 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
5441 that now verifies that the value of "maint show" is the same as
5442 returned by the settings functions. Test the type of the
5443 maintenance settings.
5444 * gdb.base/default.exp: Update show_conv_list.
5446 2019-10-31 Tom de Vries <tdevries@suse.de>
5448 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
5450 * gdb.arch/amd64-disp-step.exp: Same.
5451 * gdb.asm/asm-source.exp: Same.
5452 * gdb.btrace/buffer-size.exp: Same.
5453 * gdb.btrace/cpu.exp: Same.
5454 * gdb.btrace/enable.exp: Same.
5455 * gdb.dwarf2/count.exp: Same.
5456 * gdb.dwarf2/dw2-ranges-func.exp: Same.
5457 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
5458 * gdb.fortran/vla-datatypes.exp: Same.
5459 * gdb.fortran/vla-history.exp: Same.
5460 * gdb.fortran/vla-ptype.exp: Same.
5461 * gdb.fortran/vla-value.exp: Same.
5462 * gdb.fortran/whatis_type.exp: Same.
5463 * gdb.guile/guile.exp: Same.
5464 * gdb.multi/tids.exp: Same.
5465 * gdb.python/py-finish-breakpoint.exp: Same.
5466 * gdb.python/py-framefilter.exp: Same.
5467 * gdb.python/py-pp-registration.exp: Same.
5468 * gdb.python/py-xmethods.exp: Same.
5469 * gdb.python/python.exp: Same.
5470 * gdb.server/connect-with-no-symbol-file.exp: Same.
5471 * gdb.server/no-thread-db.exp: Same.
5472 * gdb.server/run-without-local-binary.exp: Same.
5473 * gdb.stabs/weird.exp: Same.
5474 * gdb.threads/attach-many-short-lived-threads.exp: Same.
5475 * gdb.threads/thread-find.exp: Same.
5476 * gdb.threads/tls-shared.exp: Same.
5477 * gdb.threads/tls.exp: Same.
5478 * gdb.threads/wp-replication.exp: Same.
5479 * gdb.trace/ax.exp: Same.
5480 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
5482 2019-10-31 Tom de Vries <tdevries@suse.de>
5484 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
5485 * gdb.ada/array_subscript_addr.exp: Same.
5486 * gdb.ada/arrayidx.exp: Same.
5487 * gdb.ada/arrayparam.exp: Same.
5488 * gdb.ada/arrayptr.exp: Same.
5489 * gdb.ada/boolean_expr.exp: Same.
5490 * gdb.ada/call_pn.exp: Same.
5491 * gdb.ada/complete.exp: Same.
5492 * gdb.ada/fixed_cmp.exp: Same.
5493 * gdb.ada/fun_addr.exp: Same.
5494 * gdb.ada/funcall_param.exp: Same.
5495 * gdb.ada/interface.exp: Same.
5496 * gdb.ada/mod_from_name.exp: Same.
5497 * gdb.ada/null_array.exp: Same.
5498 * gdb.ada/packed_array.exp: Same.
5499 * gdb.ada/packed_tagged.exp: Same.
5500 * gdb.ada/print_chars.exp: Same.
5501 * gdb.ada/print_pc.exp: Same.
5502 * gdb.ada/ptype_arith_binop.exp: Same.
5503 * gdb.ada/ptype_field.exp: Same.
5504 * gdb.ada/ptype_tagged_param.exp: Same.
5505 * gdb.ada/rec_return.exp: Same.
5506 * gdb.ada/ref_tick_size.exp: Same.
5507 * gdb.ada/str_ref_cmp.exp: Same.
5508 * gdb.ada/taft_type.exp: Same.
5509 * gdb.ada/tagged.exp: Same.
5510 * gdb.ada/type_coercion.exp: Same.
5511 * gdb.ada/uninitialized_vars.exp: Same.
5513 2019-10-30 Tom de Vries <tdevries@suse.de>
5515 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
5517 2019-10-26 Tom de Vries <tdevries@suse.de>
5519 * gdb.base/bigcore.c: Fix typos in comments.
5520 * gdb.base/ctf-ptype.c: Same.
5521 * gdb.base/long_long.c: Same.
5522 * gdb.dwarf2/dw2-op-out-param.S: Same.
5523 * gdb.python/py-evthreads.c: Same.
5524 * gdb.reverse/i387-stack-reverse.c: Same.
5525 * gdb.trace/tfile.c: Same.
5526 * lib/compiler.c: Same.
5527 * lib/compiler.cc: Same.
5529 2019-10-25 Tom de Vries <tdevries@suse.de>
5531 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
5532 gdb_test_multiple calls.
5533 * gdb.reverse/sigall-reverse.exp: Same.
5534 * gdb.reverse/solib-precsave.exp: Same.
5535 * gdb.reverse/solib-reverse.exp: Same.
5536 * gdb.reverse/until-precsave.exp: Same.
5537 * gdb.reverse/until-reverse.exp: Same.
5539 2019-10-24 Tom de Vries <tdevries@suse.de>
5541 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
5542 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
5543 kfail using -wrap pattern flag and convenience variable
5546 2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
5548 * gdb.python/py-progspace.exp: Add tests for the
5549 Progspace.block_for_pc method.
5551 2019-10-23 Tom Tromey <tom@tromey.com>
5553 * configure: Rebuild.
5554 * aclocal.m4: Use m4_include, not sinclude.
5556 2019-10-21 Tom de Vries <tdevries@suse.de>
5558 * gdb.base/infcall-nested-structs.c: Add
5559 __attribute__((noinline,noclone)) to all functions.
5560 (call_all): Add missing variable initialization. Simplify return value.
5561 (breakpt): Increment volatile variable, to prevent call from being
5563 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
5565 2019-10-17 Tom de Vries <tdevries@suse.de>
5567 * gdb.fortran/module.exp: Allow info variables to print info for files
5568 other than module.f90.
5570 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
5572 * gdb.fortran/module.exp: Extend with 'info variables' test.
5574 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
5576 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
5579 2019-10-16 Tom de Vries <tdevries@suse.de>
5582 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
5584 2019-10-16 Tom de Vries <tdevries@suse.de>
5587 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
5588 Add KFAIL for PR tdep/25096.
5590 2019-10-16 Tom de Vries <tdevries@suse.de>
5593 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
5595 2019-10-16 Tom de Vries <tdevries@suse.de>
5597 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
5600 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
5602 * gdb.mi/list-thread-groups-available.exp: Read entries one by
5603 one instead of increasing timeout.
5605 2019-10-13 Tom de Vries <tdevries@suse.de>
5608 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
5609 * gdb.reverse/sigall-reverse.exp: Same.
5610 * gdb.reverse/solib-precsave.exp: Same.
5611 * gdb.reverse/solib-reverse.exp: Same.
5612 * gdb.reverse/step-precsave.exp: Same.
5613 * gdb.reverse/until-precsave.exp: Same.
5614 * gdb.reverse/until-reverse.exp: Same.
5615 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
5617 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
5619 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
5620 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
5621 (cmp_struct_05_01, cmp_struct_static_02_01)
5622 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
5625 2019-10-10 Tom de Vries <tdevries@suse.de>
5628 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
5631 2019-10-09 Tom de Vries <tdevries@suse.de>
5634 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
5636 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
5638 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
5639 exceptions due to missing debug information.
5641 2019-10-07 Tom de Vries <tdevries@suse.de>
5643 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
5645 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
5647 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
5648 * gdb.base/annota1.exp: Update to use gdb_test_name.
5650 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
5652 * gdb.base/ctf-whatis.exp: New file.
5653 * gdb.base/ctf-whatis.c: New file.
5654 * gdb.base/ctf-ptype.exp: New file.
5655 * gdb.base/ctf-ptype.c: New file.
5656 * gdb.base/ctf-constvars.exp: New file.
5657 * gdb.base/ctf-constvars.c: New file.
5658 * gdb.base/ctf-cvexpr.exp: New file.
5660 2019-10-04 Tom de Vries <tdevries@suse.de>
5662 * gdb.cp/local-static.c (main): Move declaration of int i out of the
5665 2019-10-03 Tom Tromey <tom@tromey.com>
5668 * gdb.rust/simple.rs (Union2): New type.
5670 * gdb.rust/simple.exp: Add test.
5672 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5674 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
5675 nested function prefix.
5677 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
5678 Richard Bunt <richard.bunt@arm.com>
5679 Andrew Burgess <andrew.burgess@embecosm.com>
5681 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
5683 * gdb.fortran/nested-funcs.f90: Update expected results.
5684 * gdb.fortran/nested-funcs-2.exp: New file.
5685 * gdb.fortran/nested-funcs-2.f90: New file.
5687 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5689 * gdb.python/py-parameter.exp: Make test names unique.
5690 * gdb.python/py-template.exp: Likewise.
5691 * gdb.python/py-value.exp: Likewise.
5693 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5695 * gdb.base/break-interp.exp: Reduce test name duplication.
5696 * gdb.base/call-sc.exp: Likewise.
5697 * gdb.base/callfuncs.exp: Likewise.
5698 * gdb.base/charset.exp: Likewise.
5699 * gdb.base/dump.exp: Likewise.
5700 * gdb.base/ena-dis-br.exp: Likewise.
5701 * gdb.base/relational.exp: Likewise.
5702 * gdb.base/step-over-syscall.exp: Likewise.
5703 * gdb.base/structs.exp: Likewise.
5705 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5707 * gdb.linespec/explicit.exp: Make test names unique.
5708 * gdb.linespec/ls-errs.exp: Likewise.
5710 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5712 * gdb.reverse/break-precsave.exp: Make test names unique.
5713 * gdb.reverse/break-reverse.exp: Likewise.
5714 * gdb.reverse/finish-precsave.exp: Likewise.
5715 * gdb.reverse/finish-reverse.exp: Likewise.
5716 * gdb.reverse/machinestate-precsave.exp: Likewise.
5717 * gdb.reverse/machinestate.exp: Likewise.
5718 * gdb.reverse/readv-reverse.exp: Likewise.
5719 * gdb.reverse/recvmsg-reverse.exp: Likewise.
5720 * gdb.reverse/sigall-precsave.exp: Likewise.
5721 * gdb.reverse/sigall-reverse.exp: Likewise.
5722 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
5723 * gdb.reverse/watch-precsave.exp: Likewise.
5724 * gdb.reverse/watch-reverse.exp: Likewise.
5726 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5728 * gdb.threads/stop-with-handle.c: New file.
5729 * gdb.threads/stop-with-handle.exp: New file.
5731 2019-10-03 Tom de Vries <tdevries@suse.de>
5734 * gdb.base/list-missing-source.exp: Allowing the "Compilation
5735 directory" line to be missing.
5737 2019-10-03 Tom de Vries <tdevries@suse.de>
5740 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
5743 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
5745 * gdb.python/py-format-string.c (string.h): New include.
5746 (main): Fill a_struct_with_union.the_union.an_int with bytes of
5747 the same value, for endianness-independence.
5748 * gdb.python/py-format-string.exp (default_regexp_dict)
5749 (test_pretty_structs, test_format): Adjust expected output to the
5750 changed initialization.
5752 2019-10-02 Tom Tromey <tromey@adacore.com>
5754 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
5756 2019-10-02 Pedro Alves <palves@redhat.com>
5757 Andrew Burgess <andrew.burgess@embecosm.com>
5759 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
5761 (this_version_id) Use ATTRIBUTE_VISIBILITY.
5762 (get_version_1): Print this_version_id and its address.
5763 Add extern "C" wrappers around interface functions.
5764 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
5766 (this_version_id) Use ATTRIBUTE_VISIBILITY.
5767 (get_version_2): Print this_version_id and its address.
5768 Add extern "C" wrappers around interface functions.
5769 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
5770 <stddef.h> and "print-file-var.h".
5771 Add extern "C" wrappers around interface functions.
5772 [VERSION_ID_MAIN] (this_version_id): Define.
5773 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
5774 * gdb.base/print-file-var.h: Add some #defines to simplify setting
5775 up extern "C" blocks.
5776 * gdb.base/print-file-var.exp (test): New, factored out from top
5778 (top level): Test all combinations of attribute hidden or not,
5779 dlopen or not, and this_version_id symbol in main file or not.
5780 Compile tests as both C++ and C, make test names unique.
5782 2019-10-01 Tom Tromey <tom@tromey.com>
5784 * gdb.base/style.exp: Test "show logging filename".
5786 2019-10-01 Tom Tromey <tom@tromey.com>
5788 * lib/gdb-utils.exp (style): Handle "metadata" argument.
5789 * gdb.base/style.exp: Add metadata style test.
5791 2019-10-01 Tom Tromey <tom@tromey.com>
5793 * gdb.base/style.exp: Test "pwd".
5795 2019-10-01 Tom Tromey <tom@tromey.com>
5797 * gdb.base/style.exp: Update tests.
5799 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
5801 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
5803 (s1): Initialize fields 'four' and 'six' instead of 'three' and
5804 'five'. Use an all-ones bit pattern for each.
5805 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
5806 to its changed values.
5808 2019-09-30 Tom Tromey <tromey@adacore.com>
5810 * gdb.rust/traits.rs: Disable all warnings.
5812 2019-09-29 Tom de Vries <tdevries@suse.de>
5814 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
5816 2019-09-29 Tom de Vries <tdevries@suse.de>
5818 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
5820 2019-09-27 Tom de Vries <tdevries@suse.de>
5822 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
5824 2019-09-27 Tom de Vries <tdevries@suse.de>
5827 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
5829 2019-09-26 Tom Tromey <tromey@adacore.com>
5831 * gdb.ada/py_taft.exp: New file.
5832 * gdb.ada/py_taft/main.adb: New file.
5833 * gdb.ada/py_taft/pkg.adb: New file.
5834 * gdb.ada/py_taft/pkg.ads: New file.
5836 2019-09-24 Tom de Vries <tdevries@suse.de>
5839 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
5841 2019-09-22 Tom de Vries <tdevries@suse.de>
5843 * gdb.base/restore.exp: Allow register variables to be optimized out at
5846 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
5848 * gdb.arch/spu-info.exp: Remove file.
5849 * gdb.arch/spu-info.c: Remove file.
5850 * gdb.arch/spu-ls.exp: Remove file.
5851 * gdb.arch/spu-ls.c: Remove file.
5853 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
5854 * gdb.asm/spu.inc: Remove file.
5856 * gdb.base/dump.exp: Remove support for spu*-*-*.
5857 * gdb.base/stack-checking.exp: Likewise.
5858 * gdb.base/overlays.exp: Likewise.
5859 * gdb.base/ovlymgr.c: Likewise.
5860 * gdb.base/spu.ld: Remove file.
5862 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
5863 * gdb.cp/cpexprs.exp: Likewise.
5864 * gdb.cp/exception.exp: Likewise.
5865 * gdb.cp/gdb2495.exp: Likewise.
5866 * gdb.cp/mb-templates.exp: Likewise.
5867 * gdb.cp/pr9167.exp: Likewise.
5868 * gdb.cp/userdef.exp: Likewise.
5870 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
5872 * gdb.cell: Remove directory.
5873 * lib/cell.exp: Remove file.
5875 2019-09-19 Tom de Vries <tdevries@suse.de>
5877 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
5879 2019-09-19 Tom de Vries <tdevries@suse.de>
5881 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
5883 2019-09-19 Tom de Vries <tdevries@suse.de>
5885 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
5886 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
5887 (gdb_target_cmd): ... here.
5888 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
5891 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
5893 * gdb.base/source-dir.exp: Avoid having directory names in test
5896 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
5898 * gdb.base/source-dir.exp: Add extra test for mapped compilation
5901 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
5903 * gdb.base/list-missing-source.exp: New file.
5905 2019-09-14 Tom de Vries <tdevries@suse.de>
5908 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
5909 * lib/ada.exp (gnatmake_version_at_least): New proc.
5911 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
5913 * gdb.base/maint.exp: Use exec_has_index_section.
5915 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
5917 * gdb.base/maint.exp: Add test for 'maint info sections'.
5919 2019-09-12 Tom de Vries <tdevries@suse.de>
5921 * gdb.base/store.exp: Allow register variables to be optimized out at
5924 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5926 * gdb.ada/rdv_wait.exp: Update to new task names.
5927 * gdb.base/task_switch_in_core.exp: Likewise.
5928 * gdb.base/info_sources_base.c: Likewise.
5930 2019-09-10 Tom Tromey <tromey@adacore.com>
5932 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
5934 2019-09-10 Tom Tromey <tromey@adacore.com>
5936 * gdb.ada/dgopt.exp: New file.
5937 * gdb.ada/dgopt/x.adb: New file.
5939 2019-09-08 Tom Tromey <tom@tromey.com>
5941 * gdb.tui/resize.exp: Remove setup_xfail.
5942 * gdb.tui/regs.exp: Remove setup_xfail.
5943 * gdb.tui/basic.exp: Remove setup_xfail.
5945 2019-09-06 David Blaikie <dblaikie@gmail.com>
5947 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
5948 * gdb.cp/cplabel.exp: Ditto.
5949 * gdb.linespec/ls-errs.exp: Ditto.
5951 2019-09-05 Tom de Vries <tdevries@suse.de>
5953 * lib/gdb.exp (cmp_file_string): New proc.
5954 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
5955 runto_main. Verify save breakpoints output.
5957 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5959 * gdb.base/info-var.exp: Test info variables without running
5960 to main, to avoid expect's buffer overflow.
5962 2019-09-03 Tom Tromey <tromey@adacore.com>
5964 * gdb.ada/bias.exp: New file.
5965 * gdb.ada/bias/bias.adb: New file.
5966 * gdb.ada/print_chars.exp: Add regression test.
5967 * gdb.ada/print_chars/foo.adb (My_Character): New type.
5970 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
5972 * gdb.base/argv0-symlink.exp: Run only on native target
5975 2019-08-29 Tom de Vries <tdevries@suse.de>
5977 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
5979 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
5981 2019-08-28 Tom de Vries <tdevries@suse.de>
5983 * gdb.base/info-var.exp: Allow info variables to print info for files
5984 other than info-var-f1.c and info-var-f2.c.
5986 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
5988 * gdb.fortran/info-types.exp: Add module.
5989 * gdb.fortran/info-types.f90: Update expected results.
5991 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
5993 * gdb.fortran/info-types.exp: New file.
5994 * gdb.fortran/info-types.f90: New file.
5995 * lib/fortran.exp (fortran_character1): New proc.
5997 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
5999 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
6000 functions'. Reindent as needed.
6001 * gdb.base/info-var-f1.c: New file.
6002 * gdb.base/info-var-f2.c: New file.
6003 * gdb.base/info-var.exp: New file.
6004 * gdb.base/info-var.h: New file.
6006 2019-08-26 Tom de Vries <tdevries@suse.de>
6009 * gdb.cp/no-libstdcxx-probe.exp: New test.
6011 2019-08-26 Tom de Vries <tdevries@suse.de>
6013 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
6014 * tests need to be skipped.
6015 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
6016 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
6017 mi_skip_libstdcxx_probe_tests.
6019 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
6021 * gdb.python/py-xmethods.exp: Use raw strings when passing
6022 arguments to SimpleXMethodMatcher.
6024 2019-08-22 Tom de Vries <tdevries@suse.de>
6026 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
6029 2019-08-21 Pedro Alves <palves@redhat.com>
6031 * gdb.base/with.exp: Test "with" with no arguments.
6033 2019-08-21 Tom de Vries <tdevries@suse.de>
6035 * gdb.base/gdb-caching-proc.exp: Sort files.
6037 2019-08-20 Tom de Vries <tdevries@suse.de>
6039 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
6042 2019-08-16 Tom de Vries <tdevries@suse.de>
6044 * gdb.base/compare-sections.exp ("after run to main"): Allow
6045 mismatched read-only sections for PIE executables.
6047 2019-08-16 Tom Tromey <tom@tromey.com>
6049 * lib/tuiterm.exp (_csi_Z): New proc.
6050 * gdb.tui/basic.exp: Update window positions.
6051 * gdb.tui/empty.exp: Update window positions.
6053 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6055 * gdb.base/examine-backward.exp: Correct regexp for
6056 "examine 3 bytes backward from ${address_zero}".
6058 2019-08-15 Tom Tromey <tom@tromey.com>
6060 * gdb.tui/empty.exp: Enable resizing tests.
6062 2019-08-15 Tom Tromey <tromey@adacore.com>
6064 * gdb.ada/char_enum.exp: Add regression tests.
6065 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
6067 (Char, Gchar): Update.
6068 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
6070 2019-08-15 Christian Biesinger <cbiesinger@google.com>
6072 * gdb.python/python.exp: Expect a leading underscore on
6073 GdbOutput{,Error}File.
6075 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6077 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
6080 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
6082 * gdb.base/batch-preserve-term-settings.exp
6083 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
6085 2019-08-15 Christian Biesinger <cbiesinger@google.com>
6087 * lib/gdb.exp: When running on a mingw target, replace
6090 2019-08-14 Alan Hayward <alan.hayward@arm.com>
6092 * gdb.arch/aarch64-prologue.c: New test.
6093 * gdb.arch/aarch64-prologue.exp: New file.
6095 2019-08-13 Tom de Vries <tdevries@suse.de>
6097 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
6100 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
6102 * gdb.python/py-completion.exp: Download the .py file to the host
6103 and use its host pathname. Conditionalize tests that use
6104 tab completion and manipulate files on the build machine.
6105 * gdb.python/py-events.exp: Download the .py file to the host
6106 and use its host pathname.
6107 * gdb.python/py-evsignal.exp: Likewise.
6108 * gdb.python/py-evthreads.exp: Likewise.
6109 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
6111 * gdb.python/py-framefilter.exp: Download the .py file to the right
6112 place on the host. Match Windows pathname syntax.
6113 * gdb.python/py-mi-var-info-path-expression.exp: Download the
6114 .py file to the host and use its host pathname.
6115 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
6116 * gdb.python/py-objfile.exp: Expect a host pathname, not a
6117 build pathname. Skip symlink test on Windows host. Add missing
6118 newline at end of file.
6119 * gdb.python/py-pp-maint.exp: Download the .py file to the host
6120 and use its host pathname.
6121 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
6122 * gdb.python/py-section-script.exp: Use host location of binfile
6123 on safe-path. Use correct path separator on Windows host.
6124 Reorder alternatives in gdb_test_multiple to prevent matching
6125 the wrong alternative on success.
6126 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
6128 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
6130 * gdb.gdb/selftest.exp (test_with_self): Update test to now
6131 expect the GDB inferior to no longer immediately stop after
6132 being resumed with "signal SIGINT".
6134 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
6136 * gdb.linespec/break-ask.exp: Generalize regexps to match
6137 Windows pathnames too.
6139 2019-08-08 Tom de Vries <tdevries@suse.de>
6142 * lib/tuiterm.exp (_accept): Fix CSI regexp.
6144 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6146 * gdb.base/style.exp: Update tests for help doc new invariants.
6147 * gdb.base/help.exp: Likewise.
6149 2019-08-06 Tom Tromey <tom@tromey.com>
6151 * gdb.base/style.exp: Add disassemble test.
6152 * gdb.base/style.c (some_called_function): New function.
6155 2019-08-05 Christian Biesinger <cbiesinger@google.com>
6157 * gdb.python/py-block.exp: Test dictionary access on blocks.
6159 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
6162 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
6163 -list-thread-groups --available test when running under
6166 2019-08-05 Tom de Vries <tdevries@suse.de>
6169 * lib/gdb.exp (with_read1_timeout_factor): New proc.
6170 * gdb.base/help.exp: Use with_read1_timeout_factor.
6171 * gdb.base/info-macros.exp: Same.
6172 * gdb.cp/nested-types.exp: Same.
6174 2019-08-05 Tom de Vries <tdevries@suse.de>
6176 * lib/gdb.exp (version_at_least): Factor out of ...
6177 (tcl_version_at_least): ... here.
6178 (gdb_compile): Fail if pie results in non-PIE executable.
6179 (readelf_version, readelf_prints_pie): New proc.
6180 (exec_is_pie): Return -1 if unknown.
6182 2019-08-05 Tom de Vries <tdevries@suse.de>
6184 * lib/gdb.exp (tcl_version_at_least): Fix typo.
6186 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
6188 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
6190 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
6192 * lib/completion-support.exp (test_gdb_complete_none): Skip
6193 tab completion tests if no readline support.
6194 (test_gdb_complete_unique_re): Likewise.
6195 (test_gdb_complete_multiple): Likewise.
6197 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6199 * gdb.base/info_sources.exp: New file.
6200 * gdb.base/info_sources.c: New file.
6201 * gdb.base/info_sources_base.c: New file.
6203 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
6205 * gdb.base/batch-exit-status.exp: Call test_exit_status with
6207 (test_exit_status): Add prefix argument.
6209 2019-08-01 Tom de Vries <tdevries@suse.de>
6212 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
6213 calling exp_continue for new thread and thread exited messages.
6215 2019-08-01 Tom de Vries <tdevries@suse.de>
6218 * gdb.base/structs.exp: Fix check-read1 timeout using
6220 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
6222 2019-08-01 Tom de Vries <tdevries@suse.de>
6225 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
6228 2019-08-01 Tom de Vries <tdevries@suse.de>
6231 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
6233 2019-07-30 Tom Tromey <tromey@adacore.com>
6235 * gdb.ada/display_nested.exp: New file.
6236 * gdb.ada/display_nested/foo.adb: New file.
6237 * gdb.ada/display_nested/pack.adb: New file.
6238 * gdb.ada/display_nested/pack.ads: New file.
6240 2019-07-30 Christian Biesinger <cbiesinger@google.com>
6242 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
6244 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
6246 2019-07-30 Tom de Vries <tdevries@suse.de>
6248 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
6251 2019-07-30 Tom de Vries <tdevries@suse.de>
6254 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
6255 (exec_is_pie): New proc.
6257 2019-07-29 Christian Biesinger <cbiesinger@google.com>
6259 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
6261 2019-07-29 Christian Biesinger <cbiesinger@google.com>
6263 * gdb.python/py-objfile.c: Add global and static vars.
6264 * gdb.python/py-objfile.exp: Test new functions Objfile.
6265 lookup_global_symbol and lookup_static_symbol.
6267 2019-07-29 Tom Tromey <tom@tromey.com>
6269 * lib/tuiterm.exp (Term::_csi_@): New proc.
6270 (Term::_csi_X): Don't move cursor.
6272 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6274 * gdb.base/options.exp: Update backtrace - completion to
6275 new option -frame-info.
6276 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
6277 Test new 'set print frame-info'. Test backtrace -frame-info
6278 overriding 'set print frame-info'.
6279 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
6280 Test new 'set print frame-info'.
6281 Verify consistency of backtrace with and without filters, with and
6282 without -no-filters.
6283 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
6286 2019-07-29 Tom de Vries <tdevries@suse.de>
6288 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
6291 2019-07-29 Tom de Vries <tdevries@suse.de>
6293 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
6294 is a substring of the first for "complete non-unique file name".
6296 2019-07-29 Tom de Vries <tdevries@suse.de>
6298 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
6301 2019-07-29 Tom de Vries <tdevries@suse.de>
6303 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
6304 Pass prompt_regexp parameter to gdb_test_multiple calls.
6306 2019-07-29 Tom de Vries <tdevries@suse.de>
6308 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
6309 print registers" regexps.
6311 2019-07-29 Tom de Vries <tdevries@suse.de>
6313 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
6315 2019-07-29 Tom de Vries <tdevries@suse.de>
6318 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
6319 (skip_python_tests_prompt): Add prompt_regexp argument to
6320 gdb_test_multiple calls.
6322 2019-07-27 Tom Tromey <tom@tromey.com>
6324 * gdb.tui/main.exp: New file.
6326 2019-07-27 Tom Tromey <tom@tromey.com>
6328 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
6330 * gdb.tui/empty.exp: New file.
6332 2019-07-27 Tom Tromey <tom@tromey.com>
6334 * lib/tuiterm.exp (spawn): New proc.
6335 (Term::resize): New proc.
6336 * gdb.tui/resize.exp: New file.
6338 2019-07-27 Tom Tromey <tom@tromey.com>
6340 * gdb.tui/list.exp: New file.
6342 2019-07-27 Tom Tromey <tom@tromey.com>
6344 * gdb.tui/regs.exp: New file.
6346 2019-07-27 Tom Tromey <tom@tromey.com>
6348 * gdb.tui/basic.exp: Add "layout split" test.
6350 2019-07-27 Tom Tromey <tom@tromey.com>
6352 * gdb.tui/basic.exp: Add "layout asm" test.
6354 2019-07-27 Tom Tromey <tom@tromey.com>
6356 * lib/tuiterm.exp: New file.
6357 * gdb.tui/basic.exp: New file.
6359 2019-07-27 Kevin Buettner <kevinb@redhat.com>
6361 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
6362 Enable tests associated with this flag. Adjust regex
6363 referencing "foo_low" to now refer to "foo_cold" instead.
6365 2019-07-27 Kevin Buettner <kevinb@redhat.com>
6367 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
6368 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
6369 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
6370 foo_cold. Revise comments to match.
6371 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
6372 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
6373 were wrapped into this proc; Call do_test in loop from outermost
6375 (foo_low): Rename all occurrences to "foo_cold".
6376 (backtrace from baz): New test.
6377 (x2/i foo_cold): New test.
6378 (info line *foo_cold): New test.
6380 2019-07-26 Tom de Vries <tdevries@suse.de>
6382 * gdb.arch/i386-pkru.exp: Fix unterminated string.
6384 2019-07-25 Tom de Vries <tdevries@suse.de>
6387 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
6388 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
6389 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
6390 (skip_libstdcxx_probe_tests): ... here.
6391 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
6393 2019-07-24 Tom de Vries <tdevries@suse.de>
6396 * gdb.objc/basicclass.m: Include stdio.h.
6397 * gdb.objc/nondebug.m: Same.
6398 * gdb.objc/objcdecode.m: Same.
6400 2019-07-24 Tom de Vries <tdevries@suse.de>
6403 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
6406 2019-07-24 Tom de Vries <tdevries@suse.de>
6409 * gdb.multi/tids.exp: Update error messages for info threads.
6411 2019-07-24 Tom de Vries <tdevries@suse.de>
6413 * gdb.base/info-types.exp: Allow info types to print info for more than
6416 2019-07-23 Tom de Vries <tdevries@suse.de>
6419 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
6420 gdb_spawn_with_cmdline_opts.
6422 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
6424 * gdb.arch/arm-cmse-sgstubs.c: New test.
6425 * gdb.arch/arm-cmse-sgstubs.exp: New file.
6427 2019-07-23 Tom de Vries <tdevries@suse.de>
6430 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
6431 issuing next command.
6433 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
6435 * gdb.ada/info_auto_lang.exp: Update expected results.
6436 * gdb.base/info-types.c: Add additional types to check.
6437 * gdb.base/info-types.exp: Update expected results.
6439 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
6441 * gdb.base/info-types.c: New file.
6442 * gdb.base/info-types.exp: New file.
6444 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
6446 * gdb.arch/riscv-bp-infcall.c: New file.
6447 * gdb.arch/riscv-bp-infcall.exp: New file.
6449 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
6451 PR breakpoints/24541
6452 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
6454 2019-07-14 Tom de Vries <tdevries@suse.de>
6457 * gdb.objc/basicclass.exp: Fix unterminated string.
6459 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
6460 Andrew Burgess <andrew.burgess@embecosm.com>
6462 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
6463 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
6465 * gdb.fortran/vla-value.exp: Print elements of an array with
6467 * gdb.fortran/vla.f90: Setup an array with negative bounds for
6470 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
6472 * gdb.base/options.exp (expect_string): Dequote strings in
6474 (test-string): Test strings with different quoting and reindent.
6476 2019-07-10 Tom Tromey <tromey@adacore.com>
6478 * gdb.ada/mi_ex_cond.exp: Update expected results.
6479 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
6480 * gdb.ada/mi_catch_ex.exp: Update expected results.
6481 * gdb.ada/mi_catch_assert.exp: Update expected results.
6482 * gdb.ada/catch_ex.exp (catch_exception_info)
6483 (catch_exception_entry, catch_assert_entry)
6484 (catch_unhandled_entry): Update.
6485 * gdb.ada/catch_assert_if.exp: Update expected results.
6487 2019-07-10 Richard Bunt <richard.bunt@arm.com>
6488 Stephen Roberts <stephen.roberts@arm.com>
6490 * gdb.base/define.exp: Restore original prompt.
6492 2019-07-09 Pedro Alves <palves@redhat.com>
6494 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
6495 breakpoints" output.
6496 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
6497 * gdb.python/py-breakpoint.exp: No longer expect that "catch
6498 throw" creates breakpoint.
6499 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
6500 'type="catchpoint"'.
6502 2019-07-09 Pedro Alves <palves@redhat.com>
6505 * gdb.cp/except-multi-location-lib.cc: New.
6506 * gdb.cp/except-multi-location-main.cc: New.
6507 * gdb.cp/except-multi-location.exp: New.
6509 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
6511 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
6512 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
6513 argument and update callers.
6515 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6517 * gdb.arch/amd64-break-on-asm-line.S: New file.
6518 * gdb.arch/amd64-break-on-asm-line.exp: New file.
6520 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6522 * gdb.base/printcmds.exp: Test printing C string and
6523 C wide string convenience vars without transiting via the inferior.
6524 Also make test names unique.
6526 2019-07-08 Alan Hayward <alan.hayward@arm.com>
6528 PR breakpoints/25011
6529 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
6531 2019-07-04 Pedro Alves <palves@redhat.com>
6533 * lib/gdb.exp (foreach_with_prefix): Don't return early if
6534 body returned ok(0), break(3) or continue(4).
6535 * gdb.testsuite/foreach_with_prefix.exp: New file.
6537 2019-07-04 Alan Hayward <alan.hayward@arm.com>
6539 * gdb.server/unittest.exp: Allow 0 unit tests to run.
6541 2019-07-03 Pedro Alves <palves@redhat.com>
6543 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
6546 2019-07-03 Pedro Alves <palves@redhat.com>
6549 * gdb.base/shell.exp: Load completion-support.exp.
6550 Adjust expected error output. Add completion tests.
6552 2019-07-03 Pedro Alves <palves@redhat.com>
6554 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
6557 2019-07-03 Pedro Alves <palves@redhat.com>
6559 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
6560 (expect_integer): Adjust to expect "-string".
6561 (expect_string): New.
6562 (all_options): Expect "-string".
6563 (test-flag, test-boolean): Adjust to expect "-string".
6564 (test-string): New proc.
6565 (top level): Call it.
6567 2019-07-03 Pedro Alves <palves@redhat.com>
6569 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
6570 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
6571 the expected output in the success.
6573 2019-07-03 Pedro Alves <palves@redhat.com>
6575 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
6576 Split one gdb_test_multiple call in two to avoid a race.
6578 2019-07-03 Pedro Alves <palves@redhat.com>
6580 * gdb.base/with.c: New file.
6581 * gdb.base/with.exp: New file.
6583 2019-07-03 Pedro Alves <palves@redhat.com>
6585 * gdb.base/settings.exp: Replace all references to "maint
6586 test-settings set" with references to "maint set test-settings",
6587 and all references to "maint test-settings show" with references
6588 to "maint show test-settings".
6590 2019-07-03 Pedro Alves <palves@redhat.com>
6592 * gdb.base/settings.exp (test-string): Adjust expected out when
6593 testing "maint test-settings show filename"
6595 2019-07-02 Pedro Alves <palves@redhat.com>
6597 * gdb.base/options.exp (test-info-threads): New procedure.
6598 (top level): Call it.
6600 2019-06-28 Tom Tromey <tromey@adacore.com>
6602 * gdb.dwarf2/ada-linkage-name.c: New file.
6603 * gdb.dwarf2/ada-linkage-name.exp: New file.
6605 2019-06-27 Tom Tromey <tromey@adacore.com>
6608 * gdb.cp/constexpr-field.exp: Use setup_xfail.
6610 2019-06-26 Tom de Vries <tdevries@suse.de>
6612 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
6614 2019-06-26 Tom de Vries <tdevries@suse.de>
6616 * gdb.base/index-cache.exp: Add back missing debug option.
6618 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6620 * gdb.base/alias.exp: Test non matching/non existing prefixes.
6622 2019-06-25 Tom de Vries <tdevries@suse.de>
6625 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
6627 2019-06-24 Tom de Vries <tdevries@suse.de>
6629 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
6631 2019-06-24 Tom de Vries <tdevries@suse.de>
6633 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
6634 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
6635 * gdb.trace/unavailable-dwarf-piece.exp: Same.
6637 2019-06-24 Tom de Vries <tdevries@suse.de>
6639 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
6641 2019-06-21 Tom de Vries <tdevries@suse.de>
6643 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
6645 2019-06-21 Tom de Vries <tdevries@suse.de>
6649 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
6652 2019-06-19 Tom Tromey <tromey@adacore.com>
6654 * gdb.ada/length_cond.exp: Add intro comment.
6656 2019-06-19 Tom Tromey <tromey@adacore.com>
6658 * gdb.ada/length_cond.exp: New file.
6659 * gdb.ada/length_cond/length_cond.adb: New file.
6660 * gdb.ada/length_cond/pck.adb: New file.
6661 * gdb.ada/length_cond/pck.ads: New file.
6663 2019-06-18 Tom de Vries <tdevries@suse.de>
6665 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
6667 2019-06-18 Tom Tromey <tromey@adacore.com>
6669 * gdb.base/list0.h: Add comment explaining control character.
6671 2019-06-18 Tom de Vries <tdevries@suse.de>
6673 * boards/fission.exp: Break up long debug_flags line.
6675 2019-06-16 Tom de Vries <tdevries@suse.de>
6678 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
6681 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
6684 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
6685 improve detection of bug gdb/24541.
6687 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
6690 * gdb.base/index-cache.exp (uses_readnow,
6691 expecting_index_cache_use): Define global variable.
6692 (test_cache_enabled_miss, test_cache_enabled_hit): Use
6693 expecting_index_cache_use.
6695 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
6696 Andrew Burgess <andrew.burgess@embecosm.com>
6698 * gdb.fortran/pointers.f90: New file.
6699 * gdb.fortran/print_type.exp: New file.
6700 * gdb.fortran/vla-ptype.exp: Adapt expected results.
6701 * gdb.fortran/vla-type.exp: Likewise.
6702 * gdb.fortran/vla-value.exp: Likewise.
6703 * gdb.mi/mi-vla-fortran.exp: Likewise.
6705 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
6707 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
6708 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
6709 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
6712 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
6714 * gdb.base/annota1.exp: Update expected results.
6715 * gdb.cp/annota2.exp: Likewise.
6716 * gdb.cp/annota3.exp: Likewise.
6718 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
6720 * gdb.base/style-logging.exp: Remove path from test name.
6722 2019-06-14 Tom Tromey <tromey@adacore.com>
6725 * gdb.base/style-logging.exp: New file.
6727 2019-06-14 Tom Tromey <tromey@adacore.com>
6729 * gdb.base/symfile-warn.exp: New file.
6730 * gdb.base/symfile-warn.c: New file.
6732 2019-06-14 Tom Tromey <tromey@adacore.com>
6734 * gdb.base/annotate-symlink.exp: New file.
6736 2019-06-14 Tom Tromey <tromey@adacore.com>
6738 * gdb.ada/set_wstr.exp: Add reassignment test.
6740 2019-06-14 Tom Tromey <tromey@adacore.com>
6742 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
6743 'unchecked_access and 'unrestricted_access as well.
6745 2019-06-14 Tom Tromey <tromey@adacore.com>
6748 * gdb.ada/vla.exp: Update tests.
6749 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
6752 2019-06-13 Pedro Alves <palves@redhat.com>
6754 * gdb.base/settings.exp (test-integer): Test junk after
6757 2019-06-13 Pedro Alves <palves@redhat.com>
6759 * gdb.base/options.exp (test-thread-apply): New.
6760 (top level): Call it.
6762 2019-06-13 Pedro Alves <palves@redhat.com>
6764 * gdb.base/options.exp (test-frame-apply): New.
6765 (top level): Test print commands with different "frame apply"
6768 2019-06-13 Pedro Alves <palves@redhat.com>
6770 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
6771 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
6772 'max_completions' parameter and handle it.
6773 (test_gdb_completion_offers_commands): New.
6775 2019-06-13 Pedro Alves <palves@redhat.com>
6777 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
6779 2019-06-13 Pedro Alves <palves@redhat.com>
6781 * gdb.base/options.exp (test-backtrace): New.
6782 (top level): Call it.
6784 2019-06-13 Pedro Alves <palves@redhat.com>
6786 * gdb.guile/scm-frame-args.exp: Use "set print
6787 raw-frame-arguments" instead of "set print raw frame-arguments".
6788 * gdb.python/py-frame-args.exp: Likewise.
6790 2019-06-13 Pedro Alves <palves@redhat.com>
6792 * gdb.compile/compile.exp: Adjust expected output to option
6795 2019-06-13 Pedro Alves <palves@redhat.com>
6797 * gdb.base/options.exp: Build executable.
6798 (test-print): New procedure.
6799 (top level): Call it, once for "print" and another for "compile
6802 2019-06-13 Pedro Alves <palves@redhat.com>
6804 * gdb.base/options.c: New file.
6805 * gdb.base/options.exp: New file.
6807 2019-06-13 Pedro Alves <palves@redhat.com>
6809 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
6810 that "o" is ambiguous.
6812 2019-06-13 Pedro Alves <palves@redhat.com>
6814 * gdb.base/settings.c: New file.
6815 * gdb.base/settings.exp: New file.
6817 2019-06-13 Pedro Alves <palves@redhat.com>
6819 * gdb.base/completion.exp: Fix comment typo.
6821 2019-06-13 Pedro Alves <palves@redhat.com>
6823 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
6826 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
6828 * gdb.fortran/block-data.f: New.
6829 * gdb.fortran/block-data.exp: New.
6831 2019-06-11 Tom de Vries <tdevries@suse.de>
6834 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
6837 2019-06-11 Tom de Vries <tdevries@suse.de>
6840 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
6842 2019-06-11 Tom de Vries <tdevries@suse.de>
6844 * boards/readnow.exp: New file.
6846 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
6848 * gdb.fortran/vla-sizeof.exp: Update expected results.
6850 2019-06-06 Amos Bird <amosbird@gmail.com>
6852 * gdb.base/annota1.exp (thread_switch): Add test for
6853 thread-exited annotation.
6855 2019-06-06 Tom Tromey <tromey@adacore.com>
6857 * gdb.base/maint.exp: Expect command started/finished output.
6859 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
6861 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
6863 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
6865 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
6867 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
6868 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
6869 * gdb.arch/riscv-unwind-long-insn.c: New file.
6870 * gdb.arch/riscv-unwind-long-insn.exp: New file.
6872 2019-06-04 Christian Biesinger <cbiesinger@google.com>
6874 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
6876 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6878 * lib/gdb.exp (help_list_trailer): New regexp variable
6879 factorizing the help trailer message.
6880 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
6881 arg to allow to better factorize various tests.
6882 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
6883 (test_prefix_command_help): Use help_list_trailer.
6884 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
6885 * gdb.guile/scm-cmd.exp: Likewise.
6886 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
6887 * gdb.base/help.exp: Use test_user_defined_class_help.
6888 * gdb.base/style.exp: Add tests for styling of help and apropos.
6889 * lib/gdb-utils.exp (style): Add title and highlight styles.
6891 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6893 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
6895 * gdb.base/default.exp: Update for new convenience variables.
6897 2019-05-29 Tom Tromey <tromey@adacore.com>
6899 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
6900 to "break complete ada" test case's regexp.
6902 2019-05-29 Tom Tromey <tromey@adacore.com>
6905 * gdb.cp/constexpr-field.exp: New file.
6906 * gdb.cp/constexpr-field.cc: New file.
6908 2019-05-29 Tom Tromey <tromey@adacore.com>
6910 * gdb.base/finish.exp (finish_no_print): New proc.
6911 (finish_tests): Call it.
6913 2019-05-24 Tom de Vries <tdevries@suse.de>
6915 * gdb.dwarf2/gdb-add-index.exp: New file.
6917 2019-05-22 Tom Tromey <tromey@adacore.com>
6919 * gdb.base/info-shared.exp (check_info_shared): Use "style".
6920 * gdb.base/style.exp: Use "style".
6921 * lib/gdb-utils.exp (style): New proc.
6923 2019-05-22 Tom de Vries <tdevries@suse.de>
6925 * gdb.base/align.exp: Require c++11.
6927 2019-05-22 Tom de Vries <tdevries@suse.de>
6930 * gdb.python/py-mi-var-info-path-expression.exp: Call
6931 mi_skip_python_tests to check if python is supported.
6933 2019-05-22 Alan Hayward <alan.hayward@arm.com>
6935 * gdb.arch/aarch64-pauth.c: New test.
6936 * gdb.arch/aarch64-pauth.exp: New file.
6938 2019-05-22 Alan Hayward <alan.hayward@arm.com>
6940 * README (Re-running Tests Outside The Testsuite): New section.
6942 2019-05-21 Tom de Vries <tdevries@suse.de>
6944 * gdb.arch/amd64-eval.exp: Require c++11.
6945 * gdb.base/max-depth.exp: Same.
6946 * gdb.compile/compile-cplus-array-decay.exp: Same.
6947 * gdb.cp/meth-typedefs.exp: Same.
6948 * gdb.cp/subtypes.exp: Same.
6949 * gdb.cp/temargs.exp: Same.
6951 2019-05-21 Alan Hayward <alan.hayward@arm.com>
6953 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
6955 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
6958 * gdb.fortran/complex.exp: Remove setup_kfail calls.
6959 * gdb.fortran/printing-types.exp: Add new test.
6960 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
6962 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
6965 2019-05-17 Alan Hayward <alan.hayward@arm.com>
6967 * README (Running the Testsuite): Change example.
6968 (Testsuite Parameters): Remove TRANSCRIPT.
6969 * lib/gdb.exp: Remove TRANSCRIPT check.
6971 2019-05-17 Alan Hayward <alan.hayward@arm.com>
6973 * README (Testsuite Parameters): Add replay logging to
6975 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
6976 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
6977 as a comma separated list.
6978 (gdb_debug_init): Override procedure.
6980 2019-05-17 Alan Hayward <alan.hayward@arm.com>
6982 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
6983 (gdb_write_cmd_file): New procedure.
6984 * lib/gdbserver-support.exp (gdbserver_start): Call
6985 gdbserver_write_cmd_file.
6986 (gdbserver_write_cmd_file): New procedure.
6988 2019-05-17 Alan Hayward <alan.hayward@arm.com>
6990 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
6991 (delete_breakpoints): Likewise.
6992 (gdb_run_cmd): Likewise.
6993 (gdb_start_cmd): Likewise.
6994 (gdb_starti_cmd): Likewise.
6995 (gdb_internal_error_resync): Likewise.
6996 (gdb_test_multiple): Likewise.
6997 (gdb_reinitialize_dir): Likewise.
6998 (default_gdb_exit): Likewise.
6999 (gdb_file_cmd): Mark kill as optional.
7000 (default_gdb_start): Call gdb_stdin_log_init.
7001 (send_gdb): Call gdb_stdin_log_write.
7002 (rerun_to_main): Mark Y as an answer.
7003 (gdb_stdin_log_init): New function.
7004 (gdb_stdin_log_write): Likewise.
7006 2019-05-17 Alan Hayward <alan.hayward@arm.com>
7008 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
7009 * gdb.base/debug-expr.exp: Likewise.
7010 * gdb.base/foll-fork.exp: Likewise.
7011 * gdb.base/foll-vfork.exp: Likewise.
7012 * gdb.base/fork-print-inferior-events.exp: Likewise.
7013 * gdb.base/gdb-sigterm.exp: Likewise.
7014 * gdb.base/gdbinit-history.exp: Likewise.
7015 * gdb.base/osabi.exp: Likewise.
7016 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
7017 * gdb.base/ui-redirect.exp: Likewise.
7018 * gdb.gdb/unittest.exp: Likewise.
7019 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
7020 * gdb.mi/mi-watch.exp: Likewise.
7021 * gdb.mi/new-ui-mi-sync.exp: Likewise.
7022 * gdb.mi/user-selected-context-sync.exp: Likewise.
7023 * gdb.python/python.exp: Disable debug test when debugging.
7024 * gdb.threads/check-libthread-db.exp: Disable when debugging.
7025 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7027 * gdb.threads/stepi-random-signal.exp: Likewise.
7029 2019-05-17 Alan Hayward <alan.hayward@arm.com>
7031 * Makefile.in: Pass through GDB_DEBUG.
7032 * README (Testsuite Parameters): Add GDB_DEBUG.
7033 (gdb,debug): Add board setting.
7034 * lib/gdb.exp (default_gdb_start): Start debugging.
7035 (gdb_debug_enabled): New procedure.
7036 (gdb_debug_init): Likewise.
7038 2019-05-17 Alan Hayward <alan.hayward@arm.com>
7040 * Makefile.in: Pass through GDB_DEBUG.
7041 * README (Testsuite Parameters): Add GDB_DEBUG.
7042 (gdb,debug): Add board setting.
7043 * lib/gdb.exp (default_gdb_start): Start debugging.
7044 (gdb_debug_enabled): New procedure.
7045 (gdb_debug_init): Likewise.
7047 2019-05-17 Alan Hayward <alan.hayward@arm.com>
7049 * gdb.base/ui-redirect.exp: Add debug redirect tests.
7051 2019-05-17 Alan Hayward <alan.hayward@arm.com>
7053 * gdb.base/ui-redirect.exp: Test redirection.
7055 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
7057 * gdb.mi/mi-complete.exp: New file.
7058 * gdb.mi/mi-complete.cc: Likewise.
7060 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
7062 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
7063 indexed and sliced arrays, and pointers to arrays.
7065 2019-05-14 Tom Tromey <tromey@adacore.com>
7067 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
7070 2019-05-14 Tom de Vries <tdevries@suse.de>
7072 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
7073 selection entry encoding.
7075 2019-05-10 Tom Tromey <tromey@adacore.com>
7077 * gdb.ada/info_exc.exp: Add "complete" test.
7079 2019-05-09 Tom de Vries <tdevries@suse.de>
7081 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
7084 2019-05-09 Tom de Vries <tdevries@suse.de>
7086 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
7089 2019-05-08 Joel Brobecker <brobecker@adacore.com>
7091 * gdb.ada/frame_arg_lang.exp: New testcase.
7092 * gdb.ada/frame_arg_lang/bla.adb: New file.
7093 * gdb.ada/frame_arg_lang/pck.ads: New file.
7094 * gdb.ada/frame_arg_lang/pck.adb: New file.
7095 * gdb.ada/frame_arg_lang/foo.c: New file.
7097 2019-05-08 Tom Tromey <tromey@adacore.com>
7099 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
7101 2019-05-08 Tom Tromey <tromey@adacore.com>
7103 * gdb.base/ptype-offsets.exp: Update tests.
7105 2019-05-08 Tom Tromey <tromey@adacore.com>
7107 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
7109 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
7112 2019-05-08 Tom Tromey <tromey@adacore.com>
7114 * gdb.ada/vla.exp: New file.
7115 * gdb.ada/vla/vla.adb: New file.
7117 2019-05-07 Tom de Vries <tdevries@suse.de>
7119 * gdb.base/index-cache.exp (ls_host): Fix return statement.
7121 2019-05-07 Tom de Vries <tdevries@suse.de>
7124 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
7127 2019-05-07 Tom de Vries <tdevries@suse.de>
7130 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
7131 .debug_aranges section.
7133 2019-05-07 Tom de Vries <tdevries@suse.de>
7136 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
7138 2019-05-06 Tom de Vries <tdevries@suse.de>
7140 * lib/gdb.exp (exec_has_index_section): New proc.
7141 * gdb.base/index-cache.exp: Handle case that binfile contains an index
7144 2019-05-04 Tom de Vries <tdevries@suse.de>
7146 * boards/cc-with-debug-names.exp: New file.
7148 2019-05-03 Tom Tromey <tromey@adacore.com>
7150 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
7151 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
7152 * gdb.ada/char_enum.exp: Add test.
7154 2019-05-03 Tom de Vries <tdevries@suse.de>
7156 * boards/cc-with-gdb-index.exp: New file.
7158 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
7160 * gdb.rust/simple.exp: Add new test case.
7161 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
7162 (main): Initialise an instance of the new struct.
7164 2019-05-01 Tom Tromey <tromey@adacore.com>
7166 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
7168 (NPR): New variable.
7169 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
7172 2019-05-01 Tom Tromey <tromey@adacore.com>
7174 * gdb.ada/packed_array_assign.exp: Add packed assignment
7177 2019-05-01 Tom de Vries <tdevries@suse.de>
7179 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
7181 2019-05-01 Tom de Vries <tdevries@suse.de>
7183 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
7185 2019-04-30 Ali Tamur <tamur@google.com>
7187 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
7189 2019-04-30 Tom Tromey <tromey@adacore.com>
7191 * lib/ada.exp (find_ada_tool): New proc.
7192 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
7193 * gdb.ada/catch_ex_std.exp: New file.
7194 * gdb.ada/catch_ex_std/foo.adb: New file.
7195 * gdb.ada/catch_ex_std/some_package.adb: New file.
7196 * gdb.ada/catch_ex_std/some_package.ads: New file.
7198 2019-04-30 Tom Tromey <tromey@adacore.com>
7201 * gdb.cp/temargs.cc: Add test code from PR.
7203 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7205 * gdb.fortran/vla-datatypes.exp: Update expected results.
7206 * gdb.fortran/vla-ptype.exp: Likewise.
7207 * gdb.fortran/vla-type.exp: Likewise.
7208 * gdb.fortran/vla-value.exp: Likewise.
7210 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7212 * gdb.fortran/ptr-indentation.exp: Update expected results.
7213 * gdb.fortran/ptype-on-functions.exp: Likewise.
7214 * gdb.fortran/vla-ptr-info.exp: Likewise.
7215 * gdb.fortran/vla-value.exp: Likewise.
7217 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7219 * gdb.fortran/ptype-on-functions.exp: New file.
7220 * gdb.fortran/ptype-on-functions.f90: New file.
7222 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7224 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
7227 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7229 * gdb.fortran/complex.exp: Expand.
7230 * gdb.fortran/complex.f: Renamed to...
7231 * gdb.fortran/complex.f90: ...this, and extended to add more
7234 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
7236 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
7239 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
7240 Richard Bunt <richard.bunt@arm.com>
7242 * gdb.base/max-depth.c: New file.
7243 * gdb.base/max-depth.exp: New file.
7244 * gdb.python/py-nested-maps.c: New file.
7245 * gdb.python/py-nested-maps.exp: New file.
7246 * gdb.python/py-nested-maps.py: New file.
7247 * gdb.python/py-format-string.exp (test_max_depth): New proc.
7248 (test_all_common): Call test_max_depth.
7249 * gdb.fortran/max-depth.exp: New file.
7250 * gdb.fortran/max-depth.f90: New file.
7251 * gdb.go/max-depth.exp: New file.
7252 * gdb.go/max-depth.go: New file.
7253 * gdb.modula2/max-depth.exp: New file.
7254 * gdb.modula2/max-depth.c: New file.
7255 * lib/gdb.exp (get_print_expr_at_depths): New proc.
7257 2019-04-29 Tom de Vries <tdevries@suse.de>
7259 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
7261 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7263 * gdb.base/callexit.exp: Test may-call-functions off.
7265 2019-04-25 Keith Seitz <keiths@redhat.com>
7268 * gdb.cp/meth-typedefs.cc (incomplete_struct)
7269 (another_incomplete_struct, test_incomplete): New definitions.
7270 (main): Use new definitions.
7271 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
7274 2019-04-25 Ali Tamur <tamur@google.com>
7276 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
7278 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
7282 * gdb.base/coredump-filter-build-id.exp: New file.
7284 2019-04-25 Alan Hayward <alan.hayward@arm.com>
7286 * Makefile.in: Pass through GDBSERVER_DEBUG.
7287 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
7288 (gdbserver,debug): Add board setting.
7289 * gdb.trace/tspeed.exp: Skip when debugging.
7290 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
7291 * lib/gdbserver-support.exp: Likewise
7293 2019-04-24 Tom Tromey <tromey@adacore.com>
7295 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
7298 2019-04-24 Tom Tromey <tromey@adacore.com>
7300 * gdb.arch/amd64-eval.exp: Test bitfield return.
7301 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
7302 (class Foo) <return_bitfields>: New method.
7305 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
7307 * gdb.cp/many-args.cc: New file.
7308 * gdb.cp/many-args.exp: New file.
7310 2019-04-23 Tom de Vries <tdevries@suse.de>
7313 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
7315 2019-04-23 Alan Hayward <alan.hayward@arm.com>
7317 * gdb.trace/backtrace.exp: Use nopie flag.
7318 * gdb.trace/circ.exp: Likewise.
7319 * gdb.trace/collection.exp: Likewise.
7320 * gdb.trace/ftrace.exp: Likewise.
7321 * gdb.trace/mi-trace-unavailable.exp: Likewise.
7322 * gdb.trace/mi-traceframe-changed.exp: Likewise.
7323 * gdb.trace/qtro.exp: Likewise.
7324 * gdb.trace/read-memory.exp: Likewise.
7325 * gdb.trace/report.exp: Likewise.
7326 * gdb.trace/tfile.exp: Likewise.
7327 * gdb.trace/tfind.exp: Likewise.
7328 * gdb.trace/unavailable.exp: Likewise.
7330 2019-04-22 Pedro Alves <palves@redhat.com>
7332 * gdb.base/solib-probes-nosharedlibrary.c,
7333 gdb.base/solib-probes-nosharedlibrary.exp: New files.
7335 2019-04-19 Tom Tromey <tromey@adacore.com>
7337 * gdb.ada/ptype_union.c: New file.
7338 * gdb.ada/ptype_union.exp: New file.
7340 2019-04-19 Tom Tromey <tromey@adacore.com>
7343 * gdb.base/list0.h (foo): Add a control-l character.
7345 2019-04-18 Tom de Vries <tdevries@suse.de>
7348 * boards/local-board.exp: Set sysroot to "".
7350 2019-04-18 Tom de Vries <tdevries@suse.de>
7351 Pedro Alves <palves@redhat.com>
7354 * gdb.threads/vfork-follow-child-exec.c: New file.
7355 * gdb.threads/vfork-follow-child-exec.exp: New file.
7356 * gdb.threads/vfork-follow-child-exit.c: New file.
7357 * gdb.threads/vfork-follow-child-exit.exp: New file.
7359 2019-04-15 Leszek Swirski <leszeks@google.com>
7361 * gdb.arch/amd64-eval.cc: New file.
7362 * gdb.arch/amd64-eval.exp: New file.
7364 2019-04-11 Alan Hayward <alan.hayward@arm.com>
7366 * gdb.server/sysroot.c: New test.
7367 * gdb.server/sysroot.exp: New file.
7368 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
7371 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
7373 * gdb.base/align.exp: Extend test to cover structures containing
7376 2019-04-11 Tom de Vries <tdevries@suse.de>
7378 * boards/cc-with-dwz-m.exp: New file.
7379 * boards/cc-with-dwz.exp: New file.
7380 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
7382 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
7384 * gdb.base/start-cpp.exp: New file.
7385 * gdb.base/start-cpp.cc: New file.
7387 2019-04-08 Kevin Buettner <kevinb@redhat.com>
7389 * gdb.python/py-thrhandle.exp: Adjust tests to call
7390 thread_from_handle instead of thread_from_thread_handle.
7392 2019-04-08 Kevin Buettner <kevinb@redhat.com>
7394 * gdb.python/py-thrhandle.exp: Add tests for
7395 gdb.InferiorThread.handle.
7397 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
7399 * gdb.python/py-function.exp: Check calling helper function from
7401 * lib/gdb.exp (gdb_supported_languages): New proc.
7403 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
7405 * gdb.base/complex-parts.c: New file.
7406 * gdb.base/complex-parts.exp: New file.
7408 2019-04-01 Tom Tromey <tromey@adacore.com>
7411 * gdb.dwarf2/dw2-ranges-main.c: New file.
7412 * gdb.dwarf2/dw2-ranges-psym.c: New file.
7413 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
7415 2019-03-30 Simon Marchi <simark@simark.ca>
7417 * gdb.base/default.exp: Add values for $_gdb_major and
7420 2019-03-29 Tom Tromey <tromey@adacore.com>
7422 * gdb.base/help.exp: Tighten apropos regexp.
7424 2019-03-29 Keith Seitz <keiths@redhat.com>
7426 * gdb.fortran/array-bounds.exp: New file.
7427 * gdb.fortran/array-bounds.f90: New file.
7429 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7431 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
7433 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7435 * gdb.multi/hello.c (main): Increase alarm timer.
7437 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
7439 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
7440 factor when no hardware watchpoint support.
7442 2019-03-28 Alan Hayward <alan.hayward@arm.com>
7443 Pedro Alves <palves@redhat.com>
7445 * boards/local-board.exp: set sysroot to /.
7447 2019-03-27 Alan Hayward <alan.hayward@arm.com>
7449 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
7452 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
7454 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
7456 (make_container): Initialise new field.
7457 * gdb.python/py-prettyprint.exp: Add new tests.
7458 * gdb.python/py-prettyprint.py (class ContainerPrinter)
7459 <display_hint>: New method.
7461 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
7463 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
7464 gdb_continue_to_breakpoint more throughout this test.
7465 (run_lang_tests) Supply unique test names, and use
7468 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
7470 * gdb.base/finish-pretty.exp: Update expected results.
7471 * gdb.base/pretty-print.c: New file.
7472 * gdb.base/pretty-print.exp: New file.
7474 2019-03-25 Pedro Alves <palves@redhat.com>
7476 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
7477 move comments outside list. Append '-i "" eof' section.
7479 2019-03-22 Alan Hayward <alan.hayward@arm.com>
7482 * README: Add pie options.
7483 * gdb.base/break-interp.exp: Ensure pie is disabled.
7484 * gdb.base/dump.exp: Likewise.
7485 * lib/gdb.exp (gdb_compile): Add pie option.
7487 2019-03-19 Tom Tromey <tromey@adacore.com>
7489 * gdb.mi/mi2-cli-display.c: New file.
7490 * gdb.mi/mi2-cli-display.exp: New file.
7492 2019-03-18 Joel Brobecker <brobecker@adacore.com>
7493 Tom Tromey <tromey@adacore.com>
7495 * gdb.ada/ptype_array/pck.adb: New file.
7496 * gdb.ada/ptype_array/pck.ads: New file.
7497 * gdb.ada/ptype_array/foo.adb: New file.
7498 * gdb.ada/ptype_array.exp: New file.
7500 2019-03-14 Tom Tromey <tromey@adacore.com>
7502 * gdb.base/style.exp: Add "set style sources" test.
7504 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
7506 * mi-breakpoint-location-ena-dis.exp: Rename to ...
7507 * mi-breakpoint-multiple-locations.exp: ... this.
7508 (make_breakpoints_pattern): New proc.
7509 (do_test): Add mi_version parameter, test -break-insert,
7510 -break-info and =breakpoint-created.
7512 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
7514 * config/default.exp: Remove 'load_lib gdb.exp'.
7515 * config/monitor.exp: Likewise.
7516 * config/sid.exp: Likewise.
7517 * config/sim.exp: Likewise.
7518 * config/slite.exp: Likewise.
7519 * config/unix.exp: Likewise.
7520 * gdb.base/default.exp: Remove unhelpful comment.
7522 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7524 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
7526 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7528 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
7530 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7532 * gdb.fortran/type-kinds.exp: Update expected results.
7534 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7536 * gdb.fortran/type-kinds.exp: Test new integer type kind.
7538 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7540 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
7542 (test_basic_parsing_of_type_kinds): Expand types tested.
7543 (test_parsing_invalid_type_kinds): New function.
7545 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7547 * gdb.fortran/intrinsics.exp: New file.
7548 * gdb.fortran/intrinsics.f90: New file.
7549 * gdb.fortran/type-kinds.exp: New file.
7551 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7553 * gdb.fortran/dot-ops.exp: New file.
7555 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7557 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
7558 Check upper and lower case logical literals.
7560 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
7562 * gdb.fortran/types.exp (test_float_literal_types_accepted):
7563 Remove duplicate tests.
7565 2019-03-06 Alan Hayward <alan.hayward@arm.com>
7567 * lib/gdb.exp (builtin_cd): rename of cd.
7568 (cd): Override builtin.
7570 2019-03-06 Richard Bunt <richard.bunt@arm.com>
7572 * gdb.fortran/function-calls.exp: New file.
7573 * gdb.fortran/function-calls.f90: New test.
7575 2019-03-04 Richard Bunt <richard.bunt@arm.com>
7577 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
7578 on user program standard output.
7579 * gdb.fortran/short-circuit-argument-list.f90: Record function
7582 2019-02-28 Alan Hayward <alan.hayward@arm.com>
7584 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
7587 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7590 * gdb.base/interrupt-daemon-attach.c,
7591 gdb.base/interrupt-daemon-attach.exp: New test.
7593 2019-02-27 Pedro Alves <palves@redhat.com>
7595 * gdb.base/page.exp: Add tests for "set width/height -1".
7597 2019-02-27 Pedro Alves <palves@redhat.com>
7599 * gdb.base/page.exp: Add tests for "set/show width/height" with
7602 2019-02-27 Tom Tromey <tromey@adacore.com>
7604 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
7606 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
7609 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
7611 * gdb.base/align.exp: Extend to compile in both C and C++, and add
7612 tests for structs with static members.
7614 2019-02-26 Tom Tromey <tromey@adacore.com>
7616 * gdb.python/py-value.exp (test_value_from_buffer): Check for
7617 ValueError, not TypeError.
7619 2019-02-26 Kevin Buettner <kevinb@redhat.com>
7621 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
7622 call from main program.
7624 2019-02-23 Joel Brobecker <brobecker@adacore.com>
7626 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
7627 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
7628 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
7629 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
7630 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
7632 2019-02-22 Keith Seitz <keiths@redhat.com>
7635 * gdb.base/symlink-sourcefile.c: New file.
7636 * gdb.base/symlink-sourcefile.exp: New file.
7638 2019-02-20 Tom Tromey <tom@tromey.com>
7640 * gdb.base/info_qt.exp: Update.
7642 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
7644 * gdb.base/source.exp: Move "error in sourced script" code to
7646 * gdb.base/source-error.gdb: Move contents to
7647 source-error-1.gdb. Add new code to source source-error-1.gdb.
7648 * gdb.base/source-error-1.gdb: New file, from previous
7651 2019-02-17 Tom Tromey <tom@tromey.com>
7653 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
7655 * gdb.base/style.c (SOME_MACRO): New macro.
7657 2019-02-17 Tom Tromey <tom@tromey.com>
7659 * gdb.base/style.exp: Add line-wrapping tests.
7660 * gdb.base/page.exp: Add test for quitting during pagination.
7662 2019-02-17 Joel Brobecker <brobecker@adacore.com>
7664 * gdb.ada/big_packed_array: New testcase.
7665 * gdb.ada/homonym.exp: Fix incorrect expected output for
7666 "break <homonym__get_value>" test.
7668 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
7670 PR breakpoints/21870
7671 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
7672 and prepare_for_testing. Add comment.
7673 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
7674 redundant cleanup call. Clean up comment.
7676 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
7678 PR breakpoints/21870
7679 * gdb.arch/aarch64-dbreg-contents.exp: New file.
7680 * gdb.arch/aarch64-dbreg-contents.c: New file.
7682 2019-02-10 Joel Brobecker <brobecker@adacore.com>
7684 * gdb.ada/mi_ref_changeable: New testcase.
7686 2019-02-07 Alan Hayward <alan.hayward@arm.com>
7688 * gdb.base/attach.exp: Add double attach test.
7690 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
7692 * lib/gdb.exp (default_gdb_start): Don't match pagination
7694 (gdb_init): Set stty_init.
7696 2019-01-27 Tom Tromey <tom@tromey.com>
7698 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
7701 2019-01-24 Alan Hayward <alan.hayward@arm.com>
7703 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
7705 (struct struct_static_02_02): Likewise.
7706 (struct struct_static_02_03): Likewise.
7707 (struct struct_static_02_04): Likewise.
7708 (struct struct_static_04_01): Likewise.
7709 (struct struct_static_04_02): Likewise.
7710 (struct struct_static_04_03): Likewise.
7711 (struct struct_static_04_04): Likewise.
7712 (struct struct_static_06_01): Likewise.
7713 (struct struct_static_06_02): Likewise.
7714 (struct struct_static_06_03): Likewise.
7715 (struct struct_static_06_04): Likewise.
7716 (cmp_struct_static_02_01): Likewise.
7717 (cmp_struct_static_02_02): Likewise.
7718 (cmp_struct_static_02_03): Likewise.
7719 (cmp_struct_static_02_04): Likewise.
7720 (cmp_struct_static_04_01): Likewise.
7721 (cmp_struct_static_04_02): Likewise.
7722 (cmp_struct_static_04_03): Likewise.
7723 (cmp_struct_static_04_04): Likewise.
7724 (cmp_struct_static_06_01): Likewise.
7725 (cmp_struct_static_06_02): Likewise.
7726 (cmp_struct_static_06_03): Likewise.
7727 (cmp_struct_static_06_04): Likewise.
7728 (call_all): Test new structs.
7729 * gdb.base/infcall-nested-structs.exp: Likewise.
7731 2019-01-21 Alan Hayward <alan.hayward@arm.com>
7732 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
7734 2019-01-21 Alan Hayward <alan.hayward@arm.com>
7735 * gdb.base/stack-protector.c: New test.
7736 * gdb.base/stack-protector.exp: New file.
7737 * gdb.cp/ovldbreak.exp: Only allow a single break line.
7738 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
7740 (gdb_compile): Remove stack protector for GCC and prevent
7743 2019-01-16 Keith Seitz <keiths@redhat.com>
7746 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
7748 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7750 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
7752 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
7754 * gdb.arch/powerpc-vector-regs.c: New file.
7755 * gdb.arch/powerpc-vector-regs.exp: New file.
7757 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7759 * gdb.arch/altivec-regs.exp: Fix the list passed to
7760 gdb_expect_list when testing "info vector".
7762 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
7764 * gdb.base/style.exp: Don't include path in testname.
7766 2019-01-10 Keith Seitz <keiths@redhat.com>
7770 * gdb.dwarf2/multidictionary.exp: New file.
7772 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
7774 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
7775 (test_gnuv3_style_demangling): ... this.
7776 (test_lucid_style_demangling): Remove.
7777 (test_arm_style_demangling): Remove.
7778 (test_hp_style_demangling): Remove.
7779 (do_tests): Remove calls to the above.
7781 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
7783 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
7786 2019-01-06 Tom Tromey <tom@tromey.com>
7789 * gdb.dwarf2/typedef-void-finish.exp: New file.
7791 2018-12-28 Tom Tromey <tom@tromey.com>
7792 Simon Marchi <simark@simark.ca>
7794 * gdb.base/jit-exec.exp: New file.
7795 * gdb.base/jit-exec.c: New file.
7796 * gdb.base/jit-execd.c: New file.
7798 2018-12-28 Tom Tromey <tom@tromey.com>
7800 * gdb.base/style.exp: Update test to check for address styling.
7802 2018-12-28 Tom Tromey <tom@tromey.com>
7804 * gdb.base/style.exp: Add test for styling of "Reading symbols"
7807 2018-12-28 Tom Tromey <tom@tromey.com>
7809 * gdb.base/style.exp: Add test for version number styling.
7811 2018-12-28 Tom Tromey <tom@tromey.com>
7813 * gdb.base/style.exp: Add test for print_address_symbolic.
7815 2018-12-28 Tom Tromey <tom@tromey.com>
7817 * gdb.base/style.exp: Add test for breakpoint setting.
7819 2018-12-28 Tom Tromey <tom@tromey.com>
7821 * gdb.base/style.exp: Add test for variable names.
7823 2018-12-28 Tom Tromey <tom@tromey.com>
7825 * gdb.base/style.exp: New file.
7826 * gdb.base/style.c: New file.
7828 2018-12-28 Tom Tromey <tom@tromey.com>
7830 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
7832 * gdb.base/readline.exp (operate_and_get_next): Save and restore
7833 the TERM environment variable.
7835 2018-12-27 Tom Tromey <tom@tromey.com>
7837 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
7840 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
7842 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
7843 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
7845 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7847 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
7848 Filename a.adb changed to bp_fun_addr.adb.
7849 gdb.ada/bp_fun_addr.exp: Update test accordingly.
7851 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
7853 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
7854 non-PIE executables.
7855 * README: Mention the gdb,nopie_flag board setting.
7856 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
7858 * gdb.arch/amd64-entry-value.exp: Likewise.
7859 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
7860 * gdb.arch/i386-float.exp: Likewise.
7861 * gdb.arch/i386-signal.exp: Likewise.
7862 * gdb.mi/mi-reg-undefined.exp: Likewise.
7864 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
7867 * gdb.base/info-os.exp: Check return for unknown "info os" type.
7869 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7871 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
7872 Update order of results accordingly.
7874 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
7876 * gdb.base/annota1.exp: Update a test regexp.
7878 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7880 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
7882 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7884 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
7885 (reuse_time): Initialize to REUSE_TIME_CAP.
7886 (check_rc): New function.
7887 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
7888 Check pthread_create rc.
7889 (spawner_thread_func): Check pthread_create and pthread_join rc.
7891 2018-12-08 Pedro Alves <palves@redhat.com>
7893 * gdb.base/list.exp (test_forward_search): Rename to ...
7894 (test_forward_reverse_search): ... this. Also test reverse-search
7895 and the forward-search alias.
7897 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
7899 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
7900 local timeout variable before return, and remove all local timeout
7902 (gdb_load): Likewise.
7904 2018-12-01 Tom de Vries <tdevries@suse.de>
7906 * gdb.base/gdb-caching-proc.exp: New file.
7908 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
7910 * Makefile.in (TIMESTAMP): New variable.
7911 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
7913 (check-single-racy): Likewise.
7914 (check/%.exp): Likewise.
7915 (check-racy/%.exp): Likewise.
7916 (workers/%.worker): Likewise.
7917 (build-perf): Likewise.
7918 (check-perf): Likewise.
7919 * README: Describe new "TS" and "TS_FORMAT" variables.
7920 * print-ts.py: New file.
7922 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
7925 * gdb.python/python.exp: Test command repetition after
7928 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
7930 * gdb.opt/inline-break.exp: Add test that info breakpoint output
7931 is correctly aligned.
7933 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7935 * gdb.ada/info_auto_lang.exp: New testcase.
7936 * gdb.ada/info_auto_lang/global_pack.ads: New file.
7937 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
7938 * gdb.ada/info_auto_lang/some_c.c: New file.
7940 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7942 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
7943 FUNC_lang language syntax.
7945 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7947 * gdb.base/info_minsym.c: New file.
7948 * gdb.base/info_minsym.exp: New file.
7950 2018-11-19 Tom Tromey <tom@tromey.com>
7953 * gdb.rust/simple.exp: Add ptype test. Update expected output.
7954 * gdb.rust/expr.exp: Update expected output. Change one test.
7956 2018-11-19 Tom Tromey <tom@tromey.com>
7958 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
7960 2018-11-19 Pedro Alves <palves@redhat.com>
7962 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
7963 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
7964 see the expected warning.
7966 2018-11-16 Alan Hayward <alan.hayward@arm.com>
7969 * gdb.cp/infcall-nodebug-lib.c: New test.
7970 * gdb.cp/infcall-nodebug-main.c: New test.
7971 * gdb.cp/infcall-nodebug.exp: New file.
7973 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
7975 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
7978 2018-11-09 Tom de Vries <tdevries@suse.de>
7980 * gdb.base/msym-lang.c: New test.
7981 * gdb.base/msym-lang.exp: New file.
7982 * gdb.base/msym-lang-main.c: New test.
7984 2018-11-08 Tom Tromey <tom@tromey.com>
7988 * gdb.base/warning.exp: New file.
7990 2018-11-08 Jan Beulich <jbeulich@suse.com>
7992 * testsuite/gdb.arch/i386-avx512.c,
7993 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
7995 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
7997 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
8000 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
8002 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
8003 * gdb.dwarf2/missing-type-name.exp: New file.
8005 2018-11-06 Tom de Vries <tdevries@suse.de>
8007 * gdb.base/many-headers.c: New test.
8008 * gdb.base/many-headers.exp: New file.
8010 2018-11-06 Jim Wilson <jimw@sifive.com>
8012 * gdb.base/code_elim.exp: For riscv, set additional_flags
8013 to include -msmall-data-limit=0.
8015 2018-11-01 Joel Brobecker <brobecker@adacore.com>
8017 * gdb.ada/watch_minus_l: New testcase.
8019 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
8021 * gdb.arch/aix-sighandle.c: New file.
8022 * gdb.arch/aix-sighandle.exp: New file.
8024 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
8026 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
8027 registers being unions.
8029 2018-10-31 Tom de Vries <tdevries@suse.de>
8031 * lib/valgrind.exp: New file.
8032 (vgdb_start, vgdb_stop): New procs, factored out of ...
8033 * gdb.base/valgrind-bt.exp: ... here, ...
8034 * gdb.base/valgrind-disp-step.exp: ... here and ...
8035 * gdb.base/valgrind-infcall.exp: ... here.
8037 2018-10-31 Tom de Vries <tdevries@suse.de>
8039 * lib/gdb.exp (get_valueof): Don't output read value in test name.
8041 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
8043 * gdb.dwarf2/void-type.c: New file.
8044 * gdb.dwarf2/void-type.exp: New file.
8046 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8048 * gdb.base/info_qt.c: New file.
8049 * gdb.base/info_qt.exp: New file.
8051 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8053 * gdb.arch/powerpc-htm-regs.c: New file.
8054 * gdb.arch/powerpc-htm-regs.exp: New file.
8056 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8058 * gdb.arch/powerpc-tar.c: New file.
8059 * gdb.arch/powerpc-tar.exp: New file.
8061 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
8063 * gdb.arch/powerpc-ppr-dscr.c: New file.
8064 * gdb.arch/powerpc-ppr-dscr.exp: New file.
8066 2018-10-25 Tom de Vries <tdevries@suse.de>
8068 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
8070 2018-10-24 Tom de Vries <tdevries@suse.de>
8072 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
8073 longer exists error.
8075 2018-10-24 Tom de Vries <tdevries@suse.de>
8077 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
8079 2018-10-24 Tom de Vries <tdevries@suse.de>
8081 * gdb.base/valgrind-db-attach.exp: Handle removed support for
8082 --db-attach in valgrind.
8084 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
8086 * gdb.arch/riscv-reg-aliases.c: New file.
8087 * gdb.arch/riscv-reg-aliases.exp: New file.
8089 2018-10-19 Alan Hayward <alan.hayward@arm.com>
8091 * gdb.python/py-cmd.exp: Check for gdb_prompt.
8093 2018-10-19 Alan Hayward <alan.hayward@arm.com>
8095 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
8097 2018-10-19 Alan Hayward <alan.hayward@arm.com>
8099 * gdb.cp/ovldbreak.exp: Fix regexps.
8101 2018-10-19 Alan Hayward <alan.hayward@arm.com>
8103 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
8105 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
8108 * gdb.base/restore.exp: New test to check if "restore" with an
8109 invalid file doesn't segfault.
8111 2018-10-18 Tom de Vries <tdevries@suse.de>
8113 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
8114 * gdb.ada/excep_handle.exp: Same.
8115 * gdb.ada/mi_string_access.exp: Same.
8116 * gdb.ada/mi_var_union.exp: Same.
8117 * gdb.arch/arc-analyze-prologue.exp: Same.
8118 * gdb.arch/arc-decode-insn.exp: Same.
8119 * gdb.base/readnever.exp: Same.
8120 * gdb.fortran/printing-types.exp: Same.
8121 * gdb.guile/scm-lazy-string.exp: Same.
8123 2018-10-16 Tom de Vries <tdevries@suse.de>
8126 * gdb.base/catch-follow-exec.c: Add copyright notice.
8127 * gdb.base/catch-follow-exec.exp: Rewrite to use
8128 gdb_spawn_with_cmdline_opts. Require gdb-native.
8130 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
8132 * gdb.trace/actions-changed.exp: Check for arch support.
8133 * gdb.trace/actions.exp: Likewise.
8134 * gdb.trace/ax.exp: Likewise.
8135 * gdb.trace/backtrace.exp: Likewise.
8136 * gdb.trace/change-loc.exp: Likewise.
8137 * gdb.trace/deltrace.exp: Likewise.
8138 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
8139 * gdb.trace/ftrace.exp: Likewise.
8140 * gdb.trace/infotrace.exp: Check for arch support.
8141 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
8142 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
8143 * gdb.trace/mi-tsv-changed.exp: Likewise.
8144 * gdb.trace/packetlen.exp: Likewise.
8145 * gdb.trace/passc-dyn.exp: Likewise.
8146 * gdb.trace/passcount.exp: Likewise.
8147 * gdb.trace/pending.exp: Likewise.
8148 * gdb.trace/range-stepping.exp: Check for shlib support.
8149 * gdb.trace/report.exp: Check for arch support.
8150 * gdb.trace/save-trace.exp: Likewise.
8151 * gdb.trace/signal.exp: Check for signal support.
8152 * gdb.trace/tfind.exp: Check for arch support.
8153 * gdb.trace/trace-break.exp: Check for arch and shlib support.
8154 * gdb.trace/trace-common.h: Add comment.
8155 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
8156 * gdb.trace/trace-enable-disable.exp: Likewise.
8157 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
8158 * gdb.trace/tracecmd.exp: Check for arch support.
8159 * gdb.trace/tspeed.exp: Check for shlib and target support.
8160 * gdb.trace/tstatus.exp: Check for arch support.
8161 * gdb.trace/tsv.exp: Likewise.
8162 * gdb.trace/while-dyn.exp: Likewise.
8163 * gdb.trace/while-stepping.exp: Likewise.
8164 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
8166 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
8168 * gdb.trace/tspeed.exp: Remove nowarnings.
8169 (prepare_for_trace_test): Declare "global ipalib".
8170 * gdb.trace/tspeed.c: Include unistd.h.
8171 (main): Remove superfluous printf argument.
8173 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
8175 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
8176 directory prefix on the filename.
8178 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
8180 * gdb.gdb/unittest.exp: Update expected message informing that
8181 selftests have been disabled.
8182 * gdb.server/unittest.exp: Likewise.
8184 2018-10-09 Tom de Vries <tdevries@suse.de>
8186 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
8189 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
8192 * gdb.cp/virtbase2.cc: New file.
8193 * gdb.cp/virtbase2.exp: New file.
8195 2018-10-06 Tom Tromey <tom@tromey.com>
8198 * gdb.python/py-inferior.exp: Add architecture test.
8200 2018-10-06 Tom Tromey <tom@tromey.com>
8202 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
8203 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
8205 2018-10-06 Tom Tromey <tom@tromey.com>
8207 * gdb.python/py-breakpoint.exp (check_last_event): Check location
8208 of a "throw" catchpoint.
8210 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
8212 * gdb.base/info-proc.exp: Update string expected from "help info
8215 2018-10-04 Tom Tromey <tom@tromey.com>
8217 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
8218 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
8219 (test_initial_complaints, test_empty_complaints): Update.
8220 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
8222 2018-10-04 Tom Tromey <tom@tromey.com>
8225 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
8226 * lib/gdb.exp (gdb_file_cmd): Update.
8227 * gdb.stabs/weird.exp (print_weird_var): Update.
8228 * gdb.server/solib-list.exp: Update.
8229 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
8230 * gdb.mi/mi-cli.exp: Update.
8231 * gdb.linespec/linespec.exp: Update.
8232 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
8233 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
8234 * gdb.cp/cp-relocate.exp: Update.
8235 * gdb.base/sym-file.exp: Update.
8236 * gdb.base/relocate.exp: Update.
8237 * gdb.base/readnever.exp: Update.
8238 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
8239 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
8240 * gdb.base/dbx.exp (gdb_file_cmd): Update.
8241 * gdb.base/code_elim.exp: Update.
8242 * gdb.base/break-unload-file.exp (test_break): Update.
8243 * gdb.base/break-interp.exp (test_attach_gdb): Update.
8244 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
8246 * gdb.base/attach.exp (do_attach_tests): Update.
8247 * gdb.base/sepdebug.exp: Update.
8248 * gdb.python/py-section-script.exp: Update.
8250 2018-10-04 Tom Tromey <tom@tromey.com>
8253 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
8254 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
8257 2018-10-04 Tom Tromey <tom@tromey.com>
8259 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
8260 set width and height to 0.
8261 (test_command_line_attach_run): Use -quiet.
8263 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
8265 * lib/gdb.exp (skip_ifunc_tests): New.
8266 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
8267 other compile failures.
8268 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
8270 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
8272 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
8273 is_amd64_regs_target.
8275 2018-10-01 Alan Hayward <alan.hayward@arm.com>
8277 * gdb.arch/aarch64-sighandler-regs.c: New test.
8278 * gdb.arch/aarch64-sighandler-regs.exp: New file.
8279 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
8281 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
8283 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
8286 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
8288 * gdb.base/frame-selection.exp: New file.
8289 * gdb.base/frame-selection.c: New file.
8291 2018-09-27 Alan Hayward <alan.hayward@arm.com>
8293 * gdb.threads/check-libthread-db.c (thread_routine): Use a
8297 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
8299 * gdb.base/large-frame-1.c: New file.
8300 * gdb.base/large-frame-2.c: New file.
8301 * gdb.base/large-frame.exp: New file.
8302 * gdb.base/large-frame.h: New file.
8304 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
8307 * gdb.base/write_mem.exp: New test.
8308 * gdb.base/write_mem.c: Likewise.
8310 2018-09-23 Tom Tromey <tom@tromey.com>
8313 * gdb.python/py-parameter.exp: Add test for parameter that throws
8316 2018-09-23 Tom Tromey <tom@tromey.com>
8319 * gdb.python/py-template.exp (test_template_arg): Add test for
8320 negative template argument number.
8322 2018-09-23 Tom Tromey <tom@tromey.com>
8325 * gdb.python/python.exp: Add test for post_event error.
8327 2018-09-23 Tom Tromey <tom@tromey.com>
8330 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
8331 convert pointers to int and long.
8333 2018-09-23 Tom Tromey <tom@tromey.com>
8336 * gdb.python/py-value.exp (test_value_numeric_ops): Add
8337 signed-ness conversion tests.
8339 2018-09-23 Tom Tromey <tom@tromey.com>
8342 * gdb.python/py-value.exp (test_float_conversion): New proc.
8345 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
8347 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
8349 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
8351 * gdb.base/complete-empty.exp: Skip tab-completion tests if
8353 * gdb.base/utf8-identifiers.exp: Likewise.
8354 * gdb.cp/cpcompletion.exp: Likewise.
8355 * gdb.linespec/cpcompletion.exp: Likewise.
8356 * gdb.linespec/cpls-abi-tag.exp: Likewise.
8357 * gdb.linespec/cpls-ops.exp: Likewise.
8359 2018-09-19 Richard Bunt <richard.bunt@arm.com>
8360 Chris January <chris.january@arm.com>
8362 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
8363 * gdb.fortran/short-circuit-argument-list.exp: New file.
8364 * gdb.fortran/short-circuit-argument-list.f90: New test.
8366 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
8368 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
8369 "arch=" keyword when executing "-stack-list-frames".
8371 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
8373 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
8374 "arch=" keyword when executing "-stack-list-frames".
8376 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
8378 * gdb.ada/complete.exp: Expect for "@" when doing "complete
8381 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
8384 * gdb.python/python.exp: Test gdb.execute("show commands").
8386 2018-09-16 Tom Tromey <tom@tromey.com>
8388 * gdb.base/new-ui.exp (do_execution_tests): Update.
8389 * gdb.base/dbx.exp (test_breakpoints): Update.
8391 2018-09-14 Alan Hayward <alan.hayward@arm.com>
8393 * lib/gdb.exp (gdb_simple_compile): Add proc.
8394 (is_elf_target): Use gdb_simple_compile.
8395 (skip_altivec_tests): Likewise.
8396 (skip_vsx_tests): Likewise.
8397 (skip_tsx_tests): Likewise.
8398 (skip_btrace_tests): Likewise.
8399 (skip_btrace_pt_tests): Likewise.
8400 (gdb_can_simple_compile): Likewise.
8401 (gdb_has_argv0): Likewise.
8402 (gdb_target_symbol_prefix): Likewise.
8403 (target_supports_scheduler_locking): Likewise.
8405 2018-09-13 Tom Tromey <tom@tromey.com>
8407 * Makefile.in (TAGS): Recognize proc_with_prefix and
8410 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
8412 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
8415 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
8417 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
8418 and a few other Inferior properties when the Inferior is no
8421 2018-09-13 Tom Tromey <tom@tromey.com>
8424 * gdb.rust/simple.exp: Add test for enum field access error.
8426 2018-09-13 Tom Tromey <tom@tromey.com>
8429 * gdb.rust/simple.rs (EmptyEnum): New type.
8431 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
8433 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
8435 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
8436 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
8437 * gdb.python/py-symtab.exp: Update test printing an objfile.
8439 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
8441 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
8444 2018-09-12 Alan Hayward <alan.hayward@arm.com>
8446 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
8447 (support_complex_tests): Use gdb_can_simple_compile.
8448 (is_ilp32_target): Likewise.
8449 (is_lp64_target): Likewise.
8450 (is_64_target): Likewise.
8451 (is_amd64_regs_target): Likewise.
8452 (is_aarch32_target): Likewise.
8453 (gdb_int128_helper): Likewise.
8455 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8457 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
8459 2018-09-10 Jerome Guitton <guitton@adacore.com>
8461 * gdb.ada/same_component_name: Add test for case of tagged record
8462 with variable-length fields.
8464 2018-09-10 Xavier Roirand <roirand@adacore.com>
8466 * gdb.ada/access_to_unbounded_array.exp: New testcase.
8467 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
8468 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
8469 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
8471 2018-09-10 Xavier Roirand <roirand@adacore.com>
8473 * gdb.ada/mi_string_access.exp: New testcase.
8474 * gdb.ada/mi_string_access/bar.adb: New file.
8475 * gdb.ada/mi_string_access/pck.adb: New file.
8476 * gdb.ada/mi_string_access/pck.asd: New file.
8478 2018-09-10 Xavier Roirand <roirand@adacore.com>
8480 * gdb.ada/mi_var_union.exp: New testcase.
8481 * gdb.ada/mi_var_union/bar.adb: New file.
8482 * gdb.ada/mi_var_union/pck.adb: New file.
8483 * gdb.ada/mi_var_union/pck.asd: New file.
8485 2018-09-08 Tom Tromey <tom@tromey.com>
8487 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
8489 2018-09-08 Tom Tromey <tom@tromey.com>
8492 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
8493 (register_pretty_printers): Register new printer.
8494 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
8496 * gdb.python/py-prettyprint.c (int_type3): New typedef.
8497 (an_int_type3): New global.
8499 2018-09-08 Joel Brobecker <brobecker@adacore.com>
8501 * gdb.ada/expr_with_funcall: New testcase.
8503 2018-09-08 Joel Brobecker <brobecker@adacore.com>
8505 * gdb.ada/packed_array_assign: New testcase.
8507 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
8509 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
8510 names, and add test prefixes to make test names unique.
8512 2018-09-05 Tom de Vries <tdevries@suse.de>
8514 * gdb.dwarf2/varval.exp: Add test.
8516 2018-09-04 Gary Benson <gbenson@redhat.com>
8518 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
8519 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
8521 2018-08-31 Tom Tromey <tom@tromey.com>
8523 * gdb.rust/simple.rs: Rename second variable "v".
8525 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
8527 * gdb.base/funcargs.c (use_a): New function.
8528 (recurse): Call use_a.
8530 2018-08-29 Keith Seitz <keiths@redhat.com>
8532 * gdb.compile/compile-cplus-anonymous.cc: New file.
8533 * gdb.compile/compile-cplus-anonymous.exp: New file.
8534 * gdb.compile/compile-cplus-array-decay.cc: New file.
8535 * gdb.compile/compile-cplus-array-decay.exp: New file.
8536 * gdb.compile/compile-cplus-inherit.cc: New file.
8537 * gdb.compile/compile-cplus-inherit.exp: New file.
8538 * gdb.compile/compile-cplus-member.cc: New file.
8539 * gdb.compile/compile-cplus-member.exp: New file.
8540 * gdb.compile/compile-cplus-method.cc: New file.
8541 * gdb.compile/compile-cplus-method.exp: New file.
8542 * gdb.compile/compile-cplus-mod.c: "New" file.
8543 * gdb.compile/compile-cplus-namespace.cc: New file.
8544 * gdb.compile/compile-cplus-namespace.exp: New file.
8545 * gdb.compile/compile-cplus-nested.cc: New file.
8546 * gdb.compile/compile-cplus-nested.exp: New file.
8547 * gdb.compile/compile-cplus-print.c: "New" file.
8548 * gdb.compile/compile-cplus-print.exp: "New" file.
8549 * gdb.compile/compile-cplus-virtual.cc: New file.
8550 * gdb.compile/compile-cplus-virtual.exp: New file.
8551 * gdb.compile/compile-cplus.c: "New" file.
8552 * gdb.compile/compile-cplus.exp: "New" file.
8553 * lib/compile-support.exp: New file.
8555 2018-08-16 Gary Benson <gbenson@redhat.com>
8558 * gdb.base/batch-exit-status.exp: New file.
8559 * gdb.base/batch-exit-status.good-commands: Likewise.
8560 * gdb.base/batch-exit-status.bad-commands: Likewise.
8562 2018-08-29 Alan Hayward <alan.hayward@arm.com>
8564 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
8565 (struct struct02): Likewise.
8566 (struct struct03): Likewise.
8567 (struct struct04): Likewise.
8568 (struct struct_01_01): New struct.
8569 (struct struct_01_02): Likewise.
8570 (struct struct_01_03): Likewise.
8571 (struct struct_01_04): Likewise.
8572 (struct struct_02_01): Likewise.
8573 (struct struct_02_02): Likewise.
8574 (struct struct_02_03): Likewise.
8575 (struct struct_02_04): Likewise.
8576 (struct struct_04_01): Likewise.
8577 (struct struct_04_02): Likewise.
8578 (struct struct_04_03): Likewise.
8579 (struct struct_04_04): Likewise.
8580 (struct struct_05_01): Likewise.
8581 (struct struct_05_02): Likewise.
8582 (struct struct_05_03): Likewise.
8583 (struct struct_05_04): Likewise.
8584 (cmp_struct01): Remove function.
8585 (cmp_struct02): Likewise.
8586 (cmp_struct03): Likewise.
8587 (cmp_struct04): Likewise.
8588 (cmp_struct_01_01): Add Function.
8589 (cmp_struct_01_02): Likewise.
8590 (cmp_struct_01_03): Likewise.
8591 (cmp_struct_01_04): Likewise.
8592 (cmp_struct_02_01): Likewise.
8593 (cmp_struct_02_02): Likewise.
8594 (cmp_struct_02_03): Likewise.
8595 (cmp_struct_02_04): Likewise.
8596 (cmp_struct_04_01): Likewise.
8597 (cmp_struct_04_02): Likewise.
8598 (cmp_struct_04_03): Likewise.
8599 (cmp_struct_04_04): Likewise.
8600 (cmp_struct_05_01): Likewise.
8601 (cmp_struct_05_02): Likewise.
8602 (cmp_struct_05_03): Likewise.
8603 (cmp_struct_05_04): Likewise.
8604 (call_all): Add new structs.
8605 * gdb.base/infcall-nested-structs.exp: Likewise.
8607 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
8609 * gdb.python/py-framefilter-mi.exp: Update regexp to
8610 check for "arch" field in frame output.
8612 2018-08-23 Kevin Buettner <kevinb@redhat.com>
8614 * gdb.dwarf2/dw2-ranges-func.c: New file.
8615 * gdb.dwarf2/dw2-ranges-func.exp: New file.
8617 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
8619 * gdb.base/term.exp: Compare terminal settings with values from
8621 * gdb.base/term.c: Get and set terminal settings.
8623 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
8625 * lib/mi-support.exp (mi_expect_stop): Update regexp to
8626 accommodate new "arch" field in frame output.
8627 * gdb.mi/mi-return.exp: Likewise.
8628 * gdb.mi/mi-stack.exp: Likewise.
8629 * gdb.mi/mi-syn-frame.exp: Likewise.
8630 * gdb.mi/user-selected-context-sync.exp: Likewise.
8632 2018-08-19 Michael Spang <spang@google.com>
8635 * gdb.base/gcore-tls-pie.c: New file.
8636 * gdb.base/gcore-tls-pie.exp: New file.
8638 2018-08-18 Kevin Buettner <kevinb@redhat.com>
8640 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
8641 * gdb.dwarf2/varval.c: New file.
8642 * gdb.dwarf2/varval.exp: New file.
8644 2018-08-17 Alan Hayward <alan.hayward@arm.com>
8647 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
8649 2018-08-16 Keith Seitz <keiths@redhat.com>
8651 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
8652 tests expected to pass.
8654 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
8656 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
8657 -data-disassemble -a.
8658 (test_disassembly_bogus_args): Likewise.
8660 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
8662 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
8664 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
8666 * gdb.base/vla-optimized-out.exp: Add new test.
8668 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
8670 * gdb.base/vla-optimized-out-o3.exp: Delete.
8671 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
8672 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
8675 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
8678 * gdb.server/extended-remote-restart.c: New file.
8679 * gdb.server/extended-remote-restart.exp: New file.
8681 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
8683 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
8684 "set variable index = 42".
8686 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
8688 * boards/index-cache-gdb.exp: New file.
8689 * gdb.dwarf2/index-cache.exp: New file.
8690 * gdb.dwarf2/index-cache.c: New file.
8691 * gdb.base/maint.exp: Check if we are using the index cache.
8693 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8695 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
8698 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8700 * dg-extract-results.sh: Move to toplevel contrib.
8701 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
8702 * Makefile.in (check-parallel-racy): Likewise.
8704 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
8706 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
8707 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
8708 tests if the target supports scheduler locking.
8710 2018-08-04 Tom de Vries <tdevries@suse.de>
8712 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
8714 2018-08-02 Tom Tromey <tom@tromey.com>
8717 * gdb.cp/temargs.exp: Test "info address" of a template
8720 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
8722 * gdb.python/py-mi-var-info-path-expression.c: New file.
8723 * gdb.python/py-mi-var-info-path-expression.py: New file.
8724 * gdb.python/py-mi-var-info-path-expression.exp: New file.
8726 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
8728 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
8729 error after "cannot resolve name" string.
8731 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
8733 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
8735 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
8737 2018-07-28 Tom de Vries <tdevries@suse.de>
8739 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
8741 2018-07-26 Tom de Vries <tdevries@suse.de>
8743 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
8745 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
8747 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
8750 2018-07-26 Tom de Vries <tdevries@suse.de>
8752 PR breakpoints/23366
8753 * gdb.base/catch-follow-exec.c: New test.
8754 * gdb.base/catch-follow-exec.exp: New file.
8756 2018-07-25 Tom de Vries <tdevries@suse.de>
8758 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
8759 vla-optimized-out.c.
8761 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
8763 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
8764 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
8766 2018-07-20 Tom de Vries <tdevries@suse.de>
8768 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
8770 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
8772 2018-07-19 Tom de Vries <tdevries@suse.de>
8774 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
8777 2018-07-18 Tom de Vries <tdevries@suse.de>
8779 * gdb.base/vla-optimized-out.c: New test.
8780 * gdb.base/vla-optimized-out.exp: New file.
8782 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
8784 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
8785 message "No address associated with hostname" when gdbserver
8786 cannot resolve the hostname.
8788 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8790 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
8791 Add some test prefixes to make tests unique.
8793 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8795 * gdb.base/frameapply.c: New file.
8796 * gdb.base/frameapply.exp: New file.
8798 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8800 * gdb.base/skip.exp: Update expected error message.
8802 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
8803 Jan Kratochvil <jan.kratochvil@redhat.com>
8804 Paul Fertser <fercerpav@gmail.com>
8805 Tsutomu Seki <sekiriki@gmail.com>
8807 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
8809 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
8811 * boards/native-gdbserver.exp: Likewise.
8812 * gdb.server/run-without-local-binary.exp: Improve regexp used
8813 for detecting when a remote debugging connection succeeds.
8814 * gdb.server/server-connect.exp: New file.
8815 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
8816 Do not prefix the port number with ":".
8817 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
8818 support for detecting and using it. Add '$debughost_gdbserver'
8819 to the list of arguments used to start gdbserver. Handle case
8820 when gdbserver cannot resolve a network name.
8822 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
8825 * gdb.base/ptype-offsets.cc (struct static_member): New
8827 (main) <stmember>: New variable.
8828 * gdb.base/ptype-offsets.exp: Add test for printing a struct
8829 with a static member in it.
8831 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
8833 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
8834 watchpoints enabled and disabled.
8836 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
8838 * gdb.base/examine-backward.exp: Still run tests around address
8839 0x0, even if address 0x0 is not readable. Update the pattern for
8840 matching address 0x0 in expected output.
8842 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
8844 * gdb.base/share-env-with-gdbserver.c (main): Add call to
8847 2018-07-04 Tom de Vries <tdevries@suse.de>
8849 * gdb.dwarf2/dw2-error.exp: Update expected error message.
8851 2018-07-02 Maciej W. Rozycki <macro@mips.com>
8854 * gdb.arch/mips-disassembler-options.exp: New test.
8855 * gdb.arch/mips-disassembler-options.s: New test source.
8857 2018-06-29 Pedro Alves <palves@redhat.com>
8859 * gdb.threads/names.exp: Adjust expected "info threads" output.
8861 2018-06-29 Pedro Alves <palves@redhat.com>
8863 * gdb.opt/inline-break.exp (line number, address): Add "info
8866 2018-06-29 Pedro Alves <palves@redhat.com>
8868 * gdb.opt/inline-break.c (func1): Add "break here" marker.
8869 * gdb.opt/inline-break.exp: Test setting breakpoints by line
8870 number and address and running to them.
8872 2018-06-29 Richard Bunt <richard.bunt@arm.com>
8874 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
8876 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8878 * lib/compiler.c: Remove executable permission flag.
8880 2018-06-28 Richard Bunt <richard.bunt@arm.com>
8882 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
8884 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
8886 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
8888 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
8890 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
8892 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
8893 address argument is omitted.
8895 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
8897 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
8899 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
8902 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
8903 * gdb.base/infoline-reloc-main-from-zero.c: New file.
8905 2018-06-26 Tom Tromey <tom@tromey.com>
8908 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
8909 * gdb.rust/simple.rs (struct SimpleLayout): New.
8911 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
8913 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
8914 "info registers" output.
8916 2018-06-21 Richard Bunt <richard.bunt@arm.com>
8918 * gdb.base/watchpoint-hw-attach.c: New test.
8919 * gdb.base/watchpoint-hw-attach.exp: New file.
8921 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
8923 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
8925 * boards/dwarf4-gdb-index.exp: Likewise.
8926 * boards/fission-dwp.exp: Likewise.
8928 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
8930 * gdb.base/float128.exp: Add comment and improved fail message
8931 to the failure case of "print large128" test.
8933 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
8935 * configure.ac: Remove AC_PREREQ.
8936 * configure: Re-generate.
8938 2018-06-19 Pedro Alves <palves@redhat.com>
8940 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
8941 (func_extern_caller): New.
8942 (main): Call func_extern_caller.
8943 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
8946 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
8949 * gdb.cp/typedef-base.cc: New file.
8950 * gdb.cp/typedef-base.exp: New file.
8952 2018-06-18 Tom de Vries <tdevries@suse.de>
8954 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
8956 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
8957 Richard Bunt <Richard.Bunt@arm.com>
8959 * gdb.threads/attach-slow-waitpid.c: New file.
8960 * gdb.threads/attach-slow-waitpid.exp: New file.
8961 * gdb.threads/slow-waitpid.c: New file.
8963 2018-06-14 Pedro Alves <palves@redhat.com>
8965 * gdb.base/fork-running-state.c: Include <errno.h>.
8966 (exit_if_relative_exits): New.
8967 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
8969 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
8972 2018-06-14 Tom de Vries <tdevries@suse.de>
8975 * gdb.base/finish-pretty.c: New test.
8976 * gdb.base/finish-pretty.exp: New file.
8978 2018-06-14 Pedro Alves <palves@redhat.com>
8980 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
8981 gdb's expected startup output.
8983 2018-06-14 Pedro Alves <palves@redhat.com>
8985 * lib/selftest-support.exp (selftest_setup): Remove inlined
8988 2018-06-14 Tom de Vries <tdevries@suse.de>
8990 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
8991 matching of breakpoint printing.
8993 2018-06-13 Tom de Vries <tdevries@suse.de>
8996 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
8997 (fork_child): ... here, and ...
8998 (fork_parent): ... here.
9000 2018-06-12 Tom de Vries <tdevries@suse.de>
9002 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
9004 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
9005 Stephen Roberts <stephen.roberts@arm.com>
9007 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
9008 rewrite test to describe action performed, rather than possible
9011 2018-06-08 Gary Benson <gbenson@redhat.com>
9013 * gdb.threads/check-libthread-db.exp: New file.
9014 * gdb.threads/check-libthread-db.c: Likewise.
9016 2018-06-05 Tom Tromey <tom@tromey.com>
9018 * gdb.base/default.exp: Update expected "show version" output.
9020 2018-06-05 Tom Tromey <tom@tromey.com>
9023 * gdb.cp/static-print-quit.exp: Update.
9024 * lib/gdb.exp (pagination_prompt): Update.
9025 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
9026 * gdb.python/python.exp: Update.
9028 2018-06-04 Joel Brobecker <brobecker@adacore.com>
9030 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
9032 2018-06-01 Joel Brobecker <brobecker@adacore.com>
9034 * gdb.ada/bp_fun_addr: New testcase.
9036 2018-06-01 Tom Tromey <tom@tromey.com>
9038 * gdb.xml/tdesc-regs.exp (load_description): Update expected
9040 * gdb.dwarf2/method-ptr.exp: Set language to C++.
9041 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
9042 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
9043 * gdb.base/maint.exp (maint_pass_if): Update.
9045 2018-05-31 Maciej W. Rozycki <macro@mips.com>
9047 * gdb.base/endian.exp: New test.
9048 * gdb.base/endian.c: New test source.
9050 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
9053 * gdb.base/bt-selected-frame.c: New file.
9054 * gdb.base/bt-selected-frame.exp: New file.
9055 * lib/gdb.exp (get_current_frame_number): New function.
9057 2018-05-24 Maciej W. Rozycki <macro@mips.com>
9058 Pedro Alves <palves@redhat.com>
9060 * gdb.threads/tls-core.c: Include <stdlib.h>
9061 (thread_proc): Call `abort'.
9062 * gdb.threads/tls-core.exp: Generate a core with core_find too.
9063 (tls_core_test): New procedure, bits factored out from ...
9064 (top level): ... here. Test both native cores and gcore cores.
9066 2018-05-23 Tom Tromey <tom@tromey.com>
9068 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
9070 2018-05-23 Tom Tromey <tom@tromey.com>
9072 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
9074 (test_short_complaints): Likewise.
9075 (test_empty_complaints): Likewise.
9076 (test_initial_complaints): Update.
9078 2018-05-23 Tom Tromey <tom@tromey.com>
9080 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
9082 2018-05-23 Tom Tromey <tom@tromey.com>
9084 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
9085 (test_short_complaints): Update.
9087 2018-05-22 Pedro Alves <palves@redhat.com>
9089 * gdb.base/remote.exp: Only gdb_start after compiling the
9090 testcase. Issue "disconnect" before testing "set remote" command
9091 defaults. Issue clean_restart before running to main.
9093 2018-05-22 Pedro Alves <palves@redhat.com>
9095 * gdb.base/remote.exp: Adjust expected output of "show remote
9096 memory-write-packet-size". Add tests for "set remote
9097 memory-write-packet-size 0" and "set remote
9098 memory-write-packet-size fixed/limit".
9100 2018-05-22 Pedro Alves <palves@redhat.com>
9103 * gdb.base/utf8-identifiers.c: New file.
9104 * gdb.base/utf8-identifiers.exp: New file.
9106 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
9108 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
9110 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
9112 * gdb.arch/powerpc-vsx-gcore.exp: New file.
9114 2018-05-18 Tom Tromey <tom@tromey.com>
9116 * gdb.base/ptype-offsets.exp: Update.
9118 2018-05-17 Keith Seitz <keiths@redhat.com>
9120 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
9121 in expected breakpoint stop locations.
9122 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
9123 move to proper scope to test variable values.
9124 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
9125 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
9127 (main): Call not_inline_func3.
9128 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
9129 inline_func1, inline_func2, and inline_func3. Test that when each
9130 breakpoint is hit, GDB properly reports both the stop location
9131 and the backtrace. Repeat tests for temporary breakpoints.
9133 2018-05-15 Maciej W. Rozycki <macro@mips.com>
9135 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
9136 rather then trying to access it in determining whether the PID
9137 of `gdbserver' could have been retrieved.
9139 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
9141 * gdb.arch/amd64-init-x87-values.S: New file.
9142 * gdb.arch/amd64-init-x87-values.exp: New file.
9144 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9146 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
9148 2018-05-04 Tom Tromey <tom@tromey.com>
9151 * gdb.python/python.exp: Test multi-line execute.
9153 2018-05-04 Tom Tromey <tom@tromey.com>
9156 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
9158 2018-05-04 Tom Tromey <tom@tromey.com>
9161 * gdb.base/define.exp: Test defining a user command inside a user
9163 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
9165 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9166 Pedro Alves <palves@redhat.com>
9168 PR breakpoints/19806 and support for PR external/20207.
9169 * gdb.base/watchpoint-unaligned.c: New file.
9170 * gdb.base/watchpoint-unaligned.exp: New file.
9172 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
9174 * gdb.base/maint.exp: Make test names unique, use
9175 test_prefix_command_help to test 'help maint info', and remove
9176 repeated test of 'help maint'.
9178 2018-05-04 Tom Tromey <tom@tromey.com>
9181 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
9184 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
9186 * gdb.base/maint.exp: Process output from 'maint print registers'
9189 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
9191 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
9194 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
9196 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
9199 2018-05-02 Pedro Alves <palves@redhat.com>
9201 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
9202 to_log_command renames.
9203 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
9205 2018-05-02 Tom Tromey <tom@tromey.com>
9207 * gdb.python/py-parameter.exp: Set test message.
9209 2018-05-02 Tom Tromey <tom@tromey.com>
9212 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
9213 PARAM_ZUINTEGER_UNLIMITED tests.
9215 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
9218 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
9221 2018-04-30 Tom Tromey <tom@tromey.com>
9223 * gdb.python/py-type.exp: Check align attribute.
9224 * gdb.python/py-type.c: New "aligncheck" global.
9226 2018-04-30 Tom Tromey <tom@tromey.com>
9229 * gdb.dwarf2/dw2-align.exp: New file.
9230 * gdb.cp/align.exp: New file.
9231 * gdb.base/align.exp: New file.
9232 * lib/gdb.exp (gdb_int128_helper): New proc.
9233 (has_int128_c, has_int128_cxx): New caching procs.
9235 2018-04-27 Tom Tromey <tom@tromey.com>
9238 * gdb.rust/simple.exp: Add inclusive range tests.
9240 2018-04-26 Pedro Alves <palves@redhat.com>
9242 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
9243 ifunc breakpoint locations correctly of ifunc breakpoints set
9244 while the program resolves the ifunc.
9246 2018-04-26 Pedro Alves <palves@redhat.com>
9248 * gdb.base/gnu-ifunc-final.c: New file.
9249 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
9250 * gdb.base/gnu-ifunc.exp (executable): Delete.
9251 (staticexecutable): Adjust.
9252 (lib_opts, exec_opts): Delete.
9253 (make_binsuffix, build, set-break): New procedures.
9254 (misc_tests): New, with tests factored out from the top level.
9255 (top level): Test different combinations of ifunc resolver name,
9256 resolver with and with debug info, and ifunc target with and
9257 without debug info. Wrap static tests with with_target_prefix.
9259 2018-04-26 Pedro Alves <palves@redhat.com>
9261 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
9262 return type" warnings.
9264 2018-04-25 Pedro Alves <palves@redhat.com>
9266 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
9268 * gdb.base/kill-after-signal.exp: Likewise.
9269 * gdb.threads/kill.exp: Likewise.
9271 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9272 Sergio Durigan Junior <sergiodj@redhat.com>
9273 Pedro Alves <palves@redhat.com>
9275 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
9276 regexps to expect for '[Inferior ... detached]' as well.
9277 * gdb.base/attach.exp: Likewise.
9278 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
9279 "gdb_continue_to_end".
9280 (test_catch_syscall_with_wrong_args): Likewise.
9281 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
9282 ']'. Don't set 'verbose' on.
9283 * gdb.base/foll-vfork.exp: Likewise.
9284 * gdb.base/fork-print-inferior-events.c: New file.
9285 * gdb.base/fork-print-inferior-events.exp: New file.
9286 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
9287 '[Inferior ... has been killed]' message.
9288 * gdb.base/kill-after-signal.exp: Likewise.
9289 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
9291 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
9293 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
9294 regexps to expect for '[Inferior ... detached]' as well.
9295 * gdb.threads/process-dies-while-detaching.exp: Likewise.
9297 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
9300 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
9302 2018-04-22 Rajendra SY <rajendra.sy@gmail.com>
9305 * gdb.base/break-probes.exp: Pass shlib_load to
9306 prepare_for_testing. Set normal_bp to r_debug_state if target is
9309 2018-04-19 Richard Bunt <richard.bunt@arm.com>
9311 * gdb.threads/multiple-successive-infcall.c: New test.
9312 * gdb.threads/multiple-successive-infcall.exp: New file.
9314 2018-04-17 Tom Tromey <tom@tromey.com>
9316 * gdb.rust/simple.rs (Union): New type.
9317 (main): New local "u".
9318 * gdb.rust/simple.exp (test_one_slice): Add new test case.
9320 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9322 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
9323 number information in output of "whereis" command.
9324 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
9326 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
9328 * gdb.ada/info_types.exp: Adjust expected output to the line
9329 numbers now printed by "info var/func/type".
9330 * gdb.base/completion.exp: Likewise.
9331 * gdb.base/included.exp: Likewise.
9332 * gdb.cp/cp-relocate.exp: Likewise.
9333 * gdb.cp/cplusfuncs.exp: Likewise.
9334 * gdb.cp/namespace.exp: Likewise.
9335 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
9337 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
9339 * gdb.btrace/cpu.exp: New.
9341 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
9343 * gdb.base/step-indirect-call-thunk.exp: New.
9344 * gdb.base/step-indirect-call-thunk.c: New.
9345 * gdb.reverse/step-indirect-call-thunk.exp: New.
9346 * gdb.reverse/step-indirect-call-thunk.c: New.
9348 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
9350 * gdb.base/pie-fork.c: New file.
9351 * gdb.base/pie-fork.exp: New file.
9353 2018-04-11 Tom Tromey <tom@tromey.com>
9355 * gdb.rust/simple.exp: Add test for ".." struct initializer.
9357 2018-04-10 Pedro Alves <palves@redhat.com>
9359 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
9360 exits. Instead loop running forever.
9361 (fork_parent): Run forever too.
9363 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
9365 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
9366 mi_continue_to_line.
9367 * gdb.mi/mi-stack.c (callee4): Add comment.
9369 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
9371 * gdb.mi/mi-stack.exp: Fix indentation.
9373 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
9376 * gdb.arch/amd64-osabi.exp: New file.
9378 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
9381 * gdb.base/osabi.exp: New file.
9383 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
9385 * gdb.cp/static-typedef-print.exp: New file.
9386 * gdb.cp/static-typedef-print.cc: New file.
9388 2018-03-27 Joel Brobecker <brobecker@adacore.com>
9390 * gdb.ada/varsize_limit: New testcase.
9392 2018-03-27 Joel Brobecker <brobecker@adacore.com>
9394 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
9396 * gdb.ada/notcplusplus: New testcase.
9398 * gdb.base/c-linkage-name.c: New file.
9399 * gdb.base/c-linkage-name.exp: New testcase.
9401 2018-03-26 Tom Tromey <tom@tromey.com>
9403 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
9404 * gdb.python/py-framefilter.py (name_error): New global.
9405 (ErrorInName.function): Use name_error.
9407 2018-03-26 Tom Tromey <tom@tromey.com>
9410 * gdb.python/py-framefilter.exp: Add "bt hide" test.
9412 2018-03-23 Keith Seitz <keiths@redhat.com>
9415 * gdb.cp/subtypes.exp: New file.
9416 * gdb.cp/subtypes.h: New file.
9417 * gdb.cp/subtypes.cc: New file.
9418 * gdb.cp/subtypes-2.cc: New file.
9420 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
9422 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
9423 (done): Call '_exit' not 'exit' to avoid atexit handlers.
9424 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
9425 -nostartfiles when compiling the test. Confirm that all registers
9426 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
9428 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
9430 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
9431 option, syntax was wrong anyway.
9432 * gdb.arch/arm-disp-step.exp: Likewise.
9433 * gdb.arch/sparc64-regs.exp: Likewise.
9434 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
9435 option, syntax was wrong anyway, switch to use
9436 prepare_for_testing.
9437 * gdb.arch/i386-disp-step.exp: Likewise.
9439 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
9441 * gdb.ada/exec_changed.exp: Replace "target_info exists
9442 use_gdb_stub" by "use_gdb_stub".
9443 * gdb.ada/start.exp: Likewise.
9444 * gdb.base/async-shell.exp: Likewise.
9445 * gdb.base/attach-pie-misread.exp: Likewise.
9446 * gdb.base/attach-wait-input.exp: Likewise.
9447 * gdb.base/break-entry.exp: Likewise.
9448 * gdb.base/break-interp.exp: Likewise.
9449 * gdb.base/dprintf-detach.exp: Likewise.
9450 * gdb.base/nostdlib.exp: Likewise.
9451 * gdb.base/solib-nodir.exp: Likewise.
9452 * gdb.base/statistics.exp: Likewise.
9453 * gdb.base/testenv.exp: Likewise.
9454 * gdb.mi/mi-exec-run.exp: Likewise.
9455 * gdb.mi/mi-start.exp: Likewise.
9456 * gdb.multi/dummy-frame-restore.exp: Likewise.
9457 * gdb.multi/multi-arch-exec.exp: Likewise.
9458 * gdb.multi/multi-arch.exp: Likewise.
9459 * gdb.multi/tids.exp: Likewise.
9460 * gdb.multi/watchpoint-multi.exp: Likewise.
9461 * gdb.python/py-events.exp: Likewise.
9462 * gdb.threads/attach-into-signal.exp: Likewise.
9463 * gdb.threads/attach-stopped.exp: Likewise.
9464 * gdb.threads/threadapply.exp: Likewise.
9465 * lib/selftest-support.exp: Likewise.
9467 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
9469 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
9471 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
9473 * gdb.perf/template-breakpoints.cc: New file.
9474 * gdb.perf/template-breakpoints.exp: New file.
9475 * gdb.perf/template-breakpoints.py: New file.
9477 2018-03-19 Tom Tromey <tom@tromey.com>
9479 * gdb.rust/simple.rs (main): Add local variables field1, field2,
9481 * gdb.rust/simple.exp: Test bare identifier form of struct
9484 2018-03-19 Tom Tromey <tom@tromey.com>
9486 * gdb.gdb/observer.exp: Remove.
9488 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
9490 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
9491 "qualified" option when setting breakpoints.
9492 * gdb.trace/backtrace.exp: Likewise.
9493 * gdb.trace/circ.exp: Likewise.
9494 * gdb.trace/collection.exp: Likewise.
9495 * gdb.trace/disconnected-tracing.exp: Likewise.
9496 * gdb.trace/ftrace-lock.exp: Likewise.
9497 * gdb.trace/ftrace.exp: Likewise.
9498 * gdb.trace/infotrace.exp: Likewise.
9499 * gdb.trace/packetlen.exp: Likewise.
9500 * gdb.trace/passc-dyn.exp: Likewise.
9501 * gdb.trace/qtro.exp: Likewise.
9502 * gdb.trace/read-memory.exp: Likewise.
9503 * gdb.trace/report.exp: Likewise.
9504 * gdb.trace/signal.exp: Likewise.
9505 * gdb.trace/status-stop.exp: Likewise.
9506 * gdb.trace/strace.exp: Likewise.
9507 * gdb.trace/tfind.exp: Likewise.
9508 * gdb.trace/trace-break.exp: Likewise.
9509 * gdb.trace/trace-condition.exp: Likewise.
9510 * gdb.trace/trace-mt.exp: Likewise.
9511 * gdb.trace/tstatus.exp: Likewise.
9512 * gdb.trace/tsv.exp: Likewise.
9513 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
9514 * gdb.trace/unavailable.exp: Likewise.
9515 * gdb.trace/while-dyn.exp: Likewise.
9517 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9519 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
9520 that libinproctrace is copied to the target.
9522 2018-03-14 Tom Tromey <tom@tromey.com>
9525 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
9527 * gdb.base/wchar.exp: Likewise.
9529 2018-03-14 Tom Tromey <tom@tromey.com>
9532 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
9535 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
9538 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
9539 "target" to remote_exec.
9541 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
9544 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
9545 ${board}_upload): Remove.
9547 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
9549 * gdb.cp/watch-cp.cc: New test.
9550 * gdb.cp/watch-cp.exp: New file.
9552 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
9554 * gdb.base/infcall-nested-structs.exp: New file.
9555 * gdb.base/infcall-nested-structs.c: New file.
9556 * gdb.base/float.exp: Add riscv support.
9558 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
9560 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
9561 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
9563 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
9565 * gdb.server/abspath.exp: New file.
9566 * lib/gdb.exp (with_cwd): New procedure.
9568 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
9570 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
9572 (gdb_is_target_remote_prompt): New proc.
9573 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
9574 (gdb_is_target_native): Pass prompt parameter to
9577 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
9579 * gdb.base/load-command.c: New file.
9580 * gdb.base/load-command.exp: New file.
9581 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
9582 (gdb_is_target_1): ...this, and generalize for other targets
9584 (gdb_is_target_remote): Use gdb_is_target_1.
9585 (gdb_is_target_native): use gdb_is_target_1.
9587 2018-02-26 Tom Tromey <tom@tromey.com>
9590 * gdb.python/py-framefilter.exp: Update test.
9592 2018-02-26 Tom Tromey <tom@tromey.com>
9594 * gdb.dwarf2/variant.c: New file.
9595 * gdb.dwarf2/variant.exp: New file.
9597 2018-02-26 Tom Tromey <tom@tromey.com>
9599 * gdb.rust/simple.exp: Accept more possible results in enum test.
9601 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
9603 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
9606 2018-02-23 Maciej W. Rozycki <macro@mips.com>
9608 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
9609 name of a variable: $actual_linejj -> $actual_line.
9611 2018-02-21 John Baldwin <jhb@FreeBSD.org>
9613 * gdb.arch/amd64-i386-address.exp: Fix a typo.
9615 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
9617 * gdb.btrace/buffer-size.exp: Do not force BTS.
9619 2018-02-14 Pedro Alves <palves@redhat.com>
9621 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
9624 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
9626 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
9629 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
9631 * gdb.cp/m-static.exp: Check type of optimized out static
9634 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
9636 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
9637 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
9639 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
9640 Leszek Swirski <leszeks@google.com>
9642 * gdb.python/py-prettyprint.c
9643 (struct to_string_returns_value_inner,
9644 struct to_string_returns_value_wrapper): New.
9645 (main): Add tsrvw variable.
9646 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
9647 ToStringReturnsValueWrapper): New classes.
9648 (register_pretty_printers): Register new pretty-printers.
9649 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
9650 recursive pretty printer.
9651 * gdb.python/py-mi.exp: Likewise.
9653 2018-02-01 Leszek Swirski <leszeks@google.com>
9655 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
9656 functions with the same name as an include file are parsed
9659 2018-02-01 Yao Qi <yao.qi@linaro.org>
9661 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
9664 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
9666 * gdb.arch/powerpc-prologue-frame.s: New file.
9667 * gdb.arch/powerpc-prologue-frame.c: Likewise.
9668 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
9670 2018-01-31 Joel Brobecker <brobecker@adacore.com>
9672 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
9674 2018-01-30 Pedro Alves <palves@redhat.com>
9677 * gdb.base/interrupt-daemon.c: New.
9678 * gdb.base/interrupt-daemon.exp: New.
9679 * gdb.multi/multi-term-settings.c: New.
9680 * gdb.multi/multi-term-settings.exp: New.
9682 2018-01-30 Joel Brobecker <brobecker@adacore.com>
9684 * gdb.base/break.exp: Save the location where the breakpoint
9685 on break.c:47 was actually inserted when debugging the version
9686 compiled at -O2 and use it in the expected output of the "info
9687 break" test performed soon after.
9689 2018-01-22 Pedro Alves <palves@redhat.com>
9690 Sergio Durigan Junior <sergiodj@redhat.com>
9692 * gdb.base/whatis.exp: Add tests for 'set print object on' +
9693 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
9695 2018-01-22 Joel Brobecker <brobecker@adacore.com>
9697 * gdb.base/break-include.c, gdb.base/break-include.inc,
9698 gdb.base/break-include.exp: New files.
9699 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
9700 line number now being the actual line number where the breakpoint
9702 * gdb.mi/mi-break.exp: Likewise.
9703 * gdb.mi/mi-reverse.exp: Likewise.
9704 * gdb.mi/mi-simplerun.exp: Ditto.
9706 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
9708 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
9710 * gdb.mi/mi-var-create-rtti.exp: Likewise.
9712 2018-01-21 Don Breazeal <donb@codesourcery.com>
9713 Andrew Burgess <andrew.burgess@embecosm.com>
9715 * gdb.mi/basics.c: Add new global.
9716 * gdb.mi/mi-frame-regs.exp: New file.
9717 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
9720 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
9722 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
9723 non-parameter, and on an unknown symbol.
9725 2018-01-19 Tom Tromey <tom@tromey.com>
9727 * gdb.rust/modules.rs (TWENTY_THREE): New global.
9728 * gdb.rust/modules.exp: Add ::-qualified lookup test.
9730 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
9732 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
9733 setrlimit and chdir to int.
9735 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
9737 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
9739 (my_tend): Likewise.
9740 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
9741 rationale of avoiding FP- and vector instructions.
9743 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
9745 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
9746 "info reg" with "\[ \t\]*".
9747 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
9749 * gdb.arch/s390-multiarch.exp: Ditto.
9750 * gdb.base/pc-fp.exp: Ditto.
9751 * gdb.reverse/i386-precsave.exp: Ditto.
9752 * gdb.reverse/i386-reverse.exp: Ditto.
9753 * gdb.reverse/i387-env-reverse.exp: Ditto.
9754 * gdb.reverse/i387-stack-reverse.exp: Ditto.
9756 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
9758 * lib/gdb.exp (gdb_compile): Re-enable use of
9759 universal_compile_options for languages other than Rust.
9761 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
9763 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
9765 2018-01-17 Mike Gulick <mgulick@mathworks.com>
9768 * gdb.base/solib-vanish.exp: New.
9769 * gdb.base/solib-vanish-main.c: New.
9770 * gdb.base/solib-vanish-lib1.c: New.
9771 * gdb.base/solib-vanish-lib2.c: New.
9773 2018-01-17 Yao Qi <yao.qi@linaro.org>
9775 * gdb.compile/compile.exp: Match the address printed for
9776 frame in the output of command "bt".
9778 2018-01-15 Tom Tromey <tom@tromey.com>
9780 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
9783 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
9785 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
9787 (prepare): Return 0 on error, 1 on success.
9789 2018-01-12 Pedro Alves <palves@redhat.com>
9791 * gdb.base/continue-after-aborted-step-over.c: New.
9792 * gdb.base/continue-after-aborted-step-over.exp: New.
9794 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
9796 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
9797 options when not creating an executable.
9799 2018-01-11 Pedro Alves <palves@redhat.com>
9802 * gdb.server/stop-reply-no-thread.c: New file.
9803 * gdb.server/stop-reply-no-thread.exp: New file.
9805 2018-01-10 Pedro Alves <palves@redhat.com>
9808 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
9809 functions too. Test setting breakpoints and printing C functions
9810 with no debug info too.
9811 * gdb.ada/bp_c_mixed_case/qux.c: New file.
9813 2018-01-10 Pedro Alves <palves@redhat.com>
9816 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
9819 2018-01-10 Pedro Alves <palves@redhat.com>
9822 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
9824 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
9826 * gdb.server/unittest.exp: Match the output in non-development
9829 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
9831 * gdb.gdb/unittest.exp: Match output in non-development mode.
9833 2018-01-08 Joel Brobecker <brobecker@adacore.com>
9835 * gdb.ada/access_tagged_param.exp: Relax expected output
9836 for value of "ObjL" in "continue" to pck.inspect breakpoint
9839 2018-01-08 Joel Brobecker <brobecker@adacore.com>
9841 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
9842 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
9844 2018-01-05 Pedro Alves <palves@redhat.com>
9847 * gdb.base/libsegfault.exp: New.
9849 2018-01-05 Joel Brobecker <brobecker@adacore.com>
9852 * gdb.ada/access_tagged_param.exp: New file.
9853 * gdb.ada/access_tagged_param/foo.adb: New file.
9855 2018-01-05 Pedro Alves <palves@redhat.com>
9858 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
9859 exercise lower case too, and to exercise both full matching and
9862 2018-01-05 Joel Brobecker <brobecker@adacore.com>
9864 * gdb.ada/rename_subscript_param: New testcase.
9866 2018-01-05 Jerome Guitton <guitton@adacore.com>
9868 * gdb.ada/arr_acc_idx_w_gap: New testcase.
9870 2018-01-05 Joel Brobecker <brobecker@adacore.com>
9872 * gdb.ada/convvar_comp: New testcase.
9874 2018-01-05 Xavier Roirand <roirand@adacore.com>
9876 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
9877 (My_Table): New global variable.
9878 * testsuite/gdb.ada/array_char_idx.exp: Add test.
9880 2018-01-04 Joel Brobecker <brobecker@adacore.com>
9883 * gdb.ada/maint_with_ada: New testcase.
9885 2018-01-04 Joel Brobecker <brobecker@adacore.com>
9888 * gdb.ada/bp_c_mixed_case: New testcase.
9890 2018-01-04 Joel Brobecker <brobecker@adacore.com>
9893 * gdb.ada/complete.exp: Add "complete break ada" test.
9895 2018-01-04 Joel Brobecker <brobecker@adacore.com>
9898 * gdb.ada/info_addr_mixed_case: New testcase.
9900 2018-01-03 Xavier Roirand <roirand@adacore.com>
9902 * gdb.ada/excep_handle.exp: New testcase.
9903 * gdb.ada/excep_handle/foo.adb: New file.
9904 * gdb.ada/excep_handle/pck.ads: New file.
9906 2018-01-03 Joel Brobecker <brobecker@adacore.com>
9908 * gdb.base/step-line.c: Add extra empty line in copyright header.
9909 * gdb.base/step-line.inp: Likewise.
9911 2018-01-02 Joel Brobecker <brobecker@adacore.com>
9913 * gdb.ada/dyn_stride.exp: Add slice test.
9915 2018-01-02 Joel Brobecker <brobecker@adacore.com>
9917 * gdb.ada/dyn_stride: New testcase.
9919 2017-12-27 Stafford Horne <shorne@gmail.com>
9921 * gdb.xml/extra-regs.xml: Add example foo reggroup.
9922 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
9924 2017-12-27 Stafford Horne <shorne@gmail.com>
9926 * gdb.base/reggroups.c: New file.
9927 * gdb.base/reggroups.exp: New file.
9929 2017-12-18 Joel Brobecker <brobecker@adacore.com>
9931 * gdb.dwarf2/ada-valprint-error.c: New file.
9932 * gdb.dwarf2/ada-valprint-error.exp: New file.
9934 2017-12-18 Joel Brobecker <brobecker@adacore.com>
9936 * gdb.ada/assign_arr: New testcase.
9938 2017-12-18 Xavier Roirand <roirand@adacore.com>
9940 * gdb.ada/funcall_ptr: New testcase.
9942 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
9945 * gdb.base/ptype-offsets.cc: New file.
9946 * gdb.base/ptype-offsets.exp: New file.
9948 2017-12-15 Yao Qi <yao.qi@linaro.org>
9950 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
9953 2017-12-15 Xavier Roirand <roirand@adacore.com>
9955 * gdb.ada/same_component_name: New testcase.
9957 2017-12-14 Joel Brobecker <brobecker@adacore.com>
9959 * gdb.ada/str_binop_equal: New testcase.
9961 2017-12-14 Joel Brobecker <brobecker@adacore.com>
9963 * gdb.ada/task_switch_in_core: New testcase.
9965 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
9967 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
9968 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
9969 call test_bkpt_qualified.
9970 (test_bkpt_qualified): New proc.
9972 2017-12-13 Pedro Alves <palves@redhat.com>
9974 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
9975 Tighten regexp by matching with an anchor.
9977 2017-12-13 Pedro Alves <palves@redhat.com>
9979 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
9980 ("expression with namespace"): New set of tests.
9981 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
9982 (Nested::Test_NS::qux): New.
9983 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
9984 defaults to 'start_quote_char' and 'end_quote_char' parameters.
9986 2017-12-13 Joel Brobecker <brobecker@adacore.com>
9988 * gdb.base/server-del-break.c: New file.
9989 * gdb.base/server-del-break.exp: New file.
9991 2017-12-12 Stafford Horne <shorne@gmail.com>
9993 * gdb.xml/tdesc-regs.exp: Add or1k support.
9995 2017-12-12 Stafford Horne <shorne@gmail.com>
9997 * gdb.base/bp-permanent.c: Define nop of or1k.
9999 2017-12-11 Joel Brobecker <brobecker@adacore.com>
10001 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
10002 output with components being reordered.
10004 2017-12-11 Joel Brobecker <brobecker@adacore.com>
10006 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
10007 output with components being reordered.
10009 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10010 Pedro Alves <palves@redhat.com>
10012 * gdb.base/maint.exp (check for .gdb_index): Check also for
10014 * gdb.dlang/watch-loc.c (.debug_aranges): New.
10015 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
10016 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
10017 (.gdb_index used after symbol reloading): Support also .debug_names.
10018 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
10020 2017-12-08 Yao Qi <yao.qi@linaro.org>
10022 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
10023 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
10025 2017-12-08 Yao Qi <yao.qi@linaro.org>
10027 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
10028 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
10030 2017-12-08 Yao Qi <yao.qi@linaro.org>
10032 * gdb.arch/aarch64-tagged-pointer.c: New file.
10033 * gdb.arch/aarch64-tagged-pointer.exp: New file.
10035 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
10037 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
10040 2017-12-07 Keith Seitz <keiths@redhat.com>
10042 PR breakpoints/22569
10043 * gdb.linespec/ls-errs.exp: Change expected result of "break
10044 -source this file has spaces.c -line 3".
10045 Check that an explicit source file followed by whitespace is
10046 identified as an invalid explicit location.
10048 2017-12-07 Keith Seitz <keiths@redhat.com>
10050 * gdb.cp/nested-types.cc: New file.
10051 * gdb.cp/nested-types.exp: New file.
10052 * lib/cp-support.exp: Load data-structures.exp library.
10053 (debug_cp_test_ptype_class): New global.
10054 (cp_ptype_class_verbose, next_line): New procedures.
10055 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
10056 Add and document new return value.
10057 Switch the list of lines to a queue.
10058 Add support for new `type' key for nested type definitions.
10059 Add debugging/troubleshooting messages.
10060 * lib/data-structures.exp: New file.
10062 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
10064 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
10065 with proc_with_prefix, don't use with_test_prefix.
10067 2017-12-07 Tom Tromey <tom@tromey.com>
10069 * gdb.base/break.exp: Add test for empty "commands".
10071 2017-12-07 Yao Qi <yao.qi@linaro.org>
10073 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
10074 malloc and catch syscall.
10076 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
10078 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
10079 tests for explicit locations.
10081 2017-12-06 Pedro Alves <palves@redhat.com>
10083 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
10084 force-disabling XML descriptions.
10086 2017-12-04 Pedro Alves <palves@redhat.com>
10089 * gdb.arch/amd64-disp-step-avx.S: New file.
10090 * gdb.arch/amd64-disp-step-avx.exp: New file.
10092 2017-12-03 Pedro Alves <palves@redhat.com>
10094 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
10096 (parent_function): Print distinct messages when waitpid fails, or
10097 the child exits with a signal, or the child exits for an unhandled
10099 * gdb.threads/process-dies-while-detaching.exp
10100 (detach_and_expect_exit): New 'inf_output_re' parameter and use
10101 it. Wait for both inferior output and GDB's prompt. Use an
10102 indirect spawn id list.
10103 (do_detach): New parameter 'child_exit'. Use it to compute
10104 expected inferior output.
10105 (test_detach, test_detach_watch, test_detach_killed_outside):
10106 Adjust to pass down the expected child exit kind.
10108 2017-12-01 Joel Brobecker <brobecker@adacore.com>
10109 Sergio Durigan Junior <sergiodj@redhat.com>
10110 Pedro Alves <palves@redhat.com>
10112 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
10114 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
10116 * gdb.base/relocate.exp: Add tests to guarantee that arguments
10117 to 'symbol-file' and 'add-symbol-file' can be
10118 position-independent.
10120 2017-12-01 Yao Qi <yao.qi@linaro.org>
10122 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
10123 the URL in copyright header.
10124 * gdb.arch/aarch64-fp.exp: Likewise.
10125 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
10126 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
10127 * gdb.base/expand-psymtabs.exp: Likewise.
10128 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
10129 * gdb.fortran/common-block.exp: Likewise.
10130 * gdb.fortran/common-block.f90: Likewise.
10131 * gdb.fortran/logical.exp: Likewise.
10132 * gdb.fortran/vla-datatypes.f90: Likewise.
10133 * gdb.fortran/vla-sub.f90: Likewise.
10135 2017-11-30 Joel Brobecker <brobecker@adacore.com>
10137 * gdb.ada/repeat_dyn: New testcase.
10139 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
10141 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
10142 Update for changed thread numbering.
10143 * gdb.cell/bt.exp: Update for changed GDB output.
10145 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
10147 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
10148 setting isremote by hand.
10149 * boards/dwarf4-gdb-index.exp: Likewise.
10150 * boards/fission.exp: Likewise.
10151 * boards/stabs.exp: Likewise.
10153 2017-11-30 Pedro Alves <palves@redhat.com>
10155 * gdb.linespec/cpls-ops.exp
10156 (check_explicit_skips_function_argument): Extract the underlying
10157 type of size_t instead of hardcoding it.
10159 2017-11-29 Pedro Alves <palves@redhat.com>
10162 * gdb.linespec/cpls-abi-tag.cc: New file.
10163 * gdb.linespec/cpls-abi-tag.exp: New file.
10165 2017-11-29 Pedro Alves <palves@redhat.com>
10167 * gdb.base/langs.exp: Use -qualified.
10168 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
10170 * gdb.cp/namespace.exp: Use -qualified.
10171 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
10172 (overload-3, template-overload, template-ret-type, const-overload)
10173 (const-overload-quoted, anon-ns, ambiguous-prefix): New
10175 (test_driver): Call them.
10176 * gdb.cp/save-bp-qualified.cc: New.
10177 * gdb.cp/save-bp-qualified.exp: New.
10178 * gdb.linespec/explicit.exp: Test -qualified.
10179 * lib/completion-support.exp (completion::explicit_opts_list): Add
10181 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
10183 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
10185 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
10187 2017-11-29 Tom Tromey <tom@tromey.com>
10189 * gdb.base/relocate.exp: Update invalid argument test.
10190 Add new tests for invalid arguments.
10192 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
10194 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
10195 Return 0 as a long.
10196 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
10198 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
10200 * gdb.cp/breakpoint.cc (bar): Set return type to void.
10201 * gdb.cp/psymtab-parameter.cc (func): Likewise.
10202 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
10204 * gdb.cp/shadow.cc (B.func): Return 0.
10206 2017-11-27 Joel Brobecker <brobecker@adacore.com>
10208 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
10209 expected output in gdb_expect call to allow the exception
10210 message to be present as well. Fix syntax confusion to avoid
10211 TCL thinking that exception_name is an array.
10213 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
10215 * gdb.arch/spu-info.c: Include <unistd.h>.
10216 (do_signal_test): Fix broken calls to write.
10217 * gdb.arch/spu-info.exp: Use prepare_for_testing.
10218 Fix checks for empty mailboxes. Update signal tests for corrected
10219 do_signal_test routine. Allow nonzero event status.
10220 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
10221 * gdb.cell/arch.exp: Use standard_output_file.
10222 * gdb.cell/break.exp: Likewise.
10223 * gdb.cell/bt.exp: Likewise.
10224 * gdb.cell/core.exp: Likewise.
10225 * gdb.cell/dwarfaddr.exp: Likewise.
10226 * gdb.cell/ea-cache.exp: Likewise.
10227 * gdb.cell/ea-standalone.exp: Likewise.
10228 * gdb.cell/f-regs.exp: Likewise.
10229 * gdb.cell/fork.exp: Likewise.
10230 * gdb.cell/gcore.exp: Likewise.
10231 * gdb.cell/mem-access.exp: Likewise.
10232 * gdb.cell/ptype.exp: Likewise.
10233 * gdb.cell/registers.exp: Likewise.
10234 * gdb.cell/sizeof.exp: Likewise.
10235 * gdb.cell/solib-symbol.exp: Likewise.
10236 * gdb.cell/solib.exp: Likewise.
10238 2017-11-25 Pedro Alves <palves@redhat.com>
10240 * gdb.base/complete-empty.exp: New file.
10241 * gdb.base/completion.exp: Adjust.
10243 2017-11-25 Pedro Alves <palves@redhat.com>
10245 * gdb.linespec/cpls-ops.cc: New file.
10246 * gdb.linespec/cpls-ops.exp: New file.
10247 * lib/completion-support.exp (test_complete_prefix_range_re): New,
10248 factored out from ...
10249 (test_complete_prefix_range): ... this.
10251 2017-11-24 Pedro Alves <palves@redhat.com>
10253 * gdb.linespec/cpcompletion.exp: New file.
10254 * gdb.linespec/cpls-hyphen.cc: New file.
10255 * gdb.linespec/cpls.cc: New file.
10256 * gdb.linespec/cpls2.cc: New file.
10257 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
10258 test to use test_gdb_complete_unique. Add label completion,
10259 keyword completion and explicit location completion tests.
10260 * lib/completion-support.exp: New file.
10262 2017-11-24 Joel Brobecker <brobecker@adacore.com>
10264 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
10265 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
10266 when hitting an exception catchpoint.
10268 2017-11-22 Yao Qi <yao.qi@linaro.org>
10270 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
10272 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
10274 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
10275 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
10276 * gdb.dwarf2/info-locals-optimized-out.c: New file.
10278 2017-11-22 Yao Qi <yao.qi@linaro.org>
10280 * gdb.base/info-os.exp: Pass pthreads.
10281 * gdb.multi/multi-attach.exp: Likewise.
10283 2017-11-22 Yao Qi <yao.qi@linaro.org>
10285 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
10288 2017-11-22 Yao Qi <yao.qi@linaro.org>
10290 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
10291 * gdb.base/break-interp.exp: Likewise.
10292 * gdb.base/jit-attach-pie.exp: Likewise.
10294 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
10296 * gdb.base/float128.c (large128): New variable.
10297 * gdb.base/float128.exp: Add test to print largest __float128 value.
10299 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
10301 * gdb.arch/vsx-regs.exp: Update register content checks.
10303 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
10305 * gdb.arch/ppc-longdouble.exp: New file.
10306 * gdb.arch/ppc-longdouble.c: Likewise.
10308 2017-11-21 Pedro Alves <palves@redhat.com>
10310 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
10312 2017-11-20 Pedro Alves <palves@redhat.com>
10314 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
10315 (long_double_typedef): New typedefs.
10316 Use DEF on double and long double.
10317 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
10319 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
10320 and 'long_double_ptr_same_size' locals. Use them to decide
10321 whether cast from array/function to float is valid/invalid.
10323 2017-11-17 Tom Tromey <tom@tromey.com>
10325 * gdb.rust/traits.rs: New file.
10326 * gdb.rust/traits.exp: New file.
10328 2017-11-17 Joel Brobecker <brobecker@adacore.com>
10330 * gdb.ada/minsyms: New testcase.
10332 2017-11-16 Pedro Alves <palves@redhat.com>
10334 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
10335 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
10337 2017-11-16 Pedro Alves <palves@redhat.com>
10339 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
10340 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
10342 2017-11-16 Pedro Alves <palves@redhat.com>
10344 * gdb.server/reconnect-ctrl-c.c: New file.
10345 * gdb.server/reconnect-ctrl-c.exp: New file.
10347 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
10349 * gdb.python/py-rbreak.exp: New file.
10350 * gdb.python/py-rbreak.c: New file.
10351 * gdb.python/py-rbreak-func2.c: New file.
10353 2017-11-16 Pedro Alves <palves@redhat.com>
10355 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
10357 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
10360 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
10362 * gdb.tui/completionn.exp (test_tab_completion): Add space in
10365 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
10367 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
10370 2017-11-09 Pedro Alves <palves@redhat.com>
10372 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
10373 factored out from ...
10374 (top level): ... here, and adjusted to avoid expecting beyond the
10375 prompt in a single gdb_test_multiple.
10377 2017-11-09 Pedro Alves <palves@redhat.com>
10379 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
10381 * gdb.server/ext-attach.exp ("kill" test): Likewise.
10382 * gdb.server/ext-restart.exp ("kill" test): Likewise.
10383 * gdb.server/ext-run.exp ("kill" test): Likewise.
10384 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
10386 2017-11-09 Pedro Alves <palves@redhat.com>
10388 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
10389 match till end of line.
10391 2017-11-09 Pedro Alves <palves@redhat.com>
10393 * gdb.base/memattr.exp: Tighten regexes to match the end line.
10395 2017-11-09 Pedro Alves <palves@redhat.com>
10397 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
10398 New procedures, factored out from ...
10399 (top level): ... here, and adjusted to avoid expecting beyond the
10402 2017-11-09 Pedro Alves <palves@redhat.com>
10404 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
10405 output. Fix '?' match.
10407 2017-11-08 Joel Brobecker <brobecker@adacore.com>
10409 * gdb.ada/scoped_watch: New testcase.
10410 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
10411 which is actually correct.
10412 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
10413 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
10415 2017-11-08 Pedro Alves <palves@redhat.com>
10417 * gdb.gdb/complaints.exp (test_initial_complaints)
10418 (test_serial_complaints, test_short_complaints): Call
10419 complaint_internal instead of complaint.
10421 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
10423 * gdb.threads/tls-core.c: New file.
10424 * gdb.threads/tls-core.exp: Likewise.
10426 2017-11-08 Pedro Alves <palves@redhat.com>
10428 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
10429 (p Exported_Capitalized): New test.
10430 (p exported_capitalized): New test.
10432 2017-11-07 Pedro Alves <palves@redhat.com>
10434 * gdb.cp/ena-dis-br-range.exp: Add more tests.
10436 2017-11-07 Pedro Alves <palves@redhat.com>
10438 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
10439 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
10440 (disable_invalid, disable_inverted, disable_negative): New
10442 ("bad numbers"): New set of tests.
10444 2017-11-07 Pedro Alves <palves@redhat.com>
10446 * gdb.cp/ena-dis-br-range.exp: Add tests.
10448 2017-11-07 Pedro Alves <palves@redhat.com>
10450 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
10452 2017-11-07 Xavier Roirand <roirand@adacore.com>
10453 Pedro Alves <palves@redhat.com>
10455 * gdb.base/ena-dis-br.exp: Add reference to
10456 gdb.cp/ena-dis-br-range.exp.
10457 * gdb.cp/ena-dis-br-range.exp: New file.
10458 * gdb.cp/ena-dis-br-range.cc: New file.
10460 2017-11-06 Pedro Alves <palves@redhat.com>
10462 * gdb.base/attach-non-pgrp-leader.c: New.
10463 * gdb.base/attach-non-pgrp-leader.exp: New.
10465 2017-11-06 Pedro Alves <palves@redhat.com>
10467 * configure.ac: No longer check for termio.h and sgtty.h.
10468 * configure: Regenerate.
10469 * remote-utils.c: Include termios.h instead of gdb_termios.h.
10470 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
10471 Remove termio and sgtty code.
10473 2017-11-03 Yao Qi <yao.qi@linaro.org>
10475 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
10476 in GDB is disabled.
10478 2017-11-03 Yao Qi <yao.qi@linaro.org>
10480 * gdb.python/py-thrhandle.exp: Skip it if python is not
10483 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
10485 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
10486 as a breakpoint command.
10488 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
10491 * gdb.python/py-infthread.exp: Test calling
10492 InferiorThread.inferior () multiple times in a row.
10494 2017-10-27 Keith Seitz <keiths@redhat.com>
10496 * gdb.opt/inline-break.exp (break_info_1): New procedure.
10497 Test "info break" for every inlined function breakpoint.
10499 2017-10-27 Yao Qi <yao.qi@linaro.org>
10501 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
10503 2017-10-26 Patrick Frants <osscontribute@gmail.com>
10505 * gdb.cp/classes.exp (test_static_members): Test printing
10507 * gdb.cp/classes.c (struct Inner, struct Outer): New.
10508 (Inner::instance, Outer::instance): New.
10510 2017-10-24 Pedro Alves <palves@redhat.com>
10512 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
10513 extra console" test in two stages.
10515 2017-10-24 Pedro Alves <palves@redhat.com>
10517 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
10519 2017-10-24 Pedro Alves <palves@redhat.com>
10521 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
10524 2017-10-24 Pedro Alves <palves@redhat.com>
10526 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
10527 $attempt" and "stoppedtry $stoppedtry" test prefixes.
10529 2017-10-24 Pedro Alves <palves@redhat.com>
10531 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
10532 parameter and handle it. Don't output read value in test name.
10534 2017-10-24 Pedro Alves <palves@redhat.com>
10536 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
10539 2017-10-24 Pedro Alves <palves@redhat.com>
10541 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
10542 include the unstable output directory name in the test's name.
10543 (initial_setup_simple) <'set args'>: Use custom test name.
10545 2017-10-24 Pedro Alves <palves@redhat.com>
10547 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
10548 with explicit test name.
10550 2017-10-20 Pedro Alves <palves@redhat.com>
10552 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
10553 'wait -i'. Use gdb_assert and remote_close.
10555 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
10557 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
10558 number from variable rather than hard-coded.
10560 2017-10-19 Pedro Alves <palves@redhat.com>
10562 * gdb.base/long-inferior-output.c: New file.
10563 * gdb.base/long-inferior-output.exp: New file.
10565 2017-11-18 Keith Seitz <keiths@redhat.com>
10567 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
10570 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
10571 Add additional user-defined conversion operator tests.
10573 2017-10-17 Pedro Alves <palves@redhat.com>
10575 * boards/native-stdio-gdbserver.exp: Load "local-board".
10577 2017-10-17 Pedro Alves <palves@redhat.com>
10579 * gdb.base/quit-live.c: New file.
10580 * gdb.base/quit-live.exp: New file.
10582 2017-10-16 Keith Seitz <keiths@redhat.com>
10584 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
10585 (class_with_protected_typedef, class_with_private_typedef)
10586 (struct_with_public_typedef, struct_with_protected_typedef)
10587 (struct_with_private_typedef): New classes/structs.
10588 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
10589 typedefs and access specifiers.
10591 2017-10-16 Pedro Alves <palves@redhat.com>
10592 Simon Marchi <simon.marchi@polymtl.ca>
10594 * README (Local vs Remote vs Native): New section.
10595 * boards/local-board.exp: New file, with bits factored out from
10597 * boards/native-extended-gdbserver.exp: ... here. Load
10599 * boards/native-gdbserver.exp: Load "local-board".
10600 (${board}_spawn, ${board}_exec): Delete.
10601 * boards/native-stdio-gdbserver.exp: Most contents factored out to
10603 * boards/stdio-gdbserver-base.exp: ... this new file.
10604 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
10605 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
10607 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
10608 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
10609 stdio_gdbserver_command.
10610 (${board}_get_remote_address, ${board}_get_comm_port)
10611 (${board}_download, ${board}_upload): Delete.
10612 (get_target_remote_pipe_cmd): New.
10614 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
10616 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
10617 test_bkpt_deletion, test_bkpt_cond_and_cmds,
10618 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
10619 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
10620 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
10621 remove with_test_prefix.
10623 2017-10-13 Pedro Alves <palves@redhat.com>
10625 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
10626 * gdb.base/annota1.exp: Use it instead of is_remote.
10627 * gdb.base/annota3.exp: Use it instead of is_remote.
10628 * gdb.cp/annota2.exp: Use it instead of is_remote.
10629 * gdb.cp/annota3.exp: Use it instead of is_remote.
10630 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
10632 2017-10-13 Pedro Alves <palves@redhat.com>
10634 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
10635 (test_num_test_vars, run_and_count_vars, find_env)
10636 (test_set_unset_env, test_inherit_env_var): New procedures.
10637 (top level): Use them.
10639 2017-10-13 Pedro Alves <palves@redhat.com>
10641 * lib/selftest-support.exp (selftest_setup): Extend comments, and
10642 also skip on stub-like targets.
10644 2017-10-13 Pedro Alves <palves@redhat.com>
10647 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
10648 (top level): Move some tests to ...
10649 (test_not_found): ... this new procedure.
10650 (top level): Call it.
10652 2017-10-13 Pedro Alves <palves@redhat.com>
10654 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
10655 expect different "info terminal" output if testing with a
10658 2017-10-13 Pedro Alves <palves@redhat.com>
10659 Simon Marchi <simon.marchi@polymtl.ca>
10662 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
10664 2017-10-13 Pedro Alves <palves@redhat.com>
10666 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
10669 2017-10-13 Pedro Alves <palves@redhat.com>
10671 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
10674 2017-10-13 Pedro Alves <palves@redhat.com>
10676 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
10679 2017-10-13 Pedro Alves <palves@redhat.com>
10681 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
10683 (corefile_test_attach): Likewise. Check can_spawn_for_attach
10684 instead of is_remote.
10686 2017-10-13 Pedro Alves <palves@redhat.com>
10688 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
10689 (top level): Add comment.
10691 2017-10-13 Pedro Alves <palves@redhat.com>
10693 * gdb.base/remote.exp (top level): Fix comment typo and add
10696 2017-10-13 Pedro Alves <palves@redhat.com>
10697 Simon Marchi <simon.marchi@polymtl.ca>
10699 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
10700 calls and add comments. Skip test if use_gdb_stub is set.
10701 (top level): Use "set cwd" command instead of "cd" command.
10703 2017-10-13 Pedro Alves <palves@redhat.com>
10705 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
10706 is_remote target check.
10708 2017-10-13 Pedro Alves <palves@redhat.com>
10710 * gdb.base/scope.exp: Use build_executable + clean_restart +
10711 gdb_file_cmd instead of prepare_for_testing and no longer skip
10712 "before run" tests on is_remote target boards. Update comments.
10713 * boards/native-extended-gdbserver.exp
10714 (extended_gdbserver_load_last_file): New, factored out from ...
10715 (gdb_load): ... this. Move further below and add comment.
10716 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
10718 2017-10-12 Pedro Alves <palves@redhat.com>
10720 * gdb.base/attach.exp: Remove references to gdb64.
10721 * gdb.base/dbx.exp: Remove references to gdb64.
10723 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
10724 Pedro Alves <palves@redhat.com>
10726 * gdb.base/label.exp: Remove is_remote target check.
10728 2017-10-12 Pedro Alves <palves@redhat.com>
10730 * gdb.base/auvx.exp (coredir): Update comment.
10731 (top level) <core_works>: Use "set cwd" command instead of "cd"
10734 2017-10-12 Pedro Alves <palves@redhat.com>
10735 Simon Marchi <simon.marchi@polymtl.ca>
10737 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
10740 2017-10-12 Pedro Alves <palves@redhat.com>
10741 Simon Marchi <simon.marchi@polymtl.ca>
10743 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
10744 Instead skip if there's any gdb_protocol set.
10746 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
10747 Pedro Alves <palves@redhat.com>
10749 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
10751 2017-10-12 Pedro Alves <palves@redhat.com>
10752 Simon Marchi <simon.marchi@polymtl.ca>
10754 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
10755 instead of on dejagnu remote boards.
10757 2017-10-12 Pedro Alves <palves@redhat.com>
10758 Simon Marchi <simon.marchi@polymtl.ca>
10760 * gdb.base/inferior-died.exp: Remove is_remote and isnative
10761 checks. Use build_executable + clean_restart instead of
10762 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
10763 of enabling non-stop after starting gdb.
10765 2017-10-12 Pedro Alves <palves@redhat.com>
10767 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
10768 * gdb.threads/non-ldr-exc-2.exp: Ditto.
10769 * gdb.threads/non-ldr-exc-3.exp: Ditto.
10770 * gdb.threads/non-ldr-exc-4.exp: Ditto.
10772 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
10774 * gdb.arch/arc-tdesc-cpu.exp: New file.
10775 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
10777 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
10779 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
10781 2017-10-10 Pedro Alves <palves@redhat.com>
10783 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
10786 2017-10-10 Pedro Alves <palves@redhat.com>
10788 * lib/selftest-support.exp (selftest_setup): Update for
10789 captured_command_loop's prototype change.
10791 2017-10-09 Pedro Alves <palves@redhat.com>
10793 Test both arch1=>arch2 and arch2=>arch1.
10795 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
10796 (srcfile2, binfile2, march1, march2): Remove globals. Largely
10798 (append_arch1_options, append_arch2_options, append_arch_options)
10799 (build_executables): New procedures.
10800 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
10802 (top level): Add new 'first_arch' testing axis.
10804 2017-10-09 Pedro Alves <palves@redhat.com>
10806 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
10808 (thread_start, all_started): New functions.
10809 (main): Spawn new thread and wait until it is scheduled.
10810 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
10812 (do_test): Add 'selected_thread' parameter. Run to all_started
10813 instead of main. Explicitly set the breakpoint at main. Switch
10814 to the SELECTED_THREAD thread.
10815 (top level): Test handling the exec event with either the main
10816 thread or the second thread selected.
10818 2017-10-09 Pedro Alves <palves@redhat.com>
10820 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
10821 logic. Move STOP marker after the value checks.
10822 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
10825 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
10827 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
10829 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
10831 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
10832 integer-to-dfp conversion.
10833 * gdb.base/dfp-test.exp: Likewise.
10835 2017-10-04 Pedro Alves <palves@redhat.com>
10837 * gdb.multi/hangout.c: Include <unistd.h>.
10838 (hangout_loop): New function.
10839 (main): Call alarm. Call hangout_loop in a loop.
10840 * gdb.multi/hello.c: Include <unistd.h>.
10841 (hello_loop): New function.
10842 (main): Call alarm. Call hangout_loop in a loop.
10843 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
10844 inferior with the other selected.
10846 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
10848 * gdb.mi/list-thread-groups-available.exp: New file.
10849 * gdb.mi/list-thread-groups-available.c: New file.
10851 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
10853 * gdb.base/set-cwd.exp: Make it available on
10854 native-extended-gdbserver.
10856 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
10858 * gdb.base/set-cwd.c: New file.
10859 * gdb.base/set-cwd.exp: Likewise.
10861 2017-10-02 Tom Tromey <tom@tromey.com>
10864 * gdb.rust/simple.rs (main): New variable "fslice".
10865 * gdb.rust/simple.exp: Add slice tests. Update string tests.
10867 2017-10-02 Tom Tromey <tom@tromey.com>
10869 * gdb.rust/simple.exp: Test ptype of a slice.
10871 2017-10-02 Tom Tromey <tom@tromey.com>
10873 * gdb.rust/simple.exp: Test index of slice.
10875 2017-09-27 Tom Tromey <tom@tromey.com>
10877 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
10879 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
10880 Pedro Alves <palves@redhat.com>
10882 * gdb.base/compare-sections.exp (get value of read-only section): Read
10884 (corrupt read-only section): Likewise and don't set written if patching
10887 2017-09-21 Kevin Buettner <kevinb@redhat.com>
10889 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
10892 2017-09-20 Pedro Alves <palves@redhat.com>
10894 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
10895 symbol names in gdb's output.
10896 * gdb.cp/overload.exp ("list all overloads"): Likewise.
10898 2017-09-20 Pedro Alves <palves@redhat.com>
10900 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
10902 (test_list_ambiguous_symbol): ... this and add a symbol name
10904 (test_list_ambiguous_function): Reimplement on top of
10905 test_list_ambiguous_symbol and also test listing ambiguous
10907 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
10908 (ambiguous_fun): ... this.
10909 (ambiguous_var): New.
10910 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
10911 (ambiguous_fun): ... this.
10912 (ambiguous_var): New.
10914 2017-09-19 John Baldwin <jhb@FreeBSD.org>
10916 * gdb.base/starti.c: New file.
10917 * gdb.base/starti.exp: New file.
10918 * lib/gdb.exp (gdb_starti_cmd): New procedure.
10920 2017-09-14 Pedro Alves <palves@redhat.com>
10922 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
10923 (top level): Use it instead of runto.
10925 2017-09-11 Tom Tromey <tom@tromey.com>
10927 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
10929 2017-09-11 Tom Tromey <tom@tromey.com>
10931 * gdb.python/py-infthread.exp: Add tests for new_thread event.
10932 * gdb.python/py-inferior.exp: Add tests for new inferior events.
10934 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
10936 * gdb.fortran/printing-types.exp: New file.
10937 * gdb.fortran/printing-types.exp: New file.
10939 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
10941 * gdb.fortran/vla-ptype.exp: Fix typos.
10942 * gdb.fortran/vla-value.exp: Same.
10944 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
10946 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
10947 * gdb.mi/mi-var-child-f.exp: Likewise.
10948 * gdb.mi/mi-vla-fortran.exp: Likewise.
10950 2017-09-08 Frank Penczek <frank.penczek@intel.com>
10951 Christoph Weinmann <christoph.t.weinmann@intel.com>
10952 Bernhard Heckel <bernhard.heckel@intel.com>
10954 * gdb.fortran/ptr-indentation.f90: New file.
10955 * gdb.fortran/ptr-indentation.exp: New file.
10957 2017-09-05 Tom Tromey <tom@tromey.com>
10960 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
10962 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
10964 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
10966 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10968 * gdb.threads/tls-nodebug-pie.c: New file.
10969 * gdb.threads/tls-nodebug-pie.exp: New file.
10971 2017-09-05 Tom Tromey <tom@tromey.com>
10973 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
10976 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
10978 * gdb.multi/multi-arch-exec.exp: Test with different
10979 "follow-exec-mode" settings.
10980 (do_test): New procedure.
10982 2017-09-04 Pedro Alves <palves@redhat.com>
10984 * gdb.base/func-static.c (S::method const, S::method volatile)
10985 (S::method volatile const): New methods.
10986 (c_s, v_s, cv_s): New instances.
10987 (main): Call method() on them.
10988 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
10989 (cannot_resolve): New procedure.
10990 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
10991 print-quote-unquoted columns.
10992 (do_test): Test printing each scope too.
10994 2017-09-04 Pedro Alves <palves@redhat.com>
10996 * gdb.base/local-static.exp: Also test with
10997 class::method::variable wholly quoted.
10998 * gdb.cp/m-static.exp (class::method::variable): Remove test.
11000 2017-09-04 Pedro Alves <palves@redhat.com>
11002 * gdb.base/local-static.c: New.
11003 * gdb.base/local-static.cc: New.
11004 * gdb.base/local-static.exp: New.
11006 2017-09-04 Pedro Alves <palves@redhat.com>
11008 * gdb.asm/asm-source.exp: Add casts to int.
11009 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
11010 (dataglobal64_1, dataglobal64_2): New globals.
11011 * gdb.base/nodebug.exp: Test different expressions involving the
11012 new globals, with print, whatis and ptype. Add casts to int.
11013 * gdb.base/solib-display.exp: Add casts to int.
11014 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
11015 * gdb.cp/m-static.exp: Add cast to int.
11016 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
11017 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
11018 tls variable with no debug info without a cast. Test with a cast
11020 * gdb.trace/entry-values.exp: Add casts.
11022 2017-09-04 Pedro Alves <palves@redhat.com>
11024 * gdb.base/nodebug.exp: Test that ptype's error about functions
11025 with unknown return type includes the function name too.
11027 2017-09-04 Pedro Alves <palves@redhat.com>
11029 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
11030 return type of munmap in infcall.
11031 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
11032 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
11033 type of ftell in infcall.
11034 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
11035 type of getpid in infcall.
11036 * gdb.base/infcall-exec.exp: Cast return type of execlp in
11038 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
11039 Bail on failure to extract the pid.
11040 * gdb.base/nodebug.c: #include <stdint.h>.
11041 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
11043 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
11044 Change expected output of print/whatis/ptype with functions with
11045 no debug info. Test all supported languages. Call
11046 test_call_promotion.
11047 * gdb.compile/compile.exp: Adjust expected output to expect
11049 * gdb.threads/siginfo-threads.exp: Likewise.
11051 2017-09-04 Pedro Alves <palves@redhat.com>
11053 * gdb.base/callfuncs.exp (do_function_calls): New parameter
11054 "prototypes". Test calling float functions via prototyped and
11055 unprototyped function pointers.
11056 (perform_all_tests): New parameter "prototypes". Pass it down.
11057 (top level): Pass down "prototypes" parameter to
11060 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11062 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
11063 Test with nested loops.
11065 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11067 * gdb.base/commands.exp: Call the new procedures.
11068 (loop_break_test, loop_continue_test): New procedures.
11070 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
11072 * gdb.base/commands.exp: Call new procedure.
11073 (define_if_without_arg_test): New procedure.
11075 2017-09-04 Pedro Alves <palves@redhat.com>
11077 * gdb.base/list-ambiguous.exp: New file.
11078 * gdb.base/list-ambiguous0.c: New file.
11079 * gdb.base/list-ambiguous1.c: New file.
11080 * gdb.base/list.exp (test_list_range): Adjust expected output.
11082 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
11084 * gdb.base/share-env-with-gdbserver.c: New file.
11085 * gdb.base/share-env-with-gdbserver.exp: Likewise.
11087 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
11089 * gdb.base/commands.exp (gdbvar_simple_if_test,
11090 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
11091 progvar_simple_if_test, progvar_simple_while_test,
11092 progvar_complex_if_while_test, user_defined_command_test,
11093 user_defined_command_args_eval,
11094 user_defined_command_args_stack_test,
11095 user_defined_command_manyargs_test, bp_deleted_in_command_test,
11096 temporary_breakpoint_commands,
11097 gdb_test_no_prompt, redefine_hook_test,
11098 redefine_backtrace_test): Remove "global gdb_prompt".
11100 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
11102 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
11103 New proc, call it from toplevel.
11105 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
11108 * gdb.server/normal.c: New file, copied from gdb.base.
11109 * gdb.server/run-without-local-binary.exp: New file.
11111 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
11113 * gdb.arch/sparc64-adi.exp: New file.
11114 * gdb.arch/sparc64-adi.c: New file.
11116 2017-08-22 Pedro Alves <palves@redhat.com>
11118 * gdb.cp/overload.exp (line_range_pattern): New procedure.
11119 (top level): Add "list all overloads" tests.
11121 2017-08-22 Tom Tromey <tom@tromey.com>
11123 * gdb.gdb/xfullpath.exp: Remove.
11125 2017-08-21 Pedro Alves <palves@redhat.com>
11128 * gdb.base/symbol-alias.c: New.
11129 * gdb.base/symbol-alias2.c: New.
11130 * gdb.base/symbol-alias.exp: New.
11132 2017-08-21 Pedro Alves <palves@redhat.com>
11134 * gdb.base/dfp-test.c
11135 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
11136 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
11137 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
11138 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
11139 * gdb.base/whatis-ptype-typedefs.c: New.
11140 * gdb.base/whatis-ptype-typedefs.exp: New.
11141 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
11142 (an_int, an_int_type, an_int_type2): New globals.
11143 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
11144 involving typedefs and cast expressions.
11145 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
11146 (lookup_typedefs_function): New.
11147 (typedefs_pretty_printers_dict): New.
11148 (top level): Register lookup_typedefs_function in
11149 gdb.pretty_printers.
11151 2017-08-18 Yao Qi <yao.qi@linaro.org>
11153 * gdb.server/unittest.exp: New.
11155 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
11158 * gdb.base/environ.exp: Add test to check if 'unset environment'
11161 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
11163 * lib/gdb.exp (universal_compile_options): New caching proc.
11164 (gdb_compile): Suppress GCC's coloring of messages.
11166 2017-08-14 Tom Tromey <tom@tromey.com>
11169 * gdb.base/printcmds.exp (test_radices): New function.
11170 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
11171 * gdb.base/sizeof.exp (check_valueof): Use p/d.
11172 * lib/gdb.exp (get_integer_valueof): Use p/d.
11174 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
11176 * lib/gdb.exp (get_valueof): Don't capture end-of-line
11179 2017-08-05 Tom Tromey <tom@tromey.com>
11181 * gdb.rust/simple.exp: Allow String to appear in a different
11184 2017-07-26 Yao Qi <yao.qi@linaro.org>
11186 * gdb.gdb/unittest.exp: Invoke command
11187 "maintenance check xml-descriptions".
11189 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11191 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
11193 (hex128): Drop erroneous calculation of parameters.
11195 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
11197 * gdb.python/py-unwind.exp: Disable stack protection when
11198 building test file.
11200 2017-07-20 Pedro Alves <palves@redhat.com>
11202 * gdb.base/default.exp (set language): Adjust expected output.
11204 2017-07-20 Pedro Alves <palves@redhat.com>
11206 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
11207 (test_minsym): ... this, and make static.
11208 (get_pck__foo__bar__minsym): Rename to ...
11209 (get_test_minsym): ... this.
11210 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
11211 symbol names and comments.
11212 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
11213 (get_test_minsym): ... this.
11214 (pck__foo__bar__minsym__2): Rename to ...
11215 (test_minsym): ... this.
11218 2017-07-17 Pedro Alves <palves@redhat.com>
11220 * gdb.base/completion.exp: Adjust expected output.
11221 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
11222 the completer works.
11224 2017-07-17 Pedro Alves <palves@redhat.com>
11226 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
11228 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
11230 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
11232 2017-07-14 Tom Tromey <tom@tromey.com>
11235 * gdb.rust/simple.exp: Add tests.
11237 2017-07-14 Tom Tromey <tom@tromey.com>
11239 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
11241 2017-07-14 Pedro Alves <palves@redhat.com>
11243 * gdb.linespec/base/one/thefile.cc (z1): New function.
11244 * gdb.linespec/base/two/thefile.cc (z2): New function.
11245 * gdb.linespec/linespec.exp: Add tests.
11247 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
11249 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
11250 to mi_create_breakpoint.
11252 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
11254 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
11255 mi_create_breakpoint.
11257 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
11259 * gdb.dlang/demangle.exp: Update for demangling changes.
11261 2017-07-09 Tom Tromey <tom@tromey.com>
11263 * gdb.dwarf2/shortpiece.exp: New file.
11265 2017-07-06 David Blaikie <dblaikie@gmail.com>
11267 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
11268 built from fissiont-multi-cu{1,2}.c.
11269 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
11270 except putting 'main' and 'func' in separate CUs in the same DWO file.
11271 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
11273 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
11276 2017-07-06 Pedro Alves <palves@redhat.com>
11278 * gdb.python/py-unwind.exp: Test flushregs.
11280 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
11283 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
11284 tests for alias commands and trailing whitespace.
11286 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
11289 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
11290 procedure. Call it.
11292 2017-06-29 Pedro Alves <palves@redhat.com>
11294 * gdb.base/printcmds.exp: Add tests.
11296 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
11299 * gdb.base/reread-readsym.exp: New file.
11300 * gdb.base/reread-readsym.c: New file.
11302 2017-06-21 Kevin Buettner <kevinb@redhat.com>
11304 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
11307 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
11309 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
11311 * gdb.arch/powerpc-power9.s: Likewise.
11313 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
11315 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
11316 on 32-bit x86 targets. Exploit is_*_target macros where
11319 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11321 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
11324 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11326 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
11327 located in one or more DWARF pieces.
11329 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11331 * lib/gdb.exp (get_endianness): New proc.
11332 * gdb.arch/aarch64-fp.exp: Use it.
11333 * gdb.arch/altivec-regs.exp: Likewise.
11334 * gdb.arch/e500-regs.exp: Likewise.
11335 * gdb.arch/vsx-regs.exp: Likewise.
11336 * gdb.base/dump.exp: Likewise.
11337 * gdb.base/funcargs.exp: Likewise.
11338 * gdb.base/gnu_vector.exp: Likewise.
11339 * gdb.dwarf2/formdata16.exp: Likewise.
11340 * gdb.dwarf2/implptrpiece.exp: Likewise.
11341 * gdb.dwarf2/nonvar-access.exp: Likewise.
11342 * gdb.python/py-inferior.exp: Likewise.
11343 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
11345 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11348 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
11349 stack value pieces are taken from the LSB end.
11351 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11353 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
11354 variable at nonzero offset.
11356 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11358 * gdb.dwarf2/var-access.c: New file.
11359 * gdb.dwarf2/var-access.exp: New test.
11360 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
11362 2017-06-12 Tom Tromey <tom@tromey.com>
11364 * gdb.dwarf2/formdata16.exp: Add tests.
11366 2017-06-12 Tom Tromey <tom@tromey.com>
11368 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
11370 2017-06-12 Tom Tromey <tom@tromey.com>
11373 * gdb.reverse/i386-sse-reverse.exp: Update tests.
11374 * gdb.arch/vsx-regs.exp: Update tests.
11375 * gdb.arch/s390-vregs.exp (hex128): New proc.
11377 * gdb.arch/altivec-regs.exp: Update tests.
11379 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
11381 * gdb.base/startup-with-shell.c: New file.
11382 * gdb.base/startup-with-shell.exp: Likewise.
11384 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
11386 * gdb.server/non-existing-program.exp: Update regex in order to
11387 reflect the fact that gdbserver is now using fork_inferior (with a
11388 shell) to startup the inferior.
11390 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
11392 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
11393 support function calls from GDB.
11395 2017-05-21 Tom Tromey <tom@tromey.com>
11398 * gdb.rust/unsized.exp: New file.
11399 * gdb.rust/unsized.rs: New file.
11401 2017-05-19 Tom Tromey <tom@tromey.com>
11404 * gdb.rust/watch.exp: New file.
11405 * gdb.rust/watch.rs: New file.
11407 2017-05-18 Tom Tromey <tom@tromey.com>
11409 * gdb.rust/simple.exp: Allow Box to be qualified.
11411 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
11413 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
11415 2017-05-18 Pedro Alves <palves@redhat.com>
11417 * gdb.base/fileio.c (test_write, test_read, test_close)
11418 (test_fstat): Don't print 'ret' in the fail path.
11420 2017-05-18 Pedro Alves <palves@redhat.com>
11422 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
11423 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
11424 (test_system, test_rename, test_unlink, test_time): Change
11426 * gdb.base/fileio.exp (stop_msg): Adjust.
11428 2017-05-18 Pedro Alves <palves@redhat.com>
11430 * gdb.base/fileio.c (null_str): New global.
11431 (test_stat): Use it.
11432 * gdb.base/fileio.exp: Remove nowarnings.
11434 2017-05-17 Yao Qi <yao.qi@linaro.org>
11436 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
11438 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
11440 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
11442 (top-level): Invoke test_set_inferior_tty.
11444 2017-05-04 Pedro Alves <palves@redhat.com>
11446 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
11447 Add parens to print call for Python 3.
11449 2017-05-03 Keith Seitz <keiths@redhat.com>
11451 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
11454 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
11456 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
11459 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
11461 * gdb.python/py-record-btrace.exp: Remove test for
11462 gdb.BtraceInstruction.error.
11464 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
11466 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
11468 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
11470 * gdb.python/py-record-btrace-threads.c: New file.
11471 * gdb.python/py-record-btrace-threads.exp: New file.
11473 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
11476 * gdb.base/environ.exp: Make test available in all architectures.
11477 Move bits related to "info program" testing to
11478 gdb.base/info-program.exp. Rewrite tests to use the two new
11479 procedures mentione below.
11480 (test_set_show_env_var) New procedure.
11481 (test_set_show_env_var_equal): Likewise.
11482 * gdb.base/info-program.exp: New file.
11484 2017-04-27 Keith Seitz <keiths@redhat.com>
11486 * gdb.cp/oranking.cc (test15): New function.
11487 (main): Call test15 and declare additional variables for testing.
11488 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
11489 "p foo101('abc')" tests.
11490 Add tests for cv qualifier overloads.
11491 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
11492 "lvalue reference overload" test.
11493 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
11494 "print value of f1 on Child&& in f2" test.
11496 2017-04-19 Pedro Alves <palves@redhat.com>
11498 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
11500 (top level): Call it.
11501 * lib/gdb.exp (gdb_define_cmd): New procedure.
11503 2017-04-12 Pedro Alves <palves@redhat.com>
11506 * gdb.cp/wide_char_types.c: Include <wchar.h>.
11507 (wchar): New global.
11508 * gdb.cp/wide_char_types.exp (wide_char_types_program)
11509 (do_test_wide_char, wide_char_types_no_program, top level): Add
11512 2017-04-12 Pedro Alves <palves@redhat.com>
11515 * gdb.cp/wide_char_types.c: New file.
11516 * gdb.cp/wide_char_types.exp: New file.
11518 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
11521 * gdb.trace/tsv.exp: Add test for "tsave -r".
11523 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
11525 * gdb.dlang/watch-loc.c: New file.
11526 * gdb.dlang/watch-loc.exp: New file.
11528 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11530 * gdb.python/py-section-script.exp (sepdebug): New testcases.
11532 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
11534 * gdb.arch/arc-analyze-prologue.S: New file.
11535 * gdb.arch/arc-analyze-prologue.exp: Likewise.
11537 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
11539 * gdb.arch/arc-decode-insn.S: New file.
11540 * gdb.arch/arc-decode-insn.exp: Likewise.
11542 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
11545 * gdb.arch/sparc64-regs.exp: New file.
11546 * gdb.arch/sparc64-regs.S: Likewise.
11548 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
11550 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
11551 and memory view on Python 3.
11553 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
11554 Keith Seitz <keiths@redhat.com>
11557 * gdb.cp/demangle.exp: Add rvalue reference tests.
11558 * gdb.cp/rvalue-ref-casts.cc: New file.
11559 * gdb.cp/rvalue-ref-casts.exp: New file.
11560 * gdb.cp/rvalue-ref-overload.cc: New file.
11561 * gdb.cp/rvalue-ref-overload.exp: New file.
11562 * gdb.cp/rvalue-ref-params.cc: New file.
11563 * gdb.cp/rvalue-ref-params.exp: New file.
11564 * gdb.cp/rvalue-ref-sizeof.cc: New file.
11565 * gdb.cp/rvalue-ref-sizeof.exp: New file.
11566 * gdb.cp/rvalue-ref-types.cc: New file.
11567 * gdb.cp/rvalue-ref-types.exp: New file.
11568 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
11569 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
11571 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
11573 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
11576 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
11578 * lib/mi-support.exp (mi_gdb_test): Add additional message
11579 for unexpected output.
11581 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11583 * gdb.base/examine-backward.c (Barrier): New character array
11584 constant, to ensure that TestStrings is preceded by a string
11587 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11589 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
11590 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
11591 and implicit pointer into such a location.
11593 2017-03-16 Doug Evans <dje@google.com>
11595 * gdb.python/py-lazy-string (pointer): Really add new typedef.
11597 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
11599 * gdb.cp/m-static.exp: Fix expectation for prototype of
11600 test5.single_constructor and single_constructor::single_constructor.
11602 2017-03-16 Doug Evans <dje@google.com>
11604 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
11605 * gdb.guile/scm-lazy-string.c: New file.
11606 * gdb.guile/scm-value.exp: Move lazy string tests to ...
11607 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
11608 for pointer, array, typedef lazy strings.
11610 2017-03-16 Doug Evans <dje@google.com>
11612 PR python/17728, python/18439, python/18779
11613 * gdb.python/py-value.c (main) Delete locals sptr, sn.
11614 * gdb.python/py-lazy-string.c (pointer): New typedef.
11615 (main): New locals ptr, array, typedef_ptr.
11616 * gdb.python/py-value.exp: Move lazy string tests to ...
11617 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
11618 array, typedef lazy strings.
11620 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
11622 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
11623 Add optional 'test' parameter.
11625 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
11627 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
11628 Skip for versions of DejaGnu < 1.5.
11630 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
11632 * lib/gdb.exp (dejagnu_version): New proc.
11633 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
11634 Use dejagnu_version.
11636 2017-03-10 Keith Seitz <keiths@redhat.com>
11639 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
11640 type from destructor regexps.
11641 Add a branch which actually passes the test.
11642 Adjust "ptype t5i" test names.
11644 2017-03-08 Pedro Alves <palves@redhat.com>
11646 * gdb.base/step-over-exit.exp: Add explicit test message.
11648 2017-03-08 Pedro Alves <palves@redhat.com>
11651 * gdb.threads/interrupt-while-step-over.c: New file.
11652 * gdb.threads/interrupt-while-step-over.exp: New file.
11654 2017-03-08 Pedro Alves <palves@redhat.com>
11656 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
11657 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
11659 2017-03-08 Pedro Alves <palves@redhat.com>
11661 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
11662 PKRU as not supported as a PASS.
11664 2017-03-08 Pedro Alves <palves@redhat.com>
11666 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
11667 prefix instead of $binfile1/$binfile2.
11668 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
11670 * gdb.python/py-completion.exp: Use "load python file" as test
11671 messages instead of unstable path names.
11673 2017-03-08 Pedro Alves <palves@redhat.com>
11674 Jan Kratochvil <jan.kratochvil@redhat.com>
11677 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
11679 (top level): Call it.
11681 2017-03-08 Pedro Alves <palves@redhat.com>
11684 * gdb.tui/tui-nl-filtered-output.exp: New file.
11686 2017-03-08 Pedro Alves <palves@redhat.com>
11688 * gdb.base/completion.exp: Move TUI completion tests to ...
11689 * gdb.tui/completion.exp: ... this new file.
11691 2017-03-08 Pedro Alves <palves@redhat.com>
11693 * gdb.base/tui-disasm-long-lines.c,
11694 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
11695 gdb.base/tui-layout.exp: Move to ...
11696 * gdb.tui/: ... this new directory.
11698 2017-03-07 Pedro Alves <palves@redhat.com>
11700 * gdb.base/tui-layout.c: New file.
11701 * gdb.base/tui-layout.exp: New file.
11703 2017-03-07 Pedro Alves <palves@redhat.com>
11705 * gdb.base/tui-layout.c: Rename to ...
11706 * gdb.base/tui-disasm-long-lines.c: ... this.
11707 * gdb.base/tui-layout.exp: Rename to ...
11708 * gdb.base/tui-disasm-long-lines.exp: ... this.
11710 2017-03-07 Pedro Alves <palves@redhat.com>
11712 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
11714 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
11716 * i386-mpx-call.c: New file.
11717 * i386-mpx-call.exp: New file.
11719 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
11721 * gdb.arch/powerpc-power.exp: Delete test.
11722 * gdb.arch/powerpc-power.s: Likewise.
11723 * gdb.disasm/disassembler-options.exp: New test.
11724 * gdb.arch/powerpc-altivec.exp: Likewise.
11725 * gdb.arch/powerpc-altivec.s: Likewise.
11726 * gdb.arch/powerpc-altivec2.exp: Likewise.
11727 * gdb.arch/powerpc-altivec2.s: Likewise.
11728 * gdb.arch/powerpc-altivec3.exp: Likewise.
11729 * gdb.arch/powerpc-altivec3.s: Likewise.
11730 * gdb.arch/powerpc-power7.exp: Likewise.
11731 * gdb.arch/powerpc-power7.s: Likewise.
11732 * gdb.arch/powerpc-power8.exp: Likewise.
11733 * gdb.arch/powerpc-power8.s: Likewise.
11734 * gdb.arch/powerpc-power9.exp: Likewise.
11735 * gdb.arch/powerpc-power9.s: Likewise.
11736 * gdb.arch/powerpc-vsx.exp: Likewise.
11737 * gdb.arch/powerpc-vsx.s: Likewise.
11738 * gdb.arch/powerpc-vsx2.exp: Likewise.
11739 * gdb.arch/powerpc-vsx2.s: Likewise.
11740 * gdb.arch/powerpc-vsx3.exp: Likewise.
11741 * gdb.arch/powerpc-vsx3.s: Likewise.
11742 * gdb.arch/arm-disassembler-options.exp: Likewise.
11743 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
11744 * gdb.arch/s390-disassembler-options.exp: Likewise.
11746 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
11748 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
11749 (check_supported_features): ... this. Changed return type to void.
11750 (supports_rdseed): New static global.
11751 (rdseed): Check supports_rdseed.
11752 (initialize): Call check_supported_features.
11754 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11756 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
11757 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
11759 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
11760 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
11762 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11764 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
11767 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11769 * gdb.dwarf2/formdata16.c: New file.
11770 * gdb.dwarf2/formdata16.exp: New file.
11771 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
11773 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11775 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
11776 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
11777 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
11778 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
11781 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11783 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
11785 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
11788 * gdb.base/maint.exp: Add testcases for when the commands do
11789 not have arguments.
11791 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
11793 * gdb.cp/chained-calls.exp: Use p instead of P.
11795 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
11797 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
11798 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
11800 2017-02-14 Tom Tromey <tom@tromey.com>
11803 * gdb.python/py-events.exp: Add before_prompt event tests.
11805 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
11807 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
11809 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
11811 * gdb.linespec/explicit.c (my_unique_function_name): New function.
11812 (main): Call my_unique_function_name.
11813 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
11814 completion of patterns with a single match.
11815 Add missing -re switches to gdb_test_multiple calls.
11817 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
11819 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
11820 return if core file is not recognized.
11822 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
11824 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
11827 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
11829 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
11832 2017-02-10 Tom Tromey <tom@tromey.com>
11834 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
11836 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
11839 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
11841 2017-02-08 Jerome Guitton <guitton@adacore.com>
11843 * gdb.base/define.exp: Add test for command abbreviations
11846 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
11848 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
11849 * gdb.reverse/insn-reverse-x86.c: New file.
11851 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
11854 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
11856 2017-02-03 Tom Tromey <tom@tromey.com>
11859 * gdb.rust/simple.exp: Add new tests.
11861 2017-02-02 Pedro Alves <palves@redhat.com>
11863 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
11866 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11868 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
11869 taking a 2-byte value out of a 4-byte DWARF implicit value on
11870 big-endian targets.
11871 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
11872 logic. Add test cases for DW_OP_implicit.
11874 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11876 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
11878 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11880 * gdb.btrace/enable.exp: Call gdb_exit before
11881 skip_gdbserver_tests.
11883 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11885 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
11888 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11890 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
11891 the test is skipped.
11892 * gdb.btrace/data.exp: Likewise.
11893 * gdb.btrace/delta.exp: Likewise.
11894 * gdb.btrace/dlopen.exp: Likewise.
11895 * gdb.btrace/enable-running.exp: Likewise.
11896 * gdb.btrace/enable.exp: Likewise.
11897 * gdb.btrace/exception.exp: Likewise.
11898 * gdb.btrace/function_call_history.exp: Likewise.
11899 * gdb.btrace/gcore.exp: Likewise.
11900 * gdb.btrace/instruction_history.exp: Likewise.
11901 * gdb.btrace/multi-thread-step.exp: Likewise.
11902 * gdb.btrace/nohist.exp: Likewise.
11903 * gdb.btrace/non-stop.exp: Likewise.
11904 * gdb.btrace/reconnect.exp: Likewise.
11905 * gdb.btrace/record_goto-step.exp: Likewise.
11906 * gdb.btrace/record_goto.exp: Likewise.
11907 * gdb.btrace/rn-dl-bind.exp: Likewise.
11908 * gdb.btrace/segv.exp: Likewise.
11909 * gdb.btrace/step.exp: Likewise.
11910 * gdb.btrace/stepi.exp: Likewise.
11911 * gdb.btrace/tailcall-only.exp: Likewise.
11912 * gdb.btrace/tailcall.exp: Likewise.
11913 * gdb.btrace/tsx.exp: Likewise.
11914 * gdb.btrace/unknown_functions.exp: Likewise.
11915 * gdb.btrace/vdso.exp: Likewise.
11917 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11919 * gdb.btrace/enable-running.c: New.
11920 * gdb.btrace/enable-running.exp: New.
11922 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
11924 * gdb.arch/amd64-gs_base.c: New file.
11925 * gdb.arch/amd64-gs_base.exp: New file.
11927 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
11929 * lib/memory.exp: Remove spurious empty newlines.
11931 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
11933 * gdb.python/py-bad-printers.exp: Load python file using "source".
11934 * gdb.python/py-events.exp: Likewise.
11935 * gdb.python/py-evsignal.exp: Likewise.
11936 * gdb.python/py-evthreads.exp: Likewise.
11937 * gdb.python/py-frame-args.exp: Likewise.
11938 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
11939 * gdb.python/py-framefilter-mi.exp: Likewise.
11940 * gdb.python/py-framefilter.exp: Likewise.
11941 * gdb.python/py-mi.exp: Likewise.
11942 * gdb.python/py-pp-maint.exp: Likewise.
11943 * gdb.python/py-pp-registration.exp: Likewise.
11944 * gdb.python/py-prettyprint.exp: Likewise.
11945 (run_lang_tests): Likewise.
11946 * gdb.python/py-typeprint.exp: Likewise.
11948 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
11950 * lib/memory.exp: New file.
11951 * lib/gdb.exp: Load memory.exp.
11952 * gdb.base/memattr.exp (delete_memory): Move proc to
11953 lib/memory.exp and rename to delete_memory_regions.
11954 Replace delete_memory with delete_memory_regions.
11955 Cleanup memory regions before tests.
11956 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
11959 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
11961 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
11963 (initialize): New function conditionally defined.
11964 (testcases): Move within conditional block.
11965 (main): Call initialize.
11966 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
11967 of gdb.reverse/insn-reverse.c.
11968 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
11969 gdb.reverse/insn-reverse.c.
11971 2017-01-26 Yao Qi <yao.qi@linaro.org>
11973 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
11974 disassemble on address 0.
11976 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
11977 Yao Qi <yao.qi@linaro.org>
11979 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
11980 * gdb.dwarf2/implptr-64bit.S: Remove.
11981 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
11982 variables in caller's context. Add DW_OP_implicit_value.
11984 2017-01-25 Yao Qi <yao.qi@linaro.org>
11986 * lib/dwarf.exp (Dwarf::_location): Handle
11987 DW_OP_GNU_implicit_pointer with proper size.
11989 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
11991 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
11992 and add untested calls.
11994 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
11996 * gdb.python/python.exp: Check line number against what GDB thinks
11997 the line number is for func1.
11999 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
12001 * gdb.dlang/debug-expr.exp: New file.
12003 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
12005 Fix test names for the following files:
12007 * gdb.ada/exec_changed.exp
12008 * gdb.ada/info_types.exp
12009 * gdb.arch/aarch64-atomic-inst.exp
12010 * gdb.arch/aarch64-fp.exp
12011 * gdb.arch/altivec-abi.exp
12012 * gdb.arch/altivec-regs.exp
12013 * gdb.arch/amd64-byte.exp
12014 * gdb.arch/amd64-disp-step.exp
12015 * gdb.arch/amd64-dword.exp
12016 * gdb.arch/amd64-entry-value-inline.exp
12017 * gdb.arch/amd64-entry-value-param.exp
12018 * gdb.arch/amd64-entry-value-paramref.exp
12019 * gdb.arch/amd64-entry-value.exp
12020 * gdb.arch/amd64-i386-address.exp
12021 * gdb.arch/amd64-invalid-stack-middle.exp
12022 * gdb.arch/amd64-invalid-stack-top.exp
12023 * gdb.arch/amd64-optimout-repeat.exp
12024 * gdb.arch/amd64-prologue-skip.exp
12025 * gdb.arch/amd64-prologue-xmm.exp
12026 * gdb.arch/amd64-stap-special-operands.exp
12027 * gdb.arch/amd64-stap-wrong-subexp.exp
12028 * gdb.arch/amd64-tailcall-cxx.exp
12029 * gdb.arch/amd64-tailcall-noret.exp
12030 * gdb.arch/amd64-tailcall-ret.exp
12031 * gdb.arch/amd64-tailcall-self.exp
12032 * gdb.arch/amd64-word.exp
12033 * gdb.arch/arm-bl-branch-dest.exp
12034 * gdb.arch/arm-disp-step.exp
12035 * gdb.arch/arm-neon.exp
12036 * gdb.arch/arm-single-step-kernel-helper.exp
12037 * gdb.arch/avr-flash-qualifier.exp
12038 * gdb.arch/disp-step-insn-reloc.exp
12039 * gdb.arch/e500-abi.exp
12040 * gdb.arch/e500-regs.exp
12041 * gdb.arch/ftrace-insn-reloc.exp
12042 * gdb.arch/i386-avx512.exp
12043 * gdb.arch/i386-bp_permanent.exp
12044 * gdb.arch/i386-byte.exp
12045 * gdb.arch/i386-cfi-notcurrent.exp
12046 * gdb.arch/i386-disp-step.exp
12047 * gdb.arch/i386-dr3-watch.exp
12048 * gdb.arch/i386-float.exp
12049 * gdb.arch/i386-gnu-cfi.exp
12050 * gdb.arch/i386-mpx-map.exp
12051 * gdb.arch/i386-mpx-sigsegv.exp
12052 * gdb.arch/i386-mpx-simple_segv.exp
12053 * gdb.arch/i386-mpx.exp
12054 * gdb.arch/i386-permbkpt.exp
12055 * gdb.arch/i386-prologue.exp
12056 * gdb.arch/i386-signal.exp
12057 * gdb.arch/i386-size-overlap.exp
12058 * gdb.arch/i386-unwind.exp
12059 * gdb.arch/i386-word.exp
12060 * gdb.arch/mips-fcr.exp
12061 * gdb.arch/powerpc-d128-regs.exp
12062 * gdb.arch/powerpc-stackless.exp
12063 * gdb.arch/ppc64-atomic-inst.exp
12064 * gdb.arch/s390-stackless.exp
12065 * gdb.arch/s390-tdbregs.exp
12066 * gdb.arch/s390-vregs.exp
12067 * gdb.arch/sparc-sysstep.exp
12068 * gdb.arch/thumb-bx-pc.exp
12069 * gdb.arch/thumb-singlestep.exp
12070 * gdb.arch/thumb2-it.exp
12071 * gdb.arch/vsx-regs.exp
12072 * gdb.asm/asm-source.exp
12073 * gdb.base/a2-run.exp
12074 * gdb.base/advance.exp
12075 * gdb.base/all-bin.exp
12076 * gdb.base/anon.exp
12077 * gdb.base/args.exp
12078 * gdb.base/arithmet.exp
12079 * gdb.base/async-shell.exp
12080 * gdb.base/async.exp
12081 * gdb.base/attach-pie-noexec.exp
12082 * gdb.base/attach-twice.exp
12083 * gdb.base/auto-load.exp
12084 * gdb.base/bang.exp
12085 * gdb.base/bitfields.exp
12086 * gdb.base/break-always.exp
12087 * gdb.base/break-caller-line.exp
12088 * gdb.base/break-entry.exp
12089 * gdb.base/break-inline.exp
12090 * gdb.base/break-on-linker-gcd-function.exp
12091 * gdb.base/break-probes.exp
12092 * gdb.base/break.exp
12093 * gdb.base/breakpoint-shadow.exp
12094 * gdb.base/call-ar-st.exp
12095 * gdb.base/call-sc.exp
12096 * gdb.base/call-signal-resume.exp
12097 * gdb.base/call-strs.exp
12098 * gdb.base/callfuncs.exp
12099 * gdb.base/catch-fork-static.exp
12100 * gdb.base/catch-gdb-caused-signals.exp
12101 * gdb.base/catch-load.exp
12102 * gdb.base/catch-signal-fork.exp
12103 * gdb.base/catch-signal.exp
12104 * gdb.base/catch-syscall.exp
12105 * gdb.base/charset.exp
12106 * gdb.base/checkpoint.exp
12107 * gdb.base/chng-syms.exp
12108 * gdb.base/code-expr.exp
12109 * gdb.base/code_elim.exp
12110 * gdb.base/commands.exp
12111 * gdb.base/completion.exp
12112 * gdb.base/complex.exp
12113 * gdb.base/cond-expr.exp
12114 * gdb.base/condbreak.exp
12115 * gdb.base/consecutive.exp
12116 * gdb.base/continue-all-already-running.exp
12117 * gdb.base/coredump-filter.exp
12118 * gdb.base/corefile.exp
12120 * gdb.base/debug-expr.exp
12121 * gdb.base/define.exp
12123 * gdb.base/disabled-location.exp
12124 * gdb.base/disasm-end-cu.exp
12125 * gdb.base/disasm-optim.exp
12126 * gdb.base/display.exp
12127 * gdb.base/duplicate-bp.exp
12128 * gdb.base/ena-dis-br.exp
12129 * gdb.base/ending-run.exp
12130 * gdb.base/enumval.exp
12131 * gdb.base/environ.exp
12132 * gdb.base/eu-strip-infcall.exp
12133 * gdb.base/eval-avoid-side-effects.exp
12134 * gdb.base/eval-skip.exp
12135 * gdb.base/exitsignal.exp
12136 * gdb.base/expand-psymtabs.exp
12137 * gdb.base/filesym.exp
12138 * gdb.base/find-unmapped.exp
12139 * gdb.base/finish.exp
12140 * gdb.base/float.exp
12141 * gdb.base/foll-exec-mode.exp
12142 * gdb.base/foll-exec.exp
12143 * gdb.base/foll-fork.exp
12144 * gdb.base/fortran-sym-case.exp
12145 * gdb.base/freebpcmd.exp
12146 * gdb.base/func-ptr.exp
12147 * gdb.base/func-ptrs.exp
12148 * gdb.base/funcargs.exp
12149 * gdb.base/gcore-buffer-overflow.exp
12150 * gdb.base/gcore-relro-pie.exp
12151 * gdb.base/gcore-relro.exp
12152 * gdb.base/gcore.exp
12153 * gdb.base/gdb1090.exp
12154 * gdb.base/gdb11530.exp
12155 * gdb.base/gdb11531.exp
12156 * gdb.base/gdb1821.exp
12157 * gdb.base/gdbindex-stabs.exp
12158 * gdb.base/gdbvars.exp
12159 * gdb.base/hbreak.exp
12160 * gdb.base/hbreak2.exp
12161 * gdb.base/included.exp
12162 * gdb.base/infcall-input.exp
12163 * gdb.base/inferior-died.exp
12164 * gdb.base/infnan.exp
12165 * gdb.base/info-macros.exp
12166 * gdb.base/info-os.exp
12167 * gdb.base/info-proc.exp
12168 * gdb.base/info-shared.exp
12169 * gdb.base/info-target.exp
12170 * gdb.base/infoline.exp
12171 * gdb.base/interp.exp
12172 * gdb.base/interrupt.exp
12173 * gdb.base/jit-reader.exp
12174 * gdb.base/jit-simple.exp
12175 * gdb.base/kill-after-signal.exp
12176 * gdb.base/kill-detach-inferiors-cmd.exp
12177 * gdb.base/label.exp
12178 * gdb.base/langs.exp
12179 * gdb.base/ldbl_e308.exp
12180 * gdb.base/line-symtabs.exp
12181 * gdb.base/linespecs.exp
12182 * gdb.base/list.exp
12183 * gdb.base/long_long.exp
12184 * gdb.base/longest-types.exp
12185 * gdb.base/maint.exp
12186 * gdb.base/max-value-size.exp
12187 * gdb.base/memattr.exp
12188 * gdb.base/mips_pro.exp
12189 * gdb.base/morestack.exp
12190 * gdb.base/moribund-step.exp
12191 * gdb.base/multi-forks.exp
12192 * gdb.base/nested-addr.exp
12193 * gdb.base/nextoverexit.exp
12194 * gdb.base/noreturn-finish.exp
12195 * gdb.base/noreturn-return.exp
12196 * gdb.base/nostdlib.exp
12197 * gdb.base/offsets.exp
12198 * gdb.base/opaque.exp
12199 * gdb.base/pc-fp.exp
12200 * gdb.base/permissions.exp
12201 * gdb.base/print-symbol-loading.exp
12202 * gdb.base/prologue-include.exp
12203 * gdb.base/psymtab.exp
12204 * gdb.base/ptype.exp
12205 * gdb.base/random-signal.exp
12206 * gdb.base/randomize.exp
12207 * gdb.base/range-stepping.exp
12208 * gdb.base/readline-ask.exp
12209 * gdb.base/recpar.exp
12210 * gdb.base/recurse.exp
12211 * gdb.base/relational.exp
12212 * gdb.base/restore.exp
12213 * gdb.base/return-nodebug.exp
12214 * gdb.base/return.exp
12215 * gdb.base/run-after-attach.exp
12216 * gdb.base/save-bp.exp
12217 * gdb.base/scope.exp
12218 * gdb.base/sect-cmd.exp
12219 * gdb.base/set-lang-auto.exp
12220 * gdb.base/set-noassign.exp
12221 * gdb.base/setvar.exp
12222 * gdb.base/sigall.exp
12223 * gdb.base/sigbpt.exp
12224 * gdb.base/siginfo-addr.exp
12225 * gdb.base/siginfo-infcall.exp
12226 * gdb.base/siginfo-obj.exp
12227 * gdb.base/siginfo.exp
12228 * gdb.base/signals-state-child.exp
12229 * gdb.base/signest.exp
12230 * gdb.base/sigstep.exp
12231 * gdb.base/sizeof.exp
12232 * gdb.base/skip.exp
12233 * gdb.base/solib-corrupted.exp
12234 * gdb.base/solib-nodir.exp
12235 * gdb.base/solib-search.exp
12236 * gdb.base/stack-checking.exp
12237 * gdb.base/stale-infcall.exp
12238 * gdb.base/stap-probe.exp
12239 * gdb.base/start.exp
12240 * gdb.base/step-break.exp
12241 * gdb.base/step-bt.exp
12242 * gdb.base/step-line.exp
12243 * gdb.base/step-over-exit.exp
12244 * gdb.base/step-over-syscall.exp
12245 * gdb.base/step-resume-infcall.exp
12246 * gdb.base/step-test.exp
12247 * gdb.base/store.exp
12248 * gdb.base/structs3.exp
12249 * gdb.base/sym-file.exp
12250 * gdb.base/symbol-without-target_section.exp
12251 * gdb.base/term.exp
12252 * gdb.base/testenv.exp
12253 * gdb.base/ui-redirect.exp
12254 * gdb.base/until.exp
12255 * gdb.base/unwindonsignal.exp
12256 * gdb.base/value-double-free.exp
12257 * gdb.base/vla-datatypes.exp
12258 * gdb.base/vla-ptr.exp
12259 * gdb.base/vla-sideeffect.exp
12260 * gdb.base/volatile.exp
12261 * gdb.base/watch-cond-infcall.exp
12262 * gdb.base/watch-cond.exp
12263 * gdb.base/watch-non-mem.exp
12264 * gdb.base/watch-read.exp
12265 * gdb.base/watch-vfork.exp
12266 * gdb.base/watchpoint-cond-gone.exp
12267 * gdb.base/watchpoint-delete.exp
12268 * gdb.base/watchpoint-hw-hit-once.exp
12269 * gdb.base/watchpoint-hw.exp
12270 * gdb.base/watchpoint-stops-at-right-insn.exp
12271 * gdb.base/watchpoints.exp
12272 * gdb.base/wchar.exp
12273 * gdb.base/whatis-exp.exp
12274 * gdb.btrace/buffer-size.exp
12275 * gdb.btrace/data.exp
12276 * gdb.btrace/delta.exp
12277 * gdb.btrace/dlopen.exp
12278 * gdb.btrace/enable.exp
12279 * gdb.btrace/exception.exp
12280 * gdb.btrace/function_call_history.exp
12281 * gdb.btrace/gcore.exp
12282 * gdb.btrace/instruction_history.exp
12283 * gdb.btrace/nohist.exp
12284 * gdb.btrace/reconnect.exp
12285 * gdb.btrace/record_goto-step.exp
12286 * gdb.btrace/record_goto.exp
12287 * gdb.btrace/rn-dl-bind.exp
12288 * gdb.btrace/segv.exp
12289 * gdb.btrace/step.exp
12290 * gdb.btrace/stepi.exp
12291 * gdb.btrace/tailcall-only.exp
12292 * gdb.btrace/tailcall.exp
12293 * gdb.btrace/tsx.exp
12294 * gdb.btrace/unknown_functions.exp
12295 * gdb.btrace/vdso.exp
12296 * gdb.compile/compile-ifunc.exp
12297 * gdb.compile/compile-ops.exp
12298 * gdb.compile/compile-print.exp
12299 * gdb.compile/compile-setjmp.exp
12300 * gdb.cp/abstract-origin.exp
12301 * gdb.cp/ambiguous.exp
12302 * gdb.cp/annota2.exp
12303 * gdb.cp/annota3.exp
12304 * gdb.cp/anon-ns.exp
12305 * gdb.cp/anon-struct.exp
12306 * gdb.cp/anon-union.exp
12307 * gdb.cp/arg-reference.exp
12308 * gdb.cp/baseenum.exp
12310 * gdb.cp/breakpoint.exp
12311 * gdb.cp/bs15503.exp
12312 * gdb.cp/call-c.exp
12314 * gdb.cp/chained-calls.exp
12315 * gdb.cp/class2.exp
12316 * gdb.cp/classes.exp
12317 * gdb.cp/cmpd-minsyms.exp
12318 * gdb.cp/converts.exp
12319 * gdb.cp/cp-relocate.exp
12320 * gdb.cp/cpcompletion.exp
12321 * gdb.cp/cpexprs.exp
12322 * gdb.cp/cplabel.exp
12323 * gdb.cp/cplusfuncs.exp
12324 * gdb.cp/cpsizeof.exp
12326 * gdb.cp/derivation.exp
12327 * gdb.cp/destrprint.exp
12328 * gdb.cp/dispcxx.exp
12329 * gdb.cp/enum-class.exp
12330 * gdb.cp/exception.exp
12331 * gdb.cp/exceptprint.exp
12332 * gdb.cp/expand-psymtabs-cxx.exp
12333 * gdb.cp/expand-sals.exp
12334 * gdb.cp/extern-c.exp
12335 * gdb.cp/filename.exp
12336 * gdb.cp/formatted-ref.exp
12337 * gdb.cp/fpointer.exp
12338 * gdb.cp/gdb1355.exp
12339 * gdb.cp/gdb2495.exp
12341 * gdb.cp/impl-this.exp
12342 * gdb.cp/infcall-dlopen.exp
12343 * gdb.cp/inherit.exp
12344 * gdb.cp/iostream.exp
12345 * gdb.cp/koenig.exp
12347 * gdb.cp/m-data.exp
12348 * gdb.cp/m-static.exp
12349 * gdb.cp/mb-ctor.exp
12350 * gdb.cp/mb-inline.exp
12351 * gdb.cp/mb-templates.exp
12352 * gdb.cp/member-name.exp
12353 * gdb.cp/member-ptr.exp
12354 * gdb.cp/meth-typedefs.exp
12355 * gdb.cp/method.exp
12356 * gdb.cp/method2.exp
12357 * gdb.cp/minsym-fallback.exp
12359 * gdb.cp/namelessclass.exp
12360 * gdb.cp/namespace-enum.exp
12361 * gdb.cp/namespace-nested-import.exp
12362 * gdb.cp/namespace.exp
12363 * gdb.cp/nextoverthrow.exp
12364 * gdb.cp/no-dmgl-verbose.exp
12365 * gdb.cp/non-trivial-retval.exp
12366 * gdb.cp/noparam.exp
12367 * gdb.cp/nsdecl.exp
12368 * gdb.cp/nsimport.exp
12369 * gdb.cp/nsnested.exp
12370 * gdb.cp/nsnoimports.exp
12371 * gdb.cp/nsrecurs.exp
12372 * gdb.cp/nsstress.exp
12373 * gdb.cp/nsusing.exp
12374 * gdb.cp/operator.exp
12375 * gdb.cp/oranking.exp
12376 * gdb.cp/overload-const.exp
12377 * gdb.cp/overload.exp
12378 * gdb.cp/ovldbreak.exp
12379 * gdb.cp/ovsrch.exp
12380 * gdb.cp/paren-type.exp
12381 * gdb.cp/parse-lang.exp
12382 * gdb.cp/pass-by-ref.exp
12383 * gdb.cp/pr-1023.exp
12384 * gdb.cp/pr-1210.exp
12385 * gdb.cp/pr-574.exp
12386 * gdb.cp/pr10687.exp
12387 * gdb.cp/pr12028.exp
12388 * gdb.cp/pr17132.exp
12389 * gdb.cp/pr17494.exp
12390 * gdb.cp/pr9067.exp
12391 * gdb.cp/pr9167.exp
12392 * gdb.cp/pr9631.exp
12393 * gdb.cp/printmethod.exp
12394 * gdb.cp/psmang.exp
12395 * gdb.cp/psymtab-parameter.exp
12396 * gdb.cp/ptype-cv-cp.exp
12397 * gdb.cp/ptype-flags.exp
12398 * gdb.cp/re-set-overloaded.exp
12399 * gdb.cp/ref-types.exp
12401 * gdb.cp/scope-err.exp
12402 * gdb.cp/shadow.exp
12403 * gdb.cp/smartp.exp
12404 * gdb.cp/static-method.exp
12405 * gdb.cp/static-print-quit.exp
12406 * gdb.cp/temargs.exp
12407 * gdb.cp/templates.exp
12408 * gdb.cp/try_catch.exp
12409 * gdb.cp/typedef-operator.exp
12410 * gdb.cp/typeid.exp
12411 * gdb.cp/userdef.exp
12412 * gdb.cp/using-crash.exp
12413 * gdb.cp/var-tag.exp
12414 * gdb.cp/virtbase.exp
12415 * gdb.cp/virtfunc.exp
12416 * gdb.cp/virtfunc2.exp
12417 * gdb.cp/vla-cxx.exp
12418 * gdb.disasm/t01_mov.exp
12419 * gdb.disasm/t02_mova.exp
12420 * gdb.disasm/t03_add.exp
12421 * gdb.disasm/t04_sub.exp
12422 * gdb.disasm/t05_cmp.exp
12423 * gdb.disasm/t06_ari2.exp
12424 * gdb.disasm/t07_ari3.exp
12425 * gdb.disasm/t08_or.exp
12426 * gdb.disasm/t09_xor.exp
12427 * gdb.disasm/t10_and.exp
12428 * gdb.disasm/t11_logs.exp
12429 * gdb.disasm/t12_bit.exp
12430 * gdb.disasm/t13_otr.exp
12431 * gdb.dlang/circular.exp
12432 * gdb.dwarf2/arr-stride.exp
12433 * gdb.dwarf2/arr-subrange.exp
12434 * gdb.dwarf2/atomic-type.exp
12435 * gdb.dwarf2/bad-regnum.exp
12436 * gdb.dwarf2/bitfield-parent-optimized-out.exp
12437 * gdb.dwarf2/callframecfa.exp
12438 * gdb.dwarf2/clztest.exp
12439 * gdb.dwarf2/corrupt.exp
12440 * gdb.dwarf2/data-loc.exp
12441 * gdb.dwarf2/dup-psym.exp
12442 * gdb.dwarf2/dw2-anon-mptr.exp
12443 * gdb.dwarf2/dw2-anonymous-func.exp
12444 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
12445 * gdb.dwarf2/dw2-bad-unresolved.exp
12446 * gdb.dwarf2/dw2-basic.exp
12447 * gdb.dwarf2/dw2-canonicalize-type.exp
12448 * gdb.dwarf2/dw2-case-insensitive.exp
12449 * gdb.dwarf2/dw2-common-block.exp
12450 * gdb.dwarf2/dw2-compdir-oldgcc.exp
12451 * gdb.dwarf2/dw2-compressed.exp
12452 * gdb.dwarf2/dw2-const.exp
12453 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
12454 * gdb.dwarf2/dw2-cu-size.exp
12455 * gdb.dwarf2/dw2-dup-frame.exp
12456 * gdb.dwarf2/dw2-entry-value.exp
12457 * gdb.dwarf2/dw2-icycle.exp
12458 * gdb.dwarf2/dw2-ifort-parameter.exp
12459 * gdb.dwarf2/dw2-inline-break.exp
12460 * gdb.dwarf2/dw2-inline-param.exp
12461 * gdb.dwarf2/dw2-intercu.exp
12462 * gdb.dwarf2/dw2-intermix.exp
12463 * gdb.dwarf2/dw2-lexical-block-bare.exp
12464 * gdb.dwarf2/dw2-linkage-name-trust.exp
12465 * gdb.dwarf2/dw2-minsym-in-cu.exp
12466 * gdb.dwarf2/dw2-noloc.exp
12467 * gdb.dwarf2/dw2-op-call.exp
12468 * gdb.dwarf2/dw2-op-out-param.exp
12469 * gdb.dwarf2/dw2-opt-structptr.exp
12470 * gdb.dwarf2/dw2-param-error.exp
12471 * gdb.dwarf2/dw2-producer.exp
12472 * gdb.dwarf2/dw2-ranges-base.exp
12473 * gdb.dwarf2/dw2-ref-missing-frame.exp
12474 * gdb.dwarf2/dw2-reg-undefined.exp
12475 * gdb.dwarf2/dw2-regno-invalid.exp
12476 * gdb.dwarf2/dw2-restore.exp
12477 * gdb.dwarf2/dw2-restrict.exp
12478 * gdb.dwarf2/dw2-single-line-discriminators.exp
12479 * gdb.dwarf2/dw2-strp.exp
12480 * gdb.dwarf2/dw2-undefined-ret-addr.exp
12481 * gdb.dwarf2/dw2-unresolved.exp
12482 * gdb.dwarf2/dw2-var-zero-addr.exp
12483 * gdb.dwarf2/dw4-sig-types.exp
12484 * gdb.dwarf2/dwz.exp
12485 * gdb.dwarf2/dynarr-ptr.exp
12486 * gdb.dwarf2/enum-type.exp
12487 * gdb.dwarf2/gdb-index.exp
12488 * gdb.dwarf2/implptr-64bit.exp
12489 * gdb.dwarf2/implptr-optimized-out.exp
12490 * gdb.dwarf2/implptr.exp
12491 * gdb.dwarf2/implref-array.exp
12492 * gdb.dwarf2/implref-const.exp
12493 * gdb.dwarf2/implref-global.exp
12494 * gdb.dwarf2/implref-struct.exp
12495 * gdb.dwarf2/mac-fileno.exp
12496 * gdb.dwarf2/main-subprogram.exp
12497 * gdb.dwarf2/member-ptr-forwardref.exp
12498 * gdb.dwarf2/method-ptr.exp
12499 * gdb.dwarf2/missing-sig-type.exp
12500 * gdb.dwarf2/nonvar-access.exp
12501 * gdb.dwarf2/opaque-type-lookup.exp
12502 * gdb.dwarf2/pieces-optimized-out.exp
12503 * gdb.dwarf2/pieces.exp
12504 * gdb.dwarf2/pr10770.exp
12505 * gdb.dwarf2/pr13961.exp
12506 * gdb.dwarf2/staticvirtual.exp
12507 * gdb.dwarf2/subrange.exp
12508 * gdb.dwarf2/symtab-producer.exp
12509 * gdb.dwarf2/trace-crash.exp
12510 * gdb.dwarf2/typeddwarf.exp
12511 * gdb.dwarf2/valop.exp
12512 * gdb.dwarf2/watch-notconst.exp
12513 * gdb.fortran/array-element.exp
12514 * gdb.fortran/charset.exp
12515 * gdb.fortran/common-block.exp
12516 * gdb.fortran/complex.exp
12517 * gdb.fortran/derived-type-function.exp
12518 * gdb.fortran/derived-type.exp
12519 * gdb.fortran/logical.exp
12520 * gdb.fortran/module.exp
12521 * gdb.fortran/multi-dim.exp
12522 * gdb.fortran/nested-funcs.exp
12523 * gdb.fortran/print-formatted.exp
12524 * gdb.fortran/subarray.exp
12525 * gdb.fortran/vla-alloc-assoc.exp
12526 * gdb.fortran/vla-datatypes.exp
12527 * gdb.fortran/vla-history.exp
12528 * gdb.fortran/vla-ptr-info.exp
12529 * gdb.fortran/vla-ptype-sub.exp
12530 * gdb.fortran/vla-ptype.exp
12531 * gdb.fortran/vla-sizeof.exp
12532 * gdb.fortran/vla-type.exp
12533 * gdb.fortran/vla-value-sub-arbitrary.exp
12534 * gdb.fortran/vla-value-sub-finish.exp
12535 * gdb.fortran/vla-value-sub.exp
12536 * gdb.fortran/vla-value.exp
12537 * gdb.fortran/whatis_type.exp
12539 * gdb.go/handcall.exp
12541 * gdb.go/integers.exp
12542 * gdb.go/methods.exp
12543 * gdb.go/package.exp
12544 * gdb.go/strings.exp
12546 * gdb.go/unsafe.exp
12547 * gdb.guile/scm-arch.exp
12548 * gdb.guile/scm-block.exp
12549 * gdb.guile/scm-breakpoint.exp
12550 * gdb.guile/scm-cmd.exp
12551 * gdb.guile/scm-disasm.exp
12552 * gdb.guile/scm-equal.exp
12553 * gdb.guile/scm-frame-args.exp
12554 * gdb.guile/scm-frame-inline.exp
12555 * gdb.guile/scm-frame.exp
12556 * gdb.guile/scm-iterator.exp
12557 * gdb.guile/scm-math.exp
12558 * gdb.guile/scm-objfile.exp
12559 * gdb.guile/scm-ports.exp
12560 * gdb.guile/scm-symbol.exp
12561 * gdb.guile/scm-symtab.exp
12562 * gdb.guile/scm-value-cc.exp
12563 * gdb.guile/types-module.exp
12564 * gdb.linespec/break-ask.exp
12565 * gdb.linespec/cpexplicit.exp
12566 * gdb.linespec/explicit.exp
12567 * gdb.linespec/keywords.exp
12568 * gdb.linespec/linespec.exp
12569 * gdb.linespec/ls-dollar.exp
12570 * gdb.linespec/ls-errs.exp
12571 * gdb.linespec/skip-two.exp
12572 * gdb.linespec/thread.exp
12573 * gdb.mi/mi-async.exp
12574 * gdb.mi/mi-basics.exp
12575 * gdb.mi/mi-break.exp
12576 * gdb.mi/mi-catch-load.exp
12577 * gdb.mi/mi-cli.exp
12578 * gdb.mi/mi-cmd-param-changed.exp
12579 * gdb.mi/mi-console.exp
12580 * gdb.mi/mi-detach.exp
12581 * gdb.mi/mi-disassemble.exp
12582 * gdb.mi/mi-eval.exp
12583 * gdb.mi/mi-file-transfer.exp
12584 * gdb.mi/mi-file.exp
12585 * gdb.mi/mi-fill-memory.exp
12586 * gdb.mi/mi-inheritance-syntax-error.exp
12587 * gdb.mi/mi-linespec-err-cp.exp
12588 * gdb.mi/mi-logging.exp
12589 * gdb.mi/mi-memory-changed.exp
12590 * gdb.mi/mi-read-memory.exp
12591 * gdb.mi/mi-record-changed.exp
12592 * gdb.mi/mi-reg-undefined.exp
12593 * gdb.mi/mi-regs.exp
12594 * gdb.mi/mi-return.exp
12595 * gdb.mi/mi-reverse.exp
12596 * gdb.mi/mi-simplerun.exp
12597 * gdb.mi/mi-solib.exp
12598 * gdb.mi/mi-stack.exp
12599 * gdb.mi/mi-stepi.exp
12600 * gdb.mi/mi-syn-frame.exp
12601 * gdb.mi/mi-until.exp
12602 * gdb.mi/mi-var-block.exp
12603 * gdb.mi/mi-var-child.exp
12604 * gdb.mi/mi-var-cmd.exp
12605 * gdb.mi/mi-var-cp.exp
12606 * gdb.mi/mi-var-display.exp
12607 * gdb.mi/mi-var-invalidate.exp
12608 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
12609 * gdb.mi/mi-vla-fortran.exp
12610 * gdb.mi/mi-watch.exp
12611 * gdb.mi/mi2-var-child.exp
12612 * gdb.mi/user-selected-context-sync.exp
12613 * gdb.modula2/unbounded-array.exp
12614 * gdb.multi/dummy-frame-restore.exp
12615 * gdb.multi/multi-arch-exec.exp
12616 * gdb.multi/multi-arch.exp
12617 * gdb.multi/tids.exp
12618 * gdb.multi/watchpoint-multi.exp
12619 * gdb.opencl/callfuncs.exp
12620 * gdb.opencl/convs_casts.exp
12621 * gdb.opencl/datatypes.exp
12622 * gdb.opencl/operators.exp
12623 * gdb.opencl/vec_comps.exp
12624 * gdb.opt/clobbered-registers-O2.exp
12625 * gdb.opt/inline-break.exp
12626 * gdb.opt/inline-bt.exp
12627 * gdb.opt/inline-cmds.exp
12628 * gdb.opt/inline-locals.exp
12629 * gdb.pascal/case-insensitive-symbols.exp
12630 * gdb.pascal/floats.exp
12631 * gdb.pascal/gdb11492.exp
12632 * gdb.python/lib-types.exp
12633 * gdb.python/py-arch.exp
12634 * gdb.python/py-as-string.exp
12635 * gdb.python/py-bad-printers.exp
12636 * gdb.python/py-block.exp
12637 * gdb.python/py-breakpoint-create-fail.exp
12638 * gdb.python/py-breakpoint.exp
12639 * gdb.python/py-caller-is.exp
12640 * gdb.python/py-cmd.exp
12641 * gdb.python/py-explore-cc.exp
12642 * gdb.python/py-explore.exp
12643 * gdb.python/py-finish-breakpoint.exp
12644 * gdb.python/py-finish-breakpoint2.exp
12645 * gdb.python/py-frame-args.exp
12646 * gdb.python/py-frame-inline.exp
12647 * gdb.python/py-frame.exp
12648 * gdb.python/py-framefilter-mi.exp
12649 * gdb.python/py-infthread.exp
12650 * gdb.python/py-lazy-string.exp
12651 * gdb.python/py-linetable.exp
12652 * gdb.python/py-mi-events.exp
12653 * gdb.python/py-mi-objfile.exp
12654 * gdb.python/py-mi.exp
12655 * gdb.python/py-objfile.exp
12656 * gdb.python/py-pp-integral.exp
12657 * gdb.python/py-pp-maint.exp
12658 * gdb.python/py-pp-re-notag.exp
12659 * gdb.python/py-pp-registration.exp
12660 * gdb.python/py-recurse-unwind.exp
12661 * gdb.python/py-strfns.exp
12662 * gdb.python/py-symbol.exp
12663 * gdb.python/py-symtab.exp
12664 * gdb.python/py-sync-interp.exp
12665 * gdb.python/py-typeprint.exp
12666 * gdb.python/py-unwind-maint.exp
12667 * gdb.python/py-unwind.exp
12668 * gdb.python/py-value-cc.exp
12669 * gdb.python/py-xmethods.exp
12670 * gdb.reverse/amd64-tailcall-reverse.exp
12671 * gdb.reverse/break-precsave.exp
12672 * gdb.reverse/break-reverse.exp
12673 * gdb.reverse/consecutive-precsave.exp
12674 * gdb.reverse/consecutive-reverse.exp
12675 * gdb.reverse/finish-precsave.exp
12676 * gdb.reverse/finish-reverse-bkpt.exp
12677 * gdb.reverse/finish-reverse.exp
12678 * gdb.reverse/fstatat-reverse.exp
12679 * gdb.reverse/getresuid-reverse.exp
12680 * gdb.reverse/i386-precsave.exp
12681 * gdb.reverse/i386-reverse.exp
12682 * gdb.reverse/i386-sse-reverse.exp
12683 * gdb.reverse/i387-env-reverse.exp
12684 * gdb.reverse/i387-stack-reverse.exp
12685 * gdb.reverse/insn-reverse.exp
12686 * gdb.reverse/machinestate-precsave.exp
12687 * gdb.reverse/machinestate.exp
12688 * gdb.reverse/next-reverse-bkpt-over-sr.exp
12689 * gdb.reverse/pipe-reverse.exp
12690 * gdb.reverse/readv-reverse.exp
12691 * gdb.reverse/recvmsg-reverse.exp
12692 * gdb.reverse/rerun-prec.exp
12693 * gdb.reverse/s390-mvcle.exp
12694 * gdb.reverse/step-precsave.exp
12695 * gdb.reverse/step-reverse.exp
12696 * gdb.reverse/time-reverse.exp
12697 * gdb.reverse/until-precsave.exp
12698 * gdb.reverse/until-reverse.exp
12699 * gdb.reverse/waitpid-reverse.exp
12700 * gdb.reverse/watch-precsave.exp
12701 * gdb.reverse/watch-reverse.exp
12702 * gdb.rust/generics.exp
12703 * gdb.rust/methods.exp
12704 * gdb.rust/modules.exp
12705 * gdb.rust/simple.exp
12706 * gdb.server/connect-with-no-symbol-file.exp
12707 * gdb.server/ext-attach.exp
12708 * gdb.server/ext-restart.exp
12709 * gdb.server/ext-wrapper.exp
12710 * gdb.server/file-transfer.exp
12711 * gdb.server/server-exec-info.exp
12712 * gdb.server/server-kill.exp
12713 * gdb.server/server-mon.exp
12714 * gdb.server/wrapper.exp
12715 * gdb.stabs/exclfwd.exp
12716 * gdb.stabs/gdb11479.exp
12717 * gdb.threads/clone-new-thread-event.exp
12718 * gdb.threads/corethreads.exp
12719 * gdb.threads/current-lwp-dead.exp
12720 * gdb.threads/dlopen-libpthread.exp
12721 * gdb.threads/gcore-thread.exp
12722 * gdb.threads/sigstep-threads.exp
12723 * gdb.threads/watchpoint-fork.exp
12724 * gdb.trace/actions-changed.exp
12725 * gdb.trace/backtrace.exp
12726 * gdb.trace/change-loc.exp
12727 * gdb.trace/circ.exp
12728 * gdb.trace/collection.exp
12729 * gdb.trace/disconnected-tracing.exp
12730 * gdb.trace/ftrace.exp
12731 * gdb.trace/mi-trace-frame-collected.exp
12732 * gdb.trace/mi-trace-unavailable.exp
12733 * gdb.trace/mi-traceframe-changed.exp
12734 * gdb.trace/mi-tsv-changed.exp
12735 * gdb.trace/no-attach-trace.exp
12736 * gdb.trace/passc-dyn.exp
12737 * gdb.trace/qtro.exp
12738 * gdb.trace/range-stepping.exp
12739 * gdb.trace/read-memory.exp
12740 * gdb.trace/save-trace.exp
12741 * gdb.trace/signal.exp
12742 * gdb.trace/status-stop.exp
12743 * gdb.trace/tfile.exp
12744 * gdb.trace/trace-break.exp
12745 * gdb.trace/trace-buffer-size.exp
12746 * gdb.trace/trace-condition.exp
12747 * gdb.trace/tracefile-pseudo-reg.exp
12748 * gdb.trace/tstatus.exp
12749 * gdb.trace/unavailable.exp
12750 * gdb.trace/while-dyn.exp
12751 * gdb.trace/while-stepping.exp
12753 2016-12-22 Doug Evans <xdje42@gmail.com>
12755 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
12758 2016-12-19 Yao Qi <yao.qi@linaro.org>
12760 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
12761 (test_with_self): Don't call do_steps_and_nexts, and remove
12762 code about stepping into xmalloc.
12764 2016-12-09 Yao Qi <yao.qi@linaro.org>
12766 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
12768 2016-12-09 Yao Qi <yao.qi@linaro.org>
12770 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
12772 2016-12-09 Pedro Alves <palves@redhat.com>
12774 * gdb.base/all-architectures-0.exp: New file.
12775 * gdb.base/all-architectures-1.exp: New file.
12776 * gdb.base/all-architectures-2.exp: New file.
12777 * gdb.base/all-architectures-3.exp: New file.
12778 * gdb.base/all-architectures-4.exp: New file.
12779 * gdb.base/all-architectures-5.exp: New file.
12780 * gdb.base/all-architectures-6.exp: New file.
12781 * gdb.base/all-architectures-7.exp: New file.
12782 * gdb.base/all-architectures.exp.in: New file.
12784 2016-12-09 Yao Qi <yao.qi@linaro.org>
12786 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
12788 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
12790 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
12792 Remove useless pattern-matching code.
12794 2016-12-02 Pedro Alves <palves@redhat.com>
12796 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
12798 (top level): Call it.
12800 2016-12-02 Pedro Alves <palves@redhat.com>
12802 * gdb.base/commands.exp (user_defined_command_args_stack_test):
12804 (top level): Call it.
12806 2016-12-02 Pedro Alves <palves@redhat.com>
12809 * gdb.base/commands.exp (user_defined_command_args_eval): New
12811 (top level): Call it.
12813 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
12815 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
12818 2016-12-02 Tom Tromey <tom@tromey.com>
12820 * gdb.dwarf2/main-subprogram.c: New file.
12821 * gdb.dwarf2/main-subprogram.exp: New file.
12823 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
12825 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
12826 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
12827 gdb_test_no_output for a couple of cases.
12828 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
12830 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
12832 Fix test names and standardize compilation error messages throughout
12833 the following files:
12835 * gdb.ada/start.exp
12836 * gdb.arch/alpha-step.exp
12837 * gdb.arch/e500-prologue.exp
12838 * gdb.arch/ftrace-insn-reloc.exp
12839 * gdb.arch/gdb1291.exp
12840 * gdb.arch/gdb1431.exp
12841 * gdb.arch/gdb1558.exp
12842 * gdb.arch/i386-dr3-watch.exp
12843 * gdb.arch/i386-sse-stack-align.exp
12844 * gdb.arch/ia64-breakpoint-shadow.exp
12845 * gdb.arch/pa-nullify.exp
12846 * gdb.arch/powerpc-aix-prologue.exp
12847 * gdb.arch/thumb-bx-pc.exp
12848 * gdb.base/annota1.exp
12849 * gdb.base/annota3.exp
12850 * gdb.base/arrayidx.exp
12851 * gdb.base/assign.exp
12852 * gdb.base/attach.exp
12853 * gdb.base/auxv.exp
12854 * gdb.base/bang.exp
12855 * gdb.base/bfp-test.exp
12856 * gdb.base/bigcore.exp
12857 * gdb.base/bitfields2.exp
12858 * gdb.base/break-fun-addr.exp
12859 * gdb.base/break-probes.exp
12860 * gdb.base/call-rt-st.exp
12861 * gdb.base/callexit.exp
12862 * gdb.base/catch-fork-kill.exp
12863 * gdb.base/charset.exp
12864 * gdb.base/checkpoint.exp
12865 * gdb.base/comprdebug.exp
12866 * gdb.base/constvars.exp
12867 * gdb.base/coredump-filter.exp
12868 * gdb.base/cursal.exp
12869 * gdb.base/cvexpr.exp
12870 * gdb.base/detach.exp
12871 * gdb.base/display.exp
12872 * gdb.base/dmsym.exp
12873 * gdb.base/dprintf-pending.exp
12874 * gdb.base/dso2dso.exp
12875 * gdb.base/dtrace-probe.exp
12876 * gdb.base/dump.exp
12877 * gdb.base/enum_cond.exp
12878 * gdb.base/exe-lock.exp
12879 * gdb.base/exec-invalid-sysroot.exp
12880 * gdb.base/execl-update-breakpoints.exp
12881 * gdb.base/exprs.exp
12882 * gdb.base/fileio.exp
12883 * gdb.base/find.exp
12884 * gdb.base/finish.exp
12885 * gdb.base/fixsection.exp
12886 * gdb.base/foll-vfork.exp
12887 * gdb.base/frame-args.exp
12888 * gdb.base/gcore.exp
12889 * gdb.base/gdb1250.exp
12890 * gdb.base/global-var-nested-by-dso.exp
12891 * gdb.base/gnu-ifunc.exp
12892 * gdb.base/hashline1.exp
12893 * gdb.base/hashline2.exp
12894 * gdb.base/hashline3.exp
12895 * gdb.base/hbreak-in-shr-unsupported.exp
12896 * gdb.base/huge.exp
12897 * gdb.base/infcall-input.exp
12898 * gdb.base/info-fun.exp
12899 * gdb.base/info-shared.exp
12900 * gdb.base/jit-simple.exp
12901 * gdb.base/jit-so.exp
12903 * gdb.base/jump.exp
12904 * gdb.base/label.exp
12905 * gdb.base/lineinc.exp
12906 * gdb.base/logical.exp
12907 * gdb.base/longjmp.exp
12908 * gdb.base/macscp.exp
12909 * gdb.base/miscexprs.exp
12910 * gdb.base/new-ui-echo.exp
12911 * gdb.base/new-ui-pending-input.exp
12912 * gdb.base/new-ui.exp
12913 * gdb.base/nodebug.exp
12914 * gdb.base/nofield.exp
12915 * gdb.base/offsets.exp
12916 * gdb.base/overlays.exp
12917 * gdb.base/pending.exp
12918 * gdb.base/pointers.exp
12919 * gdb.base/pr11022.exp
12920 * gdb.base/printcmds.exp
12921 * gdb.base/prologue.exp
12922 * gdb.base/ptr-typedef.exp
12923 * gdb.base/realname-expand.exp
12924 * gdb.base/relativedebug.exp
12925 * gdb.base/relocate.exp
12926 * gdb.base/remote.exp
12927 * gdb.base/reread.exp
12928 * gdb.base/return2.exp
12929 * gdb.base/savedregs.exp
12931 * gdb.base/sepdebug.exp
12932 * gdb.base/sepsymtab.exp
12933 * gdb.base/set-inferior-tty.exp
12934 * gdb.base/setshow.exp
12935 * gdb.base/shlib-call.exp
12936 * gdb.base/sigaltstack.exp
12937 * gdb.base/siginfo-addr.exp
12938 * gdb.base/signals.exp
12939 * gdb.base/signull.exp
12940 * gdb.base/sigrepeat.exp
12941 * gdb.base/so-impl-ld.exp
12942 * gdb.base/solib-display.exp
12943 * gdb.base/solib-overlap.exp
12944 * gdb.base/solib-search.exp
12945 * gdb.base/solib-symbol.exp
12946 * gdb.base/structs.exp
12947 * gdb.base/structs2.exp
12948 * gdb.base/symtab-search-order.exp
12949 * gdb.base/twice.exp
12950 * gdb.base/unload.exp
12951 * gdb.base/varargs.exp
12952 * gdb.base/watchpoint-solib.exp
12953 * gdb.base/watchpoint.exp
12954 * gdb.base/whatis.exp
12955 * gdb.base/wrong_frame_bt_full.exp
12956 * gdb.btrace/dlopen.exp
12957 * gdb.cell/ea-standalone.exp
12958 * gdb.cell/ea-test.exp
12959 * gdb.cp/dispcxx.exp
12960 * gdb.cp/gdb2384.exp
12961 * gdb.cp/method2.exp
12962 * gdb.cp/nextoverthrow.exp
12963 * gdb.cp/pr10728.exp
12964 * gdb.disasm/am33.exp
12965 * gdb.disasm/h8300s.exp
12966 * gdb.disasm/mn10300.exp
12967 * gdb.disasm/sh3.exp
12968 * gdb.dwarf2/dw2-dir-file-name.exp
12969 * gdb.fortran/complex.exp
12970 * gdb.fortran/library-module.exp
12971 * gdb.guile/scm-pretty-print.exp
12972 * gdb.guile/scm-symbol.exp
12973 * gdb.guile/scm-type.exp
12974 * gdb.guile/scm-value.exp
12975 * gdb.linespec/linespec.exp
12976 * gdb.mi/gdb701.exp
12977 * gdb.mi/gdb792.exp
12978 * gdb.mi/mi-breakpoint-changed.exp
12979 * gdb.mi/mi-dprintf-pending.exp
12980 * gdb.mi/mi-dprintf.exp
12981 * gdb.mi/mi-exit-code.exp
12982 * gdb.mi/mi-pending.exp
12983 * gdb.mi/mi-solib.exp
12984 * gdb.mi/new-ui-mi-sync.exp
12985 * gdb.mi/pr11022.exp
12986 * gdb.mi/user-selected-context-sync.exp
12987 * gdb.opt/solib-intra-step.exp
12988 * gdb.python/py-events.exp
12989 * gdb.python/py-finish-breakpoint.exp
12990 * gdb.python/py-mi.exp
12991 * gdb.python/py-prettyprint.exp
12992 * gdb.python/py-shared.exp
12993 * gdb.python/py-symbol.exp
12994 * gdb.python/py-template.exp
12995 * gdb.python/py-type.exp
12996 * gdb.python/py-value.exp
12997 * gdb.reverse/solib-precsave.exp
12998 * gdb.reverse/solib-reverse.exp
12999 * gdb.server/solib-list.exp
13000 * gdb.stabs/weird.exp
13001 * gdb.threads/reconnect-signal.exp
13002 * gdb.threads/stepi-random-signal.exp
13003 * gdb.trace/actions.exp
13005 * gdb.trace/backtrace.exp
13006 * gdb.trace/change-loc.exp
13007 * gdb.trace/deltrace.exp
13008 * gdb.trace/ftrace-lock.exp
13009 * gdb.trace/ftrace.exp
13010 * gdb.trace/infotrace.exp
13011 * gdb.trace/mi-tracepoint-changed.exp
13012 * gdb.trace/packetlen.exp
13013 * gdb.trace/passcount.exp
13014 * gdb.trace/pending.exp
13015 * gdb.trace/range-stepping.exp
13016 * gdb.trace/report.exp
13017 * gdb.trace/stap-trace.exp
13018 * gdb.trace/tfind.exp
13019 * gdb.trace/trace-break.exp
13020 * gdb.trace/trace-condition.exp
13021 * gdb.trace/trace-enable-disable.exp
13022 * gdb.trace/trace-mt.exp
13023 * gdb.trace/tracecmd.exp
13024 * gdb.trace/tspeed.exp
13025 * gdb.trace/tsv.exp
13028 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
13030 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
13031 with gdb_test_no_output.
13032 Use command as test name.
13034 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
13036 Fix test names starting with uppercase throughout the files.
13038 * gdb.ada/assign_1.exp
13039 * gdb.ada/boolean_expr.exp
13040 * gdb.base/arrayidx.exp
13042 * gdb.base/gcore-buffer-overflow.exp
13043 * gdb.base/testenv.exp
13044 * gdb.compile/compile.exp
13045 * gdb.python/py-framefilter-invalidarg.exp
13046 * gdb.python/py-framefilter.exp
13048 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
13050 Fix test names starting with uppercase throughout the files.
13052 * gdb.ada/array_return.exp
13053 * gdb.ada/expr_delims.exp
13054 * gdb.ada/mi_dyn_arr.exp
13055 * gdb.ada/mi_interface.exp
13056 * gdb.ada/mi_var_array.exp
13057 * gdb.ada/watch_arg.exp
13058 * gdb.arch/alpha-step.exp
13059 * gdb.arch/altivec-regs.exp
13060 * gdb.arch/e500-regs.exp
13061 * gdb.arch/powerpc-d128-regs.exp
13062 * gdb.base/arrayidx.exp
13063 * gdb.base/break.exp
13064 * gdb.base/checkpoint.exp
13065 * gdb.base/debug-expr.exp
13066 * gdb.base/dmsym.exp
13067 * gdb.base/radix.exp
13068 * gdb.base/sepdebug.exp
13069 * gdb.base/testenv.exp
13070 * gdb.base/watch_thread_num.exp
13071 * gdb.base/watchpoint-cond-gone.exp
13072 * gdb.cell/break.exp
13073 * gdb.cell/ea-cache.exp
13074 * gdb.compile/compile.exp
13075 * gdb.cp/gdb2495.exp
13076 * gdb.gdb/selftest.exp
13077 * gdb.gdb/xfullpath.exp
13079 * gdb.go/integers.exp
13080 * gdb.objc/basicclass.exp
13081 * gdb.pascal/hello.exp
13082 * gdb.pascal/integers.exp
13083 * gdb.python/py-breakpoint.exp
13084 * gdb.python/py-cmd.exp
13085 * gdb.python/py-linetable.exp
13086 * gdb.python/py-xmethods.exp
13087 * gdb.python/python.exp
13088 * gdb.reverse/consecutive-precsave.exp
13089 * gdb.reverse/finish-precsave.exp
13090 * gdb.reverse/i386-precsave.exp
13091 * gdb.reverse/machinestate-precsave.exp
13092 * gdb.reverse/sigall-precsave.exp
13093 * gdb.reverse/solib-precsave.exp
13094 * gdb.reverse/step-precsave.exp
13095 * gdb.reverse/until-precsave.exp
13096 * gdb.reverse/watch-precsave.exp
13097 * gdb.threads/leader-exit.exp
13098 * gdb.threads/pthreads.exp
13099 * gdb.threads/wp-replication.exp
13100 * gdb.trace/actions.exp
13101 * gdb.trace/mi-tsv-changed.exp
13102 * gdb.trace/tsv.exp
13104 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
13106 Fix test names starting with uppercase throughout the files.
13108 * gdb.arch/i386-bp_permanent.exp
13109 * gdb.arch/i386-gnu-cfi.exp
13110 * gdb.base/disasm-end-cu.exp
13111 * gdb.base/macscp.exp
13112 * gdb.base/pending.exp
13113 * gdb.base/watch_thread_num.exp
13114 * gdb.cp/exception.exp
13115 * gdb.cp/gdb2495.exp
13117 * gdb.python/py-evsignal.exp
13118 * gdb.python/python.exp
13119 * gdb.trace/tracecmd.exp
13121 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
13123 Fix test names starting with uppercase throughout the files.
13125 * gdb.base/charset.exp
13126 * gdb.base/eval.exp
13127 * gdb.base/multi-forks.exp
13128 * gdb.guile/scm-progspace.exp
13129 * gdb.opencl/datatypes.exp
13130 * gdb.python/py-block.exp
13131 * gdb.python/py-function.exp
13132 * gdb.python/py-symbol.exp
13133 * gdb.python/py-symtab.exp
13134 * gdb.python/py-xmethods.exp
13135 * gdb.reverse/break-precsave.exp
13136 * gdb.reverse/break-reverse.exp
13137 * gdb.reverse/consecutive-precsave.exp
13138 * gdb.reverse/consecutive-reverse.exp
13139 * gdb.reverse/finish-precsave.exp
13140 * gdb.reverse/finish-reverse-bkpt.exp
13141 * gdb.reverse/finish-reverse.exp
13142 * gdb.reverse/fstatat-reverse.exp
13143 * gdb.reverse/getresuid-reverse.exp
13144 * gdb.reverse/i386-precsave.exp
13145 * gdb.reverse/i386-reverse.exp
13146 * gdb.reverse/i386-sse-reverse.exp
13147 * gdb.reverse/i387-stack-reverse.exp
13148 * gdb.reverse/insn-reverse.exp
13149 * gdb.reverse/machinestate-precsave.exp
13150 * gdb.reverse/machinestate.exp
13151 * gdb.reverse/next-reverse-bkpt-over-sr.exp
13152 * gdb.reverse/pipe-reverse.exp
13153 * gdb.reverse/readv-reverse.exp
13154 * gdb.reverse/recvmsg-reverse.exp
13155 * gdb.reverse/rerun-prec.exp
13156 * gdb.reverse/s390-mvcle.exp
13157 * gdb.reverse/sigall-precsave.exp
13158 * gdb.reverse/sigall-reverse.exp
13159 * gdb.reverse/solib-precsave.exp
13160 * gdb.reverse/solib-reverse.exp
13161 * gdb.reverse/step-precsave.exp
13162 * gdb.reverse/step-reverse.exp
13163 * gdb.reverse/time-reverse.exp
13164 * gdb.reverse/until-precsave.exp
13165 * gdb.reverse/until-reverse.exp
13166 * gdb.reverse/waitpid-reverse.exp
13167 * gdb.reverse/watch-precsave.exp
13168 * gdb.reverse/watch-reverse.exp
13170 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
13172 Fix test names starting with uppercase throughout the files.
13174 * gdb.arch/i386-mpx-simple_segv.exp
13175 * gdb.arch/i386-mpx.exp
13176 * gdb.arch/i386-permbkpt.exp
13177 * gdb.arch/pa-nullify.exp
13178 * gdb.arch/powerpc-d128-regs.exp
13179 * gdb.arch/vsx-regs.exp
13180 * gdb.base/bfp-test.exp
13181 * gdb.base/break.exp
13182 * gdb.base/breakpoint-shadow.exp
13183 * gdb.base/callfuncs.exp
13184 * gdb.base/charset.exp
13185 * gdb.base/commands.exp
13186 * gdb.base/completion.exp
13187 * gdb.base/dfp-test.exp
13188 * gdb.base/echo.exp
13189 * gdb.base/ending-run.exp
13190 * gdb.base/eval.exp
13191 * gdb.base/expand-psymtabs.exp
13192 * gdb.base/float128.exp
13193 * gdb.base/floatn.exp
13194 * gdb.base/foll-exec-mode.exp
13195 * gdb.base/gdb1056.exp
13196 * gdb.base/gdb11531.exp
13197 * gdb.base/kill-after-signal.exp
13198 * gdb.base/multi-forks.exp
13199 * gdb.base/overlays.exp
13200 * gdb.base/pending.exp
13201 * gdb.base/sepdebug.exp
13202 * gdb.base/testenv.exp
13203 * gdb.base/valgrind-db-attach.exp
13204 * gdb.base/watch_thread_num.exp
13205 * gdb.base/watchpoint-cond-gone.exp
13206 * gdb.base/watchpoint.exp
13207 * gdb.base/watchpoints.exp
13208 * gdb.cp/arg-reference.exp
13209 * gdb.cp/baseenum.exp
13210 * gdb.cp/operator.exp
13211 * gdb.cp/shadow.exp
13212 * gdb.dwarf2/dw2-op-out-param.exp
13213 * gdb.dwarf2/dw2-reg-undefined.exp
13216 * gdb.go/integers.exp
13217 * gdb.go/methods.exp
13218 * gdb.go/package.exp
13219 * gdb.guile/scm-parameter.exp
13220 * gdb.guile/scm-progspace.exp
13221 * gdb.guile/scm-value.exp
13222 * gdb.mi/mi-pending.exp
13223 * gdb.mi/user-selected-context-sync.exp
13224 * gdb.multi/multi-attach.exp
13225 * gdb.multi/tids.exp
13226 * gdb.opt/clobbered-registers-O2.exp
13227 * gdb.pascal/floats.exp
13228 * gdb.pascal/integers.exp
13229 * gdb.python/py-block.exp
13230 * gdb.python/py-events.exp
13231 * gdb.python/py-parameter.exp
13232 * gdb.python/py-symbol.exp
13233 * gdb.python/py-symtab.exp
13234 * gdb.python/py-type.exp
13235 * gdb.python/py-value.exp
13236 * gdb.python/py-xmethods.exp
13237 * gdb.python/python.exp
13238 * gdb.reverse/break-precsave.exp
13239 * gdb.reverse/consecutive-precsave.exp
13240 * gdb.reverse/finish-precsave.exp
13241 * gdb.reverse/i386-precsave.exp
13242 * gdb.reverse/machinestate-precsave.exp
13243 * gdb.reverse/sigall-precsave.exp
13244 * gdb.reverse/solib-precsave.exp
13245 * gdb.reverse/step-precsave.exp
13246 * gdb.reverse/until-precsave.exp
13247 * gdb.reverse/watch-precsave.exp
13248 * gdb.server/ext-attach.exp
13249 * gdb.server/ext-restart.exp
13250 * gdb.server/ext-run.exp
13251 * gdb.server/ext-wrapper.exp
13252 * gdb.stabs/gdb11479.exp
13253 * gdb.stabs/weird.exp
13254 * gdb.threads/attach-many-short-lived-threads.exp
13255 * gdb.threads/kill.exp
13256 * gdb.threads/watchpoint-fork.exp
13258 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
13260 Fix test names starting with uppercase throughout all the files below.
13262 * gdb.ada/array_return.exp
13263 * gdb.ada/catch_ex.exp
13264 * gdb.ada/info_exc.exp
13265 * gdb.ada/mi_catch_ex.exp
13266 * gdb.ada/mi_dyn_arr.exp
13267 * gdb.ada/mi_ex_cond.exp
13268 * gdb.ada/mi_exc_info.exp
13269 * gdb.ada/mi_interface.exp
13270 * gdb.ada/mi_task_arg.exp
13271 * gdb.ada/mi_task_info.exp
13272 * gdb.ada/mi_var_array.exp
13273 * gdb.arch/alpha-step.exp
13274 * gdb.arch/amd64-disp-step.exp
13275 * gdb.arch/arm-disp-step.exp
13276 * gdb.arch/disp-step-insn-reloc.exp
13277 * gdb.arch/e500-prologue.exp
13278 * gdb.arch/ftrace-insn-reloc.exp
13279 * gdb.arch/gdb1558.exp
13280 * gdb.arch/i386-bp_permanent.exp
13281 * gdb.arch/i386-disp-step.exp
13282 * gdb.arch/i386-float.exp
13283 * gdb.arch/i386-gnu-cfi.exp
13284 * gdb.arch/ia64-breakpoint-shadow.exp
13285 * gdb.arch/mips16-thunks.exp
13286 * gdb.arch/pa-nullify.exp
13287 * gdb.arch/powerpc-aix-prologue.exp
13288 * gdb.arch/powerpc-power.exp
13289 * gdb.arch/ppc-dfp.exp
13290 * gdb.arch/s390-tdbregs.exp
13291 * gdb.arch/spu-info.exp
13292 * gdb.arch/spu-ls.exp
13293 * gdb.arch/thumb-bx-pc.exp
13294 * gdb.base/advance.exp
13295 * gdb.base/annota-input-while-running.exp
13296 * gdb.base/arrayidx.exp
13297 * gdb.base/asmlabel.exp
13298 * gdb.base/async.exp
13299 * gdb.base/attach-wait-input.exp
13300 * gdb.base/auto-connect-native-target.exp
13301 * gdb.base/batch-preserve-term-settings.exp
13302 * gdb.base/bfp-test.exp
13303 * gdb.base/bigcore.exp
13304 * gdb.base/bp-permanent.exp
13305 * gdb.base/break-always.exp
13306 * gdb.base/break-fun-addr.exp
13307 * gdb.base/break-idempotent.exp
13308 * gdb.base/break-main-file-remove-fail.exp
13309 * gdb.base/break-probes.exp
13310 * gdb.base/break-unload-file.exp
13311 * gdb.base/break.exp
13312 * gdb.base/call-ar-st.exp
13313 * gdb.base/call-rt-st.exp
13314 * gdb.base/call-sc.exp
13315 * gdb.base/call-signal-resume.exp
13316 * gdb.base/call-strs.exp
13317 * gdb.base/callexit.exp
13318 * gdb.base/callfuncs.exp
13319 * gdb.base/catch-gdb-caused-signals.exp
13320 * gdb.base/catch-signal-siginfo-cond.exp
13321 * gdb.base/catch-syscall.exp
13322 * gdb.base/compare-sections.exp
13323 * gdb.base/cond-eval-mode.exp
13324 * gdb.base/condbreak-call-false.exp
13325 * gdb.base/consecutive-step-over.exp
13326 * gdb.base/cursal.exp
13327 * gdb.base/disabled-location.exp
13328 * gdb.base/disasm-end-cu.exp
13329 * gdb.base/display.exp
13330 * gdb.base/double-prompt-target-event-error.exp
13331 * gdb.base/dprintf-bp-same-addr.exp
13332 * gdb.base/dprintf-detach.exp
13333 * gdb.base/dprintf-next.exp
13334 * gdb.base/dprintf-non-stop.exp
13335 * gdb.base/dprintf-pending.exp
13336 * gdb.base/dso2dso.exp
13337 * gdb.base/ending-run.exp
13338 * gdb.base/enum_cond.exp
13339 * gdb.base/examine-backward.exp
13340 * gdb.base/exe-lock.exp
13341 * gdb.base/exec-invalid-sysroot.exp
13342 * gdb.base/execl-update-breakpoints.exp
13343 * gdb.base/execution-termios.exp
13344 * gdb.base/fileio.exp
13345 * gdb.base/fixsection.exp
13346 * gdb.base/foll-exec-mode.exp
13347 * gdb.base/foll-exec.exp
13348 * gdb.base/fork-running-state.exp
13349 * gdb.base/frame-args.exp
13350 * gdb.base/fullpath-expand.exp
13351 * gdb.base/func-ptr.exp
13352 * gdb.base/gcore-relro-pie.exp
13353 * gdb.base/gdb1090.exp
13354 * gdb.base/gdb1555.exp
13355 * gdb.base/global-var-nested-by-dso.exp
13356 * gdb.base/gnu-ifunc.exp
13357 * gdb.base/hbreak-in-shr-unsupported.exp
13358 * gdb.base/hbreak-unmapped.exp
13359 * gdb.base/hook-stop.exp
13360 * gdb.base/infcall-input.exp
13361 * gdb.base/info-fun.exp
13362 * gdb.base/info-shared.exp
13363 * gdb.base/interrupt-noterm.exp
13364 * gdb.base/jit-so.exp
13366 * gdb.base/line-symtabs.exp
13367 * gdb.base/list.exp
13368 * gdb.base/longjmp.exp
13369 * gdb.base/macscp.exp
13370 * gdb.base/max-value-size.exp
13371 * gdb.base/nodebug.exp
13372 * gdb.base/nofield.exp
13373 * gdb.base/overlays.exp
13374 * gdb.base/paginate-after-ctrl-c-running.exp
13375 * gdb.base/paginate-bg-execution.exp
13376 * gdb.base/paginate-inferior-exit.exp
13377 * gdb.base/pending.exp
13378 * gdb.base/pr11022.exp
13379 * gdb.base/printcmds.exp
13380 * gdb.base/ptr-typedef.exp
13381 * gdb.base/ptype.exp
13382 * gdb.base/randomize.exp
13383 * gdb.base/range-stepping.exp
13384 * gdb.base/realname-expand.exp
13385 * gdb.base/relativedebug.exp
13386 * gdb.base/remote.exp
13387 * gdb.base/savedregs.exp
13388 * gdb.base/sepdebug.exp
13389 * gdb.base/set-noassign.exp
13390 * gdb.base/shlib-call.exp
13391 * gdb.base/shreloc.exp
13392 * gdb.base/sigaltstack.exp
13393 * gdb.base/sigbpt.exp
13394 * gdb.base/siginfo-addr.exp
13395 * gdb.base/siginfo-obj.exp
13396 * gdb.base/siginfo-thread.exp
13397 * gdb.base/signest.exp
13398 * gdb.base/signull.exp
13399 * gdb.base/sigrepeat.exp
13400 * gdb.base/skip.exp
13401 * gdb.base/so-impl-ld.exp
13402 * gdb.base/solib-corrupted.exp
13403 * gdb.base/solib-disc.exp
13404 * gdb.base/solib-display.exp
13405 * gdb.base/solib-overlap.exp
13406 * gdb.base/solib-search.exp
13407 * gdb.base/solib-symbol.exp
13408 * gdb.base/source-execution.exp
13409 * gdb.base/sss-bp-on-user-bp-2.exp
13410 * gdb.base/sss-bp-on-user-bp.exp
13411 * gdb.base/stack-checking.exp
13412 * gdb.base/stale-infcall.exp
13413 * gdb.base/step-break.exp
13414 * gdb.base/step-line.exp
13415 * gdb.base/step-over-exit.exp
13416 * gdb.base/step-test.exp
13417 * gdb.base/structs.exp
13418 * gdb.base/sym-file.exp
13419 * gdb.base/symtab-search-order.exp
13420 * gdb.base/term.exp
13421 * gdb.base/type-opaque.exp
13422 * gdb.base/unload.exp
13423 * gdb.base/until-nodebug.exp
13424 * gdb.base/until.exp
13425 * gdb.base/unwindonsignal.exp
13426 * gdb.base/watch-cond.exp
13427 * gdb.base/watch-non-mem.exp
13428 * gdb.base/watch_thread_num.exp
13429 * gdb.base/watchpoint-reuse-slot.exp
13430 * gdb.base/watchpoint-solib.exp
13431 * gdb.base/watchpoint.exp
13432 * gdb.btrace/dlopen.exp
13433 * gdb.cell/arch.exp
13434 * gdb.cell/break.exp
13436 * gdb.cell/core.exp
13437 * gdb.cell/data.exp
13438 * gdb.cell/dwarfaddr.exp
13439 * gdb.cell/ea-cache.exp
13440 * gdb.cell/ea-standalone.exp
13441 * gdb.cell/ea-test.exp
13442 * gdb.cell/f-regs.exp
13443 * gdb.cell/fork.exp
13444 * gdb.cell/gcore.exp
13445 * gdb.cell/mem-access.exp
13446 * gdb.cell/ptype.exp
13447 * gdb.cell/registers.exp
13448 * gdb.cell/sizeof.exp
13449 * gdb.cell/solib-symbol.exp
13450 * gdb.cell/solib.exp
13451 * gdb.compile/compile-tls.exp
13452 * gdb.cp/exception.exp
13453 * gdb.cp/gdb2495.exp
13455 * gdb.cp/mb-inline.exp
13456 * gdb.cp/mb-templates.exp
13457 * gdb.cp/pr10687.exp
13458 * gdb.cp/pr9167.exp
13459 * gdb.cp/scope-err.exp
13460 * gdb.cp/templates.exp
13461 * gdb.cp/virtfunc.exp
13462 * gdb.dwarf2/dw2-dir-file-name.exp
13463 * gdb.dwarf2/dw2-single-line-discriminators.exp
13464 * gdb.fortran/complex.exp
13465 * gdb.fortran/library-module.exp
13466 * gdb.guile/guile.exp
13467 * gdb.guile/scm-cmd.exp
13468 * gdb.guile/scm-frame-inline.exp
13469 * gdb.guile/scm-objfile.exp
13470 * gdb.guile/scm-pretty-print.exp
13471 * gdb.guile/scm-symbol.exp
13472 * gdb.guile/scm-type.exp
13473 * gdb.guile/scm-value.exp
13474 * gdb.linespec/keywords.exp
13475 * gdb.linespec/ls-errs.exp
13476 * gdb.linespec/macro-relative.exp
13477 * gdb.linespec/thread.exp
13478 * gdb.mi/mi-breakpoint-changed.exp
13479 * gdb.mi/mi-dprintf-pending.exp
13480 * gdb.mi/mi-fullname-deleted.exp
13481 * gdb.mi/mi-logging.exp
13482 * gdb.mi/mi-pending.exp
13483 * gdb.mi/mi-solib.exp
13484 * gdb.mi/new-ui-mi-sync.exp
13485 * gdb.mi/user-selected-context-sync.exp
13486 * gdb.multi/dummy-frame-restore.exp
13487 * gdb.multi/multi-arch-exec.exp
13488 * gdb.multi/remove-inferiors.exp
13489 * gdb.multi/watchpoint-multi-exit.exp
13490 * gdb.opt/solib-intra-step.exp
13491 * gdb.perf/backtrace.exp
13492 * gdb.perf/single-step.exp
13493 * gdb.perf/skip-command.exp
13494 * gdb.perf/skip-prologue.exp
13495 * gdb.perf/solib.exp
13496 * gdb.python/lib-types.exp
13497 * gdb.python/py-as-string.exp
13498 * gdb.python/py-bad-printers.exp
13499 * gdb.python/py-block.exp
13500 * gdb.python/py-breakpoint.exp
13501 * gdb.python/py-cmd.exp
13502 * gdb.python/py-events.exp
13503 * gdb.python/py-evthreads.exp
13504 * gdb.python/py-finish-breakpoint.exp
13505 * gdb.python/py-finish-breakpoint2.exp
13506 * gdb.python/py-frame-inline.exp
13507 * gdb.python/py-frame.exp
13508 * gdb.python/py-inferior.exp
13509 * gdb.python/py-infthread.exp
13510 * gdb.python/py-mi.exp
13511 * gdb.python/py-objfile.exp
13512 * gdb.python/py-pp-maint.exp
13513 * gdb.python/py-pp-registration.exp
13514 * gdb.python/py-prettyprint.exp
13515 * gdb.python/py-recurse-unwind.exp
13516 * gdb.python/py-shared.exp
13517 * gdb.python/py-symbol.exp
13518 * gdb.python/py-symtab.exp
13519 * gdb.python/py-template.exp
13520 * gdb.python/py-type.exp
13521 * gdb.python/py-unwind-maint.exp
13522 * gdb.python/py-unwind.exp
13523 * gdb.python/py-value.exp
13524 * gdb.python/python.exp
13525 * gdb.reverse/finish-reverse-bkpt.exp
13526 * gdb.reverse/insn-reverse.exp
13527 * gdb.reverse/next-reverse-bkpt-over-sr.exp
13528 * gdb.reverse/solib-precsave.exp
13529 * gdb.reverse/solib-reverse.exp
13530 * gdb.stabs/gdb11479.exp
13531 * gdb.stabs/weird.exp
13532 * gdb.threads/fork-child-threads.exp
13533 * gdb.threads/fork-plus-threads.exp
13534 * gdb.threads/fork-thread-pending.exp
13535 * gdb.threads/forking-threads-plus-breakpoint.exp
13536 * gdb.threads/hand-call-in-threads.exp
13537 * gdb.threads/interrupted-hand-call.exp
13538 * gdb.threads/linux-dp.exp
13539 * gdb.threads/local-watch-wrong-thread.exp
13540 * gdb.threads/next-while-other-thread-longjmps.exp
13541 * gdb.threads/non-ldr-exit.exp
13542 * gdb.threads/pending-step.exp
13543 * gdb.threads/print-threads.exp
13544 * gdb.threads/process-dies-while-detaching.exp
13545 * gdb.threads/process-dies-while-handling-bp.exp
13546 * gdb.threads/pthreads.exp
13547 * gdb.threads/queue-signal.exp
13548 * gdb.threads/reconnect-signal.exp
13549 * gdb.threads/signal-command-handle-nopass.exp
13550 * gdb.threads/signal-command-multiple-signals-pending.exp
13551 * gdb.threads/signal-delivered-right-thread.exp
13552 * gdb.threads/signal-sigtrap.exp
13553 * gdb.threads/sigthread.exp
13554 * gdb.threads/staticthreads.exp
13555 * gdb.threads/stepi-random-signal.exp
13556 * gdb.threads/thread-unwindonsignal.exp
13557 * gdb.threads/thread_check.exp
13558 * gdb.threads/thread_events.exp
13559 * gdb.threads/tid-reuse.exp
13560 * gdb.threads/tls-nodebug.exp
13561 * gdb.threads/tls-shared.exp
13562 * gdb.threads/tls-so_extern.exp
13563 * gdb.threads/tls.exp
13564 * gdb.threads/wp-replication.exp
13565 * gdb.trace/actions-changed.exp
13566 * gdb.trace/actions.exp
13567 * gdb.trace/backtrace.exp
13568 * gdb.trace/change-loc.exp
13569 * gdb.trace/collection.exp
13570 * gdb.trace/deltrace.exp
13571 * gdb.trace/disconnected-tracing.exp
13572 * gdb.trace/entry-values.exp
13573 * gdb.trace/ftrace-lock.exp
13574 * gdb.trace/ftrace.exp
13575 * gdb.trace/infotrace.exp
13576 * gdb.trace/mi-trace-frame-collected.exp
13577 * gdb.trace/mi-trace-unavailable.exp
13578 * gdb.trace/mi-traceframe-changed.exp
13579 * gdb.trace/mi-tracepoint-changed.exp
13580 * gdb.trace/mi-tsv-changed.exp
13581 * gdb.trace/no-attach-trace.exp
13582 * gdb.trace/packetlen.exp
13583 * gdb.trace/passc-dyn.exp
13584 * gdb.trace/passcount.exp
13585 * gdb.trace/pending.exp
13586 * gdb.trace/pr16508.exp
13587 * gdb.trace/qtro.exp
13588 * gdb.trace/range-stepping.exp
13589 * gdb.trace/read-memory.exp
13590 * gdb.trace/report.exp
13591 * gdb.trace/save-trace.exp
13592 * gdb.trace/signal.exp
13593 * gdb.trace/stap-trace.exp
13594 * gdb.trace/status-stop.exp
13595 * gdb.trace/strace.exp
13596 * gdb.trace/tfile.exp
13597 * gdb.trace/tfind.exp
13598 * gdb.trace/trace-break.exp
13599 * gdb.trace/trace-condition.exp
13600 * gdb.trace/trace-enable-disable.exp
13601 * gdb.trace/trace-mt.exp
13602 * gdb.trace/tracecmd.exp
13603 * gdb.trace/tracefile-pseudo-reg.exp
13604 * gdb.trace/tspeed.exp
13605 * gdb.trace/tstatus.exp
13606 * gdb.trace/tsv.exp
13607 * gdb.trace/unavailable.exp
13608 * gdb.trace/while-dyn.exp
13609 * gdb.trace/while-stepping.exp
13610 * lib/gdb-guile.exp
13612 * lib/mi-support.exp
13615 * lib/prelink-support.exp
13616 * lib/selftest-support.exp
13618 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
13620 * Makefile.in: Include disable-implicit-rules.mk.
13622 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
13624 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
13625 non-byte-aligned bit fields.
13627 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
13630 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
13631 respects the DW_AT_data_bit_offset attribute.
13633 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
13635 * gdb.base/default.exp: Fix output of "set language".
13637 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
13639 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
13640 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
13642 * configure.ac: Remove checks for the make program.
13643 * configure: Re-generate.
13645 2016-11-16 Kevin Buettner <kevinb@redhat.com>
13647 * gdb.python/py-recurse-unwind.c (main): Add loop.
13648 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
13649 to read_register() and gdb.parse_and_eval(). Make each code
13650 call a separate case that can be individually tested.
13651 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
13652 proc. Call cont_and_backtrace for each of the code paths that
13653 we want to test in the unwinder.
13655 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
13657 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
13658 the definition of struct S.
13660 2016-11-11 Catherine Moore <clm@codesourcery.com>
13662 * gdb.base/dump.exp: Identify verilog format dump tests as such.
13664 2016-11-09 Pedro Alves <palves@redhat.com>
13666 * gdb.base/commands.exp (runto_or_return): New procedure.
13667 (gdbvar_simple_if_test, gdbvar_simple_while_test)
13668 (gdbvar_complex_if_while_test, progvar_simple_if_test)
13669 (progvar_simple_while_test, progvar_complex_if_while_test)
13670 (if_while_breakpoint_command_test)
13671 (infrun_breakpoint_command_test, breakpoint_command_test)
13672 (user_defined_command_test, watchpoint_command_test)
13673 (test_command_prompt_position, redefine_hook_test)
13674 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
13675 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
13676 multi_line_input and multi_line. Remove gdb_expect and
13677 gdb_stop_suppressing_tests uses.
13678 * lib/gdb.exp (valnum_re): New global.
13679 (multi_line_input): New procedure.
13681 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
13683 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
13685 (test_setup): Define with proc_with_prefix.
13686 (test_cli_inferior): Likewise.
13687 (test_cli_thread): Likewise.
13688 (test_cli_frame): Likewise.
13689 (test_cli_select_frame): Likewise.
13690 (test_cli_up_down): Likewise.
13691 (test_mi_thread_select): Likewise.
13692 (test_mi_stack_select_frame): Likewise.
13693 (test_cli_in_mi_inferior): Likewise.
13694 (test_cli_in_mi_thread): Likewise.
13695 (test_cli_in_mi_frame): Likewise.
13696 (top level): Do not use with_test_prefix_procname.
13698 2016-11-09 Pedro Alves <palves@redhat.com>
13700 * gdb.base/commands.exp (gdbvar_simple_if_test)
13701 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
13702 (progvar_simple_if_test, progvar_simple_while_test)
13703 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
13704 (infrun_breakpoint_command_test, breakpoint_command_test)
13705 (user_defined_command_test, watchpoint_command_test)
13706 (test_command_prompt_position, deprecated_command_test)
13707 (bp_deleted_in_command, temporary_breakpoint_commands)
13708 (stray_arg0_test, source_file_with_indented_comment)
13709 (recursive_source_test, if_commands_test)
13710 (error_clears_commands_left, redefine_hook_test)
13711 (redefine_backtrace_test): Use proc_with_prefix.
13712 * lib/gdb.exp (proc_with_prefix): New proc.
13714 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
13716 * gdb.base/tui-layout.c: New file.
13717 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
13718 disassembly window contains very long lines.
13720 2016-11-08 Tom Tromey <tom@tromey.com>
13722 * gdb.python/py-value.exp (test_value_creation): Make "long" test
13723 depend on Python 2.
13725 2016-11-08 Tom Tromey <tom@tromey.com>
13727 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
13730 2016-10-29 Manish Goregaokar <manish@mozilla.com>
13732 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
13734 2016-10-27 Manish Goregaokar <manish@mozilla.com>
13736 * gdb.rust/simple.rs: Add test for univariant enums without
13737 discriminants and for encoded struct-like enums.
13739 2016-10-28 Pedro Alves <palves@redhat.com>
13741 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
13742 gdb_test_multiple, tighten regexps and match symtabs and line
13743 tables incrementally.
13745 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
13747 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
13750 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
13752 * gdb.base/exec-invalid-sysroot.exp: New file.
13754 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
13756 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
13758 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13760 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
13762 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
13764 * gdb.base/killed-outside.exp: Remove $options from a call to
13765 `prepare_for_testing'.
13767 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
13769 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
13770 Change test message.
13772 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
13774 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
13777 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
13779 * gdb.trace/mi-trace-save.exp: New file.
13781 2016-10-13 Yao Qi <yao.qi@linaro.org>
13783 * gdb.base/code_elim.exp (get_var_address): Remove.
13784 * gdb.base/relocate.exp: Likewise.
13785 * gdb.base/shreloc.exp: Likewise.
13786 * lib/gdb.exp (get_var_address): New.
13788 2016-10-13 Yao Qi <yao.qi@linaro.org>
13790 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
13791 floating point tests if $skip_float_test is false.
13793 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
13795 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
13796 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
13798 Add 1 to argc so we guarantee distinct initial/modified argc values.
13800 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13802 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
13804 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13806 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
13807 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
13808 * gdb.arch/vsx-regs.exp: Likewise.
13810 2016-10-07 Yao Qi <yao.qi@linaro.org>
13812 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
13814 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
13816 * gdb.python/python.exp: Test decode_line("*0").
13818 2016-10-06 Doug Evans <dje@google.com>
13820 * gdb.python/py-value.exp (test_value_creation): Add test for large
13821 unsigned 64-bit value.
13823 2016-10-06 Tom Tromey <tom@tromey.com>
13825 * gdb.compile/compile.exp: Change java tests to rust.
13826 * gdb.base/setshow.exp: Change java tests to rust.
13827 * gdb.base/default.exp: Remove java from language list.
13828 * README (Examples): Update language example.
13829 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
13831 * lib/gdb.exp (skip_java_tests): Remove.
13832 * lib/java.exp: Remove.
13833 * gdb.java: Remove.
13835 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
13837 * gdb.arch/mips-fcr.exp: New test.
13838 * gdb.arch/mips-fcr.c: Source for the new test.
13840 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
13842 * gdb.base/solib-disc.exp: Use `standard_output_file'
13845 2016-10-06 Pedro Alves <palves@redhat.com>
13847 * gdb.base/jit-simple-dl.c: New file.
13848 * gdb.base/jit-simple-jit.c: New file, factored out from ...
13849 * gdb.base/jit-simple.c: ... this.
13850 * gdb.base/jit-simple.exp (jit_run): Delete.
13851 (build_jit): New proc.
13852 (jit_test_reread): Recompile either the main program or the shared
13853 library, depending on what is being tested. Skip changing address
13854 if caller wants to. Compare before/after addresses. If testing
13855 standalone, explicitly load the binary. Test "maint info
13857 (top level): Add "standalone vs shared lib" and "change address"
13858 vs "same address" axes.
13860 2016-10-06 Pedro Alves <palves@redhat.com>
13862 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
13865 (jit_test_reread): Use with_test_prefix. Reload the main binary
13866 explicitly. Compare the before/after addresses of the JIT
13869 2016-08-15 Doug Evans <dje@google.com>
13871 * gdb.xml/extra-regs.xml: Update, end field now required, default type
13872 for single bitfields is bool.
13873 * gdb.xml/tdesc-regs.exp: Ditto.
13875 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
13877 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
13879 2016-10-05 Yao Qi <yao.qi@linaro.org>
13881 * lib/gdb.exp (support_complex_tests): Return zero if
13882 gdb_skip_float_test return true.
13884 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
13885 Simon Marchi <simon.marchi@ericsson.com>
13888 * gdb.mi/user-selected-context-sync.exp: New file.
13889 * gdb.mi/user-selected-context-sync.c: New file.
13891 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
13892 Simon Marchi <simon.marchi@ericsson.com>
13895 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
13896 =thread-select-event check.
13898 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
13900 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
13901 the compulsory L operand changes.
13902 * gdb.arch/powerpc-power.s: Likewise.
13904 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13906 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
13907 * gdb.base/jit-attach-pie.c: New file.
13908 * gdb.base/jit-attach-pie.exp: New file.
13910 2016-09-28 Pedro Alves <palves@redhat.com>
13912 * gdb.base/infcall-input.c: New file.
13913 * gdb.base/infcall-input.exp: New file.
13915 2016-09-22 Yao Qi <yao.qi@linaro.org>
13917 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
13918 (gdb_exit): Rename it to ...
13919 (gdbserver_gdb_exit): ... Close GDBserver.
13920 (gdb_exit): New proc, call gdbserver_gdb_exit.
13921 (mi_gdb_exit): Likewise.
13923 2016-09-22 Yao Qi <yao.qi@linaro.org>
13925 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
13927 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
13928 Remove duplication.
13930 2016-09-22 Yao Qi <yao.qi@linaro.org>
13932 * lib/gdbserver-support.exp: Check the existence of
13933 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
13935 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
13937 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
13939 2016-09-21 Tom Tromey <tom@tromey.com>
13942 * gdb.base/quit.exp: New file.
13944 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
13946 * .gitignore: New file.
13948 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
13950 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
13953 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13955 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
13957 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13959 * gdb.cp/casts.cc (decltype): Move it ...
13960 (main): ... with its call to ...
13961 * gdb.cp/casts03.cc: ... a new file.
13962 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
13964 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13966 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
13968 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
13970 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
13971 and sync up the test with tests in gas/testsuite/gas/ppc.
13972 * gdb.arch/powerpc-power.exp: Likewise.
13974 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13976 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
13978 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
13979 Jan Kratochvil <jan.kratochvil@redhat.com>
13981 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
13982 make m1's definition to be different from m2's. Use 'dummy' as an
13983 argument for probe 'two'.
13985 2016-09-10 Jon Beniston <jon@beniston.com>
13987 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
13990 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
13992 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
13993 variable declaration.
13994 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
13995 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
13996 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
13997 received HWCAP as its argument.
13999 2016-09-06 Pedro Alves <palves@redhat.com>
14001 * gdb.base/new-ui-pending-input.c: New file.
14002 * gdb.base/new-ui-pending-input.exp: New file.
14003 * gdb.exp (clear_gdb_spawn_id): New procedure.
14004 (with_spawn_id): Check whether gdb_spawn_id exists before
14005 referencing it. If gdb_spawn_id didn't exist on entry, clear it
14008 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
14010 * gdb.base/float128.c: New file.
14011 * gdb.base/float128.exp: Likewise.
14012 * gdb.base/floatn.c: Likewise.
14013 * gdb.base/floatn.exp: Likewise.
14015 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
14017 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
14019 2016-09-05 Pedro Alves <palves@redhat.com>
14022 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
14023 unwinders are immediately called as side effect of "source" or
14024 "disable unwinder" commands.
14025 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
14027 2016-09-02 Yao Qi <yao.qi@linaro.org>
14029 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
14030 is true and $type is "float" or "double".
14032 2016-09-02 Yao Qi <yao.qi@linaro.org>
14034 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
14036 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
14037 * gdb.base/call-rt-st.exp: Likewise.
14038 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
14039 return value instead of gdb,skip_float_test.
14040 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
14041 (do_function_calls): Use its return value instead of
14042 gdb,skip_float_test.
14043 * gdb.base/finish.exp: Likewise.
14044 * gdb.base/funcargs.exp: Likewise.
14045 * gdb.base/return.exp: Likewise.
14046 * gdb.base/return2.exp: Likewise.
14047 * gdb.base/varargs.exp: Likewise.
14048 * lib/gdb.exp (gdb_skip_float_test): Change it to
14049 gdb_caching_proc. Detect the broken ptrace on arm-linux.
14051 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
14053 * gdb.multi/tids.exp: Test "thread apply all".
14055 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14057 * gdb.base/default.exp (tty): Remove.
14059 2016-08-24 Kevin Buettner <kevinb@redhat.com>
14061 * gdb.python/py-recurse-unwind.c: New file.
14062 * gdb.python/py-recurse-unwind.py: New file.
14063 * gdb.python/py-recurse-unwind.exp: New file.
14065 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
14067 * gdb.base/set-inferior-tty.exp: New file.
14068 * gdb.base/set-inferior-tty.c: New file.
14070 2016-08-23 Pedro Alves <palves@redhat.com>
14073 * gdb.base/new-ui-echo.c: New file.
14074 * gdb.base/new-ui-echo.exp: New file.
14076 2016-08-23 Yao Qi <yao.qi@linaro.org>
14078 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
14080 * gdb.server/connect-without-multi-process.exp (do_test):
14083 2016-08-23 Yao Qi <yao.qi@linaro.org>
14085 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
14086 standalone_txt. Delete gdb_txt and standalone_txt on host
14087 and target. Spawn the binary on target. Copy files from
14090 2016-08-22 Pedro Alves <palves@redhat.com>
14093 * gdb.base/vdso-warning.exp: Test core dumps too. Use
14094 with_test_prefix. Factor out bits to ...
14095 (test_no_vdso): ... this new procedure.
14097 2016-08-19 Carl Love <cel@us.ibm.com>
14099 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
14100 maintaining separate logic for constructing the output path.
14101 * gdb.arch/powerpc-d128-regs.exp: Likewise.
14102 * gdb.arch/ppc-dfp.exp: Likewise.
14103 * gdb.arch/ppc-fp.exp: Likewise.
14104 * gdb.arch/vsx-regs.exp: Likewise.
14105 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
14106 binprefix for generating the additional binary files.
14108 2016-08-19 Pedro Alves <palves@redhat.com>
14110 * gdb.trace/mi-trace-frame-collected.exp
14111 (test_trace_frame_collected): On x32, expect two registers.
14113 2016-08-18 Carl Love <cel@us.ibm.com>
14115 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
14116 and sync up the test with tests in gas/testsuite/gas/ppc.
14117 * gdb.arch/powerpc-power.exp: Likewise.
14119 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
14121 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
14122 expected error message.
14124 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
14126 * gdb.multi/remove-inferiors.exp: New file.
14127 * gdb.multi/remove-inferiors.c: New file.
14129 2016-08-12 Yao Qi <yao.qi@linaro.org>
14131 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
14134 2016-08-10 Pedro Alves <palves@redhat.com>
14137 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
14140 2016-08-09 Pedro Alves <palves@redhat.com>
14141 Simon Marchi <simon.marchi@ericsson.com>
14144 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
14145 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
14147 2016-08-09 Pedro Alves <palves@redhat.com>
14150 * gdb.mi/mi-cmd-error.exp: New file.
14152 2016-08-09 Pedro Alves <palves@redhat.com>
14155 * gdb.base/signals-state-child.c: New file.
14156 * gdb.base/signals-state-child.exp: New file.
14157 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
14159 2016-08-09 Pedro Alves <palves@redhat.com>
14161 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
14163 2016-08-03 Tom Tromey <tom@tromey.com>
14166 * gdb.python/py-frame-inline.exp: Add Frame.function test.
14168 2016-08-01 Yao Qi <yao.qi@linaro.org>
14170 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
14171 variable mode to "multi-process" if $multi_process is 1, otherwise
14172 set it to "single-process".
14174 2016-08-01 Yao Qi <yao.qi@linaro.org>
14176 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
14177 * gdb.cp/cpexprs.exp: Likewise.
14178 * gdb.cp/m-static.exp: Likewise.
14180 2016-07-26 Tom Tromey <tom@tromey.com>
14183 * gdb.threads/tls.exp (check_thread_local): Add python symbol
14186 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
14188 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
14189 selecting assembly source files.
14190 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
14191 assembly source files.
14192 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
14193 assembly source files.
14194 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
14195 selecting assembly source files.
14197 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
14199 * gdb.base/new-ui.exp (do_test_invalid_args): New
14202 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
14204 * gdb.btrace/reconnect.c: New file.
14205 * gdb.btrace/reconnect.exp: New file.
14207 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
14209 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
14210 to test_catch_syscall_group.
14211 (test_catch_syscall_group): New.
14213 2016-07-21 Tom Tromey <tom@tromey.com>
14215 * gdb.rust/simple.rs (main): Use empty struct expression.
14216 * gdb.rust/simple.exp: Add tests for empty struct expression.
14218 2016-07-21 Yao Qi <yao.qi@linaro.org>
14220 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
14221 if gdb_skip_xml_test is true on some targets.
14223 2016-07-21 Yao Qi <yao.qi@linaro.org>
14225 * gdb.server/solib-list.exp: Unset last_loaded_file.
14227 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14229 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
14230 "step into captured_main (args)".
14232 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14234 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
14236 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14238 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
14240 2016-07-19 Pedro Alves <palves@redhat.com>
14242 * gdb.opt/inline-break.exp: Remove optimize=-O2.
14243 * gdb.opt/inline-bt.exp: Likewise.
14244 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
14245 additional_flags=-Winline.
14246 * gdb.opt/inline-locals.exp: Likewise.
14247 * gdb.opt/inline-markers.c (ATTR): Define.
14248 (inlined_fn): Use it.
14250 2016-07-19 Yao Qi <yao.qi@linaro.org>
14252 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
14253 (test_with_self): Remove some code. Remove argument executable.
14254 (top-level): Use do_self_tests.
14256 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
14257 Don Breazeal <donb@codesourcery.com>
14259 * gdb.base/maint.exp: Escape paths used in regular expressions.
14260 * gdb.stabs/weird.exp: Likewise.
14262 2016-07-13 Tom Tromey <tom@tromey.com>
14264 PR python/15620, PR python/18620:
14265 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
14266 (test_bkpt_events): New procs.
14268 2016-07-13 Tom Tromey <tom@tromey.com>
14271 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
14273 (test_watchpoints): Likewise.
14274 (test_bkpt_pending): New proc.
14276 2016-07-13 Tom Tromey <tom@tromey.com>
14279 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
14282 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14284 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
14285 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
14286 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
14288 (g): Rename g_end_lbl to g_label.
14289 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
14290 low_pc and high_pc.
14291 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
14293 2016-07-12 Tom Tromey <tom@tromey.com>
14296 * gdb.python/py-unwind-maint.exp: Update tests.
14298 2016-07-12 Yao Qi <yao.qi@linaro.org>
14300 * lib/selftest-support.exp (selftest_setup): Match the output
14301 when captured_main is inlined.
14303 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
14305 * gdb.fortran/derived-types.exp (result_line, result_line_2):
14307 (print this%a, print this%b, print this): New tests.
14308 * gdb.fortran/derived-types.f90 (this): New object and
14311 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
14313 * gdb.ada/arraydim.exp: Remove extra directory level in build
14316 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
14318 * lib/ada.exp: Remove extra directory level in build directory.
14319 * gdb.ada/cond_lang.exp: Likewise.
14320 * gdb.ada/exec_changed.exp: Likewise.
14321 * gdb.ada/lang_switch.exp: Likewise.
14323 2016-07-06 Manish Goregaokar <manish@mozilla.com>
14325 * simple.rs: Add test for raw pointer subscripting.
14326 * simple.exp: Add test expectations.
14328 2016-07-05 Yao Qi <yao.qi@linaro.org>
14330 * gdb.mi/mi-reverse.exp: Match =record-started output.
14332 2016-07-01 Pedro Alves <palves@redhat.com>
14334 * gdb.base/jit-reader.exp (info_registers_current_frame): New
14336 (jit_reader_test): Test the jit reader's unwinder.
14337 * gdb.base/jithost.c (jit_function_00_code): New global.
14338 (main): Use memcpy to fill in the mmapped code, instead of poking
14339 bytes manually here.
14340 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
14342 (read_debug_info): Save the function's range.
14343 (read_sp): New function.
14344 (unwind_frame): Use it. Also unwind RBP.
14345 (get_frame_id): Use read_sp.
14346 (gdb_init_reader): Use calloc instead of malloc.
14347 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
14348 parameter. Use gdb_test_multiple.
14350 2016-07-01 Pedro Alves <palves@redhat.com>
14351 Antoine Tremblay <antoine.tremblay@ericsson.com>
14353 * gdb.threads/process-dies-while-detaching.c: New file.
14354 * gdb.threads/process-dies-while-detaching.exp: New file.
14356 2016-07-01 Pedro Alves <palves@redhat.com>
14358 * gdb.multi/watchpoint-multi-exit.c: New file.
14359 * gdb.multi/watchpoint-multi-exit.exp: New file.
14361 2016-06-30 Pedro Alves <palves@redhat.com>
14363 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
14364 unset inferior_spawn_id.
14366 2016-06-30 Pedro Alves <palves@redhat.com>
14368 * lib/mi-support.exp (default_mi_gdb_start): Declare global
14369 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
14371 2016-06-29 Yao Qi <yao.qi@linaro.org>
14373 * gdb.base/return.c: Add copyright header.
14375 2016-06-29 Tom Tromey <tom@tromey.com>
14378 * gdb.python/py-framefilter.exp: Add tests for setting priority
14379 and disabling of non-existent frame filter.
14381 2016-06-29 Yao Qi <yao.qi@linaro.org>
14383 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
14386 2016-06-28 Yao Qi <yao.qi@linaro.org>
14388 * gdb.base/catch-syscall.exp: Remove check on isnative and target
14389 triplets. Start gdb, execute catch syscall, and continue. Check
14390 gdb's output to determine catch syscall is supported.
14392 2016-06-27 Manish Goregaokar <manish@mozilla.com>
14394 * gdb.rust/simple.rs: Add test for returning unit in a function.
14395 * gdb.rust/simple.exp: Add expectation for functions returning
14398 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
14400 * gdb.python/py-breakpoint-create-fail.c,
14401 gdb.python/py-breakpoint-create-fail.exp,
14402 gdb.python/py-breakpoint-create-fail.py: New testcase.
14404 2016-06-25 Manish Goregaokar <manish@mozilla.com>
14407 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
14408 * gdb.rust/simple.exp: Add test expectations for new NonZero
14411 2016-06-24 David Taylor <dtaylor@emc.com>
14413 * gdb.base/offsets.exp: New file.
14414 * gdb.base/offsets.c: New file.
14416 2016-06-23 Tom Tromey <tom@tromey.com>
14419 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
14420 before any filters are loaded.
14422 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
14424 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
14425 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
14427 * gdb.fortran/derived-type-function.exp: New file.
14428 * gdb.fortran/derived-type-function.f90: New file.
14431 2016-06-21 Pedro Alves <palves@redhat.com>
14433 * gdb.base/new-ui.exp: New file.
14434 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
14435 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
14436 (with_spawn_id): New procedure.
14438 2016-06-21 Pedro Alves <palves@redhat.com>
14440 * gdb.mi/mi-exec-run.exp: New file.
14442 2016-06-21 Pedro Alves <palves@redhat.com>
14444 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
14445 breakpoint command's output on the main UI.
14446 (test_break): New procedure, factored out from calls in the top
14448 (top level): Use foreach_with_prefix to test MI as main UI and as
14451 2016-06-21 Pedro Alves <palves@redhat.com>
14453 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
14454 (test_awatch_creation_and_listing)
14455 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
14456 Remove 'type' parameter.
14457 (test_watchpoint_all): New parameter mi_mode. Remove
14459 (top level): Use foreach_with_prefix, and add main/separate UI MI
14462 2016-06-21 Pedro Alves <palves@redhat.com>
14464 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
14465 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
14466 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
14467 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
14468 (gdb_main_spawn_id, mi_spawn_id): Declare and
14470 (mi_create_inferior_pty): New procedure,
14471 factored out from default_mi_gdb_start.
14472 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
14474 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
14475 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
14476 Use mi_create_inferior_pty.
14477 (mi_gdb_start): Use eval to pass down args list.
14479 2016-06-21 Pedro Alves <palves@redhat.com>
14481 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
14482 * gdb.opt/inline-cmds.exp: Add MI tests.
14484 2016-06-21 Pedro Alves <palves@redhat.com>
14486 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
14488 2016-06-21 Pedro Alves <palves@redhat.com>
14490 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
14491 (top level): Use it instead of mi_execute_to.
14493 2016-06-21 Pedro Alves <palves@redhat.com>
14495 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
14496 (cont_handler_str): New.
14497 (signal_stop_handler): Set stop_handler_str instead of printing to
14499 (continue_handler): Set cont_handler_str instead of printing to
14501 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
14502 mi_send_resuming_command. Print stop_handler_str and
14503 cont_handler_str instead of expecting the python events print
14506 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
14508 * gdb.base/jit-reader.exp: New file.
14509 * gdb.base/jithost.c: New file.
14510 * gdb.base/jithost.h: New file.
14511 * gdb.base/jitreader.c : New file.
14512 * gdb.base/jit-protocol.h: New file.
14514 2016-06-17 Yao Qi <yao.qi@linaro.org>
14516 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
14517 parameters follow_fork and detach_on_fork. Set follow-fork-mode
14518 and detach-on-fork. Adjust tests.
14519 (top level): Invoke break_cond_on_syscall with combinations of
14520 syscall, follow-fork-mode and detach-on-fork.
14522 2016-06-17 Yao Qi <yao.qi@linaro.org>
14524 * gdb.base/step-over-exit.c: New.
14525 * gdb.base/step-over-exit.exp: New.
14527 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
14529 * gdb.base/float.exp: Add target check for nds32*-*-*.
14530 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
14532 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
14534 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
14535 for unsupported target features.
14536 * gdb.base/call-rt-st.exp: Likewise.
14537 * gdb.base/call-sc.exp: Likewise.
14538 * gdb.base/call-signal-resume.exp: Likewise.
14539 * gdb.base/call-strs.exp: Likewise.
14540 * gdb.base/callexit.exp: Likewise.
14541 * gdb.base/callfuncs.exp: Likewise.
14542 * gdb.base/nodebug.exp: Likewise.
14543 * gdb.base/printcmds.exp: Likewise.
14544 * gdb.base/ptype.exp: Likewise.
14545 * gdb.base/structs.exp: Likewise.
14546 * gdb.base/unwindonsignal.exp: Likewise.
14547 * gdb.cp/gdb2495.exp: Likewise.
14548 * gdb.cp/templates.exp: Likewise.
14549 * gdb.cp/virtfunc.exp: Likewise.
14550 * gdb.threads/hand-call-in-threads.exp: Likewise.
14551 * gdb.threads/interrupted-hand-call.exp: Likewise.
14552 * gdb.threads/thread-unwindonsignal.exp: Likewise.
14554 2016-06-10 Tom Tromey <tom@tromey.com>
14557 * gdb.rust/expr.exp: Add test for integer constant larger than
14560 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
14562 * gdb.fortran/nested-funcs.exp: New.
14563 * gdb.fortran/nested-funcs.f90: New.
14565 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
14567 * gdb.base/examine-backward.c: New file.
14568 * gdb.base/examine-backward.exp: New file.
14570 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
14572 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
14575 2016-06-02 Tom Tromey <tom@tromey.com>
14578 * gdb.python/py-shared.exp: Add solib_name test.
14580 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
14582 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
14584 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
14587 * gdb.dwarf2/implref.exp: Rename to...
14588 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
14589 * gdb.dwarf2/implref-array.c: New file.
14590 * gdb.dwarf2/implref-array.exp: Likewise.
14591 * gdb.dwarf2/implref-global.c: Likewise.
14592 * gdb.dwarf2/implref-global.exp: Likewise.
14593 * gdb.dwarf2/implref-struct.c: Likewise.
14594 * gdb.dwarf2/implref-struct.exp: Likewise.
14596 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14598 * gdb.trace/trace-condition.exp: Add 64bit tests.
14600 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14602 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
14604 (main): Adapt to 8 to 64 bits types.
14605 * gdb.trace/trace-condition.exp: Add new tests.
14607 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14609 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
14611 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14613 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
14614 Move condition tests...
14615 * gdb.trace/trace-condition.exp: Here.
14617 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
14619 * gdb.trace/trace-condition.exp: Add counter-case tests.
14621 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
14624 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
14625 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
14627 2016-05-27 Pedro Alves <palves@redhat.com>
14629 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
14631 (top level): Call it, and bail out of DejaGnu is known to be bad.
14633 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
14635 * gdb.base/whatis.c: Extend the test case.
14636 * gdb.base/whatis.exp: Add additional tests.
14638 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14640 * gdb.fortran/type.f90: Add pointer variable.
14641 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
14643 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14645 * gdb.fortran/vla-type.exp: Fix testcase name.
14647 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14649 * gdb.fortran/vla-type.exp: Access elements in nested structs.
14651 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14653 * gdb.fortran/type.f90: Add nested structures.
14654 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
14655 * gdb.fortran/derived-type.exp: Adapt expected output.
14656 * gdb.fortran/vla-type.exp: Adapt expected output.
14658 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14660 * gdb.fortran/whatis_type.exp: Adapt expected output.
14662 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14664 * gdb.fortran/print_type.exp: Fix expected output.
14665 * gdb.fortran/whatis_type.exp: Fix expected output.
14667 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
14669 * gdb.fortran/whatis_type.exp: Use multi_line.
14671 2016-05-24 Tom Tromey <tom@tromey.com>
14674 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
14675 use value as an index.
14677 2016-05-23 Tom Tromey <tom@tromey.com>
14680 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
14681 no-breakpoint case.
14683 2016-05-24 Pedro Alves <palves@redhat.com>
14686 * gdb.threads/clone-attach-detach.c: New file.
14687 * gdb.threads/clone-attach-detach.exp: New file.
14689 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
14691 * gdb.base/annota-input-while-running.exp: Fix syntax error.
14693 2016-05-23 Tom Tromey <tom@tromey.com>
14695 PR python/19438, PR python/18393:
14696 * gdb.python/py-progspace.exp: Add "dir" test.
14697 * gdb.python/py-objfile.exp: Add "dir" test.
14699 2016-05-23 Yao Qi <yao.qi@linaro.org>
14701 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
14702 * gdb.arch/thumb2-it.exp: Likewise.
14704 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
14706 * gdb.mi/mi-threads-interrupt.c: New file.
14707 * gdb.mi/mi-threads-interrupt.exp: New file.
14709 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
14712 * gdb.mi/mi-async-run.exp: New file.
14713 * gdb.mi/mi-async-run.c: New file.
14715 2016-05-17 Tom Tromey <tom@tromey.com>
14716 Manish Goregaokar <manishsmail@gmail.com>
14718 * lib/rust-support.exp: New file.
14719 * lib/gdb.exp (skip_rust_tests): New proc.
14720 (build_executable_from_specs): Handle rust.
14721 * lib/future.exp (gdb_find_rustc): New proc.
14722 (gdb_default_target_compile): Handle rust.
14723 * gdb.rust/expr.exp: New file.
14724 * gdb.rust/generics.exp: New file.
14725 * gdb.rust/generics.rs: New file.
14726 * gdb.rust/methods.exp: New file.
14727 * gdb.rust/methods.rs: New file.
14728 * gdb.rust/modules.exp: New file.
14729 * gdb.rust/modules.rs: New file.
14730 * gdb.rust/simple.exp: New file.
14731 * gdb.rust/simple.rs: New file.
14733 2016-05-17 Tom Tromey <tom@tromey.com>
14735 * gdb.base/default.exp (set language): Add rust.
14737 2016-05-17 Tom Tromey <tom@tromey.com>
14739 * gdb.gdb/unittest.exp: New file.
14741 2016-05-16 Yao Qi <yao.qi@linaro.org>
14743 * gdb.base/batch-preserve-term-settings.exp: Remove variable
14744 shell_prompt. Update shell_prompt_re.
14746 2016-05-12 Doug Evans <dje@google.com>
14749 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
14750 $options when building executable.
14751 * gdb.dwarf2/fission-loclists-pie.S: New file.
14752 * gdb.dwarf2/fission-loclists-pie.exp: New file.
14754 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
14756 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
14757 of [is_remote target],
14759 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
14761 * lib/gdb.exp (use_gdb_stub): New procedure.
14763 2016-05-03 Yunlian Jiang <yunlian@google.com>
14764 Doug Evans <dje@google.com>
14767 * gdb.dwarf2/dwp-sepdebug.c: New file.
14768 * gdb.dwarf2/dwp-sepdebug.exp: New file.
14770 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
14772 * gdb.base/detach.exp: Remove is_remote check.
14774 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
14776 * gdb.base/annota-input-while-running.exp: Don't check for
14777 [is_remote target]. Enable annotations after running to main.
14778 Remove unused "set test..." line.
14780 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
14782 * gdb.trace/trace-enable-disable.exp: New file.
14783 * gdb.trace/trace-enable-disable.c: New file.
14785 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
14787 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
14788 use it in info sharedlibrary test.
14789 * gdb.trace/ftrace-lock.exp: Likewise.
14790 * gdb.trace/ftrace.exp: Likewise.
14791 * gdb.trace/range-stepping.exp: Likewise.
14792 * gdb.trace/trace-break.exp: Likewise.
14793 * gdb.trace/trace-condition.exp: Likewise.
14794 * gdb.trace/trace-mt.exp: Likewise.
14796 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
14798 * lib/gdb.exp (gdb_load_shlibs): Rename to...
14799 (gdb_load_shlib): ... this.
14800 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
14802 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
14803 * gdb.base/ctxobj.exp: Likewise.
14804 * gdb.base/dprintf-pending.exp: Likewise.
14805 * gdb.base/dso2dso.exp: Likewise.
14806 * gdb.base/fixsection.exp: Likewise.
14807 * gdb.base/gcore-relro.exp: Likewise.
14808 * gdb.base/gdb1555.exp: Likewise.
14809 * gdb.base/global-var-nested-by-dso.exp: Likewise.
14810 * gdb.base/gnu-ifunc.exp: Likewise.
14811 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
14812 * gdb.base/jit-so.exp (one_jit_test): Likewise.
14813 * gdb.base/pending.exp: Likewise.
14814 * gdb.base/print-file-var.exp: Likewise.
14815 * gdb.base/print-symbol-loading.exp: Likewise.
14816 * gdb.base/shlib-call.exp: Likewise.
14817 * gdb.base/shreloc.exp: Likewise.
14818 * gdb.base/so-impl-ld.exp: Likewise.
14819 * gdb.base/solib-disc.exp: Likewise.
14820 * gdb.base/solib-nodir.exp: Likewise.
14821 * gdb.base/solib-overlap.exp: Likewise.
14822 * gdb.base/solib-symbol.exp: Likewise.
14823 * gdb.base/solib-weak.exp (do_test): Likewise.
14824 * gdb.base/sym-file.exp: Likewise.
14825 * gdb.base/symtab-search-order.exp: Likewise.
14826 * gdb.base/type-opaque.exp: Likewise.
14827 * gdb.base/unload.exp: Likewise.
14828 * gdb.base/watchpoint-solib.exp: Likewise.
14829 * gdb.compile/compile.exp: Likewise.
14830 * gdb.cp/gdb2384.exp: Likewise.
14831 * gdb.cp/infcall-dlopen.exp: Likewise.
14832 * gdb.cp/re-set-overloaded.exp: Likewise.
14833 * gdb.fortran/library-module.exp: Likewise.
14834 * gdb.opt/solib-intra-step.exp: Likewise.
14835 * gdb.python/py-finish-breakpoint.exp: Likewise.
14836 * gdb.python/py-shared.exp: Likewise.
14837 * gdb.reverse/solib-precsave.exp: Likewise.
14838 * gdb.reverse/solib-reverse.exp: Likewise.
14839 * gdb.server/solib-list.exp: Likewise.
14840 * gdb.threads/dlopen-libpthread.exp: Likewise.
14841 * gdb.threads/tls-shared.exp: Likewise.
14842 * gdb.threads/tls-so_extern.exp: Likewise.
14843 * gdb.trace/change-loc.exp: Likewise.
14844 * gdb.trace/ftrace-lock.exp: Likewise.
14845 * gdb.trace/ftrace.exp: Likewise.
14846 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
14847 * gdb.trace/pending.exp: Likewise.
14848 * gdb.trace/range-stepping.exp: Likewise.
14849 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
14850 (strace_info_marker): Likewise.
14851 (strace_probe_marker): Likewise.
14852 (strace_trace_on_same_addr): Likewise.
14853 (strace_trace_on_diff_addr): Likewise.
14854 * gdb.trace/trace-break.exp: Likewise.
14855 * gdb.trace/trace-condition.exp: Likewise.
14856 * gdb.trace/trace-mt.exp: Likewise.
14858 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
14860 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
14861 result of gdb_remote_download.
14862 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
14863 * gdb.base/dso2dso.exp: Likewise.
14864 * gdb.base/global-var-nested-by-dso.exp: Likewise.
14865 * gdb.base/print-file-var.exp: Likewise.
14866 * gdb.base/shlib-call.exp: Likewise.
14867 * gdb.base/shreloc.exp: Likewise.
14868 * gdb.base/solib-overlap.exp: Likewise.
14869 * gdb.base/solib-weak.exp (do_test): Likewise.
14870 * gdb.base/unload.exp: Likewise.
14872 2016-04-27 Yao Qi <yao.qi@linaro.org>
14874 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
14877 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
14879 * vla-type.exp: Print structure from toplevel.
14881 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
14883 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
14885 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
14888 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
14890 * gdb.fortran/vla-type.f90: New file.
14891 * gdb.fortran/vla-type.exp: New file.
14893 2016-04-25 Yao Qi <yao.qi@linaro.org>
14895 * gdb.base/branch-to-self.c: New file.
14896 * gdb.base/branch-to-self.exp: New file.
14898 2016-04-22 Yao Qi <yao.qi@linaro.org>
14900 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
14903 2016-04-22 Yao Qi <yao.qi@linaro.org>
14905 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
14906 * gdb.base/annota3.exp: Likewise.
14908 2016-04-22 Yao Qi <yao.qi@linaro.org>
14910 * gdb.reverse/step-precsave.exp: Do one step and test program
14911 stops in "callee" and do multiple steps until program goes out
14913 * gdb.reverse/step-reverse.exp: Likewise.
14915 2016-04-22 Yao Qi <yao.qi@linaro.org>
14917 * gdb.trace/signal.exp: Also pass if
14918 $tracepoint_hits($i) > $iterations.
14920 2016-04-22 Yao Qi <yao.qi@linaro.org>
14922 * gdb.trace/signal.c: New file.
14923 * gdb.trace/signal.exp: New file.
14925 2016-04-19 Doug Evans <xdje42@gmail.com>
14927 * gdb.base/bad-file.exp: New file.
14929 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
14931 * gdb.dwarf2/implref.exp: New file.
14933 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
14935 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
14936 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
14937 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
14938 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
14939 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
14940 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
14941 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
14942 * lib/fortran.exp (fortran_int4): New procedure.
14943 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
14944 (fortran_logical4): Likewise.
14946 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
14948 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
14950 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
14952 * lib/compiler.c: Add Intel specific preprocessor macros.
14953 * lib/compiler.cc: Likewise.
14955 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
14957 * gdb.server/connect-with-no-symbol-file.c: New file.
14958 * gdb.server/connect-with-no-symbol-file.exp: New file.
14960 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
14962 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
14964 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
14966 * boards/gdbserver-base.exp (${board}_download): Copy source file to
14967 standard output directory.
14969 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
14971 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
14973 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
14975 * gdb.btrace/instruction_history.c (loop): Add declaration.
14977 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
14979 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
14981 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
14983 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
14984 parentheses to print.
14985 (continue_handler): Likewise.
14987 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
14989 * gdb.server/solib-list.exp: Remove is_remote check.
14990 Pass shlib= to gdb_compile. Don't link shared library with
14991 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
14992 Run binary filename through "readlink -f" on the target.
14994 2016-04-08 Pedro Alves <palves@redhat.com>
14996 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
14997 interpreter filename as argument to gdbserver_spawn.
14998 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
14999 Return empty if $last_loaded_file does not exist.
15001 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15003 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
15004 * gdb.base/jit-main.c: Use exit after usage.
15006 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15008 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
15009 GDBHISTSIZE prior to the tests.
15010 * gdb.base/gdbinit-history.exp: Likewise.
15012 2016-04-07 Pedro Alves <palves@redhat.com>
15014 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
15015 instead of build_executable. Use gdb_load_shlibs.
15017 2016-04-07 Yao Qi <yao.qi@linaro.org>
15019 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
15020 Execute "si" command.
15022 2016-04-07 Yao Qi <yao.qi@linaro.org>
15024 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
15025 number instead of the comments on some line.
15027 2016-04-06 Don Breazeal <donb@codesourcery.com>
15029 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
15030 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
15032 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
15034 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
15035 standard_output_file. Remove unused binfile variable.
15037 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
15039 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
15040 * gdb.python/py-mi-objfile.exp: Match "list main" output
15043 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
15045 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
15048 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
15050 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
15052 * gdb.trace/ftrace.exp: Likewise.
15053 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
15055 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
15056 (gdb_load_shlibs): Copy libraries to test directory when testing
15057 natively. Only set solib-search-path if testing remotely.
15058 * lib/mi-support.exp (mi_load_shlibs): Likewise.
15060 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
15062 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
15063 gdb_download. Use it even if the target is not remote.
15064 * gdb.base/jit.exp (compile_jit_test): Likewise.
15065 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
15066 output directory if the destination board is local, otherwise use
15067 the standard remote_download from DejaGnu.
15068 (gdb_download): Remove.
15069 (gdb_load_shlibs): Use gdb_remote_download instead of
15071 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
15072 Use gdb_remote_download instead of gdb_download. Use it even if
15073 the target is not remote.
15074 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
15075 instead of gdb_download.
15077 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
15079 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
15080 (test_insert_delete_modify): Call mi_load_shlibs before trying to
15083 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
15086 * gdb.base/printcmds.exp: Add artificial arrays tests.
15088 2016-03-31 Pedro Alves <palves@redhat.com>
15091 * gdb.base/jit-main.c: Include unistd.h.
15092 (ATTACH): Define to 0 if not already defined.
15093 (wait_for_gdb, mypid): New globals.
15094 (WAIT_FOR_GDB): New macro.
15095 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
15096 some breakpoint locations.
15097 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
15099 (one_jit_test): Add REATTACH parameter, and handle it. Use
15100 continue_to_test_location.
15101 (top level): Test attach, and adjusts calls to one_jit_test.
15103 2016-03-31 Pedro Alves <palves@redhat.com>
15106 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
15107 BINSUFFIX parameter, and handle it.
15108 (top level): Adjust calls compile_jit_test.
15110 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
15113 * gdb.python/py-mi-events-gdb.py: New file.
15114 * gdb.python/py-mi-events.c: New file.
15115 * gdb.python/py-mi-events.exp: New file.
15117 2016-03-30 Yao Qi <yao.qi@linaro.org>
15119 * gdb.reverse/until-precsave.exp: Match function name only.
15120 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
15121 Move malloc to a condition block.
15122 * gdb.reverse/until-reverse.exp: Match function name only.
15124 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
15126 * gdb.trace/ftrace.exp: Set arg0exp for s390.
15127 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
15128 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
15129 variable for GPR 0 instead of assuming it is register 0.
15130 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
15131 * lib/trace-support.exp: Add s390 registers.
15133 2016-03-29 Yao Qi <yao.qi@linaro.org>
15135 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
15137 2016-03-24 Yao Qi <yao.qi@linaro.org>
15139 * gdb.reverse/break-reverse.exp: Add quotation mark in the
15142 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15144 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
15145 maintaining separate logic for constructing the output path.
15147 2016-03-16 Don Breazeal <donb@codesourcery.com>
15149 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
15150 Retry fork and waitpid on interrupted system call errors.
15151 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
15152 Use with_timeout_factor to increase timeout by factor of 10.
15154 2016-03-15 Don Breazeal <donb@codesourcery.com>
15156 * gdb.cp/scope-err.cc: New test program.
15157 * gdb.cp/scope-err.exp: New test script.
15158 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
15159 lines and "set breakpoint here" comment.
15160 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
15161 Fixed some whitespace and format issues.
15162 * gdb.mi/mi-linespec-err-cp.cc: New test program.
15163 * gdb.mi/mi-linespec-err-cp.exp: New test script.
15165 2016-03-15 Doug Evans <dje@google.com>
15167 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
15168 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
15169 All callers updated. Add tests for enums, mixed flags register.
15171 2016-03-15 Doug Evans <dje@google.com>
15173 * gdb.base/skip.c (main): Call test_skip_file_and_function.
15174 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
15176 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
15178 * gdb.base/default.exp: Add $_as_string to the list of expected
15179 convenience functions.
15181 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
15183 * gdb.base/maint.exp: New tests for 'maint info line-table'.
15185 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
15187 * gdb.python/py-as-string.exp: New file.
15188 * gdb.python/py-as-string.c: New file.
15190 2016-03-09 Pedro Alves <palves@redhat.com>
15192 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
15193 signal" -> "Thread NN received signal" output change.
15194 * gdb.threads/ia64-sigill.exp: Likewise.
15195 * gdb.threads/linux-dp.exp: Likewise.
15196 * gdb.threads/manythreads.exp: Likewise.
15197 * gdb.threads/pending-step.exp: Likewise.
15198 * gdb.threads/print-threads.exp: Likewise.
15199 * gdb.threads/sigstep-threads.exp: Likewise.
15200 * gdb.threads/staticthreads.exp: Likewise.
15201 * gdb.threads/tls.exp: Likewise.
15203 2016-03-09 Pedro Alves <palves@redhat.com>
15205 * gdb.base/command-line-input.exp: New file.
15207 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15209 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
15210 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
15211 * gdb.trace/pending.exp: Accept leading dot before function name.
15212 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
15213 * lib/trace-support.exp: Set registers for ppc.
15215 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15217 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
15218 use it for disassembly; accept .main in addition to main in backtrace.
15220 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
15221 Marcin Kościelnicki <koriakin@0x04.net>
15223 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
15224 (gdb_recursion_test_ptr): New global variable.
15225 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
15226 gdb_recursion_test.
15227 (gdb_c_test): Ditto.
15229 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15231 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
15234 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
15236 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
15237 (bar): Add bar_start_lbl label.
15238 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
15239 of foo/bar for emitting DWARF and tracing.
15241 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
15243 * analyze-racy-logs.py: Set executable bit.
15245 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
15247 * Makefile.in (DEFAULT_RACY_ITER): New variable.
15248 (CHECK_TARGET_TMP): Likewise.
15249 (check-single-racy): New rule.
15250 (check-parallel-racy): Likewise.
15251 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
15252 (do-check-parallel-racy): New rule.
15253 (check-racy/%.exp): Likewise.
15254 * README (Racy testcases): New section.
15255 * analyze-racy-logs.py: New file.
15257 2016-03-03 Doug Evans <dje@google.com>
15259 * gdb.base/skip.exp: Use with_test_prefix.
15261 2016-03-03 Yao Qi <yao.qi@linaro.org>
15263 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
15264 Invoke step_over_syscall "clone" and break_cond_on_syscall
15266 * gdb.base/step-over-clone.c: New file.
15268 2016-03-03 Yao Qi <yao.qi@linaro.org>
15270 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
15273 2016-03-03 Yao Qi <yao.qi@linaro.org>
15275 * gdb.base/disp-step-fork.c: Rename to ...
15276 * gdb.base/step-over-fork.c: ... it. New file.
15277 * gdb.base/disp-step-vfork.c: Rename to ...
15278 * gdb.base/step-over-vfork.c: ... it. New file.
15279 * gdb.base/disp-step-syscall.exp: Rename to ...
15280 * gdb.base/step-over-syscall.exp: ... it. New file.
15281 (disp_step_cross_syscall): Rename to ...
15282 (step_over_syscall): ... it.
15284 2016-03-03 Yao Qi <yao.qi@linaro.org>
15286 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
15287 If target supports condition evaluation on target, invoke
15288 break_cond_on_syscall for fork and vfork.
15290 2016-03-03 Yao Qi <yao.qi@linaro.org>
15292 * gdb.base/disp-step-syscall.exp: Don't invoke
15293 support_displaced_stepping.
15294 (disp_step_cross_syscall): Test with displaced stepping off and
15297 2016-03-03 Yao Qi <yao.qi@linaro.org>
15299 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
15302 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
15305 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15307 * gdb.fortran/vla-history.exp: Remove breakpoint.
15309 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15311 * gdb.fortran/vla-history.exp: Lookup array elements and printing
15314 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15316 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
15319 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
15321 * gdb.mi/vla.f90: Nullify pointer after declaration.
15323 2016-03-01 Pedro Alves <palves@redhat.com>
15325 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
15327 2016-03-01 Pedro Alves <palves@redhat.com>
15329 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
15330 before anything else.
15331 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
15333 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
15334 before anything else.
15335 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
15337 2016-03-01 Pedro Alves <palves@redhat.com>
15339 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
15341 2016-03-01 Yao Qi <yao.qi@linaro.org>
15343 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
15344 prepare_for_testing.
15346 2016-03-01 Yao Qi <yao.qi@linaro.org>
15348 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
15350 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
15352 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
15353 manually constructing the output path.
15355 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
15357 * gdb.arch/s390-stackless.S: New.
15358 * gdb.arch/s390-stackless.exp: New.
15360 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
15362 * gdb.dlang/circular.c: New file.
15363 * gdb.dlang/circular.exp: New file.
15365 2016-02-26 Yao Qi <yao.qi@linaro.org>
15367 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
15368 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
15369 (testcases): Update.
15371 2016-02-26 Yao Qi <yao.qi@linaro.org>
15373 * gdb.reverse/aarch64.c: Rename to ...
15374 * gdb.reverse/insn-reverse.c: ... it.
15375 * gdb.reverse/aarch64.exp: Rename to ...
15376 * gdb.reverse/insn-reverse.exp: ... it.
15378 2016-02-26 Yao Qi <yao.qi@linaro.org>
15380 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
15381 (testcase_ftype): New.
15382 (testcases): New array.
15383 (n_testcases): New.
15384 (main): Call each element in testcases.
15385 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
15386 (read_testcase): New.
15387 Do the tests in a loop.
15389 2016-02-25 Yao Qi <yao.qi@linaro.org>
15391 * gdb.base/branches.c: Remove.
15393 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
15396 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
15398 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
15400 * gdb.trace/ftrace.exp: Remove unnecessary target check.
15402 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
15404 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
15405 change x86_64 call_insn to 'callq'.
15407 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
15409 * gdb.trace/tfile-avx.c: Move to...
15410 * gdb.trace/tracefile-pseudo-reg.c: Here.
15411 * gdb.trace/tfile-avx.exp: Move to...
15412 * gdb.trace/tracefile-pseudo-reg.exp: Here.
15414 2016-02-24 Gary Benson <gbenson@redhat.com>
15416 * gdb.base/attach-pie-noexec.exp: Do not expect an error
15419 2016-02-23 Doug Evans <dje@google.com>
15421 * gdb.base/skip.c (test_skip): New function.
15422 (end_test_skip_file_and_function): New function.
15423 (test_skip_file_and_function): New function.
15424 * gdb.base/skip1.c (test_skip): New function.
15425 (skip1_test_skip_file_and_function): New function.
15426 * gdb.base/skip.exp: Add tests for new skip options.
15427 * gdb.base/skip-solib.exp: Update expected output.
15428 * gdb.perf/skip-command.cc: New file.
15429 * gdb.perf/skip-command.exp: New file.
15430 * gdb.perf/skip-command.py: New file.
15432 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
15434 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
15435 info registers pattern.
15437 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
15439 * lib/future.exp: Add D support.
15440 (gdb_find_gdc): New proc.
15441 (gdb_default_target_compile): Add D support.
15443 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
15445 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
15447 (trace_speed_test): Determine the iteration count for a time
15448 between 15..30 seconds.
15450 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
15452 * gdb.arch/i386-mpx-sigsegv.c: New file.
15453 * gdb.arch/i386-mpx-sigsegv.exp: New file.
15454 * gdb.arch/i386-mpx-simple_segv.c: New file.
15455 * gdb.arch/i386-mpx-simple_segv.exp: New file.
15457 2016-02-18 Yao Qi <yao.qi@linaro.org>
15459 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
15460 Don't call setup_kfail.
15462 2016-02-18 Yao Qi <yao.qi@linaro.org>
15464 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
15465 Set "set breakpoint condition-evaluation" per $cond_bp_target.
15467 2016-02-16 Doug Evans <dje@google.com>
15469 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
15470 * gdb.base/skip1.c: Ditto.
15471 * gdb.base/skip.exp: Whitespace cleanup.
15473 2016-02-16 Don Breazeal <donb@codesourcery.com>
15476 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
15477 Remove kfail for PR remote/19496.
15479 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
15481 * lib/gdb.exp (standard_temp_file): Return a path specific to
15482 the runtest invocation.
15484 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
15486 * gdb.trace/save-trace.exp: Change relative path to be in the
15487 standard output directory.
15489 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15491 * gdb.arch/i386-prologue.c: Add missing prototypes.
15493 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15495 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
15496 * gdb.arch/i386-prologue.exp: Likewise.
15497 * gdb.arch/i386-size.exp: Likewise.
15499 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
15501 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
15502 define object file path.
15503 * gdb.btrace/gcore.exp: Use standard_output_file to define core
15505 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
15506 standard_output_file to define binfile.
15508 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
15510 Fix compatibility with recent gfortran-5.3.1.
15511 * gdb.fortran/vla-history.exp (print vla1 allocated)
15512 (print vla2 allocated, print $2, print $3): Remove
15513 (print $4): Rename to ...
15514 (print $2): ... here.
15515 (print $9): Rename to ...
15516 (print $5): ... here.
15517 (print $10): Rename to ...
15518 (print $6): ... here.
15519 * gdb.fortran/vla.f90: Add pvla initialization.
15521 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
15523 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
15525 * gdb.fortran/vla-value-sub.exp: Likewise.
15527 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
15529 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
15531 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
15533 * i386-biarch-core.exp: Define corefile using
15534 standard_output_file.
15536 2016-02-12 Yao Qi <yao.qi@linaro.org>
15538 * gdb.arch/arm-single-step-kernel-helper.c: New.
15539 * gdb.arch/arm-single-step-kernel-helper.exp: New.
15541 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
15543 * gdb.btrace/tailcall-only.exp: New.
15544 * gdb.btrace/tailcall-only.c: New.
15545 * gdb.btrace/x86_64-tailcall-only.S: New.
15546 * gdb.btrace/i686-tailcall-only.S: New.
15548 2016-02-11 Pedro Alves <palves@redhat.com>
15550 * README (Parallel testing): Add missing double quotes.
15552 2016-02-11 Pedro Alves <palves@redhat.com>
15554 * README (Parallel testing): New section.
15555 (GDB_PARALLEL): Rewrite.
15556 (FORCE_PARALLEL): Document.
15558 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
15560 * gdb.trace/tfile-avx.c: New test.
15561 * gdb.trace/tfile-avx.exp: New test.
15563 2016-02-09 Keith Seitz <keiths@redhat.com>
15565 PR breakpoints/19546
15566 * gdb.base/infcall-exec.c: New file.
15567 * gdb.base/infcall-exec2.c: New file.
15568 * gdb.base/infcall-exec.exp: New file.
15570 2016-02-09 Keith Seitz <keiths@redhat.com>
15572 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
15573 (toplevel): Call test_bkpt_address.
15575 2016-02-09 Keith Seitz <keiths@redhat.com>
15578 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
15579 (toplevel): Call test_bkpt_address.
15581 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
15583 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
15585 * configure: Regenerate.
15587 2016-02-09 Pedro Alves <palves@redhat.com>
15589 PR breakpoints/19548
15590 * gdb.base/execl-update-breakpoints.c (some_function): New
15593 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
15594 Tighten expected GDB output.
15596 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
15598 * Makefile.in (ALL_SUBDIRS): Remove.
15599 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
15600 (distclean maintainer-clean realclean): Likewise.
15601 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
15602 * configure: Regenerate.
15603 * gdb.ada/Makefile.in: Delete.
15604 * gdb.arch/Makefile.in: Likewise.
15605 * gdb.asm/Makefile.in: Likewise.
15606 * gdb.base/Makefile.in: Likewise.
15607 * gdb.btrace/Makefile.in: Likewise.
15608 * gdb.cell/Makefile.in: Likewise.
15609 * gdb.compile/Makefile.in: Likewise.
15610 * gdb.cp/Makefile.in: Likewise.
15611 * gdb.disasm/Makefile.in: Likewise.
15612 * gdb.dlang/Makefile.in: Likewise.
15613 * gdb.dwarf2/Makefile.in: Likewise.
15614 * gdb.fortran/Makefile.in: Likewise.
15615 * gdb.gdb/Makefile.in: Likewise.
15616 * gdb.go/Makefile.in: Likewise.
15617 * gdb.guile/Makefile.in: Likewise.
15618 * gdb.java/Makefile.in: Likewise.
15619 * gdb.linespec/Makefile.in: Likewise.
15620 * gdb.mi/Makefile.in: Likewise.
15621 * gdb.modula2/Makefile.in: Likewise.
15622 * gdb.multi/Makefile.in: Likewise.
15623 * gdb.objc/Makefile.in: Likewise.
15624 * gdb.opencl/Makefile.in: Likewise.
15625 * gdb.opt/Makefile.in: Likewise.
15626 * gdb.pascal/Makefile.in: Likewise.
15627 * gdb.perf/Makefile.in: Likewise.
15628 * gdb.python/Makefile.in: Likewise.
15629 * gdb.reverse/Makefile.in: Likewise.
15630 * gdb.server/Makefile.in: Likewise.
15631 * gdb.stabs/Makefile.in: Likewise.
15632 * gdb.threads/Makefile.in: Likewise.
15633 * gdb.trace/Makefile.in: Likewise.
15634 * gdb.xml/Makefile.in: Likewise.
15635 * lib/gdb.exp (make_gdb_parallel_path): Add check for
15637 (standard_output_file): Remove check for GDB_PARALLEL, always
15638 return path in outputs/$subdir/$testname.
15640 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
15642 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
15643 (site.exp): Assign abs_srcdir to tcl's srcdir.
15645 2016-02-04 Yao Qi <yao.qi@linaro.org>
15647 * gdb.base/foll-exec-mode.c: Include limits.h.
15648 (main): Add parameters argc and argv. Get directory from
15650 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
15652 * gdb.base/foll-exec.c: Include limits.h.
15653 (main): Add parameters argc and argv.
15654 Get directory from argv[0].
15655 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
15656 Adjust tests on the number of lines as source code changed.
15657 * gdb.base/foll-vfork-exit.c: Include limits.h.
15658 (main): Add one line of statement before vfork.
15659 * gdb.base/foll-vfork.c: Include limits.h and string.h.
15660 (main): Add parameters argc and argv. Get directory from
15662 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
15663 (setup_gdb): Set tbreak to skip some source lines.
15664 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
15665 (main): Add parameters argc and argv. Get directory from
15667 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
15669 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
15670 (main): Add parameters argc and argv. Get directory from
15672 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
15675 2016-02-01 Doug Evans <dje@google.com>
15677 * gdb.base/skip.exp: Clean up multiple references to same test name.
15679 2016-02-01 Pedro Alves <palves@redhat.com>
15682 * gdb.threads/forking-threads-plus-breakpoint.exp
15683 (displaced_stepping_supported): New global.
15684 (probe_displaced_stepping_support): New procedure.
15685 (do_test): Add 'displaced' parameter, and use it.
15686 (top level): Check for displaced stepping support. Add displaced
15687 stepping on/off testing axis.
15689 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
15691 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
15692 pointer. Don't perform further tests on the unassociated pointer
15693 if the first test fails.
15695 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
15697 * gdb.base/max-value-size.c: New file.
15698 * gdb.base/max-value-size.exp: New file.
15699 * gdb.base/huge.exp: Disable max-value-size for this test.
15701 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
15703 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
15705 2016-01-28 Yao Qi <yao.qi@linaro.org>
15707 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
15709 2016-01-25 Pedro Alves <palves@redhat.com>
15712 * gdb.base/fork-running-state.c: New file.
15713 * gdb.base/fork-running-state.exp: New file.
15715 2016-01-25 Pedro Alves <palves@redhat.com>
15718 * gdb.base/catch-fork-kill.c: New file.
15719 * gdb.base/catch-fork-kill.exp: New file.
15721 2016-01-25 Pedro Alves <palves@redhat.com>
15723 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
15724 Delete, moved to lib/gdb.exp.
15725 * gdb.threads/forking-threads-plus-breakpoint.exp
15726 (foreach_with_prefix): Likewise.
15727 * gdb.threads/process-dies-while-handling-bp.exp
15728 (foreach_with_prefix): Likewise.
15729 * lib/gdb.exp (foreach_with_prefix): New procedure.
15731 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
15733 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
15734 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
15736 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
15738 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
15741 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15742 Pedro Alves <palves@redhat.com>
15744 Fix testsuite compatibility with Guile.
15745 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
15748 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15750 Fix testsuite compatibility with Guile.
15751 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
15752 (thread 1): New test for backtrace through signal handler.
15754 2016-01-22 Yao Qi <yao.qi@linaro.org>
15757 * gdb.base/multi-forks.c: Include
15758 ../lib/unbuffer_output.c
15759 (main): Call gdb_unbuffer_output.
15761 2016-01-21 Doug Evans <dje@google.com>
15763 * lib/ada.exp (gdb_compile_ada): Fix typo.
15765 2016-01-21 Joel Brobecker <brobecker@adacore.com>
15767 * gdb.base/break-fun-addr.exp: New file.
15768 * gdb.base/break-fun-addr1.c: New file.
15769 * gdb.base/break-fun-addr2.c: New file.
15771 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
15773 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
15774 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
15777 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
15779 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
15780 when GDB can not set the vector return value. Add more comments
15783 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
15785 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
15788 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
15790 * Makefile.in (DO_RUNTEST): Add --status and update usages.
15792 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
15794 * Makefile.in (check-single): Pass --status to runtest.
15795 (check/%.exp): Likewise.
15797 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
15799 * Makefile.in (check-parallel): Propagate return code from make
15802 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
15804 * gdb.trace/ftrace.exp: Fix expected message on continue.
15805 * gdb.trace/pending.exp: Fix expected message on continue.
15806 * gdb.trace/trace-break.exp: Fix expected message on continue.
15808 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
15810 * lib/gdb.exp (gdb_test): Remove unused global references.
15812 2016-01-18 Pedro Alves <palves@redhat.com>
15814 * gdb.base/async-shell.exp: Adjust expected output.
15815 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
15816 * gdb.base/siginfo-thread.exp: Adjust expected output.
15817 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
15818 * gdb.java/jnpe.exp: Adjust expected output.
15819 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
15820 * gdb.threads/continue-pending-status.exp: Adjust expected output.
15821 * gdb.threads/leader-exit.exp: Adjust expected output.
15822 * gdb.threads/manythreads.exp: Adjust expected output.
15823 * gdb.threads/pthreads.exp: Adjust expected output.
15824 * gdb.threads/schedlock.exp: Adjust expected output.
15825 * gdb.threads/siginfo-threads.exp: Adjust expected output.
15826 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
15828 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
15830 * gdb.threads/sigthread.exp: Adjust expected output.
15831 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
15833 2016-01-18 Yao Qi <yao.qi@linaro.org>
15835 * gdb.guile/scm-section-script.c: Replace @progbits with
15837 * gdb.python/py-section-script.c: Likewise.
15839 2016-01-15 Pedro Alves <palves@redhat.com>
15841 * gdb.multi/tids.exp: Test star wildcard ranges.
15843 2016-01-15 Pedro Alves <palves@redhat.com>
15845 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
15846 command from "thread apply" invocation.
15847 (thr_apply_info_thr_invalid): Default the expected output to the
15849 (top level): Add tests that use convenience variables. Add tests
15850 for "thread apply" with a valid TID list, but missing the command.
15852 2016-01-13 Pedro Alves <palves@redhat.com>
15854 * gdb.base/default.exp: Expect $_gthread as well.
15855 * gdb.multi/tids.exp: Test $_gthread.
15856 * gdb.threads/thread-specific.exp: Test $_gthread.
15858 2016-01-13 Pedro Alves <palves@redhat.com>
15860 * gdb.multi/tids.exp: Test "info threads -gid".
15862 2016-01-13 Pedro Alves <palves@redhat.com>
15864 * gdb.multi/tids.exp: Test InferiorThread.global_num and
15866 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
15868 2016-01-07 Pedro Alves <palves@redhat.com>
15870 * gdb.base/break.exp: Adjust to output changes.
15871 * gdb.base/hbreak2.exp: Likewise.
15872 * gdb.base/sepdebug.exp: Likewise.
15873 * gdb.base/watch_thread_num.exp: Likewise.
15874 * gdb.linespec/keywords.exp: Likewise.
15875 * gdb.multi/info-threads.exp: Likewise.
15876 * gdb.threads/thread-find.exp: Likewise.
15877 * gdb.multi/tids.c: New file.
15878 * gdb.multi/tids.exp: New file.
15880 2016-01-13 Pedro Alves <palves@redhat.com>
15882 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
15884 2016-01-13 Pedro Alves <palves@redhat.com>
15886 * gdb.base/default.exp: Expect $_inferior as well.
15887 * gdb.multi/base.exp: Test $_inferior.
15889 2016-01-13 Pedro Alves <palves@redhat.com>
15891 PR breakpoints/19388
15892 * gdb.base/catch-signal-siginfo-cond.c: New file.
15893 * gdb.base/catch-signal-siginfo-cond.exp: New file.
15895 2016-01-12 Josh Stone <jistone@redhat.com>
15896 Philippe Waroquiers <philippe.waroquiers@skynet.be>
15898 * gdb.base/catch-syscall.c (do_execve): New variable.
15899 (main): Conditionally trigger an execve.
15900 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
15901 (test_catch_syscall_execve): New, check entry/return across execve.
15902 (do_syscall_tests): Call test_catch_syscall_execve.
15904 2016-01-12 Pedro Alves <palves@redhat.com>
15906 * gdb.base/random-signal.exp (do_test): New procedure, with body
15907 of testcase moved in.
15909 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15910 Pedro Alves <palves@redhat.com>
15912 * gdb.base/funcargs.exp (finish from indirectly called function):
15913 Reintroduce the case for 'First'.
15915 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15916 Pedro Alves <palves@redhat.com>
15918 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
15919 (tcatch_vfork_then_child_follow_exec)
15920 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
15923 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15925 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
15926 and repeats to unlimited.
15927 * gdb.python/py-value.exp: Likewise.
15928 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
15929 and repeats to unlimited.
15931 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15933 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
15934 and reordering the functions.
15935 * gdb.multi/hangout.c: Likewise.
15936 * gdb.multi/hello.c: Likewise.
15938 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
15940 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
15942 (SingleStatisticTestResult.report): Use dict.keys instead of
15945 2016-01-06 Pedro Alves <palves@redhat.com>
15947 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
15949 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
15951 * gdb.btrace/dlopen.exp: New.
15952 * gdb.btrace/dlopen.c: New.
15953 * gdb.btrace/dlopen-dso.c: New.
15955 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
15957 * lib/gdb.exp (gdb_test): Update comments to clarify that the
15958 PATTERN argument is optional.
15960 2015-12-24 Joel Brobecker <brobecker@adacore.com>
15962 * lib/ada.exp (target_compile_ada_from_dir): New function.
15963 (gdb_compile_ada): Reimplement avoiding the use of project files.
15964 * gdb.ada/gnat_ada.gpr: Delete.
15965 * gdb.ada/cond_lang.exp: Adjust test to make path before
15967 * gdb.ada/small_reg_param.exp: Likewise.
15969 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
15971 * gdb.base/foll-vork.exp: Remove HP-UX special case.
15973 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
15975 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
15978 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
15980 * gdb.base/break.exp: Remove dead code.
15981 * gdb.base/sepdebug.exp: Likewise.
15983 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
15985 * gdb.asm/asm-source.exp: Remove HP-UX references.
15986 * gdb.base/annota1.exp: Likewise.
15987 * gdb.base/annota3.exp: Likewise.
15988 * gdb.base/attach.exp: Likewise.
15989 * gdb.base/bigcore.exp: Likewise.
15990 * gdb.base/break.exp: Likewise.
15991 * gdb.base/call-ar-st.exp: Likewise.
15992 * gdb.base/callfuncs.exp: Likewise.
15993 * gdb.base/catch-fork-static.exp: Likewise.
15994 * gdb.base/display.exp: Likewise.
15995 * gdb.base/foll-exec-mode.exp: Likewise.
15996 * gdb.base/foll-exec.exp: Likewise.
15997 * gdb.base/foll-fork.exp: Likewise.
15998 * gdb.base/foll-vfork.exp: Likewise.
15999 * gdb.base/funcargs.exp: Likewise.
16000 * gdb.base/hbreak2.exp: Likewise.
16001 * gdb.base/inferior-died.exp: Likewise.
16002 * gdb.base/interrupt.exp: Likewise.
16003 * gdb.base/multi-forks.exp: Likewise.
16004 * gdb.base/nodebug.exp: Likewise.
16005 * gdb.base/sepdebug.exp: Likewise.
16006 * gdb.base/solib1.c: Likewise.
16007 * gdb.base/step-test.exp: Likewise.
16008 * gdb.mi/non-stop.c: Likewise.
16009 * gdb.mi/pthreads.c: Likewise.
16010 * gdb.multi/bkpt-multi-exec.ex: Likewise.
16011 * gdb.threads/pthreads.c: Likewise.
16012 * gdb.threads/staticthreads.exp: Likewise.
16013 * lib/future.exp: Likewise.
16014 * lib/gdb.exp: Likewise.
16015 * gdb.base/so-indr-cl.c: Remove.
16016 * gdb.base/so-indr-cl.exp: Likewise.
16017 * gdb.base/solib.c: Likewise.
16018 * gdb.base/solib.exp: Likewise.
16019 * gdb.base/solib2.c: Likewise.
16021 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
16023 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
16024 * gdb.base/call-ar-st.exp: Likewise.
16025 * gdb.base/callfuncs.exp: Likewise.
16026 * gdb.base/condbreak.exp: Likewise.
16027 * gdb.base/constvars.exp: Likewise.
16028 * gdb.base/hbreak2.exp: Likewise.
16029 * gdb.base/langs.exp: Likewise.
16030 * gdb.base/list.exp: Likewise.
16031 * gdb.base/long_long.exp: Likewise.
16032 * gdb.base/ptype.exp: Likewise.
16033 * gdb.base/scope.exp: Likewise.
16034 * gdb.base/signals.exp: Likewise.
16035 * gdb.base/so-impl-ld.exp: Likewise.
16036 * gdb.base/varargs.exp: Likewise.
16037 * gdb.base/volatile.exp: Likewise.
16038 * gdb.base/whatis.exp: Likewise.
16039 * gdb.cp/cplusfuncs.exp: Likewise.
16040 * gdb.cp/inherit.exp: Likewise.
16041 * gdb.cp/local.exp: Likewise.
16042 * gdb.cp/member-ptr.exp: Likewise.
16043 * gdb.cp/method.exp: Likewise.
16044 * gdb.cp/overload.exp: Likewise.
16045 * gdb.cp/templates.exp: Likewise.
16046 * gdb.stabs/weird.exp: Likewise.
16047 * lib/compiler.c: Likewise.
16048 * lib/compiler.cc: Likewise.
16049 * lib/cp-support.exp: Likewise.
16050 * lib/gdb.exp: Likewise.
16052 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
16054 * configure.ac: Remove HP-UX case.
16055 * configure: Regenerate.
16057 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
16059 * lib/gdb.exp (gdb_compile): Add function doc.
16061 2015-12-17 Pedro Alves <palves@redhat.com>
16064 * gdb.multi/info-threads.exp: New file.
16066 2015-12-15 Yao Qi <yao.qi@linaro.org>
16068 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
16071 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16073 * gdb.base/history-duplicates.exp: Skip if no readline support.
16075 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16077 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
16079 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16081 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
16083 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
16085 * gdb.base/completion.exp: Skip tests that interrupt GDB with
16086 ctrl-C if nointerrupts target property is set.
16087 * gdb.base/double-prompt-target-event-error.exp: Likewise.
16088 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
16089 * gdb.base/paginate-bg-execution.exp: Likewise.
16090 * gdb.base/paginate-execution-startup.exp: Likewise.
16091 * gdb.base/random-signal.exp: Likewise.
16092 * gdb.base/range-stepping.exp: Likewise.
16093 * gdb.cp/annota2.exp: Likewise.
16094 * gdb.cp/annota3.exp: Likewise.
16095 * gdb.gdb/selftest.exp: Likewise.
16096 * gdb.threads/continue-pending-status.exp: Likewise.
16097 * gdb.threads/leader-exit.exp: Likewise.
16098 * gdb.threads/manythreads.exp: Likewise.
16099 * gdb.threads/pthreads.exp: Likewise.
16100 * gdb.threads/schedlock.exp: Likewise.
16101 * gdb.threads/sigthread.exp: Likewise.
16103 2015-12-11 Don Breazeal <donb@codesourcery.com>
16105 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
16107 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
16108 * gdb.base/foll-exec.exp (main): Enable for target remote.
16109 * gdb.base/foll-fork.exp (main): Likewise.
16110 * gdb.base/foll-vfork.exp (main): Likewise.
16111 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
16112 (proc continue_to_exit_bp_loc): Use clean_restart.
16113 * gdb.base/pie-execl.exp (main): Disable for target remote.
16114 * gdb.base/watch-vfork.exp (main): Enable for target remote.
16115 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
16116 * gdb.threads/execl.exp (main): Likewise.
16117 * gdb.threads/fork-child-threads.exp (main): Likewise.
16118 * gdb.threads/fork-plus-threads.exp (main): Disable for target
16120 * gdb.threads/fork-thread-pending.exp (main): Enable for target
16122 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
16123 pid.tid style ptids, instead of just tid.
16124 * gdb.threads/thread-execl.exp (main): Enable for target remote.
16125 * gdb.threads/watchpoint-fork.exp (main): Likewise.
16126 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
16127 ptids, instead of just tid.
16129 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
16131 * gdb.base/list.exp (test_list_forward): Add end of file error
16133 (test_repeat_list_command): Add end of file error test.
16134 (test_list_backwards): Add beginning of file error test.
16136 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
16138 * gdb.base/list.exp (test_list_invalid_args): New function,
16139 defined, and called.
16141 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
16143 * gdb.base/list.exp (test_list): Make test names unique.
16145 2015-12-11 Yao Qi <yao.qi@linaro.org>
16147 * gdb.base/coremaker2.c: Remove.
16149 2015-12-10 Pedro Alves <palves@redhat.com>
16151 * gdb.multi/base.exp: Remove stale "spaces" references.
16153 2015-12-10 Pedro Alves <palves@redhat.com>
16155 * gdb.multi/base.exp: Don't use nowarnings.
16156 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
16157 * gdb.multi/hangout.c: Include stdio.h.
16158 * gdb.multi/hello.c: Include stdlib.h.
16159 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
16160 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
16161 * gdb.multi/multi-arch.exp: Don't use nowarnings.
16163 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
16165 * gdb.dwarf2/dw2-ranges-base.c: New file.
16166 * gdb.dwarf2/dw2-ranges-base.exp: New file.
16167 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
16168 support additional line table, and debug ranges generation.
16169 (Dwarf::ranges): New function, generate .debug_ranges.
16170 (Dwarf::lines): Support generating simple line table programs.
16171 (Dwarf::assemble): Initialise new namespace variables.
16173 2015-12-09 Kevin Buettner <kevinb@redhat.com>
16175 * gdb.base/async.exp (proc test_background): Add case for
16176 asynchronous execution not supported.
16178 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
16180 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
16181 format and change test names to make them unique.
16183 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
16184 Pedro Alves <pedro@redhat.com>
16187 Add checking of floatformats setup on x86_64 hosts.
16188 * gdb.arch/i386-float.S (main): Load bigval and smallval.
16189 (smallval, bigval): New labels/constants.
16190 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
16191 float" after loading bigval and smallval.
16193 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
16195 * gdb.ada/fun_overload_menu.exp: New testcase.
16196 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
16198 2015-12-04 Josh Stone <jistone@redhat.com>
16200 * gdb.base/catch-fork-static.exp: New.
16202 2015-12-03 Yao Qi <yao.qi@linaro.org>
16204 * gdb.base/sizeof.c: Don't include stdio.h and
16205 ../lib/unbuffer_output.c.
16206 (main): New variable 'size' and 'value'. Remove printf and
16207 gdb_unbuffer_output. Assign return value to size and value.
16208 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
16210 (check_sizeof): Check the result by printing variable 'size'.
16211 (check_valueof): Check the result by printing variable 'value'.
16213 2015-12-01 Yao Qi <yao.qi@linaro.org>
16215 * gdb.base/disp-step-syscall.exp: Define syscall instruction
16216 for aarch64*-*-linux* target.
16218 2015-11-30 Pedro Alves <palves@redhat.com>
16220 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
16222 2015-11-30 Pedro Alves <palves@redhat.com>
16224 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
16225 Handle non-stop mode vCont replies.
16227 2015-11-30 Pedro Alves <palves@redhat.com>
16229 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
16230 prepare_for_testing. Start gdb with "set non-stop on" appended to
16231 GDBFLAGS. Lax expected stop output.
16233 2015-11-27 Yao Qi <yao.qi@linaro.org>
16235 * gdb.arch/arm-neon.exp: New.
16236 * gdb.arch/arm-neon.c: New.
16238 2015-11-27 Yao Qi <yao.qi@linaro.org>
16240 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
16242 2015-11-27 Yao Qi <yao.qi@linaro.org>
16244 * gdb.cp/annota2.exp: Allow multiple occurrences of the
16245 frames-invalid annotation.
16247 2015-11-27 Yao Qi <yao.qi@linaro.org>
16249 * gdb.cp/annota2.exp: Use ${frames_invalid}.
16251 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
16253 * gdb.threads/names.exp: New file.
16254 * gdb.threads/names.c: New file.
16255 * README: Mention gdb,no_thread_names.
16257 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
16260 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
16263 2015-11-24 Pedro Alves <palves@redhat.com>
16266 * gdb.base/display.exp: Expect displays to be sorted in ascending
16267 order. Use multi_line.
16268 * gdb.base/solib-display.exp: Likewise.
16270 2015-11-24 Pedro Alves <palves@redhat.com>
16273 * gdb.base/display.exp: Expect displays to be sorted in ascending
16274 order. Use multi_line.
16275 * gdb.base/solib-display.exp: Likewise.
16277 2015-11-24 Pedro Alves <palves@redhat.com>
16280 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
16281 threads in ascending order.
16282 * gdb.base/foll-fork.exp: Likewise.
16283 * gdb.base/foll-vfork.exp: Likewise.
16284 * gdb.base/multi-forks.exp: Likewise.
16285 * gdb.mi/mi-nonstop.exp: Likewise.
16286 * gdb.mi/mi-nsintrall.exp: Likewise.
16287 * gdb.multi/base.exp: Likewise.
16288 * gdb.multi/multi-arch.exp: Likewise.
16289 * gdb.python/py-inferior.exp: Likewise.
16290 * gdb.threads/break-while-running.exp: Likewise.
16291 * gdb.threads/execl.exp: Likewise.
16292 * gdb.threads/gcore-thread.exp: Likewise.
16293 * gdb.threads/info-threads-cur-sal.exp: Likewise.
16294 * gdb.threads/kill.exp: Likewise.
16295 * gdb.threads/linux-dp.exp: Likewise.
16296 * gdb.threads/multiple-step-overs.exp: Likewise.
16297 * gdb.threads/next-bp-other-thread.exp: Likewise.
16298 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
16299 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
16300 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
16301 * gdb.threads/thread-find.exp: Likewise.
16302 * gdb.threads/tls.exp: Likewise.
16303 * lib/mi-support.exp (mi_reverse_list): Delete.
16304 (mi_check_thread_states): No longer reverse list.
16306 2015-11-24 Pedro Alves <palves@redhat.com>
16308 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
16311 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
16313 * gdb.trace/actions.c: Include trace-common.h.
16314 (main): Add a location for a fast tracepoint.
16315 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
16316 the normal tracepoints.
16317 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
16319 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
16321 * save-trace.exp: Factor out code to these...
16322 (gdb_save_tracepoints): New.
16323 (gdb_load_tracepoints): New.
16324 (do_save_load_test): New.
16326 2015-11-23 Kevin Buettner <kevinb@redhat.com>
16328 * gdb.base/asmlabel.exp: New test.
16329 * gdb.base/asmlabel.c: New test case.
16331 2015-11-23 Joel Brobecker <brobecker@adacore.com>
16333 * gdb.base/wrong_frame_bt_full-main.c: New file.
16334 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
16335 * gdb.base/wrong_frame_bt_full.exp: New file.
16337 2015-11-23 Joel Brobecker <brobecker@adacore.com>
16339 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
16341 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
16343 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
16344 pstate register when comparing registers values in
16345 sparc64-*-linux-gnu targets to avoid spurious differences.
16347 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
16349 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
16351 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
16353 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
16354 as type argument to gdb_compile.
16355 * gdb.base/nested-subp2.exp: Likewise.
16356 * gdb.base/nested-subp3.exp: Likewise.
16358 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
16360 * lib/dwarf.exp (_note): Fix left shift of negative value.
16361 * gdb.trace/trace-condition.exp: Likewise.
16363 2015-11-13 Yao Qi <yao.qi@linaro.org>
16365 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
16366 comments about d10v.
16367 (test_scalar_returns): Likewise.
16368 * gdb.base/d10v.ld: Remove.
16369 * gdb.base/overlays.exp: Remove the target triplet checking for
16371 * gdb.base/structs.exp (test_struct_returns): Remove the
16372 comments about d10v.
16373 (test_struct_calls): Likewise.
16375 2015-11-13 Yao Qi <yao.qi@linaro.org>
16377 * gdb.base/gnu_vector.exp: Check the return value by "p res".
16378 * gdb.base/gnu_vector.c: Don't include stdio.h.
16379 (main): Don't print res and call add_some_intvecs.
16381 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
16383 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
16386 (func4): Use FAST_TRACEPOINT_LABEL.
16387 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
16390 (thread_function): Use FAST_TRACEPOINT_LABEL.
16391 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
16393 (marker): Use FAST_TRACEPOINT_LABEL.
16394 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
16395 (pendfunc1): Remove.
16396 (pendfunc): Use FAST_TRACEPOINT_LABEL.
16397 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
16399 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
16400 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
16403 (marker): Use FAST_TRACEPOINT_LABEL.
16404 * gdb.trace/trace-common.h: New header.
16405 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
16408 (marker): Use FAST_TRACEPOINT_LABEL.
16409 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
16411 (thread_function): Use FAST_TRACEPOINT_LABEL.
16413 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
16415 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
16417 * gdb.trace/change-loc.exp: Use global pcreg definition.
16418 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
16419 * gdb.trace/entry-values.exp: Use global spreg definition, add $
16421 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
16422 * gdb.trace/pending.exp: Likewise.
16423 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
16424 * gdb.trace/trace-break.exp: Likewise.
16425 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
16427 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
16428 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
16430 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
16432 2015-11-09 Joel Brobecker <brobecker@adacore.com>
16434 * gdb.ada/fin_fun_out: New testcase.
16436 2015-11-07 Kevin Buettner <kevinb@redhat.com>
16438 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
16439 value associated with DW_AT_byte_size.
16440 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
16441 constants for DW_AT_byte_size, DW_AT_lower_bound, and
16444 2015-11-07 Kevin Buettner <kevinb@redhat.com>
16446 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
16447 (gdb_target_symbol_prefix_flags): Define in terms of _asm
16449 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
16450 gdb.dwarf2/dw2-canonicalize-type.exp,
16451 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
16452 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
16453 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
16454 provided by gdb_target_symbol_prefix_flags_asm.
16455 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
16456 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
16457 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
16458 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
16459 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
16460 macros where needed). Use this macro for symbols which require
16461 the prefix provided by SYMBOL_PREFIX.
16463 2015-11-05 Kevin Buettner <kevinb@redhat.com>
16465 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
16467 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
16468 representing expressions, of more than one list element.
16469 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
16470 to prepend linker symbol prefix to f.
16471 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
16472 table_1 and table_2.
16473 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
16474 Likewise, for f and g.
16475 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
16477 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
16479 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
16480 table_1_ptr and table_2_ptr.
16482 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16483 Joel Brobecker <brobecker@adacore.com>
16485 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
16487 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
16489 * gdb.reverse/s390-mvcle.c: New test.
16490 * gdb.reverse/s390-mvcle.exp: New file.
16491 * lib/gdb.exp: Enable reverse tests on s390*-linux.
16493 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
16495 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
16497 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
16499 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
16501 * gdb.reverse/getresuid-reverse.exp: Likewise.
16502 * gdb.reverse/pipe-reverse.exp: Likewise.
16503 * gdb.reverse/readv-reverse.exp: Likewise.
16504 * gdb.reverse/recvmsg-reverse.exp: Likewise.
16505 * gdb.reverse/time-reverse.exp: Likewise.
16506 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
16508 2015-10-30 Yao Qi <yao.qi@linaro.org>
16510 * gdb.threads/wp-replication.c (watch_count_done): Remove.
16511 (empty_cycle): Remove.
16512 (main): Don't call empty_cycle. Don't use watch_count_done.
16513 * gdb.threads/wp-replication.exp: Don't set breakpoint on
16514 empty_cycle. Rewrite the code counting HW watchpoints.
16516 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
16518 * gdb.reverse/fstatat-reverse.c: New test.
16519 * gdb.reverse/fstatat-reverse.exp: New file.
16520 * gdb.reverse/getresuid-reverse.c: New test.
16521 * gdb.reverse/getresuid-reverse.exp: New file.
16522 * gdb.reverse/pipe-reverse.c: New test.
16523 * gdb.reverse/pipe-reverse.exp: New file.
16524 * gdb.reverse/readv-reverse.c: New test.
16525 * gdb.reverse/readv-reverse.exp: New file.
16526 * gdb.reverse/recvmsg-reverse.c: New test.
16527 * gdb.reverse/recvmsg-reverse.exp: New file.
16528 * gdb.reverse/time-reverse.c: New test.
16529 * gdb.reverse/time-reverse.exp: New file.
16530 * gdb.reverse/waitpid-reverse.c: New test.
16531 * gdb.reverse/waitpid-reverse.exp: New file.
16533 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
16535 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
16537 2015-10-26 Doug Evans <dje@google.com>
16540 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
16541 * gdb.dwarf2/bad-regnum.c: New file.
16542 * gdb.dwarf2/bad-regnum.exp: New file.
16544 2015-10-26 Doug Evans <dje@google.com>
16547 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
16550 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16552 * gdb.compile/compile.exp (compile code globalvar): Update expectation
16553 for a change by "Mention language in compile error message".
16555 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
16558 * gdb.python/py-type.c (C::a_method): New.
16559 (C::a_const_method): New.
16560 (C::a_static_method): New.
16562 * gdb.python/py-type.exp (test_fields): Test getting fields
16563 from function and method.
16565 2015-10-21 Keven Boell <keven.boell@intel.com>
16567 * gdb.fortran/vla-alloc-assoc.exp: New file.
16568 * gdb.fortran/vla-datatypes.exp: New file.
16569 * gdb.fortran/vla-datatypes.f90: New file.
16570 * gdb.fortran/vla-history.exp: New file.
16571 * gdb.fortran/vla-ptype-sub.exp: New file.
16572 * gdb.fortran/vla-ptype.exp: New file.
16573 * gdb.fortran/vla-sizeof.exp: New file.
16574 * gdb.fortran/vla-sub.f90: New file.
16575 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
16576 * gdb.fortran/vla-value-sub-finish.exp: New file.
16577 * gdb.fortran/vla-value-sub.exp: New file.
16578 * gdb.fortran/vla-value.exp: New file.
16579 * gdb.fortran/vla-ptr-info.exp: New file.
16580 * gdb.mi/mi-vla-fortran.exp: New file.
16581 * gdb.mi/vla.f90: New file.
16583 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
16585 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
16586 of hardwired timeout value.
16588 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
16589 Pedro Alves <palves@redhat.com>
16591 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
16592 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
16594 2015-10-19 Josh Stone <jistone@redhat.com>
16596 * gdb.base/catch-syscall.c: Include <sched.h>.
16597 (unknown_syscall): New variable.
16598 (main): Trigger a vfork and an unknown syscall.
16599 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
16600 (unknown_syscall_number): Likewise.
16601 (check_call_to_syscall): Accept an optional syscall pattern.
16602 (check_return_from_syscall): Likewise.
16603 (check_continue): Likewise.
16604 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
16605 (test_catch_syscall_skipping_return): New test toggling off 'catch
16606 syscall' to step over the syscall return, then toggling back on.
16607 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
16608 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
16609 (do_syscall_tests): Call test_catch_syscall_without_args and
16610 test_catch_syscall_mid_vfork.
16611 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
16612 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
16614 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
16616 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
16617 print g_vE): Add new pass patterns.
16618 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
16619 print various symbol names for vptr fields.
16621 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
16623 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
16626 2015-10-12 Yao Qi <yao.qi@linaro.org>
16628 * gdb.arch/disp-step-insn-reloc.exp: New test case.
16630 2015-10-12 Yao Qi <yao.qi@linaro.org>
16632 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
16633 is aarch64*-*-linux*.
16635 2015-10-12 Yao Qi <yao.qi@linaro.org>
16637 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
16638 (can_relocate_bcond_true): ... it.
16639 (can_relocate_bcond_false): New function.
16641 (can_relocate_bl): Likewise.
16642 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
16645 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
16647 * gdb.base/nested-addr.c: New file.
16648 * gdb.base/nested-addr.exp: New testcase.
16650 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
16652 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
16653 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
16654 its output. Ignore the output of "record goto begin" and instead
16655 check that GDB is replaying.
16657 2015-10-09 Pedro Alves <palves@redhat.com>
16659 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
16660 (top level): Use it in the run with no args test.
16662 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
16664 * gdb.dlang/properties.exp: New file.
16666 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
16668 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
16669 whether or not address 0x1000 is mapped on the target.
16671 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
16673 * gdb.python/py-type.exp: Do not run tests if binaries fail to
16676 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
16678 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
16679 instruction-history test.
16681 2015-09-28 Doug Evans <dje@google.com>
16683 * gdb.base/gcore.c (array_func): Add reference to static_array.
16685 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
16687 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
16690 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
16692 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
16693 short or char as base type.
16695 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
16697 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
16698 to allow any size enum.
16700 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
16702 * gdb.ada/array_ptr_renaming.exp: New testcase.
16703 * gdb.ada/array_ptr_renaming/foo.adb: New file.
16704 * gdb.ada/array_ptr_renaming/pack.ads: New file.
16706 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
16708 * gdb.trace/ftrace-lock.c: New file.
16709 * gdb.trace/ftrace-lock.exp: New file.
16711 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
16713 * gdb.arch/insn-reloc.c: New file.
16714 * gdb.arch/ftrace-insn-reloc.exp: New file.
16716 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
16718 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
16720 * gdb.trace/pendshr1.c (pendfunc): Likewise.
16721 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
16722 * gdb.trace/range-stepping.c: Likewise.
16723 * gdb.trace/trace-break.c: Likewise.
16724 * gdb.trace/trace-mt.c (thread_function): Likewise.
16725 * gdb.trace/ftrace.c (marker): Likewise.
16726 * gdb.trace/trace-condition.c (marker): Likewise.
16727 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
16728 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
16731 2015-09-18 Doug Evans <xdje42@gmail.com>
16733 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
16734 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
16736 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16738 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
16741 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16743 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
16744 the pending breakpoint. Remove timeout override for "Run till
16745 MI pending breakpoint on pendfunc3 on thread 2" test.
16747 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16749 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
16752 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16754 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
16755 in breakpoint filename pattern.
16757 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16759 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
16761 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16763 * gdb.linespec/explicit.exp: Check for readline support for
16764 tab-completion tests. Fix obvious typo.
16766 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
16768 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
16771 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
16773 * gdb.btrace/non-stop.c: New.
16774 * gdb.btrace/non-stop.exp: New.
16776 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
16777 Yao Qi <yao.qi@linaro.org>
16779 * gdb.trace/trace-condition.c: New file.
16780 * gdb.trace/trace-condition.exp: New file.
16782 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
16784 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
16785 for testing bytecode compilation.
16787 2015-09-16 Pedro Alves <palves@redhat.com>
16788 Sandra Loosemore <sandra@codesourcery.com>
16790 * gdb.threads/non-stop-fair-events.c (timeout): New global.
16791 (SECONDS): Redefine.
16792 (main): Call pthread_kill and alarm early.
16793 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
16795 (test): If the target can't hardware step and doesn't support
16796 displaced stepping, increase the timeout.
16798 2015-09-16 Pedro Alves <palves@redhat.com>
16800 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
16801 (enable_debug): New procedures.
16802 (test): Use them. Bail out if waiting for threads fails.
16803 (top level): Bail out if a test fails.
16805 2015-09-16 Yao Qi <yao.qi@linaro.org>
16807 * gdb.asm/asm-source.exp: Set asm-arch for
16808 aarch64*-*-* target.
16809 * gdb.asm/aarch64.inc: New file.
16811 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
16813 * gdb.ada/array_of_variable_length.exp: New testcase.
16814 * gdb.ada/array_of_variable_length/foo.adb: New file.
16815 * gdb.ada/array_of_variable_length/pck.adb: New file.
16816 * gdb.ada/array_of_variable_length/pck.ads: New file.
16818 2015-09-15 Doug Evans <dje@google.com>
16820 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
16821 of function static local variable.
16823 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
16825 * gdb.threads/tls-so_extern.exp: New test file.
16826 * gdb.threads/tls-so_extern.c: New test file.
16827 * gdb.threads/tls-so_extern_main.c: New test file.
16829 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16831 * gdb.opt/solib-intra-step-lib.c: New file.
16832 * gdb.opt/solib-intra-step-main.c: New file.
16833 * gdb.opt/solib-intra-step.exp: New file.
16835 2015-09-15 Pedro Alves <palves@redhat.com>
16837 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
16838 gdb_continue_to_breakpoint instead of gdb_test_multiple.
16840 2015-09-14 Pedro Alves <palves@redhat.com>
16842 * gdb.base/hook-stop-continue.c: Delete.
16843 * gdb.base/hook-stop-continue.exp: Delete.
16844 * gdb.base/hook-stop-frame.c: Delete.
16845 * gdb.base/hook-stop-frame.exp: Delete.
16846 * gdb.base/hook-stop.c: New file.
16847 * gdb.base/hook-stop.exp: New file.
16849 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
16851 * gdb.ada/access_to_packed_array.exp: New testcase.
16852 * gdb.ada/access_to_packed_array/foo.adb: New file.
16853 * gdb.ada/access_to_packed_array/pack.adb: New file.
16854 * gdb.ada/access_to_packed_array/pack.ads: New file.
16856 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
16858 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
16861 2015-09-11 Don Breazeal <donb@codesourcery.com>
16863 * gdb.base/foll-exec.c: Add copyright header. Fix
16865 * gdb.base/foll-exec.exp (zap_session): Delete proc.
16866 (do_exec_tests): Use clean_restart in place of zap_session,
16867 and for test initialization. Fix formatting issues. Use
16868 fail in place of perror.
16869 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
16870 an expect statement to match an expression with output from
16871 the program under debug.
16872 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
16873 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
16874 * gdb.threads/non-ldr-exc-2.exp: Likewise.
16875 * gdb.threads/non-ldr-exc-3.exp: Likewise.
16876 * gdb.threads/non-ldr-exc-4.exp: Likewise.
16878 2015-09-09 Doug Evans <dje@google.com>
16880 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
16882 2015-09-09 Doug Evans <dje@google.com>
16884 * gdb.base/pie-execl.exp: Fix result test of build_executable.
16886 2015-09-09 Doug Evans <dje@google.com>
16888 * gdb.base/savedregs.exp: Fix typo.
16890 2015-09-09 Pedro Alves <palves@redhat.com>
16892 * gdb.mi/mi-cli.exp: Add CLI finish tests.
16894 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
16896 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
16897 command actually switches threads. Give up on remaining
16898 tests if target fails to stop at breakpoint.
16900 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
16902 * gdb.ada/funcall_char.exp: New testcase.
16903 * gdb.ada/funcall_char/foo.adb: New file.
16905 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
16907 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
16908 expected outputs. Add two testcases for completing ambiguous
16910 * gdb.ada/complete/aux_pck.adb: New file.
16911 * gdb.ada/complete/aux_pck.ads: New file.
16912 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
16913 Ambiguous_Func functions.
16914 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
16915 * gdb.ada/complete/pck.adb: Likewise.
16917 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
16919 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
16920 failures to run the test program under GDB.
16922 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
16924 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
16927 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
16929 * gdb.base/run-after-attach.exp: New test file.
16930 * gdb.base/run-after-attach.c: New test file.
16932 2015-08-26 Don Breazeal <donb@codesourcery.com>
16934 * gdb.base/foll-exec-2.c: New test program.
16935 * gdb.base/foll-exec-2.exp: New test.
16937 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
16939 * gdb.base/nested-subp1.exp: New file.
16940 * gdb.base/nested-subp1.c: New file.
16941 * gdb.base/nested-subp2.exp: New file.
16942 * gdb.base/nested-subp2.c: New file.
16943 * gdb.base/nested-subp3.exp: New file.
16944 * gdb.base/nested-subp3.c: New file.
16946 2015-08-24 Pedro Alves <palves@redhat.com>
16948 * gdb.server/connect-without-multi-process.c: New file.
16949 * gdb.server/connect-without-multi-process.exp: New file.
16951 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
16953 * gdb.opt/inline-markers.c: Make z int.
16955 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
16957 * gdb.opt/inline-markers.c: Make z volatile.
16959 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
16961 * gdb.opt/inline-bt.c: New volatile global z.
16962 * gdb.opt/inline-cmds.c: Likewise.
16963 * gdb.opt/inline-locals.c: Likewise.
16964 * gdb.opt/inline-markers.c: New extern global z.
16966 (inline_fn): Likewise.
16968 2015-08-24 Pedro Alves <palves@redhat.com>
16970 * config/m32r-stub.exp: Remove file.
16971 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
16972 * gdb.base/call-rt-st.exp: Likewise.
16973 * gdb.base/call-strs.exp: Likewise.
16974 * gdb.base/default.exp: Remove references to h8300-*-hms and
16976 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
16978 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
16980 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
16981 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
16982 and "return" use KFAIL when GDB can not read/write the vector
16985 2015-08-21 Gary Benson <gbenson@redhat.com>
16987 * gdb.trace/pending.exp: Cope with remote transfer warnings.
16989 2015-08-20 Pedro Alves <palves@redhat.com>
16991 * gdb.server/solib-list.exp: No longer expect an interior stop in
16994 2015-08-20 Pedro Alves <palves@redhat.com>
16996 * gdb.server/connect-stopped-target.c: New file.
16997 * gdb.server/connect-stopped-target.exp: New file.
16999 2015-08-20 Pedro Alves <palves@redhat.com>
17001 * gdb.dwarf2/comp-unit-lang.exp: New file.
17002 * gdb.dwarf2/comp-unit-lang.c: New file.
17004 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
17006 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
17007 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
17009 2015-08-19 Kevin Buettner <kevinb@redhat.com>
17011 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
17012 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
17014 2015-08-18 Doug Evans <dje@google.com>
17015 Adrian Sendroiu <adrian.sendroiu@freescale.com>
17017 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
17018 skip_python_tests. New arg prompt_regexp.
17019 (skip_python_tests): New function.
17020 * lib/mi-support.exp (mi_skip_python_tests): New function.
17021 * gdb.python/py-mi-objfile-gdb.py: New file.
17022 * gdb.python/py-mi-objfile.c: New file.
17023 * gdb.python/py-mi-objfile.exp: New file.
17025 2015-08-17 Keith Seitz <keiths@redhat.com>
17027 * gdb.linespec/explicit.exp: Move strace test from here ...
17028 * gdb.trace/strace.exp: ... to here.
17030 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
17032 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
17033 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
17035 2015-08-14 Doug Evans <xdje42@gmail.com>
17037 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
17038 inferior before selecting a new file.
17040 2015-08-14 Doug Evans <xdje42@gmail.com>
17042 * gdb.mi/mi-disassemble.exp: Update.
17043 * gdb.base/disasm-optim.S: New file.
17044 * gdb.base/disasm-optim.c: New file.
17045 * gdb.base/disasm-optim.h: New file.
17046 * gdb.base/disasm-optim.exp: New file.
17048 2015-08-14 Keith Seitz <keiths@redhat.com>
17050 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
17053 2015-08-13 Joel Brobecker <brobecker@adacore.com>
17055 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
17057 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
17059 * gdb.ada/fun_renaming.exp: New testcase.
17060 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
17061 * gdb.ada/fun_renaming/pack.adb: New file.
17062 * gdb.ada/fun_renaming/pack.ads: New file.
17064 2015-08-12 Keith Seitz <keiths@redhat.com>
17066 * gdb.base/dso2dso.exp: Pass basename of source file in call to
17067 gdb_get_line_number.
17069 2015-08-12 Joel Brobecker <brobecker@adacore.com>
17071 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
17072 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
17073 gdb.base/dso2dso.exp: New files.
17075 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
17076 Pedro Alves <palves@redhat.com>
17077 Keith Seitz <keiths@redhat.com>
17079 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
17082 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
17084 * gdb.base/gdbhistsize-history.exp
17085 (test_histsize_history_setting): Use save_vars.
17086 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
17088 (test_no_truncation_of_unlimited_history_file): Use save_vars.
17089 * gdb.base/readline.exp: Use save_vars.
17091 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
17093 * lib/gdb.exp (save_vars): New proc.
17095 2015-08-11 Keith Seitz <keiths@redhat.com>
17097 * gdb.base/help.exp: Update help_breakpoint_text.
17099 2015-08-11 Keith Seitz <keiths@redhat.com>
17101 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
17102 (at toplevel): Call test_explicit_breakpoints.
17103 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
17105 * lib/mi-support.exp (mi_make_breakpoint): Add support for
17106 breakpoint conditions, "-cond".
17108 2015-08-11 Keith Seitz <keiths@redhat.com>
17110 * gdb.linespec/3explicit.c: New file.
17111 * gdb.linespec/cpexplicit.cc: New file.
17112 * gdb.linespec/cpexplicit.exp: New file.
17113 * gdb.linespec/explicit.c: New file.
17114 * gdb.linespec/explicit.exp: New file.
17115 * gdb.linespec/explicit2.c: New file.
17116 * gdb.linespec/ls-errs.exp: Add explicit location tests.
17117 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
17118 before using in the matching pattern.
17119 Clarify that `prefix' is a regular expression.
17121 2015-08-11 Keith Seitz <keiths@redhat.com>
17123 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
17125 Add tests for missing ",FMT" and ",".
17127 2015-08-10 Doug Evans <dje@google.com>
17128 Keith Seitz <keiths@redhat.com>
17131 * gdb.base/completion.exp: Add location completer tests.
17133 2015-08-07 Pedro Alves <palves@redhat.com>
17135 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
17137 (top level): Run do_test with and without displaced stepping.
17139 2015-08-07 Pedro Alves <palves@redhat.com>
17141 * gdb.base/valgrind-disp-step.c: New file.
17142 * gdb.base/valgrind-disp-step.exp: New file.
17144 2015-08-07 Pedro Alves <palves@redhat.com>
17146 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
17148 (main): Add alarm. Run an infinite loop instead of calling
17150 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
17152 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
17154 (main): Add alarm. Run an infinite loop instead of calling
17156 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
17159 2015-08-07 Pedro Alves <palves@redhat.com>
17161 * gdb.base/checkpoint-ns.exp: New file.
17162 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
17165 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
17167 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
17168 * gdb.btrace/instruction_history.exp: Update.
17169 * gdb.btrace/tsx.exp: New.
17170 * gdb.btrace/tsx.c: New.
17172 2015-08-06 Pedro Alves <palves@redhat.com>
17174 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
17176 * gdb.reverse/until-precsave.exp: Bump timeouts.
17178 2015-08-06 Pedro Alves <palves@redhat.com>
17180 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
17182 2015-08-06 Pedro Alves <palves@redhat.com>
17185 * gdb.threads/process-dies-while-handling-bp.c: New file.
17186 * gdb.threads/process-dies-while-handling-bp.exp: New file.
17188 2015-08-06 Pedro Alves <palves@redhat.com>
17190 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
17191 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
17193 2015-08-05 Pedro Alves <palves@redhat.com>
17195 * gdb.threads/next-while-other-thread-longjmps.c: New file.
17196 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
17198 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
17200 * gdb.base/bp-permanent.exp: Report test as unsupported if
17201 the target cannot stop at the permanent breakpoint.
17203 2015-08-03 Doug Evans <dje@google.com>
17205 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
17208 2015-08-03 Doug Evans <dje@google.com>
17210 * Makefile.in (workers/%.worker, build-perf): New rule.
17211 (GDB_PERFTEST_MODE): New variable.
17212 (check-perf): Use it.
17213 (clean): Clean up gdb.perf parallel build subdirs.
17214 * lib/build-piece.exp: New file.
17215 * lib/gdb.exp (make_gdb_parallel_path): New function
17216 (standard_output_file, standard_temp_file): Call it.
17217 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
17219 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
17221 2015-08-03 Doug Evans <dje@google.com>
17223 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
17224 (LOG_FILE_NAME): New global.
17225 (TextReporter.__init__): Initialize self.txt_sum.
17226 (TextReporter.report): Add support for multiple data-points.
17227 Move report to perftest.sum, put raw data in perftest.log.
17228 (TextReporter.start): Open sum and log files.
17229 (TextReporter.end): Close sum and log files.
17230 * gdb.perf/lib/perftest/testresult.py
17231 (SingleStatisticTestResult.record): Handle multiple data-points.
17233 2015-07-31 Pedro Alves <palves@redhat.com>
17235 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
17236 Use spawn_id_get_pid. Wait for spawn id after eof. Use
17237 kill_wait_spawned_process instead of explicit "kill -9".
17238 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
17239 returning a spawn id instead of a pid. Use spawn_id_get_pid and
17240 kill_wait_spawned_process.
17241 * gdb.base/attach-twice.exp: Likewise.
17242 * gdb.base/attach.exp: Likewise.
17243 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
17245 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
17246 returning a spawn id instead of a pid. Use spawn_id_get_pid and
17247 kill_wait_spawned_process.
17248 * gdb.base/valgrind-infcall.exp: Likewise.
17249 * gdb.multi/multi-attach.exp: Likewise.
17250 * gdb.python/py-prompt.exp: Likewise.
17251 * gdb.python/py-sync-interp.exp: Likewise.
17252 * gdb.server/ext-attach.exp: Likewise.
17253 * gdb.threads/attach-into-signal.exp (corefunc): Use
17254 spawn_wait_for_attach, spawn_id_get_pid and
17255 kill_wait_spawned_process.
17256 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
17257 spawn_wait_for_attach returning a spawn id instead of a pid. Use
17258 spawn_id_get_pid and kill_wait_spawned_process.
17259 * gdb.threads/attach-stopped.exp (corefunc): Use
17260 spawn_wait_for_attach, spawn_id_get_pid and
17261 kill_wait_spawned_process.
17262 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
17263 Use spawn_id_get_pid. Wait for spawn id after eof. Use
17264 kill_wait_spawned_process instead of explicit "kill -9".
17265 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
17266 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
17267 (spawn_wait_for_attach): Use spawn instead of exec to spawn
17268 processes. Don't map cygwin/windows pids here. Now returns a
17271 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
17273 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
17274 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
17277 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
17279 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
17281 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
17284 2014-05-21 Mark Wielaard <mjw@redhat.com>
17286 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
17288 2015-07-30 Pedro Alves <palves@redhat.com>
17290 * linux-low.c (handle_extended_wait): Set the child's last
17291 reported status to TARGET_WAITKIND_STOPPED.
17293 2015-07-30 Pedro Alves <palves@redhat.com>
17296 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
17297 only shows inferior 1.
17299 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
17300 Pedro Alves <palves@redhat.com>
17303 * gdb.threads/fork-plus-threads.c: New file.
17304 * gdb.threads/fork-plus-threads.exp: New file.
17306 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17308 * gdb.base/batch-preserve-term-settings.exp
17309 (test_terminal_settings_preserved_after_cli_exit): Use
17312 2015-07-29 Pedro Alves <palves@redhat.com>
17313 Don Breazeal <donb@codesourcery.com>
17315 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
17316 output from both inferior_spawn_id and gdb_spawn_id.
17318 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
17320 * gdb.threads/attach-into-signal.exp (corefunc): Use
17321 with_test_prefix on nested loops, uniquefying the test messages.
17323 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
17325 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
17328 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17330 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
17332 (test_terminal_settings_preserved_after_sigterm): New test.
17334 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17336 * gdb.base/batch-preserve-term-settings.exp
17337 (test_terminal_settings_preserved_after_cli_exit): New test.
17339 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
17341 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
17342 manipulation of saved_gdbflags.
17343 (test_terminal_settings_preserved): Remove global declaration of
17344 the unused variable pagination_prompt. Remove manipulation of
17345 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
17348 2015-07-29 Pedro Alves <palves@redhat.com>
17350 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
17352 2015-07-29 Pedro Alves <palves@redhat.com>
17354 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
17357 2015-07-29 Pedro Alves <palves@redhat.com>
17359 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
17360 (main): Call gdb_unbuffer_output.
17361 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
17362 (main): Call gdb_unbuffer_output.
17363 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
17364 (main): Call gdb_unbuffer_output.
17365 * gdb.base/call-strs.exp: Adjust to step over the
17366 gdb_unbuffer_output call.
17367 * gdb.base/catch-gdb-caused-signals.c: Include
17368 "../lib/unbuffer_output.c".
17369 (main): Call gdb_unbuffer_output.
17370 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
17371 (main): Call gdb_unbuffer_output.
17372 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
17373 (main): Call gdb_unbuffer_output.
17374 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
17375 (main): Call gdb_unbuffer_output.
17376 * gdb.base/shlib-call.exp: Adjust to step over the
17377 gdb_unbuffer_output call.
17378 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
17379 (main): Call gdb_unbuffer_output.
17380 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
17381 (main): Call gdb_unbuffer_output.
17382 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
17383 (main): Rename to ...
17385 (main): Reimplement.
17386 * gdb.base/varargs.exp: Run to test instead of to main.
17387 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
17388 (main): Call gdb_unbuffer_output.
17390 2015-07-29 Pedro Alves <palves@redhat.com>
17392 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
17393 factore out from mi_continue_dprintf. For call-style dprintfs,
17394 expect dprintf output out of $inferior_spawn_id.
17395 (mi_continue_dprintf): Use mi_expect_dprintf.
17396 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
17397 (main): Call gdb_unbuffer_output.
17399 2015-07-29 Pedro Alves <palves@redhat.com>
17401 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
17402 (default_mi_gdb_start): Set inferior_spawn_id instead of
17403 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
17405 (mi_gdb_test): Always expect inferior output from both
17406 $inferior_spawn_id and $gdb_spawn_id.
17408 2015-07-29 Pedro Alves <palves@redhat.com>
17410 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
17411 send_inferior and $inferior_spawn_id.
17413 2015-07-29 Pedro Alves <palves@redhat.com>
17415 * gdb.gdb/complaints.exp (test_initial_complaints)
17416 (test_serial_complaints, test_short_complaints): Use
17418 (test_empty_complaint): Handle $inferior_spawn_id !=
17421 2015-07-29 Pedro Alves <palves@redhat.com>
17423 * gdb.base/varargs.exp: Use gdb_test_stdio.
17425 2015-07-29 Pedro Alves <palves@redhat.com>
17427 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
17429 2015-07-29 Pedro Alves <palves@redhat.com>
17431 * gdb.base/ending-run.exp: Use gdb_test_stdio.
17433 2015-07-29 Pedro Alves <palves@redhat.com>
17435 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
17436 parameter into two new parameters, "inf_result" and "gdb_result".
17437 Expect inferior output and gdb output from $inferior_spawn_id and
17438 $gdb_spawn_id, respectively. Adjust all callers.
17440 2015-07-29 Pedro Alves <palves@redhat.com>
17442 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
17443 of gdb_test_sequence.
17445 2015-07-29 Pedro Alves <palves@redhat.com>
17447 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
17448 (saw_spurious_output): Expect inferior output from
17449 $inferior_spawn_id. Use gdb_test_stdio.
17451 2015-07-29 Pedro Alves <palves@redhat.com>
17453 * gdb.base/dprintf.exp: Use standard_testfile. Change
17454 prepare_for_testing call.
17455 (srcfile): Don't set.
17456 (restart): New procedure.
17457 (test_dprintf): New procecure, use to continue over dprintfs.
17458 (test_call, test_agent): New procedures, tests moved here.
17459 Restart gdb and recreate dprintfs. Adjust expected output.
17461 2015-07-29 Pedro Alves <palves@redhat.com>
17463 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
17465 2015-07-29 Pedro Alves <palves@redhat.com>
17467 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
17469 2015-07-29 Pedro Alves <palves@redhat.com>
17471 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
17474 2015-07-29 Pedro Alves <palves@redhat.com>
17476 * lib/gdb.exp (gdb_test_stdio): New procedure.
17478 2015-07-29 Pedro Alves <palves@redhat.com>
17480 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
17482 2015-07-29 Pedro Alves <palves@redhat.com>
17484 * gdb.base/call-signal-resume.exp: Remove check for
17485 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
17486 * gdb.base/unwindonsignal.exp: Likewise.
17487 * gdb.base/call-signals.c (gen_signal): Remove printf call.
17488 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
17490 2015-07-29 Pedro Alves <palves@redhat.com>
17492 * gdb.base/siginfo-addr.c (pass): New function.
17493 (handler): Call it iff si_addr is correct.
17494 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
17495 Set a breakpoint at "pass" and continue to it.
17497 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
17499 * gdb.python/py-objfile.exp: Make some tests have unique names.
17500 * gdb.python/py-pp-registration.exp: Likewise.
17502 2015-07-28 Pedro Alves <palves@redhat.com>
17504 * gdb.server/server-exec-info.exp: Issue a "disconnect".
17506 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
17508 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
17510 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
17512 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
17514 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
17516 * gdb.base/gdb-sigterm-2.exp: New test.
17518 2015-07-25 Doug Evans <xdje42@gmail.com>
17521 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
17522 (workers/%.worker, build-perf): New rule.
17523 (GDB_PERFTEST_MODE): New variable.
17524 (check-perf): Use it.
17525 (clean): Clean up gdb.perf parallel build subdirs.
17526 * lib/build-piece.exp: New file.
17527 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
17528 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
17530 (standard_temp_file): Ditto.
17531 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
17534 2015-07-24 Doug Evans <dje@google.com>
17536 * gdb.perf/lib/perftest/utils.py: New file.
17537 * gdb.perf/gm-hello.cc: New file.
17538 * gdb.perf/gm-pervasive-typedef.cc: New file.
17539 * gdb.perf/gm-pervasive-typedef.h: New file.
17540 * gdb.perf/gm-std.cc: New file.
17541 * gdb.perf/gm-std.h: New file.
17542 * gdb.perf/gm-use-cerr.cc: New file.
17543 * gdb.perf/gm-utils.h: New file.
17544 * gdb.perf/gmonster-null-lookup.py: New file.
17545 * gdb.perf/gmonster-pervasive-typedef.py: New file.
17546 * gdb.perf/gmonster-print-cerr.py: New file.
17547 * gdb.perf/gmonster-ptype-string.py: New file.
17548 * gdb.perf/gmonster-runto-main.py: New file.
17549 * gdb.perf/gmonster-select-file.py: New file.
17550 * gdb.perf/gmonster1-null-lookup.exp: New file.
17551 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
17552 * gdb.perf/gmonster1-print-cerr.exp: New file.
17553 * gdb.perf/gmonster1-ptype-string.exp: New file.
17554 * gdb.perf/gmonster1-runto-main.exp: New file.
17555 * gdb.perf/gmonster1-select-file.exp: New file.
17556 * gdb.perf/gmonster1.cc: New file.
17557 * gdb.perf/gmonster1.exp: New file.
17558 * gdb.perf/gmonster2-null-lookup.exp: New file.
17559 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
17560 * gdb.perf/gmonster2-print-cerr.exp: New file.
17561 * gdb.perf/gmonster2-ptype-string.exp: New file.
17562 * gdb.perf/gmonster2-runto-main.exp: New file.
17563 * gdb.perf/gmonster2-select-file.exp: New file.
17564 * gdb.perf/gmonster2.cc: New file.
17565 * gdb.perf/gmonster2.exp: New file.
17567 2015-07-24 Doug Evans <dje@google.com>
17569 * gdb.perf/README: New file.
17570 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
17571 * lib/gen-perf-test.exp: New file.
17573 2015-07-24 Doug Evans <dje@google.com>
17575 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
17576 (PerfTest::startup): New function.
17577 (PerfTest::run): Return result of calling body.
17578 (PerfTest::assemble): Rewrite.
17579 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
17580 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
17581 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
17582 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
17583 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
17585 2015-07-24 Doug Evans <dje@google.com>
17587 * lib/gdb.exp (clean_restart): Make executable optional.
17589 2015-07-24 Doug Evans <dje@google.com>
17591 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
17592 compiler_info references.
17593 * gdb.cp/temargs.exp: Ditto.
17594 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
17595 (get_compiler_info): Early exit if already computed. Set compiler_info
17596 to "unknown" if there was a problem.
17597 (test_compiler_info): Add function comment. Call get_compiler_info.
17599 2015-07-24 Doug Evans <dje@google.com>
17601 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
17602 (workers/%.worker, build-perf): New rule.
17603 (GDB_PERFTEST_MODE): New variable.
17604 (check-perf): Use it.
17605 (clean): Clean up gdb.perf parallel build subdirs.
17606 * lib/build-piece.exp: New file.
17607 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
17608 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
17610 (standard_temp_file): Ditto.
17611 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
17614 2015-07-24 Doug Evans <dje@google.com>
17616 * lib/future.exp (gdb_default_target_compile): New option
17618 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
17621 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
17623 * gdb.base/catch-syscall.exp: Call gdb_exit before
17626 2015-07-24 Pedro Alves <palves@redhat.com>
17628 * gdb.python/py-events.exp: Accept output between the stop event
17630 * gdb.python/py-evsignal.exp: Likewise.
17631 * gdb.python/py-evthreads.exp: Likewise.
17633 2015-07-24 Pedro Alves <palves@redhat.com>
17636 * gdb.threads/non-ldr-exit.c: New file.
17637 * gdb.threads/non-ldr-exit.exp: New file.
17639 2015-07-24 Yao Qi <yao.qi@linaro.org>
17641 * gdb.server/ext-wrapper.exp: Test --wrapper option when
17642 restarting process.
17644 2015-07-24 Yao Qi <yao.qi@linaro.org>
17646 * gdb.server/ext-restart.exp: New file.
17648 2015-07-24 Yao Qi <yao.qi@linaro.org>
17650 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
17652 * gdb.server/ext-wrapper.exp: New file.
17654 2015-07-23 Doug Evans <dje@google.com>
17656 * gdb.dwarf2/dw2-dummy-cu.S: New file.
17657 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
17659 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
17661 * gdb.ada/var_arr_typedef.exp: New testcase.
17662 * gdb.ada/var_arr_typedef/pack.adb: New file.
17663 * gdb.ada/var_arr_typedef/pack.ads: New file.
17664 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
17666 2015-07-20 Joel Brobecker <brobecker@adacore.com>
17668 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
17670 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17672 * gdb.arch/i386-biarch-core.exp: Replace istarget
17673 by "complete set gnutarget". Remove expectation for the "core-file"
17676 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
17678 Revert the previous commit:
17679 Tests for validate symbol file using build-id.
17681 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
17683 Tests for validate symbol file using build-id.
17684 * gdb.base/solib-mismatch-lib.c: New file.
17685 * gdb.base/solib-mismatch-libmod.c: New file.
17686 * gdb.base/solib-mismatch.c: New file.
17687 * gdb.base/solib-mismatch.exp: New file.
17689 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
17691 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
17693 * gdb.base/sigbpt.exp (stepi_out): Likewise.
17694 * gdb.base/siginfo.exp: Likewise.
17695 * gdb.base/sigstep.exp (advance, advancei): Likewise.
17697 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
17699 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
17701 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
17703 * gdb.trace/range-stepping.exp: Check that the target supports
17706 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
17708 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
17710 2015-07-14 Pedro Alves <palves@redhat.com>
17712 * gdb.base/killed-outside.exp: New file.
17713 * gdb.base/killed-outside.c: New file.
17715 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
17717 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
17719 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
17721 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
17723 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
17724 infcall tests instead of setting up for KFAIL.
17726 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
17728 * gdb.btrace/record_goto-step.exp: New.
17730 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
17733 * gdb.compile/compile.c (struct struct_type): Add volatile to
17735 * gdb.compile/compile.exp
17736 (compile code struct_object.selffield = &struct_object): Skip further
17737 struct_object tests if this one xfails.
17739 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
17742 * gdb.trace/ax.exp: Add test.
17744 2015-07-07 Yao Qi <yao.qi@linaro.org>
17746 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
17747 instead of istarget "aarch64*-*-*".
17748 * gdb.arch/aarch64-fp.exp: Likewise.
17749 * gdb.base/float.exp: Likewise.
17750 * gdb.reverse/aarch64.exp: Likewise.
17751 * lib/gdb.exp (is_aarch64_target): New proc.
17753 2015-07-07 Yao Qi <yao.qi@linaro.org>
17755 * lib/gdb.exp (is_aarch32_target): New proc.
17756 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
17757 instead of "istarget "arm*-*-*"".
17758 * gdb.arch/arm-disp-step.exp: Likewise.
17759 * gdb.arch/thumb-bx-pc.exp: Likewise.
17760 * gdb.arch/thumb-prologue.exp: Likewise.
17761 * gdb.arch/thumb-singlestep.exp: Likewise.
17762 * gdb.base/disp-step-syscall.exp: Likewise.
17763 * gdb.base/float.exp: Likewise.
17765 2015-07-07 Yao Qi <yao.qi@linaro.org>
17767 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
17768 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
17770 2015-07-07 Yao Qi <yao.qi@linaro.org>
17772 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
17773 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
17775 * gdb.multi/multi-arch.exp: Likewise.
17777 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
17779 * gdb.python/py-lazy-string.exp: Add missing parentheses to
17782 2015-07-07 Yao Qi <yao.qi@linaro.org>
17784 * gdb.arch/thumb-singlestep.exp: Do one more single step.
17786 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
17788 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
17789 '[' and ']' characters.
17791 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
17793 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
17795 2015-06-29 Pedro Alves <palves@redhat.com>
17798 * gdb.threads/hand-call-new-thread.c: New file.
17799 * gdb.threads/hand-call-new-thread.c: New file.
17801 2015-06-26 Keith Seitz <keiths@redhat.com>
17802 Doug Evans <dje@google.com>
17805 * gdb.cp/var-tag-2.cc: New file.
17806 * gdb.cp/var-tag-3.cc: New file.
17807 * gdb.cp/var-tag-4.cc: New file.
17808 * gdb.cp/var-tag.cc: New file.
17809 * gdb.cp/var-tag.exp: New file.
17811 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
17813 * gdb.base/history-duplicates.exp: New test.
17815 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
17817 * gdb.base/completion.exp: Test the completion of the "focus"
17820 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
17822 * gdb.arch/amd64-prologue-skip.S: New file.
17823 * gdb.arch/amd64-prologue-skip.exp: New file.
17825 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
17827 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
17828 is_address_zero_readable check.
17830 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
17832 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
17833 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
17835 2015-06-24 Yao Qi <yao.qi@linaro.org>
17837 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
17840 2015-06-24 Yao Qi <yao.qi@linaro.org>
17842 * lib/gdb.exp (supports_get_siginfo_type): New proc.
17843 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
17844 * gdb.base/siginfo-thread.exp: Likewise.
17846 2015-06-22 Yao Qi <yao.qi@linaro.org>
17848 * boards/remote-gdbserver-on-localhost.exp: Add comments.
17850 2015-06-22 Yao Qi <yao.qi@linaro.org>
17852 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
17854 (skip_hw_watchpoint_tests): Likewise.
17856 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
17858 * gdb.base/gdbinit-history.exp: Test the interaction between
17859 setting GDBHISTSIZE and setting the history size via .gdbinit.
17861 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
17864 * gdb.base/gdbhistsize-history.exp: New test.
17866 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
17868 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
17870 * gdb.base/readline.exp: Likewise.
17872 2015-06-17 Yao Qi <yao.qi@linaro.org>
17874 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
17877 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
17879 * gdb.base/gdbinit-history.exp: Add test case to check that
17880 an unlimited history file does not get truncated on exit.
17882 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17884 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
17885 (VECTOR): New macro. Use it...
17886 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
17887 ...for these typedefs.
17888 (int8, char1, int1, double1): New typedefs.
17889 (struct just_int2, struct two_int2): New structures.
17890 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
17891 (add_structvecs, add_singlevecs): New functions.
17892 (main): Call add_some_intvecs twice.
17893 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
17894 the compile and exit upon failure. Try compiling for the "native"
17895 architecture. Test inferior function calls with vector arguments
17896 and vector return value handling with "finish" and "return".
17898 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
17900 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
17901 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
17903 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
17905 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
17907 PR breakpoints/16465
17908 * gdb.mi/mi-dprintf-pending.c: New file.
17909 * gdb.mi/mi-dprintf-pending.exp: New test.
17910 * gdb.mi/mi-dprintf-pendshr.c: New file.
17912 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
17913 Mircea Gherzan <mircea.gherzan@intel.com>
17915 * gdb.arch/i386-mpx-map.c: New file.
17916 * gdb.arch/i386-mpx-map.exp: New File.
17918 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
17920 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
17921 * gdb.arch/i386-mpx.exp: Indentation fixed.
17923 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
17925 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
17926 function and improved indentation.
17927 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
17928 gdb_test_multiple. Added additional tests to skip the test.
17930 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
17932 * gdb.arch/i386-avx512.c: Change path in include file.
17933 * gdb.arch/i386-avx512.exp: Change include dir path
17935 * gdb.arch/i386-mpx.c: Change path in include file.
17936 * gdb.arch/i386-mpx.exp: Change include dir path compilation
17939 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
17941 * gdb.compile/compile-print.exp (compile print *vararray@3)
17942 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
17944 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17946 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
17947 (do not keep jit in memory): ... this.
17948 (expect 5): Change it to ...
17949 (expect no 5): ... this.
17951 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
17954 * gdb.mi/mi-detach.exp: New file.
17956 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
17959 * gdb.arch/amd64-tailcall-self.S: New file.
17960 * gdb.arch/amd64-tailcall-self.c: New file.
17961 * gdb.arch/amd64-tailcall-self.exp: New file.
17963 2015-05-28 Don Breazeal <donb@codesourcery.com>
17965 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
17966 tests for remote targets by checking is_target_gdbserver.
17968 2015-05-27 Doug Evans <dje@google.com>
17970 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
17971 * gdb.dwarf2/opaque-type-lookup.c: New file.
17972 * gdb.dwarf2/opaque-type-lookup.exp: New file.
17974 2015-05-26 Doug Evans <dje@google.com>
17976 * gdb.cp/iostream.cc: New file.
17977 * gdb.cp/iostream.exp: New file.
17979 2015-05-26 Doug Evans <dje@google.com>
17981 * gdb.dwarf2/dw2-op-call.exp: Update.
17982 * gdb.dwarf2/dw4-sig-types.exp: Update.
17983 * gdb.dwarf2/implptr.exp: Update.
17984 * gdb.mi/mi-cmd-param-changed.exp: Update.
17986 2015-05-26 Doug Evans <dje@google.com>
17988 * gdb.python/py-lazy-string.c: New file.
17989 * gdb.python/py-lazy-string.exp: New file.
17990 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
17991 (main): Update. Add estring3.
17992 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
17993 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
17995 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
17996 Yao Qi <yao.qi@linaro.org>
17998 * gdb.reverse/aarch64.c: New.
17999 * gdb.reverse/aarch64.exp: New.
18001 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
18003 * lib/gdb.exp (supports_process_record): Return true for
18005 (supports_reverse): Likewise.
18007 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
18009 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18010 Use with_test_prefix.
18012 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
18014 * gdb.base/completion.exp: Add test for completion of layout
18017 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
18019 * lib/gdb.exp (skip_tui_tests): New proc.
18020 * gdb.base/tui-layout.exp: Check skip_tui_tests.
18022 2015-05-19 Pedro Alves <palves@redhat.com>
18024 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
18025 Save the whole env array instead of just HOME. Unset HISTSIZE in
18026 the environment while testing. Restore whole environment
18029 2015-05-16 Doug Evans <xdje42@gmail.com>
18031 * gdb.guile/scm-ports.c: New file.
18032 * gdb.guile/scm-ports.exp: Add memory port tests.
18034 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18036 * gdb.compile/compile-print.c: New file.
18037 * gdb.compile/compile-print.exp: New file.
18039 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18041 * gdb.compile/compile-ops.exp: Cast param to void.
18042 * gdb.compile/compile.exp: Complete type for _gdb_expr.
18043 (compile code struct_object.selffield = &struct_object): Add xfail.
18045 2015-05-15 Joel Brobecker <brobecker@adacore.com>
18047 * gdb.ada/arr_enum_with_gap: New testcase.
18049 2015-05-15 Joel Brobecker <brobecker@adacore.com>
18051 * gdb.ada/byte_packed_arr: New testcase.
18053 2015-05-15 Joel Brobecker <brobecker@adacore.com>
18055 * gdb.ada/pckd_neg: New testcase.
18057 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
18060 * gdb.base/gdbinit-history.exp: New test.
18061 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
18062 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
18064 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
18066 * gdb.python/py-xmethods.cc: Enhance test case.
18067 * gdb.python/py-xmethods.exp: New tests.
18068 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
18070 (B_indexoper): Likewise.
18071 (global_dm_list) : Add new xmethod worker functions.
18073 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
18075 * gdb.base/coredump-filter.exp: Correctly unset
18076 "coredump_var_addr" array.
18078 2015-05-08 Pedro Alves <palves@redhat.com>
18080 * gdb.server/non-existing-program.exp: Unset spawn_id.
18082 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
18085 * gdb.python/py-xmethods.exp: Add tests.
18087 2015-05-08 Yao Qi <yao.qi@linaro.org>
18090 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
18091 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
18092 function set_coredump_filter, and remove remote_exec call.
18093 Remove argument ipid. Callers update.
18094 (top level): Don't get inferior's PID.
18096 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
18098 * gdb.base/watch_thread_num.exp: Skip test on targets without
18099 access watchpoints.
18101 2015-05-06 Pedro Alves <palves@redhat.com>
18104 * gdb.server/non-existing-program.exp: New file.
18106 2015-05-05 Joel Brobecker <brobecker@adacore.com>
18108 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
18110 2015-05-05 Joel Brobecker <brobecker@adacore.com>
18112 * gdb.ada/out_of_line_in_inlined: New testcase.
18114 2015-05-05 Joel Brobecker <brobecker@adacore.com>
18116 * gdb.ada/var_rec_arr: New testcase.
18118 2015-04-30 Yao Qi <yao.qi@linaro.org>
18120 * gdb.base/break-idempotent.exp: If
18121 skip_hw_watchpoint_multi_tests returns true, skip the tests
18122 on "rwatch" and "awatch".
18124 2015-04-30 Yao Qi <yao.qi@linaro.org>
18126 * gdb.base/relativedebug.exp: Invoke gdb command
18127 "info sharedlibrary", and if libc.so doesn't have debug info,
18130 2015-04-29 Doug Evans <dje@google.com>
18132 * gdb.python/py-xmethods.exp: Add ptype tests.
18133 * gdb.python/py-xmethods.py (E_method_char_worker): Add
18134 get_result_type method.
18136 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
18138 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
18139 the target does not support hardware watchpoints.
18141 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
18143 * gdb.base/break-always.exp: Abort testing if writing to memory
18146 2015-04-28 Doug Evans <dje@google.com>
18148 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
18149 * gdb.python/py-pp-registration.exp: ... here. New file.
18150 * gdb.python/py-pp-registration.c: New file.
18151 * gdb.python/py-pp-registration.py: New file.
18153 2015-04-28 Doug Evans <dje@google.com>
18155 * gdb.python/py-bad-printers.c: New file.
18156 * gdb.python/py-bad-printers.py: New file.
18157 * gdb.python/py-bad-printers.exp: New file.
18159 2015-04-28 Sasha Smundak <asmundak@google.com>
18161 * gdb.python/py-type.exp: New test.
18163 2015-04-28 Andy Wingo <wingo@igalia.com>
18165 * gdb.python/py-parameter.exp:
18166 * gdb.guile/scm-parameter.exp: Escape the path that we are
18167 matching against, as it might contain characters that are special
18168 to regular expressions.
18170 2015-04-27 Joel Brobecker <brobecker@adacore.com>
18172 * gdb.ada/rec_comp: New testcase.
18174 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
18176 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
18179 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
18181 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
18182 new tests for verilog output.
18184 2015-04-24 Yao Qi <yao.qi@linaro.org>
18186 * boards/remote-gdbserver-on-localhost.exp: New file.
18188 2015-04-23 Pedro Alves <palves@redhat.com>
18190 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
18191 $inferior_spawn_id instead of $inferior_spawn_id directly. On
18192 "end of file", remove $inferior_spawn_id from the indirect list.
18194 2015-04-23 Pedro Alves <palves@redhat.com>
18196 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
18198 2015-04-23 Pedro Alves <palves@redhat.com>
18200 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
18201 on $any_spawn_id instead of only on $gdb_spawn_id.
18203 2015-04-21 Pierre Muller <muller@sourceware.org>
18206 * lib/pascal.exp (gpc_compile): Add new option "class".
18207 (fpc_compile): Likewise.
18208 * gdb.pascal/case-insensitive-symbols.pas: New file.
18209 * gdb.pascal/case-insensitive-symbols.exp: New file.
18211 2015-04-20 Gary Benson <gbenson@redhat.com>
18213 * gdb.base/attach.exp: Fix three extended remote failures.
18215 2015-04-17 Gary Benson <gbenson@redhat.com>
18217 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
18218 the main executable over the remote protocol.
18220 2015-04-16 Pedro Alves <palves@redhat.com>
18222 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
18223 a new gdbserver if gdbserver_reconnect_p is set.
18225 2015-04-16 Pedro Alves <palves@redhat.com>
18227 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
18228 is set, don't exit gdbserver.
18230 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
18232 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
18233 appropriate .insn, such that an older assembler can be used.
18234 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
18235 the z/Architecture instruction set on 31-bit targets as well.
18237 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
18239 * gdb.go/handcall.exp: Remove all logic related to the first
18240 breakpoint and rely on go_runto_main instead.
18241 * gdb.go/strings.exp: Likewise.
18242 * gdb.go/unsafe.exp: Likewise.
18243 * gdb.go/hello.exp: Likewise. Also rename the remaining
18244 breakpoint marker to "breakpoint 1".
18245 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
18246 * gdb.go/strings.go: Likewise.
18247 * gdb.go/unsafe.go: Likewise.
18248 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
18249 "set breakpoint 2 here" and rename the remaining breakpoint marker
18252 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
18254 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
18255 if itertools.imap is not present.
18256 * gdb.python/py-objfile.exp: Add parentheses.
18257 * gdb.python/py-type.exp: Same.
18258 * gdb.python/py-unwind-maint.py: Same.
18260 2015-04-15 Yao Qi <yao.qi@linaro.org>
18262 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
18263 of ":$ptr_size" and set its form explicitly.
18265 2015-04-15 Pedro Alves <palves@redhat.com>
18266 Yao Qi <yao.qi@linaro.org>
18268 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
18269 timeout by factor of 4.
18270 (test_regular_watch): Likewise.
18271 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
18272 * gdb.reverse/sigall-reverse.exp: Likewise.
18273 * gdb.reverse/until-precsave.exp: Likewise.
18274 * lib/gdb.exp (with_timeout_factor): New proc.
18275 (gdb_expect): Move some code to ...
18276 (get_largest_timeout): ... here. New procedure.
18278 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
18280 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
18282 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
18284 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
18285 to write to the .text section.
18287 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
18289 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
18290 Handle the case of targets that do not provide PID information.
18292 2015-04-13 Yao Qi <yao.qi@linaro.org>
18294 * lib/gdbserver-support.exp (gdb_exit): Catch exception
18295 and use expect instead of gdb_expect.
18297 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
18299 * gdb.base/coredump-filter.exp: Rename variable "addr" to
18300 "coredump_var_addr" to avoid naming conflict with other testcases.
18302 2015-04-10 Pedro Alves <palves@redhat.com>
18304 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
18305 gdb_test_sequence and gdb_assert.
18307 2015-04-10 Pedro Alves <palves@redhat.com>
18309 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
18310 test messages that don't include the breakpoint address.
18312 2015-04-10 Yao Qi <yao.qi@linaro.org>
18314 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
18315 false for some offset and width combinations which aren't
18316 supported by linux kernel.
18318 2015-04-10 Pedro Alves <palves@redhat.com>
18320 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
18321 procedure, factored out from ...
18322 (top level): ... here. Add "set displaced-stepping" testing axis.
18323 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
18324 parameter "displaced". Use it.
18325 (top level): Use foreach and add "set displaced-stepping" testing
18328 2015-04-10 Pedro Alves <palves@redhat.com>
18330 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
18332 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
18333 both the address of the instruction that triggers the watchpoint
18334 and the address of the instruction immediately after, and use
18335 those addresses for the test. Fix comment.
18337 2015-04-10 Pedro Alves <palves@redhat.com>
18339 * gdb.base/sigstep.exp (breakpoint_to_handler)
18340 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
18341 Test "backtrace" in handler.
18342 (breakpoint_over_handler): New parameter 'displaced'. Use it.
18343 (top level): Add new "displaced" test axis to
18344 breakpoint_to_handler, breakpoint_to_handler_entry and
18345 breakpoint_over_handler.
18347 2015-04-10 Pedro Alves <palves@redhat.com>
18350 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
18352 2015-04-10 Yao Qi <yao.qi@linaro.org>
18354 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
18355 (test_add_rn_pc): New function.
18356 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
18357 (top level): Invoke test_add_rn_pc.
18359 2015-04-10 Pedro Alves <palves@redhat.com>
18362 * gdb.base/step-over-no-symbols.exp: New file.
18364 2015-04-09 Andy Wingo <wingo@igalia.com>
18366 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
18367 after the Python tests.
18369 2015-04-08 Keith Seitz <keiths@redhat.com>
18372 * gdb.python/py-completion.exp: New tests for completion.
18373 * gdb.python/py-completion.py (CompleteLimit1): New class.
18374 (CompleteLimit2): Likewise.
18375 (CompleteLimit3): Likewise.
18376 (CompleteLimit4): Likewise.
18377 (CompleteLimit5): Likewise.
18378 (CompleteLimit6): Likewise.
18379 (CompleteLimit7): Likewise.
18381 2015-04-08 Pedro Alves <palves@redhat.com>
18385 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
18387 (main): Install it as SIGUSR1 handler.
18388 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
18389 parameter. Always use "setup" as prefix. Toggle "set
18390 displaced-stepping" off/on depending on global. Don't switch to
18392 (top level): Add displaced stepping "off/on" test axis. Update
18393 "setup" calls. Wrap each subtest with with_test_prefix. Test
18394 continuing with a queued signal in each thread.
18396 2015-04-08 Pedro Alves <palves@redhat.com>
18398 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
18399 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
18400 gdb_breakpoint instead of gdb_test that doesn't expect anything.
18401 Return early if running to main fails.
18402 * gdb.trace/while-stepping.exp: Likewise.
18404 2015-04-07 Pedro Alves <palves@redhat.com>
18406 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
18407 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
18408 interact with inferior program.
18410 2015-04-07 Pedro Alves <palves@redhat.com>
18412 * lib/gdb.exp (inferior_spawn_id): New global.
18413 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
18414 spawn id after processing the user code.
18415 (default_gdb_start): Set inferior_spawn_id.
18416 (send_inferior): New procedure.
18417 * lib/gdbserver-support.exp (gdbserver_start): Set
18419 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
18421 2015-04-07 Pedro Alves <palves@redhat.com>
18423 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
18424 * lib/gdbserver-support.exp (gdbserver_start): Make
18425 $server_spawn_id global.
18426 (gdbserver_start): Don't wait for gdbserver's spawn id with
18428 (close_gdbserver): New procedure.
18429 (gdb_exit): Rename the default version and reimplement.
18431 2015-04-07 Pedro Alves <palves@redhat.com>
18433 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
18434 append the substituted item, not the original item.
18436 2015-04-07 Pedro Alves <palves@redhat.com>
18438 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
18441 2015-04-07 Pedro Alves <palves@redhat.com>
18443 * gdb.base/interrupt.exp: Don't handle the case of the inferior
18444 output appearing once only.
18446 2015-04-07 Pedro Alves <palves@redhat.com>
18448 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
18449 that doesn't expect anything. Return early if running to main
18452 2015-04-07 Yao Qi <yao.qi@linaro.org>
18454 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
18455 (child_function): Call alarm.
18456 (main): Move call to alarm into the loop.
18457 * gdb.threads/non-stop-fair-events.exp: Build program with
18458 -DTIMEOUT=$timeout.
18460 2015-04-06 Doug Evans <xdje42@gmail.com>
18462 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
18463 Fix dest parameter to board_info.
18464 (fpc_compile): Ditto.
18465 (gdb_compile_pascal): Rename dest arg to destfile.
18467 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
18469 * gdb.ada/funcall_ref.exp: New file.
18470 * gdb.ada/funcall_ref/foo.adb: New file.
18472 2015-04-02 Yao Qi <yao.qi@linaro.org>
18474 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
18477 2015-04-02 Gary Benson <gbenson@redhat.com>
18479 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
18481 2015-04-01 Sasha Smundak <asmundak@google.com>
18483 * gdb.python/py-unwind-maint.c: New file.
18484 * gdb.python/py-unwind-maint.exp: New test.
18485 * gdb.python/py-unwind-maint.py: New file.
18486 * gdb.python/py-unwind.c: New file.
18487 * gdb.python/py-unwind.exp: New test.
18488 * gdb.python/py-unwind.py: New test.
18490 2015-04-01 Pedro Alves <palves@redhat.com>
18492 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
18493 to fail instead of non-existent $test.
18495 2015-04-01 Pedro Alves <palves@redhat.com>
18497 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
18498 GDBFLAGS if not empty.
18500 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
18502 * gdb.ada/complete.exp: Remove "multi_line".
18503 * gdb.ada/info_exc.exp: Remove "multi_line".
18504 * gdb.ada/packed_tagged.exp: Remove "multi_line".
18505 * gdb.ada/ptype_field.exp: Remove "multi_line".
18506 * gdb.ada/sym_print_name.exp: Remove "multi_line".
18507 * gdb.ada/tagged.exp: Remove "multi_line".
18508 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
18510 * gdb.btrace/delta.exp: Likewise.
18511 * gdb.btrace/exception.exp: Likewise.
18512 * gdb.btrace/function_call_history.exp: Likewise.
18513 * gdb.btrace/instruction_history.exp: Likewise.
18514 * gdb.btrace/nohist.exp: Likewise.
18515 * gdb.btrace/record_goto.exp: Likewise.
18516 * gdb.btrace/segv.exp: Likewise.
18517 * gdb.btrace/stepi.exp: Likewise.
18518 * gdb.btrace/tailcall.exp: Likewise.
18519 * gdb.btrace/unknown_functions.exp: Likewise.
18520 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
18521 * lib/gdb.exp: Add the "multi_line" helper.
18523 2015-04-01 Pedro Alves <palves@redhat.com>
18525 * gdb.threads/tid-reuse.c: New file.
18526 * gdb.threads/tid-reuse.exp: New file.
18528 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
18531 * gdb.base/coredump-filter.c: New file.
18532 * gdb.base/coredump-filter.exp: Likewise.
18534 2015-03-27 Petr Machata <pmachata@redhat.com>
18536 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
18537 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
18538 (Dwarf::assemble): Initialize them.
18539 (Dwarf::lines): New function.
18541 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
18543 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
18544 SYMBOL_PREFIX for x86_64-*-cygwin.
18546 2015-03-26 Andy Wingo <wingo@igalia.com>
18549 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
18550 const_value but not a location.
18551 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
18552 location defined in non-main CUs are visible.
18554 2015-03-26 Yao Qi <yao.qi@linaro.org>
18557 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
18558 Add a line number entry for the same line.
18559 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
18560 Add a line number entry for the same line.
18562 2015-03-26 Yao Qi <yao.qi@linaro.org>
18564 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
18566 (func): Likewise. Add .Lfunc_1 label.
18567 Use .Lfunc_1 label.
18568 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
18571 Use .Lfunc_1 label.
18573 2015-03-26 Yao Qi <yao.qi@linaro.org>
18575 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
18576 Call gdb_compile instead to compile each .s files without debug
18579 2015-03-26 Yao Qi <yao.qi@linaro.org>
18581 * gdb.base/savedregs.exp (process_saved_regs): Make
18582 "Saved registers:" optional in the pattern.
18584 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
18586 * gdb.btrace/next.exp: Merged into step.exp.
18587 * gdb.btrace/finish.exp: Merged into step.exp.
18588 * gdb.btrace/nexti.exp: Merged into stepi.exp.
18589 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
18590 "record goto" and checking the exact replay position.
18591 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
18592 check for "Recording format" in "info record" output.
18593 * gdb.btrace/record_goto.exp: Choose test file based on target.
18594 * gdb.btrace/x86-record_goto.S: Renamed into ...
18595 * gdb.btrace/x86_64-record_goto.S: ... this.
18596 * gdb.btrace/i686-record_goto.S: New.
18597 * gdb.btrace/x86-tailcall.S: Renamed into ...
18598 * gdb.btrace/x86_64-tailcall.S: ... this.
18599 * gdb.btrace/i686-tailcall.S: New.
18600 * gdb.btrace/x86-tailcall.c: Renamed into ...
18601 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
18602 separate statements. Update test.
18603 * gdb.btrace/delta.exp: Use record_goto.c as test file.
18604 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
18605 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
18606 * gdb.btrace/tailcall.exp: Choose test file based on target.
18607 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
18609 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
18611 * gdb.btrace/exception.exp: Increase BTS buffer size.
18613 2015-03-24 Pedro Alves <palves@redhat.com>
18615 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
18617 2015-03-24 Pedro Alves <palves@redhat.com>
18619 * gdb.threads/schedlock.exp (test_step): No longer expect that
18620 "set scheduler-locking step" with "next" over a function call runs
18623 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
18625 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
18627 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
18629 PR breakpoints/16466
18630 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
18631 * gdb.mi/mi-pending.c (thread_func): New function.
18632 (int main): Add threading support required.
18633 * gdb.mi/mi-pending.exp: Add tests for this issue.
18634 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
18635 (pendfunc2): Remove stdio dependency.
18636 * gdb.mi/mi-pendshr2.c: New file.
18638 2015-03-23 Keith Seitz <keiths@redhat.com>
18640 * gdb.linespec/keywords.c: New file.
18641 * gdb.linespec/keywords.exp: New file.
18643 2015-03-23 Keith Seitz <keiths@redhat.com>
18646 * gdb.dwarf2/staticvirtual.exp: New test.
18648 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
18650 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
18651 * README: Remove HP-UX and gdb.hp.
18653 * configure: Regenerate.
18654 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
18655 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
18656 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
18657 gdb.hp/gdb.defects/Makefile.
18658 * gdb.hp/Makefile.in: File deleted.
18659 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
18660 * gdb.hp/gdb.aCC/optimize.c: File deleted.
18661 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
18662 * gdb.hp/gdb.aCC/run.c: File deleted.
18663 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
18664 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
18665 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
18666 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
18667 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
18668 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
18669 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
18670 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
18671 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
18672 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
18673 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
18674 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
18675 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
18676 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
18677 * gdb.hp/gdb.base-hp/reg.s: File deleted.
18678 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
18679 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
18680 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
18681 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
18682 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
18683 * gdb.hp/gdb.compat/Makefile.in: File deleted.
18684 * gdb.hp/gdb.compat/average.c: File deleted.
18685 * gdb.hp/gdb.compat/sum.c: File deleted.
18686 * gdb.hp/gdb.compat/xdb.c: File deleted.
18687 * gdb.hp/gdb.compat/xdb0.c: File deleted.
18688 * gdb.hp/gdb.compat/xdb0.h: File deleted.
18689 * gdb.hp/gdb.compat/xdb1.c: File deleted.
18690 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
18691 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
18692 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
18693 * gdb.hp/gdb.defects/Makefile.in: File deleted.
18694 * gdb.hp/gdb.defects/bs14602.c: File deleted.
18695 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
18696 * gdb.hp/gdb.defects/solib-d.c: File deleted.
18697 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
18698 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
18699 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
18700 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
18701 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
18702 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
18703 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
18704 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
18705 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
18706 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
18707 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
18708 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
18709 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
18710 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
18711 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
18712 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
18713 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
18714 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
18715 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
18716 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
18717 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
18718 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
18719 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
18720 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
18721 * gdb.hp/tools/odump: File deleted.
18723 2015-03-19 Pedro Alves <palves@redhat.com>
18725 * gdb.threads/continue-pending-status.exp (saw_thread_2)
18726 (saw_thread_3): New globals.
18727 (top level): Increment them when an event for the corresponding
18729 (no thread starvation): New test.
18731 2015-03-19 Pedro Alves <palves@redhat.com>
18733 * gdb.threads/continue-pending-status.c: New file.
18734 * gdb.threads/continue-pending-status.exp: New file.
18736 2015-03-18 Pedro Alves <palves@redhat.com>
18738 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
18739 Use gdb_is_target_remote instead of is_remote. Use
18740 gdb_test_multiple instead of gdb_expect. Exit early if
18741 gdb_test_multiple hits its internal matches. Tighten stepi tests
18742 expected output. Fail on exit with any signal, instead of just
18745 2015-03-18 Yao Qi <yao.qi@linaro.org>
18748 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
18750 * gdb.base/catch-syscall.exp: Don't skip it on
18751 aarch64*-*-linux* target. Remove elements in all_syscalls.
18752 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
18754 (setup_all_syscalls): New proc.
18756 2015-03-16 Yao Qi <yao.qi@linaro.org>
18758 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
18759 (top level): Skip tests if valid_addr_p returns false for
18762 2015-03-11 Andy Wingo <wingo@igalia.com>
18764 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
18766 2015-03-11 Yao Qi <yao.qi@linaro.org>
18768 * gdb.base/catch-syscall.exp: Fix typo in comments.
18770 2015-03-11 Yao Qi <yao.qi@linaro.org>
18772 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
18774 2015-03-09 Pedro Alves <palves@redhat.com>
18776 * dg-extract-results.py: Delete.
18778 2015-03-09 Pedro Alves <palves@redhat.com>
18780 Merge dg-extract-results.sh from GCC upstream (r218843).
18782 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
18783 * dg-extract-results.sh: Use --text with grep to avoid issues with
18784 binary files. Fall back to cat -v, if that doesn't work.
18786 2015-03-05 Pedro Alves <palves@redhat.com>
18788 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
18790 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
18792 * lib/mi-support.exp (mi_expect_interrupt): Accept
18793 alternative event for when in all-stop mode.
18795 2015-03-04 Pedro Alves <palves@redhat.com>
18797 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
18799 2015-03-04 Mark Kettenis <kettenis@gnu.org>
18801 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
18803 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
18805 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
18806 regexps for GDB's current line display, accept a hex address
18807 preceding the line number.
18809 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
18811 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
18812 the 'arch1' variable for "s390*-linux*" targets.
18814 2015-03-04 Pedro Alves <palves@redhat.com>
18816 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
18817 (main): Pass missing retval argument to pthread_join call.
18819 2015-03-02 Pedro Alves <palves@redhat.com>
18821 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
18822 (top level): Call do_test with non-stop as well.
18824 2015-03-02 Pedro Alves <palves@redhat.com>
18826 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
18829 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
18831 * gdb.arch/s390-vregs.exp: New test.
18832 * gdb.arch/s390-vregs.S: New file.
18834 2015-02-27 Pedro Alves <palves@redhat.com>
18836 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
18837 call to catch_command_errors.
18838 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
18839 catch_command_errors.
18841 2015-02-27 Pedro Alves <palves@redhat.com>
18843 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
18844 "true" for boolean result.
18845 * gdb.gdb/selftest.exp (test_with_self): Also accept full
18848 2015-02-27 Pedro Alves <palves@redhat.com>
18850 * lib/unbuffer_output.c: New file.
18851 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
18852 (main): Call gdb_unbuffer_output.
18854 2015-02-27 Yao Qi <yao.qi@linaro.org>
18856 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
18859 2015-02-26 Doug Evans <dje@google.com>
18861 * gdb.cp/class2.cc (Dbase, D): New classes.
18862 (main): New local delta.
18863 * gdb.cp/class2.exp: Test printing delta.
18864 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
18865 (dynbar): New global.
18866 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
18868 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
18870 * gdb.compile/compile-ifunc.c: New file.
18871 * gdb.compile/compile-ifunc.exp: New file.
18873 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
18875 * gdb.base/structs.exp: Check for correct struct on finish.
18877 2015-02-26 Yao Qi <yao.qi@linaro.org>
18879 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
18882 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
18884 * gdb.arch/cordic.ko.bz2: New file.
18885 * gdb.arch/cordic.ko.debug.bz2: New file.
18886 * gdb.arch/ppc64-symtab-cordic.exp: New file.
18888 2015-02-25 Yao Qi <yao.qi@linaro.org>
18890 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
18891 aarch64*-*-* target.
18893 2015-02-23 Pedro Alves <palves@redhat.com>
18895 * lib/gdb.exp (delete_breakpoints): Rewrite using
18898 2015-02-23 Pedro Alves <palves@redhat.com>
18900 * gdb.base/info-os.c: Include stdlib.h.
18902 2015-02-22 Doug Evans <xdje42@gmail.com>
18905 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
18906 is read after symbols have been re-read.
18907 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
18908 * gdb.ada/exec_changed/second.adb (Second): Ditto.
18910 2015-02-21 Doug Evans <dje@google.com>
18912 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
18914 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
18917 * gdb.arch/i386-biarch-core.core.bz2: New file.
18918 * gdb.arch/i386-biarch-core.exp: New file.
18920 2015-02-21 Pedro Alves <palves@redhat.com>
18922 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
18925 2015-02-20 Pedro Alves <palves@redhat.com>
18927 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
18930 2015-02-20 Pedro Alves <palves@redhat.com>
18932 * gdb.threads/multi-create-ns-info-thr.exp: New file.
18934 2015-02-20 Pedro Alves <palves@redhat.com>
18936 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
18937 clean_restart before gdb_target_supports_trace.
18939 2015-02-20 Pedro Alves <palves@redhat.com>
18942 * gdb.threads/clone-thread_db.c: New file.
18943 * gdb.threads/clone-thread_db.exp: New file.
18945 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
18947 PR breakpoints/16812
18948 * gdb.base/catch-gdb-caused-signals.c: New file.
18949 * gdb.base/catch-gdb-caused-signals.exp: New file.
18951 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
18953 * configure: Regenerated.
18954 * configure.ac: Use GDB_AC_TRANSFORM.
18955 * aclocal.m4: sinclude ../transform.m4.
18957 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
18959 * lib/dtrace.exp: New file.
18960 * gdb.base/dtrace-probe.exp: Likewise.
18961 * gdb.base/dtrace-probe.d: Likewise.
18962 * gdb.base/dtrace-probe.c: Likewise.
18963 * lib/pdtrace.in: Likewise.
18964 * configure.ac: Output variables with the transformed names of
18965 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
18966 * configure: Regenerated.
18968 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
18970 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
18971 expected message when trying to access $_probe_* convenience
18972 variables while not on a probe.
18974 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
18976 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
18978 2015-02-11 Pedro Alves <pedro@codesourcery.com>
18980 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
18981 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
18983 2015-02-10 Doug Evans <xdje42@gmail.com>
18985 * lib/gdb.exp (gdb_load): Always return a result.
18987 2015-02-10 Pedro Alves <palves@redhat.com>
18989 * gdb.threads/signal-sigtrap.c: New file.
18990 * gdb.threads/signal-sigtrap.exp: New file.
18992 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
18994 * gdb.trace/no-attach-trace.c: New file.
18995 * gdb.trace/no-attach-trace.exp: New file.
18997 2015-02-09 Mark Wielaard <mjw@redhat.com>
18999 * gdb.dwarf2/atomic.c: New file.
19000 * gdb.dwarf2/atomic-type.exp: Likewise.
19002 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19004 * gdb.btrace/buffer-size.exp: Update "info record" output.
19005 * gdb.btrace/delta.exp: Update "info record" output.
19006 * gdb.btrace/enable.exp: Update "info record" output.
19007 * gdb.btrace/finish.exp: Update "info record" output.
19008 * gdb.btrace/instruction_history.exp: Update "info record" output.
19009 * gdb.btrace/next.exp: Update "info record" output.
19010 * gdb.btrace/nexti.exp: Update "info record" output.
19011 * gdb.btrace/step.exp: Update "info record" output.
19012 * gdb.btrace/stepi.exp: Update "info record" output.
19013 * gdb.btrace/nohist.exp: Update "info record" output.
19015 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19017 * gdb.btrace/buffer-size: New.
19019 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
19021 * gdb.btrace/delta.exp: Update "info record" output.
19022 * gdb.btrace/enable.exp: Update "info record" output.
19023 * gdb.btrace/finish.exp: Update "info record" output.
19024 * gdb.btrace/instruction_history.exp: Update "info record" output.
19025 * gdb.btrace/next.exp: Update "info record" output.
19026 * gdb.btrace/nexti.exp: Update "info record" output.
19027 * gdb.btrace/step.exp: Update "info record" output.
19028 * gdb.btrace/stepi.exp: Update "info record" output.
19029 * gdb.btrace/nohist.exp: Update "info record" output.
19031 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
19034 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
19036 2015-02-06 Pedro Alves <palves@redhat.com>
19038 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
19040 (seconds_left, again): New globals.
19041 (main): Wait seconds_left in a 1-second sleep loop instead of
19042 sleeping 180 seconds. If 'again' is set, reset the seconds
19044 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
19045 'again' in the inferior before detaching. Print the seconds left.
19046 (options): New global.
19047 (top level): Build program with -DTIMEOUT=$timeout.
19049 2015-02-06 Pedro Alves <palves@redhat.com>
19051 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
19052 determine how many seconds to pass to 'alarm'.
19053 * gdb.base/gdb-sigterm.exp (top level): Build program with
19054 -DTIMEOUT=$timeout.
19055 (do_test): Return success/failure indication. Add more verbose
19056 logging. Don't fail if 200 single steps are seen. Instead, fail
19057 when the test times out.
19058 (passes): New global.
19059 (top level): Break the testing loop if testing fails on any
19060 iteration. Use gdb_assert.
19062 2015-02-04 Don Breazeal <donb@codesourcery.com>
19064 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
19065 and initialize them.
19066 (ipc_cleanup): New function.
19067 (main): Don't declare shmid, semid, and msqid. Add a call to
19068 atexit so that we call ipc_cleanup on exit.
19070 2015-02-04 Pedro Alves <palves@redhat.com>
19072 * boards/native-extended-gdbserver.exp: Remove any target variant
19073 specifications from the board name before clearing the isremote
19074 flag from board_info.
19076 2015-01-31 Doug Evans <xdje42@gmail.com>
19078 * gdb.base/maint.exp <maint print type argc>: Update expected output.
19080 2015-01-31 Gary Benson <gbenson@redhat.com>
19082 * gdb.base/completion.exp: Disable completion limiting for
19083 existing tests. Add new tests to check completion limiting.
19084 * gdb.linespec/ls-errs.exp: Disable completion limiting.
19086 2015-01-31 Doug Evans <xdje42@gmail.com>
19088 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
19090 2015-01-31 Doug Evans <xdje42@gmail.com>
19092 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
19093 entries. Duplicate file section script entries.
19094 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
19095 inlined entries. Add test for safe-path rejection.
19096 * gdb.python/py-section-script.c: Add duplicate inlined section script
19097 entries. Duplicate file section script entries.
19098 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
19099 inlined entries. Add test for safe-path rejection.
19101 2015-01-29 Joel Brobecker <brobecker@adacore.com>
19103 * gdb.ada/disc_arr_bound: New testcase.
19105 2015-01-29 Joel Brobecker <brobecker@adacore.com>
19107 * gdb.ada/mi_var_array: New testcase.
19109 2015-01-27 Doug Evans <dje@google.com>
19111 * gdb.python/py-objfile.exp: Add tests for objfile.username.
19112 Add test for objfile.filename, objfile.username after objfile
19115 2015-01-26 Joel Brobecker <brobecker@adacore.com>
19117 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
19118 the second test to print the name attribute of value
19119 returned by the call to gdb.lookup_type, and adjust
19120 the expected output accordingly.
19122 2015-01-25 Mark Wielaard <mjw@redhat.com>
19124 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
19125 * gdb.base/disp-step-fork.c: Include unistd.h.
19126 * gdb.base/siginfo-obj.c: Include stdio.h.
19127 * gdb.base/siginfo-thread.c: Likewise.
19128 * gdb.mi/non-stop.c: Include unistd.h.
19129 * gdb.mi/nsthrexec.c: Include stdio.h.
19130 * gdb.mi/pthreads.c: Include unistd.h.
19131 * gdb.modula2/unbounded1.c (main): Declare returns int.
19132 * gdb.reverse/consecutive-reverse.c: Likewise.
19133 * gdb.threads/create-fail.c: Include unistd.h.
19134 * gdb.threads/killed.c: Likewise.
19135 * gdb.threads/linux-dp.c: Likewise.
19136 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
19137 * gdb.threads/non-ldr-exc-2.c: Likewise.
19138 * gdb.threads/non-ldr-exc-3.c: Likewise.
19139 * gdb.threads/non-ldr-exc-4.c: Likewise.
19140 * gdb.threads/pthreads.c: Include unistd.h.
19141 (main): Declare returns int.
19142 * gdb.threads/tls-main.c (foo): New declaration.
19143 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
19145 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
19147 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
19148 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
19150 2015-01-15 Mark Wielaard <mjw@redhat.com>
19152 * gdb.base/noreturn-return.c: New file.
19153 * gdb.base/noreturn-return.exp: New file.
19154 * gdb.base/noreturn-finish.c: New file.
19155 * gdb.base/noreturn-finish.exp: New file.
19157 2015-01-23 Pedro Alves <palves@redhat.com>
19159 * gdb.threads/continue-pending-after-query.c: New file.
19160 * gdb.threads/continue-pending-after-query.exp: New file.
19162 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
19163 Simon Marchi <simon.marchi@ericsson.com>
19165 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
19166 * gdb.base/valgrind-db-attach.exp: Same.
19167 * gdb.base/valgrind-infcall.exp: Same.
19168 * lib/mi-support.exp (default_mi_gdb_start): Same.
19169 * lib/prompt.exp (default_prompt_gdb_start): Same.
19170 * lib/gdb.exp (default_gdb_spawn): Same.
19171 (gdb_interact): New.
19174 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
19176 * gdb.compile/compile.exp (pointer to jit function): New test.
19178 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
19180 * lib/gdb.exp (supports_process_record): Return true for
19182 (supports_reverse): Likewise.
19184 2015-01-15 Don Breazeal <donb@codesourcery.com>
19186 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
19187 instead of checking whether the target board is remote and
19188 use spawn_wait_for_attach instead of exec/sleep.
19189 * gdb.base/attach-twice.exp: Likewise.
19191 2015-01-15 Joel Brobecker <brobecker@adacore.com>
19193 * gdb.ada/var_arr_attrs: New testcase.
19195 2015-01-14 Pedro Alves <palves@redhat.com>
19196 Joel Brobecker <brobecker@adacore.com>
19199 * gdb.base/bp-cmds-execution-x-script.c: New file.
19200 * gdb.base/bp-cmds-execution-x-script.exp: New file.
19201 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
19203 2015-01-14 Pedro Alves <palves@redhat.com>
19206 * gdb.base/batch-preserve-term-settings.c: New file.
19207 * gdb.base/batch-preserve-term-settings.exp: New file.
19209 2015-01-13 Doug Evans <dje@google.com>
19211 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
19214 2015-01-13 Joel Brobecker <brobecker@adacore.com>
19216 * Makefile.in (clean mostlyclean): Do not delete *.py.
19218 2015-01-13 Joel Brobecker <brobecker@adacore.com>
19220 * gdb.python/py-lookup-type.exp: New file.
19222 2015-01-12 Pedro Alves <palves@redhat.com>
19224 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
19225 restore GDBFLAGS before returning.
19227 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19229 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
19230 is_amd64_regs_target and is_x86_like_target.
19232 2015-01-11 Doug Evans <xdje42@gmail.com>
19234 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
19235 is given without an explicit form.
19236 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
19238 * gdb.dwarf/corrupt.exp: Ditto.
19239 * gdb.dwarf2/enum-type.exp: Ditto.
19240 * gdb.trace/entry-values.exp: Ditto.
19241 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
19243 2015-01-11 Doug Evans <xdje42@gmail.com>
19246 * gdb.base/maint.exp: Remove references to "maint demangle".
19247 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
19248 Add tests for explicitly specifying language to demangle.
19249 * gdb.dlang/demangle.exp: Ditto.
19251 2015-01-09 Pedro Alves <palves@redhat.com>
19253 * gdb.threads/non-stop-fair-events.c: New file.
19254 * gdb.threads/non-stop-fair-events.exp: New file.
19256 2015-01-09 Pedro Alves <palves@redhat.com>
19258 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
19259 the global scope. Set a breakpoint after all threads are started
19260 rather than stepping over two source lines. Expect the prompt.
19261 * gdb.base/watch_thread_num.c (threads_started_barrier): New
19264 (main): Use threads_started_barrier to wait for all threads to
19265 start. Main thread no longer calls thread_function. Exit after
19267 (loop): New function.
19268 (thread_function): Wait on threads_started_barrier barrier. Call
19269 'loop' at each iteration.
19270 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
19271 threads have started, instead of hardcoding number of "next"
19272 steps. Use an access watchpoint instead of a write watchpoint.
19274 2015-01-09 Pedro Alves <palves@redhat.com>
19276 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
19277 (thread_func): Wait on barrier.
19278 (main): Wait for all threads to start before stopping GDB.
19279 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
19281 (thread1_func, thread2_func): Wait on barrier.
19282 (main): Wait for all threads to start before stopping GDB.
19283 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
19285 (thread1_func, thread2_func): Wait on barrier.
19286 (main): Wait for all threads to start before stopping GDB.
19288 2015-01-09 Pedro Alves <palves@redhat.com>
19290 * gdb.threads/attach-many-short-lived-threads.c: New file.
19291 * gdb.threads/attach-many-short-lived-threads.exp: New file.
19293 2014-01-09 Pedro Alves <palves@redhat.com>
19295 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
19296 instead of to thread 2.
19297 * gdb.threads/signal-command-multiple-signals-pending.c (main):
19298 Add barrier around each pthread_create call instead of around all
19300 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
19301 Set a break on thread_function and have the child threads hit it
19304 2015-01-09 Pedro Alves <palves@redhat.com>
19306 * lib/gdb.exp (can_spawn_for_attach): New procedure.
19307 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
19309 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
19310 checking whether the target board is remote.
19311 * gdb.multi/multi-attach.exp: Likewise.
19312 * gdb.python/py-sync-interp.exp: Likewise.
19313 * gdb.server/ext-attach.exp: Likewise.
19314 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
19315 tests that need to attach, instead of checking whether the target
19316 board is remote at the top of the file.
19318 2015-01-08 Yao Qi <yao@codesourcery.com>
19320 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
19322 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
19324 Fix testcase compilation.
19325 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
19327 2015-01-06 Joel Brobecker <brobecker@adacore.com>
19329 * gdb.python/py-type.exp: Add a couple test about empty
19330 array creation, and negative-length array creation.
19332 2015-01-02 Doug Evans <xdje42@gmail.com>
19334 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
19336 2015-01-02 Doug Evans <dje@google.com>
19338 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
19340 2014-12-29 Yao Qi <yao@codesourcery.com>
19342 * gdb.trace/entry-values.exp: Update comments. Rename variable
19343 bar_call_foo to returned_from_foo.
19345 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
19348 * gdb.linespec/break-asm-file.c: New file.
19349 * gdb.linespec/break-asm-file.exp: New file.
19350 * gdb.linespec/break-asm-file0.s: New file.
19351 * gdb.linespec/break-asm-file1.s: New file.
19353 2014-12-18 Nigel Stephens <nigel@mips.com>
19354 Maciej W. Rozycki <macro@codesourcery.com>
19356 * gdb.base/float.exp: Handle the new output from "info float" on
19359 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
19361 Fix MinGW compilation.
19362 * gdb.compile/compile-ops.exp: Update untested message if
19363 !skip_compile_feature_tests.
19364 * gdb.compile/compile-setjmp.exp: Likewise.
19365 * gdb.compile/compile-tls.exp: Likewise.
19366 * gdb.compile/compile.exp: Likewise.
19367 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
19368 supported on this host".
19370 2014-12-16 Doug Evans <xdje42@gmail.com>
19372 * boards/stabs.exp: New file.
19374 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
19376 * gdb.base/completion.exp: Adjust to format changes of "maint
19377 print user-registers".
19379 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
19382 * gdb.arch/aarch64-fp.c: New file.
19383 * gdb.arch/aarch64-fp.exp: New file.
19385 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
19387 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
19388 r210637, r210913, r211666, r215400, r215817).
19390 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
19391 * dg-extract-results.py: New file.
19392 * dg-extract-results.sh: Use it if the environment seems
19395 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
19397 * dg-extract-results.py (parse_run): Handle warnings that
19398 are printed before a test harness is run.
19400 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
19402 * dg-extract-results.py (Named): Remove __cmp__ method.
19403 (output_variation): Use a key to sort variation.harnesses.
19405 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
19407 * dg-extract-results.py: For Python 3, force sys.stdout to
19408 handle surrogate escape sequences.
19409 (safe_open): New function.
19410 (output_segment, main): Use it.
19412 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
19414 * dg-extract-results.py (Prog.result_re): Include options
19417 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
19419 * dg-extract-results.py (output_variation): Always sort if
19422 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
19424 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
19425 as long as we get pagination notifications.
19427 2014-12-15 Jason Merrill <jason@redhat.com>
19429 * Makefile.in (check-gdb.%): Restore.
19430 * README: Mention it.
19432 2014-12-13 Joel Brobecker <brobecker@adacore.com>
19434 * gdb.ada/str_uninit: New testcase.
19436 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
19439 * gdb.base/vla-stub-define.c: New file.
19440 * gdb.base/vla-stub.c: New file.
19441 * gdb.base/vla-stub.exp: New file.
19443 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
19444 Jan Kratochvil <jan.kratochvil@redhat.com>
19445 Tom Tromey <tromey@redhat.com>
19447 * configure.ac: Add gdb.compile/.
19448 * configure: Regenerate.
19449 * gdb.compile/Makefile.in: New file.
19450 * gdb.compile/compile-ops.exp: New file.
19451 * gdb.compile/compile-ops.c: New file.
19452 * gdb.compile/compile-tls.c: New file.
19453 * gdb.compile/compile-tls.exp: New file.
19454 * gdb.compile/compile-constvar.S: New file.
19455 * gdb.compile/compile-constvar.c: New file.
19456 * gdb.compile/compile-mod.c: New file.
19457 * gdb.compile/compile-nodebug.c: New file.
19458 * gdb.compile/compile-setjmp-mod.c: New file.
19459 * gdb.compile/compile-setjmp.c: New file.
19460 * gdb.compile/compile-setjmp.exp: New file.
19461 * gdb.compile/compile-shlib.c: New file.
19462 * gdb.compile/compile.c: New file.
19463 * gdb.compile/compile.exp: New file.
19464 * lib/gdb.exp (skip_compile_feature_tests): New proc.
19466 2014-12-12 Tom Tromey <tromey@redhat.com>
19468 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
19469 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
19471 2014-12-12 Doug Evans <dje@google.com>
19473 * lib/gdb-python.exp (get_python_valueof): New function.
19474 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
19476 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19478 * gdb.base/completion.exp: Add test for completion of "info
19481 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
19483 * gdb.base/func-ptrs.c: New file.
19484 * gdb.base/func-ptrs.exp: New file.
19486 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
19488 PR breakpoints/17012
19489 * gdb.base/dprintf-detach.c: New file.
19490 * gdb.base/dprintf-detach.exp: New file.
19492 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
19494 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
19495 * lib/gdb.exp (target_is_gdbserver): New procedure.
19497 2014-12-08 Doug Evans <dje@google.com>
19499 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
19501 2014-12-05 Yao Qi <yao@codesourcery.com>
19503 * gdb.guile/scm-error.exp: Remove the third argument to
19504 gdb_remote_download.
19505 * gdb.guile/scm-frame-args.exp: Likewise.
19506 * gdb.guile/scm-section-script.exp: Likewise.
19508 2014-12-05 Yao Qi <yao@codesourcery.com>
19510 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
19512 2014-12-04 Doug Evans <dje@google.com>
19514 * gdb.python/py-objfile.exp: Add tests for
19515 objfile.add_separate_debug_file.
19517 2014-12-04 Doug Evans <dje@google.com>
19519 * lib/gdb.exp (get_build_id): New function.
19520 (build_id_debug_filename_get): Rewrite to use it.
19521 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
19523 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
19525 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
19526 `method(long)', not just 0x0.
19527 * gdb.cp/nsalias.exp: Align code labels to 4.
19528 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
19529 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
19530 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
19531 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
19532 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
19533 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
19535 2014-12-02 Doug Evans <dje@google.com>
19538 * gdb.cp/anon-ns.cc: Move guts of this file to ...
19539 * gdb.cp/anon-ns2.cc: ... here. New file.
19540 * gdb.cp/anon-ns.exp: Update.
19542 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
19544 * gdb.python/py-events.py (inferior_call_handler): New.
19545 (register_changed_handler, memory_changed_handler): New.
19546 (test_events.invoke): Register new handlers.
19547 * gdb.python/py-events.exp: Add tests for inferior call,
19548 memory_changed and register_changed events.
19550 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
19552 * gdb.base/execl-update-breakpoints.exp: Specify the link address
19553 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
19554 if the linker doesn't understand this.
19556 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
19558 * gdb.python/python.exp: Change expected reply to help().
19560 2014-12-01 Yao Qi <yao@codesourcery.com>
19562 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
19563 AC_CONFIG_SUBDIRS(gdb.gdbtk).
19564 * configure: Re-generated.
19566 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
19568 * gdb.cp/chained-calls.cc: New file.
19569 * gdb.cp/chained-calls.exp: New file.
19570 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
19572 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
19574 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
19575 * gdb.dwarf2/symtab-producer.exp: Same.
19576 * gdb.gdb/python-interrupts.exp: Same.
19577 * gdb.gdb/python-selftest.exp: Same.
19578 * gdb.python/py-linetable.exp: Same.
19579 * gdb.python/py-type.exp: Same.
19580 * gdb.python/py-value-cc.exp: Same.
19581 * gdb.python/py-value.exp: Same.
19583 2014-11-28 Yao Qi <yao@codesourcery.com>
19585 * gdb.base/break-probes.exp: Match library name prefixed with
19588 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
19590 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
19591 test expected output. Add parentheses for the call to print.
19592 Remove L suffix from integers.
19594 2014-11-26 Doug Evans <dje@google.com>
19596 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
19598 2014-11-22 Yao Qi <yao@codesourcery.com>
19600 * gdb.trace/entry-values.c: Remove asms.
19601 (foo): Add foo_label.
19602 (bar): Add bar_label.
19603 * gdb.trace/entry-values.exp: Remove code computing foo's
19604 length and bar's length.
19605 (Dwarf::assemble): Invoke function_range for bar and use
19606 MACRO_AT_func for foo.
19608 2014-11-22 Yao Qi <yao@codesourcery.com>
19610 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
19611 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
19612 Use .Lgcc43_procstart instead of gcc43.
19614 2014-11-21 Joel Brobecker <brobecker@adacore.com>
19616 * gdb.ada/n_arr_bound: New testcase.
19618 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
19620 PR breakpoints/10737
19621 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
19622 test_catch_syscall_multi_arch.
19623 (test_catch_syscall_multi_arch): New function.
19625 2014-11-20 Doug Evans <xdje42@gmail.com>
19627 * gdb.base/maint.exp: Update expected output.
19629 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
19631 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
19632 4-byte instruction on S390.
19634 2014-11-19 Joel Brobecker <brobecker@adacore.com>
19636 * gdb.ada/arr_arr: New testcase.
19638 2014-11-19 Joel Brobecker <brobecker@adacore.com>
19640 * gdb.ada/pkd_arr_elem: New Testcase.
19642 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
19644 * gdb.reverse/break-precsave: Expect completion message for
19646 * gdb.reverse/consecutive-precsave.exp: Likewise.
19647 * gdb.reverse/finish-precsave.exp: Likewise.
19648 * gdb.reverse/i386-precsave.exp: Likewise.
19649 * gdb.reverse/machinestate-precsave.exp: Likewise.
19650 * gdb.reverse/sigall-precsave.exp: Likewise.
19651 * gdb.reverse/solib-precsave.exp: Likewise.
19652 * gdb.reverse/step-precsave.exp: Likewise.
19653 * gdb.reverse/until-precsave.exp: Likewise.
19654 * gdb.reverse/watch-precsave.exp: Likewise.
19656 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
19658 * gdb.base/bp-permanent.c: Include unistd.h.
19659 * gdb.python/py-framefilter-mi.c (main): Add return type.
19660 * gdb.python/py-framefilter.c (main): Likewise.
19661 * gdb.trace/actions-changed.c (main): Likewise.
19663 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
19665 * gdb.mi/until.c: Add eye-catchers.
19666 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
19669 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
19671 * gdb.base/condbreak.exp: Drop references to removed non-prototype
19672 function header variants in break1.c.
19673 * gdb.base/ena-dis-br.exp: Likewise.
19674 * gdb.base/hbreak2.exp: Likewise.
19675 * gdb.reverse/until-precsave.exp: Drop references to removed
19676 non-prototype function header variants in ur1.c.
19677 * gdb.reverse/until-reverse.exp: Likewise.
19679 2014-11-17 Petr Machata <pmachata@redhat.com>
19681 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
19682 ${_cu_offset_size} bytes abbrev offset.
19684 2014-11-15 Doug Evans <xdje42@gmail.com>
19687 * gdb.base/line-symtabs.exp: New file.
19688 * gdb.base/line-symtabs.c: New file.
19689 * gdb.base/line-symtabs.h: New file.
19691 2014-11-14 Yao Qi <yao@codesourcery.com>
19693 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
19694 (func): Add label func_label.
19695 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
19696 Replace low_pc and high_pc with MACRO_AT_range.
19697 Replace name, low_pc and high_pc with MACRO_AT_func.
19699 2014-11-14 Yao Qi <yao@codesourcery.com>
19701 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
19702 Replace name, low_pc and high_pc with MACRO_AT_func.
19704 2014-11-14 Yao Qi <yao@codesourcery.com>
19706 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
19707 produce debug information.
19708 * gdb.dwarf2/implptr-optimized-out.S: Removed.
19710 2014-11-14 Yao Qi <yao@codesourcery.com>
19712 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
19713 object and get function length.
19714 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
19715 with MACRO_AT_func.
19716 (top-level): Replace gdb_compile and clean_restart with
19717 prepare_for_testing.
19718 * gdb.dwarf2/main.c (main): Add label main_label.
19720 2014-11-14 Yao Qi <yao@codesourcery.com>
19722 * lib/dwarf.exp (function_range): New procedure.
19723 (Dwarf::_handle_macro_at_func): New procedure.
19724 (Dwarf::_handle_macro_at_range): New procedure.
19725 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
19727 2014-11-14 Yao Qi <yao@codesourcery.com>
19729 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
19730 (_handle_attribute): New procedure.
19732 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19734 * gdb.ada/cond_lang/foo.c (callme): Add return type.
19735 * gdb.base/call-sc.c (zed): Likewise.
19736 * gdb.base/checkpoint.c (main): Likewise.
19737 * gdb.base/dump.c (main): Likewise.
19738 * gdb.base/gcore.c (main): Likewise.
19739 * gdb.base/huge.c (main): Likewise.
19740 * gdb.base/multi-forks.c (main): Likewise.
19741 * gdb.base/pr10179-a.c (main): Likewise.
19742 * gdb.base/savedregs.c (main): Likewise.
19743 * gdb.base/sigaltstack.c (main): Likewise.
19744 * gdb.base/siginfo.c (main): Likewise.
19745 * gdb.base/structs.c (zed): Likewise.
19746 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
19747 * gdb.mi/mi-syn-frame.c (main): Likewise.
19748 * gdb.mi/until.c (foo, main): Likewise.
19749 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
19750 * gdb.base/solib-weak.c (foo): Declare.
19751 * gdb.base/attach-twice.c: Include stdio.h.
19752 * gdb.base/weaklib1.c: Likewise.
19753 * gdb.base/weaklib2.c: Likewise.
19754 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
19755 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
19757 * gdb.base/attach-pie-misread.c: Include stdlib.h.
19758 * gdb.mi/mi-exit-code.c: Likewise.
19759 * gdb.base/break-interp-lib.c: Include string.h.
19760 * gdb.base/coremaker.c: Likewise.
19761 * gdb.base/testenv.c: Likewise.
19762 * gdb.python/py-finish-breakpoint.c: Likewise.
19763 * gdb.base/inferior-died.c: Include sys/wait.h.
19764 * gdb.base/fileio.c: Include time.h.
19765 * gdb.base/async-shell.c: Include unistd.h.
19766 * gdb.base/dprintf-non-stop.c: Likewise.
19767 * gdb.base/info-os.c: Likewise.
19768 * gdb.mi/mi-console.c: Likewise.
19769 * gdb.mi/watch-nonstop.c: Likewise.
19770 * gdb.python/py-events.c: Likewise.
19771 * gdb.base/async.c (baz): Move up before its invocation.
19772 * gdb.base/code_elim2.c (my_global_func): Likewise.
19773 * gdb.base/skip-solib-lib.c (multiply): Likewise.
19774 * gdb.base/advance.c (func2): Likewise.
19776 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19778 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
19780 * gdb.base/annota3.c: Likewise.
19781 * gdb.base/async.c: Likewise.
19782 * gdb.base/average.c: Likewise.
19783 * gdb.base/call-ar-st.c: Likewise.
19784 * gdb.base/call-rt-st.c: Likewise.
19785 * gdb.base/call-sc.c: Likewise.
19786 * gdb.base/call-strs.c: Likewise.
19787 * gdb.base/ending-run.c: Likewise.
19788 * gdb.base/execd-prog.c: Likewise.
19789 * gdb.base/exprs.c: Likewise.
19790 * gdb.base/foll-exec.c: Likewise.
19791 * gdb.base/foll-fork.c: Likewise.
19792 * gdb.base/foll-vfork.c: Likewise.
19793 * gdb.base/funcargs.c: Likewise.
19794 * gdb.base/gcore.c: Likewise.
19795 * gdb.base/jump.c: Likewise.
19796 * gdb.base/langs0.c: Likewise.
19797 * gdb.base/langs1.c: Likewise.
19798 * gdb.base/langs2.c: Likewise.
19799 * gdb.base/mips_pro.c: Likewise.
19800 * gdb.base/nodebug.c: Likewise.
19801 * gdb.base/opaque0.c: Likewise.
19802 * gdb.base/opaque1.c: Likewise.
19803 * gdb.base/recurse.c: Likewise.
19804 * gdb.base/run.c: Likewise.
19805 * gdb.base/scope0.c: Likewise.
19806 * gdb.base/scope1.c: Likewise.
19807 * gdb.base/setshow.c: Likewise.
19808 * gdb.base/setvar.c: Likewise.
19809 * gdb.base/shmain.c: Likewise.
19810 * gdb.base/shr1.c: Likewise.
19811 * gdb.base/shr2.c: Likewise.
19812 * gdb.base/sigall.c: Likewise.
19813 * gdb.base/signals.c: Likewise.
19814 * gdb.base/so-indr-cl.c: Likewise.
19815 * gdb.base/solib2.c: Likewise.
19816 * gdb.base/structs.c: Likewise.
19817 * gdb.base/sum.c: Likewise.
19818 * gdb.base/vforked-prog.c: Likewise.
19819 * gdb.base/watchpoint.c: Likewise.
19820 * gdb.reverse/shr2.c: Likewise.
19821 * gdb.reverse/until-reverse.c: Likewise.
19822 * gdb.reverse/ur1.c: Likewise.
19823 * gdb.reverse/watch-reverse.c: Likewise.
19825 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19827 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
19829 * gdb.base/sepdebug.exp: Drop references to removed code.
19831 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19833 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
19834 variant. Preserve original line numbering.
19835 * gdb.base/list1.c: Likewise.
19837 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19839 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
19841 * gdb.base/break1.c: Likewise.
19842 * gdb.base/break.exp: Drop references to removed code.
19844 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19846 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
19849 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19851 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
19853 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19855 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
19856 logic into perform_all_tests() and invoke it with and without
19857 function header prototypes.
19858 (do_function_calls): Remove conditional XFAIL for PR 5318.
19859 (rerun_and_prepare): Remove duplicate code.
19860 (perform_all_tests): New. Main logic moved here.
19862 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19864 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
19865 code guarded by #ifdef NO_PROTOTYPES.
19866 (t_double_many_args): Likewise.
19867 (DEF_FUNC_MANY_ARGS_1): Likewise.
19868 (DEF_FUNC_VALUES_1): Likewise.
19869 (t_structs_ldc): Renamed from t_structs_fc in conditional code
19870 guarded by #ifdef PROTOTYPES.
19872 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19874 * gdb.mi/mi-console.c: Add eye-catcher.
19875 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
19876 instead of literal line number.
19878 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19880 * gdb.base/shr2.c: Add eye-catcher.
19881 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
19884 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19886 * gdb.base/jump.c: Add eye-catchers.
19887 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
19890 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19892 * gdb.base/execd-prog.c: Add eye-catchers.
19893 * gdb.base/foll-exec.c: Likewise.
19894 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
19897 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19899 * gdb.base/ending-run.c: Add eye-catchers.
19900 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
19901 literal line numbers.
19903 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19905 * gdb.base/call-rt-st.c: Add eye-catchers.
19906 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
19907 literal line numbers.
19909 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19911 * gdb.base/call-ar-st.c: Add eye-catchers.
19912 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
19913 literal line numbers.
19915 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19917 * gdb.base/average.c: Add eye-catchers.
19918 * gdb.base/sum.c: Likewise.
19919 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
19920 regexps dynamically.
19922 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19924 * gdb.base/solib1.c: Add eye-catchers.
19925 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
19926 literal line numbers.
19928 2014-11-12 Pedro Alves <palves@redhat.com>
19930 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
19933 2014-11-12 Pedro Alves <palves@redhat.com>
19935 * gdb.arch/i386-bp_permanent.c: New file.
19936 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
19937 (srcfile): Set to i386-bp_permanent.c.
19938 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
19939 that stepi does not execute the 'leave' instruction, instead of
19940 testing it does execute.
19941 * gdb.base/bp-permanent.c: New file.
19942 * gdb.base/bp-permanent.exp: New file.
19944 2014-11-10 Doug Evans <xdje42@gmail.com>
19947 * gdb.base/symtab-search-order.exp: New file.
19948 * gdb.base/symtab-search-order.c: New file.
19949 * gdb.base/symtab-search-order-1.c: New file.
19950 * gdb.base/symtab-search-order-shlib-1.c: New file.
19952 2014-11-07 Pedro Alves <palves@redhat.com>
19955 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
19958 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
19961 * gdb.cp/pr17494.cc: New file.
19962 * gdb.cp/pr17494.exp: New file.
19964 2014-11-02 Yao Qi <yao@codesourcery.com>
19966 * gdb.python/python.exp: Get working directory and match the
19967 output of "set extended-prompt \\w " with it.
19969 2014-10-30 Doug Evans <dje@google.com>
19971 * gdb.python/py-objfile.exp: Add tests for setting random attributes
19973 * gdb.python/py-progspace.exp: Add tests for setting random attributes
19976 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
19978 * gdb.base/fullpath-expand.exp: Skip for a remote host.
19979 * gdb.base/realname-expand.exp: Likewise.
19980 * gdb.linespec/macro-relative.exp: Likewise.
19982 2014-10-29 Pedro Alves <palves@redhat.com>
19985 * gdb.threads/schedlock.c (some_function): New function.
19986 (call_function): New global.
19987 (MAYBE_CALL_SOME_FUNCTION): New macro.
19988 (thread_function): Call it.
19989 * gdb.threads/schedlock.exp (get_args): Add description parameter,
19990 and use it instead of a global counter. Adjust all callers.
19991 (get_current_thread): Use "find current thread" for test message
19992 here rather than having all callers pass down the same string.
19993 (goto_loop): New procedure, factored out from ...
19994 (my_continue): ... this.
19995 (step_ten_loops): Change parameter from test message to command to
19997 (list_count): Delete global.
19998 (check_result): New procedure, factored out from duplicate top
20000 (continue tests): Wrap in with_test_prefix.
20001 (test_step): New procedure, factored out from duplicate top level
20003 (top level): Test "step" in combination with all scheduler-locking
20004 modes. Test "next" in combination with all scheduler-locking
20005 modes, and in combination with stepping over a function call or
20007 * gdb.threads/next-bp-other-thread.c: New file.
20008 * gdb.threads/next-bp-other-thread.exp: New file.
20010 2014-10-29 Pedro Alves <palves@redhat.com>
20013 * gdb.python/python.exp: Test a multi-line command that spawns
20014 interactive Python.
20015 * gdb.base/multi-line-starts-subshell.exp: New file.
20017 2014-10-29 Yao Qi <yao@codesourcery.com>
20019 * gdb.base/fileio.exp: Make directories on host.
20021 2014-10-29 Yao Qi <yao@codesourcery.com>
20023 * gdb.base/fileio.c (test_write): Close the file.
20025 2014-10-28 Pedro Alves <palves@redhat.com>
20028 * gdb.base/sigstep.c (no_handler): New global.
20029 (main): If 'no_handler is true, set the signal handlers to
20031 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
20032 with_sw_watch and no_handler parameters. Handle them.
20033 (top level) <stepping over handler when stopped at a breakpoint
20034 test>: Add a test axis for testing with a software watchpoint, and
20035 another for testing with the signal handler set to SIG_IGN.
20036 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
20037 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
20039 2014-10-28 Pedro Alves <palves@redhat.com>
20042 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
20043 * gdb.base/sigstep.exp (other_handler_location): New global.
20044 (advance): Support stepping into the signal handler, and running
20045 commands while in the handler.
20046 (in_handler_map): New global.
20047 (top level): In the advance test, add combinations for getting
20048 into the handler with stepping commands, and for running commands
20049 in the handler. Add comment descripting the advancei tests.
20051 2014-10-28 Pedro Alves <palves@redhat.com>
20053 * gdb.base/sigstep.exp: Use build_executable instead of
20054 prepare_for_testing.
20055 (top level): Move code that starts GDB, runs to main and creates a
20057 (restart): ... this new procedure.
20058 (top level): Move backtrace from signal handler test to ...
20059 (validate_backtrace): ... this new procedure.
20060 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
20061 with_test_prefix. Always restart GDB.
20062 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
20063 with_test_prefix. Always restart GDB. No need to delete
20064 breakpoints after the test.
20065 (test_skip_handler): Remove prefix parameter.
20066 (skip_over_handler, breakpoint_to_handler)
20067 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
20068 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
20069 restart GDB. No need to delete breakpoints after the test.
20070 (top level): Use foreach to call the test procedures with
20071 different commands.
20073 2014-10-28 Pedro Alves <palves@redhat.com>
20075 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
20076 instead of GNATS numbers.
20077 * gdb.base/sigbpt.exp: Likewise.
20078 * gdb.base/siginfo.exp: Likewise.
20079 * gdb.base/sigstep.exp: Likewise.
20081 2014-10-27 Pedro Alves <palves@redhat.com>
20083 * gdb.base/sigstep.c (dummy): New global.
20084 (main): Issue a couple writes to the new global.
20085 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
20087 (skip_over_handler): Use test_skip_handler.
20088 (top level): Call skip_over_handler for stepi and nexti too.
20089 (breakpoint_over_handler): Use test_skip_handler.
20090 (top level): Call breakpoint_over_handler for stepi and nexti too.
20092 2014-10-27 Yao Qi <yao@codesourcery.com>
20094 * gdb.trace/tfile.c (adjust_function_address)
20095 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
20096 function descriptor.
20098 2014-10-24 Don Breazeal <donb@codesourcery.com>
20100 * gdb.base/foll-fork.exp (test_follow_fork,
20101 catch_fork_child_follow): Check for updated fork messages emitted
20103 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
20104 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
20105 vfork_and_exec_child_follow_through_step): Check for updated vfork
20106 messages emitted from infrun.c.
20108 2014-10-24 Pedro Alves <palves@redhat.com>
20110 * gdb.base/corefile.exp: Remove references to ultrix.
20111 * gdb.base/interrupt.exp: Likewise.
20112 * gdb.base/whatis.exp: Likewise.
20113 * gdb.gdb/selftest.exp: Likewise.
20114 * gdb.threads/manythreads.exp: Likewise.
20115 * gdb.threads/print-threads.exp: Likewise.
20116 * gdb.threads/pthreads.exp:: Likewise.
20117 * gdb.threads/schedlock.exp: Likewise.
20119 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
20121 * gdb.cp/non-trivial-retval.cc: Add a test case.
20122 * gdb.cp/non-trivial-retval.exp: Add a test.
20124 2014-10-20 Yao Qi <yao@codesourcery.com>
20126 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
20127 * gdb.python/py-objfile-script-gdb.py: New file.
20128 * gdb.python/py-objfile-script.exp: Update reference to
20129 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
20130 of remote_download. Remove the dest file.
20132 2014-10-20 Yao Qi <yao@codesourcery.com>
20134 * gdb.base/checkpoint.exp: Don't remove file copied on host.
20135 * gdb.base/step-line.exp: Likewise.
20136 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
20137 * gdb.dwarf2/dw2-basic.exp: Likewise.
20138 * gdb.dwarf2/dw2-compressed.exp: Likewise.
20139 * gdb.dwarf2/dw2-filename.exp: Likewise.
20140 * gdb.dwarf2/dw2-intercu.exp: Likewise.
20141 * gdb.dwarf2/dw2-intermix.exp: Likewise.
20142 * gdb.dwarf2/dw2-producer.exp: Likewise.
20143 * gdb.dwarf2/mac-fileno.exp: Likewise.
20144 * gdb.python/py-frame-args.exp: Likewise.
20145 * gdb.python/py-framefilter.exp: Likewise.
20146 * gdb.python/py-mi.exp: Likewise.
20147 * gdb.python/py-objfile-script.exp: Likewise
20148 * gdb.python/py-pp-integral.exp: Likewise.
20149 * gdb.python/py-pp-re-notag.exp: Likewise.
20150 * gdb.python/py-prettyprint.exp: Likewise.
20151 * gdb.python/py-section-script.exp: Likewise.
20152 * gdb.python/py-typeprint.exp: Likewise.
20153 * gdb.python/py-xmethods.exp: Likewise.
20154 * gdb.stabs/weird.exp: Likewise.
20155 * gdb.xml/tdesc-regs.exp: Likewise.
20157 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
20159 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
20160 (out_cu): Use addr_len for the size of addresses.
20161 (out_line): Likewise. Size DW_LNE_set_address instruction
20162 according to addr_len.
20163 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
20164 (FUNC): Add START_INSNS to definition.
20166 2014-10-18 Yao Qi <yao@codesourcery.com>
20168 * gdb.base/argv0-symlink.exp: Check argv[0] value if
20169 gdb_has_argv0 return true.
20170 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
20171 check [target_info exists noargs], check [gdb_has_argv0]
20173 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
20174 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
20177 2014-10-17 Doug Evans <dje@google.com>
20179 * gdb.python/py-events.exp: Update expected output for clear_objfiles
20181 * gdb.python/py-events.py: Add clear_objfiles event.
20183 2014-10-17 Doug Evans <dje@google.com>
20185 * gdb.python/py-objfile.exp: Test progspace attribute.
20187 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
20189 * gdb.guile/scm-breakpoint.exp: Do not assume any
20190 directory separators when matching source file paths.
20191 * gdb.python/py-breakpoint.exp: Likewise.
20192 * gdb.reverse/break-precsave.exp: Likewise.
20193 * gdb.reverse/break-reverse.exp: Likewise.
20194 * gdb.reverse/consecutive-precsave.exp: Likewise.
20195 * gdb.reverse/finish-precsave.exp: Likewise.
20196 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
20197 * gdb.reverse/finish-reverse.exp: Likewise.
20198 * gdb.reverse/i386-precsave.exp: Likewise.
20199 * gdb.reverse/i387-env-reverse.exp: Likewise.
20200 * gdb.reverse/i387-stack-reverse.exp: Likewise.
20201 * gdb.reverse/machinestate-precsave.exp: Likewise.
20202 * gdb.reverse/machinestate.exp: Likewise.
20203 * gdb.reverse/sigall-precsave.exp: Likewise.
20204 * gdb.reverse/solib-precsave.exp: Likewise.
20205 * gdb.reverse/step-precsave.exp: Likewise.
20206 * gdb.reverse/until-precsave.exp: Likewise.
20207 * gdb.reverse/watch-precsave.exp: Likewise.
20208 * gdb.reverse/watch-reverse.exp: Likewise.
20210 2014-10-17 Yao Qi <yao@codesourcery.com>
20212 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
20213 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
20215 2014-10-17 Pedro Alves <palves@redhat.com>
20218 * gdb.base/bg-execution-repeat.c: New file.
20219 * gdb.base/bg-execution-repeat.exp: New file.
20221 2014-10-17 Pedro Alves <palves@redhat.com>
20224 * gdb.base/continue-all-already-running.c: New file.
20225 * gdb.base/continue-all-already-running.exp: New file.
20227 2014-10-17 Pedro Alves <palves@redhat.com>
20230 * gdb.base/annota-input-while-running.c: New file.
20231 * gdb.base/annota-input-while-running.exp: New file.
20233 2014-10-17 Pedro Alves <palves@redhat.com>
20235 * gdb.base/callfuncs.exp: emove references to osf.
20236 * gdb.base/sigall.exp: Likewise.
20237 * gdb.gdb/selftest.exp: Likewise.
20238 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
20239 * gdb.mi/non-stop.c: Likewise.
20240 * gdb.mi/pthreads.c: Likewise.
20241 * gdb.reverse/sigall-precsave.exp: Likewise.
20242 * gdb.reverse/sigall-reverse.exp: Likewise.
20243 * gdb.threads/pthreads.c: Likewise.
20244 * gdb.threads/pthreads.exp: Likewise.
20246 2014-10-17 Yao Qi <yao@codesourcery.com>
20248 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
20249 check 'target_info exists noargs'.
20250 (test_command_prompt_position): Likewise.
20251 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
20253 (progvar_simple_while_test): Likewise.
20254 (progvar_complex_if_while_test): Likewise.
20255 (if_while_breakpoint_command_test): Likewise.
20256 (infrun_breakpoint_command_test): Likewise.
20257 (breakpoint_command_test): Likewise.
20258 (watchpoint_command_test): Likewise.
20259 (bp_deleted_in_command_test): Likewise.
20260 (temporary_breakpoint_commands): Likewise.
20262 2014-10-16 Yao Qi <yao@codesourcery.com>
20264 * gdb.base/remotetimeout.exp: Remove noargs checking.
20266 2014-10-15 Pedro Alves <palves@redhat.com>
20268 PR breakpoints/9649
20269 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
20270 * gdb.base/breakpoint-in-ro-region.exp
20271 (probe_target_hardware_step): New procedure.
20272 (top level): Probe hardware stepping and hardware breakpoint
20273 support. Test stepping through a read-only region, with both
20274 "breakpoint auto-hw" on and off and both "always-inserted" on and
20277 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
20279 * gdb.dlang/demangle.exp: Update for demangling changes.
20281 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
20283 * gdb.cp/non-trivial-retval.cc: Add new test cases.
20284 * gdb.cp/non-trivial-retval.exp: Add new tests.
20286 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
20290 * gdb.cp/non-trivial-retval.cc: New file.
20291 * gdb.cp/non-trivial-retval.exp: New file.
20293 2014-10-15 Yao Qi <yao@codesourcery.com>
20295 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
20298 2014-10-15 Yao Qi <yao@codesourcery.com>
20300 * gdb.python/py-symbol.exp: Match file base name if host is
20301 remote, otherwise match file name with dir name.
20302 * gdb.python/py-symtab.exp: Likewise.
20303 * gdb.python/python.exp: Likewise.
20305 2014-10-15 Yao Qi <yao@codesourcery.com>
20307 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
20309 * gdb.python/py-symtab.exp: Likewise.
20310 * gdb.python/python.exp: Remove trailing ".*". Fix typo
20313 2014-10-14 Joel Brobecker <brobecker@adacore.com>
20315 * gdb.ada/addr_arith: New testcase.
20317 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
20319 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
20320 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
20321 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
20322 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
20324 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
20326 * gdb.arch/stap-eval-lang-ada.S: Likewise.
20327 * gdb.arch/stap-eval-lang-ada.c: Likewise.
20328 * gdb.arch/stap-eval-lang-ada.exp: New file.
20330 2014-10-14 Yao Qi <yao@codesourcery.com>
20332 * gdb.mi/mi-var-child.c (nothing1): New function.
20333 (nothing2): New function.
20334 (do_children_tests): Set function pointers by nothing1 and
20336 * gdb.mi/mi-var-child.exp: Step over new added statements.
20337 Update test to match the new output.
20338 * gdb.mi/var-cmd.c (nothing1): New function.
20339 (nothing2): New function.
20340 (do_children_tests): Set function pointers by nothing1 and
20342 * gdb.mi/mi-var-display.exp: Update test to match output.
20343 Step to the line specified by $line_dct_nothing.
20344 Increase the number of lines to step.
20346 2014-10-14 Yao Qi <yao@codesourcery.com>
20348 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
20350 * gdb.mi/mi2-var-child.exp: Likewise.
20352 2014-10-13 Doug Evans <dje@google.com>
20354 * gdb.python/py-objfile.exp: Change name of file name test.
20356 2014-10-13 Doug Evans <dje@google.com>
20358 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
20359 from the start of the CU.
20361 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
20362 Yao Qi <yao@codesourcery.com>
20364 Fix "save breakpoints" for "catch" command.
20365 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
20366 Remove -nonewline. Match also the added "main" line.
20368 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20370 Fix "save breakpoints" for "disable $bpnum" command.
20371 * gdb.base/save-bp.c (main): Add label.
20372 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
20374 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20376 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
20378 2014-10-11 Yao Qi <yao@codesourcery.com>
20380 * gdb.server/server-kill.exp: Execute command
20381 "set remote trace-status-packet on" before "tstatus".
20383 2014-10-11 Yao Qi <yao@codesourcery.com>
20385 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
20386 (main): Call getppid.
20387 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
20388 and continue to it. Read variable "server_pid".
20390 2014-10-11 Yao Qi <yao@codesourcery.com>
20392 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
20394 2014-10-11 Yao Qi <yao@codesourcery.com>
20396 * gdb.threads/thread-find.exp: Don't execute command
20398 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
20399 * gdb.threads/linux-dp.exp: Don't check the condition
20400 $threads_created equals to zero.
20402 2014-10-10 Pedro Alves <palves@redhat.com>
20404 * gdb.base/bigcore.exp: Remove references to IRIX.
20405 * gdb.base/funcargs.exp: Likewise.
20406 * gdb.base/interrupt.exp: Likewise.
20407 * gdb.base/mips_pro.exp: Likewise.
20408 * gdb.base/nodebug.exp: Likewise.
20409 * gdb.base/setvar.exp: Likewise.
20410 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
20412 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
20413 Pedro Alves <palves@redhat.com>
20416 * gdb.base/vdso-warning.c: New file.
20417 * gdb.base/vdso-warning.exp: New file.
20419 2014-10-02 Doug Evans <dje@google.com>
20421 * gdb.base/structs.c (main): Don't run forever.
20423 2014-10-02 Pedro Alves <palves@redhat.com>
20425 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
20426 (top level) <stop threads 1, stop threads 2>: Use it.
20428 2014-10-02 Pedro Alves <palves@redhat.com>
20430 * gdb.threads/break-while-running.exp (test): Add new
20431 'update_thread_list' argument. Skip "info threads" if false.
20432 (top level): Add new 'update_thread_list' axis.
20434 2014-10-02 Pedro Alves <palves@redhat.com>
20436 PR breakpoints/17431
20437 * gdb.base/execl-update-breakpoints.c: New file.
20438 * gdb.base/execl-update-breakpoints.exp: New file.
20440 2014-10-01 Pedro Alves <palves@redhat.com>
20442 * gdb.base/breakpoint-in-ro-region.c: New file.
20443 * gdb.base/breakpoint-in-ro-region.exp: New file.
20445 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
20447 * gdb.mi/mi-exit-code.exp: New file.
20448 * gdb.mi/mi-exit-code.c: New file.
20450 2014-09-30 Yao Qi <yao@codesourcery.com>
20452 * lib/prelink-support.exp (build_executable_own_libs): Error if
20453 the target isn't native.
20455 2014-09-30 Yao Qi <yao@codesourcery.com>
20457 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
20460 2014-09-22 Pedro Alves <palves@redhat.com>
20462 * gdb.threads/break-while-running.exp: New file.
20463 * gdb.threads/break-while-running.c: New file.
20465 2014-09-19 Yao Qi <yao@codesourcery.com>
20467 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
20468 Invoke test. Restart GDB with --readnow and invoke test again.
20470 2014-09-19 Yao Qi <yao@codesourcery.com>
20472 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
20473 proc set_breakpoint_on_gcd_function. Invoke
20474 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
20475 invoke set_breakpoint_on_gcd_function again.
20477 2014-09-18 Doug Evans <dje@google.com>
20479 * gdb.dwarf2/symtab-producer.exp: New file.
20481 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
20483 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
20484 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
20485 * gdb.base/global-var-nested-by-dso.c: Likewise.
20486 * gdb.base/global-var-nested-by-dso.exp: Likewise.
20488 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
20489 Pedro Alves <palves@redhat.com>
20491 * gdb.base/watch-bitfields.exp: Pass string other than test file
20492 name to prepare_for_testing.
20493 (watch): New procedure.
20494 (expect_watchpoint): Use with_test_prefix.
20495 (top level): Factor out tests to ...
20496 (test_watch_location, test_regular_watch): ... these new
20497 procedures, and use with_test_prefix and gdb_continue_to_end.
20499 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
20501 PR breakpoints/12526
20502 * gdb.base/watch-bitfields.exp: New file.
20503 * gdb.base/watch-bitfields.c: New file.
20505 2014-09-16 Pedro Alves <palves@redhat.com>
20507 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
20508 software and hardware addresses, not software address against
20511 2014-09-16 Pedro Alves <palves@redhat.com>
20513 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
20514 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
20516 2014-09-16 Pedro Alves <palves@redhat.com>
20518 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
20520 * gdb.base/a2-run.exp: Remove all code guarded by istarget
20521 "*-*-vxworks*" throughout.
20522 * gdb.base/break.exp: Likewise.
20523 * gdb.base/default.exp: Likewise.
20524 * gdb.base/scope.exp: Likewise.
20525 * gdb.base/sepdebug.exp: Likewise.
20526 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
20528 * gdb.base/run.c: Likewise.
20529 * gdb.base/sepdebug.c: Likewise.
20530 * gdb.hp/gdb.aCC/run.c: Likewise.
20531 * gdb.reverse/until-reverse.c: Likewise.
20532 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
20534 2014-09-16 Yao Qi <yao@codesourcery.com>
20536 * boards/local-remote-host-native.exp: New file.
20538 2014-09-14 Doug Evans <xdje42@gmail.com>
20540 * gdb.threads/queue-signal.c (thread_count): New variable.
20541 (thread_count_mutex, thread_count_condvar): New variables.
20542 (incr_thread_count, wait_all_threads_running): New functions.
20543 (main): Wait for all threads to be in their thread functions.
20545 2014-09-13 Doug Evans <xdje42@gmail.com>
20547 * gdb.threads/queue-signal.c: New file.
20548 * gdb.threads/queue-signal.exp: New file.
20550 2014-09-13 Doug Evans <xdje42@gmail.com>
20552 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
20553 be consistent with what default_gdb_init uses.
20554 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
20555 the plain text of the prompt. Add some logging printfs.
20556 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
20558 2014-09-12 Pedro Alves <palves@redhat.com>
20560 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
20561 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
20562 * gdb.arch/i386-size-overlap.exp: Likewise.
20563 * gdb.arch/i386-size.exp: Likewise.
20564 * gdb.arch/i386-unwind.exp: Likewise.
20565 * gdb.base/a2-run.exp: Likewise.
20566 * gdb.base/break.exp: Likewise.
20567 * gdb.base/charset.exp: Likewise.
20568 * gdb.base/chng-syms.exp: Likewise.
20569 * gdb.base/commands.exp: Likewise.
20570 * gdb.base/dbx.exp: Likewise.
20571 * gdb.base/find.exp: Likewise.
20572 * gdb.base/funcargs.exp: Likewise.
20573 * gdb.base/jit-simple.exp: Likewise.
20574 * gdb.base/reread.exp: Likewise.
20575 * gdb.base/sepdebug.exp: Likewise.
20576 * gdb.base/step-bt.exp: Likewise.
20577 * gdb.cp/mb-inline.exp: Likewise.
20578 * gdb.cp/mb-templates.exp: Likewise.
20579 * gdb.objc/basicclass.exp: Likewise.
20580 * gdb.threads/killed.exp: Likewise.
20582 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20585 * gdb.arch/powerpc-stackless.S: New file.
20586 * gdb.arch/powerpc-stackless.exp: New file.
20588 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
20590 * gdb.base/attach.c: Include unistd.h.
20591 (main): Call alarm. Add label postloop.
20592 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
20593 gdb_breakpoint, gdb_continue_to_breakpoint.
20594 (test_command_line_attach_run): Kill ${testpid} in one exit path.
20596 2014-09-11 Pedro Alves <palves@redhat.com>
20599 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
20600 * gdb.base/attach.exp (test_command_line_attach_run): New
20602 (top level): Call it.
20604 2014-09-11 Pedro Alves <palves@redhat.com>
20606 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
20607 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
20608 (do_command_attach_tests): Use spawn_wait_for_attach.
20609 * gdb.base/solib-overlap.exp: Likewise.
20610 * gdb.multi/multi-attach.exp: Likewise.
20611 * gdb.python/py-prompt.exp: Likewise.
20612 * gdb.python/py-sync-interp.exp: Likewise.
20613 * gdb.server/ext-attach.exp: Likewise.
20615 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
20617 * gdb.fortran/array-element.exp: Remove unexpected "continue"
20618 command in testcase. Simplify testcase.
20620 2014-09-10 Joel Brobecker <brobecker@adacore.com>
20622 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
20624 2014-09-10 Joel Brobecker <brobecker@adacore.com>
20626 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
20628 2014-09-10 Joel Brobecker <brobecker@adacore.com>
20630 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
20632 2014-09-10 Joel Brobecker <brobecker@adacore.com>
20634 * gdb.dwarf2/dynarr-ptr.c: New file.
20635 * gdb.dwarf2/dynarr-ptr.exp: New file.
20637 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20639 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
20640 of 30 rather than hardcoding 120 for a slow test case. Take the
20641 `gdb,timeout' target setting into account for this calculation.
20642 Don't extend the timeout for the test cases that don't need it.
20644 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20646 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
20647 a factor of 2 for a slow test case. Take the `gdb,timeout'
20648 target setting into account for this calculation.
20649 * gdb.reverse/until-precsave.exp: Increase the timeout by
20650 a factor of 15 and 3 respectively rather than adding 120
20651 for a pair of slow test cases. Take the `gdb,timeout'
20652 target setting into account for this calculation.
20654 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20656 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
20657 timeout, don't pass one down to gdb_expect.
20658 (gdb_expect): Rework timeout selection.
20660 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20662 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
20663 exception on timeout.
20664 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
20665 (gdbserver_start_extended): Catch any `gdbserver_start' error
20667 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
20668 * lib/mi-support.exp (mi_gdb_target_load): Catch any
20669 `gdbserver_gdb_load' error exceptions.
20671 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20673 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
20674 120 on waiting for the TCP socket to open.
20676 2014-09-09 Doug Evans <xdje42@gmail.com>
20678 * gdb.base/default.exp (show_conv_list): Add _caller_is,
20679 _caller_matches, _any_caller_is, _any_caller_matches.
20681 2014-09-09 Doug Evans <xdje42@gmail.com>
20683 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
20685 2014-09-09 Yao Qi <yao@codesourcery.com>
20687 * gdb.mi/mi-var-display.exp: Set print symbol off.
20689 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
20692 * gdb.base/commands.exp: Add tests to verify user-defined
20693 commands with empty bodies.
20694 * gdb.python/py-cmd.exp: Test that we don't show user-defined
20695 python commands in `show user command`.
20696 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
20697 scheme commands in `show user command`.
20699 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
20702 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
20703 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
20704 * gdb.python/py-framefilter-invalidarg.exp: New file.
20705 * gdb.python/py-framefilter-invalidarg.py: New file.
20707 2014-09-06 Doug Evans <xdje42@gmail.com>
20710 * gdb.python/py-caller-is.c: New file.
20711 * gdb.python/py-caller-is.exp: New file.
20713 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
20716 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
20717 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
20719 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
20722 * gdb.fortran/print-formatted.exp: New file.
20723 * gdb.fortran/print-formatted.f90: Likewise.
20725 2014-09-03 Sasha Smundak <asmundak@google.com>
20727 * gdb.python/py-frame.exp: Test Frame.read_register.
20729 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
20732 * gdb.python/py-completion.exp: New file.
20733 * gdb.python/py-completion.py: Likewise.
20735 2014-08-28 Doug Evans <dje@google.com>
20737 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
20738 eax,etc. are live with values set by gdb and thus the compiler can't
20740 * gdb.arch/i386-pseudo.c (main): Ditto.
20742 2014-08-27 Doug Evans <dje@google.com>
20744 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
20746 2014-08-25 Doug Evans <dje@google.com>
20748 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
20751 2014-08-25 Doug Evans <dje@google.com>
20753 * gdb.threads/thread-execl.exp: #include <stdio.h>.
20755 2014-08-24 Yao Qi <yao@codesourcery.com>
20757 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
20759 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
20761 2014-08-22 Doug Evans <dje@google.com>
20764 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
20765 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
20766 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
20768 2014-08-22 Yao Qi <yao@codesourcery.com>
20770 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
20771 * gdb.python/py-finish-breakpoint2.exp: Likewise.
20772 * gdb.python/python.exp: Likewise. Use .py file on the host
20773 instead of the build.
20775 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
20777 * gdb.threads/gcore-stale-thread.c: New file.
20778 * gdb.threads/gcore-stale-thread.exp: New file.
20780 2014-08-21 Pedro Alves <palves@redhat.com>
20782 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
20783 * gdb.base/gcore-relro-pie.exp: Likewise.
20784 * gdb.base/gcore-relro.exp: Likewise.
20785 * gdb.base/gcore.exp: Likewise.
20786 * gdb.base/print-symbol-loading.exp: Likewise.
20787 * gdb.threads/gcore-thread.exp: Likewise.
20788 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
20790 2014-08-20 Pedro Alves <palves@redhat.com>
20791 Jan Kratochvil <jan.kratochvil@redhat.com>
20793 * Makefile.in (EXTRA_RULES, CC): New variables, get from
20795 (EXPECT): Handle READ1 being set.
20796 (all): Depend on EXTRA_RULES.
20797 (check-read1, expect-read1, read1.so, read1): New rules.
20798 * README (Testsuite Parameters): Document the READ1 make variable.
20799 (Race detection): New section.
20800 * configure: Regenerate.
20801 * configure.ac: If build==host==target, and running under a
20802 GNU/glibc system, add read1 to the extra Makefile rules.
20803 (EXTRA_RULES): AC_SUBST it.
20804 * lib/read1.c: New file.
20806 2014-08-20 Joel Brobecker <brobecker@adacore.com>
20808 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
20809 the handling of variables declared as a typedef to an array
20810 which a DW_AT_data_location attribute.
20812 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
20813 Pedro Alves <palves@redhat.com>
20817 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
20820 2014-08-19 Pedro Alves <palves@redhat.com>
20822 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
20824 2014-08-19 Yao Qi <yao@codesourcery.com>
20826 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
20829 2014-08-18 David Blaikie <dblaikie@gmail.com>
20831 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
20833 2014-08-18 Joel Brobecker <brobecker@adacore.com>
20835 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
20836 attribute in array range.
20838 2014-08-18 Joel Brobecker <brobecker@adacore.com>
20840 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
20842 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
20845 * gdb.cp/pr17132.cc: New file.
20846 * gdb.cp/pr17132.exp: New file.
20848 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
20850 * gdb.python/py-xmethods.py (A_getarrayind)
20851 (E_method_char_worker.__call__, E_method_int_worker.__call__):
20852 Use 'print' with function call syntax.
20853 (E_method_matcher.match): Fix tab vs space indentation mixup.
20855 2014-08-15 Yao Qi <yao@codesourcery.com>
20857 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
20860 2014-08-15 Yao Qi <yao@codesourcery.com>
20862 * gdb.cp/casts.exp: Set print symbol off.
20863 * gdb.cp/class2.exp: Likewise.
20864 * gdb.cp/overload.exp: Likewise.
20865 * gdb.cp/templates.exp: Likewise.
20867 2014-08-11 Doug Evans <dje@google.com>
20869 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
20870 (test_load_shlib): Update.
20872 2014-08-09 Yao Qi <yao@codesourcery.com>
20874 * gdb.base/display.exp: Invoke is_address_zero_readable.
20875 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
20876 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
20877 * gdb.base/hbreak-unmapped.exp: Return if
20878 is_address_zero_readable returns true.
20879 * gdb.base/signest.exp: Likewise.
20880 * gdb.base/signull.exp: Likewise.
20881 * gdb.base/sigbpt.exp: Likewise.
20882 * gdb.guile/scm-disasm.exp: Do the test if
20883 is_address_zero_readable returns false.
20884 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
20885 * gdb.python/py-arch.exp: Likewise.
20886 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
20887 * lib/gdb.exp (is_address_zero_readable): New proc.
20889 2014-08-09 Yao Qi <yao@codesourcery.com>
20892 * gdb.mi/mi-var-display.exp: Make test messages unique.
20894 2014-08-04 Tom Tromey <tromey@redhat.com>
20896 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
20899 2014-08-04 Tom Tromey <tromey@redhat.com>
20901 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
20904 2014-08-01 Joel Brobecker <brobecker@adacore.com>
20906 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
20907 inner_vla_struct_object_size.
20908 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
20911 2014-07-30 Pedro Alves <palves@redhat.com>
20913 * gdb.threads/signal-command-handle-nopass.exp (test): Add
20916 2014-07-29 Yao Qi <yao@codesourcery.com>
20919 * gdb.base/until-nodebug.exp: New.
20921 2014-07-28 Doug Evans <xdje42@gmail.com>
20924 * gdb.guile/scm-parameter.exp: Add tests for trying to create
20925 previously existing parameter, and previously ambiguously spelled
20928 2014-07-28 Will Newton <will.newton@linaro.org>
20930 * gdb.base/varargs.exp: Remove KFAILs for ARM.
20932 2014-07-26 Ludovic Courtès <ludo@gnu.org>
20933 Doug Evans <xdje42@gmail.com>
20936 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
20938 2014-07-25 Pedro Alves <palves@redhat.com>
20940 * gdb.threads/signal-command-handle-nopass.c: New file.
20941 * gdb.threads/signal-command-handle-nopass.exp: New file.
20942 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
20943 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
20944 * gdb.threads/signal-delivered-right-thread.c: New file.
20945 * gdb.threads/signal-delivered-right-thread.exp: New file.
20947 2014-07-25 Pedro Alves <palves@redhat.com>
20949 * gdb.base/double-prompt-target-event-error.exp
20950 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
20952 (cancel_pagination_in_target_event): Rework double prompt
20954 * gdb.base/paginate-after-ctrl-c-running.exp
20955 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
20957 * gdb.base/paginate-bg-execution.exp
20958 (test_bg_execution_pagination_return)
20959 (test_bg_execution_pagination_cancel): Remove '-notransfer
20961 * gdb.base/paginate-execution-startup.exp
20962 (test_fg_execution_pagination_return)
20963 (test_fg_execution_pagination_cancel): Remove '-notransfer
20965 * gdb.base/paginate-inferior-exit.exp
20966 (test_paginate_inferior_exited): Remove '-notransfer <return>'
20968 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
20969 * lib/gdb.exp (pagination_prompt): Run text through
20971 (gdb_test_multiple): Match $pagination_prompt instead of
20973 (string_to_regexp): Move to lib/gdb-utils.exp.
20975 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
20977 * gdb.arch/amd64-entry-value-paramref.S: New file.
20978 * gdb.arch/amd64-entry-value-paramref.cc: New file.
20979 * gdb.arch/amd64-entry-value-paramref.exp: New file.
20980 * gdb.arch/amd64-optimout-repeat.S: New file.
20981 * gdb.arch/amd64-optimout-repeat.c: New file.
20982 * gdb.arch/amd64-optimout-repeat.exp: New file.
20984 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
20987 * gdb.base/statistics.exp: New file.
20989 2014-07-17 Doug Evans <dje@google.com>
20992 * gdb.base/maint.exp: Update testing of per-command stats.
20994 2014-07-16 Pedro Alves <palves@redhat.com>
20996 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
20997 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
20998 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
20999 (tfile_write_buf): New functions.
21000 (add_memory_block): Rewrite using the above.
21001 (adjust_function_address): New function.
21002 (FUNCTION_ADDRESS): New macro.
21003 (write_basic_trace_file): Remove short_x local, and use
21004 tfile_write_16. Change type of func_addr local to unsigned long
21005 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
21006 here. Cast argument of add_memory_block to char pointer.
21007 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
21008 (main): Remove parameters.
21009 * gdb.trace/tfile.exp: Remove nowarnings.
21011 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
21013 * gdb.base/debug-expr.exp: Test string evaluation with
21014 "debug expression" on.
21016 2014-07-15 Pedro Alves <palves@redhat.com>
21018 * gdb.base/reread.exp: Use clean_restart.
21020 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
21022 * gdb.arch/avr-flash-qualifer.c: New.
21023 * gdb.arch/avr-flash-qualifer.exp: New.
21025 2014-07-14 Pedro Alves <palves@redhat.com>
21027 * gdb.base/paginate-after-ctrl-c-running.c: New file.
21028 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
21030 2014-07-14 Pedro Alves <palves@redhat.com>
21032 * gdb.base/double-prompt-target-event-error.c: New file.
21033 * gdb.base/double-prompt-target-event-error.exp: New file.
21035 2014-07-14 Pedro Alves <palves@redhat.com>
21038 * gdb.base/paginate-inferior-exit.c: New file.
21039 * gdb.base/paginate-inferior-exit.exp: New file.
21041 2014-07-14 Pedro Alves <palves@redhat.com>
21044 * gdb.base/paginate-bg-execution.c: New file.
21045 * gdb.base/paginate-bg-execution.exp: New file.
21047 2014-07-14 Pedro Alves <palves@redhat.com>
21050 * gdb.base/paginate-execution-startup.c: New file.
21051 * gdb.base/paginate-execution-startup.exp: New file.
21052 * lib/gdb.exp (pagination_prompt): New global.
21053 (default_gdb_spawn): New procedure, factored out from
21055 (default_gdb_start): Adjust to call default_gdb_spawn.
21056 (gdb_spawn): New procedure.
21058 2014-07-14 Pedro Alves <palves@redhat.com>
21060 * lib/gdb.exp (gdb_assert): New procedure.
21061 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
21063 2014-07-14 Pedro Alves <palves@redhat.com>
21065 * gdb.base/execution-termios.c: New file.
21066 * gdb.base/execution-termios.exp: New file.
21068 2014-07-14 Tom Tromey <tromey@redhat.com>
21070 * gdb.cp/vla-cxx.cc: New file.
21071 * gdb.cp/vla-cxx.exp: New file.
21073 2014-07-14 Tom Tromey <tromey@redhat.com>
21075 * gdb.reverse/rerun-prec.c: New file.
21076 * gdb.reverse/rerun-prec.exp: New file.
21078 2014-07-12 Maciej W. Rozycki <macro@mips.com>
21079 Maciej W. Rozycki <macro@codesourcery.com>
21081 * lib/gdb-utils.exp: New file.
21082 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
21083 inline `gdb_init_command' processing.
21084 (gdb_start_cmd): Likewise.
21085 * lib/mi-support.exp (mi_run_cmd): Likewise.
21086 * README: Document `gdb_init_command' and `gdb_init_commands'.
21088 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
21090 Fix false FAIL running under a very long directory name.
21091 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
21092 and "set print elements 10000". Twice.
21094 2014-07-11 Yao Qi <yao@codesourcery.com>
21096 * gdb.base/exprs.exp: "set print symbol off".
21098 2014-07-11 Pedro Alves <palves@redhat.com>
21100 * gdb.threads/kill.c: New file.
21101 * gdb.threads/kill.exp: New file.
21103 2014-07-10 Yao Qi <yao@codesourcery.com>
21105 * gdb.trace/tfile.c (write_basic_trace_file)
21106 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
21107 address written to trace file.
21109 2014-07-09 Pedro Alves <palves@redhat.com>
21111 * gdb.base/attach-wait-input.exp: New file.
21112 * gdb.base/attach-wait-input.c: New file.
21114 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
21116 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
21117 setting up test structures.
21118 (main): Call new test function.
21119 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
21120 test function, continue into test function and walk test
21123 2014-07-02 Yao Qi <yao@codesourcery.com>
21125 * gdb.trace/entry-values.c: Define labels 'foo_start' and
21126 'bar_start' at the beginning of functions 'foo' and 'bar'
21128 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
21129 instead of 'foo' and 'bar'.
21131 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
21133 * gdb.btrace/segv.exp: New.
21134 * gdb.btrace/segv.c: New.
21136 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
21138 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
21141 2014-06-30 Mark Wielaard <mjw@redhat.com>
21143 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
21144 vulture, vilify, villar): New volatile array constants.
21145 (vindictive, vegetation): New const volatile array constants.
21146 * gdb.base/volatile.exp: Test volatile and const volatile array
21149 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
21151 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
21152 target lacks support for awatch, rwatch, or hbreak.
21154 2014-06-27 Yao Qi <yao@codesourcery.com>
21156 * gdb.multi/dummy-frame-restore.exp: New.
21157 * gdb.multi/dummy-frame-restore.c: New.
21159 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
21161 * gdb.btrace/gcore.exp: New.
21163 2014-06-23 Pedro Alves <palves@redhat.com>
21165 * gdb.base/watchpoint-reuse-slot.c: New file.
21166 * gdb.base/watchpoint-reuse-slot.exp: New file.
21168 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
21170 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
21171 progspace's filename in 'info', 'enable' and 'disable' command
21174 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
21176 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
21177 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
21178 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
21180 2014-06-20 Gary Benson <gbenson@redhat.com>
21182 * gdb.arch/i386-avx.exp: Fix include file location.
21183 * gdb.arch/i386-sse.exp: Likewise.
21185 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
21187 * gdb.dlang/expression.exp: New file.
21189 2014-06-19 Pedro Alves <palves@redhat.com>
21191 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
21193 (top level): ... here. Iterate running tests under different
21194 scheduler-locking settings.
21196 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
21198 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
21199 to DW_FORM_addr and use non-zero addresses.
21201 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
21204 * gdb.python/py-xmethods.cc: Add global function call counters and
21205 increment them in their respective functions. Remove "cout"
21207 * gdb.python/py-xmethods.exp: Make tests check the global function
21208 call counters instead of depending on inferior IO.
21210 2014-06-18 Don Breazeal <donb@codesourcery.com>
21212 * gdb.base/foll-fork.exp (default_fork_parent_follow):
21214 (explicit_fork_parent_follow): Deleted procedure.
21215 (explicit_fork_child_follow): Deleted procedure.
21216 (test_follow_fork): New procedure.
21217 (do_fork_tests): Replace calls to deleted procedures with
21218 calls to test_follow_fork and reset GDB for subsequent
21221 2014-06-17 Yao Qi <yao@codesourcery.com>
21223 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
21226 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
21228 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
21229 Initialize ptr and S explicitly.
21230 (skip_type_update_when_not_use_rtti_test): Likewise.
21232 2014-06-16 Keith Seitz <keiths@redhat.com>
21235 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
21236 the inferior is started.
21238 2014-06-16 Pedro Alves <palves@redhat.com>
21240 * gdb.base/break-main-file-remove-fail.c: New file.
21241 * gdb.base/break-main-file-remove-fail.exp: New file.
21242 * gdb.base/break-unload-file.exp: Use build_executable instead of
21243 prepare_for_testing.
21244 (test_break): New parameter "initial_load". Handle it.
21245 (top level): Add initial_load cmdline/file axis.
21247 2014-06-12 Tom Tromey <tromey@redhat.com>
21249 * gdb.base/completion.exp: Don't use directory name in test.
21251 2014-06-09 Gary Benson <gbenson@redhat.com>
21253 * gdb.base/sigall.c [Functions to send signals]: Reorder to
21254 separate the always-available ANSI-standard signals from the
21255 signals that require checking.
21257 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
21261 2014-06-07 Keith Seitz <keiths@redhat.com>
21265 * gdb.cp/var-tag.cc: New file.
21266 * gdb.cp/var-tag.exp: New file.
21267 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
21268 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
21269 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
21270 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
21272 2014-06-06 Doug Evans <xdje42@gmail.com>
21274 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
21276 2014-06-06 Pedro Alves <palves@redhat.com>
21278 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
21279 in target debug output instead of looking at RSP packets,
21280 disabling the test on any target that uses hardware stepping.
21283 2014-06-06 Pedro Alves <palves@redhat.com>
21285 * gdb.base/break-unload-file.exp: Fix typo.
21287 2014-06-06 Yao Qi <yao@codesourcery.com>
21289 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
21290 from "jit_function" to "^jit_function".
21292 2014-06-06 Yao Qi <yao@codesourcery.com>
21294 * gdb.base/async.c (foo): Add one statement.
21295 * gdb.base/async.exp: Get the next instruction address and
21296 match the output of "nexti" by instruction address. Match
21297 the hex address in the output of "finish".
21299 2014-06-06 Gary Benson <gbenson@redhat.com>
21301 * gdb.base/call-signals.c: Remove preprocessor conditionals
21302 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
21303 SIGSEGV and SIGTERM.
21304 * gdb.base/sigall.c: Likewise.
21305 * gdb.base/unwindonsignal.c: Likewise.
21306 * gdb.reverse/sigall-reverse.c: Likewise.
21308 2014-06-06 Yao Qi <yao@codesourcery.com>
21310 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
21311 readable, skip the test.
21313 2014-06-06 Yao Qi <yao@codesourcery.com>
21315 * gdb.threads/staticthreads.c (thread_function): Move the line
21316 setting breakpoint on forward.
21317 * gdb.threads/staticthreads.exp: Update comments.
21319 2014-06-05 Ludovic Courtès <ludo@gnu.org>
21321 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
21322 "history-append! type error".
21324 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
21326 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
21327 erroneous dprintf expected input.
21329 2014-06-04 Doug Evans <xdje42@gmail.com>
21331 * gdb.guile/scm-generics.exp: Delete.
21333 2014-06-04 Doug Evans <xdje42@gmail.com>
21335 * gdb.guile/scm-breakpoint.exp: Update.
21336 Add tests for breakpoint registration.
21338 2014-06-04 Tom Tromey <tromey@redhat.com>
21340 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
21342 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
21343 inner_vla_struct, vla_union types. Initialize objects of those
21344 types and compute their sizes.
21346 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
21347 Hui Zhu <hui@codesourcery.com>
21349 * gdb.base/fileio.exp: Add test for shell not available as well as
21351 * gdb.base/fileio.c (test_system): Check for shell twice.
21353 2014-06-04 Yao Qi <yao@codesourcery.com>
21355 * gdb.base/auto-connect-native-target.exp: Remove redundant
21356 space from the regexp pattern.
21358 2014-06-04 Yao Qi <yao@codesourcery.com>
21360 * gdb.base/default.exp: Replace "child" with "native" in
21363 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
21365 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
21366 * gdb.python/py-xmethods.exp: New tests to test xmethods.
21367 * gdb.python/py-xmethods.py: Python script supporting the
21368 new testcase and tests.
21370 2014-06-03 Joel Brobecker <brobecker@adacore.com>
21371 Pedro Alves <palves@redhat.com>
21373 PR breakpoints/17000
21374 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
21375 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
21377 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
21379 * gdb.base/subst.exp: Add tests to verify partial path matching
21382 2014-06-03 Pedro Alves <palves@redhat.com>
21384 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
21385 target that doesn't use software single-stepping.
21387 2014-06-03 Pedro Alves <palves@redhat.com>
21389 PR breakpoints/17000
21390 * gdb.base/sss-bp-on-user-bp-2.c: New file.
21391 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
21393 2014-06-02 Doug Evans <xdje42@gmail.com>
21395 * gdb.guile/scm-parameter.exp: New file.
21397 2014-06-02 Doug Evans <xdje42@gmail.com>
21399 * gdb.guile/scm-cmd.c: New file.
21400 * gdb.guile/scm-cmd.exp: New file.
21402 2014-06-02 Doug Evans <xdje42@gmail.com>
21404 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
21405 pretty-printer lookup.
21406 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
21407 (make-pp_s-printer): Call it.
21408 (make-pretty-printer-from-dict): New function.
21409 (lookup-pretty-printer-maker-from-dict): New function.
21410 (*pretty-printer*): Simplify.
21411 (make-objfile-pp_s-printer): New function.
21412 (install-objfile-pretty-printers!): New function.
21413 (make-progspace-pp_s-printer): New function.
21414 (install-progspace-pretty-printers!): New function.
21415 * gdb.guile/scm-progspace.c: New file.
21416 * gdb.guile/scm-progspace.exp: New file.
21418 2014-06-02 Pedro Alves <palves@redhat.com>
21420 * gdb.base/dprintf-bp-same-addr.c: New file.
21421 * gdb.base/dprintf-bp-same-addr.exp: New file.
21423 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21425 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
21426 * gdb.arch/powerpc-power.s: Likewise.
21428 2014-06-02 Joel Brobecker <brobecker@adacore.com>
21430 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
21432 2014-06-01 Yao Qi <yao@codesourcery.com>
21434 * gdb.base/watchpoint.exp (test_watch_location): Check null
21435 pointer can be dereferenced. If not, do the test, otherwise
21438 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
21440 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
21442 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
21444 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
21446 * gdb.arch/amd64-invalid-stack-middle.S: New file.
21447 * gdb.arch/amd64-invalid-stack-middle.c: New file.
21448 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
21449 * gdb.arch/amd64-invalid-stack-top.c: New file.
21450 * gdb.arch/amd64-invalid-stack-top.exp: New file.
21452 2014-05-30 Pedro Alves <palves@redhat.com>
21454 PR breakpoints/17000
21455 * gdb.base/sss-bp-on-user-bp.c: New file.
21456 * gdb.base/sss-bp-on-user-bp.exp: New file.
21458 2014-05-30 David Blaikie <dblaikie@gmail.com>
21460 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
21461 gnu_inline semantics via attribute.
21462 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
21463 source explicitly specifies the required semantics.
21465 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
21467 * gdb.reverse/sigall-reverse.exp: Fix a typo.
21469 2014-05-29 Pedro Alves <palves@redhat.com>
21470 Tom Tromey <tromey@redhat.com>
21472 * gdb.base/async-shell.exp: Don't enable target-async.
21473 * gdb.base/async.exp
21474 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
21476 (top level): Don't test with "target-async".
21477 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
21478 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
21479 * gdb.base/inferior-died.exp: Don't enable target-async.
21480 * gdb.base/interrupt-noterm.exp: Likewise.
21481 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
21482 * gdb.mi/mi-nonstop-exit.exp: Likewise.
21483 * gdb.mi/mi-nonstop.exp: Likewise.
21484 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
21485 * gdb.mi/mi-nsintrall.exp: Likewise.
21486 * gdb.mi/mi-nsmoribund.exp: Likewise.
21487 * gdb.mi/mi-nsthrexec.exp: Likewise.
21488 * gdb.mi/mi-watch-nonstop.exp: Likewise.
21489 * gdb.multi/watchpoint-multi.exp: Adjust comment.
21490 * gdb.python/py-evsignal.exp: Don't enable target-async.
21491 * gdb.python/py-evthreads.exp: Likewise.
21492 * gdb.python/py-prompt.exp: Likewise.
21493 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
21494 * gdb.server/solib-list.exp: Don't enable target-async.
21495 * gdb.threads/thread-specific-bp.exp: Likewise.
21496 * lib/mi-support.exp: Adjust to use mi-async.
21498 2014-05-29 Pedro Alves <palves@redhat.com>
21501 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
21502 reason, even in sync mode.
21504 2014-05-29 Pedro Alves <palves@redhat.com>
21505 Hui Zhu <hui@codesourcery.com>
21508 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
21509 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
21510 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
21511 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
21513 2014-05-28 Joel Brobecker <brobecker@adacore.com>
21515 * config/monitor.exp (gdb_target_monitor): Replace use of
21516 "set remotebaud" by "set serial baud".
21518 2014-05-26 Andy Wingo <wingo@igalia.com>
21520 * gdb.guile/scm-breakpoint.exp:
21521 * gdb.guile/scm-gsmob.exp: Update to use plain old object
21522 properties instead of gdb-object-properties.
21524 2014-05-26 Yao Qi <yao@codesourcery.com>
21526 * gdb.server/no-thread-db.exp: Specify source file name
21527 explicitly when setting a breakpoint.
21529 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
21531 * gdb.btrace/vdso.c: New.
21532 * gdb.btrace/vdso.exp: New.
21534 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
21536 * gdb.base/gcore.exp (capture_command_output): Move ...
21537 * lib/gdb.exp (capture_command_output): ... here.
21539 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
21541 * gdb.btrace/data.exp: Test memory access during btrace replay.
21543 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
21545 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
21547 2014-05-21 Pedro Alves <palves@redhat.com>
21550 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
21551 (top level): Test that output related to execution commands is
21552 sent to the console with CLI commands, but not with MI commands.
21553 Test that breakpoint events are always mirrored to the console.
21554 Also expect the new source line to be output after a "next" in
21555 async mode too. Make it a pass/fail test.
21556 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
21558 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
21560 2014-05-21 Pedro Alves <palves@redhat.com>
21562 * gdb.base/list.exp (build_pattern, test_list): New procedures.
21563 Use them to test variations of "list" after reaching a breakpoint.
21564 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
21565 Test "list" with listsize 10 after reaching a breakpoint.
21566 * gdb.python/python.exp (decode_line current location line
21567 number): Adjust expected line number.
21569 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
21571 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
21572 behavior for $args, pass it directly to "run".
21574 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
21576 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
21579 2014-05-21 Pedro Alves <palves@redhat.com>
21581 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
21582 auto-connect-native-target off".
21583 * gdb.base/auto-connect-native-target.c: New file.
21584 * gdb.base/auto-connect-native-target.exp: New file.
21586 2014-05-21 Pedro Alves <palves@redhat.com>
21588 * gdb.base/default.exp: Test "target native" instead of "target
21591 2014-05-21 Mark Wielaard <mjw@redhat.com>
21593 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
21595 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
21597 Fix TLS access for -static -pthread.
21598 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
21599 <HAVE_TLS> (thread_function, main): Initialize it.
21600 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
21602 <$have_tls != "">: Check TLSVAR.
21604 2014-05-21 Pedro Alves <palves@redhat.com>
21606 * gdb.base/dcache-line-read-error.c: New.
21607 * gdb.base/dcache-line-read-error.exp: New.
21609 2014-05-20 Pedro Alves <palves@redhat.com>
21611 * gdb.base/compare-sections.c: New file.
21612 * gdb.base/compare-sections.exp: New file.
21614 2014-05-20 Pedro Alves <palves@redhat.com>
21616 * gdb.base/break-idempotent.c: New file.
21617 * gdb.base/break-idempotent.exp: New file.
21619 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
21621 * gdb.btrace/nohist.exp: New.
21623 2014-05-20 Yao Qi <yao@codesourcery.com>
21625 * lib/gdb.exp (gdb_init): Set timeout if test file is under
21626 gdb.reverse directory and gdb_reverse_timeout exists in board
21628 * README: Document gdb_reverse_timeout.
21630 2014-05-20 Yao Qi <yao@codesourcery.com>
21632 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
21633 'test_file_name'. Treat args as a string instead of a list.
21634 (gdb_init): Rename argument 'args' by 'test_file_name'.
21636 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
21638 * gdb.arch/powerpc-power.exp: New file.
21639 * gdb.arch/powerpc-power.s: New file.
21641 2014-05-16 Doug Evans <dje@google.com>
21643 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
21644 * gdb.base/completion.exp: Check that all expected files exist
21645 before doing file completion.
21647 2014-05-16 Doug Evans <dje@google.com>
21649 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
21651 (do_syscall_tests_without_xml): Update.
21653 2014-05-16 Pedro Alves <palves@redhat.com>
21655 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
21656 instead of "unknown output after running".
21658 2014-05-16 Yao Qi <yao@codesourcery.com>
21660 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
21661 file1.txt from host at the end.
21662 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
21664 2014-05-15 Doug Evans <dje@google.com>
21666 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
21667 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
21668 loading file. Add test for TU lookup.
21670 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
21672 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
21673 calling "-exec-arguments" or "set args" before running the
21676 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
21678 * lib/mi-support.exp (mi_expect_stop): Expect message for
21679 inferiors that exit with non-zero exit code.
21681 2014-05-14 Yao Qi <yao@codesourcery.com>
21683 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
21684 match absolute path on remote host.
21685 (test_file_list_exec_source_files): Remove "/" from the
21688 2014-05-14 Yao Qi <yao@codesourcery.com>
21690 * boards/local-remote-host-notty.exp (${board}_file): New
21693 2014-05-07 Kyle McMartin <kyle@redhat.com>
21695 Pushed by Joel Brobecker <brobecker@adacore.com>.
21696 * gdb.arch/aarch64-atomic-inst.c: New file.
21697 * gdb.arch/aarch64-atomic-inst.exp: New file.
21699 2014-05-07 Yao Qi <yao@codesourcery.com>
21701 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
21702 in current context" too.
21704 2014-05-05 Keith Seitz <keiths@redhat.com>
21706 * gdb.linespec/ls-dollar.exp: Add test for linespec
21707 file:convenience_variable.
21709 2014-05-05 Yao Qi <yao@codesourcery.com>
21711 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
21712 traceframes into tfile and ctf trace files. Read data from
21713 trace file and test collected data.
21714 (gdb_collect_locals_test): Likewise.
21715 (gdb_unavailable_registers_test): Likewise.
21716 (gdb_unavailable_floats): Likewise.
21717 (gdb_collect_globals_test): Likewise.
21718 (top-level): Append "ctf" to trace_file_targets if GDB
21721 2014-05-05 Yao Qi <yao@codesourcery.com>
21723 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
21725 (gdb_collect_args_test_1): ... it. New proc.
21726 (gdb_collect_locals_test): Move some code to ...
21727 (gdb_collect_locals_test_1): ... it. New proc.
21728 (gdb_unavailable_registers_test): Move some code to ...
21729 (gdb_unavailable_registers_test_1): ... it. New proc.
21730 (gdb_unavailable_floats): Move some code to ...
21731 (gdb_unavailable_floats_1): ... it. New proc.
21733 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
21735 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
21736 probes to test for bitness recognition.
21737 * gdb.arch/amd64-stap-optional-prefix.exp
21738 (test_probe_value_without_reg): New procedure.
21739 Add code to test for different kinds of bitness.
21741 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
21743 PR breakpoints/16889
21744 * gdb.arch/amd64-stap-optional-prefix.S: New file.
21745 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
21747 2014-05-01 Pedro Alves <palves@redhat.com>
21749 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
21750 gdb_file_cmd if no file is specified.
21751 * boards/native-extended-gdbserver.exp (gdb_load): Use the
21752 last_loaded_file to set the remote exec-file.
21754 2014-05-01 Pedro Alves <palves@redhat.com>
21756 * boards/local-remote-host.exp: New file.
21758 2014-05-01 Pedro Alves <palves@redhat.com>
21760 * boards/local-remote-host.exp: Rename to ...
21761 * boards/local-remote-host-notty.exp: ... this.
21763 2014-04-28 Joel Brobecker <brobecker@adacore.com>
21765 * gdb.ada/dyn_arrayidx: New testcase.
21767 2014-04-26 Yao Qi <yao@codesourcery.com>
21769 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
21770 and compute the length of function main. Save it in
21772 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
21773 (top-level): Use gdb_compile to compile objects into
21774 executable and restart GDB. Remove invocation to
21775 prepare_for_testing.
21777 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
21778 Pedro Alves <palves@redhat.com>
21781 * gdb.multi/multi-attach.c: New file.
21782 * gdb.multi/multi-attach.exp: New file.
21784 2014-04-25 Pedro Alves <palves@redhat.com>
21786 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
21788 (top level): Test that "set remote conditional-breakpoints-packet
21789 off" works as intended.
21790 * gdb.base/dprintf.exp: Test that "set remote
21791 breakpoint-commands-packet off" works as intended.
21792 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
21794 (top level): Call it.
21795 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
21796 remote fast-tracepoints-packet off" works as intended.
21797 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
21798 * lib/gdb.exp (gdb_is_target_remote): ... here.
21800 2014-04-24 David Blaikie <dblaikie@gmail.com>
21802 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
21803 ensure clang would not discard them.
21804 * gdb.base/gdbvars.c: Ditto.
21805 * gdb.base/memattr.c: Ditto.
21806 * gdb.base/whatis.c: Ditto.
21807 * gdb.python/py-prettyprint.c: Ditto.
21808 * gdb.trace/actions.c: Ditto.
21809 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
21810 ensure clang would not discard it.
21812 2014-04-24 David Blaikie <dblaikie@gmail.com>
21814 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
21815 clang to emit the full definition of type required by the test
21816 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
21818 2014-04-24 David Blaikie <dblaikie@gmail.com>
21820 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
21821 coax Clang into emitting the definition of the type.
21822 * gdb.cp/pr10728-x.h (y): Ditto.
21823 * gdb.cp/pr10728-y.cc (y): Ditto.
21825 2014-04-24 David Blaikie <dblaikie@gmail.com>
21827 * gdb.base/label.exp: XFAIL label related tests under Clang.
21828 * gdb.cp/cplabel.exp: Ditto.
21829 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
21830 under Clang those using labels.
21832 2014-04-25 Yao Qi <yao@codesourcery.com>
21834 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
21836 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
21837 partial_label and double_label.
21839 2014-04-24 David Blaikie <dblaikie@gmail.com>
21841 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
21843 2014-04-24 David Blaikie <dblaikie@gmail.com>
21845 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
21846 of the function to work across GCC and Clang.
21847 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
21848 pointer types (const void ** const V void **).
21850 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
21851 Walfred Tedeschi <walfred.tedeschi@intel.com>
21853 * Makefile.in (EXECUTABLES): Added i386-avx512.
21854 * gdb.arch/i386-avx512.c: New file.
21855 * gdb.arch/i386-avx512.exp: Likewise.
21857 2014-04-23 Keith Seitz <keiths@redhat.com>
21859 * lib/mi-support.exp (mi_list_breakpoints): Delete.
21860 (mi_make_breakpoint_table): New procedure.
21861 (mi_create_breakpoint): Use mi_make_breakpoint
21862 and return the result.
21863 (mi_make_breakpoint): New procedure.
21864 (mi_build_kv_pairs): New procedure.
21866 * gdb.mi/mi-break.exp: Remove unused globals,
21867 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
21868 All callers updated.
21869 * gdb.mi/mi-dprintf.exp: Use variable to track command
21871 Update all callers of mi_create_breakpoint and use
21872 mi_make_breakpoint_table.
21873 Remove any unused global variables.
21874 * gdb.mi/mi-nonstop.exp: Likewise.
21875 * gdb.mi/mi-nsintrall.exp: Likewise.
21876 * gdb.mi/mi-nsmoribund.exp: Likewise.
21877 * gdb.mi/mi-nsthrexec.exp: Likewise.
21878 * gdb.mi/mi-reverse.exp: Likewise.
21879 * gdb.mi/mi-simplerun.exp: Likewise.
21880 * gdb.mi/mi-stepn.exp: Likewise.
21881 * gdb.mi/mi-syn-frame.exp: Likewise.
21882 * gdb.mi/mi-until.exp: Likewise.
21883 * gdb.mi/mi-var-cp.exp: Likewise.
21884 * gdb.mi/mi-var-display.exp: Likewise.
21885 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
21886 * gdb.mi/mi2-var-child.exp: Likewise.
21887 * gdb.mi/mi-vla-c99.exp: Likewise.
21888 * lib/mi-support.exp: Likewise.
21890 From Ian Lance Taylor <iant@cygnus.com>:
21891 * lib/gdb.exp (parse_args): New procedure.
21893 2014-04-23 Pedro Alves <palves@redhat.com>
21895 * gdb.base/break-unload-file.c: New file.
21896 * gdb.base/break-unload-file.exp: New file.
21897 * gdb.base/sym-file-lib.c (baz): New function.
21898 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
21900 (load): Store the segment's mapped size.
21901 (unload): New function.
21902 (unload_shlib): New function.
21903 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
21904 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
21905 set a breakpoint at baz, and call it.
21906 * gdb.base/sym-file.exp: New tests for stale breakpoint
21909 2014-04-23 Pedro Alves <palves@redhat.com>
21911 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
21912 * gdb.base/hbreak-in-shr-unsupported.c: New file.
21913 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
21914 * gdb.base/hbreak-unmapped.c: New file.
21915 * gdb.base/hbreak-unmapped.exp: New file.
21916 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
21917 * lib/gdb.exp (gdb_is_target_remote): ... here.
21919 2014-04-22 Pedro Alves <palves@redhat.com>
21921 * gdb.base/consecutive-step-over.c: New file.
21922 * gdb.base/consecutive-step-over.exp: New file.
21924 2014-04-22 Pedro Alves <palves@redhat.com>
21926 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
21927 instead of send_gdb/gdb_expect.
21929 2014-04-22 Yao Qi <yao@codesourcery.com>
21931 * lib/trace-support.exp (generate_tracefile): New procedure.
21932 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
21934 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
21935 if generate_tracefile returns 1.
21937 2014-04-18 Tom Tromey <palves@redhat.com>
21938 Pedro alves <tromey@redhat.com>
21941 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
21942 with a backtrace limit.
21943 * gdb.python/py-frame-inline.exp: Test running to an inline
21944 function with a backtrace limit, and printing the newest frame.
21945 * gdb.python/py-frame-inline.c (main): Call f.
21947 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
21949 * gdb.java/jnpe.exp: Drop srcdir from untested path.
21951 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
21953 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
21954 Drop prefix from unsupported source file path.
21956 2014-04-17 Yao Qi <yao@codesourcery.com>
21958 * lib/gdb.exp (with_target_charset): New proc.
21959 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
21960 with_target_charset.
21961 (test_print_strings): Likewise.
21962 (test_repeat_bytes): Likewise.
21963 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
21966 2014-04-16 Keith Seitz <keiths@redhat.com>
21969 * gdb.dwarf2/corrupt.c: New file.
21970 * gdb.dwarf2/corrupt.exp: New file.
21972 2014-04-16 Keith Seitz <keiths@redhat.com>
21975 * gdb.cp/namelessclass.cc: New file.
21976 * gdb.cp/namelessclass.exp: New file.
21977 * gdb.cp/namelessclass.S: New file.
21979 2014-04-16 Doug Evans <dje@google.com>
21981 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
21983 (gdbserver_default_get_comm_port): New function.
21984 (gdbserver_start): Check if board file provided
21985 "gdbserver,get_comm_port" and use it if so.
21986 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
21987 (gdb,socketport): Set to "stdio".
21988 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
21989 (stdio_gdbserver_template): Delete.
21990 (${board}_get_remote_address): Update.
21991 (${board}_build_remote_cmd): Delete.
21992 (${board}_get_comm_port): New function.
21993 (${board}_spawn): Update.
21994 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
21996 (${board}_get_remote_address): Update.
21997 (${board}_get_comm_port): New function.
21999 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
22001 * gdb.base/memattr.exp: Improve regexps to handle memory regions
22002 appearing in any order.
22004 2014-04-15 Doug Evans <dje@google.com>
22006 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
22007 uninitialized value of "description".
22009 2014-04-15 Keith Seitz <keiths@redhat.com>
22011 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
22012 Remove unused globals.
22013 (test_running_the_program): Likewise.
22014 (test_controlled_execution): Likewise.
22015 (test_controlling_breakpoints): Likewise.
22016 (test_program_termination): Likewise.
22018 2014-04-15 Keith Seitz <keiths@redhat.com>
22020 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
22022 (test_rbreak_creation_and_listing): Likewise.
22023 (test_ignore_count): Likewise.
22024 (test_error): Likewise.
22026 2014-04-15 Pedro Alves <palves@redhat.com>
22028 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
22029 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
22031 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
22032 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
22033 to sym-file-loader.c.
22034 (struct library): Forward declare.
22035 (load_shlib, lookup_function): Change prototypes.
22036 (find_shstrtab, find_strtab, find_shdr, find_symtab)
22037 (translate_offset): Remove declarations.
22038 (get_text_addr): New declaration.
22039 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
22040 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
22042 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
22043 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
22044 here from sym-file-loader.h.
22045 (struct library): New structure.
22046 (load_shlib, lookup_function): Change prototypes and adjust to
22047 work with a struct library.
22048 (find_shstrtab, find_strtab, find_shdr, find_symtab)
22049 (translate_offset): Make static.
22050 (get_text_addr): New function.
22051 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
22053 2014-04-15 Pedro Alves <palves@redhat.com>
22055 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
22057 2014-04-15 Pedro Alves <palves@redhat.com>
22059 * gdb.base/sym-file-loader.c: Include <limits.h>.
22060 (SELF_LINK): New define.
22061 (get_origin): New function.
22062 (load_shlib): Use it.
22063 * gdb.base/sym-file.exp: Don't early return if the target is
22064 remote. Use runto_main, and issue fail is that fails. Use
22066 (shlib_name): Delete.
22067 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
22069 2014-04-15 Pedro Alves <palves@redhat.com>
22071 * gdb.base/sym-file.exp: Remove regex characters from test
22072 message. Don't refer to breakpoint numbers in test messages.
22074 2014-04-14 Keith Seitz <keiths@redhat.com>
22077 * gdb.cp/var-tag.cc: New file.
22078 * gdb.cp/var-tag.exp: New file.
22079 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
22080 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
22081 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
22082 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
22084 2014-04-14 Tom Tromey <tromey@redhat.com>
22086 * gdb.cp/classes.exp (test_enums): Handle underlying type.
22087 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
22089 * gdb.cp/enum-class.exp: New file.
22090 * gdb.cp/enum-class.cc: New file.
22092 2014-04-14 Tom Tromey <tromey@redhat.com>
22094 * gdb.dwarf2/enum-type.exp: New file.
22096 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22098 * gdb.mi/mi-vla-c99.exp: New file.
22099 * gdb.mi/vla.c: New file.
22101 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22103 * gdb.base/vla-datatypes.c: New file.
22104 * gdb.base/vla-datatypes.exp: New file.
22106 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22108 * gdb.base/vla-ptr.c: New file.
22109 * gdb.base/vla-ptr.exp: New file.
22111 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22113 * gdb.dwarf2/count.exp: New file.
22115 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
22117 * gdb.base/vla-sideeffect.c: New file.
22118 * gdb.base/vla-sideeffect.exp: New file.
22120 2014-04-14 David Blaikie <dblaikie@gmail.com>
22122 * gdb.mi/non-stop.c: Add return value for non-void function return
22124 * gdb.threads/staticthreads.c: Ditto.
22126 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
22127 Doug Evans <xdje42@gmail.com>
22129 * gdb.guile/scm-value.c: Improve test case.
22130 * gdb.guile/scm-value.exp: Add new test.
22132 2014-04-11 David Blaikie <dblaikie@gmail.com>
22134 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
22135 override Clang's default.
22137 2014-04-11 Joel Brobecker <brobecker@adacore.com>
22139 Revert the following changes (regressions):
22141 * gdb.base/vla-sideeffect.c: New file.
22142 * gdb.base/vla-sideeffect.exp: New file.
22144 * gdb.dwarf2/count.exp: New file.
22146 * gdb.base/vla-multi.c: New file.
22147 * gdb.base/vla-multi.exp: New file.
22149 * gdb.base/vla-ptr.c: New file.
22150 * gdb.base/vla-ptr.exp: New file.
22152 * gdb.base/vla-datatypes.c: New file.
22153 * gdb.base/vla-datatypes.exp: New file.
22155 * gdb.mi/mi-vla-c99.exp: New file.
22156 * gdb.mi/vla.c: New file.
22158 2014-04-11 Keith Seitz <keiths@redhat.com>
22161 * gdb.cp/cpsizeof.exp: New file.
22162 * gdb.cp/cpsizeof.cc: New file.
22164 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22166 * gdb.mi/mi-vla-c99.exp: New file.
22167 * gdb.mi/vla.c: New file.
22169 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22171 * gdb.base/vla-datatypes.c: New file.
22172 * gdb.base/vla-datatypes.exp: New file.
22174 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22176 * gdb.base/vla-ptr.c: New file.
22177 * gdb.base/vla-ptr.exp: New file.
22179 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22181 * gdb.base/vla-multi.c: New file.
22182 * gdb.base/vla-multi.exp: New file.
22184 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22186 * gdb.dwarf2/count.exp: New file.
22188 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
22190 * gdb.base/vla-sideeffect.c: New file.
22191 * gdb.base/vla-sideeffect.exp: New file.
22193 2014-04-11 Yao Qi <yao@codesourcery.com>
22195 * gdb.base/completion.exp: Check file exists before running tests
22196 on file completion.
22198 2014-04-10 Pedro Alves <palves@redhat.com>
22200 * gdb.base/cond-eval-mode.c: New file.
22201 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
22202 prepare_for_testing to build the new file. Check result of
22204 (test_break, test_watch): New procedures.
22205 (top level): Use them.
22207 2014-04-08 Pierre Muller <muller@sourceware.org>
22209 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
22210 Ctrl-V use for mingw hosts.
22212 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
22214 * gdb.python/py-value.c: Improve test case.
22215 * gdb.python/py-value.exp: Add new test.
22217 2014-04-07 David Blaikie <dblaikie@gmail.com>
22219 * lib/compiler.c: Identify the clang compiler.
22220 * lib/compiler.cc: Ditto.
22222 2014-04-03 Yao Qi <yao@codesourcery.com>
22224 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
22226 2014-04-01 Anton Blanchard <anton@samba.org>
22228 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
22231 2014-04-01 Anton Blanchard <anton@samba.org>
22233 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
22234 prepare_for_testing.
22236 2014-04-01 Anton Blanchard <anton@samba.org>
22238 * gdb.arch/ppc64-atomic-inst.c: Remove.
22239 * gdb.arch/ppc64-atomic-inst.S: New file.
22240 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
22242 2014-03-31 Doug Evans <dje@google.com>
22244 * gdb.base/print-symbol-loading-lib.c: New file.
22245 * gdb.base/print-symbol-loading-main.c: New file.
22246 * gdb.base/print-symbol-loading.exp: New file.
22248 2014-03-31 Yao Qi <yao@codesourcery.com>
22250 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
22252 2014-03-28 Joel Brobecker <brobecker@adacore.com>
22254 * gdb.ada/mi_dyn_arr: New testcase.
22256 2014-03-27 Doug Evans <dje@google.com>
22258 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
22260 2014-03-27 Yao Qi <yao@codesourcery.com>
22262 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
22263 if target is nios2-*-*.
22265 2014-03-26 Yao Qi <yao@codesourcery.com>
22267 * lib/gdb.exp (readline_is_used): New proc.
22268 * gdb.base/completion.exp: Move tests on command complete up.
22269 Skip the rest of tests if readline is not used.
22270 * gdb.ada/complete.exp: Skp the test if readline is not
22272 * gdb.base/filesym.exp: Likewise.
22273 * gdb.base/macscp.exp: Likewise.
22274 * gdb.base/readline-ask.exp: Likewise.
22275 * gdb.base/readline.exp: Likewise.
22276 * gdb.python/py-cmd.exp: Likewise.
22277 * gdb.trace/tfile.exp: Likewise.
22279 2014-03-26 Yao Qi <yao@codesourcery.com>
22281 * gdb.base/macscp.exp: Fix code format issues.
22283 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
22285 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
22286 * gdb.asm/powerpc64le.inc: New file.
22288 2014-03-25 Pedro Alves <palves@redhat.com>
22289 Doug Evans <dje@google.com>
22291 * gdb.base/source-execution.c: New file.
22292 * gdb.base/source-execution.exp: New file.
22293 * gdb.base/source-execution.gdb: New file.
22295 2014-03-24 Doug Evans <dje@google.com>
22297 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
22300 2014-03-24 Hui Zhu <hui@codesourcery.com>
22301 Pedro Alves <palves@redhat.com>
22303 PR breakpoints/16101
22304 * gdb.base/dprintf.exp: Use unsupported rather than changing the
22305 test pass/fail messages. Detect missing support for dprintf when
22306 breakpoints are actually inserted.
22307 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
22308 breakpoints are actually inserted.
22309 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
22312 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
22314 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
22316 2014-03-22 Doug Evans <xdje42@gmail.com>
22318 * gdb.python/python.exp (python not supported): Verify multi-line
22319 python command issues an error.
22320 * gdb.guile/guile.exp (guile not supported): Verify multi-line
22321 guile command issues an error.
22323 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
22325 * gdb.threads/thread-specific.exp: Handle the lack of usable
22326 $this_breakpoint and $this_thread.
22328 2014-03-21 Hui Zhu <hui@codesourcery.com>
22330 * gdb.base/attach.exp (do_command_attach_tests): New.
22332 2014-03-20 Tom Tromey <tromey@redhat.com>
22333 Pedro Alves <palves@redhat.com>
22336 * gdb.base/condbreak-call-false.c: New file.
22337 * gdb.base/condbreak-call-false.exp: New file.
22339 2014-03-20 Pedro Alves <palves@redhat.com>
22341 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
22343 (block_signals, unblock_signals): Delete.
22344 (child_function_2, main): Remove references to deleted variable
22347 2014-03-20 Pedro Alves <palves@redhat.com>
22349 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
22350 Use pthread_kill to signal thread 2.
22351 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
22352 Adjust to make the test send itself a signal rather than using the
22353 host's "kill" command.
22355 2014-03-20 Pedro Alves <palves@redhat.com>
22357 * gdb.threads/multiple-step-overs.c: New file.
22358 * gdb.threads/multiple-step-overs.exp: New file.
22359 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
22360 Adjust expected infrun debug output.
22362 2014-03-20 Pedro Alves <palves@redhat.com>
22364 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
22365 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
22367 2014-03-20 Pedro Alves <palves@redhat.com>
22369 PR breakpoints/7143
22370 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
22371 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
22372 of gdb_test_multiple.
22373 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
22374 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
22376 2014-03-20 Pedro Alves <palves@redhat.com>
22378 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
22379 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
22381 2014-03-19 Pedro Alves <palves@redhat.com>
22383 * gdb.base/async.exp: Remove early return.
22385 2014-03-19 Pedro Alves <palves@redhat.com>
22387 * gdb.base/async.exp (step& tests): Pass explicit test messages.
22389 2014-03-19 Pedro Alves <palves@redhat.com>
22391 * gdb.base/async.exp (test_background): Expect \r\n after
22392 "completed." in the fail pattern.
22394 2014-03-19 Pedro Alves <palves@redhat.com>
22396 * gdb.base/async.exp (test_background): New procedure.
22397 Use it for all background execution command tests.
22399 2014-03-19 Pedro Alves <palves@redhat.com>
22401 * gdb.base/async.exp: Use prepare_for_testing.
22403 2014-03-19 Pedro Alves <palves@redhat.com>
22405 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
22408 2014-03-19 Pedro Alves <palves@redhat.com>
22410 * gdb.base/async.c (main): Add "jump here" and "until here" line
22412 * gdb.base/async.exp (jump_here): New global.
22413 (jump& test): Use it.
22414 (until_here): New global.
22415 (until& test): Use it.
22417 2014-03-19 Pedro Alves <palves@redhat.com>
22419 * gdb.base/async.exp: Don't frob gdb_protocol.
22421 2014-03-18 Doug Evans <xdje42@gmail.com>
22423 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
22424 Fix spelling of exec-done-display.
22426 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
22429 * gdb.base/gdb-sigterm.c: New file.
22430 * gdb.base/gdb-sigterm.exp: New file.
22432 2014-03-18 Pedro Alves <palves@redhat.com>
22435 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
22436 * lib/mi-support.exp (mi_expect_stop): Add special handling for
22439 2014-03-17 Joel Brobecker <brobecker@adacore.com>
22441 * gdb.ada/pckd_arr_ren: New testcase.
22443 2014-03-13 Doug Evans <xdje42@gmail.com>
22446 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
22447 collect after discarding symbols.
22449 2014-03-13 Ludovic Courtès <ludo@gnu.org>
22450 Doug Evans <xdje42@gmail.com>
22452 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
22453 to history survives a gc.
22455 2014-03-13 Pedro Alves <palves@redhat.com>
22457 * gdb.base/default.exp: Don't test "target procfs".
22459 2014-03-13 Pedro Alves <palves@redhat.com>
22461 * gdb.base/default.exp: Update "target child" and "target procfs"
22462 tests to not expect "Unix".
22464 2014-03-12 Tom Tromey <tromey@redhat.com>
22466 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
22467 New procs. Add target-async tests.
22468 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
22469 Add target-async tests.
22471 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
22473 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
22474 'func_start' and 'func_end' for the beginning and end of the
22475 function code, respectively.
22476 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
22477 'func_end' instead of 'func' and 'main'.
22479 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
22481 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
22482 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
22483 generate the debug info assembler source.
22485 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
22487 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
22488 * gdb.dwarf2/arr-subrange.exp: Likewise.
22489 * gdb.dwarf2/dwz.exp: Likewise.
22490 * gdb.dwarf2/method-ptr.exp: Likewise.
22491 * gdb.dwarf2/missing-sig-type.exp: Likewise.
22492 * gdb.dwarf2/subrange.exp: Likewise.
22493 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
22494 * gdb.dwarf2/implptrpiece.exp: Likewise.
22495 * gdb.dwarf2/nostaticblock.exp: Likewise.
22497 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
22499 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
22500 directory to absolute path name arguments.
22502 2014-03-10 Joel Brobecker <brobecker@adacore.com>
22504 * gdb.ada/tagged_access: New testcase.
22506 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
22508 * gdb.btrace/data.exp: Update expected output.
22510 2014-03-06 Yao Qi <yao@codesourcery.com>
22512 * gdb.trace/pr16508.exp: New file.
22514 2014-03-05 Pedro Alves <palves@redhat.com>
22517 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
22519 (top level): Adjust to use it. Add tests that exercise breakpoint
22520 interaction with the code-cache.
22522 2014-02-26 Ludovic Courtès <ludo@gnu.org>
22524 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
22525 test for 'history-append!'.
22527 2014-02-26 Joel Brobecker <brobecker@adacore.com>
22529 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
22530 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
22531 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
22532 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
22533 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
22534 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
22536 2014-02-26 Joel Brobecker <brobecker@adacore.com>
22538 * testsuite/gdb.python/py-pp-re-notag.c: New file.
22539 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
22540 * testsuite/gdb.python/py-pp-re-notag.p: New file.
22542 2014-02-26 Joel Brobecker <brobecker@adacore.com>
22544 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
22546 2014-02-26 Joel Brobecker <brobecker@adacore.com>
22548 * gdb.dwarf2/arr-stride.c: New file.
22549 * gdb.dwarf2/arr-stride.exp: New file.
22551 2014-02-26 Pedro Alves <palves@redhat.com>
22553 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
22554 that won't ever trigger. Make sure that GDB reports the correct
22555 breakpoint that caused the stop.
22557 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
22560 * gdb.base/auto-load-script: New file.
22561 * gdb.base/auto-load.c: New file.
22562 * gdb.base/auto-load.exp: New file.
22565 * gdb.base/auto-load.exp: Fix out-of-srctree run.
22567 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
22569 Fix dw2-icycle.exp -fsanitize=address GDB crash.
22570 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
22572 2014-02-24 Doug Evans <dje@google.com>
22574 * lib/gdb.exp (run_on_host): Log error output if program fails.
22576 2014-02-21 Pedro Alves <palves@redhat.com>
22578 * gdb.threads/step-after-sr-lock.c: Rename to ...
22579 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
22580 * gdb.threads/step-after-sr-lock.exp: Rename to ...
22581 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
22584 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
22587 * gdb.arch/amd64-stap-special-operands.exp: New file.
22588 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
22589 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
22590 * gdb.arch/amd64-stap-triplet.S: Likewise.
22591 * gdb.arch/amd64-stap-triplet.c: Likewise.
22593 2014-02-20 Joel Brobecker <brobecker@adacore.com>
22595 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
22596 in .section pseudo-op.
22598 2014-02-20 lin zuojian <manjian2006@gmail.com>
22599 Joel Brobecker <brobecker@adacore.com>
22600 Doug Evans <xdje42@gmail.com>
22603 * gdb.dwarf2/dw2-icycle.S: New file.
22604 * gdb.dwarf2/dw2-icycle.c: New file.
22605 * gdb.dwarf2/dw2-icycle.exp: New file.
22607 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
22609 * gdb.python/py-value-cc.cc: Improve test case to enable testing
22610 operations on gdb.Value objects.
22611 * gdb.python/py-value-cc.exp: Add new test to test operations on
22614 2014-02-18 Doug Evans <dje@google.com>
22616 * Makefile.in (TESTS): New variable.
22617 (expanded_tests, expanded_tests_or_none): New variables
22618 (check-single): Pass $(expanded_tests_or_none) to runtest.
22619 (check-parallel): Only run tests in $(TESTS) if non-empty.
22620 (check/no-matching-tests-found): New rule.
22621 * README: Document TESTS makefile variable.
22623 2014-02-18 Doug Evans <dje@google.com>
22625 * Makefile.in (check-parallel): rm -rf outputs temp.
22627 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22629 Fix "ERROR: no fileid for" in the testsuite.
22630 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
22632 2014-02-12 Doug Evans <dje@google.com>
22634 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
22635 (MISCELLANEOUS): New variable.
22636 (clean): rm -rf $(MISCELLANEOUS).
22637 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
22638 dwp live in the same directory as symlinks, with each symlink pointed
22639 to a differently named file in a different directory.
22641 2014-02-11 Doug Evans <dje@google.com>
22643 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
22644 of Tcl file commands.
22646 2014-02-10 Mark Kettenis <kettenis@gnu.org>
22648 * gdb.threads/step-after-sr-lock.exp: Avoid executing
22649 "kill -SIGUSR1 -1".
22651 2014-02-10 Joel Brobecker <brobecker@adacore.com>
22653 * gdb.ada/tick_length_array_enum_idx: New testcase.
22655 2014-02-10 Doug Evans <xdje42@gmail.com>
22657 * configure.ac (AC_OUTPUT): Add gdb.guile.
22658 * configure: Regenerate.
22659 * lib/gdb-guile.exp: New file.
22660 * lib/gdb.exp (get_target_charset): New function.
22661 * gdb.base/help.exp: Update expected output from "apropos apropos".
22662 * gdb.guile/Makefile.in: New file.
22663 * gdb.guile/guile.exp: New file.
22664 * gdb.guile/scm-arch.c: New file.
22665 * gdb.guile/scm-arch.exp: New file.
22666 * gdb.guile/scm-block.c: New file.
22667 * gdb.guile/scm-block.exp: New file.
22668 * gdb.guile/scm-breakpoint.c: New file.
22669 * gdb.guile/scm-breakpoint.exp: New file.
22670 * gdb.guile/scm-disasm.c: New file.
22671 * gdb.guile/scm-disasm.exp: New file.
22672 * gdb.guile/scm-equal.c: New file.
22673 * gdb.guile/scm-equal.exp: New file.
22674 * gdb.guile/scm-error.exp: New file.
22675 * gdb.guile/scm-error.scm: New file.
22676 * gdb.guile/scm-frame-args.c: New file.
22677 * gdb.guile/scm-frame-args.exp: New file.
22678 * gdb.guile/scm-frame-args.scm: New file.
22679 * gdb.guile/scm-frame-inline.c: New file.
22680 * gdb.guile/scm-frame-inline.exp: New file.
22681 * gdb.guile/scm-frame.c: New file.
22682 * gdb.guile/scm-frame.exp: New file.
22683 * gdb.guile/scm-generics.exp: New file.
22684 * gdb.guile/scm-gsmob.exp: New file.
22685 * gdb.guile/scm-iterator.c: New file.
22686 * gdb.guile/scm-iterator.exp: New file.
22687 * gdb.guile/scm-math.c: New file.
22688 * gdb.guile/scm-math.exp: New file.
22689 * gdb.guile/scm-objfile-script-gdb.in: New file.
22690 * gdb.guile/scm-objfile-script.c: New file.
22691 * gdb.guile/scm-objfile-script.exp: New file.
22692 * gdb.guile/scm-objfile.c: New file.
22693 * gdb.guile/scm-objfile.exp: New file.
22694 * gdb.guile/scm-ports.exp: New file.
22695 * gdb.guile/scm-pretty-print.c: New file.
22696 * gdb.guile/scm-pretty-print.exp: New file.
22697 * gdb.guile/scm-pretty-print.scm: New file.
22698 * gdb.guile/scm-section-script.c: New file.
22699 * gdb.guile/scm-section-script.exp: New file.
22700 * gdb.guile/scm-section-script.scm: New file.
22701 * gdb.guile/scm-symbol.c: New file.
22702 * gdb.guile/scm-symbol.exp: New file.
22703 * gdb.guile/scm-symtab-2.c: New file.
22704 * gdb.guile/scm-symtab.c: New file.
22705 * gdb.guile/scm-symtab.exp: New file.
22706 * gdb.guile/scm-type.c: New file.
22707 * gdb.guile/scm-type.exp: New file.
22708 * gdb.guile/scm-value-cc.cc: New file.
22709 * gdb.guile/scm-value-cc.exp: New file.
22710 * gdb.guile/scm-value.c: New file.
22711 * gdb.guile/scm-value.exp: New file.
22712 * gdb.guile/source2.scm: New file.
22713 * gdb.guile/types-module.cc: New file.
22714 * gdb.guile/types-module.exp: New file.
22716 2014-02-10 Yao Qi <yao@codesourcery.com>
22719 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
22720 * configure: Regenerated.
22721 * Makefile.in: New file.
22723 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
22725 * gdb.python/py-framefilter.exp: Fix typo.
22727 2014-02-08 Yao Qi <yao@codesourcery.com>
22729 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
22730 that no =breakpoint-modified is emitted when breakpoints are
22731 modified through MI commands.
22733 2014-02-07 Pedro Alves <pedro@codesourcery.com>
22734 Pedro Alves <palves@redhat.com>
22736 * gdb.threads/step-after-sr-lock.c: New file.
22737 * gdb.threads/step-after-sr-lock.exp: New file.
22739 2014-02-07 Pedro Alves <palves@redhat.com>
22741 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
22743 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
22745 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
22746 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
22748 2014-02-06 Doug Evans <xdje42@gmail.com>
22750 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
22753 * gdb.gdb/python-interrupts.exp: New file.
22755 2014-02-05 Yao Qi <yao@codesourcery.com>
22757 * gdb.trace/report.exp (use_collected_data): Test the output
22758 of "info threads" and "info inferiors".
22760 2014-02-05 Yao Qi <yao@codesourcery.com>
22764 2013-05-24 Yao Qi <yao@codesourcery.com>
22766 * gdb.trace/tfile.exp: Test inferior and thread.
22768 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
22770 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
22772 * gdb.base/step-bt.c: Call hello via function pointer to make
22773 sure its first instruction is executed on powerpc64le-linux.
22775 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
22777 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
22779 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
22781 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
22782 of the test patterns for use on little-endian systems.
22784 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
22786 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
22787 (decimal_vector): Fix for little-endian.
22789 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
22791 * gdb.arch/sparc-sysstep.exp: New file.
22792 * gdb.arch/sparc-sysstep.c: Likewise.
22794 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
22796 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22798 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
22800 2014-01-23 Tom Tromey <tromey@redhat.com>
22802 * gdb.ada/array_char_idx: New testcase.
22804 2014-01-23 Tom Tromey <tromey@redhat.com>
22807 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
22808 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
22811 2014-01-23 Tom Tromey <tromey@redhat.com>
22814 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
22815 string from an inferior frame.
22816 * gdb.python/py-framefilter-mi.exp: Update.
22818 2014-01-22 Doug Evans <dje@google.com>
22820 * gdb.server/server-mon.exp: Add tests for "set debug-format".
22822 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22824 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
22826 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22828 * gdb.trace/entry-values.exp: Remove excess space character from
22829 regex patterns. Handle s390 call instruction.
22831 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22833 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
22834 define "*_start" label. Make "name" static.
22835 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
22836 ${name} by references to ${name}_start.
22838 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22840 * gdb.base/info-macros.exp: Remove "debug" from the compile
22843 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
22845 * gdb.dlang/demangle.exp: New file.
22847 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
22849 * gdb.dlang/primitive-types.exp: New file.
22851 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
22853 * configure.ac: Create gdb.dlang/Makefile.
22854 * configure: Regenerate.
22855 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
22856 * gdb.dlang/Makefile.in: New file.
22857 * lib/d-support.exp: New file.
22858 * lib/gdb.exp (skip_d_tests): New proc.
22860 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22862 * gdb.btrace/delta.exp: Check reverse stepi.
22863 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
22864 * gdb.btrace/finish.exp: New.
22865 * gdb.btrace/next.exp: New.
22866 * gdb.btrace/nexti.exp: New.
22867 * gdb.btrace/record_goto.c: Add comments.
22868 * gdb.btrace/step.exp: New.
22869 * gdb.btrace/stepi.exp: New.
22870 * gdb.btrace/multi-thread-step.c: New.
22871 * gdb.btrace/multi-thread-step.exp: New.
22872 * gdb.btrace/rn-dl-bind.c: New.
22873 * gdb.btrace/rn-dl-bind.exp: New.
22874 * gdb.btrace/data.c: New.
22875 * gdb.btrace/data.exp: New.
22876 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
22878 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22880 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
22881 * gdb.btrace/exception.exp: Update.
22882 * gdb.btrace/instruction_history.exp: Update.
22883 * gdb.btrace/record_goto.exp: Update.
22884 * gdb.btrace/tailcall.exp: Update.
22885 * gdb.btrace/unknown_functions.exp: Update.
22886 * gdb.btrace/delta.exp: New.
22888 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22890 * gdb.btrace/record_goto.exp: Add backtrace test.
22891 * gdb.btrace/tailcall.exp: Add backtrace test.
22893 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22895 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
22896 * gdb.btrace/record_goto.c: New.
22897 * gdb.btrace/record_goto.exp: New.
22898 * gdb.btrace/x86-record_goto.S: New.
22900 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22902 * gdb.btrace/function_call_history.exp: Update tests.
22903 * gdb.btrace/instruction_history.exp: Update tests.
22905 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22907 * gdb.btrace/function_call_history.exp: Fix expected field
22908 order for "record function-call-history".
22909 Add new tests for "record function-call-history /c".
22910 * gdb.btrace/exception.cc: New.
22911 * gdb.btrace/exception.exp: New.
22912 * gdb.btrace/tailcall.exp: New.
22913 * gdb.btrace/x86-tailcall.S: New.
22914 * gdb.btrace/x86-tailcall.c: New.
22915 * gdb.btrace/unknown_functions.c: New.
22916 * gdb.btrace/unknown_functions.exp: New.
22917 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
22919 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22921 * gdb.btrace/instruction_history.exp: Update.
22922 * gdb.btrace/function_call_history.exp: Update.
22924 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22926 * gdb.btrace/function_call_history.exp: Fix expected function
22928 * gdb.btrace/instruction_history.exp: Initialize traced.
22929 Remove traced_functions.
22931 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22933 * gdb.btrace/function_call_history.exp: Update
22934 * gdb.btrace/instruction_history.exp: Update.
22936 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22938 * gdb.btrace/enable.exp: Update expected text.
22940 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
22942 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
22945 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
22947 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
22949 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
22951 * lib/gdb.exp (supports_process_record): Return true for
22952 arm*-linux*. (supports_reverse): Likewise.
22954 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
22958 * gdb.python/py-type.c: Enhance test case.
22959 * gdb.python/py-value-cc.cc: Likewise
22960 * gdb.python/py-type.exp: Add new tests.
22961 * gdb.python/py-value-cc.exp: Likewise
22963 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
22964 Pedro Alves <palves@redhat.com>
22966 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
22967 Make "name" extern.
22968 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
22969 references to ${name}_start by references to ${name}.
22971 2014-01-10 Joel Brobecker <brobecker@adacore.com>
22973 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
22975 2014-01-10 Joel Brobecker <brobecker@adacore.com>
22977 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
22979 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
22980 Pedro Alves <palves@redhat.com>
22982 * gdb.mi/mi-info-os.exp: Connect to the target with
22983 mi_gdb_target_load.
22985 2014-01-08 Pedro Alves <palves@redhat.com>
22987 * gdb.threads/reconnect-signal.c: New file.
22988 * gdb.threads/reconnect-signal.exp: New file.
22990 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
22992 * gdb.base/source-dir.exp: New file.
22994 2014-01-07 Joel Brobecker <brobecker@adacore.com>
22996 * gdb.ada/mi_interface: New testcase.
22998 2014-01-07 Joel Brobecker <brobecker@adacore.com>
23000 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
23001 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
23002 gdb.ada/pp-rec-component/pck.ads: New files.
23004 2014-01-07 Joel Brobecker <brobecker@adacore.com>
23006 * gdb.python/py-pp-integral.c: New file.
23007 * gdb.python/py-pp-integral.py: New file.
23008 * gdb.python/py-pp-integral.exp: New file.
23010 For older changes see ChangeLog-1993-2013.
23012 ;; Local Variables:
23013 ;; mode: change-log
23016 ;; version-control: never
23019 Copyright 2014-2021 Free Software Foundation, Inc.
23020 Copying and distribution of this file, with or without modification,
23021 are permitted provided the copyright notice and this notice are preserved.