1 2020-11-04 Tom Tromey <tromey@adacore.com>
3 * gdb.ada/O2_float_param.exp: Test different -fgnat-encodings
5 * gdb.ada/access_to_unbounded_array.exp: Test different
6 -fgnat-encodings values.
7 * gdb.ada/big_packed_array.exp: Test different -fgnat-encodings
9 * gdb.ada/arr_enum_idx_w_gap.exp: Test different -fgnat-encodings
11 * gdb.ada/array_ptr_renaming.exp: Test different -fgnat-encodings
13 * gdb.ada/array_of_variable_length.exp: Test different
14 -fgnat-encodings values.
15 * gdb.ada/arrayparam.exp: Test different -fgnat-encodings values.
16 * gdb.ada/arrayptr.exp: Test different -fgnat-encodings values.
17 * gdb.ada/frame_arg_lang.exp: Revert -fgnat-encodings=minimal
19 * gdb.ada/mi_string_access.exp: Test different -fgnat-encodings
21 * gdb.ada/mod_from_name.exp: Test different -fgnat-encodings values.
22 * gdb.ada/out_of_line_in_inlined.exp: Test different
23 -fgnat-encodings values.
24 * gdb.ada/packed_array.exp: Test different -fgnat-encodings
26 * gdb.ada/pckd_arr_ren.exp: Test different -fgnat-encodings
28 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Test different
29 -fgnat-encodings values.
30 * gdb.ada/variant_record_packed_array.exp: Test different
31 -fgnat-encodings values.
33 2020-11-04 Tom Tromey <tromey@adacore.com>
35 * gdb.ada/enum_idx_packed.exp: Add tests.
36 * gdb.ada/enum_idx_packed/foo.adb: Add variables.
37 * gdb.ada/enum_idx_packed/pck.adb: Add functions.
38 * gdb.ada/enum_idx_packed/pck.ads: Add types, function
41 2020-11-03 Tom de Vries <tdevries@suse.de>
43 * lib/dwarf.exp (Dwarf::_handle_DW_TAG): Improve attribute list
45 (Dwarf::cu, Dwarf::tu): Remove superfluous abbreviation table
48 2020-11-02 Simon Marchi <simon.marchi@polymtl.ca>
50 * gdb.base/step-over-no-symbols.exp (test_step_over): Replace
51 integer format test with regexp.
53 2020-11-02 Gary Benson <gbenson@redhat.com>
55 * gdb.base/print-file-var.exp (test): Separate compiler and
56 linker options, and build using build_executable_from_specs
59 2020-11-02 Gary Benson <gbenson@redhat.com>
61 * lib/gdb.exp (gdb_compile): Inhibit passing "-x c++"
62 for .c files compiled as C++ with Clang if any shared
63 libraries are specified.
65 2020-11-02 Gary Benson <gbenson@redhat.com>
67 * lib/attributes.h: New header.
68 * gdb.base/backtrace.c: Include the above. Replace
69 __attribute__(noclone)) with ATTRIBUTE_NOCLONE.
70 * gdb.base/infcall-nested-structs.c: Likewise.
71 * gdb.base/vla-optimized-out.c: Likewise.
73 2020-11-02 Tom de Vries <tdevries@suse.de>
75 * gdb.dwarf2/fission-multi-cu.S: Remove .debug_line.dwo section.
77 2020-11-01 Joel Brobecker <brobecker@adacore.com>
79 * gdb.ada/fixed_points/fixed_points.adb: Replace use of
80 System.Min_Int and System.Max_Int with smaller hardcoded
83 2020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
85 * configure.ac: Split AC_INIT into AC_INIT and AC_CONFIG_SRCDIR.
86 * configure: Re-generate.
88 2020-10-30 Simon Marchi <simon.marchi@efficios.com>
90 * gdb.arch/amd64-disp-step-avx.exp: Update displaced step debug
93 2020-10-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
95 * gdb.base/paginate-after-ctrl-c-running.exp: Update with no pagination
97 * gdb.base/paginate-bg-execution.exp: Ditto.
98 * gdb.base/paginate-inferior-exit.exp: Ditto.
99 * gdb.base/double-prompt-target-event-error.c: Remove.
100 * gdb.base/double-prompt-target-event-error.exp: Remove.
102 2020-10-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
104 * gdb.base/kill-detach-inferiors-cmd.exp: Check that 'kill
105 inferiors' and 'detach inferiors' do not change the current
108 2020-10-29 Tom de Vries <tdevries@suse.de>
110 * gdb.threads/tls.exp: Fix DUPLICATEs.
112 2020-10-28 Tom de Vries <tdevries@suse.de>
114 * gdb.python/py-symbol.exp: Add KFAILs for -readnow.
116 2020-10-28 Tom de Vries <tdevries@suse.de>
118 * gdb.ada/exec_changed.exp: Add KFAILs for -readnow.
119 * gdb.base/reread.exp: Same.
121 2020-10-28 Tom de Vries <tdevries@suse.de>
123 * lib/gdb.exp (readnow): Handle arg.
124 * gdb.rust/traits.exp: Add KFAILs for -readnow.
126 2020-10-28 Tom de Vries <tdevries@suse.de>
128 * gdb.base/relocate.exp: Update regexp for -readnow.
130 2020-10-28 Tom de Vries <tdevries@suse.de>
132 * gdb.dwarf2/dw2-error.exp: Mark failure break in main as known with
135 2020-10-28 Tom de Vries <tdevries@suse.de>
138 * gdb.dwarf2/dw2-ranges-overlap.c: New test.
139 * gdb.dwarf2/dw2-ranges-overlap.exp: New file.
141 2020-10-28 Tom de Vries <tdevries@suse.de>
143 * lib/gdb.exp (gdb_file_cmd): Set gdb_file_cmd_msg.
144 * gdb.cp/nsalias.exp: Set complaints limit before file cmd. Expect
145 complaint during file command for -readnow.
147 2020-10-28 Tom de Vries <tdevries@suse.de>
149 * gdb.cp/nsalias.exp: Fix typo in test name.
151 2020-10-28 Tom de Vries <tdevries@suse.de>
153 * gdb.dwarf2/dw2-filename.exp: Update regexp for -readnow.
155 2020-10-28 Tom de Vries <tdevries@suse.de>
157 * gdb.dwarf2/dw2-stack-boundary.exp: KFAILing the complaints for
160 2020-10-27 Tom de Vries <tdevries@suse.de>
162 * gdb.base/multi-forks.exp: Use exp_continue to fix timeout.
164 2020-10-27 Tom de Vries <tdevries@suse.de>
166 * gdb.base/maint.exp: Update for -readnow.
168 2020-10-27 Tom de Vries <tdevries@suse.de>
170 * gdb.cp/psymtab-parameter.exp: Don't expect unexpanded CU for
173 2020-10-14 Gary Benson <gbenson@redhat.com>
175 * gdb.python/py-format-string.exp (test_deref_refs): Treat
176 "_vptr$Base" as correct, in addition to "_vptr.Base".
177 (test_mixed): Likewise.
179 2020-10-27 Gary Benson <gbenson@redhat.com>
181 * gdb.mi/mi-fortran-modules.exp: Check skip_fortran_tests.
182 * gdb.mi/mi-vla-fortran.exp: Likewise. Also fix a comment.
184 2020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
186 * gdb.base/condbreak.exp: Update the completion tests to
187 consider the '-force' flag.
189 2020-10-27 Tom de Vries <tdevries@suse.de>
191 * gdb.base/list-ambiguous-readnow.exp: New file.
193 2020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
195 * gdb.base/condbreak-multi-context.exp: Expand to test forcing
197 * gdb.linespec/cpcompletion.exp: Update to consider the
198 '-force-condition' keyword.
199 * gdb.linespec/explicit.exp: Ditto.
200 * lib/completion-support.exp: Ditto.
202 2020-10-27 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
204 * gdb.base/condbreak-multi-context.cc: New file.
205 * gdb.base/condbreak-multi-context.exp: New file.
207 2020-10-26 Tom Tromey <tom@tromey.com>
209 * lib/mi-support.exp (default_mi_gdb_start): Call
211 * lib/gdb.exp (standard_output_file_with_gdb_instance): Don't
212 subtract one from gdb_instances.
213 (gdb_stdin_log_write): Flush in_file.
215 2020-10-26 Tom de Vries <tdevries@suse.de>
217 * gdb.dwarf2/enqueued-cu-base-addr.exp: New file.
219 2020-10-26 Tom Tromey <tromey@adacore.com>
221 * gdb.ada/unsigned_range/foo.adb: New file.
222 * gdb.ada/unsigned_range/pack.adb: New file.
223 * gdb.ada/unsigned_range/pack.ads: New file.
224 * gdb.ada/unsigned_range.exp: New file.
226 2020-10-26 Tom de Vries <tdevries@suse.de>
228 * lib/gdb.exp (INTERNAL_GDBFLAGS): Set heigth and width.
230 2020-10-26 Tom de Vries <tdevries@suse.de>
232 * gdb.dwarf2/dw2-objfile-overlap-inner.S: Specify default base address
234 * gdb.dwarf2/dw2-objfile-overlap-outer.S: Same.
236 2020-10-23 Tom de Vries <tdevries@suse.de>
238 * lib/dwarf.exp (Dwarf::_guess_form): Return "" by default instead of
240 (Dwarf::_default_form): New proc.
241 (Dwarf::_handle_DW_TAG): Use _default_form. Error out if no form was
244 2020-10-23 Tom de Vries <tdevries@suse.de>
246 * gdb.dwarf2/ada-linkage-name.exp: Use $srcfile for DW_AT_name of CU.
247 * gdb.dwarf2/atomic-type.exp: Same.
248 * gdb.dwarf2/bad-regnum.exp: Same.
249 * gdb.dwarf2/cpp-linkage-name.exp: Same.
250 * gdb.dwarf2/dw2-align.exp: Same.
251 * gdb.dwarf2/dw2-bad-elf.exp: Same.
252 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
253 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
254 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
255 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
256 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
257 * gdb.dwarf2/enum-type.exp: Same.
258 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Same.
259 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
260 * gdb.dwarf2/main-subprogram.exp: Same.
261 * gdb.dwarf2/missing-type-name.exp: Same.
262 * gdb.dwarf2/nonvar-access.exp: Same.
263 * gdb.dwarf2/typedef-void-finish.exp: Same.
264 * gdb.dwarf2/var-access.exp: Same.
265 * gdb.dwarf2/void-type.exp: Same.
267 2020-10-22 Simon Marchi <simon.marchi@polymtl.ca>
270 * gdb.dwarf2/template-specification-full-name.exp: New test.
272 2020-10-22 Luis Machado <luis.machado@linaro.org>
274 * gdb.base/msym-bp-shl.exp (test_break): Adjust pattern to not
275 expected an offset from the function.
276 * gdb.base/msym-bp.exp (test): Likewise.
278 2020-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
280 * gdb.fortran/array-slices.exp: Add a new test.
282 2020-10-21 Gary Benson <gbenson@redhat.com>
284 * gdb.mi/mi-fullname-deleted.exp: Fix substituted
285 fullname test with Clang. Also expand comments generally.
287 2020-10-20 Tom de Vries <tdevries@suse.de>
289 * gdb.dwarf2/pr13961.S: Remove superfluous end-of-siblings marker.
291 2020-10-20 Tom de Vries <tdevries@suse.de>
293 * gdb.dwarf2/arr-stride.c: Remove.
294 * gdb.dwarf2/arr-stride.exp: Use main.c.
295 * gdb.dwarf2/arr-subrange.c: Remove.
296 * gdb.dwarf2/arr-subrange.exp: Use main.c.
297 * gdb.dwarf2/bad-regnum.c: Remove.
298 * gdb.dwarf2/bad-regnum.exp: Use main.c.
299 * gdb.dwarf2/corrupt.c: Remove.
300 * gdb.dwarf2/corrupt.exp: Use main.c.
301 * gdb.dwarf2/dw2-bad-elf.c: Remove.
302 * gdb.dwarf2/dw2-bad-elf.exp: Use main.c.
303 * gdb.dwarf2/dw2-icycle.c: Remove.
304 * gdb.dwarf2/dw2-icycle.exp: Use main.c.
305 * gdb.dwarf2/formdata16.c: Remove.
306 * gdb.dwarf2/formdata16.exp: Use main.c.
307 * gdb.dwarf2/implptrconst.c: Remove.
308 * gdb.dwarf2/implptrconst.exp: Use main.c.
309 * gdb.dwarf2/info-locals-optimized-out.c: Remove.
310 * gdb.dwarf2/info-locals-optimized-out.exp: Use main.c.
311 * gdb.dwarf2/opaque-type-lookup.c: Remove.
312 * gdb.dwarf2/opaque-type-lookup.exp: Use main.c.
314 2020-10-20 Tom de Vries <tdevries@suse.de>
316 * gdb.dwarf2/ada-valprint-error.exp: Remove redundant mention of .exp
318 * gdb.dwarf2/dw2-dir-file-name.exp: Same.
320 2020-10-20 Tom de Vries <tdevries@suse.de>
322 * gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name.
323 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
324 * gdb.dwarf2/dw2-main-no-line-number.exp: Same.
325 * gdb.dwarf2/dw2-ranges-base.exp: Same.
326 * gdb.dwarf2/dw2-ranges.exp: Same.
327 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
328 * gdb.dwarf2/var-access.exp: Same.
330 2020-10-19 Tom Tromey <tromey@adacore.com>
333 * gdb.tui/list.exp: Check source window contents after focus
336 2020-10-17 Tom de Vries <tdevries@suse.de>
339 * gdb.dwarf2/dw2-main-no-line-number.exp: New file.
341 2020-10-17 Tom de Vries <tdevries@suse.de>
343 * lib/gdb.exp (standard_testfile): Also treat args starting with '-'
345 * gdb.dwarf2/atomic.c: Rename to ...
346 * gdb.dwarf2/atomic-type.c: ... this.
347 * gdb.dwarf2/dw2-ranges2.c: Rename to ...
348 * gdb.dwarf2/dw2-ranges-2.c: ... this.
349 * gdb.dwarf2/dw2-ranges3.c: Rename to ...
350 * gdb.dwarf2/dw2-ranges-3.c: ... this.
351 * gdb.dwarf2/fission-mix2.c: Rename to ...
352 * gdb.dwarf2/fission-mix-2.c: ... this.
353 * gdb.dwarf2/ada-linkage-name.exp: Use more suffix args for
355 * gdb.dwarf2/ada-valprint-error.exp: Same.
356 * gdb.dwarf2/arr-stride.exp: Same.
357 * gdb.dwarf2/arr-subrange.exp: Same.
358 * gdb.dwarf2/atomic-type.exp: Same.
359 * gdb.dwarf2/bad-regnum.exp: Same.
360 * gdb.dwarf2/break-inline-psymtab.exp: Same.
361 * gdb.dwarf2/clang-debug-names-2.exp: Same.
362 * gdb.dwarf2/clang-debug-names.exp: Same.
363 * gdb.dwarf2/comp-unit-lang.exp: Same.
364 * gdb.dwarf2/corrupt.exp: Same.
365 * gdb.dwarf2/count.exp: Same.
366 * gdb.dwarf2/cpp-linkage-name.exp: Same.
367 * gdb.dwarf2/data-loc.exp: Same.
368 * gdb.dwarf2/dw2-align.exp: Same.
369 * gdb.dwarf2/dw2-bad-elf.exp: Same.
370 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
371 * gdb.dwarf2/dw2-bad-unresolved.exp: Same.
372 * gdb.dwarf2/dw2-case-insensitive.exp: Same.
373 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Same.
374 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
375 * gdb.dwarf2/dw2-inline-many-frames.exp: Same.
376 * gdb.dwarf2/dw2-inline-param.exp: Same.
377 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
378 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
379 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
380 * gdb.dwarf2/dw2-is-stmt.exp: Same.
381 * gdb.dwarf2/dw2-line-number-zero.exp: Same.
382 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Same.
383 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
384 * gdb.dwarf2/dw2-param-error.exp: Same.
385 * gdb.dwarf2/dw2-ranges-base.exp: Same.
386 * gdb.dwarf2/dw2-ranges.exp: Same.
387 * gdb.dwarf2/dw2-unusual-field-names.exp: Same.
388 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
389 * gdb.dwarf2/dw4-sig-types.exp: Same.
390 * gdb.dwarf2/dynarr-ptr.exp: Same.
391 * gdb.dwarf2/enum-type.exp: Same.
392 * gdb.dwarf2/fission-mix.exp: Same.
393 * gdb.dwarf2/formdata16.exp: Same.
394 * gdb.dwarf2/implptrconst.exp: Same.
395 * gdb.dwarf2/implptrpiece.exp: Same.
396 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
397 * gdb.dwarf2/main-subprogram.exp: Same.
398 * gdb.dwarf2/method-ptr.exp: Same.
399 * gdb.dwarf2/missing-sig-type.exp: Same.
400 * gdb.dwarf2/nonvar-access.exp: Same.
401 * gdb.dwarf2/opaque-type-lookup.exp: Same.
402 * gdb.dwarf2/shortpiece.exp: Same.
403 * gdb.dwarf2/staticvirtual.exp: Same.
404 * gdb.dwarf2/subrange.exp: Same.
405 * gdb.dwarf2/symtab-producer.exp: Same.
406 * gdb.dwarf2/typedef-void-finish.exp: Same.
407 * gdb.dwarf2/var-access.exp: Same.
408 * gdb.dwarf2/variant.exp: Same.
409 * gdb.dwarf2/void-type.exp: Same.
410 * gdb.dwarf2/dw2-ranges-psym.exp: Same. Use main.c instead of
412 * gdb.dwarf2/dw2-ranges-main.c: Remove.
414 2020-10-16 Tom de Vries <tdevries@suse.de>
416 * lib/gdb.exp (gdb_breakpoint): Remove mention of "passfail".
418 2020-10-16 Tom de Vries <tdevries@suse.de>
420 * lib/gdb.exp (gdb_breakpoint): Handle eof as in gdb_test_multiple.
422 2020-10-14 Tom de Vries <tdevries@suse.de>
425 * gdb.ada/mi_catch_ex.exp: Do mi_delete_breakpoints before running
427 * gdb.ada/mi_catch_ex_hand.exp: Same.
429 2020-10-13 Pedro Alves <pedro@palves.net>
431 * lib/mi-support.exp (mi_clean_restart): New.
432 (mi_run_to_main): Delete.
433 All callers adjust to use mi_clean_restart / mi_runto_main.
435 2020-10-13 Pedro Alves <pedro@palves.net>
437 * config/monitor.exp: Use "list -q".
438 * gdb.arch/gdb1558.exp: Use "break -q".
439 * gdb.arch/i386-permbkpt.exp: Use "break -q".
440 * gdb.arch/i386-prologue-skip-cf-protection.exp: Use "break -q".
441 * gdb.base/break.exp: Use "break -q", "list -q" and "tbreak -q".
442 * gdb.base/commands.exp: Use "break -q".
443 * gdb.base/condbreak.exp: Use "break -q".
444 * gdb.base/ctf-ptype.exp: Use "list -q".
445 * gdb.base/define.exp: Use "break -q".
446 * gdb.base/del.exp: Use "break -q".
447 * gdb.base/fullname.exp: Use "break -q".
448 * gdb.base/hbreak-in-shr-unsupported.exp: Use "hbreak -q".
449 * gdb.base/hbreak-unmapped.exp: Use "hbreak -q".
450 * gdb.base/hbreak2.exp: Use "hbreak -q" and "list -q".
451 * gdb.base/hw-sw-break-same-address.exp: Use "break -q" and
453 * gdb.base/included.exp: Use "list -q".
454 * gdb.base/label.exp: Use "break -q".
455 * gdb.base/lineinc.exp: Use "break -q".
456 * gdb.base/list.exp: Use "list -q".
457 * gdb.base/macscp.exp: Use "list -q".
458 * gdb.base/pending.exp: Use "break -q".
459 * gdb.base/prologue-include.exp: Use "break -q".
460 * gdb.base/ptype.exp: Use "list -q".
461 * gdb.base/sepdebug.exp: Use "break -q", "list -q" and "tbreak -q".
462 * gdb.base/server-del-break.exp: Use "break -q".
463 * gdb.base/style.exp: Use "break -q".
464 * gdb.base/symbol-without-target_section.exp: Use "list -q".
465 * gdb.base/watchpoint-reuse-slot.exp: Use "hbreak -q".
466 * gdb.cp/exception.exp: Use "tbreak -q".
467 * gdb.dwarf2/dw2-error.exp: Use "break -q".
468 * gdb.dwarf2/fission-mix.exp: Use "break -q".
469 * gdb.dwarf2/fission-reread.exp: Use "break -q".
470 * gdb.dwarf2/pr13961.exp: Use "break -q".
471 * gdb.linespec/explicit.exp: Use "list -q".
472 * gdb.linespec/linespec.exp: Use "break -q".
473 * gdb.mi/mi-simplerun.exp: Use "--qualified".
474 * gdb.python/py-mi-objfile-gdb.py: Use "list -q".
475 * gdb.server/bkpt-other-inferior.exp: Use "break -q".
476 * gdb.server/connect-without-multi-process.exp: Use "break -q".
477 * gdb.trace/change-loc.exp: Use "break -q".
478 * gdb.trace/pending.exp: Use "break -q".
479 * gdb.tui/basic.exp: Use "list -q".
480 * gdb.tui/list-before.exp: Use "list -q".
481 * gdb.tui/list.exp: Use "list -q".
482 * lib/gdb.exp (gdb_has_argv0): Use "break -q".
484 2020-10-13 Pedro Alves <pedro@palves.net>
486 * gdb.base/ui-redirect.exp: Expect "break -qualified main" in
487 saved breakpoints file.
488 * gdb.guile/scm-breakpoint.exp: Expect "-qualified main" when
489 inspecting breakpoint list.
490 * lib/gdb.exp (runto_main): Add "qualified" to options.
491 * lib/mi-support.exp (mi_runto_helper): Add 'qualified' parameter,
493 (mi_runto_main): Pass 1 as qualified argument.
495 2020-10-13 Pedro Alves <pedro@palves.net>
497 * lib/mi-support.exp (mi_runto_main): New proc.
498 (mi_run_to_main): Use it.
499 * gdb.mi/mi-catch-cpp-exceptions.exp: Likewise.
500 * gdb.mi/mi-var-cmd.exp: Likewise.
501 * gdb.mi/mi-var-invalidate.exp: Likewise.
502 * mi-var-list-children-invalid-grandchild.exp: Likewise.
503 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
504 * gdb.mi/new-ui-mi-sync.exp: Likewise.
505 * gdb.mi/user-selected-context-sync.exp: Likewise.
506 * gdb.opt/inline-cmds.exp: Likewise.
507 * gdb.python/py-framefilter-mi.exp: Likewise.
508 * gdb.python/py-mi.exp: Likewise.
510 2020-10-13 Pedro Alves <pedro@palves.net>
512 * gdb.ada/fun_in_declare.exp: Use "runto_main" instead of
514 * gdb.ada/small_reg_param.exp: Likewise.
515 * gdb.arch/powerpc-d128-regs.exp: Likewise.
516 * gdb.base/annota1.exp: Likewise.
517 * gdb.base/anon.exp: Likewise.
518 * gdb.base/breakpoint-in-ro-region.exp: Likewise.
519 * gdb.base/dprintf-non-stop.exp: Likewise.
520 * gdb.base/dprintf.exp: Likewise.
521 * gdb.base/gdb11530.exp: Likewise.
522 * gdb.base/gdb11531.exp: Likewise.
523 * gdb.base/gnu_vector.exp: Likewise.
524 * gdb.base/interrupt-noterm.exp: Likewise.
525 * gdb.base/memattr.exp: Likewise.
526 * gdb.base/step-over-syscall.exp: Likewise.
527 * gdb.base/watch-cond-infcall.exp: Likewise.
528 * gdb.base/watch-read.exp: Likewise.
529 * gdb.base/watch-vfork.exp: Likewise.
530 * gdb.base/watch_thread_num.exp: Likewise.
531 * gdb.base/watchpoint-stops-at-right-insn.exp: Likewise.
532 * gdb.guile/scm-frame-inline.exp: Likewise.
533 * gdb.linespec/explicit.exp: Likewise.
534 * gdb.opt/inline-break.exp: Likewise.
535 * gdb.python/py-frame-inline.exp: Likewise.
536 * gdb.reverse/break-precsave.exp: Likewise.
537 * gdb.reverse/break-reverse.exp: Likewise.
538 * gdb.reverse/consecutive-precsave.exp: Likewise.
539 * gdb.reverse/consecutive-reverse.exp: Likewise.
540 * gdb.reverse/finish-precsave.exp: Likewise.
541 * gdb.reverse/finish-reverse.exp: Likewise.
542 * gdb.reverse/fstatat-reverse.exp: Likewise.
543 * gdb.reverse/getresuid-reverse.exp: Likewise.
544 * gdb.reverse/i386-precsave.exp: Likewise.
545 * gdb.reverse/i386-reverse.exp: Likewise.
546 * gdb.reverse/i386-sse-reverse.exp: Likewise.
547 * gdb.reverse/i387-env-reverse.exp: Likewise.
548 * gdb.reverse/i387-stack-reverse.exp: Likewise.
549 * gdb.reverse/insn-reverse.exp: Likewise.
550 * gdb.reverse/machinestate-precsave.exp: Likewise.
551 * gdb.reverse/machinestate.exp: Likewise.
552 * gdb.reverse/pipe-reverse.exp: Likewise.
553 * gdb.reverse/readv-reverse.exp: Likewise.
554 * gdb.reverse/recvmsg-reverse.exp: Likewise.
555 * gdb.reverse/rerun-prec.exp: Likewise.
556 * gdb.reverse/s390-mvcle.exp: Likewise.
557 * gdb.reverse/solib-precsave.exp: Likewise.
558 * gdb.reverse/solib-reverse.exp: Likewise.
559 * gdb.reverse/step-precsave.exp: Likewise.
560 * gdb.reverse/step-reverse.exp: Likewise.
561 * gdb.reverse/time-reverse.exp: Likewise.
562 * gdb.reverse/until-precsave.exp: Likewise.
563 * gdb.reverse/until-reverse.exp: Likewise.
564 * gdb.reverse/waitpid-reverse.exp: Likewise.
565 * gdb.reverse/watch-precsave.exp: Likewise.
566 * gdb.reverse/watch-reverse.exp: Likewise.
567 * gdb.threads/kill.exp: Likewise.
568 * gdb.threads/tid-reuse.exp: Likewise.
570 2020-10-13 Simon Marchi <simon.marchi@polymtl.ca>
573 * gdb.base/maint-target-async-off.c: New test.
574 * gdb.base/maint-target-async-off.exp: New test.
576 2020-10-13 Alan Modra <amodra@gmail.com>
578 * gdb.arch/powerpc-altivec.s,
579 * gdb.arch/powerpc-power7.s,
580 * gdb.arch/powerpc-power8.s,
581 * gdb.arch/powerpc-power9.s,
582 * gdb.arch/powerpc-vsx.s,
583 * gdb.arch/powerpc-vsx2.s: Remove duplicate instructions.
584 * gdb.arch/powerpc-altivec.exp,
585 * gdb.arch/powerpc-power7.exp,
586 * gdb.arch/powerpc-power8.exp,
587 * gdb.arch/powerpc-power9.exp,
588 * gdb.arch/powerpc-vsx.exp,
589 * gdb.arch/powerpc-vsx2.exp: Likewise, and update expected
590 disassembly of mfvsrd/mtvsrd.
592 2020-10-13 Alan Modra <amodra@gmail.com>
594 * gdb.arch/arm-disassembler-options.exp: Adjust expected
595 "target architecture" output.
596 * gdb.arch/powerpc-d128-regs.exp: Likewise.
597 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
598 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
599 * gdb.arch/s390-disassembler-options.exp: Likewise.
601 2020-10-12 Pedro Alves <pedro@palves.net>
605 * gdb.cp/ambiguous.cc (marker1): Delete.
606 (main): Initialize all the fields of the locals. Replace marker1
607 call with a "set breakpoint here" marker.
608 * gdb.cp/ambiguous.exp: Modernize. Use gdb_continue_to_breakpoint
609 instead of running to marker1. Add tests printing all the
610 variables and all the fields of the variables.
611 (test_ambiguous): New proc, expecting the new GDB output when a
612 field access is ambiguous. Change all "warning: X ambiguous"
615 2020-10-12 Gary Benson <gbenson@redhat.com>
617 * gdb.base/msym-bp.c (foo): Add __attribute__ ((used)).
618 * gdb.base/msym-bp-2.c (foo): Likewise.
619 * gdb.base/msym-lang.c (foo): Likewise.
620 * gdb.base/msym-lang-main.c (foo): Likewise.
621 * gdb.base/symtab-search-order-1.c (static_global): Likewise.
622 * gdb.guile/scm-pretty-print.c (eval_func): Likewise.
623 * gdb.mi/mi-sym-info-1.c (global_f1): Likewise.
624 * gdb.mi/mi-sym-info-2.c (global_f1, var1, var2): Likewise.
625 * gdb.multi/watchpoint-multi-exit.c (globalvar): Likewise.
626 * gdb.python/py-as-string.c (enum_valid, enum_invalid): Likewise.
627 * gdb.python/py-objfile.c (static_var): Likewise.
628 * gdb.python/py-symbol.c (rr): Likewise.
629 * gdb.python/py-symbol-2.c (anon, rr): Likewise.
630 * gdb.mi/mi-sym-info.exp (lineno1, lineno2): Updated.
632 2020-10-11 Andrew Burgess <andrew.burgess@embecosm.com>
634 * gdb.fortran/mixed-lang-stack.exp (run_tests): Update expected
637 2020-10-09 Tom Tromey <tromey@adacore.com>
639 * gdb.ada/scalar_storage/storage.adb (Another_Range): New type.
640 (Rec): Add field. Fix range.
641 * gdb.ada/scalar_storage.exp: Update.
643 2020-10-09 Hannes Domani <ssbssa@yahoo.de>
646 * gdb.base/printcmds.exp: Add tests for void results.
648 2020-10-09 Jan Vrany <jan.vrany@labware.com>
650 * gdb.mi/mi-cmd-param-changed.exp: Check that notification is
651 is emmited for both 'set directories' and 'directory' commands.
653 2020-10-08 Tom Tromey <tom@tromey.com>
655 * gdb.base/style.exp: Check that "main"'s name is styled.
657 2020-10-07 Tom Tromey <tromey@adacore.com>
659 * gdb.base/find.exp: Rename some tests.
661 2020-10-06 Gary Benson <gbenson@redhat.com>
663 * gdb.base/list0.c (unused): Add __attribute__ ((used)).
664 * gdb.base/list1.c (unused): Likewise.
666 2020-10-06 Gary Benson <gbenson@redhat.com>
668 * gdb.base/list-ambiguous0.c (ambiguous_var): Add
669 __attribute__ ((used)).
670 * gdb.base/list-ambiguous1.c (ambiguous_var): Likewise.
672 2020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
674 * gdb.base/m32r.ld: Remove SEARCH_DIR line. Add MEMORY regions,
675 make use of regions throughout.
676 * gdb.base/overlays.exp: Enclose string with variableds in "..",
678 * gdb.base/ovlymgr.c: Add 'string.h' and 'stdlib.h' includes.
680 2020-10-05 Hannes Domani <ssbssa@yahoo.de>
682 * gdb.base/call-sc.c: Fix return struct on stack test case.
683 * gdb.base/call-sc.exp: Likewise.
685 2020-10-02 Gary Benson <gbenson@redhat.com>
687 * README: Fix "paralell".
689 2020-09-30 Gary Benson <gbenson@redhat.com>
691 * gdb.dwarf2/dw2-double-set-die-type.S (.Ldie_3e0):
692 Convert directive to lowercase.
693 (.Labbrev1_begin): Add missing label.
694 (abbrev code 0x1): Remove DW_AT_stmt_list.
697 2020-09-27 Tom Tromey <tom@tromey.com>
699 * gdb.tui/new-layout.exp: Use with_test_prefix.
701 2020-09-26 Gareth Rees <grees@undo.io> (tiny change)
704 * gdb.python/python.exp: add test cases for the from_tty
705 argument to gdb.execute.
707 2020-09-25 Gary Benson <gbenson@redhat.com>
709 * gdb.base/infcall-nested-structs.exp.tcl: Add
710 additional_flags=-Wno-tautological-compare for C++
711 tests when compiling using Clang.
713 2020-09-25 Gary Benson <gbenson@redhat.com>
715 * lib/gdb.exp (gdb_compile): Pass "-x c++" earlier, and only
718 2020-09-24 Tom Tromey <tromey@adacore.com>
721 * gdb.tui/list.exp: Check output of "focus next".
723 2020-09-23 Tom Tromey <tom@tromey.com>
725 * gdb.dwarf2/intbits.exp: New file.
726 * gdb.dwarf2/intbits.c: New file.
728 2020-09-20 Pedro Alves <pedro@palves.net>
730 * lib/mi-support.exp (mi_uncatched_gdb_exit) Switch to the main
731 spawn_id before calling remote_close. Close secondary MI channel.
733 2020-09-20 Pedro Alves <pedro@palves.net>
735 * gdb.base/testenv.exp (find_env): Bail out if printing 'envp[$i]'
738 2020-09-19 Andrew Burgess <andrew.burgess@embecosm.com>
740 * gdb.fortran/array-slices.exp: Update expected results.
741 * gdb.fortran/class-allocatable-array.exp: Likewise.
742 * gdb.fortran/multi-dim.exp: Likewise.
743 * gdb.fortran/vla-type.exp: Likewise.
744 * gdb.mi/mi-vla-fortran.exp: Likewise.
746 2020-09-18 Victor Collod <vcollod@nvidia.com>
749 * gdb.arch/amd64-prologue-skip-cf-protection.exp: Make the test
750 compatible with i386, and move it to...
751 * gdb.arch/i386-prologue-skip-cf-protection.exp: ... here.
752 * gdb.arch/amd64-prologue-skip-cf-protection.c: Move to...
753 * gdb.arch/i386-prologue-skip-cf-protection.c: ... here.
755 2020-09-18 Pedro Alves <pedro@palves.net>
758 * gdb.multi/multi-target-thread-find.exp: New file.
760 2020-09-18 Pedro Alves <pedro@palves.net>
762 * gdb.multi/multi-target-continue.exp: New file, factored out from
764 * gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
766 * gdb.multi/multi-target-interrupt.exp: New file, factored out from
768 * gdb.multi/multi-target-no-resumed.exp: New file, factored out from
770 * gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
772 * gdb.multi/multi-target.exp.tcl: New file, factored out from
774 * gdb.multi/multi-target.exp: Delete.
776 2020-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
778 * gdb.fortran/array-slices.exp: Add missing message data.
780 2020-09-17 Pedro Alves <pedro@palves.net>
782 * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
784 2020-09-17 Pedro Alves <pedro@palves.net>
786 * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
789 2020-09-17 Pedro Alves <pedro@palves.net>
791 * gdb.python/py-as-string.c: Add cast.
793 2020-09-17 Pedro Alves <pedro@palves.net>
795 * gdb.base/sizeof.c (fill): Add cast.
797 2020-09-17 Pedro Alves <pedro@palves.net>
799 * gdb.base/share-env-with-gdbserver.c (main): Add cast.
801 2020-09-17 Pedro Alves <pedro@palves.net>
803 * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
805 * gdb.base/prologue.exp: Use print /d.
806 * gdb.base/symbol-alias.exp: Handle C++ output.
807 * gdb.base/symbol-alias2.c: Handle C++ output.
808 [__cplusplus] (func): Explicitly specify linkage name.
810 2020-09-17 Pedro Alves <pedro@palves.net>
812 * gdb.python/py-nested-maps.c (struct key_t): Rename to...
813 (struct my_key_t): ... this. Adjust all references.
814 (struct value_t): Rename to ...
815 (struct my_value_t): ... this. Adjust all references.
816 (create_map, add_map_element, create_map_map)
817 (add_map_map_element): Add casts.
819 2020-09-17 Pedro Alves <pedro@palves.net>
821 * gdb.python/py-framefilter-mi.c (funca): Add casts.
822 * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
824 2020-09-17 Pedro Alves <pedro@palves.net>
826 * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
828 2020-09-17 Pedro Alves <pedro@palves.net>
830 * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
831 * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
832 (charfoo, intfoo): Define full prototype.
833 * gdb.base/ptype1.c (charfoo): Define full prototype.
834 * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
835 * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
837 2020-09-17 Pedro Alves <pedro@palves.net>
839 * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
841 (utf_32_string): Compile for both C and C++.
842 * gdb.base/charset.exp: Use "print /d".
844 2020-09-17 Pedro Alves <pedro@palves.net>
846 * gdb.base/watchpoint.c (buf): Make it 31 bytes.
847 (nullptr): Rename to ...
848 (null_ptr): ... this.
849 * gdb.base/watchpoint.exp: Adjust to rename.
851 2020-09-17 Pedro Alves <pedro@palves.net>
853 * gdb.base/printcmds.c (three, flag_enum_without_zero)
854 (three_not_flag): Add casts.
856 2020-09-17 Pedro Alves <pedro@palves.net>
858 * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
860 (main): Add references to Barrier, TestStrings, TestStringsH and
862 * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
863 and expect a full prototype in C++.
865 2020-09-17 Pedro Alves <pedro@palves.net>
867 * gdb.base/nested-addr.c (main): Add cast.
868 * gdb.base/nested-addr.exp: Use "print /d".
870 2020-09-17 Pedro Alves <pedro@palves.net>
872 * gdb.base/break.exp (func): New. Use it throughout when
873 expecting a function name.
875 2020-09-17 Pedro Alves <pedro@palves.net>
877 * gdb.base/display.exp: Issue "set print asm-demangle on".
879 2020-09-17 Pedro Alves <pedro@palves.net>
881 * gdb.base/find.c: Include <string.h>.
882 (init_bufs): Add cast.
883 * gdb.base/find.exp: Issue "set print asm-demangle on".
885 2020-09-16 Tom Tromey <tromey@adacore.com>
888 * gdb.base/skipcxx.exp: New file.
889 * gdb.base/skipcxx.cc: New file.
891 2020-09-16 Tom de Vries <tdevries@suse.de>
894 * gdb.dlang/watch-loc.c: Only add .debug_aranges if
895 WITH_DEBUG_SECTIONS is defined.
896 (xstr, str): New macro.
897 (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
898 to get start and size of _Dmain.
899 * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
900 using additional_flags.
902 2020-09-16 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
904 * gdb.base/bp-cmds-sourced-script.c: New file.
905 * gdb.base/bp-cmds-sourced-script.exp: New test.
906 * gdb.base/bp-cmds-sourced-script.gdb: New file.
908 2020-09-16 Tom de Vries <tdevries@suse.de>
910 * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
911 get the gdb prompt after issuing "monitor exit".
913 2020-09-16 Tom de Vries <tdevries@suse.de>
916 * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
918 2020-09-16 Tom de Vries <tdevries@suse.de>
921 * gdb.tui/new-layout.exp: Escape unbalanced braces.
923 2020-09-15 Tom Tromey <tromey@adacore.com>
926 * lib/rust-support.exp (rust_llvm_version): New proc.
927 * gdb.rust/simple.exp: Check rust_llvm_version.
929 2020-09-14 Tom de Vries <tdevries@suse.de>
931 * gdb.rust/traits.exp: Fix PATH warning.
933 2020-09-13 Pedro Alves <pedro@palves.net>
935 * gdb.base/catch-follow-exec.c (main): Add explicit return
937 * gdb.base/catch-signal.c (main): Likewise.
938 * gdb.base/condbreak-call-false.c (main): Likewise.
939 * gdb.base/consecutive.c (main): Add explicit return
940 statement and return type.
941 * gdb.base/cursal.c (main): Add explicit return statement.
942 * gdb.base/cvexpr.c (main): Likewise.
943 * gdb.base/display.c (main): Add explicit return statement and
945 * gdb.base/dprintf-detach.c (main): Add explicit return statement.
946 * gdb.base/endianity.c (main): Likewise.
947 * gdb.base/execd-prog.c (main): Likewise.
948 * gdb.base/gdb1090.c (main): Likewise.
949 * gdb.base/info_qt.c (main): Likewise.
950 * gdb.base/lineinc.c (main): Likewise.
951 * gdb.base/load-command.c (main): Likewise.
952 * gdb.base/macscp1.c (main): Likewise.
953 * gdb.base/pr10179-a.c (main): Likewise.
954 * gdb.base/quit-live.c (main): Likewise.
955 * gdb.base/scope0.c (main): Likewise.
956 * gdb.base/settings.c (main): Likewise.
957 * gdb.base/stack-checking.c (main): Return int.
958 * gdb.base/varargs.c (main): Add explicit return statement.
959 * gdb.cp/ambiguous.cc (main): Likewise.
960 * gdb.cp/anon-struct.cc (main): Likewise.
961 * gdb.cp/anon-union.cc (main): Likewise.
962 * gdb.cp/bool.cc (main): Likewise.
963 * gdb.cp/bs15503.cc (main): Likewise.
964 * gdb.cp/cplusfuncs.cc (main): Likewise.
965 * gdb.cp/cttiadd.cc (main): Likewise.
966 * gdb.cp/extern-c.cc (main): Likewise.
967 * gdb.cp/filename.cc (main): Likewise.
968 * gdb.cp/formatted-ref.cc (main): Likewise.
969 * gdb.cp/mb-ctor.cc (main): Likewise.
970 * gdb.cp/member-ptr.cc (main): Likewise.
971 * gdb.cp/minsym-fallback-main.cc (main): Likewise.
972 * gdb.cp/overload-const.cc (main): Likewise.
973 * gdb.cp/paren-type.cc (main): Likewise.
974 * gdb.cp/parse-lang.cc (main): Likewise.
975 * gdb.cp/pr-1023.cc (main): Likewise.
976 * gdb.cp/psmang1.cc (main): Likewise.
977 * gdb.cp/readnow-language.cc (main): Likewise.
978 * gdb.cp/ref-params.cc (main): Likewise.
979 * gdb.cp/rvalue-ref-params.cc (main): Likewise.
980 * gdb.cp/virtbase2.cc (main): Likewise.
981 * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
982 * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
983 * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
984 * gdb.mi/mi-console.c (main): Likewise.
985 * gdb.mi/mi-read-memory.c (main): Likewise.
986 * gdb.modula2/multidim.c (main): Likewise.
987 * gdb.opt/inline-small-func.c (main): Likewise.
988 * gdb.python/py-rbreak.c (main): Likewise.
989 * gdb.stabs/exclfwd1.c (main): Likewise.
990 * gdb.trace/qtro.c (main): Likewise.
992 2020-09-13 Pedro Alves <pedro@palves.net>
994 * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
997 2020-09-13 Pedro Alves <pedro@palves.net>
999 * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
1000 instead of spawning GDB with remote_spawn.
1001 * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
1002 gdb_spawn instead of spawning GDB with remote_spawn.
1004 2020-09-13 Pedro Alves <pedro@palves.net>
1006 * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
1007 file and add calls to first and second.
1008 * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
1011 2020-09-13 Pedro Alves <pedro@palves.net>
1013 * gdb.mi/mi-break-qualified.cc: New file.
1014 * gdb.mi/mi-break-qualified.exp: New file.
1015 * lib/mi-support.exp (mi_create_breakpoint_multi)
1016 (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
1018 (mi_create_breakpoint_1): New, factored out from
1019 mi_create_breakpoint.
1021 2020-09-13 Pedro Alves <pedro@palves.net>
1023 * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
1024 * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
1025 * gdb.cp/misc.cc (class small, small::method, marker_reg1)
1026 (register_class): Delete.
1027 (main): Don't call register_class.
1029 2020-09-13 Pedro Alves <pedro@palves.net>
1031 * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
1032 (do_tests): Remove "calling method for small class" test.
1033 * gdb.cp/classes.cc (class small, small::method, marker_reg1)
1034 (register_class): Delete.
1035 (main): Don't call register_class.
1036 * gdb.cp/call-method-register.exp: New file, based on bits removed
1038 * gdb.cp/call-method-register.cc: New file, based on bits removed
1041 2020-09-13 Pedro Alves <pedro@palves.net>
1043 * gdb.base/msym-bp-2.c: New.
1044 * gdb.base/msym-bp-shl-lib.c: New file.
1045 * gdb.base/msym-bp-shl-main-2.c: New file.
1046 * gdb.base/msym-bp-shl-main.c: New file.
1047 * gdb.base/msym-bp-shl.exp: New file.
1048 * gdb.base/msym-bp.c: New file.
1049 * gdb.base/msym-bp.exp: New file.
1051 2020-09-13 Joel Brobecker <brobecker@adacore.com>
1053 * gdb.base/default.exp: Change $_gdb_major to 11.
1055 2020-09-11 Moritz Riesterer <moritz.riesterer@intel.com>
1056 Felix Willgerodt <Felix.Willgerodt@intel.com>
1058 * x86-avx512bf16.c: New file.
1059 * x86-avx512bf16.exp: Likewise.
1060 * lib/gdb.exp (skip_avx512bf16_tests): New function.
1062 2020-09-11 Tom de Vries <tdevries@suse.de>
1065 * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
1067 2020-09-11 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1069 * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
1071 2020-09-10 Alan Modra <amodra@gmail.com>
1074 * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
1076 2020-09-08 Tom de Vries <tdevries@suse.de>
1078 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
1079 after gdb_starti_cmd.
1081 2020-09-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1083 * lib/fortran.exp (fortran_complex8): New proc.
1084 (fortran_complex16): New proc.
1085 * gdb.fortran/complex.exp: Use routines from fortran.exp
1086 * gdb.fortran/pointer-to-pointer.exp: Likewise.
1087 * gdb.fortran/vla-ptr-info.exp: Likewise.
1089 2020-09-03 Tom de Vries <tdevries@suse.de>
1092 * gdb.base/label-without-address.exp: Runto main first.
1094 2020-09-02 Tom Tromey <tromey@adacore.com>
1096 * gdb.ada/mi_var_access.exp: Test children of access variable.
1097 * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
1098 * gdb.ada/mi_var_array.exp: Update.
1100 2020-08-31 Kevin Buettner <kevinb@redhat.com>
1102 * gdb.base/corefile.exp (warning-free): XFAIL test when running
1103 on docker w/ AUFS storage driver.
1105 2020-08-31 Kevin Buettner <kevinb@redhat.com>
1107 * gdb.base/corefile2.exp (renamed binfile): New tests.
1109 2020-08-31 Simon Marchi <simon.marchi@efficios.com>
1111 * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
1113 2020-08-31 Simon Marchi <simon.marchi@efficios.com>
1115 * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
1116 * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
1118 2020-08-31 Simon Marchi <simon.marchi@efficios.com>
1120 * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
1121 output, printing a "not saved" value from history and printing a
1122 convenience variable created from a "not saved" value.
1124 2020-08-31 Tom de Vries <tdevries@suse.de>
1126 * gdb.base/eh_return.exp: Use nopie.
1128 2020-08-28 Pedro Alves <pedro@palves.net>
1130 * gdb.base/advance-until-multiple-locations.exp
1131 (advance_overload, until_overload): Adjust to match the
1132 frame/function header instead of the source line text.
1134 2020-08-28 Tom de Vries <tdevries@suse.de>
1136 * gdb.base/label-without-address.c: New test.
1137 * gdb.base/label-without-address.exp: New file.
1139 2020-08-27 Pedro Alves <pedro@palves.net>
1143 * gdb.base/advance-until-multiple-locations.cc: New.
1144 * gdb.base/advance-until-multiple-locations.exp: New.
1146 2020-08-27 Simon Marchi <simon.marchi@polymtl.ca>
1148 * gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
1150 2020-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
1152 * gdb.arch/amd64-byte.exp: Make test names unique, use
1153 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
1154 * gdb.arch/amd64-dword.exp: Likewise.
1155 * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
1156 * gdb.arch/amd64-stap-special-operands.exp: Make test names
1158 * gdb.arch/amd64-tailcall-ret.exp: Likewise.
1159 * gdb.arch/amd64-word.exp: Make test names unique, use
1160 gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
1161 * gdb.arch/i386-byte.exp: Make test names unique, use
1163 * gdb.arch/i386-word.exp: Likewise.
1165 2020-08-25 Shahab Vahedi <shahab@synopsys.com>
1167 * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
1169 2020-08-25 Simon Marchi <simon.marchi@polymtl.ca>
1172 * gdb.threads/stepi-random-signal.exp: Update pattern.
1174 2020-08-25 Simon Marchi <simon.marchi@efficios.com>
1177 * gdb.base/ui-redirect.exp: Update pattern.
1179 2020-08-25 Gary Benson <gbenson@redhat.com>
1181 * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
1182 when compiling with clang.
1183 * gdb.dwarf2/dw2-restore.exp: Likewise.
1185 2020-08-25 Gary Benson <gbenson@redhat.com>
1187 * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
1188 Add additional_flags=-Wno-inaccessible-base when compiling
1189 with GCC >= 10.1 or clang. Add additional_flags=-w when
1190 compiling with GCC < 10.
1192 2020-08-25 Gaius Mulley <gaiusmod2@gmail.com>
1195 * gdb.modula2/multidim.c: New file.
1196 * gdb.modula2/multidim.exp: New file.
1198 2020-08-24 Simon Marchi <simon.marchi@polymtl.ca>
1200 * lib/gdb.exp (runto): Always emit fail on internal error.
1202 2020-08-24 Simon Marchi <simon.marchi@efficios.com>
1204 * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
1205 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1207 * gdb.threads/stepi-random-signal.exp: Likewise.
1209 2020-08-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1211 * gdb.base/print-file-var.exp: Fix typo "breapoint".
1212 * gdb.trace/strace.exp: Ditto.
1214 2020-08-19 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1216 * gdb.fortran/vla-type.exp: Skip commands not required for
1217 the Flang compiled binaries after prologue fix.
1219 2020-08-17 Tom de Vries <tdevries@suse.de>
1220 Tom Tromey <tromey@adacore.com>
1223 * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
1225 2020-08-17 Tom Tromey <tromey@adacore.com>
1227 * gdb.ada/mi_var_access.exp: New file.
1228 * gdb.ada/mi_var_access/mi_access.adb: New file.
1229 * gdb.ada/mi_var_access/pck.adb: New file.
1230 * gdb.ada/mi_var_access/pck.ads: New file.
1232 2020-08-16 Tom de Vries <tdevries@suse.de>
1235 * gdb.base/eh_return.c: New test.
1236 * gdb.base/eh_return.exp: New file.
1238 2020-08-15 Tom de Vries <tdevries@suse.de>
1240 * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
1241 (mixed_func_1d_): Use fortran_charlen_t in decl.
1243 2020-08-15 Tom de Vries <tdevries@suse.de>
1246 * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
1247 Update expected pattern.
1249 2020-08-13 Pedro Alves <pedro@palves.net>
1251 * gdb.fortran/complex.exp: Check skip_fortran_tests.
1252 * gdb.fortran/library-module.exp: Likewise.
1253 * gdb.fortran/logical.exp: Likewise.
1254 * gdb.fortran/module.exp: Likewise.
1255 * gdb.fortran/print_type.exp: Likewise.
1256 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
1257 * gdb.fortran/vla-datatypes.exp: Likewise.
1258 * gdb.fortran/vla-history.exp: Likewise.
1259 * gdb.fortran/vla-ptr-info.exp: Likewise.
1260 * gdb.fortran/vla-ptype-sub.exp: Likewise.
1261 * gdb.fortran/vla-ptype.exp: Likewise.
1262 * gdb.fortran/vla-sizeof.exp: Likewise.
1263 * gdb.fortran/vla-type.exp: Likewise.
1264 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
1265 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
1266 * gdb.fortran/vla-value-sub.exp: Likewise.
1267 * gdb.fortran/vla-value.exp: Likewise.
1269 2020-08-13 Pedro Alves <pedro@palves.net>
1271 * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
1272 * gdb.ada/access_to_packed_array.exp: Likewise.
1273 * gdb.ada/access_to_unbounded_array.exp: Likewise.
1274 * gdb.ada/addr_arith.exp: Likewise.
1275 * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
1276 * gdb.ada/arr_arr.exp: Likewise.
1277 * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
1278 * gdb.ada/array_bounds.exp: Likewise.
1279 * gdb.ada/array_of_variable_length.exp: Likewise.
1280 * gdb.ada/array_ptr_renaming.exp: Likewise.
1281 * gdb.ada/array_subscript_addr.exp: Likewise.
1282 * gdb.ada/arraydim.exp: Likewise.
1283 * gdb.ada/arrayparam.exp: Likewise.
1284 * gdb.ada/arrayptr.exp: Likewise.
1285 * gdb.ada/assign_1.exp: Likewise.
1286 * gdb.ada/assign_arr.exp: Likewise.
1287 * gdb.ada/atomic_enum.exp: Likewise.
1288 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
1289 * gdb.ada/bad-task-bp-keyword.exp: Likewise.
1290 * gdb.ada/bias.exp: Likewise.
1291 * gdb.ada/boolean_expr.exp: Likewise.
1292 * gdb.ada/bp_c_mixed_case.exp: Likewise.
1293 * gdb.ada/bp_enum_homonym.exp: Likewise.
1294 * gdb.ada/bp_inlined_func.exp: Likewise.
1295 * gdb.ada/bp_on_var.exp: Likewise.
1296 * gdb.ada/bp_range_type.exp: Likewise.
1297 * gdb.ada/bp_reset.exp: Likewise.
1298 * gdb.ada/call_pn.exp: Likewise.
1299 * gdb.ada/catch_assert_if.exp: Likewise.
1300 * gdb.ada/catch_ex.exp: Likewise.
1301 * gdb.ada/catch_ex_std.exp: Likewise.
1302 * gdb.ada/char_enum.exp: Likewise.
1303 * gdb.ada/char_param.exp: Likewise.
1304 * gdb.ada/complete.exp: Likewise.
1305 * gdb.ada/cond_lang.exp: Likewise.
1306 * gdb.ada/convvar_comp.exp: Likewise.
1307 * gdb.ada/dgopt.exp: Likewise.
1308 * gdb.ada/disc_arr_bound.exp: Likewise.
1309 * gdb.ada/display_nested.exp: Likewise.
1310 * gdb.ada/dot_all.exp: Likewise.
1311 * gdb.ada/dyn_loc.exp: Likewise.
1312 * gdb.ada/dyn_stride.exp: Likewise.
1313 * gdb.ada/excep_handle.exp: Likewise.
1314 * gdb.ada/expr_delims.exp: Likewise.
1315 * gdb.ada/expr_with_funcall.exp: Likewise.
1316 * gdb.ada/exprs.exp: Likewise.
1317 * gdb.ada/fin_fun_out.exp: Likewise.
1318 * gdb.ada/fixed_cmp.exp: Likewise.
1319 * gdb.ada/formatted_ref.exp: Likewise.
1320 * gdb.ada/frame_arg_lang.exp: Likewise.
1321 * gdb.ada/frame_args.exp: Likewise.
1322 * gdb.ada/fullname_bp.exp: Likewise.
1323 * gdb.ada/fun_addr.exp: Likewise.
1324 * gdb.ada/fun_in_declare.exp: Likewise.
1325 * gdb.ada/fun_overload_menu.exp: Likewise.
1326 * gdb.ada/fun_renaming.exp: Likewise.
1327 * gdb.ada/funcall_char.exp: Likewise.
1328 * gdb.ada/funcall_param.exp: Likewise.
1329 * gdb.ada/funcall_ptr.exp: Likewise.
1330 * gdb.ada/funcall_ref.exp: Likewise.
1331 * gdb.ada/homonym.exp: Likewise.
1332 * gdb.ada/info_addr_mixed_case.exp: Likewise.
1333 * gdb.ada/info_auto_lang.exp: Likewise.
1334 * gdb.ada/info_exc.exp: Likewise.
1335 * gdb.ada/info_types.exp: Likewise.
1336 * gdb.ada/int_deref.exp: Likewise.
1337 * gdb.ada/interface.exp: Likewise.
1338 * gdb.ada/iwide.exp: Likewise.
1339 * gdb.ada/lang_switch.exp: Likewise.
1340 * gdb.ada/length_cond.exp: Likewise.
1341 * gdb.ada/maint_with_ada.exp: Likewise.
1342 * gdb.ada/mi_catch_assert.exp: Likewise.
1343 * gdb.ada/mi_catch_ex.exp: Likewise.
1344 * gdb.ada/mi_catch_ex_hand.exp: Likewise.
1345 * gdb.ada/mi_dyn_arr.exp: Likewise.
1346 * gdb.ada/mi_ex_cond.exp: Likewise.
1347 * gdb.ada/mi_exc_info.exp: Likewise.
1348 * gdb.ada/mi_interface.exp: Likewise.
1349 * gdb.ada/mi_prot.exp: Likewise.
1350 * gdb.ada/mi_ref_changeable.exp: Likewise.
1351 * gdb.ada/mi_string_access.exp: Likewise.
1352 * gdb.ada/mi_task_arg.exp: Likewise.
1353 * gdb.ada/mi_task_info.exp: Likewise.
1354 * gdb.ada/mi_var_array.exp: Likewise.
1355 * gdb.ada/mi_var_union.exp: Likewise.
1356 * gdb.ada/mi_variant.exp: Likewise.
1357 * gdb.ada/minsyms.exp: Likewise.
1358 * gdb.ada/mod_from_name.exp: Likewise.
1359 * gdb.ada/nested.exp: Likewise.
1360 * gdb.ada/null_array.exp: Likewise.
1361 * gdb.ada/optim_drec.exp: Likewise.
1362 * gdb.ada/out_of_line_in_inlined.exp: Likewise.
1363 * gdb.ada/packed_array_assign.exp: Likewise.
1364 * gdb.ada/packed_tagged.exp: Likewise.
1365 * gdb.ada/pp-rec-component.exp: Likewise.
1366 * gdb.ada/print_chars.exp: Likewise.
1367 * gdb.ada/print_pc.exp: Likewise.
1368 * gdb.ada/ptr_typedef.exp: Likewise.
1369 * gdb.ada/ptype_arith_binop.exp: Likewise.
1370 * gdb.ada/ptype_array.exp: Likewise.
1371 * gdb.ada/ptype_field.exp: Likewise.
1372 * gdb.ada/ptype_tagged_param.exp: Likewise.
1373 * gdb.ada/ptype_union.exp: Likewise.
1374 * gdb.ada/py_range.exp: Likewise.
1375 * gdb.ada/py_taft.exp: Likewise.
1376 * gdb.ada/rdv_wait.exp: Likewise.
1377 * gdb.ada/rec_comp.exp: Likewise.
1378 * gdb.ada/rec_return.exp: Likewise.
1379 * gdb.ada/ref_param.exp: Likewise.
1380 * gdb.ada/ref_tick_size.exp: Likewise.
1381 * gdb.ada/rename_subscript_param.exp: Likewise.
1382 * gdb.ada/repeat_dyn.exp: Likewise.
1383 * gdb.ada/same_component_name.exp: Likewise.
1384 * gdb.ada/same_enum.exp: Likewise.
1385 * gdb.ada/scalar_storage.exp: Likewise.
1386 * gdb.ada/set_wstr.exp: Likewise.
1387 * gdb.ada/small_reg_param.exp: Likewise.
1388 * gdb.ada/str_binop_equal.exp: Likewise.
1389 * gdb.ada/str_ref_cmp.exp: Likewise.
1390 * gdb.ada/str_uninit.exp: Likewise.
1391 * gdb.ada/sub_variant.exp: Likewise.
1392 * gdb.ada/sym_print_name.exp: Likewise.
1393 * gdb.ada/taft_type.exp: Likewise.
1394 * gdb.ada/tagged.exp: Likewise.
1395 * gdb.ada/tagged_access.exp: Likewise.
1396 * gdb.ada/task_bp.exp: Likewise.
1397 * gdb.ada/task_switch_in_core.exp: Likewise.
1398 * gdb.ada/tasks.exp: Likewise.
1399 * gdb.ada/tick_last_segv.exp: Likewise.
1400 * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
1401 * gdb.ada/type_coercion.exp: Likewise.
1402 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
1403 * gdb.ada/unchecked_union.exp: Likewise.
1404 * gdb.ada/uninitialized_vars.exp: Likewise.
1405 * gdb.ada/var_arr_attrs.exp: Likewise.
1406 * gdb.ada/var_arr_typedef.exp: Likewise.
1407 * gdb.ada/var_rec_arr.exp: Likewise.
1408 * gdb.ada/variant-record.exp: Likewise.
1409 * gdb.ada/variant.exp: Likewise.
1410 * gdb.ada/variant_record_packed_array.exp: Likewise.
1411 * gdb.ada/varsize_limit.exp: Likewise.
1412 * gdb.ada/whatis_array_val.exp: Likewise.
1413 * gdb.ada/widewide.exp: Likewise.
1414 * gdb.ada/win_fu_syms.exp: Likewise.
1416 2020-08-12 Gary Benson <gbenson@redhat.com>
1418 * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
1420 2020-08-04 Andrew Burgess <andrew.burgess@embecosm.com>
1422 * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
1423 unset the array variable.
1425 2020-08-03 Tom de Vries <tdevries@suse.de>
1428 * lib/dwarf.exp (DW_LNE_user): New proc.
1429 * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
1430 * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
1432 2020-07-31 Kevin Buettner <kevinb@redhat.com>
1434 * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
1436 (inttypes.h): Include.
1438 2020-07-31 Kevin Buettner <kevinb@redhat.com>
1440 * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
1442 (C5_8k, C5_64k, C5_256k): New macros.
1443 (buf_ro): Allocate 256 KiB of initialized data.
1445 2020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1447 * gdb.base/condbreak-bad.exp: Extend the test with scenarios
1448 that attempt to overwrite an existing condition with a condition
1449 that fails parsing and also with a condition that parses fine
1450 but contains junk at the end.
1452 2020-07-30 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1454 * gdb.base/condbreak-bad.c: New test.
1455 * gdb.base/condbreak-bad.exp: New file.
1457 2020-07-30 Tom de Vries <tdevries@suse.de>
1459 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
1461 (GDBInfoModuleSymbols::check_entry): ... here.
1462 (GDBInfoModuleSymbols::check_optional_entry): New proc.
1463 * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
1464 related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
1466 2020-07-30 Tom de Vries <tdevries@suse.de>
1468 * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
1469 "__class_some_module_Number_t" optional.
1471 2020-07-29 Tom de Vries <tdevries@suse.de>
1473 * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
1476 2020-07-29 Tom de Vries <tdevries@suse.de>
1478 * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
1479 rather than function name.
1481 2020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
1484 * gdb.cp/disasm-func-name.cc: New file.
1485 * gdb.cp/disasm-func-name.exp: New file.
1487 2020-07-28 Tom Tromey <tromey@adacore.com>
1489 * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
1492 2020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
1494 * gdb.python/py-unwind.py: Update to make use of a register
1497 2020-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
1499 * gdb.python/py-arch-reg-names.exp: Add additional tests.
1501 2020-07-25 Andrew Burgess <andrew.burgess@embecosm.com>
1505 * gdb.fortran/class-allocatable-array.exp: New file.
1506 * gdb.fortran/class-allocatable-array.f90: New file.
1507 * gdb.fortran/pointer-to-pointer.exp: New file.
1508 * gdb.fortran/pointer-to-pointer.f90: New file.
1510 2020-07-25 Tom de Vries <tdevries@suse.de>
1513 * gdb.dwarf2/dw2-line-number-zero.c: New test.
1514 * gdb.dwarf2/dw2-line-number-zero.exp: New file.
1516 2020-07-24 Tom de Vries <tdevries@suse.de>
1519 * gdb.ada/mi_prot.exp: Require gnatmake-8.
1521 2020-07-23 Pedro Alves <pedro@palves.net>
1523 * gdb.server/server-kill.exp (prepare): New, factored out from the
1526 (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
1527 (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
1529 2020-07-23 Andrew Burgess <andrew.burgess@embecosm.com>
1531 * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
1533 2020-07-22 Sandra Loosemore <sandra@codesourcery.com>
1535 * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
1536 Initialize to empty string at top level.
1537 (gdb_wrapper_init): Revert check for file existence on build.
1538 Build the wrapper in its default place, not a build-specific
1539 location. When host == build, make the pathname absolute.
1540 (gdb_compile): Delete leftover declaration of
1541 gdb_wrapper_initialized. Check gdb_wrapper_file being an empty
1542 string instead of uninitialized.
1544 2020-07-22 Kevin Buettner <kevinb@redhat.com>
1546 * gdb.base/corefile2.exp: New file.
1547 * gdb.base/coremaker2.exp: New file.
1549 2020-07-22 Kevin Buettner <kevinb@redhat.com>
1551 * gdb.base/coredump-filter.exp: Add second
1552 non-Private-Shared-Anon-File test.
1553 (test_disasm): Rename binfile for test which is expected
1556 2020-07-22 Kevin Buettner <kevinb@redhat.com>
1558 * gdb.base/corefile.exp: Add test "accessing read-only mmapped
1560 * gdb.base/coremaker.c (buf2ro): New global.
1561 (mmapdata): Add a read-only mmap mapping.
1563 2020-07-22 Kevin Buettner <kevinb@redhat.com>
1566 * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data):
1568 * gdb.base/coremaker.c (buf3): New global.
1569 (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE
1572 2020-07-22 Kevin Buettner <kevinb@redhat.com>
1574 * gdb.base/coremaker.c (filler_ro): New global constant.
1576 2020-07-22 Tom Tromey <tromey@adacore.com>
1578 * gdb.ada/mi_prot.exp: New file.
1579 * gdb.ada/mi_prot/pkg.adb: New file.
1580 * gdb.ada/mi_prot/pkg.ads: New file.
1581 * gdb.ada/mi_prot/prot.adb: New file.
1583 2020-07-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1585 * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that
1588 2020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
1590 * gdb.python/py-arch-reg-groups.exp: Additional tests.
1592 2020-07-21 Andrew Burgess <andrew.burgess@embecosm.com>
1594 * gdb.python/py-arch-reg-names.exp: Additional tests.
1596 2020-07-21 Tom de Vries <tdevries@suse.de>
1598 * gdb.reverse/solib-precsave.exp: Handle additional "recommended
1599 breakpoint locations".
1600 * gdb.reverse/solib-reverse.exp: Same.
1602 2020-07-21 Tom de Vries <tdevries@suse.de>
1604 * gdb.reverse/step-reverse.c (callee): Merge statements.
1606 2020-07-21 Tom de Vries <tdevries@suse.de>
1608 * gdb.fortran/info-modules.exp (info module variables): Allow missing
1609 line numbers for some variables.
1611 2020-07-21 Tom de Vries <tdevries@suse.de>
1613 * gdb.opt/inline-locals.c (init_array): New func.
1614 (func1): Use init_array.
1615 * gdb.opt/inline-locals.exp: Update pattern.
1617 2020-07-21 Tom de Vries <tdevries@suse.de>
1619 * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env
1620 vars. Fix PATH and DUPLICATE errors. Cleanup whitespace.
1622 2020-07-20 Ludovic Courtès <ludo@gnu.org>
1624 * gdb.guile/source2.scm: Add #f first argument to 'format'.
1625 * gdb.guile/types-module.exp: Remove "ERROR:" from
1626 regexps since Guile 3.0 no longer prints that.
1628 2020-07-20 Ludovic Courtès <ludo@gnu.org>
1630 * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax
1631 error regexp to match on Guile 2.2.
1633 2020-07-20 Gary Benson <gbenson@redhat.com>
1635 * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling
1638 2020-07-20 Tom de Vries <tdevries@suse.de>
1640 * gdb.threads/omp-par-scope.c (lock, lock2): New variable.
1641 (omp_set_lock_in_order): New function.
1642 (single_scope, multi_scope, nested_func, nested_parallel): Use
1643 omp_set_lock_in_order and omp_unset_lock.
1644 (main): Init and destroy lock and lock2.
1646 2020-07-20 Tom de Vries <tdevries@suse.de>
1648 * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type.
1650 2020-07-20 Tom de Vries <tdevries@suse.de>
1652 * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails.
1654 2020-07-17 Tom de Vries <tdevries@suse.de>
1656 * gdb.base/valgrind-infcall-2.c: New test.
1657 * gdb.base/valgrind-infcall-2.exp: New file.
1658 * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup.
1660 2020-07-17 Tom de Vries <tdevries@suse.de>
1662 * gdb.dlang/circular.c (found): Use found_label as label name.
1663 * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name.
1664 * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name.
1665 * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range.
1666 * gdb.dwarf2/ada-linkage-name.exp: Same.
1667 * gdb.dwarf2/arr-subrange.exp: Same.
1668 * gdb.dwarf2/atomic-type.exp: Same.
1669 * gdb.dwarf2/comp-unit-lang.exp: Same.
1670 * gdb.dwarf2/cpp-linkage-name.exp: Same.
1671 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same.
1672 * gdb.dwarf2/dw2-lexical-block-bare.exp: Same.
1673 * gdb.dwarf2/dw2-regno-invalid.exp: Same.
1674 * gdb.dwarf2/implptr-64bit.exp: Same.
1675 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
1676 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
1677 * gdb.dwarf2/imported-unit.exp: Same.
1678 * gdb.dwarf2/main-subprogram.exp: Same.
1679 * gdb.dwarf2/missing-type-name.exp: Same.
1680 * gdb.dwarf2/nonvar-access.exp: Same.
1681 * gdb.dwarf2/struct-with-sig.exp: Same.
1682 * gdb.dwarf2/typedef-void-finish.exp: Same.
1683 * gdb.dwarf2/void-type.exp: Same.
1685 2020-07-17 Tom de Vries <tdevries@suse.de>
1687 * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop
1689 * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls.
1690 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same.
1691 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
1692 * gdb.dwarf2/dw2-opt-structptr.exp: Same.
1693 * gdb.dwarf2/dwz.exp: Same.
1694 * gdb.dwarf2/implptr-optimized-out.exp: Same.
1695 * gdb.dwarf2/implref-array.exp: Same.
1696 * gdb.dwarf2/implref-const.exp: Same.
1697 * gdb.dwarf2/implref-global.exp: Same.
1698 * gdb.dwarf2/implref-struct.exp: Same.
1699 * gdb.dwarf2/info-locals-optimized-out.exp: Same.
1700 * gdb.dwarf2/opaque-type-lookup.exp: Same.
1701 * gdb.dwarf2/var-access.exp: Same.
1702 * gdb.dwarf2/varval.exp: Same.
1703 * gdb.trace/entry-values.exp: Same.
1705 2020-07-17 Tom de Vries <tdevries@suse.de>
1707 * lib/dwarf.exp (Dwarf::extern): Remove.
1708 * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern.
1709 * gdb.dlang/circular.exp: Same.
1710 * gdb.dwarf2/comp-unit-lang.exp: Same.
1711 * gdb.dwarf2/dw2-ifort-parameter.exp: Same.
1712 * gdb.dwarf2/dw2-symtab-includes.exp: Same.
1713 * gdb.dwarf2/dwz.exp: Same.
1714 * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same.
1715 * gdb.dwarf2/imported-unit-runto-main.exp: Same.
1716 * gdb.dwarf2/imported-unit.exp: Same.
1717 * gdb.dwarf2/opaque-type-lookup.exp: Same.
1719 2020-07-16 Sandra Loosemore <sandra@codesourcery.com>
1721 * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host.
1722 Use double quotes instead of single quotes.
1724 2020-07-16 Caroline Tice <cmtice@google.com>
1726 * gdb.dwarf2/dw5-rnglist-test.cc: New file.
1727 * gdb.dwarf2/dw5-rnglist-test.exp: New file.
1729 2020-07-16 Tom de Vries <tdevries@suse.de>
1731 * lib/dwarf.exp (program): Initialize _line.
1732 (DW_LNE_end_sequence): Reinitialize _line.
1733 (DW_LNS_advance_line): Update _line.
1735 * gdb.dwarf2/dw2-inline-many-frames.exp: Use line.
1736 * gdb.dwarf2/dw2-inline-small-func.exp: Same.
1737 * gdb.dwarf2/dw2-inline-stepping.exp: Same.
1738 * gdb.dwarf2/dw2-is-stmt-2.exp: Same.
1739 * gdb.dwarf2/dw2-is-stmt.exp: Same.
1740 * gdb.dwarf2/dw2-ranges-func.exp: Same.
1742 2020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
1744 * gdb.fortran/ptype-on-functions.exp: Make the result pattern more
1747 2020-07-15 Tom de Vries <tdevries@suse.de>
1749 * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if
1750 is_amd64_regs_target.
1752 2020-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
1754 * gdb.fortran/ptype-on-functions.exp: Add more tests.
1755 * gdb.fortran/ptype-on-functions.f90: Likewise.
1757 2020-07-14 Simon Marchi <simon.marchi@polymtl.ca>
1759 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid
1760 values in documentation for addr_size to 4 and 8.
1762 2020-07-14 Andrew Burgess <andrew.burgess@embecosm.com>
1764 * gdb.arch/amd64-osabi.exp: Update.
1765 * gdb.arch/arm-disassembler-options.exp: Update.
1766 * gdb.arch/powerpc-disassembler-options.exp: Update.
1767 * gdb.arch/ppc64-symtab-cordic.exp: Update.
1768 * gdb.arch/s390-disassembler-options.exp: Update.
1769 * gdb.base/all-architectures.exp.tcl: Update.
1770 * gdb.base/attach-pie-noexec.exp: Update.
1771 * gdb.base/catch-syscall.exp: Update.
1772 * gdb.xml/tdesc-arch.exp: Update.
1774 2020-07-14 Tom de Vries <tdevries@suse.de>
1776 * gdb.threads/clone-new-thread-event.c (gettid): Rename to ...
1777 (local_gettid): ... this.
1780 2020-07-13 Sandra Loosemore <sandra@codesourcery.com>
1782 * gdb.base/info_sources.exp: Skip directory match tests on
1785 2020-07-13 Gary Benson <gbenson@redhat.com>
1787 * gdb.base/savedregs.exp (caller): Use parentheses to
1788 make expected expression evaluation ordering explicit.
1790 2020-07-13 Gary Benson <gbenson@redhat.com>
1792 * gdb.arch/i386-sse.c (have_sse) <edx>: Make unsigned.
1794 2020-07-13 Gary Benson <gbenson@redhat.com>
1796 * gdb.base/bigcore.c (main): Use a volatile pointer when
1797 attempting to trigger a SIGSEGV.
1798 * gdb.base/gcore-relro-pie.c (break_here): Likewise.
1799 * gdb.base/gcore-tls-pie.c (break_here): Likewise.
1800 * gdb.base/savedregs.c (thrower): Likewise.
1801 * gdb.mi/mi-syn-frame.c (bar): Likewise.
1803 2020-07-13 Gary Benson <gbenson@redhat.com>
1805 * gdb.base/vla-datatypes.c (vla_factory): Factor out sections
1806 defining and using VLA structure fields into...
1807 * gdb.base/vla-struct-fields.c: New file.
1808 * gdb.base/vla-datatypes.exp: Factor out VLA structure field
1810 * gdb.base/vla-struct-fields.exp: New file.
1812 2020-07-13 Tom de Vries <tdevries@suse.de>
1814 * lib/gdb.exp (have_fuse_ld_gold): New caching proc.
1815 * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold.
1816 * gdb.base/gold-gdb-index.exp: Same.
1817 * gdb.base/morestack.exp: Same.
1819 2020-07-11 Daniel Xu <dxu@dxuuu.xyz>
1822 * gdb.rust/modules.rs: Prevent linker from discarding test
1825 2020-07-10 Pedro Alves <pedro@palves.net>
1828 * gdb.multi/multi-target.c (exit_thread): New.
1829 (thread_start): Break loop if EXIT_THREAD.
1830 * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc.
1831 (top level) Call test_no_resumed.
1833 2020-07-08 Tom Tromey <tromey@adacore.com>
1835 * gdb.ada/catch_ex/foo.adb: Pass string to raise.
1836 * gdb.ada/catch_ex.exp: Examine catchpoint text.
1838 2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1841 * gdb.opt/inline-frame-tailcall.c: New file.
1842 * gdb.opt/inline-frame-tailcall.exp: New file.
1843 * gdb.python/py-unwind-inline.c: New file.
1844 * gdb.python/py-unwind-inline.exp: New file.
1845 * gdb.python/py-unwind-inline.py: New file.
1847 2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1849 * gdb.python/py-arch-reg-groups.exp: New file.
1851 2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1853 * gdb.python/py-arch-reg-names.exp: New file.
1855 2020-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1857 * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for
1858 gdb.PendingFrame.architecture method.
1860 2020-07-06 Tom de Vries <tdevries@suse.de>
1862 * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order.
1864 2020-07-03 Pedro Alves <palves@redhat.com>
1866 * gdb.base/structs2.c (main): Adjust second parem_reg call to
1867 explicitly write negative numbers.
1868 * gdb.base/structs2.exp: Adjust expected output.
1870 2020-07-03 Pedro Alves <palves@redhat.com>
1872 * gdb.base/charset.c (init_string): Change all char parameters to
1873 unsigned char parameters.
1875 2020-07-03 Pedro Alves <palves@redhat.com>
1877 * gdb.base/call-sc.exp (start_scalars_test): Use
1878 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
1879 * gdb.base/overlays.c: Remove references to PARAMS.
1880 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
1881 * gdb.base/reread.exp: Don't set 'prototypes' global.
1882 * gdb.base/structs.exp (start_structs_test): Use
1883 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
1884 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
1885 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
1886 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
1888 * gdb.base/varargs.exp: Don't set 'prototypes' global.
1890 2020-07-03 Pedro Alves <palves@redhat.com>
1892 * gdb.base/m32rovly.c: Delete.
1893 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
1895 2020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1897 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
1898 of gdb_py_test_multiple.
1899 * gdb.python/py-cmd.exp: Likewise.
1900 * gdb.python/py-events.exp: Likewise.
1901 * gdb.python/py-function.exp: Likewise.
1902 * gdb.python/py-inferior.exp: Likewise.
1903 * gdb.python/py-infthread.exp: Likewise.
1904 * gdb.python/py-linetable.exp: Likewise.
1905 * gdb.python/py-parameter.exp: Likewise.
1906 * gdb.python/py-value.exp: Likewise.
1908 2020-06-30 Tom de Vries <tdevries@suse.de>
1911 * lib/future.exp (gdb_default_target_compile): Detect and handle
1914 2020-06-29 Simon Marchi <simon.marchi@efficios.com>
1916 * boards/simavr.exp (gdb_load): Catch errors when closing
1917 previous connection. Close connection, wait for process and
1918 unset simavr_spawn_id on failure.
1920 2020-06-29 Tom de Vries <tdevries@suse.de>
1922 * lib/gdb.exp (unknown): Make test-case unresolved.
1924 2020-06-29 Tom de Vries <tdevries@suse.de>
1927 * gdb.server/solib-list.exp: Verify that the symbol reload
1928 confirmation question is asked.
1930 2020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1932 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
1933 have a input seq nr in each pass message.
1934 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
1935 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
1936 * gdb.python/python.exp: Make test names unique,
1937 use gdb_test_multiline instead of gdb_py_test_multiple,
1939 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
1941 2020-06-26 Nick Alcock <nick.alcock@oracle.com>
1943 * configure.ac: Add --enable-libctf.
1944 * aclocal.m4: sinclude ../config/enable.m4.
1945 * Makefile.in (site.exp): Add enable_libctf to site.exp.
1946 * lib/gdb.exp (skip_ctf_tests): Use it.
1947 * gdb.base/ctf-constvars.exp: Error message tweak.
1948 * gdb.base/ctf-ptype.exp: Likewise.
1949 * configure: Regenerate.
1951 2020-06-26 Gary Benson <gbenson@redhat.com>
1953 * gdb.cp/try_catch.cc: Include string.h.
1954 (main): Replace comparison against string literal with
1955 strcmp, avoiding build failure with -Wstring-compare.
1956 Add "marker test-complete".
1957 * gdb.cp/try_catch.exp: Run the test to the above marker,
1958 then verify that the value of "test" is still true.
1960 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1962 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
1964 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1966 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
1968 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1970 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
1971 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
1972 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
1973 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
1974 * gdb.arch/riscv-tdesc-loading.exp: New file.
1976 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1978 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
1980 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
1982 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
1983 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
1984 * gdb.arch/riscv-tdesc-regs.c: New file.
1985 * gdb.arch/riscv-tdesc-regs.exp: New file.
1987 2020-06-24 Pedro Alves <palves@redhat.com>
1989 * gdb.arch/amd64-entry-value-paramref.exp: Use
1990 prepare_for_testing_full and don't pass "c++" for the .S file
1992 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
1993 $options, since it's an assembly file. Remove -Wno-deprecated.
1994 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
1995 compiling C++ programs.
1997 2020-06-24 Pedro Alves <palves@redhat.com>
1999 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
2000 Clang, add "-Wno-unknown-warning-option" to the options.
2002 2020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
2004 * gdb.xml/tdesc-reload.c: New file.
2005 * gdb.xml/tdesc-reload.exp: New file.
2006 * gdb.xml/maint-xml-dump-01.xml: New file.
2007 * gdb.xml/maint-xml-dump-02.xml: New file.
2008 * gdb.xml/maint-xml-dump.exp: New file.
2010 2020-06-23 Sandra Loosemore <sandra@codesourcery.com>
2012 * lib/completion-support.exp (test_gdb_completion_offers_commands):
2013 Adjust for omitted commands when TUI is disabled.
2015 2020-06-23 Gary Benson <gbenson@redhat.com>
2016 Pedro Alves <palves@redhat.com>
2018 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
2019 * gdb.cp/nsimport.cc: Likewise.
2020 * gdb.cp/nsnested.cc: Likewise.
2021 * gdb.cp/nsnoimports.cc: Likewise.
2022 * gdb.cp/nsusing.cc: Likewise.
2023 * gdb.cp/smartp.cc: Likewise.
2024 * gdb.python/py-pp-integral.c: Likewise.
2025 * gdb.python/py-pp-re-notag.c: Likewise.
2027 2020-06-23 Gary Benson <gbenson@redhat.com>
2029 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
2030 * gdb.cp/nsimport.cc: Likewise.
2031 * gdb.cp/nsnested.cc: Likewise.
2032 * gdb.cp/nsnoimports.cc: Likewise.
2033 * gdb.cp/nsusing.cc: Likewise.
2034 * gdb.cp/smartp.cc: Likewise.
2035 * gdb.python/py-pp-integral.c: Likewise.
2036 * gdb.python/py-pp-re-notag.c: Likewise.
2038 2020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2040 * gdb.base/default-args.exp: New test.
2041 * gdb.base/default-args.c: New file.
2042 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
2043 * gdb.base/default.exp: Update to new help text.
2044 * gdb.base/help.exp: Likewise.
2045 * gdb.base/page.exp: Likewise.
2046 * gdb.base/style.exp: Likewise.
2047 * gdb.guile/guile.exp: Likewise.
2048 * gdb.python/python.exp: Likewise.
2050 2020-06-22 Sandra Loosemore <sandra@codesourcery.com>
2052 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
2053 remote host. Fix search path syntax on Windows host.
2055 2020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2057 * gdb.base/attach.exp: Test priority of 'exec-file' changed
2058 over 'exec-file-mismatch'.
2059 * gdb.base/attach.c: Mark should_exit volatile.
2060 * gdb.base/attach2.c: Likewise. Add a comment explaining
2061 why the sleep cannot be big.
2062 * gdb.base/attach3.c: New file.
2064 2020-06-20 Sandra Loosemore <sandra@codesourcery.com>
2066 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
2069 2020-06-20 Sandra Loosemore <sandra@codesourcery.com>
2071 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
2074 2020-06-19 Sandra Loosemore <sandra@codesourcery.com>
2075 Hafiz Abid Qadeer <abidh@codesourcery.com>
2077 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
2078 file sent to remote host.
2079 (top level): Allow int32_t as type of 32-bit register.
2081 2020-06-19 Tom de Vries <tdevries@suse.de>
2083 * lib/gdb.exp (gdb_note): New proc.
2084 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
2085 (gdb_default_target_compile): ... here. Only call
2086 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
2087 (use_gdb_compile): Change to array.
2088 (toplevel): Update sets of use_gdb_compile to specify language.
2089 Warn about default_target_compile override. Store dejagnu's version
2090 of default_target_compile in dejagnu_default_target_compile.
2092 2020-06-18 Tom de Vries <tdevries@suse.de>
2094 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
2095 (default_gdb_init): ... here.
2097 2020-06-17 Sandra Loosemore <sandra@codesourcery.com>
2099 Fix TUI support checks in gdb.tui tests.
2101 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
2102 just say UNSUPPORTED.
2103 * gdb.tui/corefile-run.exp: Likewise.
2104 * gdb.tui/empty.exp: Likewise.
2105 * gdb.tui/list-before.exp: Likewise.
2106 * gdb.tui/list.exp: Likewise.
2107 * gdb.tui/main.exp: Likewise.
2108 * gdb.tui/regs.exp: Likewise.
2109 * gdb.tui/resize.exp: Likewise.
2110 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
2111 * gdb.tui/tui-layout-asm.exp: Likewise.
2112 * gdb.tui/tui-missing-src.exp: Likewise.
2113 * gdb.tui/winheight.exp: Likewise.
2114 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
2116 2020-06-17 Sandra Loosemore <sandra@codesourcery.com>
2118 Fix TCL error in gdb.python/py-format-string.exp.
2120 * gdb.python/py-format-string.exp: Move test for python support
2121 earlier, out of function body.
2123 2020-06-15 Simon Marchi <simon.marchi@efficios.com>
2125 * gdb.base/index-cache-load-twice.c: New.
2126 * gdb.base/index-cache-load-twice.exp: New.
2128 2020-06-17 Keith Seitz <keiths@redhat.com>
2130 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
2131 when executing "gdb --configuration".
2133 2020-06-17 Tom de Vries <tdevries@suse.de>
2135 * lib/gdb.exp (gdb_tcl_unknown): New proc.
2136 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
2137 conditional on presence of gdb_tcl_unknown.
2138 (gdb_finish): Make override undo conditional on presence of
2141 2020-06-16 Tom Tromey <tom@tromey.com>
2143 * gdb.python/tui-window.py (failwin): New function. Register it
2144 as a TUI window type.
2145 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
2147 2020-06-16 Gary Benson <gbenson@redhat.com>
2149 * gdb.python/py-nested-maps.c (create_map): Add missing return
2151 (create_map_map): Likewise.
2153 2020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2155 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
2157 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
2158 and use the already-defined 'options' variable.
2160 2020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
2161 Tom de Vries <tdevries@suse.de>
2163 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
2164 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
2165 (gdb_setup_known_globals): New proc.
2166 (gdb_cleanup_globals): New proc.
2167 * lib/gdb.exp (load_lib): New override proc.
2168 (gdb_stdin_log_init): Set var in_file as persistent global.
2169 * lib/pascal.exp (gdb_stdin_log_init): Set vars
2170 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
2171 fpc_compiler as persistent global.
2173 2020-06-12 Tom de Vries <tdevries@suse.de>
2175 * lib/tuiterm.exp (spawn): Rename to ...
2176 (tui_spawn): ... this.
2177 (toplevel): Move rename of spawn ...
2178 (gdb_init_tuiterm): ... here. New proc.
2179 (gdb_finish_tuiterm): New proc.
2180 * lib/gdb.exp (gdb_finish_hooks): New global var.
2181 (gdb_finish): Handle gdb_finish_hooks.
2182 (tuiterm_env): New proc.
2183 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
2185 * gdb.tui/basic.exp: Same.
2186 * gdb.tui/corefile-run.exp: Same.
2187 * gdb.tui/empty.exp: Same.
2188 * gdb.tui/list-before.exp: Same.
2189 * gdb.tui/list.exp: Same.
2190 * gdb.tui/main.exp: Same.
2191 * gdb.tui/new-layout.exp: Same.
2192 * gdb.tui/regs.exp: Same.
2193 * gdb.tui/resize.exp: Same.
2194 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
2195 * gdb.tui/tui-layout-asm.exp: Same.
2196 * gdb.tui/tui-missing-src.exp: Same.
2197 * gdb.tui/winheight.exp: Same.
2199 2020-06-12 Tom de Vries <tdevries@suse.de>
2202 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
2203 (gdb_finish): Reinstall dejagnu's override of ::unknown.
2205 2020-06-11 Tom Tromey <tom@tromey.com>
2208 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
2209 floating point tests.
2211 2020-06-11 Keith Seitz <keiths@redhat.com>
2214 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
2216 Add new struct vla_typedef and union vla_typedef_union and
2217 corresponding instantiation objects.
2218 Initialize new objects.
2219 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
2220 and vla_typedef_union_object.
2221 Fixup type for vla_struct_object.
2223 2020-06-11 Tom de Vries <tdevries@suse.de>
2225 * lib/gdb.exp (with_override): New proc, factored out of ...
2226 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
2228 2020-06-10 Tom de Vries <tdevries@suse.de>
2230 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
2232 2020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
2234 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
2235 parameter, update callers.
2237 2020-06-04 Simon Marchi <simon.marchi@efficios.com>
2239 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
2240 * gdb.dwarf2/share-psymtabs-bt.c: New file.
2241 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
2243 2020-06-04 Tom de Vries <tdevries@suse.de>
2245 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
2247 2020-06-04 Tom de Vries <tdevries@suse.de>
2249 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
2252 2020-06-04 Tom de Vries <tdevries@suse.de>
2254 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
2256 2020-06-03 Tom de Vries <tdevries@suse.de>
2259 * gdb.cp/breakpoint-locs-2.cc: New test.
2260 * gdb.cp/breakpoint-locs.cc: New test.
2261 * gdb.cp/breakpoint-locs.exp: New file.
2262 * gdb.cp/breakpoint-locs.h: New test.
2264 2020-06-03 Tom de Vries <tdevries@suse.de>
2267 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
2268 value of global verbose.
2269 * gdb.base/jit-elf.exp: Same.
2270 * gdb.base/jit-reader.exp: Same.
2272 2020-06-02 Tom de Vries <tdevries@suse.de>
2274 * gdb.dwarf2/multidictionary.exp: Don't use
2275 gdb_spawn_with_cmdline_opts.
2277 2020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
2279 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
2281 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
2282 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
2283 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
2284 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
2285 * gdb.dwarf2/dw2-inline-header.c: New file.
2286 * gdb.dwarf2/dw2-inline-header.h: New file.
2288 2020-05-30 Pedro Alves <palves@redhat.com>
2290 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
2291 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
2293 2020-05-29 Gary Benson <gbenson@redhat.com>
2295 * gdb.compile/compile-cplus.exp (additional_flags): Also
2296 set when building with clang.
2297 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
2298 when building with clang.
2300 2020-05-29 Gary Benson <gbenson@redhat.com>
2302 * gdb.arch/i386-avx.exp (additional_flags): Also set when
2303 building with clang.
2304 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
2306 2020-05-29 Gary Benson <gbenson@redhat.com>
2308 * gdb.cp/koenig.exp (prepare_for_testing): Add
2309 additional_flags=-Wno-unused-comparison.
2310 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
2312 2020-05-28 Gary Benson <gbenson@redhat.com>
2314 * gdb.base/sigaltstack.c (catcher): Add default case to switch
2317 2020-05-28 Gary Benson <gbenson@redhat.com>
2319 * gdb.cp/classes.exp (prepare_for_testing): Add
2320 additional_flags=-Wno-deprecated-register.
2321 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
2322 * gdb.cp/misc.exp: Likewise.
2324 2020-05-28 Gary Benson <gbenson@redhat.com>
2326 * gdb.linespec/cpls-ops.cc (dummy): New static global.
2327 (test_op_new::operator new): Add return statement.
2328 (test_op_new_array::operator new[]): Likewise.
2330 2020-05-27 Pedro Alves <palves@redhat.com>
2332 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
2333 check. Use test_gdb_complete_unique instead of
2334 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
2335 test_gdb_complete_multiple instead of
2336 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
2338 2020-05-27 Luis Machado <luis.machado@linaro.org>
2340 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
2341 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
2342 * gdb.arch/arm-disassembler-options.exp: Likewise.
2343 * gdb.arch/arm-disp-step.exp: Likewise.
2344 * gdb.arch/thumb-prologue.exp: Likewise.
2345 * gdb.base/async.exp: Likewise.
2346 * gdb.base/auxv.exp: Likewise.
2347 * gdb.base/complex-parts.exp: Likewise.
2348 * gdb.base/ena-dis-br.exp: Likewise.
2349 * gdb.base/foll-exec.exp: Likewise.
2350 * gdb.base/permissions.exp: Likewise.
2351 * gdb.base/relocate.exp: Likewise.
2352 * gdb.base/return2.exp: Likewise.
2353 * gdb.base/sigbpt.exp: Likewise.
2354 * gdb.base/siginfo-obj.exp: Likewise.
2355 * gdb.cp/converts.exp: Likewise.
2356 * gdb.cp/exceptprint.exp: Likewise.
2357 * gdb.cp/inherit.exp: Likewise.
2358 * gdb.cp/nsnoimports.exp: Likewise.
2359 * gdb.cp/virtbase2.exp: Likewise.
2360 * gdb.mi/mi-var-cmd.exp: Likewise.
2361 * gdb.mi/var-cmd.c: Likewise.
2363 2020-05-26 Tom Tromey <tromey@adacore.com>
2365 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
2367 2020-05-26 Tom Tromey <tromey@adacore.com>
2369 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
2370 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
2372 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
2375 2020-05-26 Christian Biesinger <cbiesinger@google.com>
2377 * Makefile.in: Use = instead of == for the test command
2380 2020-05-26 Tom de Vries <tdevries@suse.de>
2382 * gdb.base/gold-gdb-index-2.c: New test.
2383 * gdb.base/gold-gdb-index.c: New test.
2384 * gdb.base/gold-gdb-index.exp: New file.
2385 * gdb.base/gold-gdb-index.h: New test.
2387 2020-05-25 Tom de Vries <tdevries@suse.de>
2389 * boards/gold-gdb-index.exp: New file.
2391 2020-05-25 Simon Marchi <simon.marchi@efficios.com>
2393 * boards/simavr.exp: New file.
2395 2020-05-25 Simon Marchi <simon.marchi@efficios.com>
2397 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
2398 * gdb.base/inferior-args.exp: New file.
2399 * gdb.base/inferior-args.c: New file.
2401 2020-05-25 Simon Marchi <simon.marchi@efficios.com>
2403 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
2404 inferior_args. Pass it to gdb_reload.
2405 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
2407 (gdb_reload): Add inferior_args argument.
2408 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
2409 pass it to gdbserver_run.
2410 * boards/native-gdbserver.exp: Do not set noargs.
2411 * boards/native-extended-gdbserver.exp (gdb_reload): Add
2412 inferior_args argument.
2413 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
2414 * gdb.base/a2-run.exp: Check for use_gdb_stub.
2415 * gdb.base/args.exp: Likewise.
2417 2020-05-25 Tom de Vries <tdevries@suse.de>
2419 * lib/gdb.exp (exec_is_pie): Add comment.
2421 2020-05-25 Tom de Vries <tdevries@suse.de>
2423 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
2424 instead of $binfile in the untested message.
2426 2020-05-25 Tom de Vries <tdevries@suse.de>
2429 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
2431 2020-05-25 Tom de Vries <tdevries@suse.de>
2433 * boards/gold.exp: New file.
2435 2020-05-23 Tom Tromey <tom@tromey.com>
2437 * gdb.base/style.exp: Remove completion styling test.
2438 * lib/gdb-utils.exp (style): Remove completion styles.
2440 2020-05-23 Tom Tromey <tom@tromey.com>
2442 * gdb.base/style.exp: Add completion styling test.
2443 * lib/gdb-utils.exp (style): Add completion styles.
2445 2020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
2447 * gdb.base/annota1.exp: Update expected results.
2448 * gdb.cp/annota2.exp: Update expected results, remove duplicate
2450 * gdb.cp/annota3.exp: Update expected results.
2452 2020-05-20 Simon Marchi <simon.marchi@efficios.com>
2455 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
2457 * gdb.base/coremaker.c (mmapdata): Likewise.
2458 * gdb.base/jit-reader-host.c (main): Likewise.
2459 * gdb.base/sym-file-loader.c (load): Likewise.
2460 (load_shlib): Likewise.
2462 2020-05-20 Tom Tromey <tromey@adacore.com>
2464 * gdb.ada/array_char_idx.exp: Recognize initialized array.
2466 2020-05-20 Tom de Vries <tdevries@suse.de>
2469 * gdb.base/with-mf-inc.c: New test.
2470 * gdb.base/with-mf-main.c: New test.
2471 * gdb.base/with-mf.exp: New file.
2473 2020-05-19 Tom Tromey <tromey@adacore.com>
2475 * gdb.rust/simple.exp: Restore missing test result.
2477 2020-05-19 Tom de Vries <tdevries@suse.de>
2479 * gdb.base/gdb-caching-proc.exp: Fix typo.
2481 2020-05-19 Tom Tromey <tromey@adacore.com>
2483 * gdb.rust/simple.exp: Add some test descriptions.
2484 (test_one_slice): Use with_test_prefix.
2486 2020-05-18 Tom de Vries <tdevries@suse.de>
2488 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
2490 2020-05-17 Pedro Alves <palves@redhat.com>
2493 * gdb.base/hw-sw-break-same-address.exp: New file.
2495 2020-05-16 Pedro Alves <palves@redhat.com>
2497 * gdb.multi/multi-re-run.exp (test_re_run): Switch
2498 LAST_LOADED_FILE accordingly.
2500 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2502 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
2504 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2506 * gdb.base/help.exp: Test apropos and help for commands
2507 having aliases. Fixed comments not starting with an
2508 upper-case letter or not finishing with a dot.
2510 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2512 * gdb.base/alias.exp: Update help output check.
2514 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2516 * gdb.base/default.exp: Update output following fixes.
2518 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2520 * gdb.base/alias.exp: Test aliases starting with a prefix of
2523 2020-05-15 Gary Benson <gbenson@redhat.com>
2525 * gdb.base/info-os.c (main): Add return statement.
2526 * gdb.base/info_minsym.c (minsym_fun): Likewise.
2527 * gdb.base/large-frame-2.c (func): Likewise.
2528 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
2529 * gdb.base/pr10179-b.c (foo2): Likewise.
2530 * gdb.base/valgrind-disp-step.c (foo): Likewise.
2531 * gdb.base/watch-cond.c (func): Likewise.
2532 * gdb.multi/goodbye.c (verylongfun): Likewise.
2533 * gdb.multi/hello.c (commonfun): Likewise.
2534 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
2535 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
2536 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
2538 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
2539 * gdb.threads/interrupt-while-step-over.c (child_function):
2541 * gdb.trace/actions-changed.c (end): Likewise.
2543 2020-05-15 Gary Benson <gbenson@redhat.com>
2545 * gdb.opencl/callfuncs.exp: Report when test skipped.
2546 * gdb.opencl/convs_casts.exp: Likewise.
2547 * gdb.opencl/datatypes.exp: Likewise.
2548 * gdb.opencl/operators.exp: Likewise.
2549 * gdb.opencl/vec_comps.exp: Likewise.
2551 2020-05-15 Tom de Vries <tdevries@suse.de>
2553 * gdb.base/align.exp.in: Rename to ...
2554 * gdb.base/align.exp.tcl: ... this.
2555 * gdb.base/align-c++.exp: Update.
2556 * gdb.base/align-c.exp: Update.
2557 * gdb.base/all-architectures.exp.in: Rename to ...
2558 * gdb.base/all-architectures.exp: ... this.
2559 * gdb.base/all-architectures-0.exp: Update.
2560 * gdb.base/all-architectures-1.exp: Update.
2561 * gdb.base/all-architectures-2.exp: Update.
2562 * gdb.base/all-architectures-3.exp: Update.
2563 * gdb.base/all-architectures-4.exp: Update.
2564 * gdb.base/all-architectures-5.exp: Update.
2565 * gdb.base/all-architectures-6.exp: Update.
2566 * gdb.base/all-architectures-7.exp: Update.
2567 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
2568 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
2569 * gdb.base/infcall-nested-structs-c++.exp: Update.
2570 * gdb.base/infcall-nested-structs-c.exp: Update.
2571 * gdb.base/info-types.exp.in: Rename to ...
2572 * gdb.base/info-types.exp.tcl: ... this.
2573 * gdb.base/info-types-c++.exp: Update.
2574 * gdb.base/info-types-c.exp: Update.
2575 * gdb.base/max-depth.exp.in: Rename to ...
2576 * gdb.base/max-depth.exp.tcl: ... this.
2577 * gdb.base/max-depth-c++.exp: Update.
2578 * gdb.base/max-depth-c.exp: Update.
2579 * gdb.cp/cpexprs.exp.in: Rename to ...
2580 * gdb.cp/cpexprs.exp.tcl: ... this.
2581 * gdb.cp/cpexprs-debug-types.exp: Update.
2582 * gdb.cp/cpexprs.exp: Update.
2583 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
2584 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
2585 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
2586 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
2587 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
2588 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
2589 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
2590 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
2591 * gdb.dwarf2/clang-debug-names-2.exp: Update.
2592 * gdb.dwarf2/clang-debug-names.exp: Update.
2594 2020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
2596 * lib/check-test-names.exp: Remove code that prevents this file
2597 loading when tests are run in parallel.
2599 2020-05-15 Pedro Alves <palves@redhat.com>
2601 * gdb.multi/multi-kill.exp (start_inferior): Remove
2602 'testpid' parameter. Refer to namespace variable directly.
2603 (testpid): Declare as namespace variable.
2605 2020-05-15 Pedro Alves <palves@redhat.com>
2607 * gdb.multi/multi-kill.exp: Wrap in namespace.
2608 (start_inferior): Add TESTPID parameter. Use it instead of the
2610 (top level): Define empty TESTPID array, and pass it down to
2613 2020-05-14 Tom de Vries <tdevries@suse.de>
2615 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
2618 2020-05-14 Tom de Vries <tdevries@suse.de>
2620 * gdb.base/align.exp: Split into ...
2621 * gdb.base/align.exp.in: ...
2622 * gdb.base/align-c++.exp: ...
2623 * gdb.base/align-c.exp: ... these.
2624 * gdb.base/infcall-nested-structs.exp: Split into ...
2625 * gdb.base/infcall-nested-structs.exp.in: ...
2626 * gdb.base/infcall-nested-structs-c++.exp: ...
2627 * gdb.base/infcall-nested-structs-c.exp: ... these.
2628 * gdb.base/info-types.exp: Split into ...
2629 * gdb.base/info-types.exp.in: ...
2630 * gdb.base/info-types-c++.exp: ...
2631 * gdb.base/info-types-c.exp: ... these.
2632 * gdb.base/max-depth.exp: Split into ...
2633 * gdb.base/max-depth.exp.in: ...
2634 * gdb.base/max-depth-c++.exp: ...
2635 * gdb.base/max-depth-c.exp: ... these.
2636 * gdb.cp/infcall-nodebug.exp: Split into ...
2637 * gdb.cp/infcall-nodebug.exp.in: ...
2638 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
2639 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
2640 * gdb.cp/infcall-nodebug-c-d0.exp: ...
2641 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
2643 2020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2644 Pedro Alves <palves@redhat.com>
2646 * gdb.multi/multi-exit.c: New file.
2647 * gdb.multi/multi-exit.exp: New file.
2648 * gdb.multi/multi-kill.c: New file.
2649 * gdb.multi/multi-kill.exp: New file.
2651 2020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2653 * gdb.base/annota1.exp: Update the expected output.
2654 * gdb.cp/annota2.exp: Ditto.
2656 2020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
2658 * lib/check-test-names.exp: Disable when testing is being run in
2661 2020-05-12 Tom de Vries <tdevries@suse.de>
2663 * gdb.base/jit-elf.exp: Fix string concat.
2665 2020-05-12 Tom de Vries <tdevries@suse.de>
2667 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
2670 2020-05-12 Tom de Vries <tdevries@suse.de>
2672 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
2674 2020-05-12 Tom de Vries <tdevries@suse.de>
2676 * gdb.ada/catch_ex.exp: Use with_test_prefix.
2677 * gdb.ada/mi_catch_ex.exp: Same.
2678 * gdb.ada/mi_catch_ex_hand.exp: Same.
2680 2020-05-12 Tom de Vries <tdevries@suse.de>
2682 * gdb.fortran/complex.exp: Use with_test_prefix.
2684 2020-05-12 Tom de Vries <tdevries@suse.de>
2686 * gdb.trace/passcount.exp: Fix test-names.
2688 2020-05-12 Tom de Vries <tdevries@suse.de>
2690 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
2692 2020-05-12 Tom de Vries <tdevries@suse.de>
2694 * gdb.gdb/complaints.exp: Use with_test_prefix.
2695 * gdb.xml/tdesc-regs.exp: Same.
2696 * gdb.opt/inline-locals.exp: Fix test name.
2698 2020-05-12 Tom de Vries <tdevries@suse.de>
2700 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
2701 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
2702 * gdb.dwarf2/implref-struct.exp: Same.
2703 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
2704 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
2706 2020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
2708 * gdb.base/jit-so.exp (one_jit_test): Change test name.
2710 2020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
2712 * lib/check-test-names.exp (all_test_names): New module variable.
2713 (counts): Add 'duplicates' field.
2714 (_check_duplicates): New procedure.
2715 (check): Also check for duplicates.
2716 (do_log_summary): Print duplicates count.
2717 (do_reset_vars): Reset counter for duplicate test names, and
2718 discard all know test names.
2720 2020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
2722 * lib/gdb.exp: Include check-test-names.exp library.
2723 * lib/check-test-names.exp: New file.
2725 2020-05-11 Tom de Vries <tdevries@suse.de>
2727 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
2729 2020-05-11 Keith Seitz <keiths@redhat.com>
2731 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
2733 2020-05-11 Tom de Vries <tdevries@suse.de>
2735 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
2736 * gdb.cp/cpexprs.exp.in: .. here.
2737 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
2740 2020-05-11 Keith Seitz <keiths@redhat.com>
2742 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
2744 * gdb.ada/arrayptr.exp: Likewise.
2745 * gdb.ada/assign_arr.exp: Likewise.
2746 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
2747 * gdb.ada/bp_on_var.exp: Likewise.
2748 * gdb.ada/call_pn.exp: Likewise.
2749 * gdb.ada/complete.exp: Likewise.
2750 * gdb.ada/fun_overload_menu.exp: Likewise.
2751 * gdb.ada/funcall_param.exp: Likewise.
2752 * gdb.ada/funcall_ref.exp: Likewise.
2753 * gdb.ada/packed_array_assign.exp: Likewise.
2754 * gdb.ada/same_component_name.exp: Likewise.
2755 * gdb.ada/type_coercion.exp: Likewise.
2756 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
2757 * gdb.ada/variant_record_packed_array.exp: Likewise.
2759 2020-05-11 Tom de Vries <tdevries@suse.de>
2762 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
2764 * gdb.dwarf2/clang-debug-names.exp: ... here.
2765 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
2766 clang-debug-names.exp.in.
2767 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
2768 * gdb.dwarf2/clang-debug-names-2.c: New test.
2770 2020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
2772 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
2773 (fortran_runto_main): New Proc, fortran version of runto_main.
2774 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
2775 * gdb.fortran/array-bounds.exp: Likewise.
2776 * gdb.fortran/array-slices.exp: Likewise.
2777 * gdb.fortran/block-data.exp: Likewise.
2778 * gdb.fortran/charset.exp: Likewise.
2779 * gdb.fortran/common-block.exp: Likewise.
2780 * gdb.fortran/complex.exp: Likewise.
2781 * gdb.fortran/derived-type-function.exp: Likewise.
2782 * gdb.fortran/derived-type.exp: Likewise.
2783 * gdb.fortran/info-modules.exp: Likewise.
2784 * gdb.fortran/info-types.exp: Likewise.
2785 * gdb.fortran/intrinsics.exp: Likewise.
2786 * gdb.fortran/library-module.exp: Likewise.
2787 * gdb.fortran/logical.exp: Likewise.
2788 * gdb.fortran/max-depth.exp: Likewise.
2789 * gdb.fortran/module.exp: Likewise.
2790 * gdb.fortran/multi-dim.exp: Likewise.
2791 * gdb.fortran/nested-funcs.exp: Likewise.
2792 * gdb.fortran/print-formatted.exp: Likewise.
2793 * gdb.fortran/print_type.exp: Likewise.
2794 * gdb.fortran/printing-types.exp: Likewise.
2795 * gdb.fortran/ptr-indentation.exp: Likewise.
2796 * gdb.fortran/ptype-on-functions.exp: Likewise.
2797 * gdb.fortran/subarray.exp: Likewise.
2798 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
2799 * gdb.fortran/vla-datatypes.exp: Likewise.
2800 * gdb.fortran/vla-history.exp: Likewise.
2801 * gdb.fortran/vla-ptr-info.exp: Likewise.
2802 * gdb.fortran/vla-ptype-sub.exp: Likewise.
2803 * gdb.fortran/vla-ptype.exp: Likewise.
2804 * gdb.fortran/vla-sizeof.exp: Likewise.
2805 * gdb.fortran/vla-type.exp: Likewise.
2806 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
2807 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
2808 * gdb.fortran/vla-value-sub.exp: Likewise.
2809 * gdb.fortran/vla-value.exp: Likewise.
2810 * gdb.fortran/whatis_type.exp: Likewise.
2811 * gdb.mi/mi-var-child-f.exp: Likewise.
2813 2020-05-09 Tom de Vries <tdevries@suse.de>
2815 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
2817 2020-05-08 Tom de Vries <tdevries@suse.de>
2819 * gdb.dwarf2/clang-debug-names.c: New test.
2820 * gdb.dwarf2/clang-debug-names.exp: New file.
2822 2020-05-06 Simon Marchi <simon.marchi@efficios.com>
2824 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
2825 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
2827 2020-05-06 Tom de Vries <tdevries@suse.de>
2829 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
2830 breakpoint is at a "recommended breakpoint location".
2831 * gdb.reverse/consecutive-reverse.exp: Same.
2833 2020-05-06 Tom de Vries <tdevries@suse.de>
2835 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
2838 2020-05-06 Tom de Vries <tdevries@suse.de>
2840 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
2842 2020-05-06 Tom de Vries <tdevries@suse.de>
2844 * gdb.base/store.exp (check_set, up_set): Allowing missing location
2847 2020-05-06 Tom de Vries <tdevries@suse.de>
2849 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
2852 2020-05-06 Tom de Vries <tdevries@suse.de>
2854 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
2857 2020-05-06 Tom de Vries <tdevries@suse.de>
2859 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
2861 * gdb.base/async.exp: ... here.
2862 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
2863 "recommended breakpoint location".
2865 2020-05-06 Tom de Vries <tdevries@suse.de>
2867 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
2869 2020-05-04 Tom de Vries <tdevries@suse.de>
2871 * gdb.base/async.exp: Check whether instruction addresses are a
2872 "recommended breakpoint location".
2874 2020-05-03 Tom Tromey <tom@tromey.com>
2876 * gdb.base/sepdebug.exp: Remove "catch" test.
2877 * gdb.base/break.exp: Remove "catch" test.
2878 * gdb.base/default.exp: Update expected output.
2880 2020-05-02 Tom de Vries <tdevries@suse.de>
2882 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
2883 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
2884 * gdb.arch/i386-mpx-map.exp: Same.
2885 * gdb.arch/i386-mpx-sigsegv.exp: Same.
2886 * gdb.arch/i386-mpx-simple_segv.exp: Same.
2887 * gdb.arch/i386-mpx.exp: Same.
2889 2020-05-02 Tom de Vries <tdevries@suse.de>
2891 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
2893 2020-05-01 Tom de Vries <tdevries@suse.de>
2895 * gdb.ada/operator_bp.exp: Allow more than required amount of
2898 2020-05-01 Tom de Vries <tdevries@suse.de>
2900 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
2902 2020-04-30 Hannes Domani <ssbssa@yahoo.de>
2905 * gdb.cp/stub-array-size.cc: New test.
2906 * gdb.cp/stub-array-size.exp: New file.
2907 * gdb.cp/stub-array-size.h: New test.
2908 * gdb.cp/stub-array-size2.cc: New test.
2910 2020-04-30 Hannes Domani <ssbssa@yahoo.de>
2912 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
2913 output to the new format.
2915 2020-04-29 Simon Marchi <simon.marchi@efficios.com>
2917 * gdb.base/break.exp: Use with_test_prefix.
2919 2020-04-29 Tom de Vries <tdevries@suse.de>
2921 * lib/gdb.exp (debug_types): New proc.
2922 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
2923 * gdb.python/py-symtab.exp: Same.
2925 2020-04-29 Hannes Domani <ssbssa@yahoo.de>
2928 * gdb.base/pretty-array.c: New test.
2929 * gdb.base/pretty-array.exp: New file.
2931 2020-04-29 Tom de Vries <tdevries@suse.de>
2934 * gdb.cp/cpexprs.exp: Adapt for inclusion.
2935 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
2936 and include cpexprs.exp.
2938 2020-04-28 Mark Williams <mark@myosotissp.com>
2941 * dw4-toplevel-types.exp: Test for top level types.
2942 * dw4-toplevel-types.cc: Test for top level types.
2944 2020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2946 * gdb.threads/stop-with-handle.exp: Fix typo in comment
2947 (theads -> threads).
2949 2020-04-28 Tom de Vries <tdevries@suse.de>
2951 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
2953 2020-04-28 Tom de Vries <tdevries@suse.de>
2955 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
2957 2020-04-28 Tom de Vries <tdevries@suse.de>
2959 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
2961 2020-04-28 Tom de Vries <tdevries@suse.de>
2963 * gdb.dwarf2/main-foo.c: New test.
2964 * gdb.dwarf2/struct-with-sig.exp: New file.
2966 2020-04-25 Tom de Vries <tdevries@suse.de>
2968 * boards/debug-types.exp: New file.
2970 2020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
2972 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
2974 2020-04-24 Tom Tromey <tom@tromey.com>
2977 * gdb.python/py-symbol.exp: Update expected results for
2979 * gdb.cp/print-demangle.exp: New file.
2980 * gdb.base/c-linkage-name.exp: Fix test.
2981 * gdb.guile/scm-symbol.exp: Update expected results for
2984 2020-04-24 Tom Tromey <tom@tromey.com>
2986 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
2987 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
2988 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
2991 2020-04-24 Tom de Vries <tdevries@suse.de>
2993 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
2996 2020-04-24 Tom Tromey <tromey@adacore.com>
2998 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
3000 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
3001 values. Update test for minimal encodings.
3002 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
3003 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
3004 values. Update test for minimal encodings.
3006 2020-04-24 Tom Tromey <tromey@adacore.com>
3009 * gdb.ada/variant.exp: Add Python checks.
3010 * gdb.rust/simple.exp: Add dynamic type checks.
3012 2020-04-24 Tom Tromey <tromey@adacore.com>
3014 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
3015 Make array type matching more lax.
3016 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
3017 * gdb.ada/mi_variant.exp: New file.
3018 * gdb.ada/mi_variant/pck.ads: New file.
3019 * gdb.ada/mi_variant/pkg.adb: New file.
3020 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
3021 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
3023 2020-04-24 Tom Tromey <tromey@adacore.com>
3025 * gdb.ada/variant.exp: Add dynamic field offset tests.
3026 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
3027 * gdb.ada/variant/pkg.adb: Add new variables.
3029 2020-04-24 Tom Tromey <tromey@adacore.com>
3031 * gdb.ada/variant.exp: New file
3032 * gdb.ada/variant/pkg.adb: New file
3033 * gdb.ada/variant/pck.adb: New file
3035 2020-04-24 Tom de Vries <tdevries@suse.de>
3037 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
3039 2020-04-24 Tom de Vries <tdevries@suse.de>
3041 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
3044 2020-04-24 Tom de Vries <tdevries@suse.de>
3046 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
3048 2020-04-24 Tom de Vries <tdevries@suse.de>
3050 * lib/gdb.exp (default_gdb_start): Handle eof.
3051 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
3053 * gdb.base/readnever.exp: Handle clean_restart failure.
3055 2020-04-23 Tom de Vries <tdevries@suse.de>
3057 * gdb.base/decl-before-def.exp: Run to main and print a again.
3059 2020-04-23 Tom de Vries <tdevries@suse.de>
3061 * gdb.base/decl-before-def-decl.c: New test.
3062 * gdb.base/decl-before-def-def.c: New test.
3063 * gdb.base/decl-before-def.exp: New file.
3065 2020-04-23 Tom de Vries <tdevries@suse.de>
3067 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
3069 2020-04-22 Tom de Vries <tdevries@suse.de>
3071 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
3073 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
3074 before $objsfile in the line line.
3076 2020-04-22 Tom de Vries <tdevries@suse.de>
3078 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
3080 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
3082 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
3083 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
3084 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
3085 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
3086 * gdb.base/jit-protocol.h: Update definitions to match all usage
3089 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
3091 * gdb.base: Rename all jit related test and source files.
3093 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
3095 * gdb.base/jit-reader.exp: Relax register output check.
3097 2020-04-22 Tom de Vries <tdevries@suse.de>
3100 * gdb.base/psym-external-decl-2.c: New test.
3101 * gdb.base/psym-external-decl.c: New test.
3102 * gdb.base/psym-external-decl.exp: New file.
3103 * gdb.threads/tls.exp: Add PR25807 kfail.
3105 2020-04-22 Tom de Vries <tdevries@suse.de>
3108 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
3109 in "info source" output.
3111 2020-04-22 Tom de Vries <tdevries@suse.de>
3114 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
3115 symtab for imported_unit.c.
3117 2020-04-21 Gary Benson <gbenson@redhat.com>
3119 * gdb.base/advance.c (func): New argument, to match call site.
3120 (func2, func3): Add return statements.
3122 2020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3124 * gdb.multi/run-only-second-inf.c: New file.
3125 * gdb.multi/run-only-second-inf.exp: New file.
3127 2020-04-21 Markus Metzger <markus.t.metzger@intel.com>
3129 * gdb.btrace/multi-inferior.c: New test.
3130 * gdb.btrace/multi-inferior.exp: New file.
3132 2020-04-21 Markus Metzger <markus.t.metzger@intel.com>
3134 * gdb.btrace/enable-new-thread.c: New test.
3135 * gdb.btrace/enable-new-thread.exp: New file.
3137 2020-04-21 Tom de Vries <tdevries@suse.de>
3140 * gdb.threads/killed-outside.c: New test.
3141 * gdb.threads/killed-outside.exp: New file.
3143 2020-04-20 Gary Benson <gbenson@redhat.com>
3145 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
3146 * gdb.base/nested-subp2.exp: Likewise.
3147 * gdb.base/nested-subp3.exp: Likewise.
3149 2020-04-20 Gary Benson <gbenson@redhat.com>
3151 * gdb.base/nested-subp1.exp: Disable test when using clang.
3152 * gdb.base/nested-subp2.exp: Likewise.
3153 * gdb.base/nested-subp3.exp: Likewise.
3155 2020-04-20 Gary Benson <gbenson@redhat.com>
3157 * gdb.cp/exception.cc: Fix compilation error with clang.
3159 2020-04-20 Gary Benson <gbenson@redhat.com>
3161 * gdb.trace/tspeed.c: Fix compilation error with clang.
3163 2020-04-20 Gary Benson <gbenson@redhat.com>
3165 * gdb.base/jit-main.c: Fix compilation error with clang.
3167 2020-04-17 Kamil Rytarowski <n54@gmx.com>
3169 * gdb.base/attach-twice.c: Include "sys/types.h".
3170 (PTRACE_ATTACH): Add fallback definition.
3171 (main): Pass `0' to the 4th argument of `ptrace'.
3173 2020-04-17 Kamil Rytarowski <n54@gmx.com>
3175 * gdb.base/fork-running-state.c: Include "signal.h".
3177 2020-04-17 Tom Tromey <tromey@adacore.com>
3179 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
3181 * gdb.btrace/cpu.exp: Update tests.
3182 * gdb.base/maint.exp: Update tests.
3183 * gdb.base/default.exp: Update tests.
3184 * gdb.base/completion.exp: Update tests.
3186 2020-04-16 Tom de Vries <tdevries@suse.de>
3189 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
3190 (ensure_gdb_index): and factor out and move ...
3191 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
3192 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
3194 2020-04-16 Tom de Vries <tdevries@suse.de>
3196 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
3199 2020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
3201 * gdb.base/many-completions.exp: New file.
3203 2020-04-14 Tom de Vries <tdevries@suse.de>
3206 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
3208 2020-04-14 Tom de Vries <tdevries@suse.de>
3211 * gdb.base/maint-expand-symbols-header-file.c: New test.
3212 * gdb.base/maint-expand-symbols-header-file.exp: New file.
3213 * gdb.base/maint-expand-symbols-header-file.h: New test.
3215 2020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
3217 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
3218 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
3220 (get_func_info): Delete.
3221 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
3222 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
3223 * lib/dwarf.exp (get_func_info): New function.
3225 2020-04-13 Tom de Vries <tdevries@suse.de>
3227 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
3228 to what find_gnatmake does.
3230 2020-04-10 Tom de Vries <tdevries@suse.de>
3232 * gdb.base/style.exp: Expect "Expanding full symbols" message for
3235 2020-04-10 Tom de Vries <tdevries@suse.de>
3238 * gdb.base/style.c: Add leading newlines.
3239 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
3240 Check listing of main's one-line body.
3242 2020-04-08 Tom de Vries <tdevries@suse.de>
3244 * lib/gdb.exp (psymtabs_p): New proc.
3245 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
3246 importing unit" unsupported if there are no partial symbols.
3248 2020-04-08 Tom de Vries <tdevries@suse.de>
3251 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
3253 2020-04-07 Tom de Vries <tdevries@suse.de>
3256 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
3258 2020-04-07 Tom de Vries <tdevries@suse.de>
3260 * gdb.base/check-psymtab.c: New test.
3261 * gdb.base/check-psymtab.exp: New file.
3263 2020-04-06 Tom Tromey <tromey@adacore.com>
3265 * gdb.ada/variant-record/proc.adb: New file.
3266 * gdb.ada/variant-record/value.adb: New file.
3267 * gdb.ada/variant-record/value.s: New file.
3268 * gdb.ada/variant-record.exp: New file.
3270 2020-04-03 Hannes Domani <ssbssa@yahoo.de>
3273 * gdb.cp/typed-enum.cc: New test.
3274 * gdb.cp/typed-enum.exp: New file.
3276 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
3278 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
3279 * gdb.dwarf2/dw2-inline-small-func.c: New file.
3280 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
3281 * gdb.dwarf2/dw2-inline-small-func.h: New file.
3282 * gdb.opt/inline-small-func.c: New file.
3283 * gdb.opt/inline-small-func.exp: New file.
3284 * gdb.opt/inline-small-func.h: New file.
3286 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
3288 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
3291 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
3293 * lib/dwarf.exp (function_range): Allow compiler options to be
3296 2020-04-02 Tom de Vries <tdevries@suse.de>
3298 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
3299 __attribute__((always_inline)).
3300 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
3302 2020-04-02 Tom de Vries <tdevries@suse.de>
3304 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
3305 (gdbserver_gdb_exit): ... here. Add timeout warning.
3306 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
3307 (connect_target_extended_remote): Append new server_spawn_id to
3309 (cleanup): New proc.
3310 (setup, <toplevel>): Call cleanup.
3312 2020-04-02 Tom de Vries <tdevries@suse.de>
3314 * gdb.base/main-psymtab.exp: New file.
3316 2020-04-02 Tom de Vries <tdevries@suse.de>
3318 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
3320 2020-04-01 Tom Tromey <tom@tromey.com>
3322 * gdb.base/complex-parts.exp: Add type tests.
3324 2020-04-01 Tom Tromey <tom@tromey.com>
3326 * gdb.base/complex-parts.exp: Add arithmetic tests.
3328 2020-04-01 Tom Tromey <tom@tromey.com>
3330 * gdb.compile/compile.exp: Update.
3331 * gdb.compile/compile-cplus.exp: Update.
3332 * gdb.base/varargs.exp: Update.
3333 * gdb.base/floatn.exp: Update.
3334 * gdb.base/endianity.exp: Update.
3335 * gdb.base/callfuncs.exp (do_function_calls): Update.
3336 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
3337 (complex_float_integral_args): Update.
3338 * gdb.base/complex.exp: Update.
3339 * gdb.base/complex-parts.exp: Update.
3341 2020-04-01 Tom Tromey <tromey@adacore.com>
3343 * gdb.rust/union.rs: New file.
3344 * gdb.rust/union.exp: New file.
3345 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
3347 * gdb.rust/simple.exp: Move union tests to union.exp.
3349 2020-04-01 Tom Tromey <tromey@adacore.com>
3351 * gdb.rust/simple.rs (main): Remove "y0".
3353 2020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3355 * gdb.multi/stop-all-on-exit.c: New test.
3356 * gdb.multi/stop-all-on-exit.exp: New file.
3358 2020-04-01 Hannes Domani <ssbssa@yahoo.de>
3361 * gdb.cp/misc.cc: Add integer reference variable.
3362 * gdb.cp/misc.exp: Add test.
3364 2020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
3366 * gdb.server/stop-reply-no-thread.exp: Enhance the test
3367 scenario to cover execution until the end and also the case
3369 2020-03-31 Tom de Vries <tdevries@suse.de>
3371 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
3372 c. Use "maint info symtabs" to check symtab expansion.
3374 2020-03-30 Tom de Vries <tdevries@suse.de>
3376 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
3378 (verify_psymtab_expanded): Move ...
3379 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
3381 (readnow): New proc.
3383 2020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
3385 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
3388 2020-03-20 Tom Tromey <tromey@adacore.com>
3390 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
3392 2020-03-20 Tom Tromey <tromey@adacore.com>
3394 * gdb.ada/sub_variant/subv.adb: New file.
3395 * gdb.ada/sub_variant.exp: New file.
3397 2020-03-20 Tom de Vries <tdevries@suse.de>
3399 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
3401 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
3403 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
3405 * gdb.server/exit-multiple-threads.c: New file.
3406 * gdb.server/exit-multiple-threads.exp: New file.
3408 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
3410 * gdb.fortran/mixed-lang-stack.c: New file.
3411 * gdb.fortran/mixed-lang-stack.cpp: New file.
3412 * gdb.fortran/mixed-lang-stack.exp: New file.
3413 * gdb.fortran/mixed-lang-stack.f90: New file.
3415 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
3417 * gdb.linespec/cp-completion-aliases.cc: New file.
3418 * gdb.linespec/cp-completion-aliases.exp: New file.
3420 2020-03-19 Tom de Vries <tdevries@suse.de>
3422 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
3425 2020-03-18 Tom de Vries <tdevries@suse.de>
3427 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
3428 * gdb.dwarf2/break-inline-psymtab.c: New test.
3429 * gdb.dwarf2/break-inline-psymtab.exp: New file.
3431 2020-03-16 Tom de Vries <tdevries@suse.de>
3433 * lib/cache.exp (gdb_do_cache): Add and handle local variables
3434 cache_verify and cache_verify_proc.
3436 2020-03-15 Tom de Vries <tdevries@suse.de>
3438 * gdb.server/solib-list.exp: Handle
3439 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
3441 2020-03-15 Tom de Vries <tdevries@suse.de>
3443 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
3446 2020-03-14 Tom Tromey <tom@tromey.com>
3448 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
3450 2020-03-14 Tom de Vries <tdevries@suse.de>
3452 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
3454 2020-03-14 Tom de Vries <tdevries@suse.de>
3456 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
3457 result in line-by-line fashion.
3459 2020-03-14 Tom de Vries <tdevries@suse.de>
3461 * lib/gdb.exp (supports_statement_frontiers): New proc.
3462 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
3464 2020-03-14 Tom de Vries <tdevries@suse.de>
3466 * gdb.base/printcmds.exp: Add missing quoting for "print
3469 2020-03-13 Tom Tromey <tom@tromey.com>
3471 * gdb.base/printcmds.exp (test_print_strings): Add regression
3473 * gdb.base/printcmds.c (charptr): New typedef.
3474 (teststring2): New global.
3476 2020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
3478 * gdb.base/break-interp.exp: Use the tail of the filename, not the
3479 full path in the test name.
3480 (test_ld): Add some with_test_prefix blocks to make test names
3483 2020-03-13 Tom de Vries <tdevries@suse.de>
3485 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
3487 2020-03-13 Tom de Vries <tdevries@suse.de>
3489 * gdb.mi/mi-sym-info.exp: Make matching more precise.
3491 2020-03-13 Tom de Vries <tdevries@suse.de>
3494 * gdb.dwarf2/imported-unit.exp: Add test.
3496 2020-03-13 Tom de Vries <tdevries@suse.de>
3498 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
3499 (var1, var2): New variable.
3500 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
3503 2020-03-13 Tom de Vries <tdevries@suse.de>
3505 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
3506 (Term::command): Use prompt prefix.
3507 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
3508 * gdb.tui/tui-layout-asm-short-prog.exp: Use
3509 command_no_prompt_prefix instead of prefix.
3510 * gdb.tui/tui-layout-asm.exp: Same.
3512 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
3514 * gdb.base/break-interp.exp: Use foreach_with_prefix.
3516 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
3518 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
3519 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
3520 on" while stepping over the test instruction, match printed
3523 2020-03-12 Tom de Vries <tdevries@suse.de>
3525 * gdb.base/info-types.exp: Use exp_continue during matching of output
3528 2020-03-12 Tom de Vries <tdevries@suse.de>
3530 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
3532 2020-03-12 Tom de Vries <tdevries@suse.de>
3534 * gdb.fortran/module.exp: Use exp_continue during matching of output
3535 of "info variable -n".
3537 2020-03-12 Tom de Vries <tdevries@suse.de>
3539 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
3540 gdb.dwarf2/dw2-ranges-base.c.
3542 2020-03-12 Tom de Vries <tdevries@suse.de>
3544 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
3545 in presence of GLIBC debuginfo.
3547 2020-03-12 Tom de Vries <tdevries@suse.de>
3549 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
3552 2020-03-12 Tom de Vries <tdevries@suse.de>
3554 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
3557 2020-03-11 Simon Marchi <simon.marchi@efficios.com>
3559 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
3560 from Unix to Windows path.
3562 2020-03-11 Tom de Vries <tdevries@suse.de>
3564 * gdb.ada/minsyms.exp: Set language to ada.
3566 2020-03-11 Tom de Vries <tdevries@suse.de>
3568 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
3570 2020-03-11 Tom de Vries <tdevries@suse.de>
3572 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
3574 2020-03-11 Tom Tromey <tromey@adacore.com>
3576 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
3578 2020-03-11 Tom de Vries <tdevries@suse.de>
3580 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
3582 2020-03-11 Tom de Vries <tdevries@suse.de>
3584 * gdb.base/break-interp.exp: Limit verbose scope.
3586 2020-03-11 Tom de Vries <tdevries@suse.de>
3588 * gdb.fortran/logical.f90: Define variable with character type.
3589 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
3591 2020-03-11 Tom de Vries <tdevries@suse.de>
3593 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
3595 2020-03-11 Tom de Vries <tdevries@suse.de>
3597 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
3600 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
3601 Bernd Edlinger <bernd.edlinger@hotmail.de>
3603 * gdb.cp/step-and-next-inline.cc: New file.
3604 * gdb.cp/step-and-next-inline.exp: New file.
3605 * gdb.cp/step-and-next-inline.h: New file.
3606 * gdb.dwarf2/dw2-is-stmt.c: New file.
3607 * gdb.dwarf2/dw2-is-stmt.exp: New file.
3608 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
3609 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
3610 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
3612 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
3614 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
3615 is-stmt flag in the line table.
3617 2020-03-09 Tom de Vries <tdevries@suse.de>
3619 * lib/gdb.exp (cached_file): Create cache dir.
3621 2020-03-07 Tom de Vries <tdevries@suse.de>
3623 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
3624 * gdb.cp/rvalue-ref-params.exp: Same.
3626 2020-03-06 Tom de Vries <tdevries@suse.de>
3628 * lib/gdb.exp (tentative_rename, cached_file): New proc.
3629 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
3631 2020-03-06 Tom de Vries <tdevries@suse.de>
3633 * README: Fix "the the".
3634 * gdb.base/dprintf.exp: Same.
3636 2020-03-05 Tom de Vries <tdevries@suse.de>
3638 * gdb.base/maint.exp: Update "main print statistics" expected output.
3640 2020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
3642 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
3643 (fortran_int8): Likewise.
3644 (fortran_real4): Likewise.
3645 (fortran_real8): Likewise.
3646 (fortran_complex4): Likewise.
3647 (fortran_logical4): Likewise.
3648 (fortran_character1): Likewise.
3650 2020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
3652 * gdb.fortran/logical.exp: Add tests that any non-zero value is
3655 2020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
3657 * gdb.base/printcmds.exp: Add test to verify printf of a
3658 variable holding an address.
3660 2020-03-03 Tom de Vries <tdevries@suse.de>
3662 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
3664 2020-03-03 Tom de Vries <tdevries@suse.de>
3666 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
3667 gdb_test_multiple call.
3669 2020-03-03 Tom de Vries <tdevries@suse.de>
3671 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
3672 gdb_test_multiple calls.
3674 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
3676 * gdb.base/default.exp: Remove test of 'set history filename'.
3677 * gdb.base/gdbinit-history.exp: Add tests for setting the history
3678 filename to the empty string.
3679 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
3682 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
3684 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
3687 2020-03-02 Pedro Alves <palves@redhat.com>
3688 Tom de Vries <tdevries@suse.de>
3690 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
3691 -prompt prefix, before user_code argument. Add -lbl option likewise.
3692 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
3693 (gdb_is_target_1): Add -prompt prefix and move to before user_code
3695 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
3696 have "\r\n" at start-of-line, instead of at end-of-line.
3698 2020-02-28 Simon Marchi <simon.marchi@efficios.com>
3700 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
3703 2020-02-28 Luis Machado <luis.machado@linaro.org>
3705 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
3708 2020-02-28 Luis Machado <luis.machado@linaro.org>
3710 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
3711 asm/ptrace.h and error.h.
3713 2020-02-28 Tom de Vries <tdevries@suse.de>
3715 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
3716 (struct wrapper, do_something, mundane/symada__cS): Move ...
3717 * gdb.base/c-linkage-name-2.c: ... here. New source file.
3718 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
3719 Update "print symada__cS before partial symtab expansion" regexp.
3720 Update breakpoint location. Flush symbol cache after expansion.
3722 2020-02-28 Luis Machado <luis.machado@linaro.org>
3724 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
3726 2020-02-27 Tom de Vries <tdevries@suse.de>
3728 * config/sid.exp: Remove unused globals.
3729 * gdb.base/attach.exp: Same.
3730 * gdb.base/catch-load.exp: Same.
3731 * gdb.base/dbx.exp: Same.
3732 * lib/gdb.exp: Same.
3733 * lib/mi-support.exp: Same.
3734 * lib/prompt.exp: Same.
3736 2020-02-27 Tom de Vries <tdevries@suse.de>
3738 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
3741 2020-02-26 Aaron Merey <amerey@redhat.com>
3743 * gdb.debuginfod: New directory for debuginfod tests.
3744 * gdb.debuginfod/main.c: New test file.
3745 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
3747 2020-02-26 Tom de Vries <tdevries@suse.de>
3750 * gdb.base/persistent-lang.cc: New test.
3751 * gdb.base/persistent-lang.exp: New file.
3753 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
3755 * gdb.fortran/derived-type-striding.exp: Add a new test.
3756 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
3759 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
3761 * gdb.base/cached-source-file.exp: Avoid source file paths in test
3764 2020-02-25 Tom de Vries <tdevries@suse.de>
3767 * gdb.go/methods.exp: Remove gcc/93866 xfail.
3769 2020-02-24 Tom de Vries <tdevries@suse.de>
3772 * gdb.base/info-locals-unused-static-var.c: New test.
3773 * gdb.base/info-locals-unused-static-var.exp: New file.
3775 2020-02-22 Tom Tromey <tom@tromey.com>
3777 * gdb.python/tui-window.exp: New file.
3778 * gdb.python/tui-window.py: New file.
3780 2020-02-22 Tom Tromey <tom@tromey.com>
3783 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
3786 2020-02-22 Tom Tromey <tom@tromey.com>
3788 * gdb.tui/new-layout.exp: Add sub-layout tests.
3790 2020-02-22 Tom Tromey <tom@tromey.com>
3792 * gdb.tui/new-layout.exp: New file.
3794 2020-02-22 Tom Tromey <tom@tromey.com>
3796 * gdb.rust/rust-style.rs: New file.
3797 * gdb.rust/rust-style.exp: New file.
3798 * gdb.base/style.exp: Test structure printing.
3799 * gdb.base/style.c (struct some_struct): New type.
3800 (enum etype): New type.
3801 (struct_value): New global.
3803 2020-02-21 Tom de Vries <tdevries@suse.de>
3806 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
3807 Remove blanket xfails. Use message argument for gdb_breakpoint.
3808 Make continuing to breakpoint test conditional on setting breakpoint.
3809 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
3810 DW_AT_name attribute. Add xfail for GCC PR93866.
3812 2020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
3814 * gdb.dwarf2/cpp-linkage-name.c: New file.
3815 * gdb.dwarf2/cpp-linkage-name.exp: New file.
3817 2020-02-21 Shahab Vahedi <shahab@synopsys.com>
3819 * lib/gdb.exp (gdb_wrapper_init): Reset
3820 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
3823 2020-02-20 Tom de Vries <tdevries@suse.de>
3826 * gdb.go/hello.exp: Copy ...
3827 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
3828 print of st to print value of global definition. Add xfail for GCC
3830 * gdb.go/hello.exp: Remove printing of st before definition.
3831 * gdb.go/hello.go: Copy ...
3832 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
3834 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
3836 2020-02-20 Tom de Vries <tdevries@suse.de>
3838 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
3839 (gdb_simple_compile): Handle compile_flags go by using .go extension
3841 * gdb.go/chan.exp: Use support_go_compile.
3842 * gdb.go/handcall.exp: Same.
3843 * gdb.go/hello.exp: Same.
3844 * gdb.go/integers.exp: Same.
3845 * gdb.go/max-depth.exp: Same.
3846 * gdb.go/methods.exp: Same.
3847 * gdb.go/package.exp: Same.
3848 * gdb.go/strings.exp: Same.
3849 * gdb.go/types.exp: Same.
3850 * gdb.go/unsafe.exp: Same.
3852 2020-02-19 Tom de Vries <tdevries@suse.de>
3854 * gdb.python/lib-types.exp: Make xfail more strict.
3856 2020-02-19 Tom de Vries <tdevries@suse.de>
3858 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
3860 2020-02-19 Doug Evans <dje@google.com>
3863 * gdb.rust/simple.exp: Add test.
3864 * gdb.rust/simple.rs: Add test.
3866 2020-02-19 Tom de Vries <tdevries@suse.de>
3868 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
3869 output line-by-line.
3871 2020-02-19 Tom de Vries <tdevries@suse.de>
3873 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
3875 2020-02-19 Tom de Vries <tdevries@suse.de>
3877 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
3880 2020-02-19 Tom de Vries <tdevries@suse.de>
3882 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
3883 (gdb_do_cache): Use gdb_do_cache_wrap.
3884 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
3886 2020-02-19 Tom de Vries <tdevries@suse.de>
3888 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
3891 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
3893 * gdb.base/printcmds.exp (test_print_enums): Update expected
3896 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
3898 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
3901 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
3903 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
3906 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
3908 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
3911 (enum flag_enum_without_zero): New enum.
3912 (flag_enum_without_zero): New variable.
3913 (enum not_flag_enum): New enum.
3914 (three_not_flag): New variable.
3915 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
3916 (test_print_enums): Add more tests for printing flag enums.
3918 2020-02-18 Tom de Vries <tdevries@suse.de>
3920 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
3921 (gdb_compile_ada): ... here.
3922 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
3923 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
3925 2020-02-14 Tom Tromey <tom@tromey.com>
3927 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
3929 * boards/gdbserver-base.exp: Update path to gdbserver.
3931 2020-02-13 Tom de Vries <tdevries@suse.de>
3933 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
3935 2020-02-13 Tom de Vries <tdevries@suse.de>
3937 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
3940 2020-02-13 Tom de Vries <tdevries@suse.de>
3942 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
3945 2020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
3948 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
3949 * gdb.base/cached-source-file.c: New file.
3950 * gdb.base/cached-source-file.exp: New file.
3952 2020-02-11 Tom de Vries <tdevries@suse.de>
3955 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
3957 2020-02-10 Tom de Vries <tdevries@suse.de>
3959 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
3961 2020-02-10 Maciej W. Rozycki <macro@wdc.com>
3963 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
3964 and $after_addr are both integers before making a comparison.
3966 2020-02-09 Tom de Vries <tdevries@suse.de>
3968 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
3969 command output and paste it into gdb.log. If any, paste catch message
3972 2020-02-07 Tom Tromey <tromey@adacore.com>
3974 PR breakpoints/24915:
3975 * gdb.base/annotate-symlink.exp: Use setup_xfail.
3977 2020-02-06 Shahab Vahedi <shahab@synopsys.com>
3979 * gdb.tui/tui-missing-src.exp: Add the "missing source
3980 file" test for the TUI.
3982 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
3984 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
3985 including a port number in the output.
3987 2020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
3989 * lib/fortran.exp (fortran_int4): Handle clang.
3990 (fortran_int8): Likewise.
3991 (fortran_real4): Likewise.
3992 (fortran_real8): Likewise.
3993 (fortran_complex4): Likewise.
3994 (fortran_logical4): Likewise.
3995 (fortran_character1): Likewise.
3997 2020-02-04 Tom de Vries <tdevries@suse.de>
3999 * README (Race detection): Add note.
4001 2020-02-04 Tom de Vries <tdevries@suse.de>
4003 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
4005 2020-02-04 Tom de Vries <tdevries@suse.de>
4007 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
4009 2020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
4011 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
4012 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
4013 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
4015 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
4016 binary for blttar, bnetarl.
4017 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
4018 wait instruction. Delete ldmx test.
4019 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
4021 2020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
4023 * gdb.fortran/array-bounds-high.exp: New file.
4024 * gdb.fortran/array-bounds-high.f90: New file.
4026 2020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
4028 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
4029 Replace #include of <sys/fcntl.h> by <fcntl.h>.
4031 2020-02-01 Tom de Vries <tdevries@suse.de>
4033 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
4035 2020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
4038 * gdb.tui/tui-layout-asm-short-prog.S: New file.
4039 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
4041 2020-01-29 Luis Machado <luis.machado@linaro.org>
4043 * gdb.arch/aarch64-brk-patterns.c: New source file.
4044 * gdb.arch/aarch64-brk-patterns.exp: New test.
4046 2020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4048 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
4050 * gdb.cp/pass-by-ref.exp: Ditto.
4052 2020-01-29 Tom de Vries <tdevries@suse.de>
4054 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
4055 * gdb.threads/watchpoint-fork-mt.c: Same.
4056 * gdb.threads/watchpoint-fork-parent.c: Same.
4057 * gdb.threads/watchpoint-fork-st.c: Same.
4058 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
4060 2020-01-27 Luis Machado <luis.machado@linaro.org>
4062 * gdb.base/step-over-syscall.exp (setup): Check if we're already
4063 sitting at a syscall instruction when we hit the syscall function's
4065 Check PC against one obtained with the x command.
4066 Validate syscall number.
4067 (step_over_syscall): Don't continue to the syscall instruction if
4068 we're already there.
4070 2020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4072 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
4074 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4076 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
4077 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
4079 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4081 * gdb.dwarf2/dw2-inline-stepping.c: New file.
4082 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
4084 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4086 * gdb.base/maint.exp: Update line table parsing test.
4087 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
4089 2020-01-24 Pedro Alves <palves@redhat.com>
4092 * gdb.multi/multi-re-run-1.c: New.
4093 * gdb.multi/multi-re-run-2.c: New.
4094 * gdb.multi/multi-re-run.exp: New.
4096 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4099 * gdb.server/server-kill-python.exp: New file.
4101 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4103 * gdb.server/multi-ui-errors.c: New file.
4104 * gdb.server/multi-ui-errors.exp: New file.
4106 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
4109 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
4111 2020-01-19 Tom Tromey <tom@tromey.com>
4113 * gdb.tui/main.exp: Add check for plain "file".
4115 2020-01-16 Christian Biesinger <cbiesinger@google.com>
4117 * lib/gdb.exp: Fix spelling error (seperatelly).
4119 2020-01-14 Tom Tromey <tom@tromey.com>
4122 * gdb.python/python.exp: Test decode_line with empty string
4125 2020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
4127 * gdb.base/skip-inline.exp: Extend test.
4129 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
4131 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
4132 * gdb.dwarf2/dw2-bad-elf.c: New file.
4133 * gdb.dwarf2/dw2-bad-elf.exp: New file.
4135 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
4137 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
4140 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
4142 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
4145 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4147 * gdb.multi/multi-target.exp (setup): Factor out "info
4148 connections" and "info inferiors" tests to ...
4149 (test_info_inferiors): ... this new procedure.
4150 (top level): Run new "info-inferiors" tests.
4152 2020-01-10 Pedro Alves <palves@redhat.com>
4154 * gdb.server/bkpt-other-inferior.exp: New file.
4156 2020-01-10 Pedro Alves <palves@redhat.com>
4158 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
4160 * gdb.base/quit-live.exp: Likewise.
4161 * gdb.base/remote-exec-file.exp: Likewise.
4162 * gdb.guile/scm-progspace.exp: Likewise.
4163 * gdb.linespec/linespec.exp: Likewise.
4164 * gdb.mi/new-ui-mi-sync.exp: Likewise.
4165 * gdb.mi/user-selected-context-sync.exp: Likewise.
4166 * gdb.multi/multi-target.exp (setup): Add "info connection" and
4167 "info inferiors" tests.
4168 * gdb.multi/remove-inferiors.exp: Adjust expected output of
4170 * gdb.multi/watchpoint-multi.exp: Likewise.
4171 * gdb.python/py-inferior.exp: Likewise.
4172 * gdb.server/extended-remote-restart.exp: Likewise.
4173 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
4175 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
4176 * gdb.trace/report.exp: Likewise.
4178 2020-01-10 Pedro Alves <palves@redhat.com>
4180 * gdb.multi/multi-target.c: New file.
4181 * gdb.multi/multi-target.exp: New file.
4182 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
4183 mode requested, but remote does not support non-stop".
4185 2020-01-10 Pedro Alves <palves@redhat.com>
4187 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
4188 disconnect before reconnecting.
4190 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4191 Pedro Alves <palves@redhat.com>
4193 * gdb.server/connect-without-multi-process.exp: Also test
4196 2020-01-10 Pedro Alves <palves@redhat.com>
4198 * gdb.base/remote-exec-file.exp: New file.
4200 2020-01-10 Pedro Alves <palves@redhat.com>
4202 * gdb.base/fork-running-state.exp (do_test): Adjust expected
4204 * gdb.threads/async.c: New.
4205 * gdb.threads/async.exp: New.
4206 * gdb.multi/tids-gid-reset.c: New.
4207 * gdb.multi/tids-gid-reset.exp: New.
4209 2020-01-10 George Barrett <bob@bob131.so>
4211 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
4212 to help in finding the image relocation offset.
4213 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
4214 options in arguments.
4215 (stap_test_no_debuginfo): Likewise.
4216 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
4218 (stap_test): Add null semaphore relocation test.
4220 2020-01-10 George Barrett <bob@bob131.so>
4222 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
4223 * gdb.base/stap-probe.exp: Likewise.
4224 (stap_test): Pass argument as an additional flag.
4225 (stap_test_no_debuginfo): Likewise.
4226 (stap_test): Check `info probes stap' output for semaphore
4227 addresses if the test binary is supposed to have them.
4229 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4231 * gdb.tui/basic.exp: Add more scrolling tests.
4233 2020-01-09 Tom Tromey <tom@tromey.com>
4236 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
4238 (Term::command, Term::resize): Update.
4239 * gdb.tui/basic.exp: Add scrolling test.
4241 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4243 * gdb.tui/tui-layout-asm.exp: New file.
4245 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4247 * lib/tuiterm.exp (Term::check_box_contents): New proc.
4249 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4251 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
4252 (Term::enter_tui): Use Term::prepare_for_tui.
4254 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4256 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
4259 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4261 * gdb.base/skip.exp: Fix race condition in test.
4263 2020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
4265 * gdb.base/backtrace.c: New file.
4266 * gdb.base/backtrace.exp: New file.
4268 2020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
4270 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
4272 2020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4274 * gdb.base/style.exp: Test that warnings are styled.
4276 2019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
4278 * gdb.base/line65535.exp: New file.
4279 * gdb.base/line65535.c: New file.
4281 2019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
4283 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
4284 * lib/gnat_debug_info_test.adb: New file.
4285 * gdb.ada/ptype_tagged_param.exp: Use
4286 gnat_runtime_has_debug_info, expect a different output if
4287 runtime does not have debug info.
4289 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
4291 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
4292 (another) quote in test name.
4294 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
4296 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
4297 Add quote in test name.
4299 2019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4301 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
4303 * gdb.cp/pass-by-ref.exp: Extend with more cases.
4304 * gdb.cp/pass-by-ref-2.cc: New file.
4305 * gdb.cp/pass-by-ref-2.exp: New file.
4307 2019-12-20 Tom Tromey <tom@tromey.com>
4309 * gdb.tui/list-before.exp: New file.
4311 2019-12-20 Tom Tromey <tom@tromey.com>
4313 * gdb.tui/list.exp: Check for source on initial listing.
4315 2019-12-11 Tom Tromey <tromey@adacore.com>
4317 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
4320 2019-12-18 Simon Marchi <simon.marchi@efficios.com>
4322 * gdb.base/default.exp: Update value of $_gdb_major.
4324 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
4326 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
4328 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
4330 * gdb.base/skip.exp: Whitespace fix.
4332 2019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
4334 * gdb.base/skip-inline.c: New file.
4335 * gdb.base/skip-inline.exp: New file.
4337 2019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
4339 * gdb.base/jit-reader.exp (jit_reader_test): Rename
4340 jit_function_00 to jit_function_stack_mangle.
4341 * gdb.base/jithost.c (jit_function_t): Rename to...
4342 (jit_function_stack_mangle_t): ... this.
4343 (jit_function_add_t): New typedef.
4344 (jit_function_00_code): Rename to...
4345 (jit_function_stack_mangle_code): ... this, make static.
4346 (jit_function_add_code): New.
4347 (main): Generate "add" function and call it. Adjust to changes
4349 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
4350 (struct jithost_abi) <begin, end>: Remove fields.
4351 <object, function_stack_mangle, function_add>: New fields.
4352 * gdb.base/jitreader.c (struct reader_state) <code_begin,
4353 code_end>: Remove fields.
4354 <func_stack_mangle>: New field.
4355 (read_debug_info): Adjust to renaming, create block for "add"
4357 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
4359 2019-12-11 Tom Tromey <tom@tromey.com>
4361 * gdb.tui/resize.exp: Fix regexp.
4362 * gdb.tui/regs.exp: Fix regexps.
4363 * gdb.tui/main.exp: Fix regexp.
4365 2019-12-11 Tom Tromey <tom@tromey.com>
4367 * gdb.tui/resize.exp: Update.
4368 * gdb.tui/empty.exp (layouts): Update.
4370 2019-12-11 Tom Tromey <tom@tromey.com>
4372 * gdb.tui/regs.exp: Update.
4373 * gdb.tui/empty.exp (layouts): Update.
4374 * gdb.tui/basic.exp: Update.
4375 * lib/tuiterm.exp (_check_box): Don't check bottom border.
4377 2019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4379 * gdb.base/options.exp: Add -raw-values in the print completion list.
4380 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
4382 2019-12-10 Kevin Buettner <kevinb@redhat.com>
4384 * gdb.threads/omp-par-scope.c: New file.
4385 * gdb/threads/omp-par-scope.exp: New file.
4387 2019-12-10 Kevin Buettner <kevinb@redhat.com>
4389 * lib/gdb.exp (support_nested_function_tests): New proc.
4391 2019-12-10 Kevin Buettner <kevinb@redhat.com>
4393 * lib/gdb.exp (gdb_compile_openmp): New proc.
4394 (build_executable_from_specs): Add an "openmp" option.
4395 (gdb_compile_pthreads): Add non-executable case.
4397 2019-12-10 Tom Tromey <tromey@adacore.com>
4399 * gdb.ada/unchecked_union.exp: New file.
4400 * gdb.ada/unchecked_union/pck.adb: New file.
4401 * gdb.ada/unchecked_union/pck.ads: New file.
4402 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
4403 * gdb-utils.exp (string_to_regexp): Also quote "?".
4405 2019-12-10 George Barrett <bob@bob131.so>
4407 Test scripted probe breakpoints.
4408 * gdb.guile/scm-breakpoint.c (main): Add probe point.
4409 * gdb.python/py-breakpoint.c (main): Likewise.
4410 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
4412 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
4414 2019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4416 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
4417 an rvalue parameter.
4418 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
4421 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
4423 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
4426 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
4428 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
4429 broken version of GCC.
4431 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
4433 * gdb.fortran/info-modules.exp: Rewrite to make use of new
4434 sym-info-cmds library.
4435 * gdb.fortran/info-types.exp: Likewise.
4436 * lib/sym-info-cmds.exp: New file.
4438 2019-12-08 Tom de Vries <tdevries@suse.de>
4440 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
4442 2019-12-07 Keith Seitz <keiths@redhat.com>
4444 * gdb.base/corefile-buildid-shlib-shr.c: New file.
4445 * gdb.base/corefile-buildid-shlib.c: New file.
4446 * gdb.base/corefile-buildid.c: New file.
4447 * gdb.base/corefile-buildid.exp: New file.
4449 2019-12-06 Tom de Vries <tdevries@suse.de>
4451 * gdb.dwarf2/varval.exp: Add decl before def test.
4453 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4455 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
4457 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
4459 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
4460 CV and reference conversion for overload resolution.
4461 * gdb.cp/rvalue-ref-overload.exp: Test it.
4463 2019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4465 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
4466 * gdb.base/frameapply.exp: Test faas without command.
4468 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
4470 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
4472 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
4475 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
4477 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
4478 casting to type with no kind specified.
4479 (test_basic_parsing_of_type_kinds): Additional tests for types
4480 with no kind specified, and add tests for single/double
4481 precision/complex types.
4483 2019-12-04 Tom Tromey <tromey@adacore.com>
4485 * gdb.base/endianity.c (struct other) <x>: New field.
4486 (main): Initialize it.
4487 * gdb.base/endianity.exp: Update.
4489 2019-12-04 Tom Tromey <tromey@adacore.com>
4491 * gdb.ada/scalar_storage/storage.adb: New file.
4492 * gdb.ada/scalar_storage/pck.adb: New file.
4493 * gdb.ada/scalar_storage/pck.ads: New file.
4494 * gdb.ada/scalar_storage.exp: New file.
4496 2019-12-04 Tom Tromey <tromey@adacore.com>
4498 * gdb.base/endianity.c (struct otherendian) <f>: New field.
4499 (main): Initialize it.
4500 * gdb.base/endianity.exp: Update.
4502 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
4504 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
4506 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
4508 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
4509 -symbol-info-module-functions and -symbol-info-module-variables.
4511 2019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
4513 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
4515 2019-12-01 Richard Bunt <richard.bunt@arm.com>
4516 Andrew Burgess <andrew.burgess@embecosm.com>
4518 * gdb.fortran/derived-type-striding.exp: New file.
4519 * gdb.fortran/derived-type-striding.f90: New file.
4520 * gdb.fortran/array-slices.exp: New file.
4521 * gdb.fortran/array-slices.f90: New file.
4523 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4525 * gdb.base/define.exp: Test . in command names.
4526 * gdb.base/setshow.exp: Update test, as . is now part of
4529 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4531 * gdb.base/define-prefix.exp: New file.
4533 2019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
4535 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
4537 (skip_btrace_pt_tests): Likewise.
4539 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
4541 * gdb.fortran/info-modules.exp: Compile source files in correct
4544 2019-11-27 Kevin Buettner <kevinb@redhat.com>
4546 * gdb.dwarf2/imported-unit.exp: New file.
4547 * gdb.dwarf2/imported-unit.c: New file.
4549 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
4551 * gdb.mi/mi-fortran-modules-2.f90: New file.
4552 * gdb.mi/mi-fortran-modules.exp: New file.
4553 * gdb.mi/mi-fortran-modules.f90: New file.
4555 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
4557 * gdb.mi/mi-sym-info-1.c: New file.
4558 * gdb.mi/mi-sym-info-2.c: New file.
4559 * gdb.mi/mi-sym-info.exp: New file.
4561 2019-11-22 Tom Tromey <tromey@adacore.com>
4563 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
4564 * gdb.ada/tasks/foo.adb: Add another stopping location.
4566 2019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
4568 * gdb.base/endianity.c: New test.
4569 * gdb.base/endianity.exp: New file.
4571 2019-11-21 Lukas Durfina <ldurfina@tachyum.com>
4573 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
4575 2019-11-21 Tom de Vries <tdevries@suse.de>
4578 * gdb.base/ui-redirect.exp: Test output of user-defined command.
4580 2019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4582 * gdb.python/py-progspace.exp: Add missing parentheses on some
4585 2019-11-19 Tom Tromey <tom@tromey.com>
4587 * gdb.tui/winheight.exp: New file.
4589 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
4591 * gdb.base/ctf-whatis.c: Delete.
4592 * gdb.base/ctf-whatis.exp: Delete.
4593 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
4595 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
4597 * gdb.base/ctf-cvexpr.exp: Delete.
4598 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
4600 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
4602 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
4603 the compiler. Clean up header comment a little.
4604 * gdb.base/ctf-ptype.exp: Likewise.
4605 * gdb.base/ctf-whatis.exp: Likewise.
4606 * lib/gdb.exp (skip_ctf_tests): New proc.
4608 2019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
4610 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
4611 * gdb.tui/corefile-run.exp: New file.
4613 2019-11-14 Tom Tromey <tromey@adacore.com>
4615 * gdb.base/gdbvars.exp (test_convenience_variables): Add
4618 2019-11-12 Tom Tromey <tom@tromey.com>
4620 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
4621 after any command. Expect prompt after WAIT_FOR is seen.
4622 (enter_tui): Enable resize messages.
4623 (command): Expect command in output.
4624 (get_line): Avoid error when cursor appears to be off-screen.
4625 (dump_screen): Include screen size in title.
4626 (_do_resize): New proc, from "resize".
4627 (resize): Rewrite. Do resize in two steps.
4628 * gdb.tui/empty.exp (layouts): Fix entries.
4629 (check_boxes): Remove xfail.
4630 (check_text): Dump screen on failure.
4632 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
4634 * gdb.python/py-symbol.exp: Add test for
4635 gdb.lookup_static_symbols.
4637 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
4639 * gdb.python/py-symbol.c: Declare and call function from new
4641 * gdb.python/py-symbol.exp: Compile both source files, and add new
4642 tests for gdb.lookup_static_symbol.
4643 * gdb.python/py-symbol-2.c: New file.
4645 2019-11-02 Tom de Vries <tdevries@suse.de>
4647 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
4648 * gdb.base/anon.exp: Same.
4649 * gdb.base/auto-connect-native-target.exp: Same.
4650 * gdb.base/call-ar-st.exp: Same.
4651 * gdb.base/catch-syscall.exp: Same.
4652 * gdb.base/commands.exp: Same.
4653 * gdb.base/default.exp: Same.
4654 * gdb.base/display.exp: Same.
4655 * gdb.base/float.exp: Same.
4656 * gdb.base/foll-fork.exp: Same.
4657 * gdb.base/help.exp: Same.
4658 * gdb.base/info-macros.exp: Same.
4659 * gdb.base/info-proc.exp: Same.
4660 * gdb.base/info-target.exp: Same.
4661 * gdb.base/long_long.exp: Same.
4662 * gdb.base/macscp.exp: Same.
4663 * gdb.base/memattr.exp: Same.
4664 * gdb.base/nofield.exp: Same.
4665 * gdb.base/pointers.exp: Same.
4666 * gdb.base/printcmds.exp: Same.
4667 * gdb.base/ptype.exp: Same.
4668 * gdb.base/restore.exp: Same.
4669 * gdb.base/return.exp: Same.
4670 * gdb.base/scope.exp: Same.
4671 * gdb.base/set-noassign.exp: Same.
4672 * gdb.base/setshow.exp: Same.
4673 * gdb.base/shlib-call.exp: Same.
4674 * gdb.base/signals.exp: Same.
4675 * gdb.base/sigstep.exp: Same.
4676 * gdb.base/skip.exp: Same.
4677 * gdb.base/solib-symbol.exp: Same.
4678 * gdb.base/stap-probe.exp: Same.
4679 * gdb.base/step-line.exp: Same.
4680 * gdb.base/step-test.exp: Same.
4681 * gdb.base/style.exp: Same.
4682 * gdb.base/varargs.exp: Same.
4683 * gdb.base/vla-datatypes.exp: Same.
4684 * gdb.base/vla-ptr.exp: Same.
4685 * gdb.base/vla-sideeffect.exp: Same.
4686 * gdb.base/volatile.exp: Same.
4687 * gdb.base/watch-cond-infcall.exp: Same.
4688 * gdb.base/watchpoint.exp: Same.
4690 2019-11-02 Tom de Vries <tdevries@suse.de>
4692 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
4693 * gdb.cp/cpexprs.exp: Same.
4694 * gdb.cp/except-multi-location.exp: Same.
4695 * gdb.cp/exceptprint.exp: Same.
4696 * gdb.cp/gdb2384.exp: Same.
4697 * gdb.cp/inherit.exp: Same.
4698 * gdb.cp/m-static.exp: Same.
4699 * gdb.cp/meth-typedefs.exp: Same.
4700 * gdb.cp/misc.exp: Same.
4701 * gdb.cp/namespace.exp: Same.
4702 * gdb.cp/non-trivial-retval.exp: Same.
4703 * gdb.cp/overload.exp: Same.
4704 * gdb.cp/pr17132.exp: Same.
4705 * gdb.cp/re-set-overloaded.exp: Same.
4706 * gdb.cp/rvalue-ref-types.exp: Same.
4707 * gdb.cp/templates.exp: Same.
4709 2019-11-01 Luis Machado <luis.machado@linaro.org>
4713 * gdb.arch/pr25124.S: New file.
4714 * gdb.arch/pr25124.exp: New file.
4716 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4718 * gdb.fortran/info-modules.exp: Update expected results, and add
4719 additional tests for 'info module functinos', and 'info module
4721 * gdb.fortran/info-types.exp: Update expected results.
4722 * gdb.fortran/info-types.f90: Extend testcase with additional
4723 module variables and functions.
4725 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4727 * gdb.fortran/info-modules.exp: New file.
4728 * gdb.fortran/info-types.exp: Build with new file.
4729 * gdb.fortran/info-types.f90: Include and use new module.
4730 * gdb.fortran/info-types-2.f90: New file.
4732 2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4734 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
4735 * gdb.base/settings.exp: Test all settings types using
4736 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
4737 that now verifies that the value of "maint show" is the same as
4738 returned by the settings functions. Test the type of the
4739 maintenance settings.
4740 * gdb.base/default.exp: Update show_conv_list.
4742 2019-10-31 Tom de Vries <tdevries@suse.de>
4744 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
4746 * gdb.arch/amd64-disp-step.exp: Same.
4747 * gdb.asm/asm-source.exp: Same.
4748 * gdb.btrace/buffer-size.exp: Same.
4749 * gdb.btrace/cpu.exp: Same.
4750 * gdb.btrace/enable.exp: Same.
4751 * gdb.dwarf2/count.exp: Same.
4752 * gdb.dwarf2/dw2-ranges-func.exp: Same.
4753 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
4754 * gdb.fortran/vla-datatypes.exp: Same.
4755 * gdb.fortran/vla-history.exp: Same.
4756 * gdb.fortran/vla-ptype.exp: Same.
4757 * gdb.fortran/vla-value.exp: Same.
4758 * gdb.fortran/whatis_type.exp: Same.
4759 * gdb.guile/guile.exp: Same.
4760 * gdb.multi/tids.exp: Same.
4761 * gdb.python/py-finish-breakpoint.exp: Same.
4762 * gdb.python/py-framefilter.exp: Same.
4763 * gdb.python/py-pp-registration.exp: Same.
4764 * gdb.python/py-xmethods.exp: Same.
4765 * gdb.python/python.exp: Same.
4766 * gdb.server/connect-with-no-symbol-file.exp: Same.
4767 * gdb.server/no-thread-db.exp: Same.
4768 * gdb.server/run-without-local-binary.exp: Same.
4769 * gdb.stabs/weird.exp: Same.
4770 * gdb.threads/attach-many-short-lived-threads.exp: Same.
4771 * gdb.threads/thread-find.exp: Same.
4772 * gdb.threads/tls-shared.exp: Same.
4773 * gdb.threads/tls.exp: Same.
4774 * gdb.threads/wp-replication.exp: Same.
4775 * gdb.trace/ax.exp: Same.
4776 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
4778 2019-10-31 Tom de Vries <tdevries@suse.de>
4780 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
4781 * gdb.ada/array_subscript_addr.exp: Same.
4782 * gdb.ada/arrayidx.exp: Same.
4783 * gdb.ada/arrayparam.exp: Same.
4784 * gdb.ada/arrayptr.exp: Same.
4785 * gdb.ada/boolean_expr.exp: Same.
4786 * gdb.ada/call_pn.exp: Same.
4787 * gdb.ada/complete.exp: Same.
4788 * gdb.ada/fixed_cmp.exp: Same.
4789 * gdb.ada/fun_addr.exp: Same.
4790 * gdb.ada/funcall_param.exp: Same.
4791 * gdb.ada/interface.exp: Same.
4792 * gdb.ada/mod_from_name.exp: Same.
4793 * gdb.ada/null_array.exp: Same.
4794 * gdb.ada/packed_array.exp: Same.
4795 * gdb.ada/packed_tagged.exp: Same.
4796 * gdb.ada/print_chars.exp: Same.
4797 * gdb.ada/print_pc.exp: Same.
4798 * gdb.ada/ptype_arith_binop.exp: Same.
4799 * gdb.ada/ptype_field.exp: Same.
4800 * gdb.ada/ptype_tagged_param.exp: Same.
4801 * gdb.ada/rec_return.exp: Same.
4802 * gdb.ada/ref_tick_size.exp: Same.
4803 * gdb.ada/str_ref_cmp.exp: Same.
4804 * gdb.ada/taft_type.exp: Same.
4805 * gdb.ada/tagged.exp: Same.
4806 * gdb.ada/type_coercion.exp: Same.
4807 * gdb.ada/uninitialized_vars.exp: Same.
4809 2019-10-30 Tom de Vries <tdevries@suse.de>
4811 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
4813 2019-10-26 Tom de Vries <tdevries@suse.de>
4815 * gdb.base/bigcore.c: Fix typos in comments.
4816 * gdb.base/ctf-ptype.c: Same.
4817 * gdb.base/long_long.c: Same.
4818 * gdb.dwarf2/dw2-op-out-param.S: Same.
4819 * gdb.python/py-evthreads.c: Same.
4820 * gdb.reverse/i387-stack-reverse.c: Same.
4821 * gdb.trace/tfile.c: Same.
4822 * lib/compiler.c: Same.
4823 * lib/compiler.cc: Same.
4825 2019-10-25 Tom de Vries <tdevries@suse.de>
4827 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
4828 gdb_test_multiple calls.
4829 * gdb.reverse/sigall-reverse.exp: Same.
4830 * gdb.reverse/solib-precsave.exp: Same.
4831 * gdb.reverse/solib-reverse.exp: Same.
4832 * gdb.reverse/until-precsave.exp: Same.
4833 * gdb.reverse/until-reverse.exp: Same.
4835 2019-10-24 Tom de Vries <tdevries@suse.de>
4837 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
4838 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
4839 kfail using -wrap pattern flag and convenience variable
4842 2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
4844 * gdb.python/py-progspace.exp: Add tests for the
4845 Progspace.block_for_pc method.
4847 2019-10-23 Tom Tromey <tom@tromey.com>
4849 * configure: Rebuild.
4850 * aclocal.m4: Use m4_include, not sinclude.
4852 2019-10-21 Tom de Vries <tdevries@suse.de>
4854 * gdb.base/infcall-nested-structs.c: Add
4855 __attribute__((noinline,noclone)) to all functions.
4856 (call_all): Add missing variable initialization. Simplify return value.
4857 (breakpt): Increment volatile variable, to prevent call from being
4859 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
4861 2019-10-17 Tom de Vries <tdevries@suse.de>
4863 * gdb.fortran/module.exp: Allow info variables to print info for files
4864 other than module.f90.
4866 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
4868 * gdb.fortran/module.exp: Extend with 'info variables' test.
4870 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
4872 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
4875 2019-10-16 Tom de Vries <tdevries@suse.de>
4878 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
4880 2019-10-16 Tom de Vries <tdevries@suse.de>
4883 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
4884 Add KFAIL for PR tdep/25096.
4886 2019-10-16 Tom de Vries <tdevries@suse.de>
4889 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
4891 2019-10-16 Tom de Vries <tdevries@suse.de>
4893 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
4896 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
4898 * gdb.mi/list-thread-groups-available.exp: Read entries one by
4899 one instead of increasing timeout.
4901 2019-10-13 Tom de Vries <tdevries@suse.de>
4904 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
4905 * gdb.reverse/sigall-reverse.exp: Same.
4906 * gdb.reverse/solib-precsave.exp: Same.
4907 * gdb.reverse/solib-reverse.exp: Same.
4908 * gdb.reverse/step-precsave.exp: Same.
4909 * gdb.reverse/until-precsave.exp: Same.
4910 * gdb.reverse/until-reverse.exp: Same.
4911 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
4913 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
4915 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
4916 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
4917 (cmp_struct_05_01, cmp_struct_static_02_01)
4918 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
4921 2019-10-10 Tom de Vries <tdevries@suse.de>
4924 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
4927 2019-10-09 Tom de Vries <tdevries@suse.de>
4930 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
4932 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
4934 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
4935 exceptions due to missing debug information.
4937 2019-10-07 Tom de Vries <tdevries@suse.de>
4939 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
4941 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
4943 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
4944 * gdb.base/annota1.exp: Update to use gdb_test_name.
4946 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
4948 * gdb.base/ctf-whatis.exp: New file.
4949 * gdb.base/ctf-whatis.c: New file.
4950 * gdb.base/ctf-ptype.exp: New file.
4951 * gdb.base/ctf-ptype.c: New file.
4952 * gdb.base/ctf-constvars.exp: New file.
4953 * gdb.base/ctf-constvars.c: New file.
4954 * gdb.base/ctf-cvexpr.exp: New file.
4956 2019-10-04 Tom de Vries <tdevries@suse.de>
4958 * gdb.cp/local-static.c (main): Move declaration of int i out of the
4961 2019-10-03 Tom Tromey <tom@tromey.com>
4964 * gdb.rust/simple.rs (Union2): New type.
4966 * gdb.rust/simple.exp: Add test.
4968 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4970 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
4971 nested function prefix.
4973 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
4974 Richard Bunt <richard.bunt@arm.com>
4975 Andrew Burgess <andrew.burgess@embecosm.com>
4977 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
4979 * gdb.fortran/nested-funcs.f90: Update expected results.
4980 * gdb.fortran/nested-funcs-2.exp: New file.
4981 * gdb.fortran/nested-funcs-2.f90: New file.
4983 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4985 * gdb.python/py-parameter.exp: Make test names unique.
4986 * gdb.python/py-template.exp: Likewise.
4987 * gdb.python/py-value.exp: Likewise.
4989 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
4991 * gdb.base/break-interp.exp: Reduce test name duplication.
4992 * gdb.base/call-sc.exp: Likewise.
4993 * gdb.base/callfuncs.exp: Likewise.
4994 * gdb.base/charset.exp: Likewise.
4995 * gdb.base/dump.exp: Likewise.
4996 * gdb.base/ena-dis-br.exp: Likewise.
4997 * gdb.base/relational.exp: Likewise.
4998 * gdb.base/step-over-syscall.exp: Likewise.
4999 * gdb.base/structs.exp: Likewise.
5001 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5003 * gdb.linespec/explicit.exp: Make test names unique.
5004 * gdb.linespec/ls-errs.exp: Likewise.
5006 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5008 * gdb.reverse/break-precsave.exp: Make test names unique.
5009 * gdb.reverse/break-reverse.exp: Likewise.
5010 * gdb.reverse/finish-precsave.exp: Likewise.
5011 * gdb.reverse/finish-reverse.exp: Likewise.
5012 * gdb.reverse/machinestate-precsave.exp: Likewise.
5013 * gdb.reverse/machinestate.exp: Likewise.
5014 * gdb.reverse/readv-reverse.exp: Likewise.
5015 * gdb.reverse/recvmsg-reverse.exp: Likewise.
5016 * gdb.reverse/sigall-precsave.exp: Likewise.
5017 * gdb.reverse/sigall-reverse.exp: Likewise.
5018 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
5019 * gdb.reverse/watch-precsave.exp: Likewise.
5020 * gdb.reverse/watch-reverse.exp: Likewise.
5022 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
5024 * gdb.threads/stop-with-handle.c: New file.
5025 * gdb.threads/stop-with-handle.exp: New file.
5027 2019-10-03 Tom de Vries <tdevries@suse.de>
5030 * gdb.base/list-missing-source.exp: Allowing the "Compilation
5031 directory" line to be missing.
5033 2019-10-03 Tom de Vries <tdevries@suse.de>
5036 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
5039 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
5041 * gdb.python/py-format-string.c (string.h): New include.
5042 (main): Fill a_struct_with_union.the_union.an_int with bytes of
5043 the same value, for endianness-independence.
5044 * gdb.python/py-format-string.exp (default_regexp_dict)
5045 (test_pretty_structs, test_format): Adjust expected output to the
5046 changed initialization.
5048 2019-10-02 Tom Tromey <tromey@adacore.com>
5050 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
5052 2019-10-02 Pedro Alves <palves@redhat.com>
5053 Andrew Burgess <andrew.burgess@embecosm.com>
5055 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
5057 (this_version_id) Use ATTRIBUTE_VISIBILITY.
5058 (get_version_1): Print this_version_id and its address.
5059 Add extern "C" wrappers around interface functions.
5060 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
5062 (this_version_id) Use ATTRIBUTE_VISIBILITY.
5063 (get_version_2): Print this_version_id and its address.
5064 Add extern "C" wrappers around interface functions.
5065 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
5066 <stddef.h> and "print-file-var.h".
5067 Add extern "C" wrappers around interface functions.
5068 [VERSION_ID_MAIN] (this_version_id): Define.
5069 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
5070 * gdb.base/print-file-var.h: Add some #defines to simplify setting
5071 up extern "C" blocks.
5072 * gdb.base/print-file-var.exp (test): New, factored out from top
5074 (top level): Test all combinations of attribute hidden or not,
5075 dlopen or not, and this_version_id symbol in main file or not.
5076 Compile tests as both C++ and C, make test names unique.
5078 2019-10-01 Tom Tromey <tom@tromey.com>
5080 * gdb.base/style.exp: Test "show logging filename".
5082 2019-10-01 Tom Tromey <tom@tromey.com>
5084 * lib/gdb-utils.exp (style): Handle "metadata" argument.
5085 * gdb.base/style.exp: Add metadata style test.
5087 2019-10-01 Tom Tromey <tom@tromey.com>
5089 * gdb.base/style.exp: Test "pwd".
5091 2019-10-01 Tom Tromey <tom@tromey.com>
5093 * gdb.base/style.exp: Update tests.
5095 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
5097 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
5099 (s1): Initialize fields 'four' and 'six' instead of 'three' and
5100 'five'. Use an all-ones bit pattern for each.
5101 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
5102 to its changed values.
5104 2019-09-30 Tom Tromey <tromey@adacore.com>
5106 * gdb.rust/traits.rs: Disable all warnings.
5108 2019-09-29 Tom de Vries <tdevries@suse.de>
5110 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
5112 2019-09-29 Tom de Vries <tdevries@suse.de>
5114 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
5116 2019-09-27 Tom de Vries <tdevries@suse.de>
5118 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
5120 2019-09-27 Tom de Vries <tdevries@suse.de>
5123 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
5125 2019-09-26 Tom Tromey <tromey@adacore.com>
5127 * gdb.ada/py_taft.exp: New file.
5128 * gdb.ada/py_taft/main.adb: New file.
5129 * gdb.ada/py_taft/pkg.adb: New file.
5130 * gdb.ada/py_taft/pkg.ads: New file.
5132 2019-09-24 Tom de Vries <tdevries@suse.de>
5135 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
5137 2019-09-22 Tom de Vries <tdevries@suse.de>
5139 * gdb.base/restore.exp: Allow register variables to be optimized out at
5142 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
5144 * gdb.arch/spu-info.exp: Remove file.
5145 * gdb.arch/spu-info.c: Remove file.
5146 * gdb.arch/spu-ls.exp: Remove file.
5147 * gdb.arch/spu-ls.c: Remove file.
5149 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
5150 * gdb.asm/spu.inc: Remove file.
5152 * gdb.base/dump.exp: Remove support for spu*-*-*.
5153 * gdb.base/stack-checking.exp: Likewise.
5154 * gdb.base/overlays.exp: Likewise.
5155 * gdb.base/ovlymgr.c: Likewise.
5156 * gdb.base/spu.ld: Remove file.
5158 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
5159 * gdb.cp/cpexprs.exp: Likewise.
5160 * gdb.cp/exception.exp: Likewise.
5161 * gdb.cp/gdb2495.exp: Likewise.
5162 * gdb.cp/mb-templates.exp: Likewise.
5163 * gdb.cp/pr9167.exp: Likewise.
5164 * gdb.cp/userdef.exp: Likewise.
5166 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
5168 * gdb.cell: Remove directory.
5169 * lib/cell.exp: Remove file.
5171 2019-09-19 Tom de Vries <tdevries@suse.de>
5173 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
5175 2019-09-19 Tom de Vries <tdevries@suse.de>
5177 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
5179 2019-09-19 Tom de Vries <tdevries@suse.de>
5181 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
5182 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
5183 (gdb_target_cmd): ... here.
5184 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
5187 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
5189 * gdb.base/source-dir.exp: Avoid having directory names in test
5192 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
5194 * gdb.base/source-dir.exp: Add extra test for mapped compilation
5197 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
5199 * gdb.base/list-missing-source.exp: New file.
5201 2019-09-14 Tom de Vries <tdevries@suse.de>
5204 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
5205 * lib/ada.exp (gnatmake_version_at_least): New proc.
5207 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
5209 * gdb.base/maint.exp: Use exec_has_index_section.
5211 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
5213 * gdb.base/maint.exp: Add test for 'maint info sections'.
5215 2019-09-12 Tom de Vries <tdevries@suse.de>
5217 * gdb.base/store.exp: Allow register variables to be optimized out at
5220 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5222 * gdb.ada/rdv_wait.exp: Update to new task names.
5223 * gdb.base/task_switch_in_core.exp: Likewise.
5224 * gdb.base/info_sources_base.c: Likewise.
5226 2019-09-10 Tom Tromey <tromey@adacore.com>
5228 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
5230 2019-09-10 Tom Tromey <tromey@adacore.com>
5232 * gdb.ada/dgopt.exp: New file.
5233 * gdb.ada/dgopt/x.adb: New file.
5235 2019-09-08 Tom Tromey <tom@tromey.com>
5237 * gdb.tui/resize.exp: Remove setup_xfail.
5238 * gdb.tui/regs.exp: Remove setup_xfail.
5239 * gdb.tui/basic.exp: Remove setup_xfail.
5241 2019-09-06 David Blaikie <dblaikie@gmail.com>
5243 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
5244 * gdb.cp/cplabel.exp: Ditto.
5245 * gdb.linespec/ls-errs.exp: Ditto.
5247 2019-09-05 Tom de Vries <tdevries@suse.de>
5249 * lib/gdb.exp (cmp_file_string): New proc.
5250 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
5251 runto_main. Verify save breakpoints output.
5253 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5255 * gdb.base/info-var.exp: Test info variables without running
5256 to main, to avoid expect's buffer overflow.
5258 2019-09-03 Tom Tromey <tromey@adacore.com>
5260 * gdb.ada/bias.exp: New file.
5261 * gdb.ada/bias/bias.adb: New file.
5262 * gdb.ada/print_chars.exp: Add regression test.
5263 * gdb.ada/print_chars/foo.adb (My_Character): New type.
5266 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
5268 * gdb.base/argv0-symlink.exp: Run only on native target
5271 2019-08-29 Tom de Vries <tdevries@suse.de>
5273 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
5275 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
5277 2019-08-28 Tom de Vries <tdevries@suse.de>
5279 * gdb.base/info-var.exp: Allow info variables to print info for files
5280 other than info-var-f1.c and info-var-f2.c.
5282 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
5284 * gdb.fortran/info-types.exp: Add module.
5285 * gdb.fortran/info-types.f90: Update expected results.
5287 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
5289 * gdb.fortran/info-types.exp: New file.
5290 * gdb.fortran/info-types.f90: New file.
5291 * lib/fortran.exp (fortran_character1): New proc.
5293 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
5295 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
5296 functions'. Reindent as needed.
5297 * gdb.base/info-var-f1.c: New file.
5298 * gdb.base/info-var-f2.c: New file.
5299 * gdb.base/info-var.exp: New file.
5300 * gdb.base/info-var.h: New file.
5302 2019-08-26 Tom de Vries <tdevries@suse.de>
5305 * gdb.cp/no-libstdcxx-probe.exp: New test.
5307 2019-08-26 Tom de Vries <tdevries@suse.de>
5309 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
5310 * tests need to be skipped.
5311 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
5312 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
5313 mi_skip_libstdcxx_probe_tests.
5315 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
5317 * gdb.python/py-xmethods.exp: Use raw strings when passing
5318 arguments to SimpleXMethodMatcher.
5320 2019-08-22 Tom de Vries <tdevries@suse.de>
5322 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
5325 2019-08-21 Pedro Alves <palves@redhat.com>
5327 * gdb.base/with.exp: Test "with" with no arguments.
5329 2019-08-21 Tom de Vries <tdevries@suse.de>
5331 * gdb.base/gdb-caching-proc.exp: Sort files.
5333 2019-08-20 Tom de Vries <tdevries@suse.de>
5335 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
5338 2019-08-16 Tom de Vries <tdevries@suse.de>
5340 * gdb.base/compare-sections.exp ("after run to main"): Allow
5341 mismatched read-only sections for PIE executables.
5343 2019-08-16 Tom Tromey <tom@tromey.com>
5345 * lib/tuiterm.exp (_csi_Z): New proc.
5346 * gdb.tui/basic.exp: Update window positions.
5347 * gdb.tui/empty.exp: Update window positions.
5349 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
5351 * gdb.base/examine-backward.exp: Correct regexp for
5352 "examine 3 bytes backward from ${address_zero}".
5354 2019-08-15 Tom Tromey <tom@tromey.com>
5356 * gdb.tui/empty.exp: Enable resizing tests.
5358 2019-08-15 Tom Tromey <tromey@adacore.com>
5360 * gdb.ada/char_enum.exp: Add regression tests.
5361 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
5363 (Char, Gchar): Update.
5364 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
5366 2019-08-15 Christian Biesinger <cbiesinger@google.com>
5368 * gdb.python/python.exp: Expect a leading underscore on
5369 GdbOutput{,Error}File.
5371 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
5373 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
5376 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
5378 * gdb.base/batch-preserve-term-settings.exp
5379 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
5381 2019-08-15 Christian Biesinger <cbiesinger@google.com>
5383 * lib/gdb.exp: When running on a mingw target, replace
5386 2019-08-14 Alan Hayward <alan.hayward@arm.com>
5388 * gdb.arch/aarch64-prologue.c: New test.
5389 * gdb.arch/aarch64-prologue.exp: New file.
5391 2019-08-13 Tom de Vries <tdevries@suse.de>
5393 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
5396 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
5398 * gdb.python/py-completion.exp: Download the .py file to the host
5399 and use its host pathname. Conditionalize tests that use
5400 tab completion and manipulate files on the build machine.
5401 * gdb.python/py-events.exp: Download the .py file to the host
5402 and use its host pathname.
5403 * gdb.python/py-evsignal.exp: Likewise.
5404 * gdb.python/py-evthreads.exp: Likewise.
5405 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
5407 * gdb.python/py-framefilter.exp: Download the .py file to the right
5408 place on the host. Match Windows pathname syntax.
5409 * gdb.python/py-mi-var-info-path-expression.exp: Download the
5410 .py file to the host and use its host pathname.
5411 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
5412 * gdb.python/py-objfile.exp: Expect a host pathname, not a
5413 build pathname. Skip symlink test on Windows host. Add missing
5414 newline at end of file.
5415 * gdb.python/py-pp-maint.exp: Download the .py file to the host
5416 and use its host pathname.
5417 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
5418 * gdb.python/py-section-script.exp: Use host location of binfile
5419 on safe-path. Use correct path separator on Windows host.
5420 Reorder alternatives in gdb_test_multiple to prevent matching
5421 the wrong alternative on success.
5422 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
5424 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
5426 * gdb.gdb/selftest.exp (test_with_self): Update test to now
5427 expect the GDB inferior to no longer immediately stop after
5428 being resumed with "signal SIGINT".
5430 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
5432 * gdb.linespec/break-ask.exp: Generalize regexps to match
5433 Windows pathnames too.
5435 2019-08-08 Tom de Vries <tdevries@suse.de>
5438 * lib/tuiterm.exp (_accept): Fix CSI regexp.
5440 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5442 * gdb.base/style.exp: Update tests for help doc new invariants.
5443 * gdb.base/help.exp: Likewise.
5445 2019-08-06 Tom Tromey <tom@tromey.com>
5447 * gdb.base/style.exp: Add disassemble test.
5448 * gdb.base/style.c (some_called_function): New function.
5451 2019-08-05 Christian Biesinger <cbiesinger@google.com>
5453 * gdb.python/py-block.exp: Test dictionary access on blocks.
5455 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
5458 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
5459 -list-thread-groups --available test when running under
5462 2019-08-05 Tom de Vries <tdevries@suse.de>
5465 * lib/gdb.exp (with_read1_timeout_factor): New proc.
5466 * gdb.base/help.exp: Use with_read1_timeout_factor.
5467 * gdb.base/info-macros.exp: Same.
5468 * gdb.cp/nested-types.exp: Same.
5470 2019-08-05 Tom de Vries <tdevries@suse.de>
5472 * lib/gdb.exp (version_at_least): Factor out of ...
5473 (tcl_version_at_least): ... here.
5474 (gdb_compile): Fail if pie results in non-PIE executable.
5475 (readelf_version, readelf_prints_pie): New proc.
5476 (exec_is_pie): Return -1 if unknown.
5478 2019-08-05 Tom de Vries <tdevries@suse.de>
5480 * lib/gdb.exp (tcl_version_at_least): Fix typo.
5482 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
5484 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
5486 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
5488 * lib/completion-support.exp (test_gdb_complete_none): Skip
5489 tab completion tests if no readline support.
5490 (test_gdb_complete_unique_re): Likewise.
5491 (test_gdb_complete_multiple): Likewise.
5493 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5495 * gdb.base/info_sources.exp: New file.
5496 * gdb.base/info_sources.c: New file.
5497 * gdb.base/info_sources_base.c: New file.
5499 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5501 * gdb.base/batch-exit-status.exp: Call test_exit_status with
5503 (test_exit_status): Add prefix argument.
5505 2019-08-01 Tom de Vries <tdevries@suse.de>
5508 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
5509 calling exp_continue for new thread and thread exited messages.
5511 2019-08-01 Tom de Vries <tdevries@suse.de>
5514 * gdb.base/structs.exp: Fix check-read1 timeout using
5516 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
5518 2019-08-01 Tom de Vries <tdevries@suse.de>
5521 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
5524 2019-08-01 Tom de Vries <tdevries@suse.de>
5527 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
5529 2019-07-30 Tom Tromey <tromey@adacore.com>
5531 * gdb.ada/display_nested.exp: New file.
5532 * gdb.ada/display_nested/foo.adb: New file.
5533 * gdb.ada/display_nested/pack.adb: New file.
5534 * gdb.ada/display_nested/pack.ads: New file.
5536 2019-07-30 Christian Biesinger <cbiesinger@google.com>
5538 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
5540 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
5542 2019-07-30 Tom de Vries <tdevries@suse.de>
5544 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
5547 2019-07-30 Tom de Vries <tdevries@suse.de>
5550 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
5551 (exec_is_pie): New proc.
5553 2019-07-29 Christian Biesinger <cbiesinger@google.com>
5555 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
5557 2019-07-29 Christian Biesinger <cbiesinger@google.com>
5559 * gdb.python/py-objfile.c: Add global and static vars.
5560 * gdb.python/py-objfile.exp: Test new functions Objfile.
5561 lookup_global_symbol and lookup_static_symbol.
5563 2019-07-29 Tom Tromey <tom@tromey.com>
5565 * lib/tuiterm.exp (Term::_csi_@): New proc.
5566 (Term::_csi_X): Don't move cursor.
5568 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5570 * gdb.base/options.exp: Update backtrace - completion to
5571 new option -frame-info.
5572 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
5573 Test new 'set print frame-info'. Test backtrace -frame-info
5574 overriding 'set print frame-info'.
5575 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
5576 Test new 'set print frame-info'.
5577 Verify consistency of backtrace with and without filters, with and
5578 without -no-filters.
5579 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
5582 2019-07-29 Tom de Vries <tdevries@suse.de>
5584 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
5587 2019-07-29 Tom de Vries <tdevries@suse.de>
5589 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
5590 is a substring of the first for "complete non-unique file name".
5592 2019-07-29 Tom de Vries <tdevries@suse.de>
5594 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
5597 2019-07-29 Tom de Vries <tdevries@suse.de>
5599 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
5600 Pass prompt_regexp parameter to gdb_test_multiple calls.
5602 2019-07-29 Tom de Vries <tdevries@suse.de>
5604 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
5605 print registers" regexps.
5607 2019-07-29 Tom de Vries <tdevries@suse.de>
5609 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
5611 2019-07-29 Tom de Vries <tdevries@suse.de>
5614 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
5615 (skip_python_tests_prompt): Add prompt_regexp argument to
5616 gdb_test_multiple calls.
5618 2019-07-27 Tom Tromey <tom@tromey.com>
5620 * gdb.tui/main.exp: New file.
5622 2019-07-27 Tom Tromey <tom@tromey.com>
5624 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
5626 * gdb.tui/empty.exp: New file.
5628 2019-07-27 Tom Tromey <tom@tromey.com>
5630 * lib/tuiterm.exp (spawn): New proc.
5631 (Term::resize): New proc.
5632 * gdb.tui/resize.exp: New file.
5634 2019-07-27 Tom Tromey <tom@tromey.com>
5636 * gdb.tui/list.exp: New file.
5638 2019-07-27 Tom Tromey <tom@tromey.com>
5640 * gdb.tui/regs.exp: New file.
5642 2019-07-27 Tom Tromey <tom@tromey.com>
5644 * gdb.tui/basic.exp: Add "layout split" test.
5646 2019-07-27 Tom Tromey <tom@tromey.com>
5648 * gdb.tui/basic.exp: Add "layout asm" test.
5650 2019-07-27 Tom Tromey <tom@tromey.com>
5652 * lib/tuiterm.exp: New file.
5653 * gdb.tui/basic.exp: New file.
5655 2019-07-27 Kevin Buettner <kevinb@redhat.com>
5657 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
5658 Enable tests associated with this flag. Adjust regex
5659 referencing "foo_low" to now refer to "foo_cold" instead.
5661 2019-07-27 Kevin Buettner <kevinb@redhat.com>
5663 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
5664 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
5665 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
5666 foo_cold. Revise comments to match.
5667 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
5668 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
5669 were wrapped into this proc; Call do_test in loop from outermost
5671 (foo_low): Rename all occurrences to "foo_cold".
5672 (backtrace from baz): New test.
5673 (x2/i foo_cold): New test.
5674 (info line *foo_cold): New test.
5676 2019-07-26 Tom de Vries <tdevries@suse.de>
5678 * gdb.arch/i386-pkru.exp: Fix unterminated string.
5680 2019-07-25 Tom de Vries <tdevries@suse.de>
5683 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
5684 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
5685 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
5686 (skip_libstdcxx_probe_tests): ... here.
5687 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
5689 2019-07-24 Tom de Vries <tdevries@suse.de>
5692 * gdb.objc/basicclass.m: Include stdio.h.
5693 * gdb.objc/nondebug.m: Same.
5694 * gdb.objc/objcdecode.m: Same.
5696 2019-07-24 Tom de Vries <tdevries@suse.de>
5699 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
5702 2019-07-24 Tom de Vries <tdevries@suse.de>
5705 * gdb.multi/tids.exp: Update error messages for info threads.
5707 2019-07-24 Tom de Vries <tdevries@suse.de>
5709 * gdb.base/info-types.exp: Allow info types to print info for more than
5712 2019-07-23 Tom de Vries <tdevries@suse.de>
5715 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
5716 gdb_spawn_with_cmdline_opts.
5718 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
5720 * gdb.arch/arm-cmse-sgstubs.c: New test.
5721 * gdb.arch/arm-cmse-sgstubs.exp: New file.
5723 2019-07-23 Tom de Vries <tdevries@suse.de>
5726 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
5727 issuing next command.
5729 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
5731 * gdb.ada/info_auto_lang.exp: Update expected results.
5732 * gdb.base/info-types.c: Add additional types to check.
5733 * gdb.base/info-types.exp: Update expected results.
5735 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
5737 * gdb.base/info-types.c: New file.
5738 * gdb.base/info-types.exp: New file.
5740 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
5742 * gdb.arch/riscv-bp-infcall.c: New file.
5743 * gdb.arch/riscv-bp-infcall.exp: New file.
5745 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
5747 PR breakpoints/24541
5748 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
5750 2019-07-14 Tom de Vries <tdevries@suse.de>
5753 * gdb.objc/basicclass.exp: Fix unterminated string.
5755 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
5756 Andrew Burgess <andrew.burgess@embecosm.com>
5758 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
5759 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
5761 * gdb.fortran/vla-value.exp: Print elements of an array with
5763 * gdb.fortran/vla.f90: Setup an array with negative bounds for
5766 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
5768 * gdb.base/options.exp (expect_string): Dequote strings in
5770 (test-string): Test strings with different quoting and reindent.
5772 2019-07-10 Tom Tromey <tromey@adacore.com>
5774 * gdb.ada/mi_ex_cond.exp: Update expected results.
5775 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
5776 * gdb.ada/mi_catch_ex.exp: Update expected results.
5777 * gdb.ada/mi_catch_assert.exp: Update expected results.
5778 * gdb.ada/catch_ex.exp (catch_exception_info)
5779 (catch_exception_entry, catch_assert_entry)
5780 (catch_unhandled_entry): Update.
5781 * gdb.ada/catch_assert_if.exp: Update expected results.
5783 2019-07-10 Richard Bunt <richard.bunt@arm.com>
5784 Stephen Roberts <stephen.roberts@arm.com>
5786 * gdb.base/define.exp: Restore original prompt.
5788 2019-07-09 Pedro Alves <palves@redhat.com>
5790 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
5791 breakpoints" output.
5792 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
5793 * gdb.python/py-breakpoint.exp: No longer expect that "catch
5794 throw" creates breakpoint.
5795 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
5796 'type="catchpoint"'.
5798 2019-07-09 Pedro Alves <palves@redhat.com>
5801 * gdb.cp/except-multi-location-lib.cc: New.
5802 * gdb.cp/except-multi-location-main.cc: New.
5803 * gdb.cp/except-multi-location.exp: New.
5805 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
5807 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
5808 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
5809 argument and update callers.
5811 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5813 * gdb.arch/amd64-break-on-asm-line.S: New file.
5814 * gdb.arch/amd64-break-on-asm-line.exp: New file.
5816 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5818 * gdb.base/printcmds.exp: Test printing C string and
5819 C wide string convenience vars without transiting via the inferior.
5820 Also make test names unique.
5822 2019-07-08 Alan Hayward <alan.hayward@arm.com>
5824 PR breakpoints/25011
5825 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
5827 2019-07-04 Pedro Alves <palves@redhat.com>
5829 * lib/gdb.exp (foreach_with_prefix): Don't return early if
5830 body returned ok(0), break(3) or continue(4).
5831 * gdb.testsuite/foreach_with_prefix.exp: New file.
5833 2019-07-04 Alan Hayward <alan.hayward@arm.com>
5835 * gdb.server/unittest.exp: Allow 0 unit tests to run.
5837 2019-07-03 Pedro Alves <palves@redhat.com>
5839 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
5842 2019-07-03 Pedro Alves <palves@redhat.com>
5845 * gdb.base/shell.exp: Load completion-support.exp.
5846 Adjust expected error output. Add completion tests.
5848 2019-07-03 Pedro Alves <palves@redhat.com>
5850 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
5853 2019-07-03 Pedro Alves <palves@redhat.com>
5855 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
5856 (expect_integer): Adjust to expect "-string".
5857 (expect_string): New.
5858 (all_options): Expect "-string".
5859 (test-flag, test-boolean): Adjust to expect "-string".
5860 (test-string): New proc.
5861 (top level): Call it.
5863 2019-07-03 Pedro Alves <palves@redhat.com>
5865 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
5866 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
5867 the expected output in the success.
5869 2019-07-03 Pedro Alves <palves@redhat.com>
5871 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
5872 Split one gdb_test_multiple call in two to avoid a race.
5874 2019-07-03 Pedro Alves <palves@redhat.com>
5876 * gdb.base/with.c: New file.
5877 * gdb.base/with.exp: New file.
5879 2019-07-03 Pedro Alves <palves@redhat.com>
5881 * gdb.base/settings.exp: Replace all references to "maint
5882 test-settings set" with references to "maint set test-settings",
5883 and all references to "maint test-settings show" with references
5884 to "maint show test-settings".
5886 2019-07-03 Pedro Alves <palves@redhat.com>
5888 * gdb.base/settings.exp (test-string): Adjust expected out when
5889 testing "maint test-settings show filename"
5891 2019-07-02 Pedro Alves <palves@redhat.com>
5893 * gdb.base/options.exp (test-info-threads): New procedure.
5894 (top level): Call it.
5896 2019-06-28 Tom Tromey <tromey@adacore.com>
5898 * gdb.dwarf2/ada-linkage-name.c: New file.
5899 * gdb.dwarf2/ada-linkage-name.exp: New file.
5901 2019-06-27 Tom Tromey <tromey@adacore.com>
5904 * gdb.cp/constexpr-field.exp: Use setup_xfail.
5906 2019-06-26 Tom de Vries <tdevries@suse.de>
5908 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
5910 2019-06-26 Tom de Vries <tdevries@suse.de>
5912 * gdb.base/index-cache.exp: Add back missing debug option.
5914 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5916 * gdb.base/alias.exp: Test non matching/non existing prefixes.
5918 2019-06-25 Tom de Vries <tdevries@suse.de>
5921 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
5923 2019-06-24 Tom de Vries <tdevries@suse.de>
5925 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
5927 2019-06-24 Tom de Vries <tdevries@suse.de>
5929 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
5930 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
5931 * gdb.trace/unavailable-dwarf-piece.exp: Same.
5933 2019-06-24 Tom de Vries <tdevries@suse.de>
5935 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
5937 2019-06-21 Tom de Vries <tdevries@suse.de>
5939 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
5941 2019-06-21 Tom de Vries <tdevries@suse.de>
5945 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
5948 2019-06-19 Tom Tromey <tromey@adacore.com>
5950 * gdb.ada/length_cond.exp: Add intro comment.
5952 2019-06-19 Tom Tromey <tromey@adacore.com>
5954 * gdb.ada/length_cond.exp: New file.
5955 * gdb.ada/length_cond/length_cond.adb: New file.
5956 * gdb.ada/length_cond/pck.adb: New file.
5957 * gdb.ada/length_cond/pck.ads: New file.
5959 2019-06-18 Tom de Vries <tdevries@suse.de>
5961 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
5963 2019-06-18 Tom Tromey <tromey@adacore.com>
5965 * gdb.base/list0.h: Add comment explaining control character.
5967 2019-06-18 Tom de Vries <tdevries@suse.de>
5969 * boards/fission.exp: Break up long debug_flags line.
5971 2019-06-16 Tom de Vries <tdevries@suse.de>
5974 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
5977 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
5980 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
5981 improve detection of bug gdb/24541.
5983 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
5986 * gdb.base/index-cache.exp (uses_readnow,
5987 expecting_index_cache_use): Define global variable.
5988 (test_cache_enabled_miss, test_cache_enabled_hit): Use
5989 expecting_index_cache_use.
5991 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
5992 Andrew Burgess <andrew.burgess@embecosm.com>
5994 * gdb.fortran/pointers.f90: New file.
5995 * gdb.fortran/print_type.exp: New file.
5996 * gdb.fortran/vla-ptype.exp: Adapt expected results.
5997 * gdb.fortran/vla-type.exp: Likewise.
5998 * gdb.fortran/vla-value.exp: Likewise.
5999 * gdb.mi/mi-vla-fortran.exp: Likewise.
6001 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
6003 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
6004 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
6005 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
6008 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
6010 * gdb.base/annota1.exp: Update expected results.
6011 * gdb.cp/annota2.exp: Likewise.
6012 * gdb.cp/annota3.exp: Likewise.
6014 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
6016 * gdb.base/style-logging.exp: Remove path from test name.
6018 2019-06-14 Tom Tromey <tromey@adacore.com>
6021 * gdb.base/style-logging.exp: New file.
6023 2019-06-14 Tom Tromey <tromey@adacore.com>
6025 * gdb.base/symfile-warn.exp: New file.
6026 * gdb.base/symfile-warn.c: New file.
6028 2019-06-14 Tom Tromey <tromey@adacore.com>
6030 * gdb.base/annotate-symlink.exp: New file.
6032 2019-06-14 Tom Tromey <tromey@adacore.com>
6034 * gdb.ada/set_wstr.exp: Add reassignment test.
6036 2019-06-14 Tom Tromey <tromey@adacore.com>
6038 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
6039 'unchecked_access and 'unrestricted_access as well.
6041 2019-06-14 Tom Tromey <tromey@adacore.com>
6044 * gdb.ada/vla.exp: Update tests.
6045 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
6048 2019-06-13 Pedro Alves <palves@redhat.com>
6050 * gdb.base/settings.exp (test-integer): Test junk after
6053 2019-06-13 Pedro Alves <palves@redhat.com>
6055 * gdb.base/options.exp (test-thread-apply): New.
6056 (top level): Call it.
6058 2019-06-13 Pedro Alves <palves@redhat.com>
6060 * gdb.base/options.exp (test-frame-apply): New.
6061 (top level): Test print commands with different "frame apply"
6064 2019-06-13 Pedro Alves <palves@redhat.com>
6066 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
6067 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
6068 'max_completions' parameter and handle it.
6069 (test_gdb_completion_offers_commands): New.
6071 2019-06-13 Pedro Alves <palves@redhat.com>
6073 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
6075 2019-06-13 Pedro Alves <palves@redhat.com>
6077 * gdb.base/options.exp (test-backtrace): New.
6078 (top level): Call it.
6080 2019-06-13 Pedro Alves <palves@redhat.com>
6082 * gdb.guile/scm-frame-args.exp: Use "set print
6083 raw-frame-arguments" instead of "set print raw frame-arguments".
6084 * gdb.python/py-frame-args.exp: Likewise.
6086 2019-06-13 Pedro Alves <palves@redhat.com>
6088 * gdb.compile/compile.exp: Adjust expected output to option
6091 2019-06-13 Pedro Alves <palves@redhat.com>
6093 * gdb.base/options.exp: Build executable.
6094 (test-print): New procedure.
6095 (top level): Call it, once for "print" and another for "compile
6098 2019-06-13 Pedro Alves <palves@redhat.com>
6100 * gdb.base/options.c: New file.
6101 * gdb.base/options.exp: New file.
6103 2019-06-13 Pedro Alves <palves@redhat.com>
6105 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
6106 that "o" is ambiguous.
6108 2019-06-13 Pedro Alves <palves@redhat.com>
6110 * gdb.base/settings.c: New file.
6111 * gdb.base/settings.exp: New file.
6113 2019-06-13 Pedro Alves <palves@redhat.com>
6115 * gdb.base/completion.exp: Fix comment typo.
6117 2019-06-13 Pedro Alves <palves@redhat.com>
6119 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
6122 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
6124 * gdb.fortran/block-data.f: New.
6125 * gdb.fortran/block-data.exp: New.
6127 2019-06-11 Tom de Vries <tdevries@suse.de>
6130 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
6133 2019-06-11 Tom de Vries <tdevries@suse.de>
6136 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
6138 2019-06-11 Tom de Vries <tdevries@suse.de>
6140 * boards/readnow.exp: New file.
6142 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
6144 * gdb.fortran/vla-sizeof.exp: Update expected results.
6146 2019-06-06 Amos Bird <amosbird@gmail.com>
6148 * gdb.base/annota1.exp (thread_switch): Add test for
6149 thread-exited annotation.
6151 2019-06-06 Tom Tromey <tromey@adacore.com>
6153 * gdb.base/maint.exp: Expect command started/finished output.
6155 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
6157 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
6159 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
6161 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
6163 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
6164 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
6165 * gdb.arch/riscv-unwind-long-insn.c: New file.
6166 * gdb.arch/riscv-unwind-long-insn.exp: New file.
6168 2019-06-04 Christian Biesinger <cbiesinger@google.com>
6170 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
6172 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6174 * lib/gdb.exp (help_list_trailer): New regexp variable
6175 factorizing the help trailer message.
6176 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
6177 arg to allow to better factorize various tests.
6178 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
6179 (test_prefix_command_help): Use help_list_trailer.
6180 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
6181 * gdb.guile/scm-cmd.exp: Likewise.
6182 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
6183 * gdb.base/help.exp: Use test_user_defined_class_help.
6184 * gdb.base/style.exp: Add tests for styling of help and apropos.
6185 * lib/gdb-utils.exp (style): Add title and highlight styles.
6187 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6189 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
6191 * gdb.base/default.exp: Update for new convenience variables.
6193 2019-05-29 Tom Tromey <tromey@adacore.com>
6195 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
6196 to "break complete ada" test case's regexp.
6198 2019-05-29 Tom Tromey <tromey@adacore.com>
6201 * gdb.cp/constexpr-field.exp: New file.
6202 * gdb.cp/constexpr-field.cc: New file.
6204 2019-05-29 Tom Tromey <tromey@adacore.com>
6206 * gdb.base/finish.exp (finish_no_print): New proc.
6207 (finish_tests): Call it.
6209 2019-05-24 Tom de Vries <tdevries@suse.de>
6211 * gdb.dwarf2/gdb-add-index.exp: New file.
6213 2019-05-22 Tom Tromey <tromey@adacore.com>
6215 * gdb.base/info-shared.exp (check_info_shared): Use "style".
6216 * gdb.base/style.exp: Use "style".
6217 * lib/gdb-utils.exp (style): New proc.
6219 2019-05-22 Tom de Vries <tdevries@suse.de>
6221 * gdb.base/align.exp: Require c++11.
6223 2019-05-22 Tom de Vries <tdevries@suse.de>
6226 * gdb.python/py-mi-var-info-path-expression.exp: Call
6227 mi_skip_python_tests to check if python is supported.
6229 2019-05-22 Alan Hayward <alan.hayward@arm.com>
6231 * gdb.arch/aarch64-pauth.c: New test.
6232 * gdb.arch/aarch64-pauth.exp: New file.
6234 2019-05-22 Alan Hayward <alan.hayward@arm.com>
6236 * README (Re-running Tests Outside The Testsuite): New section.
6238 2019-05-21 Tom de Vries <tdevries@suse.de>
6240 * gdb.arch/amd64-eval.exp: Require c++11.
6241 * gdb.base/max-depth.exp: Same.
6242 * gdb.compile/compile-cplus-array-decay.exp: Same.
6243 * gdb.cp/meth-typedefs.exp: Same.
6244 * gdb.cp/subtypes.exp: Same.
6245 * gdb.cp/temargs.exp: Same.
6247 2019-05-21 Alan Hayward <alan.hayward@arm.com>
6249 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
6251 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
6254 * gdb.fortran/complex.exp: Remove setup_kfail calls.
6255 * gdb.fortran/printing-types.exp: Add new test.
6256 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
6258 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
6261 2019-05-17 Alan Hayward <alan.hayward@arm.com>
6263 * README (Running the Testsuite): Change example.
6264 (Testsuite Parameters): Remove TRANSCRIPT.
6265 * lib/gdb.exp: Remove TRANSCRIPT check.
6267 2019-05-17 Alan Hayward <alan.hayward@arm.com>
6269 * README (Testsuite Parameters): Add replay logging to
6271 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
6272 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
6273 as a comma separated list.
6274 (gdb_debug_init): Override procedure.
6276 2019-05-17 Alan Hayward <alan.hayward@arm.com>
6278 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
6279 (gdb_write_cmd_file): New procedure.
6280 * lib/gdbserver-support.exp (gdbserver_start): Call
6281 gdbserver_write_cmd_file.
6282 (gdbserver_write_cmd_file): New procedure.
6284 2019-05-17 Alan Hayward <alan.hayward@arm.com>
6286 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
6287 (delete_breakpoints): Likewise.
6288 (gdb_run_cmd): Likewise.
6289 (gdb_start_cmd): Likewise.
6290 (gdb_starti_cmd): Likewise.
6291 (gdb_internal_error_resync): Likewise.
6292 (gdb_test_multiple): Likewise.
6293 (gdb_reinitialize_dir): Likewise.
6294 (default_gdb_exit): Likewise.
6295 (gdb_file_cmd): Mark kill as optional.
6296 (default_gdb_start): Call gdb_stdin_log_init.
6297 (send_gdb): Call gdb_stdin_log_write.
6298 (rerun_to_main): Mark Y as an answer.
6299 (gdb_stdin_log_init): New function.
6300 (gdb_stdin_log_write): Likewise.
6302 2019-05-17 Alan Hayward <alan.hayward@arm.com>
6304 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
6305 * gdb.base/debug-expr.exp: Likewise.
6306 * gdb.base/foll-fork.exp: Likewise.
6307 * gdb.base/foll-vfork.exp: Likewise.
6308 * gdb.base/fork-print-inferior-events.exp: Likewise.
6309 * gdb.base/gdb-sigterm.exp: Likewise.
6310 * gdb.base/gdbinit-history.exp: Likewise.
6311 * gdb.base/osabi.exp: Likewise.
6312 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
6313 * gdb.base/ui-redirect.exp: Likewise.
6314 * gdb.gdb/unittest.exp: Likewise.
6315 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
6316 * gdb.mi/mi-watch.exp: Likewise.
6317 * gdb.mi/new-ui-mi-sync.exp: Likewise.
6318 * gdb.mi/user-selected-context-sync.exp: Likewise.
6319 * gdb.python/python.exp: Disable debug test when debugging.
6320 * gdb.threads/check-libthread-db.exp: Disable when debugging.
6321 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
6323 * gdb.threads/stepi-random-signal.exp: Likewise.
6325 2019-05-17 Alan Hayward <alan.hayward@arm.com>
6327 * Makefile.in: Pass through GDB_DEBUG.
6328 * README (Testsuite Parameters): Add GDB_DEBUG.
6329 (gdb,debug): Add board setting.
6330 * lib/gdb.exp (default_gdb_start): Start debugging.
6331 (gdb_debug_enabled): New procedure.
6332 (gdb_debug_init): Likewise.
6334 2019-05-17 Alan Hayward <alan.hayward@arm.com>
6336 * Makefile.in: Pass through GDB_DEBUG.
6337 * README (Testsuite Parameters): Add GDB_DEBUG.
6338 (gdb,debug): Add board setting.
6339 * lib/gdb.exp (default_gdb_start): Start debugging.
6340 (gdb_debug_enabled): New procedure.
6341 (gdb_debug_init): Likewise.
6343 2019-05-17 Alan Hayward <alan.hayward@arm.com>
6345 * gdb.base/ui-redirect.exp: Add debug redirect tests.
6347 2019-05-17 Alan Hayward <alan.hayward@arm.com>
6349 * gdb.base/ui-redirect.exp: Test redirection.
6351 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
6353 * gdb.mi/mi-complete.exp: New file.
6354 * gdb.mi/mi-complete.cc: Likewise.
6356 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
6358 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
6359 indexed and sliced arrays, and pointers to arrays.
6361 2019-05-14 Tom Tromey <tromey@adacore.com>
6363 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
6366 2019-05-14 Tom de Vries <tdevries@suse.de>
6368 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
6369 selection entry encoding.
6371 2019-05-10 Tom Tromey <tromey@adacore.com>
6373 * gdb.ada/info_exc.exp: Add "complete" test.
6375 2019-05-09 Tom de Vries <tdevries@suse.de>
6377 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
6380 2019-05-09 Tom de Vries <tdevries@suse.de>
6382 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
6385 2019-05-08 Joel Brobecker <brobecker@adacore.com>
6387 * gdb.ada/frame_arg_lang.exp: New testcase.
6388 * gdb.ada/frame_arg_lang/bla.adb: New file.
6389 * gdb.ada/frame_arg_lang/pck.ads: New file.
6390 * gdb.ada/frame_arg_lang/pck.adb: New file.
6391 * gdb.ada/frame_arg_lang/foo.c: New file.
6393 2019-05-08 Tom Tromey <tromey@adacore.com>
6395 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
6397 2019-05-08 Tom Tromey <tromey@adacore.com>
6399 * gdb.base/ptype-offsets.exp: Update tests.
6401 2019-05-08 Tom Tromey <tromey@adacore.com>
6403 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
6405 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
6408 2019-05-08 Tom Tromey <tromey@adacore.com>
6410 * gdb.ada/vla.exp: New file.
6411 * gdb.ada/vla/vla.adb: New file.
6413 2019-05-07 Tom de Vries <tdevries@suse.de>
6415 * gdb.base/index-cache.exp (ls_host): Fix return statement.
6417 2019-05-07 Tom de Vries <tdevries@suse.de>
6420 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
6423 2019-05-07 Tom de Vries <tdevries@suse.de>
6426 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
6427 .debug_aranges section.
6429 2019-05-07 Tom de Vries <tdevries@suse.de>
6432 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
6434 2019-05-06 Tom de Vries <tdevries@suse.de>
6436 * lib/gdb.exp (exec_has_index_section): New proc.
6437 * gdb.base/index-cache.exp: Handle case that binfile contains an index
6440 2019-05-04 Tom de Vries <tdevries@suse.de>
6442 * boards/cc-with-debug-names.exp: New file.
6444 2019-05-03 Tom Tromey <tromey@adacore.com>
6446 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
6447 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
6448 * gdb.ada/char_enum.exp: Add test.
6450 2019-05-03 Tom de Vries <tdevries@suse.de>
6452 * boards/cc-with-gdb-index.exp: New file.
6454 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
6456 * gdb.rust/simple.exp: Add new test case.
6457 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
6458 (main): Initialise an instance of the new struct.
6460 2019-05-01 Tom Tromey <tromey@adacore.com>
6462 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
6464 (NPR): New variable.
6465 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
6468 2019-05-01 Tom Tromey <tromey@adacore.com>
6470 * gdb.ada/packed_array_assign.exp: Add packed assignment
6473 2019-05-01 Tom de Vries <tdevries@suse.de>
6475 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
6477 2019-05-01 Tom de Vries <tdevries@suse.de>
6479 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
6481 2019-04-30 Ali Tamur <tamur@google.com>
6483 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
6485 2019-04-30 Tom Tromey <tromey@adacore.com>
6487 * lib/ada.exp (find_ada_tool): New proc.
6488 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
6489 * gdb.ada/catch_ex_std.exp: New file.
6490 * gdb.ada/catch_ex_std/foo.adb: New file.
6491 * gdb.ada/catch_ex_std/some_package.adb: New file.
6492 * gdb.ada/catch_ex_std/some_package.ads: New file.
6494 2019-04-30 Tom Tromey <tromey@adacore.com>
6497 * gdb.cp/temargs.cc: Add test code from PR.
6499 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6501 * gdb.fortran/vla-datatypes.exp: Update expected results.
6502 * gdb.fortran/vla-ptype.exp: Likewise.
6503 * gdb.fortran/vla-type.exp: Likewise.
6504 * gdb.fortran/vla-value.exp: Likewise.
6506 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6508 * gdb.fortran/ptr-indentation.exp: Update expected results.
6509 * gdb.fortran/ptype-on-functions.exp: Likewise.
6510 * gdb.fortran/vla-ptr-info.exp: Likewise.
6511 * gdb.fortran/vla-value.exp: Likewise.
6513 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6515 * gdb.fortran/ptype-on-functions.exp: New file.
6516 * gdb.fortran/ptype-on-functions.f90: New file.
6518 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6520 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
6523 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6525 * gdb.fortran/complex.exp: Expand.
6526 * gdb.fortran/complex.f: Renamed to...
6527 * gdb.fortran/complex.f90: ...this, and extended to add more
6530 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
6532 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
6535 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
6536 Richard Bunt <richard.bunt@arm.com>
6538 * gdb.base/max-depth.c: New file.
6539 * gdb.base/max-depth.exp: New file.
6540 * gdb.python/py-nested-maps.c: New file.
6541 * gdb.python/py-nested-maps.exp: New file.
6542 * gdb.python/py-nested-maps.py: New file.
6543 * gdb.python/py-format-string.exp (test_max_depth): New proc.
6544 (test_all_common): Call test_max_depth.
6545 * gdb.fortran/max-depth.exp: New file.
6546 * gdb.fortran/max-depth.f90: New file.
6547 * gdb.go/max-depth.exp: New file.
6548 * gdb.go/max-depth.go: New file.
6549 * gdb.modula2/max-depth.exp: New file.
6550 * gdb.modula2/max-depth.c: New file.
6551 * lib/gdb.exp (get_print_expr_at_depths): New proc.
6553 2019-04-29 Tom de Vries <tdevries@suse.de>
6555 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
6557 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6559 * gdb.base/callexit.exp: Test may-call-functions off.
6561 2019-04-25 Keith Seitz <keiths@redhat.com>
6564 * gdb.cp/meth-typedefs.cc (incomplete_struct)
6565 (another_incomplete_struct, test_incomplete): New definitions.
6566 (main): Use new definitions.
6567 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
6570 2019-04-25 Ali Tamur <tamur@google.com>
6572 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
6574 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
6578 * gdb.base/coredump-filter-build-id.exp: New file.
6580 2019-04-25 Alan Hayward <alan.hayward@arm.com>
6582 * Makefile.in: Pass through GDBSERVER_DEBUG.
6583 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
6584 (gdbserver,debug): Add board setting.
6585 * gdb.trace/tspeed.exp: Skip when debugging.
6586 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
6587 * lib/gdbserver-support.exp: Likewise
6589 2019-04-24 Tom Tromey <tromey@adacore.com>
6591 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
6594 2019-04-24 Tom Tromey <tromey@adacore.com>
6596 * gdb.arch/amd64-eval.exp: Test bitfield return.
6597 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
6598 (class Foo) <return_bitfields>: New method.
6601 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
6603 * gdb.cp/many-args.cc: New file.
6604 * gdb.cp/many-args.exp: New file.
6606 2019-04-23 Tom de Vries <tdevries@suse.de>
6609 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
6611 2019-04-23 Alan Hayward <alan.hayward@arm.com>
6613 * gdb.trace/backtrace.exp: Use nopie flag.
6614 * gdb.trace/circ.exp: Likewise.
6615 * gdb.trace/collection.exp: Likewise.
6616 * gdb.trace/ftrace.exp: Likewise.
6617 * gdb.trace/mi-trace-unavailable.exp: Likewise.
6618 * gdb.trace/mi-traceframe-changed.exp: Likewise.
6619 * gdb.trace/qtro.exp: Likewise.
6620 * gdb.trace/read-memory.exp: Likewise.
6621 * gdb.trace/report.exp: Likewise.
6622 * gdb.trace/tfile.exp: Likewise.
6623 * gdb.trace/tfind.exp: Likewise.
6624 * gdb.trace/unavailable.exp: Likewise.
6626 2019-04-22 Pedro Alves <palves@redhat.com>
6628 * gdb.base/solib-probes-nosharedlibrary.c,
6629 gdb.base/solib-probes-nosharedlibrary.exp: New files.
6631 2019-04-19 Tom Tromey <tromey@adacore.com>
6633 * gdb.ada/ptype_union.c: New file.
6634 * gdb.ada/ptype_union.exp: New file.
6636 2019-04-19 Tom Tromey <tromey@adacore.com>
6639 * gdb.base/list0.h (foo): Add a control-l character.
6641 2019-04-18 Tom de Vries <tdevries@suse.de>
6644 * boards/local-board.exp: Set sysroot to "".
6646 2019-04-18 Tom de Vries <tdevries@suse.de>
6647 Pedro Alves <palves@redhat.com>
6650 * gdb.threads/vfork-follow-child-exec.c: New file.
6651 * gdb.threads/vfork-follow-child-exec.exp: New file.
6652 * gdb.threads/vfork-follow-child-exit.c: New file.
6653 * gdb.threads/vfork-follow-child-exit.exp: New file.
6655 2019-04-15 Leszek Swirski <leszeks@google.com>
6657 * gdb.arch/amd64-eval.cc: New file.
6658 * gdb.arch/amd64-eval.exp: New file.
6660 2019-04-11 Alan Hayward <alan.hayward@arm.com>
6662 * gdb.server/sysroot.c: New test.
6663 * gdb.server/sysroot.exp: New file.
6664 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
6667 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
6669 * gdb.base/align.exp: Extend test to cover structures containing
6672 2019-04-11 Tom de Vries <tdevries@suse.de>
6674 * boards/cc-with-dwz-m.exp: New file.
6675 * boards/cc-with-dwz.exp: New file.
6676 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
6678 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
6680 * gdb.base/start-cpp.exp: New file.
6681 * gdb.base/start-cpp.cc: New file.
6683 2019-04-08 Kevin Buettner <kevinb@redhat.com>
6685 * gdb.python/py-thrhandle.exp: Adjust tests to call
6686 thread_from_handle instead of thread_from_thread_handle.
6688 2019-04-08 Kevin Buettner <kevinb@redhat.com>
6690 * gdb.python/py-thrhandle.exp: Add tests for
6691 gdb.InferiorThread.handle.
6693 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
6695 * gdb.python/py-function.exp: Check calling helper function from
6697 * lib/gdb.exp (gdb_supported_languages): New proc.
6699 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
6701 * gdb.base/complex-parts.c: New file.
6702 * gdb.base/complex-parts.exp: New file.
6704 2019-04-01 Tom Tromey <tromey@adacore.com>
6707 * gdb.dwarf2/dw2-ranges-main.c: New file.
6708 * gdb.dwarf2/dw2-ranges-psym.c: New file.
6709 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
6711 2019-03-30 Simon Marchi <simark@simark.ca>
6713 * gdb.base/default.exp: Add values for $_gdb_major and
6716 2019-03-29 Tom Tromey <tromey@adacore.com>
6718 * gdb.base/help.exp: Tighten apropos regexp.
6720 2019-03-29 Keith Seitz <keiths@redhat.com>
6722 * gdb.fortran/array-bounds.exp: New file.
6723 * gdb.fortran/array-bounds.f90: New file.
6725 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6727 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
6729 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6731 * gdb.multi/hello.c (main): Increase alarm timer.
6733 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
6735 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
6736 factor when no hardware watchpoint support.
6738 2019-03-28 Alan Hayward <alan.hayward@arm.com>
6739 Pedro Alves <palves@redhat.com>
6741 * boards/local-board.exp: set sysroot to /.
6743 2019-03-27 Alan Hayward <alan.hayward@arm.com>
6745 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
6748 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
6750 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
6752 (make_container): Initialise new field.
6753 * gdb.python/py-prettyprint.exp: Add new tests.
6754 * gdb.python/py-prettyprint.py (class ContainerPrinter)
6755 <display_hint>: New method.
6757 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
6759 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
6760 gdb_continue_to_breakpoint more throughout this test.
6761 (run_lang_tests) Supply unique test names, and use
6764 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
6766 * gdb.base/finish-pretty.exp: Update expected results.
6767 * gdb.base/pretty-print.c: New file.
6768 * gdb.base/pretty-print.exp: New file.
6770 2019-03-25 Pedro Alves <palves@redhat.com>
6772 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
6773 move comments outside list. Append '-i "" eof' section.
6775 2019-03-22 Alan Hayward <alan.hayward@arm.com>
6778 * README: Add pie options.
6779 * gdb.base/break-interp.exp: Ensure pie is disabled.
6780 * gdb.base/dump.exp: Likewise.
6781 * lib/gdb.exp (gdb_compile): Add pie option.
6783 2019-03-19 Tom Tromey <tromey@adacore.com>
6785 * gdb.mi/mi2-cli-display.c: New file.
6786 * gdb.mi/mi2-cli-display.exp: New file.
6788 2019-03-18 Joel Brobecker <brobecker@adacore.com>
6789 Tom Tromey <tromey@adacore.com>
6791 * gdb.ada/ptype_array/pck.adb: New file.
6792 * gdb.ada/ptype_array/pck.ads: New file.
6793 * gdb.ada/ptype_array/foo.adb: New file.
6794 * gdb.ada/ptype_array.exp: New file.
6796 2019-03-14 Tom Tromey <tromey@adacore.com>
6798 * gdb.base/style.exp: Add "set style sources" test.
6800 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
6802 * mi-breakpoint-location-ena-dis.exp: Rename to ...
6803 * mi-breakpoint-multiple-locations.exp: ... this.
6804 (make_breakpoints_pattern): New proc.
6805 (do_test): Add mi_version parameter, test -break-insert,
6806 -break-info and =breakpoint-created.
6808 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
6810 * config/default.exp: Remove 'load_lib gdb.exp'.
6811 * config/monitor.exp: Likewise.
6812 * config/sid.exp: Likewise.
6813 * config/sim.exp: Likewise.
6814 * config/slite.exp: Likewise.
6815 * config/unix.exp: Likewise.
6816 * gdb.base/default.exp: Remove unhelpful comment.
6818 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6820 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
6822 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6824 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
6826 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6828 * gdb.fortran/type-kinds.exp: Update expected results.
6830 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6832 * gdb.fortran/type-kinds.exp: Test new integer type kind.
6834 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6836 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
6838 (test_basic_parsing_of_type_kinds): Expand types tested.
6839 (test_parsing_invalid_type_kinds): New function.
6841 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6843 * gdb.fortran/intrinsics.exp: New file.
6844 * gdb.fortran/intrinsics.f90: New file.
6845 * gdb.fortran/type-kinds.exp: New file.
6847 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6849 * gdb.fortran/dot-ops.exp: New file.
6851 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6853 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
6854 Check upper and lower case logical literals.
6856 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6858 * gdb.fortran/types.exp (test_float_literal_types_accepted):
6859 Remove duplicate tests.
6861 2019-03-06 Alan Hayward <alan.hayward@arm.com>
6863 * lib/gdb.exp (builtin_cd): rename of cd.
6864 (cd): Override builtin.
6866 2019-03-06 Richard Bunt <richard.bunt@arm.com>
6868 * gdb.fortran/function-calls.exp: New file.
6869 * gdb.fortran/function-calls.f90: New test.
6871 2019-03-04 Richard Bunt <richard.bunt@arm.com>
6873 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
6874 on user program standard output.
6875 * gdb.fortran/short-circuit-argument-list.f90: Record function
6878 2019-02-28 Alan Hayward <alan.hayward@arm.com>
6880 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
6883 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6886 * gdb.base/interrupt-daemon-attach.c,
6887 gdb.base/interrupt-daemon-attach.exp: New test.
6889 2019-02-27 Pedro Alves <palves@redhat.com>
6891 * gdb.base/page.exp: Add tests for "set width/height -1".
6893 2019-02-27 Pedro Alves <palves@redhat.com>
6895 * gdb.base/page.exp: Add tests for "set/show width/height" with
6898 2019-02-27 Tom Tromey <tromey@adacore.com>
6900 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
6902 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
6905 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
6907 * gdb.base/align.exp: Extend to compile in both C and C++, and add
6908 tests for structs with static members.
6910 2019-02-26 Tom Tromey <tromey@adacore.com>
6912 * gdb.python/py-value.exp (test_value_from_buffer): Check for
6913 ValueError, not TypeError.
6915 2019-02-26 Kevin Buettner <kevinb@redhat.com>
6917 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
6918 call from main program.
6920 2019-02-23 Joel Brobecker <brobecker@adacore.com>
6922 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
6923 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
6924 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
6925 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
6926 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
6928 2019-02-22 Keith Seitz <keiths@redhat.com>
6931 * gdb.base/symlink-sourcefile.c: New file.
6932 * gdb.base/symlink-sourcefile.exp: New file.
6934 2019-02-20 Tom Tromey <tom@tromey.com>
6936 * gdb.base/info_qt.exp: Update.
6938 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
6940 * gdb.base/source.exp: Move "error in sourced script" code to
6942 * gdb.base/source-error.gdb: Move contents to
6943 source-error-1.gdb. Add new code to source source-error-1.gdb.
6944 * gdb.base/source-error-1.gdb: New file, from previous
6947 2019-02-17 Tom Tromey <tom@tromey.com>
6949 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
6951 * gdb.base/style.c (SOME_MACRO): New macro.
6953 2019-02-17 Tom Tromey <tom@tromey.com>
6955 * gdb.base/style.exp: Add line-wrapping tests.
6956 * gdb.base/page.exp: Add test for quitting during pagination.
6958 2019-02-17 Joel Brobecker <brobecker@adacore.com>
6960 * gdb.ada/big_packed_array: New testcase.
6961 * gdb.ada/homonym.exp: Fix incorrect expected output for
6962 "break <homonym__get_value>" test.
6964 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
6966 PR breakpoints/21870
6967 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
6968 and prepare_for_testing. Add comment.
6969 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
6970 redundant cleanup call. Clean up comment.
6972 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
6974 PR breakpoints/21870
6975 * gdb.arch/aarch64-dbreg-contents.exp: New file.
6976 * gdb.arch/aarch64-dbreg-contents.c: New file.
6978 2019-02-10 Joel Brobecker <brobecker@adacore.com>
6980 * gdb.ada/mi_ref_changeable: New testcase.
6982 2019-02-07 Alan Hayward <alan.hayward@arm.com>
6984 * gdb.base/attach.exp: Add double attach test.
6986 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
6988 * lib/gdb.exp (default_gdb_start): Don't match pagination
6990 (gdb_init): Set stty_init.
6992 2019-01-27 Tom Tromey <tom@tromey.com>
6994 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
6997 2019-01-24 Alan Hayward <alan.hayward@arm.com>
6999 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
7001 (struct struct_static_02_02): Likewise.
7002 (struct struct_static_02_03): Likewise.
7003 (struct struct_static_02_04): Likewise.
7004 (struct struct_static_04_01): Likewise.
7005 (struct struct_static_04_02): Likewise.
7006 (struct struct_static_04_03): Likewise.
7007 (struct struct_static_04_04): Likewise.
7008 (struct struct_static_06_01): Likewise.
7009 (struct struct_static_06_02): Likewise.
7010 (struct struct_static_06_03): Likewise.
7011 (struct struct_static_06_04): Likewise.
7012 (cmp_struct_static_02_01): Likewise.
7013 (cmp_struct_static_02_02): Likewise.
7014 (cmp_struct_static_02_03): Likewise.
7015 (cmp_struct_static_02_04): Likewise.
7016 (cmp_struct_static_04_01): Likewise.
7017 (cmp_struct_static_04_02): Likewise.
7018 (cmp_struct_static_04_03): Likewise.
7019 (cmp_struct_static_04_04): Likewise.
7020 (cmp_struct_static_06_01): Likewise.
7021 (cmp_struct_static_06_02): Likewise.
7022 (cmp_struct_static_06_03): Likewise.
7023 (cmp_struct_static_06_04): Likewise.
7024 (call_all): Test new structs.
7025 * gdb.base/infcall-nested-structs.exp: Likewise.
7027 2019-01-21 Alan Hayward <alan.hayward@arm.com>
7028 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
7030 2019-01-21 Alan Hayward <alan.hayward@arm.com>
7031 * gdb.base/stack-protector.c: New test.
7032 * gdb.base/stack-protector.exp: New file.
7033 * gdb.cp/ovldbreak.exp: Only allow a single break line.
7034 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
7036 (gdb_compile): Remove stack protector for GCC and prevent
7039 2019-01-16 Keith Seitz <keiths@redhat.com>
7042 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
7044 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7046 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
7048 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
7050 * gdb.arch/powerpc-vector-regs.c: New file.
7051 * gdb.arch/powerpc-vector-regs.exp: New file.
7053 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7055 * gdb.arch/altivec-regs.exp: Fix the list passed to
7056 gdb_expect_list when testing "info vector".
7058 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
7060 * gdb.base/style.exp: Don't include path in testname.
7062 2019-01-10 Keith Seitz <keiths@redhat.com>
7066 * gdb.dwarf2/multidictionary.exp: New file.
7068 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
7070 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
7071 (test_gnuv3_style_demangling): ... this.
7072 (test_lucid_style_demangling): Remove.
7073 (test_arm_style_demangling): Remove.
7074 (test_hp_style_demangling): Remove.
7075 (do_tests): Remove calls to the above.
7077 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
7079 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
7082 2019-01-06 Tom Tromey <tom@tromey.com>
7085 * gdb.dwarf2/typedef-void-finish.exp: New file.
7087 2018-12-28 Tom Tromey <tom@tromey.com>
7088 Simon Marchi <simark@simark.ca>
7090 * gdb.base/jit-exec.exp: New file.
7091 * gdb.base/jit-exec.c: New file.
7092 * gdb.base/jit-execd.c: New file.
7094 2018-12-28 Tom Tromey <tom@tromey.com>
7096 * gdb.base/style.exp: Update test to check for address styling.
7098 2018-12-28 Tom Tromey <tom@tromey.com>
7100 * gdb.base/style.exp: Add test for styling of "Reading symbols"
7103 2018-12-28 Tom Tromey <tom@tromey.com>
7105 * gdb.base/style.exp: Add test for version number styling.
7107 2018-12-28 Tom Tromey <tom@tromey.com>
7109 * gdb.base/style.exp: Add test for print_address_symbolic.
7111 2018-12-28 Tom Tromey <tom@tromey.com>
7113 * gdb.base/style.exp: Add test for breakpoint setting.
7115 2018-12-28 Tom Tromey <tom@tromey.com>
7117 * gdb.base/style.exp: Add test for variable names.
7119 2018-12-28 Tom Tromey <tom@tromey.com>
7121 * gdb.base/style.exp: New file.
7122 * gdb.base/style.c: New file.
7124 2018-12-28 Tom Tromey <tom@tromey.com>
7126 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
7128 * gdb.base/readline.exp (operate_and_get_next): Save and restore
7129 the TERM environment variable.
7131 2018-12-27 Tom Tromey <tom@tromey.com>
7133 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
7136 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
7138 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
7139 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
7141 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7143 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
7144 Filename a.adb changed to bp_fun_addr.adb.
7145 gdb.ada/bp_fun_addr.exp: Update test accordingly.
7147 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
7149 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
7150 non-PIE executables.
7151 * README: Mention the gdb,nopie_flag board setting.
7152 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
7154 * gdb.arch/amd64-entry-value.exp: Likewise.
7155 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
7156 * gdb.arch/i386-float.exp: Likewise.
7157 * gdb.arch/i386-signal.exp: Likewise.
7158 * gdb.mi/mi-reg-undefined.exp: Likewise.
7160 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
7163 * gdb.base/info-os.exp: Check return for unknown "info os" type.
7165 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7167 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
7168 Update order of results accordingly.
7170 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
7172 * gdb.base/annota1.exp: Update a test regexp.
7174 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
7176 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
7178 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7180 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
7181 (reuse_time): Initialize to REUSE_TIME_CAP.
7182 (check_rc): New function.
7183 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
7184 Check pthread_create rc.
7185 (spawner_thread_func): Check pthread_create and pthread_join rc.
7187 2018-12-08 Pedro Alves <palves@redhat.com>
7189 * gdb.base/list.exp (test_forward_search): Rename to ...
7190 (test_forward_reverse_search): ... this. Also test reverse-search
7191 and the forward-search alias.
7193 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
7195 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
7196 local timeout variable before return, and remove all local timeout
7198 (gdb_load): Likewise.
7200 2018-12-01 Tom de Vries <tdevries@suse.de>
7202 * gdb.base/gdb-caching-proc.exp: New file.
7204 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
7206 * Makefile.in (TIMESTAMP): New variable.
7207 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
7209 (check-single-racy): Likewise.
7210 (check/%.exp): Likewise.
7211 (check-racy/%.exp): Likewise.
7212 (workers/%.worker): Likewise.
7213 (build-perf): Likewise.
7214 (check-perf): Likewise.
7215 * README: Describe new "TS" and "TS_FORMAT" variables.
7216 * print-ts.py: New file.
7218 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
7221 * gdb.python/python.exp: Test command repetition after
7224 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
7226 * gdb.opt/inline-break.exp: Add test that info breakpoint output
7227 is correctly aligned.
7229 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7231 * gdb.ada/info_auto_lang.exp: New testcase.
7232 * gdb.ada/info_auto_lang/global_pack.ads: New file.
7233 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
7234 * gdb.ada/info_auto_lang/some_c.c: New file.
7236 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7238 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
7239 FUNC_lang language syntax.
7241 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7243 * gdb.base/info_minsym.c: New file.
7244 * gdb.base/info_minsym.exp: New file.
7246 2018-11-19 Tom Tromey <tom@tromey.com>
7249 * gdb.rust/simple.exp: Add ptype test. Update expected output.
7250 * gdb.rust/expr.exp: Update expected output. Change one test.
7252 2018-11-19 Tom Tromey <tom@tromey.com>
7254 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
7256 2018-11-19 Pedro Alves <palves@redhat.com>
7258 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
7259 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
7260 see the expected warning.
7262 2018-11-16 Alan Hayward <alan.hayward@arm.com>
7265 * gdb.cp/infcall-nodebug-lib.c: New test.
7266 * gdb.cp/infcall-nodebug-main.c: New test.
7267 * gdb.cp/infcall-nodebug.exp: New file.
7269 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
7271 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
7274 2018-11-09 Tom de Vries <tdevries@suse.de>
7276 * gdb.base/msym-lang.c: New test.
7277 * gdb.base/msym-lang.exp: New file.
7278 * gdb.base/msym-lang-main.c: New test.
7280 2018-11-08 Tom Tromey <tom@tromey.com>
7284 * gdb.base/warning.exp: New file.
7286 2018-11-08 Jan Beulich <jbeulich@suse.com>
7288 * testsuite/gdb.arch/i386-avx512.c,
7289 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
7291 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
7293 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
7296 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
7298 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
7299 * gdb.dwarf2/missing-type-name.exp: New file.
7301 2018-11-06 Tom de Vries <tdevries@suse.de>
7303 * gdb.base/many-headers.c: New test.
7304 * gdb.base/many-headers.exp: New file.
7306 2018-11-06 Jim Wilson <jimw@sifive.com>
7308 * gdb.base/code_elim.exp: For riscv, set additional_flags
7309 to include -msmall-data-limit=0.
7311 2018-11-01 Joel Brobecker <brobecker@adacore.com>
7313 * gdb.ada/watch_minus_l: New testcase.
7315 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
7317 * gdb.arch/aix-sighandle.c: New file.
7318 * gdb.arch/aix-sighandle.exp: New file.
7320 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
7322 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
7323 registers being unions.
7325 2018-10-31 Tom de Vries <tdevries@suse.de>
7327 * lib/valgrind.exp: New file.
7328 (vgdb_start, vgdb_stop): New procs, factored out of ...
7329 * gdb.base/valgrind-bt.exp: ... here, ...
7330 * gdb.base/valgrind-disp-step.exp: ... here and ...
7331 * gdb.base/valgrind-infcall.exp: ... here.
7333 2018-10-31 Tom de Vries <tdevries@suse.de>
7335 * lib/gdb.exp (get_valueof): Don't output read value in test name.
7337 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
7339 * gdb.dwarf2/void-type.c: New file.
7340 * gdb.dwarf2/void-type.exp: New file.
7342 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7344 * gdb.base/info_qt.c: New file.
7345 * gdb.base/info_qt.exp: New file.
7347 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7349 * gdb.arch/powerpc-htm-regs.c: New file.
7350 * gdb.arch/powerpc-htm-regs.exp: New file.
7352 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7354 * gdb.arch/powerpc-tar.c: New file.
7355 * gdb.arch/powerpc-tar.exp: New file.
7357 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
7359 * gdb.arch/powerpc-ppr-dscr.c: New file.
7360 * gdb.arch/powerpc-ppr-dscr.exp: New file.
7362 2018-10-25 Tom de Vries <tdevries@suse.de>
7364 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
7366 2018-10-24 Tom de Vries <tdevries@suse.de>
7368 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
7369 longer exists error.
7371 2018-10-24 Tom de Vries <tdevries@suse.de>
7373 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
7375 2018-10-24 Tom de Vries <tdevries@suse.de>
7377 * gdb.base/valgrind-db-attach.exp: Handle removed support for
7378 --db-attach in valgrind.
7380 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
7382 * gdb.arch/riscv-reg-aliases.c: New file.
7383 * gdb.arch/riscv-reg-aliases.exp: New file.
7385 2018-10-19 Alan Hayward <alan.hayward@arm.com>
7387 * gdb.python/py-cmd.exp: Check for gdb_prompt.
7389 2018-10-19 Alan Hayward <alan.hayward@arm.com>
7391 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
7393 2018-10-19 Alan Hayward <alan.hayward@arm.com>
7395 * gdb.cp/ovldbreak.exp: Fix regexps.
7397 2018-10-19 Alan Hayward <alan.hayward@arm.com>
7399 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
7401 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
7404 * gdb.base/restore.exp: New test to check if "restore" with an
7405 invalid file doesn't segfault.
7407 2018-10-18 Tom de Vries <tdevries@suse.de>
7409 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
7410 * gdb.ada/excep_handle.exp: Same.
7411 * gdb.ada/mi_string_access.exp: Same.
7412 * gdb.ada/mi_var_union.exp: Same.
7413 * gdb.arch/arc-analyze-prologue.exp: Same.
7414 * gdb.arch/arc-decode-insn.exp: Same.
7415 * gdb.base/readnever.exp: Same.
7416 * gdb.fortran/printing-types.exp: Same.
7417 * gdb.guile/scm-lazy-string.exp: Same.
7419 2018-10-16 Tom de Vries <tdevries@suse.de>
7422 * gdb.base/catch-follow-exec.c: Add copyright notice.
7423 * gdb.base/catch-follow-exec.exp: Rewrite to use
7424 gdb_spawn_with_cmdline_opts. Require gdb-native.
7426 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
7428 * gdb.trace/actions-changed.exp: Check for arch support.
7429 * gdb.trace/actions.exp: Likewise.
7430 * gdb.trace/ax.exp: Likewise.
7431 * gdb.trace/backtrace.exp: Likewise.
7432 * gdb.trace/change-loc.exp: Likewise.
7433 * gdb.trace/deltrace.exp: Likewise.
7434 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
7435 * gdb.trace/ftrace.exp: Likewise.
7436 * gdb.trace/infotrace.exp: Check for arch support.
7437 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
7438 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
7439 * gdb.trace/mi-tsv-changed.exp: Likewise.
7440 * gdb.trace/packetlen.exp: Likewise.
7441 * gdb.trace/passc-dyn.exp: Likewise.
7442 * gdb.trace/passcount.exp: Likewise.
7443 * gdb.trace/pending.exp: Likewise.
7444 * gdb.trace/range-stepping.exp: Check for shlib support.
7445 * gdb.trace/report.exp: Check for arch support.
7446 * gdb.trace/save-trace.exp: Likewise.
7447 * gdb.trace/signal.exp: Check for signal support.
7448 * gdb.trace/tfind.exp: Check for arch support.
7449 * gdb.trace/trace-break.exp: Check for arch and shlib support.
7450 * gdb.trace/trace-common.h: Add comment.
7451 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
7452 * gdb.trace/trace-enable-disable.exp: Likewise.
7453 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
7454 * gdb.trace/tracecmd.exp: Check for arch support.
7455 * gdb.trace/tspeed.exp: Check for shlib and target support.
7456 * gdb.trace/tstatus.exp: Check for arch support.
7457 * gdb.trace/tsv.exp: Likewise.
7458 * gdb.trace/while-dyn.exp: Likewise.
7459 * gdb.trace/while-stepping.exp: Likewise.
7460 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
7462 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
7464 * gdb.trace/tspeed.exp: Remove nowarnings.
7465 (prepare_for_trace_test): Declare "global ipalib".
7466 * gdb.trace/tspeed.c: Include unistd.h.
7467 (main): Remove superfluous printf argument.
7469 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
7471 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
7472 directory prefix on the filename.
7474 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
7476 * gdb.gdb/unittest.exp: Update expected message informing that
7477 selftests have been disabled.
7478 * gdb.server/unittest.exp: Likewise.
7480 2018-10-09 Tom de Vries <tdevries@suse.de>
7482 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
7485 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
7488 * gdb.cp/virtbase2.cc: New file.
7489 * gdb.cp/virtbase2.exp: New file.
7491 2018-10-06 Tom Tromey <tom@tromey.com>
7494 * gdb.python/py-inferior.exp: Add architecture test.
7496 2018-10-06 Tom Tromey <tom@tromey.com>
7498 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
7499 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
7501 2018-10-06 Tom Tromey <tom@tromey.com>
7503 * gdb.python/py-breakpoint.exp (check_last_event): Check location
7504 of a "throw" catchpoint.
7506 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
7508 * gdb.base/info-proc.exp: Update string expected from "help info
7511 2018-10-04 Tom Tromey <tom@tromey.com>
7513 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
7514 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
7515 (test_initial_complaints, test_empty_complaints): Update.
7516 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
7518 2018-10-04 Tom Tromey <tom@tromey.com>
7521 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
7522 * lib/gdb.exp (gdb_file_cmd): Update.
7523 * gdb.stabs/weird.exp (print_weird_var): Update.
7524 * gdb.server/solib-list.exp: Update.
7525 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
7526 * gdb.mi/mi-cli.exp: Update.
7527 * gdb.linespec/linespec.exp: Update.
7528 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
7529 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
7530 * gdb.cp/cp-relocate.exp: Update.
7531 * gdb.base/sym-file.exp: Update.
7532 * gdb.base/relocate.exp: Update.
7533 * gdb.base/readnever.exp: Update.
7534 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
7535 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
7536 * gdb.base/dbx.exp (gdb_file_cmd): Update.
7537 * gdb.base/code_elim.exp: Update.
7538 * gdb.base/break-unload-file.exp (test_break): Update.
7539 * gdb.base/break-interp.exp (test_attach_gdb): Update.
7540 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
7542 * gdb.base/attach.exp (do_attach_tests): Update.
7543 * gdb.base/sepdebug.exp: Update.
7544 * gdb.python/py-section-script.exp: Update.
7546 2018-10-04 Tom Tromey <tom@tromey.com>
7549 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
7550 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
7553 2018-10-04 Tom Tromey <tom@tromey.com>
7555 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
7556 set width and height to 0.
7557 (test_command_line_attach_run): Use -quiet.
7559 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
7561 * lib/gdb.exp (skip_ifunc_tests): New.
7562 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
7563 other compile failures.
7564 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
7566 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
7568 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
7569 is_amd64_regs_target.
7571 2018-10-01 Alan Hayward <alan.hayward@arm.com>
7573 * gdb.arch/aarch64-sighandler-regs.c: New test.
7574 * gdb.arch/aarch64-sighandler-regs.exp: New file.
7575 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
7577 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
7579 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
7582 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
7584 * gdb.base/frame-selection.exp: New file.
7585 * gdb.base/frame-selection.c: New file.
7587 2018-09-27 Alan Hayward <alan.hayward@arm.com>
7589 * gdb.threads/check-libthread-db.c (thread_routine): Use a
7593 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
7595 * gdb.base/large-frame-1.c: New file.
7596 * gdb.base/large-frame-2.c: New file.
7597 * gdb.base/large-frame.exp: New file.
7598 * gdb.base/large-frame.h: New file.
7600 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
7603 * gdb.base/write_mem.exp: New test.
7604 * gdb.base/write_mem.c: Likewise.
7606 2018-09-23 Tom Tromey <tom@tromey.com>
7609 * gdb.python/py-parameter.exp: Add test for parameter that throws
7612 2018-09-23 Tom Tromey <tom@tromey.com>
7615 * gdb.python/py-template.exp (test_template_arg): Add test for
7616 negative template argument number.
7618 2018-09-23 Tom Tromey <tom@tromey.com>
7621 * gdb.python/python.exp: Add test for post_event error.
7623 2018-09-23 Tom Tromey <tom@tromey.com>
7626 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
7627 convert pointers to int and long.
7629 2018-09-23 Tom Tromey <tom@tromey.com>
7632 * gdb.python/py-value.exp (test_value_numeric_ops): Add
7633 signed-ness conversion tests.
7635 2018-09-23 Tom Tromey <tom@tromey.com>
7638 * gdb.python/py-value.exp (test_float_conversion): New proc.
7641 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
7643 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
7645 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
7647 * gdb.base/complete-empty.exp: Skip tab-completion tests if
7649 * gdb.base/utf8-identifiers.exp: Likewise.
7650 * gdb.cp/cpcompletion.exp: Likewise.
7651 * gdb.linespec/cpcompletion.exp: Likewise.
7652 * gdb.linespec/cpls-abi-tag.exp: Likewise.
7653 * gdb.linespec/cpls-ops.exp: Likewise.
7655 2018-09-19 Richard Bunt <richard.bunt@arm.com>
7656 Chris January <chris.january@arm.com>
7658 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
7659 * gdb.fortran/short-circuit-argument-list.exp: New file.
7660 * gdb.fortran/short-circuit-argument-list.f90: New test.
7662 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
7664 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
7665 "arch=" keyword when executing "-stack-list-frames".
7667 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
7669 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
7670 "arch=" keyword when executing "-stack-list-frames".
7672 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
7674 * gdb.ada/complete.exp: Expect for "@" when doing "complete
7677 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
7680 * gdb.python/python.exp: Test gdb.execute("show commands").
7682 2018-09-16 Tom Tromey <tom@tromey.com>
7684 * gdb.base/new-ui.exp (do_execution_tests): Update.
7685 * gdb.base/dbx.exp (test_breakpoints): Update.
7687 2018-09-14 Alan Hayward <alan.hayward@arm.com>
7689 * lib/gdb.exp (gdb_simple_compile): Add proc.
7690 (is_elf_target): Use gdb_simple_compile.
7691 (skip_altivec_tests): Likewise.
7692 (skip_vsx_tests): Likewise.
7693 (skip_tsx_tests): Likewise.
7694 (skip_btrace_tests): Likewise.
7695 (skip_btrace_pt_tests): Likewise.
7696 (gdb_can_simple_compile): Likewise.
7697 (gdb_has_argv0): Likewise.
7698 (gdb_target_symbol_prefix): Likewise.
7699 (target_supports_scheduler_locking): Likewise.
7701 2018-09-13 Tom Tromey <tom@tromey.com>
7703 * Makefile.in (TAGS): Recognize proc_with_prefix and
7706 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
7708 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
7711 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
7713 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
7714 and a few other Inferior properties when the Inferior is no
7717 2018-09-13 Tom Tromey <tom@tromey.com>
7720 * gdb.rust/simple.exp: Add test for enum field access error.
7722 2018-09-13 Tom Tromey <tom@tromey.com>
7725 * gdb.rust/simple.rs (EmptyEnum): New type.
7727 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
7729 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
7731 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
7732 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
7733 * gdb.python/py-symtab.exp: Update test printing an objfile.
7735 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
7737 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
7740 2018-09-12 Alan Hayward <alan.hayward@arm.com>
7742 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
7743 (support_complex_tests): Use gdb_can_simple_compile.
7744 (is_ilp32_target): Likewise.
7745 (is_lp64_target): Likewise.
7746 (is_64_target): Likewise.
7747 (is_amd64_regs_target): Likewise.
7748 (is_aarch32_target): Likewise.
7749 (gdb_int128_helper): Likewise.
7751 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7753 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
7755 2018-09-10 Jerome Guitton <guitton@adacore.com>
7757 * gdb.ada/same_component_name: Add test for case of tagged record
7758 with variable-length fields.
7760 2018-09-10 Xavier Roirand <roirand@adacore.com>
7762 * gdb.ada/access_to_unbounded_array.exp: New testcase.
7763 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
7764 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
7765 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
7767 2018-09-10 Xavier Roirand <roirand@adacore.com>
7769 * gdb.ada/mi_string_access.exp: New testcase.
7770 * gdb.ada/mi_string_access/bar.adb: New file.
7771 * gdb.ada/mi_string_access/pck.adb: New file.
7772 * gdb.ada/mi_string_access/pck.asd: New file.
7774 2018-09-10 Xavier Roirand <roirand@adacore.com>
7776 * gdb.ada/mi_var_union.exp: New testcase.
7777 * gdb.ada/mi_var_union/bar.adb: New file.
7778 * gdb.ada/mi_var_union/pck.adb: New file.
7779 * gdb.ada/mi_var_union/pck.asd: New file.
7781 2018-09-08 Tom Tromey <tom@tromey.com>
7783 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
7785 2018-09-08 Tom Tromey <tom@tromey.com>
7788 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
7789 (register_pretty_printers): Register new printer.
7790 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
7792 * gdb.python/py-prettyprint.c (int_type3): New typedef.
7793 (an_int_type3): New global.
7795 2018-09-08 Joel Brobecker <brobecker@adacore.com>
7797 * gdb.ada/expr_with_funcall: New testcase.
7799 2018-09-08 Joel Brobecker <brobecker@adacore.com>
7801 * gdb.ada/packed_array_assign: New testcase.
7803 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
7805 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
7806 names, and add test prefixes to make test names unique.
7808 2018-09-05 Tom de Vries <tdevries@suse.de>
7810 * gdb.dwarf2/varval.exp: Add test.
7812 2018-09-04 Gary Benson <gbenson@redhat.com>
7814 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
7815 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
7817 2018-08-31 Tom Tromey <tom@tromey.com>
7819 * gdb.rust/simple.rs: Rename second variable "v".
7821 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
7823 * gdb.base/funcargs.c (use_a): New function.
7824 (recurse): Call use_a.
7826 2018-08-29 Keith Seitz <keiths@redhat.com>
7828 * gdb.compile/compile-cplus-anonymous.cc: New file.
7829 * gdb.compile/compile-cplus-anonymous.exp: New file.
7830 * gdb.compile/compile-cplus-array-decay.cc: New file.
7831 * gdb.compile/compile-cplus-array-decay.exp: New file.
7832 * gdb.compile/compile-cplus-inherit.cc: New file.
7833 * gdb.compile/compile-cplus-inherit.exp: New file.
7834 * gdb.compile/compile-cplus-member.cc: New file.
7835 * gdb.compile/compile-cplus-member.exp: New file.
7836 * gdb.compile/compile-cplus-method.cc: New file.
7837 * gdb.compile/compile-cplus-method.exp: New file.
7838 * gdb.compile/compile-cplus-mod.c: "New" file.
7839 * gdb.compile/compile-cplus-namespace.cc: New file.
7840 * gdb.compile/compile-cplus-namespace.exp: New file.
7841 * gdb.compile/compile-cplus-nested.cc: New file.
7842 * gdb.compile/compile-cplus-nested.exp: New file.
7843 * gdb.compile/compile-cplus-print.c: "New" file.
7844 * gdb.compile/compile-cplus-print.exp: "New" file.
7845 * gdb.compile/compile-cplus-virtual.cc: New file.
7846 * gdb.compile/compile-cplus-virtual.exp: New file.
7847 * gdb.compile/compile-cplus.c: "New" file.
7848 * gdb.compile/compile-cplus.exp: "New" file.
7849 * lib/compile-support.exp: New file.
7851 2018-08-16 Gary Benson <gbenson@redhat.com>
7854 * gdb.base/batch-exit-status.exp: New file.
7855 * gdb.base/batch-exit-status.good-commands: Likewise.
7856 * gdb.base/batch-exit-status.bad-commands: Likewise.
7858 2018-08-29 Alan Hayward <alan.hayward@arm.com>
7860 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
7861 (struct struct02): Likewise.
7862 (struct struct03): Likewise.
7863 (struct struct04): Likewise.
7864 (struct struct_01_01): New struct.
7865 (struct struct_01_02): Likewise.
7866 (struct struct_01_03): Likewise.
7867 (struct struct_01_04): Likewise.
7868 (struct struct_02_01): Likewise.
7869 (struct struct_02_02): Likewise.
7870 (struct struct_02_03): Likewise.
7871 (struct struct_02_04): Likewise.
7872 (struct struct_04_01): Likewise.
7873 (struct struct_04_02): Likewise.
7874 (struct struct_04_03): Likewise.
7875 (struct struct_04_04): Likewise.
7876 (struct struct_05_01): Likewise.
7877 (struct struct_05_02): Likewise.
7878 (struct struct_05_03): Likewise.
7879 (struct struct_05_04): Likewise.
7880 (cmp_struct01): Remove function.
7881 (cmp_struct02): Likewise.
7882 (cmp_struct03): Likewise.
7883 (cmp_struct04): Likewise.
7884 (cmp_struct_01_01): Add Function.
7885 (cmp_struct_01_02): Likewise.
7886 (cmp_struct_01_03): Likewise.
7887 (cmp_struct_01_04): Likewise.
7888 (cmp_struct_02_01): Likewise.
7889 (cmp_struct_02_02): Likewise.
7890 (cmp_struct_02_03): Likewise.
7891 (cmp_struct_02_04): Likewise.
7892 (cmp_struct_04_01): Likewise.
7893 (cmp_struct_04_02): Likewise.
7894 (cmp_struct_04_03): Likewise.
7895 (cmp_struct_04_04): Likewise.
7896 (cmp_struct_05_01): Likewise.
7897 (cmp_struct_05_02): Likewise.
7898 (cmp_struct_05_03): Likewise.
7899 (cmp_struct_05_04): Likewise.
7900 (call_all): Add new structs.
7901 * gdb.base/infcall-nested-structs.exp: Likewise.
7903 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
7905 * gdb.python/py-framefilter-mi.exp: Update regexp to
7906 check for "arch" field in frame output.
7908 2018-08-23 Kevin Buettner <kevinb@redhat.com>
7910 * gdb.dwarf2/dw2-ranges-func.c: New file.
7911 * gdb.dwarf2/dw2-ranges-func.exp: New file.
7913 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
7915 * gdb.base/term.exp: Compare terminal settings with values from
7917 * gdb.base/term.c: Get and set terminal settings.
7919 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
7921 * lib/mi-support.exp (mi_expect_stop): Update regexp to
7922 accommodate new "arch" field in frame output.
7923 * gdb.mi/mi-return.exp: Likewise.
7924 * gdb.mi/mi-stack.exp: Likewise.
7925 * gdb.mi/mi-syn-frame.exp: Likewise.
7926 * gdb.mi/user-selected-context-sync.exp: Likewise.
7928 2018-08-19 Michael Spang <spang@google.com>
7931 * gdb.base/gcore-tls-pie.c: New file.
7932 * gdb.base/gcore-tls-pie.exp: New file.
7934 2018-08-18 Kevin Buettner <kevinb@redhat.com>
7936 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
7937 * gdb.dwarf2/varval.c: New file.
7938 * gdb.dwarf2/varval.exp: New file.
7940 2018-08-17 Alan Hayward <alan.hayward@arm.com>
7943 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
7945 2018-08-16 Keith Seitz <keiths@redhat.com>
7947 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
7948 tests expected to pass.
7950 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
7952 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
7953 -data-disassemble -a.
7954 (test_disassembly_bogus_args): Likewise.
7956 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
7958 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
7960 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
7962 * gdb.base/vla-optimized-out.exp: Add new test.
7964 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
7966 * gdb.base/vla-optimized-out-o3.exp: Delete.
7967 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
7968 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
7971 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
7974 * gdb.server/extended-remote-restart.c: New file.
7975 * gdb.server/extended-remote-restart.exp: New file.
7977 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
7979 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
7980 "set variable index = 42".
7982 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
7984 * boards/index-cache-gdb.exp: New file.
7985 * gdb.dwarf2/index-cache.exp: New file.
7986 * gdb.dwarf2/index-cache.c: New file.
7987 * gdb.base/maint.exp: Check if we are using the index cache.
7989 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7991 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
7994 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7996 * dg-extract-results.sh: Move to toplevel contrib.
7997 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
7998 * Makefile.in (check-parallel-racy): Likewise.
8000 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
8002 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
8003 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
8004 tests if the target supports scheduler locking.
8006 2018-08-04 Tom de Vries <tdevries@suse.de>
8008 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
8010 2018-08-02 Tom Tromey <tom@tromey.com>
8013 * gdb.cp/temargs.exp: Test "info address" of a template
8016 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
8018 * gdb.python/py-mi-var-info-path-expression.c: New file.
8019 * gdb.python/py-mi-var-info-path-expression.py: New file.
8020 * gdb.python/py-mi-var-info-path-expression.exp: New file.
8022 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
8024 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
8025 error after "cannot resolve name" string.
8027 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
8029 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
8031 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
8033 2018-07-28 Tom de Vries <tdevries@suse.de>
8035 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
8037 2018-07-26 Tom de Vries <tdevries@suse.de>
8039 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
8041 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
8043 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
8046 2018-07-26 Tom de Vries <tdevries@suse.de>
8048 PR breakpoints/23366
8049 * gdb.base/catch-follow-exec.c: New test.
8050 * gdb.base/catch-follow-exec.exp: New file.
8052 2018-07-25 Tom de Vries <tdevries@suse.de>
8054 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
8055 vla-optimized-out.c.
8057 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
8059 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
8060 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
8062 2018-07-20 Tom de Vries <tdevries@suse.de>
8064 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
8066 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
8068 2018-07-19 Tom de Vries <tdevries@suse.de>
8070 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
8073 2018-07-18 Tom de Vries <tdevries@suse.de>
8075 * gdb.base/vla-optimized-out.c: New test.
8076 * gdb.base/vla-optimized-out.exp: New file.
8078 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
8080 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
8081 message "No address associated with hostname" when gdbserver
8082 cannot resolve the hostname.
8084 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8086 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
8087 Add some test prefixes to make tests unique.
8089 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8091 * gdb.base/frameapply.c: New file.
8092 * gdb.base/frameapply.exp: New file.
8094 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8096 * gdb.base/skip.exp: Update expected error message.
8098 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
8099 Jan Kratochvil <jan.kratochvil@redhat.com>
8100 Paul Fertser <fercerpav@gmail.com>
8101 Tsutomu Seki <sekiriki@gmail.com>
8103 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
8105 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
8107 * boards/native-gdbserver.exp: Likewise.
8108 * gdb.server/run-without-local-binary.exp: Improve regexp used
8109 for detecting when a remote debugging connection succeeds.
8110 * gdb.server/server-connect.exp: New file.
8111 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
8112 Do not prefix the port number with ":".
8113 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
8114 support for detecting and using it. Add '$debughost_gdbserver'
8115 to the list of arguments used to start gdbserver. Handle case
8116 when gdbserver cannot resolve a network name.
8118 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
8121 * gdb.base/ptype-offsets.cc (struct static_member): New
8123 (main) <stmember>: New variable.
8124 * gdb.base/ptype-offsets.exp: Add test for printing a struct
8125 with a static member in it.
8127 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
8129 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
8130 watchpoints enabled and disabled.
8132 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
8134 * gdb.base/examine-backward.exp: Still run tests around address
8135 0x0, even if address 0x0 is not readable. Update the pattern for
8136 matching address 0x0 in expected output.
8138 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
8140 * gdb.base/share-env-with-gdbserver.c (main): Add call to
8143 2018-07-04 Tom de Vries <tdevries@suse.de>
8145 * gdb.dwarf2/dw2-error.exp: Update expected error message.
8147 2018-07-02 Maciej W. Rozycki <macro@mips.com>
8150 * gdb.arch/mips-disassembler-options.exp: New test.
8151 * gdb.arch/mips-disassembler-options.s: New test source.
8153 2018-06-29 Pedro Alves <palves@redhat.com>
8155 * gdb.threads/names.exp: Adjust expected "info threads" output.
8157 2018-06-29 Pedro Alves <palves@redhat.com>
8159 * gdb.opt/inline-break.exp (line number, address): Add "info
8162 2018-06-29 Pedro Alves <palves@redhat.com>
8164 * gdb.opt/inline-break.c (func1): Add "break here" marker.
8165 * gdb.opt/inline-break.exp: Test setting breakpoints by line
8166 number and address and running to them.
8168 2018-06-29 Richard Bunt <richard.bunt@arm.com>
8170 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
8172 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8174 * lib/compiler.c: Remove executable permission flag.
8176 2018-06-28 Richard Bunt <richard.bunt@arm.com>
8178 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
8180 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
8182 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
8184 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
8186 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
8188 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
8189 address argument is omitted.
8191 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
8193 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
8195 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
8198 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
8199 * gdb.base/infoline-reloc-main-from-zero.c: New file.
8201 2018-06-26 Tom Tromey <tom@tromey.com>
8204 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
8205 * gdb.rust/simple.rs (struct SimpleLayout): New.
8207 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
8209 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
8210 "info registers" output.
8212 2018-06-21 Richard Bunt <richard.bunt@arm.com>
8214 * gdb.base/watchpoint-hw-attach.c: New test.
8215 * gdb.base/watchpoint-hw-attach.exp: New file.
8217 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
8219 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
8221 * boards/dwarf4-gdb-index.exp: Likewise.
8222 * boards/fission-dwp.exp: Likewise.
8224 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
8226 * gdb.base/float128.exp: Add comment and improved fail message
8227 to the failure case of "print large128" test.
8229 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
8231 * configure.ac: Remove AC_PREREQ.
8232 * configure: Re-generate.
8234 2018-06-19 Pedro Alves <palves@redhat.com>
8236 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
8237 (func_extern_caller): New.
8238 (main): Call func_extern_caller.
8239 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
8242 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
8245 * gdb.cp/typedef-base.cc: New file.
8246 * gdb.cp/typedef-base.exp: New file.
8248 2018-06-18 Tom de Vries <tdevries@suse.de>
8250 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
8252 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
8253 Richard Bunt <Richard.Bunt@arm.com>
8255 * gdb.threads/attach-slow-waitpid.c: New file.
8256 * gdb.threads/attach-slow-waitpid.exp: New file.
8257 * gdb.threads/slow-waitpid.c: New file.
8259 2018-06-14 Pedro Alves <palves@redhat.com>
8261 * gdb.base/fork-running-state.c: Include <errno.h>.
8262 (exit_if_relative_exits): New.
8263 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
8265 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
8268 2018-06-14 Tom de Vries <tdevries@suse.de>
8271 * gdb.base/finish-pretty.c: New test.
8272 * gdb.base/finish-pretty.exp: New file.
8274 2018-06-14 Pedro Alves <palves@redhat.com>
8276 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
8277 gdb's expected startup output.
8279 2018-06-14 Pedro Alves <palves@redhat.com>
8281 * lib/selftest-support.exp (selftest_setup): Remove inlined
8284 2018-06-14 Tom de Vries <tdevries@suse.de>
8286 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
8287 matching of breakpoint printing.
8289 2018-06-13 Tom de Vries <tdevries@suse.de>
8292 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
8293 (fork_child): ... here, and ...
8294 (fork_parent): ... here.
8296 2018-06-12 Tom de Vries <tdevries@suse.de>
8298 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
8300 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
8301 Stephen Roberts <stephen.roberts@arm.com>
8303 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
8304 rewrite test to describe action performed, rather than possible
8307 2018-06-08 Gary Benson <gbenson@redhat.com>
8309 * gdb.threads/check-libthread-db.exp: New file.
8310 * gdb.threads/check-libthread-db.c: Likewise.
8312 2018-06-05 Tom Tromey <tom@tromey.com>
8314 * gdb.base/default.exp: Update expected "show version" output.
8316 2018-06-05 Tom Tromey <tom@tromey.com>
8319 * gdb.cp/static-print-quit.exp: Update.
8320 * lib/gdb.exp (pagination_prompt): Update.
8321 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
8322 * gdb.python/python.exp: Update.
8324 2018-06-04 Joel Brobecker <brobecker@adacore.com>
8326 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
8328 2018-06-01 Joel Brobecker <brobecker@adacore.com>
8330 * gdb.ada/bp_fun_addr: New testcase.
8332 2018-06-01 Tom Tromey <tom@tromey.com>
8334 * gdb.xml/tdesc-regs.exp (load_description): Update expected
8336 * gdb.dwarf2/method-ptr.exp: Set language to C++.
8337 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
8338 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
8339 * gdb.base/maint.exp (maint_pass_if): Update.
8341 2018-05-31 Maciej W. Rozycki <macro@mips.com>
8343 * gdb.base/endian.exp: New test.
8344 * gdb.base/endian.c: New test source.
8346 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
8349 * gdb.base/bt-selected-frame.c: New file.
8350 * gdb.base/bt-selected-frame.exp: New file.
8351 * lib/gdb.exp (get_current_frame_number): New function.
8353 2018-05-24 Maciej W. Rozycki <macro@mips.com>
8354 Pedro Alves <palves@redhat.com>
8356 * gdb.threads/tls-core.c: Include <stdlib.h>
8357 (thread_proc): Call `abort'.
8358 * gdb.threads/tls-core.exp: Generate a core with core_find too.
8359 (tls_core_test): New procedure, bits factored out from ...
8360 (top level): ... here. Test both native cores and gcore cores.
8362 2018-05-23 Tom Tromey <tom@tromey.com>
8364 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
8366 2018-05-23 Tom Tromey <tom@tromey.com>
8368 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
8370 (test_short_complaints): Likewise.
8371 (test_empty_complaints): Likewise.
8372 (test_initial_complaints): Update.
8374 2018-05-23 Tom Tromey <tom@tromey.com>
8376 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
8378 2018-05-23 Tom Tromey <tom@tromey.com>
8380 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
8381 (test_short_complaints): Update.
8383 2018-05-22 Pedro Alves <palves@redhat.com>
8385 * gdb.base/remote.exp: Only gdb_start after compiling the
8386 testcase. Issue "disconnect" before testing "set remote" command
8387 defaults. Issue clean_restart before running to main.
8389 2018-05-22 Pedro Alves <palves@redhat.com>
8391 * gdb.base/remote.exp: Adjust expected output of "show remote
8392 memory-write-packet-size". Add tests for "set remote
8393 memory-write-packet-size 0" and "set remote
8394 memory-write-packet-size fixed/limit".
8396 2018-05-22 Pedro Alves <palves@redhat.com>
8399 * gdb.base/utf8-identifiers.c: New file.
8400 * gdb.base/utf8-identifiers.exp: New file.
8402 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
8404 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
8406 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
8408 * gdb.arch/powerpc-vsx-gcore.exp: New file.
8410 2018-05-18 Tom Tromey <tom@tromey.com>
8412 * gdb.base/ptype-offsets.exp: Update.
8414 2018-05-17 Keith Seitz <keiths@redhat.com>
8416 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
8417 in expected breakpoint stop locations.
8418 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
8419 move to proper scope to test variable values.
8420 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
8421 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
8423 (main): Call not_inline_func3.
8424 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
8425 inline_func1, inline_func2, and inline_func3. Test that when each
8426 breakpoint is hit, GDB properly reports both the stop location
8427 and the backtrace. Repeat tests for temporary breakpoints.
8429 2018-05-15 Maciej W. Rozycki <macro@mips.com>
8431 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
8432 rather then trying to access it in determining whether the PID
8433 of `gdbserver' could have been retrieved.
8435 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
8437 * gdb.arch/amd64-init-x87-values.S: New file.
8438 * gdb.arch/amd64-init-x87-values.exp: New file.
8440 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8442 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
8444 2018-05-04 Tom Tromey <tom@tromey.com>
8447 * gdb.python/python.exp: Test multi-line execute.
8449 2018-05-04 Tom Tromey <tom@tromey.com>
8452 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
8454 2018-05-04 Tom Tromey <tom@tromey.com>
8457 * gdb.base/define.exp: Test defining a user command inside a user
8459 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
8461 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8462 Pedro Alves <palves@redhat.com>
8464 PR breakpoints/19806 and support for PR external/20207.
8465 * gdb.base/watchpoint-unaligned.c: New file.
8466 * gdb.base/watchpoint-unaligned.exp: New file.
8468 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
8470 * gdb.base/maint.exp: Make test names unique, use
8471 test_prefix_command_help to test 'help maint info', and remove
8472 repeated test of 'help maint'.
8474 2018-05-04 Tom Tromey <tom@tromey.com>
8477 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
8480 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
8482 * gdb.base/maint.exp: Process output from 'maint print registers'
8485 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
8487 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
8490 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
8492 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
8495 2018-05-02 Pedro Alves <palves@redhat.com>
8497 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
8498 to_log_command renames.
8499 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
8501 2018-05-02 Tom Tromey <tom@tromey.com>
8503 * gdb.python/py-parameter.exp: Set test message.
8505 2018-05-02 Tom Tromey <tom@tromey.com>
8508 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
8509 PARAM_ZUINTEGER_UNLIMITED tests.
8511 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
8514 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
8517 2018-04-30 Tom Tromey <tom@tromey.com>
8519 * gdb.python/py-type.exp: Check align attribute.
8520 * gdb.python/py-type.c: New "aligncheck" global.
8522 2018-04-30 Tom Tromey <tom@tromey.com>
8525 * gdb.dwarf2/dw2-align.exp: New file.
8526 * gdb.cp/align.exp: New file.
8527 * gdb.base/align.exp: New file.
8528 * lib/gdb.exp (gdb_int128_helper): New proc.
8529 (has_int128_c, has_int128_cxx): New caching procs.
8531 2018-04-27 Tom Tromey <tom@tromey.com>
8534 * gdb.rust/simple.exp: Add inclusive range tests.
8536 2018-04-26 Pedro Alves <palves@redhat.com>
8538 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
8539 ifunc breakpoint locations correctly of ifunc breakpoints set
8540 while the program resolves the ifunc.
8542 2018-04-26 Pedro Alves <palves@redhat.com>
8544 * gdb.base/gnu-ifunc-final.c: New file.
8545 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
8546 * gdb.base/gnu-ifunc.exp (executable): Delete.
8547 (staticexecutable): Adjust.
8548 (lib_opts, exec_opts): Delete.
8549 (make_binsuffix, build, set-break): New procedures.
8550 (misc_tests): New, with tests factored out from the top level.
8551 (top level): Test different combinations of ifunc resolver name,
8552 resolver with and with debug info, and ifunc target with and
8553 without debug info. Wrap static tests with with_target_prefix.
8555 2018-04-26 Pedro Alves <palves@redhat.com>
8557 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
8558 return type" warnings.
8560 2018-04-25 Pedro Alves <palves@redhat.com>
8562 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
8564 * gdb.base/kill-after-signal.exp: Likewise.
8565 * gdb.threads/kill.exp: Likewise.
8567 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8568 Sergio Durigan Junior <sergiodj@redhat.com>
8569 Pedro Alves <palves@redhat.com>
8571 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
8572 regexps to expect for '[Inferior ... detached]' as well.
8573 * gdb.base/attach.exp: Likewise.
8574 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
8575 "gdb_continue_to_end".
8576 (test_catch_syscall_with_wrong_args): Likewise.
8577 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
8578 ']'. Don't set 'verbose' on.
8579 * gdb.base/foll-vfork.exp: Likewise.
8580 * gdb.base/fork-print-inferior-events.c: New file.
8581 * gdb.base/fork-print-inferior-events.exp: New file.
8582 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
8583 '[Inferior ... has been killed]' message.
8584 * gdb.base/kill-after-signal.exp: Likewise.
8585 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
8587 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
8589 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
8590 regexps to expect for '[Inferior ... detached]' as well.
8591 * gdb.threads/process-dies-while-detaching.exp: Likewise.
8593 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
8596 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
8598 2018-04-22 Rajendra SY <rajendra.sy@gmail.com>
8601 * gdb.base/break-probes.exp: Pass shlib_load to
8602 prepare_for_testing. Set normal_bp to r_debug_state if target is
8605 2018-04-19 Richard Bunt <richard.bunt@arm.com>
8607 * gdb.threads/multiple-successive-infcall.c: New test.
8608 * gdb.threads/multiple-successive-infcall.exp: New file.
8610 2018-04-17 Tom Tromey <tom@tromey.com>
8612 * gdb.rust/simple.rs (Union): New type.
8613 (main): New local "u".
8614 * gdb.rust/simple.exp (test_one_slice): Add new test case.
8616 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8618 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
8619 number information in output of "whereis" command.
8620 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
8622 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8624 * gdb.ada/info_types.exp: Adjust expected output to the line
8625 numbers now printed by "info var/func/type".
8626 * gdb.base/completion.exp: Likewise.
8627 * gdb.base/included.exp: Likewise.
8628 * gdb.cp/cp-relocate.exp: Likewise.
8629 * gdb.cp/cplusfuncs.exp: Likewise.
8630 * gdb.cp/namespace.exp: Likewise.
8631 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
8633 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
8635 * gdb.btrace/cpu.exp: New.
8637 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
8639 * gdb.base/step-indirect-call-thunk.exp: New.
8640 * gdb.base/step-indirect-call-thunk.c: New.
8641 * gdb.reverse/step-indirect-call-thunk.exp: New.
8642 * gdb.reverse/step-indirect-call-thunk.c: New.
8644 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
8646 * gdb.base/pie-fork.c: New file.
8647 * gdb.base/pie-fork.exp: New file.
8649 2018-04-11 Tom Tromey <tom@tromey.com>
8651 * gdb.rust/simple.exp: Add test for ".." struct initializer.
8653 2018-04-10 Pedro Alves <palves@redhat.com>
8655 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
8656 exits. Instead loop running forever.
8657 (fork_parent): Run forever too.
8659 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
8661 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
8662 mi_continue_to_line.
8663 * gdb.mi/mi-stack.c (callee4): Add comment.
8665 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
8667 * gdb.mi/mi-stack.exp: Fix indentation.
8669 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
8672 * gdb.arch/amd64-osabi.exp: New file.
8674 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
8677 * gdb.base/osabi.exp: New file.
8679 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
8681 * gdb.cp/static-typedef-print.exp: New file.
8682 * gdb.cp/static-typedef-print.cc: New file.
8684 2018-03-27 Joel Brobecker <brobecker@adacore.com>
8686 * gdb.ada/varsize_limit: New testcase.
8688 2018-03-27 Joel Brobecker <brobecker@adacore.com>
8690 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
8692 * gdb.ada/notcplusplus: New testcase.
8694 * gdb.base/c-linkage-name.c: New file.
8695 * gdb.base/c-linkage-name.exp: New testcase.
8697 2018-03-26 Tom Tromey <tom@tromey.com>
8699 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
8700 * gdb.python/py-framefilter.py (name_error): New global.
8701 (ErrorInName.function): Use name_error.
8703 2018-03-26 Tom Tromey <tom@tromey.com>
8706 * gdb.python/py-framefilter.exp: Add "bt hide" test.
8708 2018-03-23 Keith Seitz <keiths@redhat.com>
8711 * gdb.cp/subtypes.exp: New file.
8712 * gdb.cp/subtypes.h: New file.
8713 * gdb.cp/subtypes.cc: New file.
8714 * gdb.cp/subtypes-2.cc: New file.
8716 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
8718 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
8719 (done): Call '_exit' not 'exit' to avoid atexit handlers.
8720 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
8721 -nostartfiles when compiling the test. Confirm that all registers
8722 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
8724 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
8726 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
8727 option, syntax was wrong anyway.
8728 * gdb.arch/arm-disp-step.exp: Likewise.
8729 * gdb.arch/sparc64-regs.exp: Likewise.
8730 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
8731 option, syntax was wrong anyway, switch to use
8732 prepare_for_testing.
8733 * gdb.arch/i386-disp-step.exp: Likewise.
8735 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
8737 * gdb.ada/exec_changed.exp: Replace "target_info exists
8738 use_gdb_stub" by "use_gdb_stub".
8739 * gdb.ada/start.exp: Likewise.
8740 * gdb.base/async-shell.exp: Likewise.
8741 * gdb.base/attach-pie-misread.exp: Likewise.
8742 * gdb.base/attach-wait-input.exp: Likewise.
8743 * gdb.base/break-entry.exp: Likewise.
8744 * gdb.base/break-interp.exp: Likewise.
8745 * gdb.base/dprintf-detach.exp: Likewise.
8746 * gdb.base/nostdlib.exp: Likewise.
8747 * gdb.base/solib-nodir.exp: Likewise.
8748 * gdb.base/statistics.exp: Likewise.
8749 * gdb.base/testenv.exp: Likewise.
8750 * gdb.mi/mi-exec-run.exp: Likewise.
8751 * gdb.mi/mi-start.exp: Likewise.
8752 * gdb.multi/dummy-frame-restore.exp: Likewise.
8753 * gdb.multi/multi-arch-exec.exp: Likewise.
8754 * gdb.multi/multi-arch.exp: Likewise.
8755 * gdb.multi/tids.exp: Likewise.
8756 * gdb.multi/watchpoint-multi.exp: Likewise.
8757 * gdb.python/py-events.exp: Likewise.
8758 * gdb.threads/attach-into-signal.exp: Likewise.
8759 * gdb.threads/attach-stopped.exp: Likewise.
8760 * gdb.threads/threadapply.exp: Likewise.
8761 * lib/selftest-support.exp: Likewise.
8763 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
8765 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
8767 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
8769 * gdb.perf/template-breakpoints.cc: New file.
8770 * gdb.perf/template-breakpoints.exp: New file.
8771 * gdb.perf/template-breakpoints.py: New file.
8773 2018-03-19 Tom Tromey <tom@tromey.com>
8775 * gdb.rust/simple.rs (main): Add local variables field1, field2,
8777 * gdb.rust/simple.exp: Test bare identifier form of struct
8780 2018-03-19 Tom Tromey <tom@tromey.com>
8782 * gdb.gdb/observer.exp: Remove.
8784 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
8786 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
8787 "qualified" option when setting breakpoints.
8788 * gdb.trace/backtrace.exp: Likewise.
8789 * gdb.trace/circ.exp: Likewise.
8790 * gdb.trace/collection.exp: Likewise.
8791 * gdb.trace/disconnected-tracing.exp: Likewise.
8792 * gdb.trace/ftrace-lock.exp: Likewise.
8793 * gdb.trace/ftrace.exp: Likewise.
8794 * gdb.trace/infotrace.exp: Likewise.
8795 * gdb.trace/packetlen.exp: Likewise.
8796 * gdb.trace/passc-dyn.exp: Likewise.
8797 * gdb.trace/qtro.exp: Likewise.
8798 * gdb.trace/read-memory.exp: Likewise.
8799 * gdb.trace/report.exp: Likewise.
8800 * gdb.trace/signal.exp: Likewise.
8801 * gdb.trace/status-stop.exp: Likewise.
8802 * gdb.trace/strace.exp: Likewise.
8803 * gdb.trace/tfind.exp: Likewise.
8804 * gdb.trace/trace-break.exp: Likewise.
8805 * gdb.trace/trace-condition.exp: Likewise.
8806 * gdb.trace/trace-mt.exp: Likewise.
8807 * gdb.trace/tstatus.exp: Likewise.
8808 * gdb.trace/tsv.exp: Likewise.
8809 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
8810 * gdb.trace/unavailable.exp: Likewise.
8811 * gdb.trace/while-dyn.exp: Likewise.
8813 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8815 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
8816 that libinproctrace is copied to the target.
8818 2018-03-14 Tom Tromey <tom@tromey.com>
8821 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
8823 * gdb.base/wchar.exp: Likewise.
8825 2018-03-14 Tom Tromey <tom@tromey.com>
8828 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
8831 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
8834 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
8835 "target" to remote_exec.
8837 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
8840 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
8841 ${board}_upload): Remove.
8843 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
8845 * gdb.cp/watch-cp.cc: New test.
8846 * gdb.cp/watch-cp.exp: New file.
8848 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
8850 * gdb.base/infcall-nested-structs.exp: New file.
8851 * gdb.base/infcall-nested-structs.c: New file.
8852 * gdb.base/float.exp: Add riscv support.
8854 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
8856 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
8857 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
8859 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
8861 * gdb.server/abspath.exp: New file.
8862 * lib/gdb.exp (with_cwd): New procedure.
8864 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
8866 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
8868 (gdb_is_target_remote_prompt): New proc.
8869 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
8870 (gdb_is_target_native): Pass prompt parameter to
8873 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
8875 * gdb.base/load-command.c: New file.
8876 * gdb.base/load-command.exp: New file.
8877 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
8878 (gdb_is_target_1): ...this, and generalize for other targets
8880 (gdb_is_target_remote): Use gdb_is_target_1.
8881 (gdb_is_target_native): use gdb_is_target_1.
8883 2018-02-26 Tom Tromey <tom@tromey.com>
8886 * gdb.python/py-framefilter.exp: Update test.
8888 2018-02-26 Tom Tromey <tom@tromey.com>
8890 * gdb.dwarf2/variant.c: New file.
8891 * gdb.dwarf2/variant.exp: New file.
8893 2018-02-26 Tom Tromey <tom@tromey.com>
8895 * gdb.rust/simple.exp: Accept more possible results in enum test.
8897 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
8899 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
8902 2018-02-23 Maciej W. Rozycki <macro@mips.com>
8904 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
8905 name of a variable: $actual_linejj -> $actual_line.
8907 2018-02-21 John Baldwin <jhb@FreeBSD.org>
8909 * gdb.arch/amd64-i386-address.exp: Fix a typo.
8911 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
8913 * gdb.btrace/buffer-size.exp: Do not force BTS.
8915 2018-02-14 Pedro Alves <palves@redhat.com>
8917 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
8920 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
8922 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
8925 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
8927 * gdb.cp/m-static.exp: Check type of optimized out static
8930 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
8932 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
8933 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
8935 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
8936 Leszek Swirski <leszeks@google.com>
8938 * gdb.python/py-prettyprint.c
8939 (struct to_string_returns_value_inner,
8940 struct to_string_returns_value_wrapper): New.
8941 (main): Add tsrvw variable.
8942 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
8943 ToStringReturnsValueWrapper): New classes.
8944 (register_pretty_printers): Register new pretty-printers.
8945 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
8946 recursive pretty printer.
8947 * gdb.python/py-mi.exp: Likewise.
8949 2018-02-01 Leszek Swirski <leszeks@google.com>
8951 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
8952 functions with the same name as an include file are parsed
8955 2018-02-01 Yao Qi <yao.qi@linaro.org>
8957 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
8960 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
8962 * gdb.arch/powerpc-prologue-frame.s: New file.
8963 * gdb.arch/powerpc-prologue-frame.c: Likewise.
8964 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
8966 2018-01-31 Joel Brobecker <brobecker@adacore.com>
8968 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
8970 2018-01-30 Pedro Alves <palves@redhat.com>
8973 * gdb.base/interrupt-daemon.c: New.
8974 * gdb.base/interrupt-daemon.exp: New.
8975 * gdb.multi/multi-term-settings.c: New.
8976 * gdb.multi/multi-term-settings.exp: New.
8978 2018-01-30 Joel Brobecker <brobecker@adacore.com>
8980 * gdb.base/break.exp: Save the location where the breakpoint
8981 on break.c:47 was actually inserted when debugging the version
8982 compiled at -O2 and use it in the expected output of the "info
8983 break" test performed soon after.
8985 2018-01-22 Pedro Alves <palves@redhat.com>
8986 Sergio Durigan Junior <sergiodj@redhat.com>
8988 * gdb.base/whatis.exp: Add tests for 'set print object on' +
8989 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
8991 2018-01-22 Joel Brobecker <brobecker@adacore.com>
8993 * gdb.base/break-include.c, gdb.base/break-include.inc,
8994 gdb.base/break-include.exp: New files.
8995 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
8996 line number now being the actual line number where the breakpoint
8998 * gdb.mi/mi-break.exp: Likewise.
8999 * gdb.mi/mi-reverse.exp: Likewise.
9000 * gdb.mi/mi-simplerun.exp: Ditto.
9002 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
9004 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
9006 * gdb.mi/mi-var-create-rtti.exp: Likewise.
9008 2018-01-21 Don Breazeal <donb@codesourcery.com>
9009 Andrew Burgess <andrew.burgess@embecosm.com>
9011 * gdb.mi/basics.c: Add new global.
9012 * gdb.mi/mi-frame-regs.exp: New file.
9013 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
9016 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
9018 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
9019 non-parameter, and on an unknown symbol.
9021 2018-01-19 Tom Tromey <tom@tromey.com>
9023 * gdb.rust/modules.rs (TWENTY_THREE): New global.
9024 * gdb.rust/modules.exp: Add ::-qualified lookup test.
9026 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
9028 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
9029 setrlimit and chdir to int.
9031 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
9033 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
9035 (my_tend): Likewise.
9036 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
9037 rationale of avoiding FP- and vector instructions.
9039 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
9041 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
9042 "info reg" with "\[ \t\]*".
9043 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
9045 * gdb.arch/s390-multiarch.exp: Ditto.
9046 * gdb.base/pc-fp.exp: Ditto.
9047 * gdb.reverse/i386-precsave.exp: Ditto.
9048 * gdb.reverse/i386-reverse.exp: Ditto.
9049 * gdb.reverse/i387-env-reverse.exp: Ditto.
9050 * gdb.reverse/i387-stack-reverse.exp: Ditto.
9052 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
9054 * lib/gdb.exp (gdb_compile): Re-enable use of
9055 universal_compile_options for languages other than Rust.
9057 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
9059 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
9061 2018-01-17 Mike Gulick <mgulick@mathworks.com>
9064 * gdb.base/solib-vanish.exp: New.
9065 * gdb.base/solib-vanish-main.c: New.
9066 * gdb.base/solib-vanish-lib1.c: New.
9067 * gdb.base/solib-vanish-lib2.c: New.
9069 2018-01-17 Yao Qi <yao.qi@linaro.org>
9071 * gdb.compile/compile.exp: Match the address printed for
9072 frame in the output of command "bt".
9074 2018-01-15 Tom Tromey <tom@tromey.com>
9076 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
9079 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
9081 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
9083 (prepare): Return 0 on error, 1 on success.
9085 2018-01-12 Pedro Alves <palves@redhat.com>
9087 * gdb.base/continue-after-aborted-step-over.c: New.
9088 * gdb.base/continue-after-aborted-step-over.exp: New.
9090 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
9092 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
9093 options when not creating an executable.
9095 2018-01-11 Pedro Alves <palves@redhat.com>
9098 * gdb.server/stop-reply-no-thread.c: New file.
9099 * gdb.server/stop-reply-no-thread.exp: New file.
9101 2018-01-10 Pedro Alves <palves@redhat.com>
9104 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
9105 functions too. Test setting breakpoints and printing C functions
9106 with no debug info too.
9107 * gdb.ada/bp_c_mixed_case/qux.c: New file.
9109 2018-01-10 Pedro Alves <palves@redhat.com>
9112 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
9115 2018-01-10 Pedro Alves <palves@redhat.com>
9118 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
9120 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
9122 * gdb.server/unittest.exp: Match the output in non-development
9125 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
9127 * gdb.gdb/unittest.exp: Match output in non-development mode.
9129 2018-01-08 Joel Brobecker <brobecker@adacore.com>
9131 * gdb.ada/access_tagged_param.exp: Relax expected output
9132 for value of "ObjL" in "continue" to pck.inspect breakpoint
9135 2018-01-08 Joel Brobecker <brobecker@adacore.com>
9137 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
9138 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
9140 2018-01-05 Pedro Alves <palves@redhat.com>
9143 * gdb.base/libsegfault.exp: New.
9145 2018-01-05 Joel Brobecker <brobecker@adacore.com>
9148 * gdb.ada/access_tagged_param.exp: New file.
9149 * gdb.ada/access_tagged_param/foo.adb: New file.
9151 2018-01-05 Pedro Alves <palves@redhat.com>
9154 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
9155 exercise lower case too, and to exercise both full matching and
9158 2018-01-05 Joel Brobecker <brobecker@adacore.com>
9160 * gdb.ada/rename_subscript_param: New testcase.
9162 2018-01-05 Jerome Guitton <guitton@adacore.com>
9164 * gdb.ada/arr_acc_idx_w_gap: New testcase.
9166 2018-01-05 Joel Brobecker <brobecker@adacore.com>
9168 * gdb.ada/convvar_comp: New testcase.
9170 2018-01-05 Xavier Roirand <roirand@adacore.com>
9172 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
9173 (My_Table): New global variable.
9174 * testsuite/gdb.ada/array_char_idx.exp: Add test.
9176 2018-01-04 Joel Brobecker <brobecker@adacore.com>
9179 * gdb.ada/maint_with_ada: New testcase.
9181 2018-01-04 Joel Brobecker <brobecker@adacore.com>
9184 * gdb.ada/bp_c_mixed_case: New testcase.
9186 2018-01-04 Joel Brobecker <brobecker@adacore.com>
9189 * gdb.ada/complete.exp: Add "complete break ada" test.
9191 2018-01-04 Joel Brobecker <brobecker@adacore.com>
9194 * gdb.ada/info_addr_mixed_case: New testcase.
9196 2018-01-03 Xavier Roirand <roirand@adacore.com>
9198 * gdb.ada/excep_handle.exp: New testcase.
9199 * gdb.ada/excep_handle/foo.adb: New file.
9200 * gdb.ada/excep_handle/pck.ads: New file.
9202 2018-01-03 Joel Brobecker <brobecker@adacore.com>
9204 * gdb.base/step-line.c: Add extra empty line in copyright header.
9205 * gdb.base/step-line.inp: Likewise.
9207 2018-01-02 Joel Brobecker <brobecker@adacore.com>
9209 * gdb.ada/dyn_stride.exp: Add slice test.
9211 2018-01-02 Joel Brobecker <brobecker@adacore.com>
9213 * gdb.ada/dyn_stride: New testcase.
9215 2017-12-27 Stafford Horne <shorne@gmail.com>
9217 * gdb.xml/extra-regs.xml: Add example foo reggroup.
9218 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
9220 2017-12-27 Stafford Horne <shorne@gmail.com>
9222 * gdb.base/reggroups.c: New file.
9223 * gdb.base/reggroups.exp: New file.
9225 2017-12-18 Joel Brobecker <brobecker@adacore.com>
9227 * gdb.dwarf2/ada-valprint-error.c: New file.
9228 * gdb.dwarf2/ada-valprint-error.exp: New file.
9230 2017-12-18 Joel Brobecker <brobecker@adacore.com>
9232 * gdb.ada/assign_arr: New testcase.
9234 2017-12-18 Xavier Roirand <roirand@adacore.com>
9236 * gdb.ada/funcall_ptr: New testcase.
9238 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
9241 * gdb.base/ptype-offsets.cc: New file.
9242 * gdb.base/ptype-offsets.exp: New file.
9244 2017-12-15 Yao Qi <yao.qi@linaro.org>
9246 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
9249 2017-12-15 Xavier Roirand <roirand@adacore.com>
9251 * gdb.ada/same_component_name: New testcase.
9253 2017-12-14 Joel Brobecker <brobecker@adacore.com>
9255 * gdb.ada/str_binop_equal: New testcase.
9257 2017-12-14 Joel Brobecker <brobecker@adacore.com>
9259 * gdb.ada/task_switch_in_core: New testcase.
9261 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
9263 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
9264 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
9265 call test_bkpt_qualified.
9266 (test_bkpt_qualified): New proc.
9268 2017-12-13 Pedro Alves <palves@redhat.com>
9270 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
9271 Tighten regexp by matching with an anchor.
9273 2017-12-13 Pedro Alves <palves@redhat.com>
9275 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
9276 ("expression with namespace"): New set of tests.
9277 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
9278 (Nested::Test_NS::qux): New.
9279 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
9280 defaults to 'start_quote_char' and 'end_quote_char' parameters.
9282 2017-12-13 Joel Brobecker <brobecker@adacore.com>
9284 * gdb.base/server-del-break.c: New file.
9285 * gdb.base/server-del-break.exp: New file.
9287 2017-12-12 Stafford Horne <shorne@gmail.com>
9289 * gdb.xml/tdesc-regs.exp: Add or1k support.
9291 2017-12-12 Stafford Horne <shorne@gmail.com>
9293 * gdb.base/bp-permanent.c: Define nop of or1k.
9295 2017-12-11 Joel Brobecker <brobecker@adacore.com>
9297 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
9298 output with components being reordered.
9300 2017-12-11 Joel Brobecker <brobecker@adacore.com>
9302 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
9303 output with components being reordered.
9305 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9306 Pedro Alves <palves@redhat.com>
9308 * gdb.base/maint.exp (check for .gdb_index): Check also for
9310 * gdb.dlang/watch-loc.c (.debug_aranges): New.
9311 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
9312 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
9313 (.gdb_index used after symbol reloading): Support also .debug_names.
9314 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
9316 2017-12-08 Yao Qi <yao.qi@linaro.org>
9318 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
9319 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
9321 2017-12-08 Yao Qi <yao.qi@linaro.org>
9323 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
9324 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
9326 2017-12-08 Yao Qi <yao.qi@linaro.org>
9328 * gdb.arch/aarch64-tagged-pointer.c: New file.
9329 * gdb.arch/aarch64-tagged-pointer.exp: New file.
9331 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
9333 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
9336 2017-12-07 Keith Seitz <keiths@redhat.com>
9338 PR breakpoints/22569
9339 * gdb.linespec/ls-errs.exp: Change expected result of "break
9340 -source this file has spaces.c -line 3".
9341 Check that an explicit source file followed by whitespace is
9342 identified as an invalid explicit location.
9344 2017-12-07 Keith Seitz <keiths@redhat.com>
9346 * gdb.cp/nested-types.cc: New file.
9347 * gdb.cp/nested-types.exp: New file.
9348 * lib/cp-support.exp: Load data-structures.exp library.
9349 (debug_cp_test_ptype_class): New global.
9350 (cp_ptype_class_verbose, next_line): New procedures.
9351 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
9352 Add and document new return value.
9353 Switch the list of lines to a queue.
9354 Add support for new `type' key for nested type definitions.
9355 Add debugging/troubleshooting messages.
9356 * lib/data-structures.exp: New file.
9358 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
9360 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
9361 with proc_with_prefix, don't use with_test_prefix.
9363 2017-12-07 Tom Tromey <tom@tromey.com>
9365 * gdb.base/break.exp: Add test for empty "commands".
9367 2017-12-07 Yao Qi <yao.qi@linaro.org>
9369 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
9370 malloc and catch syscall.
9372 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
9374 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
9375 tests for explicit locations.
9377 2017-12-06 Pedro Alves <palves@redhat.com>
9379 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
9380 force-disabling XML descriptions.
9382 2017-12-04 Pedro Alves <palves@redhat.com>
9385 * gdb.arch/amd64-disp-step-avx.S: New file.
9386 * gdb.arch/amd64-disp-step-avx.exp: New file.
9388 2017-12-03 Pedro Alves <palves@redhat.com>
9390 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
9392 (parent_function): Print distinct messages when waitpid fails, or
9393 the child exits with a signal, or the child exits for an unhandled
9395 * gdb.threads/process-dies-while-detaching.exp
9396 (detach_and_expect_exit): New 'inf_output_re' parameter and use
9397 it. Wait for both inferior output and GDB's prompt. Use an
9398 indirect spawn id list.
9399 (do_detach): New parameter 'child_exit'. Use it to compute
9400 expected inferior output.
9401 (test_detach, test_detach_watch, test_detach_killed_outside):
9402 Adjust to pass down the expected child exit kind.
9404 2017-12-01 Joel Brobecker <brobecker@adacore.com>
9405 Sergio Durigan Junior <sergiodj@redhat.com>
9406 Pedro Alves <palves@redhat.com>
9408 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
9410 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
9412 * gdb.base/relocate.exp: Add tests to guarantee that arguments
9413 to 'symbol-file' and 'add-symbol-file' can be
9414 position-independent.
9416 2017-12-01 Yao Qi <yao.qi@linaro.org>
9418 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
9419 the URL in copyright header.
9420 * gdb.arch/aarch64-fp.exp: Likewise.
9421 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
9422 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
9423 * gdb.base/expand-psymtabs.exp: Likewise.
9424 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
9425 * gdb.fortran/common-block.exp: Likewise.
9426 * gdb.fortran/common-block.f90: Likewise.
9427 * gdb.fortran/logical.exp: Likewise.
9428 * gdb.fortran/vla-datatypes.f90: Likewise.
9429 * gdb.fortran/vla-sub.f90: Likewise.
9431 2017-11-30 Joel Brobecker <brobecker@adacore.com>
9433 * gdb.ada/repeat_dyn: New testcase.
9435 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
9437 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
9438 Update for changed thread numbering.
9439 * gdb.cell/bt.exp: Update for changed GDB output.
9441 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
9443 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
9444 setting isremote by hand.
9445 * boards/dwarf4-gdb-index.exp: Likewise.
9446 * boards/fission.exp: Likewise.
9447 * boards/stabs.exp: Likewise.
9449 2017-11-30 Pedro Alves <palves@redhat.com>
9451 * gdb.linespec/cpls-ops.exp
9452 (check_explicit_skips_function_argument): Extract the underlying
9453 type of size_t instead of hardcoding it.
9455 2017-11-29 Pedro Alves <palves@redhat.com>
9458 * gdb.linespec/cpls-abi-tag.cc: New file.
9459 * gdb.linespec/cpls-abi-tag.exp: New file.
9461 2017-11-29 Pedro Alves <palves@redhat.com>
9463 * gdb.base/langs.exp: Use -qualified.
9464 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
9466 * gdb.cp/namespace.exp: Use -qualified.
9467 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
9468 (overload-3, template-overload, template-ret-type, const-overload)
9469 (const-overload-quoted, anon-ns, ambiguous-prefix): New
9471 (test_driver): Call them.
9472 * gdb.cp/save-bp-qualified.cc: New.
9473 * gdb.cp/save-bp-qualified.exp: New.
9474 * gdb.linespec/explicit.exp: Test -qualified.
9475 * lib/completion-support.exp (completion::explicit_opts_list): Add
9477 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
9479 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
9481 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
9483 2017-11-29 Tom Tromey <tom@tromey.com>
9485 * gdb.base/relocate.exp: Update invalid argument test.
9486 Add new tests for invalid arguments.
9488 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
9490 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
9492 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
9494 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
9496 * gdb.cp/breakpoint.cc (bar): Set return type to void.
9497 * gdb.cp/psymtab-parameter.cc (func): Likewise.
9498 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
9500 * gdb.cp/shadow.cc (B.func): Return 0.
9502 2017-11-27 Joel Brobecker <brobecker@adacore.com>
9504 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
9505 expected output in gdb_expect call to allow the exception
9506 message to be present as well. Fix syntax confusion to avoid
9507 TCL thinking that exception_name is an array.
9509 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
9511 * gdb.arch/spu-info.c: Include <unistd.h>.
9512 (do_signal_test): Fix broken calls to write.
9513 * gdb.arch/spu-info.exp: Use prepare_for_testing.
9514 Fix checks for empty mailboxes. Update signal tests for corrected
9515 do_signal_test routine. Allow nonzero event status.
9516 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
9517 * gdb.cell/arch.exp: Use standard_output_file.
9518 * gdb.cell/break.exp: Likewise.
9519 * gdb.cell/bt.exp: Likewise.
9520 * gdb.cell/core.exp: Likewise.
9521 * gdb.cell/dwarfaddr.exp: Likewise.
9522 * gdb.cell/ea-cache.exp: Likewise.
9523 * gdb.cell/ea-standalone.exp: Likewise.
9524 * gdb.cell/f-regs.exp: Likewise.
9525 * gdb.cell/fork.exp: Likewise.
9526 * gdb.cell/gcore.exp: Likewise.
9527 * gdb.cell/mem-access.exp: Likewise.
9528 * gdb.cell/ptype.exp: Likewise.
9529 * gdb.cell/registers.exp: Likewise.
9530 * gdb.cell/sizeof.exp: Likewise.
9531 * gdb.cell/solib-symbol.exp: Likewise.
9532 * gdb.cell/solib.exp: Likewise.
9534 2017-11-25 Pedro Alves <palves@redhat.com>
9536 * gdb.base/complete-empty.exp: New file.
9537 * gdb.base/completion.exp: Adjust.
9539 2017-11-25 Pedro Alves <palves@redhat.com>
9541 * gdb.linespec/cpls-ops.cc: New file.
9542 * gdb.linespec/cpls-ops.exp: New file.
9543 * lib/completion-support.exp (test_complete_prefix_range_re): New,
9544 factored out from ...
9545 (test_complete_prefix_range): ... this.
9547 2017-11-24 Pedro Alves <palves@redhat.com>
9549 * gdb.linespec/cpcompletion.exp: New file.
9550 * gdb.linespec/cpls-hyphen.cc: New file.
9551 * gdb.linespec/cpls.cc: New file.
9552 * gdb.linespec/cpls2.cc: New file.
9553 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
9554 test to use test_gdb_complete_unique. Add label completion,
9555 keyword completion and explicit location completion tests.
9556 * lib/completion-support.exp: New file.
9558 2017-11-24 Joel Brobecker <brobecker@adacore.com>
9560 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
9561 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
9562 when hitting an exception catchpoint.
9564 2017-11-22 Yao Qi <yao.qi@linaro.org>
9566 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
9568 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
9570 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
9571 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
9572 * gdb.dwarf2/info-locals-optimized-out.c: New file.
9574 2017-11-22 Yao Qi <yao.qi@linaro.org>
9576 * gdb.base/info-os.exp: Pass pthreads.
9577 * gdb.multi/multi-attach.exp: Likewise.
9579 2017-11-22 Yao Qi <yao.qi@linaro.org>
9581 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
9584 2017-11-22 Yao Qi <yao.qi@linaro.org>
9586 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
9587 * gdb.base/break-interp.exp: Likewise.
9588 * gdb.base/jit-attach-pie.exp: Likewise.
9590 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
9592 * gdb.base/float128.c (large128): New variable.
9593 * gdb.base/float128.exp: Add test to print largest __float128 value.
9595 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
9597 * gdb.arch/vsx-regs.exp: Update register content checks.
9599 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
9601 * gdb.arch/ppc-longdouble.exp: New file.
9602 * gdb.arch/ppc-longdouble.c: Likewise.
9604 2017-11-21 Pedro Alves <palves@redhat.com>
9606 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
9608 2017-11-20 Pedro Alves <palves@redhat.com>
9610 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
9611 (long_double_typedef): New typedefs.
9612 Use DEF on double and long double.
9613 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
9615 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
9616 and 'long_double_ptr_same_size' locals. Use them to decide
9617 whether cast from array/function to float is valid/invalid.
9619 2017-11-17 Tom Tromey <tom@tromey.com>
9621 * gdb.rust/traits.rs: New file.
9622 * gdb.rust/traits.exp: New file.
9624 2017-11-17 Joel Brobecker <brobecker@adacore.com>
9626 * gdb.ada/minsyms: New testcase.
9628 2017-11-16 Pedro Alves <palves@redhat.com>
9630 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
9631 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
9633 2017-11-16 Pedro Alves <palves@redhat.com>
9635 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
9636 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
9638 2017-11-16 Pedro Alves <palves@redhat.com>
9640 * gdb.server/reconnect-ctrl-c.c: New file.
9641 * gdb.server/reconnect-ctrl-c.exp: New file.
9643 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
9645 * gdb.python/py-rbreak.exp: New file.
9646 * gdb.python/py-rbreak.c: New file.
9647 * gdb.python/py-rbreak-func2.c: New file.
9649 2017-11-16 Pedro Alves <palves@redhat.com>
9651 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
9653 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
9656 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
9658 * gdb.tui/completionn.exp (test_tab_completion): Add space in
9661 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
9663 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
9666 2017-11-09 Pedro Alves <palves@redhat.com>
9668 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
9669 factored out from ...
9670 (top level): ... here, and adjusted to avoid expecting beyond the
9671 prompt in a single gdb_test_multiple.
9673 2017-11-09 Pedro Alves <palves@redhat.com>
9675 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
9677 * gdb.server/ext-attach.exp ("kill" test): Likewise.
9678 * gdb.server/ext-restart.exp ("kill" test): Likewise.
9679 * gdb.server/ext-run.exp ("kill" test): Likewise.
9680 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
9682 2017-11-09 Pedro Alves <palves@redhat.com>
9684 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
9685 match till end of line.
9687 2017-11-09 Pedro Alves <palves@redhat.com>
9689 * gdb.base/memattr.exp: Tighten regexes to match the end line.
9691 2017-11-09 Pedro Alves <palves@redhat.com>
9693 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
9694 New procedures, factored out from ...
9695 (top level): ... here, and adjusted to avoid expecting beyond the
9698 2017-11-09 Pedro Alves <palves@redhat.com>
9700 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
9701 output. Fix '?' match.
9703 2017-11-08 Joel Brobecker <brobecker@adacore.com>
9705 * gdb.ada/scoped_watch: New testcase.
9706 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
9707 which is actually correct.
9708 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
9709 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
9711 2017-11-08 Pedro Alves <palves@redhat.com>
9713 * gdb.gdb/complaints.exp (test_initial_complaints)
9714 (test_serial_complaints, test_short_complaints): Call
9715 complaint_internal instead of complaint.
9717 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
9719 * gdb.threads/tls-core.c: New file.
9720 * gdb.threads/tls-core.exp: Likewise.
9722 2017-11-08 Pedro Alves <palves@redhat.com>
9724 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
9725 (p Exported_Capitalized): New test.
9726 (p exported_capitalized): New test.
9728 2017-11-07 Pedro Alves <palves@redhat.com>
9730 * gdb.cp/ena-dis-br-range.exp: Add more tests.
9732 2017-11-07 Pedro Alves <palves@redhat.com>
9734 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
9735 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
9736 (disable_invalid, disable_inverted, disable_negative): New
9738 ("bad numbers"): New set of tests.
9740 2017-11-07 Pedro Alves <palves@redhat.com>
9742 * gdb.cp/ena-dis-br-range.exp: Add tests.
9744 2017-11-07 Pedro Alves <palves@redhat.com>
9746 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
9748 2017-11-07 Xavier Roirand <roirand@adacore.com>
9749 Pedro Alves <palves@redhat.com>
9751 * gdb.base/ena-dis-br.exp: Add reference to
9752 gdb.cp/ena-dis-br-range.exp.
9753 * gdb.cp/ena-dis-br-range.exp: New file.
9754 * gdb.cp/ena-dis-br-range.cc: New file.
9756 2017-11-06 Pedro Alves <palves@redhat.com>
9758 * gdb.base/attach-non-pgrp-leader.c: New.
9759 * gdb.base/attach-non-pgrp-leader.exp: New.
9761 2017-11-06 Pedro Alves <palves@redhat.com>
9763 * configure.ac: No longer check for termio.h and sgtty.h.
9764 * configure: Regenerate.
9765 * remote-utils.c: Include termios.h instead of gdb_termios.h.
9766 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
9767 Remove termio and sgtty code.
9769 2017-11-03 Yao Qi <yao.qi@linaro.org>
9771 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
9774 2017-11-03 Yao Qi <yao.qi@linaro.org>
9776 * gdb.python/py-thrhandle.exp: Skip it if python is not
9779 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
9781 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
9782 as a breakpoint command.
9784 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
9787 * gdb.python/py-infthread.exp: Test calling
9788 InferiorThread.inferior () multiple times in a row.
9790 2017-10-27 Keith Seitz <keiths@redhat.com>
9792 * gdb.opt/inline-break.exp (break_info_1): New procedure.
9793 Test "info break" for every inlined function breakpoint.
9795 2017-10-27 Yao Qi <yao.qi@linaro.org>
9797 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
9799 2017-10-26 Patrick Frants <osscontribute@gmail.com>
9801 * gdb.cp/classes.exp (test_static_members): Test printing
9803 * gdb.cp/classes.c (struct Inner, struct Outer): New.
9804 (Inner::instance, Outer::instance): New.
9806 2017-10-24 Pedro Alves <palves@redhat.com>
9808 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
9809 extra console" test in two stages.
9811 2017-10-24 Pedro Alves <palves@redhat.com>
9813 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
9815 2017-10-24 Pedro Alves <palves@redhat.com>
9817 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
9820 2017-10-24 Pedro Alves <palves@redhat.com>
9822 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
9823 $attempt" and "stoppedtry $stoppedtry" test prefixes.
9825 2017-10-24 Pedro Alves <palves@redhat.com>
9827 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
9828 parameter and handle it. Don't output read value in test name.
9830 2017-10-24 Pedro Alves <palves@redhat.com>
9832 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
9835 2017-10-24 Pedro Alves <palves@redhat.com>
9837 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
9838 include the unstable output directory name in the test's name.
9839 (initial_setup_simple) <'set args'>: Use custom test name.
9841 2017-10-24 Pedro Alves <palves@redhat.com>
9843 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
9844 with explicit test name.
9846 2017-10-20 Pedro Alves <palves@redhat.com>
9848 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
9849 'wait -i'. Use gdb_assert and remote_close.
9851 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
9853 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
9854 number from variable rather than hard-coded.
9856 2017-10-19 Pedro Alves <palves@redhat.com>
9858 * gdb.base/long-inferior-output.c: New file.
9859 * gdb.base/long-inferior-output.exp: New file.
9861 2017-11-18 Keith Seitz <keiths@redhat.com>
9863 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
9866 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
9867 Add additional user-defined conversion operator tests.
9869 2017-10-17 Pedro Alves <palves@redhat.com>
9871 * boards/native-stdio-gdbserver.exp: Load "local-board".
9873 2017-10-17 Pedro Alves <palves@redhat.com>
9875 * gdb.base/quit-live.c: New file.
9876 * gdb.base/quit-live.exp: New file.
9878 2017-10-16 Keith Seitz <keiths@redhat.com>
9880 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
9881 (class_with_protected_typedef, class_with_private_typedef)
9882 (struct_with_public_typedef, struct_with_protected_typedef)
9883 (struct_with_private_typedef): New classes/structs.
9884 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
9885 typedefs and access specifiers.
9887 2017-10-16 Pedro Alves <palves@redhat.com>
9888 Simon Marchi <simon.marchi@polymtl.ca>
9890 * README (Local vs Remote vs Native): New section.
9891 * boards/local-board.exp: New file, with bits factored out from
9893 * boards/native-extended-gdbserver.exp: ... here. Load
9895 * boards/native-gdbserver.exp: Load "local-board".
9896 (${board}_spawn, ${board}_exec): Delete.
9897 * boards/native-stdio-gdbserver.exp: Most contents factored out to
9899 * boards/stdio-gdbserver-base.exp: ... this new file.
9900 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
9901 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
9903 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
9904 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
9905 stdio_gdbserver_command.
9906 (${board}_get_remote_address, ${board}_get_comm_port)
9907 (${board}_download, ${board}_upload): Delete.
9908 (get_target_remote_pipe_cmd): New.
9910 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
9912 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
9913 test_bkpt_deletion, test_bkpt_cond_and_cmds,
9914 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
9915 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
9916 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
9917 remove with_test_prefix.
9919 2017-10-13 Pedro Alves <palves@redhat.com>
9921 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
9922 * gdb.base/annota1.exp: Use it instead of is_remote.
9923 * gdb.base/annota3.exp: Use it instead of is_remote.
9924 * gdb.cp/annota2.exp: Use it instead of is_remote.
9925 * gdb.cp/annota3.exp: Use it instead of is_remote.
9926 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
9928 2017-10-13 Pedro Alves <palves@redhat.com>
9930 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
9931 (test_num_test_vars, run_and_count_vars, find_env)
9932 (test_set_unset_env, test_inherit_env_var): New procedures.
9933 (top level): Use them.
9935 2017-10-13 Pedro Alves <palves@redhat.com>
9937 * lib/selftest-support.exp (selftest_setup): Extend comments, and
9938 also skip on stub-like targets.
9940 2017-10-13 Pedro Alves <palves@redhat.com>
9943 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
9944 (top level): Move some tests to ...
9945 (test_not_found): ... this new procedure.
9946 (top level): Call it.
9948 2017-10-13 Pedro Alves <palves@redhat.com>
9950 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
9951 expect different "info terminal" output if testing with a
9954 2017-10-13 Pedro Alves <palves@redhat.com>
9955 Simon Marchi <simon.marchi@polymtl.ca>
9958 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
9960 2017-10-13 Pedro Alves <palves@redhat.com>
9962 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
9965 2017-10-13 Pedro Alves <palves@redhat.com>
9967 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
9970 2017-10-13 Pedro Alves <palves@redhat.com>
9972 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
9975 2017-10-13 Pedro Alves <palves@redhat.com>
9977 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
9979 (corefile_test_attach): Likewise. Check can_spawn_for_attach
9980 instead of is_remote.
9982 2017-10-13 Pedro Alves <palves@redhat.com>
9984 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
9985 (top level): Add comment.
9987 2017-10-13 Pedro Alves <palves@redhat.com>
9989 * gdb.base/remote.exp (top level): Fix comment typo and add
9992 2017-10-13 Pedro Alves <palves@redhat.com>
9993 Simon Marchi <simon.marchi@polymtl.ca>
9995 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
9996 calls and add comments. Skip test if use_gdb_stub is set.
9997 (top level): Use "set cwd" command instead of "cd" command.
9999 2017-10-13 Pedro Alves <palves@redhat.com>
10001 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
10002 is_remote target check.
10004 2017-10-13 Pedro Alves <palves@redhat.com>
10006 * gdb.base/scope.exp: Use build_executable + clean_restart +
10007 gdb_file_cmd instead of prepare_for_testing and no longer skip
10008 "before run" tests on is_remote target boards. Update comments.
10009 * boards/native-extended-gdbserver.exp
10010 (extended_gdbserver_load_last_file): New, factored out from ...
10011 (gdb_load): ... this. Move further below and add comment.
10012 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
10014 2017-10-12 Pedro Alves <palves@redhat.com>
10016 * gdb.base/attach.exp: Remove references to gdb64.
10017 * gdb.base/dbx.exp: Remove references to gdb64.
10019 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
10020 Pedro Alves <palves@redhat.com>
10022 * gdb.base/label.exp: Remove is_remote target check.
10024 2017-10-12 Pedro Alves <palves@redhat.com>
10026 * gdb.base/auvx.exp (coredir): Update comment.
10027 (top level) <core_works>: Use "set cwd" command instead of "cd"
10030 2017-10-12 Pedro Alves <palves@redhat.com>
10031 Simon Marchi <simon.marchi@polymtl.ca>
10033 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
10036 2017-10-12 Pedro Alves <palves@redhat.com>
10037 Simon Marchi <simon.marchi@polymtl.ca>
10039 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
10040 Instead skip if there's any gdb_protocol set.
10042 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
10043 Pedro Alves <palves@redhat.com>
10045 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
10047 2017-10-12 Pedro Alves <palves@redhat.com>
10048 Simon Marchi <simon.marchi@polymtl.ca>
10050 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
10051 instead of on dejagnu remote boards.
10053 2017-10-12 Pedro Alves <palves@redhat.com>
10054 Simon Marchi <simon.marchi@polymtl.ca>
10056 * gdb.base/inferior-died.exp: Remove is_remote and isnative
10057 checks. Use build_executable + clean_restart instead of
10058 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
10059 of enabling non-stop after starting gdb.
10061 2017-10-12 Pedro Alves <palves@redhat.com>
10063 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
10064 * gdb.threads/non-ldr-exc-2.exp: Ditto.
10065 * gdb.threads/non-ldr-exc-3.exp: Ditto.
10066 * gdb.threads/non-ldr-exc-4.exp: Ditto.
10068 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
10070 * gdb.arch/arc-tdesc-cpu.exp: New file.
10071 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
10073 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
10075 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
10077 2017-10-10 Pedro Alves <palves@redhat.com>
10079 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
10082 2017-10-10 Pedro Alves <palves@redhat.com>
10084 * lib/selftest-support.exp (selftest_setup): Update for
10085 captured_command_loop's prototype change.
10087 2017-10-09 Pedro Alves <palves@redhat.com>
10089 Test both arch1=>arch2 and arch2=>arch1.
10091 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
10092 (srcfile2, binfile2, march1, march2): Remove globals. Largely
10094 (append_arch1_options, append_arch2_options, append_arch_options)
10095 (build_executables): New procedures.
10096 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
10098 (top level): Add new 'first_arch' testing axis.
10100 2017-10-09 Pedro Alves <palves@redhat.com>
10102 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
10104 (thread_start, all_started): New functions.
10105 (main): Spawn new thread and wait until it is scheduled.
10106 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
10108 (do_test): Add 'selected_thread' parameter. Run to all_started
10109 instead of main. Explicitly set the breakpoint at main. Switch
10110 to the SELECTED_THREAD thread.
10111 (top level): Test handling the exec event with either the main
10112 thread or the second thread selected.
10114 2017-10-09 Pedro Alves <palves@redhat.com>
10116 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
10117 logic. Move STOP marker after the value checks.
10118 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
10121 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
10123 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
10125 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
10127 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
10128 integer-to-dfp conversion.
10129 * gdb.base/dfp-test.exp: Likewise.
10131 2017-10-04 Pedro Alves <palves@redhat.com>
10133 * gdb.multi/hangout.c: Include <unistd.h>.
10134 (hangout_loop): New function.
10135 (main): Call alarm. Call hangout_loop in a loop.
10136 * gdb.multi/hello.c: Include <unistd.h>.
10137 (hello_loop): New function.
10138 (main): Call alarm. Call hangout_loop in a loop.
10139 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
10140 inferior with the other selected.
10142 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
10144 * gdb.mi/list-thread-groups-available.exp: New file.
10145 * gdb.mi/list-thread-groups-available.c: New file.
10147 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
10149 * gdb.base/set-cwd.exp: Make it available on
10150 native-extended-gdbserver.
10152 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
10154 * gdb.base/set-cwd.c: New file.
10155 * gdb.base/set-cwd.exp: Likewise.
10157 2017-10-02 Tom Tromey <tom@tromey.com>
10160 * gdb.rust/simple.rs (main): New variable "fslice".
10161 * gdb.rust/simple.exp: Add slice tests. Update string tests.
10163 2017-10-02 Tom Tromey <tom@tromey.com>
10165 * gdb.rust/simple.exp: Test ptype of a slice.
10167 2017-10-02 Tom Tromey <tom@tromey.com>
10169 * gdb.rust/simple.exp: Test index of slice.
10171 2017-09-27 Tom Tromey <tom@tromey.com>
10173 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
10175 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
10176 Pedro Alves <palves@redhat.com>
10178 * gdb.base/compare-sections.exp (get value of read-only section): Read
10180 (corrupt read-only section): Likewise and don't set written if patching
10183 2017-09-21 Kevin Buettner <kevinb@redhat.com>
10185 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
10188 2017-09-20 Pedro Alves <palves@redhat.com>
10190 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
10191 symbol names in gdb's output.
10192 * gdb.cp/overload.exp ("list all overloads"): Likewise.
10194 2017-09-20 Pedro Alves <palves@redhat.com>
10196 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
10198 (test_list_ambiguous_symbol): ... this and add a symbol name
10200 (test_list_ambiguous_function): Reimplement on top of
10201 test_list_ambiguous_symbol and also test listing ambiguous
10203 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
10204 (ambiguous_fun): ... this.
10205 (ambiguous_var): New.
10206 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
10207 (ambiguous_fun): ... this.
10208 (ambiguous_var): New.
10210 2017-09-19 John Baldwin <jhb@FreeBSD.org>
10212 * gdb.base/starti.c: New file.
10213 * gdb.base/starti.exp: New file.
10214 * lib/gdb.exp (gdb_starti_cmd): New procedure.
10216 2017-09-14 Pedro Alves <palves@redhat.com>
10218 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
10219 (top level): Use it instead of runto.
10221 2017-09-11 Tom Tromey <tom@tromey.com>
10223 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
10225 2017-09-11 Tom Tromey <tom@tromey.com>
10227 * gdb.python/py-infthread.exp: Add tests for new_thread event.
10228 * gdb.python/py-inferior.exp: Add tests for new inferior events.
10230 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
10232 * gdb.fortran/printing-types.exp: New file.
10233 * gdb.fortran/printing-types.exp: New file.
10235 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
10237 * gdb.fortran/vla-ptype.exp: Fix typos.
10238 * gdb.fortran/vla-value.exp: Same.
10240 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
10242 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
10243 * gdb.mi/mi-var-child-f.exp: Likewise.
10244 * gdb.mi/mi-vla-fortran.exp: Likewise.
10246 2017-09-08 Frank Penczek <frank.penczek@intel.com>
10247 Christoph Weinmann <christoph.t.weinmann@intel.com>
10248 Bernhard Heckel <bernhard.heckel@intel.com>
10250 * gdb.fortran/ptr-indentation.f90: New file.
10251 * gdb.fortran/ptr-indentation.exp: New file.
10253 2017-09-05 Tom Tromey <tom@tromey.com>
10256 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
10258 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
10260 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
10262 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10264 * gdb.threads/tls-nodebug-pie.c: New file.
10265 * gdb.threads/tls-nodebug-pie.exp: New file.
10267 2017-09-05 Tom Tromey <tom@tromey.com>
10269 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
10272 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
10274 * gdb.multi/multi-arch-exec.exp: Test with different
10275 "follow-exec-mode" settings.
10276 (do_test): New procedure.
10278 2017-09-04 Pedro Alves <palves@redhat.com>
10280 * gdb.base/func-static.c (S::method const, S::method volatile)
10281 (S::method volatile const): New methods.
10282 (c_s, v_s, cv_s): New instances.
10283 (main): Call method() on them.
10284 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
10285 (cannot_resolve): New procedure.
10286 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
10287 print-quote-unquoted columns.
10288 (do_test): Test printing each scope too.
10290 2017-09-04 Pedro Alves <palves@redhat.com>
10292 * gdb.base/local-static.exp: Also test with
10293 class::method::variable wholly quoted.
10294 * gdb.cp/m-static.exp (class::method::variable): Remove test.
10296 2017-09-04 Pedro Alves <palves@redhat.com>
10298 * gdb.base/local-static.c: New.
10299 * gdb.base/local-static.cc: New.
10300 * gdb.base/local-static.exp: New.
10302 2017-09-04 Pedro Alves <palves@redhat.com>
10304 * gdb.asm/asm-source.exp: Add casts to int.
10305 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
10306 (dataglobal64_1, dataglobal64_2): New globals.
10307 * gdb.base/nodebug.exp: Test different expressions involving the
10308 new globals, with print, whatis and ptype. Add casts to int.
10309 * gdb.base/solib-display.exp: Add casts to int.
10310 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
10311 * gdb.cp/m-static.exp: Add cast to int.
10312 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
10313 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
10314 tls variable with no debug info without a cast. Test with a cast
10316 * gdb.trace/entry-values.exp: Add casts.
10318 2017-09-04 Pedro Alves <palves@redhat.com>
10320 * gdb.base/nodebug.exp: Test that ptype's error about functions
10321 with unknown return type includes the function name too.
10323 2017-09-04 Pedro Alves <palves@redhat.com>
10325 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
10326 return type of munmap in infcall.
10327 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
10328 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
10329 type of ftell in infcall.
10330 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
10331 type of getpid in infcall.
10332 * gdb.base/infcall-exec.exp: Cast return type of execlp in
10334 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
10335 Bail on failure to extract the pid.
10336 * gdb.base/nodebug.c: #include <stdint.h>.
10337 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
10339 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
10340 Change expected output of print/whatis/ptype with functions with
10341 no debug info. Test all supported languages. Call
10342 test_call_promotion.
10343 * gdb.compile/compile.exp: Adjust expected output to expect
10345 * gdb.threads/siginfo-threads.exp: Likewise.
10347 2017-09-04 Pedro Alves <palves@redhat.com>
10349 * gdb.base/callfuncs.exp (do_function_calls): New parameter
10350 "prototypes". Test calling float functions via prototyped and
10351 unprototyped function pointers.
10352 (perform_all_tests): New parameter "prototypes". Pass it down.
10353 (top level): Pass down "prototypes" parameter to
10356 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
10358 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
10359 Test with nested loops.
10361 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
10363 * gdb.base/commands.exp: Call the new procedures.
10364 (loop_break_test, loop_continue_test): New procedures.
10366 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
10368 * gdb.base/commands.exp: Call new procedure.
10369 (define_if_without_arg_test): New procedure.
10371 2017-09-04 Pedro Alves <palves@redhat.com>
10373 * gdb.base/list-ambiguous.exp: New file.
10374 * gdb.base/list-ambiguous0.c: New file.
10375 * gdb.base/list-ambiguous1.c: New file.
10376 * gdb.base/list.exp (test_list_range): Adjust expected output.
10378 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
10380 * gdb.base/share-env-with-gdbserver.c: New file.
10381 * gdb.base/share-env-with-gdbserver.exp: Likewise.
10383 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
10385 * gdb.base/commands.exp (gdbvar_simple_if_test,
10386 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
10387 progvar_simple_if_test, progvar_simple_while_test,
10388 progvar_complex_if_while_test, user_defined_command_test,
10389 user_defined_command_args_eval,
10390 user_defined_command_args_stack_test,
10391 user_defined_command_manyargs_test, bp_deleted_in_command_test,
10392 temporary_breakpoint_commands,
10393 gdb_test_no_prompt, redefine_hook_test,
10394 redefine_backtrace_test): Remove "global gdb_prompt".
10396 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
10398 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
10399 New proc, call it from toplevel.
10401 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
10404 * gdb.server/normal.c: New file, copied from gdb.base.
10405 * gdb.server/run-without-local-binary.exp: New file.
10407 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
10409 * gdb.arch/sparc64-adi.exp: New file.
10410 * gdb.arch/sparc64-adi.c: New file.
10412 2017-08-22 Pedro Alves <palves@redhat.com>
10414 * gdb.cp/overload.exp (line_range_pattern): New procedure.
10415 (top level): Add "list all overloads" tests.
10417 2017-08-22 Tom Tromey <tom@tromey.com>
10419 * gdb.gdb/xfullpath.exp: Remove.
10421 2017-08-21 Pedro Alves <palves@redhat.com>
10424 * gdb.base/symbol-alias.c: New.
10425 * gdb.base/symbol-alias2.c: New.
10426 * gdb.base/symbol-alias.exp: New.
10428 2017-08-21 Pedro Alves <palves@redhat.com>
10430 * gdb.base/dfp-test.c
10431 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
10432 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
10433 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
10434 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
10435 * gdb.base/whatis-ptype-typedefs.c: New.
10436 * gdb.base/whatis-ptype-typedefs.exp: New.
10437 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
10438 (an_int, an_int_type, an_int_type2): New globals.
10439 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
10440 involving typedefs and cast expressions.
10441 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
10442 (lookup_typedefs_function): New.
10443 (typedefs_pretty_printers_dict): New.
10444 (top level): Register lookup_typedefs_function in
10445 gdb.pretty_printers.
10447 2017-08-18 Yao Qi <yao.qi@linaro.org>
10449 * gdb.server/unittest.exp: New.
10451 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
10454 * gdb.base/environ.exp: Add test to check if 'unset environment'
10457 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
10459 * lib/gdb.exp (universal_compile_options): New caching proc.
10460 (gdb_compile): Suppress GCC's coloring of messages.
10462 2017-08-14 Tom Tromey <tom@tromey.com>
10465 * gdb.base/printcmds.exp (test_radices): New function.
10466 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
10467 * gdb.base/sizeof.exp (check_valueof): Use p/d.
10468 * lib/gdb.exp (get_integer_valueof): Use p/d.
10470 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
10472 * lib/gdb.exp (get_valueof): Don't capture end-of-line
10475 2017-08-05 Tom Tromey <tom@tromey.com>
10477 * gdb.rust/simple.exp: Allow String to appear in a different
10480 2017-07-26 Yao Qi <yao.qi@linaro.org>
10482 * gdb.gdb/unittest.exp: Invoke command
10483 "maintenance check xml-descriptions".
10485 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
10487 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
10489 (hex128): Drop erroneous calculation of parameters.
10491 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
10493 * gdb.python/py-unwind.exp: Disable stack protection when
10494 building test file.
10496 2017-07-20 Pedro Alves <palves@redhat.com>
10498 * gdb.base/default.exp (set language): Adjust expected output.
10500 2017-07-20 Pedro Alves <palves@redhat.com>
10502 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
10503 (test_minsym): ... this, and make static.
10504 (get_pck__foo__bar__minsym): Rename to ...
10505 (get_test_minsym): ... this.
10506 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
10507 symbol names and comments.
10508 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
10509 (get_test_minsym): ... this.
10510 (pck__foo__bar__minsym__2): Rename to ...
10511 (test_minsym): ... this.
10514 2017-07-17 Pedro Alves <palves@redhat.com>
10516 * gdb.base/completion.exp: Adjust expected output.
10517 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
10518 the completer works.
10520 2017-07-17 Pedro Alves <palves@redhat.com>
10522 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
10524 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
10526 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
10528 2017-07-14 Tom Tromey <tom@tromey.com>
10531 * gdb.rust/simple.exp: Add tests.
10533 2017-07-14 Tom Tromey <tom@tromey.com>
10535 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
10537 2017-07-14 Pedro Alves <palves@redhat.com>
10539 * gdb.linespec/base/one/thefile.cc (z1): New function.
10540 * gdb.linespec/base/two/thefile.cc (z2): New function.
10541 * gdb.linespec/linespec.exp: Add tests.
10543 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
10545 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
10546 to mi_create_breakpoint.
10548 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
10550 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
10551 mi_create_breakpoint.
10553 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
10555 * gdb.dlang/demangle.exp: Update for demangling changes.
10557 2017-07-09 Tom Tromey <tom@tromey.com>
10559 * gdb.dwarf2/shortpiece.exp: New file.
10561 2017-07-06 David Blaikie <dblaikie@gmail.com>
10563 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
10564 built from fissiont-multi-cu{1,2}.c.
10565 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
10566 except putting 'main' and 'func' in separate CUs in the same DWO file.
10567 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
10569 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
10572 2017-07-06 Pedro Alves <palves@redhat.com>
10574 * gdb.python/py-unwind.exp: Test flushregs.
10576 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
10579 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
10580 tests for alias commands and trailing whitespace.
10582 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
10585 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
10586 procedure. Call it.
10588 2017-06-29 Pedro Alves <palves@redhat.com>
10590 * gdb.base/printcmds.exp: Add tests.
10592 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
10595 * gdb.base/reread-readsym.exp: New file.
10596 * gdb.base/reread-readsym.c: New file.
10598 2017-06-21 Kevin Buettner <kevinb@redhat.com>
10600 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
10603 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
10605 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
10607 * gdb.arch/powerpc-power9.s: Likewise.
10609 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
10611 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
10612 on 32-bit x86 targets. Exploit is_*_target macros where
10615 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10617 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
10620 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10622 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
10623 located in one or more DWARF pieces.
10625 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10627 * lib/gdb.exp (get_endianness): New proc.
10628 * gdb.arch/aarch64-fp.exp: Use it.
10629 * gdb.arch/altivec-regs.exp: Likewise.
10630 * gdb.arch/e500-regs.exp: Likewise.
10631 * gdb.arch/vsx-regs.exp: Likewise.
10632 * gdb.base/dump.exp: Likewise.
10633 * gdb.base/funcargs.exp: Likewise.
10634 * gdb.base/gnu_vector.exp: Likewise.
10635 * gdb.dwarf2/formdata16.exp: Likewise.
10636 * gdb.dwarf2/implptrpiece.exp: Likewise.
10637 * gdb.dwarf2/nonvar-access.exp: Likewise.
10638 * gdb.python/py-inferior.exp: Likewise.
10639 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
10641 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10644 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
10645 stack value pieces are taken from the LSB end.
10647 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10649 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
10650 variable at nonzero offset.
10652 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
10654 * gdb.dwarf2/var-access.c: New file.
10655 * gdb.dwarf2/var-access.exp: New test.
10656 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
10658 2017-06-12 Tom Tromey <tom@tromey.com>
10660 * gdb.dwarf2/formdata16.exp: Add tests.
10662 2017-06-12 Tom Tromey <tom@tromey.com>
10664 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
10666 2017-06-12 Tom Tromey <tom@tromey.com>
10669 * gdb.reverse/i386-sse-reverse.exp: Update tests.
10670 * gdb.arch/vsx-regs.exp: Update tests.
10671 * gdb.arch/s390-vregs.exp (hex128): New proc.
10673 * gdb.arch/altivec-regs.exp: Update tests.
10675 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
10677 * gdb.base/startup-with-shell.c: New file.
10678 * gdb.base/startup-with-shell.exp: Likewise.
10680 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
10682 * gdb.server/non-existing-program.exp: Update regex in order to
10683 reflect the fact that gdbserver is now using fork_inferior (with a
10684 shell) to startup the inferior.
10686 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
10688 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
10689 support function calls from GDB.
10691 2017-05-21 Tom Tromey <tom@tromey.com>
10694 * gdb.rust/unsized.exp: New file.
10695 * gdb.rust/unsized.rs: New file.
10697 2017-05-19 Tom Tromey <tom@tromey.com>
10700 * gdb.rust/watch.exp: New file.
10701 * gdb.rust/watch.rs: New file.
10703 2017-05-18 Tom Tromey <tom@tromey.com>
10705 * gdb.rust/simple.exp: Allow Box to be qualified.
10707 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
10709 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
10711 2017-05-18 Pedro Alves <palves@redhat.com>
10713 * gdb.base/fileio.c (test_write, test_read, test_close)
10714 (test_fstat): Don't print 'ret' in the fail path.
10716 2017-05-18 Pedro Alves <palves@redhat.com>
10718 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
10719 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
10720 (test_system, test_rename, test_unlink, test_time): Change
10722 * gdb.base/fileio.exp (stop_msg): Adjust.
10724 2017-05-18 Pedro Alves <palves@redhat.com>
10726 * gdb.base/fileio.c (null_str): New global.
10727 (test_stat): Use it.
10728 * gdb.base/fileio.exp: Remove nowarnings.
10730 2017-05-17 Yao Qi <yao.qi@linaro.org>
10732 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
10734 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
10736 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
10738 (top-level): Invoke test_set_inferior_tty.
10740 2017-05-04 Pedro Alves <palves@redhat.com>
10742 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
10743 Add parens to print call for Python 3.
10745 2017-05-03 Keith Seitz <keiths@redhat.com>
10747 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
10750 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
10752 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
10755 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
10757 * gdb.python/py-record-btrace.exp: Remove test for
10758 gdb.BtraceInstruction.error.
10760 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
10762 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
10764 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
10766 * gdb.python/py-record-btrace-threads.c: New file.
10767 * gdb.python/py-record-btrace-threads.exp: New file.
10769 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
10772 * gdb.base/environ.exp: Make test available in all architectures.
10773 Move bits related to "info program" testing to
10774 gdb.base/info-program.exp. Rewrite tests to use the two new
10775 procedures mentione below.
10776 (test_set_show_env_var) New procedure.
10777 (test_set_show_env_var_equal): Likewise.
10778 * gdb.base/info-program.exp: New file.
10780 2017-04-27 Keith Seitz <keiths@redhat.com>
10782 * gdb.cp/oranking.cc (test15): New function.
10783 (main): Call test15 and declare additional variables for testing.
10784 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
10785 "p foo101('abc')" tests.
10786 Add tests for cv qualifier overloads.
10787 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
10788 "lvalue reference overload" test.
10789 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
10790 "print value of f1 on Child&& in f2" test.
10792 2017-04-19 Pedro Alves <palves@redhat.com>
10794 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
10796 (top level): Call it.
10797 * lib/gdb.exp (gdb_define_cmd): New procedure.
10799 2017-04-12 Pedro Alves <palves@redhat.com>
10802 * gdb.cp/wide_char_types.c: Include <wchar.h>.
10803 (wchar): New global.
10804 * gdb.cp/wide_char_types.exp (wide_char_types_program)
10805 (do_test_wide_char, wide_char_types_no_program, top level): Add
10808 2017-04-12 Pedro Alves <palves@redhat.com>
10811 * gdb.cp/wide_char_types.c: New file.
10812 * gdb.cp/wide_char_types.exp: New file.
10814 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
10817 * gdb.trace/tsv.exp: Add test for "tsave -r".
10819 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
10821 * gdb.dlang/watch-loc.c: New file.
10822 * gdb.dlang/watch-loc.exp: New file.
10824 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10826 * gdb.python/py-section-script.exp (sepdebug): New testcases.
10828 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
10830 * gdb.arch/arc-analyze-prologue.S: New file.
10831 * gdb.arch/arc-analyze-prologue.exp: Likewise.
10833 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
10835 * gdb.arch/arc-decode-insn.S: New file.
10836 * gdb.arch/arc-decode-insn.exp: Likewise.
10838 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
10841 * gdb.arch/sparc64-regs.exp: New file.
10842 * gdb.arch/sparc64-regs.S: Likewise.
10844 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
10846 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
10847 and memory view on Python 3.
10849 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
10850 Keith Seitz <keiths@redhat.com>
10853 * gdb.cp/demangle.exp: Add rvalue reference tests.
10854 * gdb.cp/rvalue-ref-casts.cc: New file.
10855 * gdb.cp/rvalue-ref-casts.exp: New file.
10856 * gdb.cp/rvalue-ref-overload.cc: New file.
10857 * gdb.cp/rvalue-ref-overload.exp: New file.
10858 * gdb.cp/rvalue-ref-params.cc: New file.
10859 * gdb.cp/rvalue-ref-params.exp: New file.
10860 * gdb.cp/rvalue-ref-sizeof.cc: New file.
10861 * gdb.cp/rvalue-ref-sizeof.exp: New file.
10862 * gdb.cp/rvalue-ref-types.cc: New file.
10863 * gdb.cp/rvalue-ref-types.exp: New file.
10864 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
10865 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
10867 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
10869 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
10872 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
10874 * lib/mi-support.exp (mi_gdb_test): Add additional message
10875 for unexpected output.
10877 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10879 * gdb.base/examine-backward.c (Barrier): New character array
10880 constant, to ensure that TestStrings is preceded by a string
10883 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10885 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
10886 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
10887 and implicit pointer into such a location.
10889 2017-03-16 Doug Evans <dje@google.com>
10891 * gdb.python/py-lazy-string (pointer): Really add new typedef.
10893 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
10895 * gdb.cp/m-static.exp: Fix expectation for prototype of
10896 test5.single_constructor and single_constructor::single_constructor.
10898 2017-03-16 Doug Evans <dje@google.com>
10900 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
10901 * gdb.guile/scm-lazy-string.c: New file.
10902 * gdb.guile/scm-value.exp: Move lazy string tests to ...
10903 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
10904 for pointer, array, typedef lazy strings.
10906 2017-03-16 Doug Evans <dje@google.com>
10908 PR python/17728, python/18439, python/18779
10909 * gdb.python/py-value.c (main) Delete locals sptr, sn.
10910 * gdb.python/py-lazy-string.c (pointer): New typedef.
10911 (main): New locals ptr, array, typedef_ptr.
10912 * gdb.python/py-value.exp: Move lazy string tests to ...
10913 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
10914 array, typedef lazy strings.
10916 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
10918 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
10919 Add optional 'test' parameter.
10921 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
10923 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
10924 Skip for versions of DejaGnu < 1.5.
10926 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
10928 * lib/gdb.exp (dejagnu_version): New proc.
10929 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
10930 Use dejagnu_version.
10932 2017-03-10 Keith Seitz <keiths@redhat.com>
10935 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
10936 type from destructor regexps.
10937 Add a branch which actually passes the test.
10938 Adjust "ptype t5i" test names.
10940 2017-03-08 Pedro Alves <palves@redhat.com>
10942 * gdb.base/step-over-exit.exp: Add explicit test message.
10944 2017-03-08 Pedro Alves <palves@redhat.com>
10947 * gdb.threads/interrupt-while-step-over.c: New file.
10948 * gdb.threads/interrupt-while-step-over.exp: New file.
10950 2017-03-08 Pedro Alves <palves@redhat.com>
10952 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
10953 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
10955 2017-03-08 Pedro Alves <palves@redhat.com>
10957 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
10958 PKRU as not supported as a PASS.
10960 2017-03-08 Pedro Alves <palves@redhat.com>
10962 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
10963 prefix instead of $binfile1/$binfile2.
10964 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
10966 * gdb.python/py-completion.exp: Use "load python file" as test
10967 messages instead of unstable path names.
10969 2017-03-08 Pedro Alves <palves@redhat.com>
10970 Jan Kratochvil <jan.kratochvil@redhat.com>
10973 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
10975 (top level): Call it.
10977 2017-03-08 Pedro Alves <palves@redhat.com>
10980 * gdb.tui/tui-nl-filtered-output.exp: New file.
10982 2017-03-08 Pedro Alves <palves@redhat.com>
10984 * gdb.base/completion.exp: Move TUI completion tests to ...
10985 * gdb.tui/completion.exp: ... this new file.
10987 2017-03-08 Pedro Alves <palves@redhat.com>
10989 * gdb.base/tui-disasm-long-lines.c,
10990 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
10991 gdb.base/tui-layout.exp: Move to ...
10992 * gdb.tui/: ... this new directory.
10994 2017-03-07 Pedro Alves <palves@redhat.com>
10996 * gdb.base/tui-layout.c: New file.
10997 * gdb.base/tui-layout.exp: New file.
10999 2017-03-07 Pedro Alves <palves@redhat.com>
11001 * gdb.base/tui-layout.c: Rename to ...
11002 * gdb.base/tui-disasm-long-lines.c: ... this.
11003 * gdb.base/tui-layout.exp: Rename to ...
11004 * gdb.base/tui-disasm-long-lines.exp: ... this.
11006 2017-03-07 Pedro Alves <palves@redhat.com>
11008 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
11010 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
11012 * i386-mpx-call.c: New file.
11013 * i386-mpx-call.exp: New file.
11015 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
11017 * gdb.arch/powerpc-power.exp: Delete test.
11018 * gdb.arch/powerpc-power.s: Likewise.
11019 * gdb.disasm/disassembler-options.exp: New test.
11020 * gdb.arch/powerpc-altivec.exp: Likewise.
11021 * gdb.arch/powerpc-altivec.s: Likewise.
11022 * gdb.arch/powerpc-altivec2.exp: Likewise.
11023 * gdb.arch/powerpc-altivec2.s: Likewise.
11024 * gdb.arch/powerpc-altivec3.exp: Likewise.
11025 * gdb.arch/powerpc-altivec3.s: Likewise.
11026 * gdb.arch/powerpc-power7.exp: Likewise.
11027 * gdb.arch/powerpc-power7.s: Likewise.
11028 * gdb.arch/powerpc-power8.exp: Likewise.
11029 * gdb.arch/powerpc-power8.s: Likewise.
11030 * gdb.arch/powerpc-power9.exp: Likewise.
11031 * gdb.arch/powerpc-power9.s: Likewise.
11032 * gdb.arch/powerpc-vsx.exp: Likewise.
11033 * gdb.arch/powerpc-vsx.s: Likewise.
11034 * gdb.arch/powerpc-vsx2.exp: Likewise.
11035 * gdb.arch/powerpc-vsx2.s: Likewise.
11036 * gdb.arch/powerpc-vsx3.exp: Likewise.
11037 * gdb.arch/powerpc-vsx3.s: Likewise.
11038 * gdb.arch/arm-disassembler-options.exp: Likewise.
11039 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
11040 * gdb.arch/s390-disassembler-options.exp: Likewise.
11042 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
11044 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
11045 (check_supported_features): ... this. Changed return type to void.
11046 (supports_rdseed): New static global.
11047 (rdseed): Check supports_rdseed.
11048 (initialize): Call check_supported_features.
11050 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11052 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
11053 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
11055 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
11056 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
11058 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11060 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
11063 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11065 * gdb.dwarf2/formdata16.c: New file.
11066 * gdb.dwarf2/formdata16.exp: New file.
11067 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
11069 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11071 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
11072 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
11073 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
11074 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
11077 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11079 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
11081 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
11084 * gdb.base/maint.exp: Add testcases for when the commands do
11085 not have arguments.
11087 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
11089 * gdb.cp/chained-calls.exp: Use p instead of P.
11091 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
11093 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
11094 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
11096 2017-02-14 Tom Tromey <tom@tromey.com>
11099 * gdb.python/py-events.exp: Add before_prompt event tests.
11101 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
11103 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
11105 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
11107 * gdb.linespec/explicit.c (my_unique_function_name): New function.
11108 (main): Call my_unique_function_name.
11109 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
11110 completion of patterns with a single match.
11111 Add missing -re switches to gdb_test_multiple calls.
11113 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
11115 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
11116 return if core file is not recognized.
11118 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
11120 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
11123 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
11125 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
11128 2017-02-10 Tom Tromey <tom@tromey.com>
11130 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
11132 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
11135 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
11137 2017-02-08 Jerome Guitton <guitton@adacore.com>
11139 * gdb.base/define.exp: Add test for command abbreviations
11142 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
11144 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
11145 * gdb.reverse/insn-reverse-x86.c: New file.
11147 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
11150 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
11152 2017-02-03 Tom Tromey <tom@tromey.com>
11155 * gdb.rust/simple.exp: Add new tests.
11157 2017-02-02 Pedro Alves <palves@redhat.com>
11159 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
11162 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11164 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
11165 taking a 2-byte value out of a 4-byte DWARF implicit value on
11166 big-endian targets.
11167 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
11168 logic. Add test cases for DW_OP_implicit.
11170 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11172 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
11174 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11176 * gdb.btrace/enable.exp: Call gdb_exit before
11177 skip_gdbserver_tests.
11179 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11181 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
11184 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11186 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
11187 the test is skipped.
11188 * gdb.btrace/data.exp: Likewise.
11189 * gdb.btrace/delta.exp: Likewise.
11190 * gdb.btrace/dlopen.exp: Likewise.
11191 * gdb.btrace/enable-running.exp: Likewise.
11192 * gdb.btrace/enable.exp: Likewise.
11193 * gdb.btrace/exception.exp: Likewise.
11194 * gdb.btrace/function_call_history.exp: Likewise.
11195 * gdb.btrace/gcore.exp: Likewise.
11196 * gdb.btrace/instruction_history.exp: Likewise.
11197 * gdb.btrace/multi-thread-step.exp: Likewise.
11198 * gdb.btrace/nohist.exp: Likewise.
11199 * gdb.btrace/non-stop.exp: Likewise.
11200 * gdb.btrace/reconnect.exp: Likewise.
11201 * gdb.btrace/record_goto-step.exp: Likewise.
11202 * gdb.btrace/record_goto.exp: Likewise.
11203 * gdb.btrace/rn-dl-bind.exp: Likewise.
11204 * gdb.btrace/segv.exp: Likewise.
11205 * gdb.btrace/step.exp: Likewise.
11206 * gdb.btrace/stepi.exp: Likewise.
11207 * gdb.btrace/tailcall-only.exp: Likewise.
11208 * gdb.btrace/tailcall.exp: Likewise.
11209 * gdb.btrace/tsx.exp: Likewise.
11210 * gdb.btrace/unknown_functions.exp: Likewise.
11211 * gdb.btrace/vdso.exp: Likewise.
11213 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
11215 * gdb.btrace/enable-running.c: New.
11216 * gdb.btrace/enable-running.exp: New.
11218 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
11220 * gdb.arch/amd64-gs_base.c: New file.
11221 * gdb.arch/amd64-gs_base.exp: New file.
11223 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
11225 * lib/memory.exp: Remove spurious empty newlines.
11227 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
11229 * gdb.python/py-bad-printers.exp: Load python file using "source".
11230 * gdb.python/py-events.exp: Likewise.
11231 * gdb.python/py-evsignal.exp: Likewise.
11232 * gdb.python/py-evthreads.exp: Likewise.
11233 * gdb.python/py-frame-args.exp: Likewise.
11234 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
11235 * gdb.python/py-framefilter-mi.exp: Likewise.
11236 * gdb.python/py-framefilter.exp: Likewise.
11237 * gdb.python/py-mi.exp: Likewise.
11238 * gdb.python/py-pp-maint.exp: Likewise.
11239 * gdb.python/py-pp-registration.exp: Likewise.
11240 * gdb.python/py-prettyprint.exp: Likewise.
11241 (run_lang_tests): Likewise.
11242 * gdb.python/py-typeprint.exp: Likewise.
11244 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
11246 * lib/memory.exp: New file.
11247 * lib/gdb.exp: Load memory.exp.
11248 * gdb.base/memattr.exp (delete_memory): Move proc to
11249 lib/memory.exp and rename to delete_memory_regions.
11250 Replace delete_memory with delete_memory_regions.
11251 Cleanup memory regions before tests.
11252 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
11255 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
11257 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
11259 (initialize): New function conditionally defined.
11260 (testcases): Move within conditional block.
11261 (main): Call initialize.
11262 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
11263 of gdb.reverse/insn-reverse.c.
11264 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
11265 gdb.reverse/insn-reverse.c.
11267 2017-01-26 Yao Qi <yao.qi@linaro.org>
11269 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
11270 disassemble on address 0.
11272 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
11273 Yao Qi <yao.qi@linaro.org>
11275 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
11276 * gdb.dwarf2/implptr-64bit.S: Remove.
11277 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
11278 variables in caller's context. Add DW_OP_implicit_value.
11280 2017-01-25 Yao Qi <yao.qi@linaro.org>
11282 * lib/dwarf.exp (Dwarf::_location): Handle
11283 DW_OP_GNU_implicit_pointer with proper size.
11285 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
11287 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
11288 and add untested calls.
11290 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
11292 * gdb.python/python.exp: Check line number against what GDB thinks
11293 the line number is for func1.
11295 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
11297 * gdb.dlang/debug-expr.exp: New file.
11299 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
11301 Fix test names for the following files:
11303 * gdb.ada/exec_changed.exp
11304 * gdb.ada/info_types.exp
11305 * gdb.arch/aarch64-atomic-inst.exp
11306 * gdb.arch/aarch64-fp.exp
11307 * gdb.arch/altivec-abi.exp
11308 * gdb.arch/altivec-regs.exp
11309 * gdb.arch/amd64-byte.exp
11310 * gdb.arch/amd64-disp-step.exp
11311 * gdb.arch/amd64-dword.exp
11312 * gdb.arch/amd64-entry-value-inline.exp
11313 * gdb.arch/amd64-entry-value-param.exp
11314 * gdb.arch/amd64-entry-value-paramref.exp
11315 * gdb.arch/amd64-entry-value.exp
11316 * gdb.arch/amd64-i386-address.exp
11317 * gdb.arch/amd64-invalid-stack-middle.exp
11318 * gdb.arch/amd64-invalid-stack-top.exp
11319 * gdb.arch/amd64-optimout-repeat.exp
11320 * gdb.arch/amd64-prologue-skip.exp
11321 * gdb.arch/amd64-prologue-xmm.exp
11322 * gdb.arch/amd64-stap-special-operands.exp
11323 * gdb.arch/amd64-stap-wrong-subexp.exp
11324 * gdb.arch/amd64-tailcall-cxx.exp
11325 * gdb.arch/amd64-tailcall-noret.exp
11326 * gdb.arch/amd64-tailcall-ret.exp
11327 * gdb.arch/amd64-tailcall-self.exp
11328 * gdb.arch/amd64-word.exp
11329 * gdb.arch/arm-bl-branch-dest.exp
11330 * gdb.arch/arm-disp-step.exp
11331 * gdb.arch/arm-neon.exp
11332 * gdb.arch/arm-single-step-kernel-helper.exp
11333 * gdb.arch/avr-flash-qualifier.exp
11334 * gdb.arch/disp-step-insn-reloc.exp
11335 * gdb.arch/e500-abi.exp
11336 * gdb.arch/e500-regs.exp
11337 * gdb.arch/ftrace-insn-reloc.exp
11338 * gdb.arch/i386-avx512.exp
11339 * gdb.arch/i386-bp_permanent.exp
11340 * gdb.arch/i386-byte.exp
11341 * gdb.arch/i386-cfi-notcurrent.exp
11342 * gdb.arch/i386-disp-step.exp
11343 * gdb.arch/i386-dr3-watch.exp
11344 * gdb.arch/i386-float.exp
11345 * gdb.arch/i386-gnu-cfi.exp
11346 * gdb.arch/i386-mpx-map.exp
11347 * gdb.arch/i386-mpx-sigsegv.exp
11348 * gdb.arch/i386-mpx-simple_segv.exp
11349 * gdb.arch/i386-mpx.exp
11350 * gdb.arch/i386-permbkpt.exp
11351 * gdb.arch/i386-prologue.exp
11352 * gdb.arch/i386-signal.exp
11353 * gdb.arch/i386-size-overlap.exp
11354 * gdb.arch/i386-unwind.exp
11355 * gdb.arch/i386-word.exp
11356 * gdb.arch/mips-fcr.exp
11357 * gdb.arch/powerpc-d128-regs.exp
11358 * gdb.arch/powerpc-stackless.exp
11359 * gdb.arch/ppc64-atomic-inst.exp
11360 * gdb.arch/s390-stackless.exp
11361 * gdb.arch/s390-tdbregs.exp
11362 * gdb.arch/s390-vregs.exp
11363 * gdb.arch/sparc-sysstep.exp
11364 * gdb.arch/thumb-bx-pc.exp
11365 * gdb.arch/thumb-singlestep.exp
11366 * gdb.arch/thumb2-it.exp
11367 * gdb.arch/vsx-regs.exp
11368 * gdb.asm/asm-source.exp
11369 * gdb.base/a2-run.exp
11370 * gdb.base/advance.exp
11371 * gdb.base/all-bin.exp
11372 * gdb.base/anon.exp
11373 * gdb.base/args.exp
11374 * gdb.base/arithmet.exp
11375 * gdb.base/async-shell.exp
11376 * gdb.base/async.exp
11377 * gdb.base/attach-pie-noexec.exp
11378 * gdb.base/attach-twice.exp
11379 * gdb.base/auto-load.exp
11380 * gdb.base/bang.exp
11381 * gdb.base/bitfields.exp
11382 * gdb.base/break-always.exp
11383 * gdb.base/break-caller-line.exp
11384 * gdb.base/break-entry.exp
11385 * gdb.base/break-inline.exp
11386 * gdb.base/break-on-linker-gcd-function.exp
11387 * gdb.base/break-probes.exp
11388 * gdb.base/break.exp
11389 * gdb.base/breakpoint-shadow.exp
11390 * gdb.base/call-ar-st.exp
11391 * gdb.base/call-sc.exp
11392 * gdb.base/call-signal-resume.exp
11393 * gdb.base/call-strs.exp
11394 * gdb.base/callfuncs.exp
11395 * gdb.base/catch-fork-static.exp
11396 * gdb.base/catch-gdb-caused-signals.exp
11397 * gdb.base/catch-load.exp
11398 * gdb.base/catch-signal-fork.exp
11399 * gdb.base/catch-signal.exp
11400 * gdb.base/catch-syscall.exp
11401 * gdb.base/charset.exp
11402 * gdb.base/checkpoint.exp
11403 * gdb.base/chng-syms.exp
11404 * gdb.base/code-expr.exp
11405 * gdb.base/code_elim.exp
11406 * gdb.base/commands.exp
11407 * gdb.base/completion.exp
11408 * gdb.base/complex.exp
11409 * gdb.base/cond-expr.exp
11410 * gdb.base/condbreak.exp
11411 * gdb.base/consecutive.exp
11412 * gdb.base/continue-all-already-running.exp
11413 * gdb.base/coredump-filter.exp
11414 * gdb.base/corefile.exp
11416 * gdb.base/debug-expr.exp
11417 * gdb.base/define.exp
11419 * gdb.base/disabled-location.exp
11420 * gdb.base/disasm-end-cu.exp
11421 * gdb.base/disasm-optim.exp
11422 * gdb.base/display.exp
11423 * gdb.base/duplicate-bp.exp
11424 * gdb.base/ena-dis-br.exp
11425 * gdb.base/ending-run.exp
11426 * gdb.base/enumval.exp
11427 * gdb.base/environ.exp
11428 * gdb.base/eu-strip-infcall.exp
11429 * gdb.base/eval-avoid-side-effects.exp
11430 * gdb.base/eval-skip.exp
11431 * gdb.base/exitsignal.exp
11432 * gdb.base/expand-psymtabs.exp
11433 * gdb.base/filesym.exp
11434 * gdb.base/find-unmapped.exp
11435 * gdb.base/finish.exp
11436 * gdb.base/float.exp
11437 * gdb.base/foll-exec-mode.exp
11438 * gdb.base/foll-exec.exp
11439 * gdb.base/foll-fork.exp
11440 * gdb.base/fortran-sym-case.exp
11441 * gdb.base/freebpcmd.exp
11442 * gdb.base/func-ptr.exp
11443 * gdb.base/func-ptrs.exp
11444 * gdb.base/funcargs.exp
11445 * gdb.base/gcore-buffer-overflow.exp
11446 * gdb.base/gcore-relro-pie.exp
11447 * gdb.base/gcore-relro.exp
11448 * gdb.base/gcore.exp
11449 * gdb.base/gdb1090.exp
11450 * gdb.base/gdb11530.exp
11451 * gdb.base/gdb11531.exp
11452 * gdb.base/gdb1821.exp
11453 * gdb.base/gdbindex-stabs.exp
11454 * gdb.base/gdbvars.exp
11455 * gdb.base/hbreak.exp
11456 * gdb.base/hbreak2.exp
11457 * gdb.base/included.exp
11458 * gdb.base/infcall-input.exp
11459 * gdb.base/inferior-died.exp
11460 * gdb.base/infnan.exp
11461 * gdb.base/info-macros.exp
11462 * gdb.base/info-os.exp
11463 * gdb.base/info-proc.exp
11464 * gdb.base/info-shared.exp
11465 * gdb.base/info-target.exp
11466 * gdb.base/infoline.exp
11467 * gdb.base/interp.exp
11468 * gdb.base/interrupt.exp
11469 * gdb.base/jit-reader.exp
11470 * gdb.base/jit-simple.exp
11471 * gdb.base/kill-after-signal.exp
11472 * gdb.base/kill-detach-inferiors-cmd.exp
11473 * gdb.base/label.exp
11474 * gdb.base/langs.exp
11475 * gdb.base/ldbl_e308.exp
11476 * gdb.base/line-symtabs.exp
11477 * gdb.base/linespecs.exp
11478 * gdb.base/list.exp
11479 * gdb.base/long_long.exp
11480 * gdb.base/longest-types.exp
11481 * gdb.base/maint.exp
11482 * gdb.base/max-value-size.exp
11483 * gdb.base/memattr.exp
11484 * gdb.base/mips_pro.exp
11485 * gdb.base/morestack.exp
11486 * gdb.base/moribund-step.exp
11487 * gdb.base/multi-forks.exp
11488 * gdb.base/nested-addr.exp
11489 * gdb.base/nextoverexit.exp
11490 * gdb.base/noreturn-finish.exp
11491 * gdb.base/noreturn-return.exp
11492 * gdb.base/nostdlib.exp
11493 * gdb.base/offsets.exp
11494 * gdb.base/opaque.exp
11495 * gdb.base/pc-fp.exp
11496 * gdb.base/permissions.exp
11497 * gdb.base/print-symbol-loading.exp
11498 * gdb.base/prologue-include.exp
11499 * gdb.base/psymtab.exp
11500 * gdb.base/ptype.exp
11501 * gdb.base/random-signal.exp
11502 * gdb.base/randomize.exp
11503 * gdb.base/range-stepping.exp
11504 * gdb.base/readline-ask.exp
11505 * gdb.base/recpar.exp
11506 * gdb.base/recurse.exp
11507 * gdb.base/relational.exp
11508 * gdb.base/restore.exp
11509 * gdb.base/return-nodebug.exp
11510 * gdb.base/return.exp
11511 * gdb.base/run-after-attach.exp
11512 * gdb.base/save-bp.exp
11513 * gdb.base/scope.exp
11514 * gdb.base/sect-cmd.exp
11515 * gdb.base/set-lang-auto.exp
11516 * gdb.base/set-noassign.exp
11517 * gdb.base/setvar.exp
11518 * gdb.base/sigall.exp
11519 * gdb.base/sigbpt.exp
11520 * gdb.base/siginfo-addr.exp
11521 * gdb.base/siginfo-infcall.exp
11522 * gdb.base/siginfo-obj.exp
11523 * gdb.base/siginfo.exp
11524 * gdb.base/signals-state-child.exp
11525 * gdb.base/signest.exp
11526 * gdb.base/sigstep.exp
11527 * gdb.base/sizeof.exp
11528 * gdb.base/skip.exp
11529 * gdb.base/solib-corrupted.exp
11530 * gdb.base/solib-nodir.exp
11531 * gdb.base/solib-search.exp
11532 * gdb.base/stack-checking.exp
11533 * gdb.base/stale-infcall.exp
11534 * gdb.base/stap-probe.exp
11535 * gdb.base/start.exp
11536 * gdb.base/step-break.exp
11537 * gdb.base/step-bt.exp
11538 * gdb.base/step-line.exp
11539 * gdb.base/step-over-exit.exp
11540 * gdb.base/step-over-syscall.exp
11541 * gdb.base/step-resume-infcall.exp
11542 * gdb.base/step-test.exp
11543 * gdb.base/store.exp
11544 * gdb.base/structs3.exp
11545 * gdb.base/sym-file.exp
11546 * gdb.base/symbol-without-target_section.exp
11547 * gdb.base/term.exp
11548 * gdb.base/testenv.exp
11549 * gdb.base/ui-redirect.exp
11550 * gdb.base/until.exp
11551 * gdb.base/unwindonsignal.exp
11552 * gdb.base/value-double-free.exp
11553 * gdb.base/vla-datatypes.exp
11554 * gdb.base/vla-ptr.exp
11555 * gdb.base/vla-sideeffect.exp
11556 * gdb.base/volatile.exp
11557 * gdb.base/watch-cond-infcall.exp
11558 * gdb.base/watch-cond.exp
11559 * gdb.base/watch-non-mem.exp
11560 * gdb.base/watch-read.exp
11561 * gdb.base/watch-vfork.exp
11562 * gdb.base/watchpoint-cond-gone.exp
11563 * gdb.base/watchpoint-delete.exp
11564 * gdb.base/watchpoint-hw-hit-once.exp
11565 * gdb.base/watchpoint-hw.exp
11566 * gdb.base/watchpoint-stops-at-right-insn.exp
11567 * gdb.base/watchpoints.exp
11568 * gdb.base/wchar.exp
11569 * gdb.base/whatis-exp.exp
11570 * gdb.btrace/buffer-size.exp
11571 * gdb.btrace/data.exp
11572 * gdb.btrace/delta.exp
11573 * gdb.btrace/dlopen.exp
11574 * gdb.btrace/enable.exp
11575 * gdb.btrace/exception.exp
11576 * gdb.btrace/function_call_history.exp
11577 * gdb.btrace/gcore.exp
11578 * gdb.btrace/instruction_history.exp
11579 * gdb.btrace/nohist.exp
11580 * gdb.btrace/reconnect.exp
11581 * gdb.btrace/record_goto-step.exp
11582 * gdb.btrace/record_goto.exp
11583 * gdb.btrace/rn-dl-bind.exp
11584 * gdb.btrace/segv.exp
11585 * gdb.btrace/step.exp
11586 * gdb.btrace/stepi.exp
11587 * gdb.btrace/tailcall-only.exp
11588 * gdb.btrace/tailcall.exp
11589 * gdb.btrace/tsx.exp
11590 * gdb.btrace/unknown_functions.exp
11591 * gdb.btrace/vdso.exp
11592 * gdb.compile/compile-ifunc.exp
11593 * gdb.compile/compile-ops.exp
11594 * gdb.compile/compile-print.exp
11595 * gdb.compile/compile-setjmp.exp
11596 * gdb.cp/abstract-origin.exp
11597 * gdb.cp/ambiguous.exp
11598 * gdb.cp/annota2.exp
11599 * gdb.cp/annota3.exp
11600 * gdb.cp/anon-ns.exp
11601 * gdb.cp/anon-struct.exp
11602 * gdb.cp/anon-union.exp
11603 * gdb.cp/arg-reference.exp
11604 * gdb.cp/baseenum.exp
11606 * gdb.cp/breakpoint.exp
11607 * gdb.cp/bs15503.exp
11608 * gdb.cp/call-c.exp
11610 * gdb.cp/chained-calls.exp
11611 * gdb.cp/class2.exp
11612 * gdb.cp/classes.exp
11613 * gdb.cp/cmpd-minsyms.exp
11614 * gdb.cp/converts.exp
11615 * gdb.cp/cp-relocate.exp
11616 * gdb.cp/cpcompletion.exp
11617 * gdb.cp/cpexprs.exp
11618 * gdb.cp/cplabel.exp
11619 * gdb.cp/cplusfuncs.exp
11620 * gdb.cp/cpsizeof.exp
11622 * gdb.cp/derivation.exp
11623 * gdb.cp/destrprint.exp
11624 * gdb.cp/dispcxx.exp
11625 * gdb.cp/enum-class.exp
11626 * gdb.cp/exception.exp
11627 * gdb.cp/exceptprint.exp
11628 * gdb.cp/expand-psymtabs-cxx.exp
11629 * gdb.cp/expand-sals.exp
11630 * gdb.cp/extern-c.exp
11631 * gdb.cp/filename.exp
11632 * gdb.cp/formatted-ref.exp
11633 * gdb.cp/fpointer.exp
11634 * gdb.cp/gdb1355.exp
11635 * gdb.cp/gdb2495.exp
11637 * gdb.cp/impl-this.exp
11638 * gdb.cp/infcall-dlopen.exp
11639 * gdb.cp/inherit.exp
11640 * gdb.cp/iostream.exp
11641 * gdb.cp/koenig.exp
11643 * gdb.cp/m-data.exp
11644 * gdb.cp/m-static.exp
11645 * gdb.cp/mb-ctor.exp
11646 * gdb.cp/mb-inline.exp
11647 * gdb.cp/mb-templates.exp
11648 * gdb.cp/member-name.exp
11649 * gdb.cp/member-ptr.exp
11650 * gdb.cp/meth-typedefs.exp
11651 * gdb.cp/method.exp
11652 * gdb.cp/method2.exp
11653 * gdb.cp/minsym-fallback.exp
11655 * gdb.cp/namelessclass.exp
11656 * gdb.cp/namespace-enum.exp
11657 * gdb.cp/namespace-nested-import.exp
11658 * gdb.cp/namespace.exp
11659 * gdb.cp/nextoverthrow.exp
11660 * gdb.cp/no-dmgl-verbose.exp
11661 * gdb.cp/non-trivial-retval.exp
11662 * gdb.cp/noparam.exp
11663 * gdb.cp/nsdecl.exp
11664 * gdb.cp/nsimport.exp
11665 * gdb.cp/nsnested.exp
11666 * gdb.cp/nsnoimports.exp
11667 * gdb.cp/nsrecurs.exp
11668 * gdb.cp/nsstress.exp
11669 * gdb.cp/nsusing.exp
11670 * gdb.cp/operator.exp
11671 * gdb.cp/oranking.exp
11672 * gdb.cp/overload-const.exp
11673 * gdb.cp/overload.exp
11674 * gdb.cp/ovldbreak.exp
11675 * gdb.cp/ovsrch.exp
11676 * gdb.cp/paren-type.exp
11677 * gdb.cp/parse-lang.exp
11678 * gdb.cp/pass-by-ref.exp
11679 * gdb.cp/pr-1023.exp
11680 * gdb.cp/pr-1210.exp
11681 * gdb.cp/pr-574.exp
11682 * gdb.cp/pr10687.exp
11683 * gdb.cp/pr12028.exp
11684 * gdb.cp/pr17132.exp
11685 * gdb.cp/pr17494.exp
11686 * gdb.cp/pr9067.exp
11687 * gdb.cp/pr9167.exp
11688 * gdb.cp/pr9631.exp
11689 * gdb.cp/printmethod.exp
11690 * gdb.cp/psmang.exp
11691 * gdb.cp/psymtab-parameter.exp
11692 * gdb.cp/ptype-cv-cp.exp
11693 * gdb.cp/ptype-flags.exp
11694 * gdb.cp/re-set-overloaded.exp
11695 * gdb.cp/ref-types.exp
11697 * gdb.cp/scope-err.exp
11698 * gdb.cp/shadow.exp
11699 * gdb.cp/smartp.exp
11700 * gdb.cp/static-method.exp
11701 * gdb.cp/static-print-quit.exp
11702 * gdb.cp/temargs.exp
11703 * gdb.cp/templates.exp
11704 * gdb.cp/try_catch.exp
11705 * gdb.cp/typedef-operator.exp
11706 * gdb.cp/typeid.exp
11707 * gdb.cp/userdef.exp
11708 * gdb.cp/using-crash.exp
11709 * gdb.cp/var-tag.exp
11710 * gdb.cp/virtbase.exp
11711 * gdb.cp/virtfunc.exp
11712 * gdb.cp/virtfunc2.exp
11713 * gdb.cp/vla-cxx.exp
11714 * gdb.disasm/t01_mov.exp
11715 * gdb.disasm/t02_mova.exp
11716 * gdb.disasm/t03_add.exp
11717 * gdb.disasm/t04_sub.exp
11718 * gdb.disasm/t05_cmp.exp
11719 * gdb.disasm/t06_ari2.exp
11720 * gdb.disasm/t07_ari3.exp
11721 * gdb.disasm/t08_or.exp
11722 * gdb.disasm/t09_xor.exp
11723 * gdb.disasm/t10_and.exp
11724 * gdb.disasm/t11_logs.exp
11725 * gdb.disasm/t12_bit.exp
11726 * gdb.disasm/t13_otr.exp
11727 * gdb.dlang/circular.exp
11728 * gdb.dwarf2/arr-stride.exp
11729 * gdb.dwarf2/arr-subrange.exp
11730 * gdb.dwarf2/atomic-type.exp
11731 * gdb.dwarf2/bad-regnum.exp
11732 * gdb.dwarf2/bitfield-parent-optimized-out.exp
11733 * gdb.dwarf2/callframecfa.exp
11734 * gdb.dwarf2/clztest.exp
11735 * gdb.dwarf2/corrupt.exp
11736 * gdb.dwarf2/data-loc.exp
11737 * gdb.dwarf2/dup-psym.exp
11738 * gdb.dwarf2/dw2-anon-mptr.exp
11739 * gdb.dwarf2/dw2-anonymous-func.exp
11740 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
11741 * gdb.dwarf2/dw2-bad-unresolved.exp
11742 * gdb.dwarf2/dw2-basic.exp
11743 * gdb.dwarf2/dw2-canonicalize-type.exp
11744 * gdb.dwarf2/dw2-case-insensitive.exp
11745 * gdb.dwarf2/dw2-common-block.exp
11746 * gdb.dwarf2/dw2-compdir-oldgcc.exp
11747 * gdb.dwarf2/dw2-compressed.exp
11748 * gdb.dwarf2/dw2-const.exp
11749 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
11750 * gdb.dwarf2/dw2-cu-size.exp
11751 * gdb.dwarf2/dw2-dup-frame.exp
11752 * gdb.dwarf2/dw2-entry-value.exp
11753 * gdb.dwarf2/dw2-icycle.exp
11754 * gdb.dwarf2/dw2-ifort-parameter.exp
11755 * gdb.dwarf2/dw2-inline-break.exp
11756 * gdb.dwarf2/dw2-inline-param.exp
11757 * gdb.dwarf2/dw2-intercu.exp
11758 * gdb.dwarf2/dw2-intermix.exp
11759 * gdb.dwarf2/dw2-lexical-block-bare.exp
11760 * gdb.dwarf2/dw2-linkage-name-trust.exp
11761 * gdb.dwarf2/dw2-minsym-in-cu.exp
11762 * gdb.dwarf2/dw2-noloc.exp
11763 * gdb.dwarf2/dw2-op-call.exp
11764 * gdb.dwarf2/dw2-op-out-param.exp
11765 * gdb.dwarf2/dw2-opt-structptr.exp
11766 * gdb.dwarf2/dw2-param-error.exp
11767 * gdb.dwarf2/dw2-producer.exp
11768 * gdb.dwarf2/dw2-ranges-base.exp
11769 * gdb.dwarf2/dw2-ref-missing-frame.exp
11770 * gdb.dwarf2/dw2-reg-undefined.exp
11771 * gdb.dwarf2/dw2-regno-invalid.exp
11772 * gdb.dwarf2/dw2-restore.exp
11773 * gdb.dwarf2/dw2-restrict.exp
11774 * gdb.dwarf2/dw2-single-line-discriminators.exp
11775 * gdb.dwarf2/dw2-strp.exp
11776 * gdb.dwarf2/dw2-undefined-ret-addr.exp
11777 * gdb.dwarf2/dw2-unresolved.exp
11778 * gdb.dwarf2/dw2-var-zero-addr.exp
11779 * gdb.dwarf2/dw4-sig-types.exp
11780 * gdb.dwarf2/dwz.exp
11781 * gdb.dwarf2/dynarr-ptr.exp
11782 * gdb.dwarf2/enum-type.exp
11783 * gdb.dwarf2/gdb-index.exp
11784 * gdb.dwarf2/implptr-64bit.exp
11785 * gdb.dwarf2/implptr-optimized-out.exp
11786 * gdb.dwarf2/implptr.exp
11787 * gdb.dwarf2/implref-array.exp
11788 * gdb.dwarf2/implref-const.exp
11789 * gdb.dwarf2/implref-global.exp
11790 * gdb.dwarf2/implref-struct.exp
11791 * gdb.dwarf2/mac-fileno.exp
11792 * gdb.dwarf2/main-subprogram.exp
11793 * gdb.dwarf2/member-ptr-forwardref.exp
11794 * gdb.dwarf2/method-ptr.exp
11795 * gdb.dwarf2/missing-sig-type.exp
11796 * gdb.dwarf2/nonvar-access.exp
11797 * gdb.dwarf2/opaque-type-lookup.exp
11798 * gdb.dwarf2/pieces-optimized-out.exp
11799 * gdb.dwarf2/pieces.exp
11800 * gdb.dwarf2/pr10770.exp
11801 * gdb.dwarf2/pr13961.exp
11802 * gdb.dwarf2/staticvirtual.exp
11803 * gdb.dwarf2/subrange.exp
11804 * gdb.dwarf2/symtab-producer.exp
11805 * gdb.dwarf2/trace-crash.exp
11806 * gdb.dwarf2/typeddwarf.exp
11807 * gdb.dwarf2/valop.exp
11808 * gdb.dwarf2/watch-notconst.exp
11809 * gdb.fortran/array-element.exp
11810 * gdb.fortran/charset.exp
11811 * gdb.fortran/common-block.exp
11812 * gdb.fortran/complex.exp
11813 * gdb.fortran/derived-type-function.exp
11814 * gdb.fortran/derived-type.exp
11815 * gdb.fortran/logical.exp
11816 * gdb.fortran/module.exp
11817 * gdb.fortran/multi-dim.exp
11818 * gdb.fortran/nested-funcs.exp
11819 * gdb.fortran/print-formatted.exp
11820 * gdb.fortran/subarray.exp
11821 * gdb.fortran/vla-alloc-assoc.exp
11822 * gdb.fortran/vla-datatypes.exp
11823 * gdb.fortran/vla-history.exp
11824 * gdb.fortran/vla-ptr-info.exp
11825 * gdb.fortran/vla-ptype-sub.exp
11826 * gdb.fortran/vla-ptype.exp
11827 * gdb.fortran/vla-sizeof.exp
11828 * gdb.fortran/vla-type.exp
11829 * gdb.fortran/vla-value-sub-arbitrary.exp
11830 * gdb.fortran/vla-value-sub-finish.exp
11831 * gdb.fortran/vla-value-sub.exp
11832 * gdb.fortran/vla-value.exp
11833 * gdb.fortran/whatis_type.exp
11835 * gdb.go/handcall.exp
11837 * gdb.go/integers.exp
11838 * gdb.go/methods.exp
11839 * gdb.go/package.exp
11840 * gdb.go/strings.exp
11842 * gdb.go/unsafe.exp
11843 * gdb.guile/scm-arch.exp
11844 * gdb.guile/scm-block.exp
11845 * gdb.guile/scm-breakpoint.exp
11846 * gdb.guile/scm-cmd.exp
11847 * gdb.guile/scm-disasm.exp
11848 * gdb.guile/scm-equal.exp
11849 * gdb.guile/scm-frame-args.exp
11850 * gdb.guile/scm-frame-inline.exp
11851 * gdb.guile/scm-frame.exp
11852 * gdb.guile/scm-iterator.exp
11853 * gdb.guile/scm-math.exp
11854 * gdb.guile/scm-objfile.exp
11855 * gdb.guile/scm-ports.exp
11856 * gdb.guile/scm-symbol.exp
11857 * gdb.guile/scm-symtab.exp
11858 * gdb.guile/scm-value-cc.exp
11859 * gdb.guile/types-module.exp
11860 * gdb.linespec/break-ask.exp
11861 * gdb.linespec/cpexplicit.exp
11862 * gdb.linespec/explicit.exp
11863 * gdb.linespec/keywords.exp
11864 * gdb.linespec/linespec.exp
11865 * gdb.linespec/ls-dollar.exp
11866 * gdb.linespec/ls-errs.exp
11867 * gdb.linespec/skip-two.exp
11868 * gdb.linespec/thread.exp
11869 * gdb.mi/mi-async.exp
11870 * gdb.mi/mi-basics.exp
11871 * gdb.mi/mi-break.exp
11872 * gdb.mi/mi-catch-load.exp
11873 * gdb.mi/mi-cli.exp
11874 * gdb.mi/mi-cmd-param-changed.exp
11875 * gdb.mi/mi-console.exp
11876 * gdb.mi/mi-detach.exp
11877 * gdb.mi/mi-disassemble.exp
11878 * gdb.mi/mi-eval.exp
11879 * gdb.mi/mi-file-transfer.exp
11880 * gdb.mi/mi-file.exp
11881 * gdb.mi/mi-fill-memory.exp
11882 * gdb.mi/mi-inheritance-syntax-error.exp
11883 * gdb.mi/mi-linespec-err-cp.exp
11884 * gdb.mi/mi-logging.exp
11885 * gdb.mi/mi-memory-changed.exp
11886 * gdb.mi/mi-read-memory.exp
11887 * gdb.mi/mi-record-changed.exp
11888 * gdb.mi/mi-reg-undefined.exp
11889 * gdb.mi/mi-regs.exp
11890 * gdb.mi/mi-return.exp
11891 * gdb.mi/mi-reverse.exp
11892 * gdb.mi/mi-simplerun.exp
11893 * gdb.mi/mi-solib.exp
11894 * gdb.mi/mi-stack.exp
11895 * gdb.mi/mi-stepi.exp
11896 * gdb.mi/mi-syn-frame.exp
11897 * gdb.mi/mi-until.exp
11898 * gdb.mi/mi-var-block.exp
11899 * gdb.mi/mi-var-child.exp
11900 * gdb.mi/mi-var-cmd.exp
11901 * gdb.mi/mi-var-cp.exp
11902 * gdb.mi/mi-var-display.exp
11903 * gdb.mi/mi-var-invalidate.exp
11904 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
11905 * gdb.mi/mi-vla-fortran.exp
11906 * gdb.mi/mi-watch.exp
11907 * gdb.mi/mi2-var-child.exp
11908 * gdb.mi/user-selected-context-sync.exp
11909 * gdb.modula2/unbounded-array.exp
11910 * gdb.multi/dummy-frame-restore.exp
11911 * gdb.multi/multi-arch-exec.exp
11912 * gdb.multi/multi-arch.exp
11913 * gdb.multi/tids.exp
11914 * gdb.multi/watchpoint-multi.exp
11915 * gdb.opencl/callfuncs.exp
11916 * gdb.opencl/convs_casts.exp
11917 * gdb.opencl/datatypes.exp
11918 * gdb.opencl/operators.exp
11919 * gdb.opencl/vec_comps.exp
11920 * gdb.opt/clobbered-registers-O2.exp
11921 * gdb.opt/inline-break.exp
11922 * gdb.opt/inline-bt.exp
11923 * gdb.opt/inline-cmds.exp
11924 * gdb.opt/inline-locals.exp
11925 * gdb.pascal/case-insensitive-symbols.exp
11926 * gdb.pascal/floats.exp
11927 * gdb.pascal/gdb11492.exp
11928 * gdb.python/lib-types.exp
11929 * gdb.python/py-arch.exp
11930 * gdb.python/py-as-string.exp
11931 * gdb.python/py-bad-printers.exp
11932 * gdb.python/py-block.exp
11933 * gdb.python/py-breakpoint-create-fail.exp
11934 * gdb.python/py-breakpoint.exp
11935 * gdb.python/py-caller-is.exp
11936 * gdb.python/py-cmd.exp
11937 * gdb.python/py-explore-cc.exp
11938 * gdb.python/py-explore.exp
11939 * gdb.python/py-finish-breakpoint.exp
11940 * gdb.python/py-finish-breakpoint2.exp
11941 * gdb.python/py-frame-args.exp
11942 * gdb.python/py-frame-inline.exp
11943 * gdb.python/py-frame.exp
11944 * gdb.python/py-framefilter-mi.exp
11945 * gdb.python/py-infthread.exp
11946 * gdb.python/py-lazy-string.exp
11947 * gdb.python/py-linetable.exp
11948 * gdb.python/py-mi-events.exp
11949 * gdb.python/py-mi-objfile.exp
11950 * gdb.python/py-mi.exp
11951 * gdb.python/py-objfile.exp
11952 * gdb.python/py-pp-integral.exp
11953 * gdb.python/py-pp-maint.exp
11954 * gdb.python/py-pp-re-notag.exp
11955 * gdb.python/py-pp-registration.exp
11956 * gdb.python/py-recurse-unwind.exp
11957 * gdb.python/py-strfns.exp
11958 * gdb.python/py-symbol.exp
11959 * gdb.python/py-symtab.exp
11960 * gdb.python/py-sync-interp.exp
11961 * gdb.python/py-typeprint.exp
11962 * gdb.python/py-unwind-maint.exp
11963 * gdb.python/py-unwind.exp
11964 * gdb.python/py-value-cc.exp
11965 * gdb.python/py-xmethods.exp
11966 * gdb.reverse/amd64-tailcall-reverse.exp
11967 * gdb.reverse/break-precsave.exp
11968 * gdb.reverse/break-reverse.exp
11969 * gdb.reverse/consecutive-precsave.exp
11970 * gdb.reverse/consecutive-reverse.exp
11971 * gdb.reverse/finish-precsave.exp
11972 * gdb.reverse/finish-reverse-bkpt.exp
11973 * gdb.reverse/finish-reverse.exp
11974 * gdb.reverse/fstatat-reverse.exp
11975 * gdb.reverse/getresuid-reverse.exp
11976 * gdb.reverse/i386-precsave.exp
11977 * gdb.reverse/i386-reverse.exp
11978 * gdb.reverse/i386-sse-reverse.exp
11979 * gdb.reverse/i387-env-reverse.exp
11980 * gdb.reverse/i387-stack-reverse.exp
11981 * gdb.reverse/insn-reverse.exp
11982 * gdb.reverse/machinestate-precsave.exp
11983 * gdb.reverse/machinestate.exp
11984 * gdb.reverse/next-reverse-bkpt-over-sr.exp
11985 * gdb.reverse/pipe-reverse.exp
11986 * gdb.reverse/readv-reverse.exp
11987 * gdb.reverse/recvmsg-reverse.exp
11988 * gdb.reverse/rerun-prec.exp
11989 * gdb.reverse/s390-mvcle.exp
11990 * gdb.reverse/step-precsave.exp
11991 * gdb.reverse/step-reverse.exp
11992 * gdb.reverse/time-reverse.exp
11993 * gdb.reverse/until-precsave.exp
11994 * gdb.reverse/until-reverse.exp
11995 * gdb.reverse/waitpid-reverse.exp
11996 * gdb.reverse/watch-precsave.exp
11997 * gdb.reverse/watch-reverse.exp
11998 * gdb.rust/generics.exp
11999 * gdb.rust/methods.exp
12000 * gdb.rust/modules.exp
12001 * gdb.rust/simple.exp
12002 * gdb.server/connect-with-no-symbol-file.exp
12003 * gdb.server/ext-attach.exp
12004 * gdb.server/ext-restart.exp
12005 * gdb.server/ext-wrapper.exp
12006 * gdb.server/file-transfer.exp
12007 * gdb.server/server-exec-info.exp
12008 * gdb.server/server-kill.exp
12009 * gdb.server/server-mon.exp
12010 * gdb.server/wrapper.exp
12011 * gdb.stabs/exclfwd.exp
12012 * gdb.stabs/gdb11479.exp
12013 * gdb.threads/clone-new-thread-event.exp
12014 * gdb.threads/corethreads.exp
12015 * gdb.threads/current-lwp-dead.exp
12016 * gdb.threads/dlopen-libpthread.exp
12017 * gdb.threads/gcore-thread.exp
12018 * gdb.threads/sigstep-threads.exp
12019 * gdb.threads/watchpoint-fork.exp
12020 * gdb.trace/actions-changed.exp
12021 * gdb.trace/backtrace.exp
12022 * gdb.trace/change-loc.exp
12023 * gdb.trace/circ.exp
12024 * gdb.trace/collection.exp
12025 * gdb.trace/disconnected-tracing.exp
12026 * gdb.trace/ftrace.exp
12027 * gdb.trace/mi-trace-frame-collected.exp
12028 * gdb.trace/mi-trace-unavailable.exp
12029 * gdb.trace/mi-traceframe-changed.exp
12030 * gdb.trace/mi-tsv-changed.exp
12031 * gdb.trace/no-attach-trace.exp
12032 * gdb.trace/passc-dyn.exp
12033 * gdb.trace/qtro.exp
12034 * gdb.trace/range-stepping.exp
12035 * gdb.trace/read-memory.exp
12036 * gdb.trace/save-trace.exp
12037 * gdb.trace/signal.exp
12038 * gdb.trace/status-stop.exp
12039 * gdb.trace/tfile.exp
12040 * gdb.trace/trace-break.exp
12041 * gdb.trace/trace-buffer-size.exp
12042 * gdb.trace/trace-condition.exp
12043 * gdb.trace/tracefile-pseudo-reg.exp
12044 * gdb.trace/tstatus.exp
12045 * gdb.trace/unavailable.exp
12046 * gdb.trace/while-dyn.exp
12047 * gdb.trace/while-stepping.exp
12049 2016-12-22 Doug Evans <xdje42@gmail.com>
12051 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
12054 2016-12-19 Yao Qi <yao.qi@linaro.org>
12056 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
12057 (test_with_self): Don't call do_steps_and_nexts, and remove
12058 code about stepping into xmalloc.
12060 2016-12-09 Yao Qi <yao.qi@linaro.org>
12062 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
12064 2016-12-09 Yao Qi <yao.qi@linaro.org>
12066 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
12068 2016-12-09 Pedro Alves <palves@redhat.com>
12070 * gdb.base/all-architectures-0.exp: New file.
12071 * gdb.base/all-architectures-1.exp: New file.
12072 * gdb.base/all-architectures-2.exp: New file.
12073 * gdb.base/all-architectures-3.exp: New file.
12074 * gdb.base/all-architectures-4.exp: New file.
12075 * gdb.base/all-architectures-5.exp: New file.
12076 * gdb.base/all-architectures-6.exp: New file.
12077 * gdb.base/all-architectures-7.exp: New file.
12078 * gdb.base/all-architectures.exp.in: New file.
12080 2016-12-09 Yao Qi <yao.qi@linaro.org>
12082 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
12084 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
12086 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
12088 Remove useless pattern-matching code.
12090 2016-12-02 Pedro Alves <palves@redhat.com>
12092 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
12094 (top level): Call it.
12096 2016-12-02 Pedro Alves <palves@redhat.com>
12098 * gdb.base/commands.exp (user_defined_command_args_stack_test):
12100 (top level): Call it.
12102 2016-12-02 Pedro Alves <palves@redhat.com>
12105 * gdb.base/commands.exp (user_defined_command_args_eval): New
12107 (top level): Call it.
12109 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
12111 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
12114 2016-12-02 Tom Tromey <tom@tromey.com>
12116 * gdb.dwarf2/main-subprogram.c: New file.
12117 * gdb.dwarf2/main-subprogram.exp: New file.
12119 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
12121 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
12122 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
12123 gdb_test_no_output for a couple of cases.
12124 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
12126 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
12128 Fix test names and standardize compilation error messages throughout
12129 the following files:
12131 * gdb.ada/start.exp
12132 * gdb.arch/alpha-step.exp
12133 * gdb.arch/e500-prologue.exp
12134 * gdb.arch/ftrace-insn-reloc.exp
12135 * gdb.arch/gdb1291.exp
12136 * gdb.arch/gdb1431.exp
12137 * gdb.arch/gdb1558.exp
12138 * gdb.arch/i386-dr3-watch.exp
12139 * gdb.arch/i386-sse-stack-align.exp
12140 * gdb.arch/ia64-breakpoint-shadow.exp
12141 * gdb.arch/pa-nullify.exp
12142 * gdb.arch/powerpc-aix-prologue.exp
12143 * gdb.arch/thumb-bx-pc.exp
12144 * gdb.base/annota1.exp
12145 * gdb.base/annota3.exp
12146 * gdb.base/arrayidx.exp
12147 * gdb.base/assign.exp
12148 * gdb.base/attach.exp
12149 * gdb.base/auxv.exp
12150 * gdb.base/bang.exp
12151 * gdb.base/bfp-test.exp
12152 * gdb.base/bigcore.exp
12153 * gdb.base/bitfields2.exp
12154 * gdb.base/break-fun-addr.exp
12155 * gdb.base/break-probes.exp
12156 * gdb.base/call-rt-st.exp
12157 * gdb.base/callexit.exp
12158 * gdb.base/catch-fork-kill.exp
12159 * gdb.base/charset.exp
12160 * gdb.base/checkpoint.exp
12161 * gdb.base/comprdebug.exp
12162 * gdb.base/constvars.exp
12163 * gdb.base/coredump-filter.exp
12164 * gdb.base/cursal.exp
12165 * gdb.base/cvexpr.exp
12166 * gdb.base/detach.exp
12167 * gdb.base/display.exp
12168 * gdb.base/dmsym.exp
12169 * gdb.base/dprintf-pending.exp
12170 * gdb.base/dso2dso.exp
12171 * gdb.base/dtrace-probe.exp
12172 * gdb.base/dump.exp
12173 * gdb.base/enum_cond.exp
12174 * gdb.base/exe-lock.exp
12175 * gdb.base/exec-invalid-sysroot.exp
12176 * gdb.base/execl-update-breakpoints.exp
12177 * gdb.base/exprs.exp
12178 * gdb.base/fileio.exp
12179 * gdb.base/find.exp
12180 * gdb.base/finish.exp
12181 * gdb.base/fixsection.exp
12182 * gdb.base/foll-vfork.exp
12183 * gdb.base/frame-args.exp
12184 * gdb.base/gcore.exp
12185 * gdb.base/gdb1250.exp
12186 * gdb.base/global-var-nested-by-dso.exp
12187 * gdb.base/gnu-ifunc.exp
12188 * gdb.base/hashline1.exp
12189 * gdb.base/hashline2.exp
12190 * gdb.base/hashline3.exp
12191 * gdb.base/hbreak-in-shr-unsupported.exp
12192 * gdb.base/huge.exp
12193 * gdb.base/infcall-input.exp
12194 * gdb.base/info-fun.exp
12195 * gdb.base/info-shared.exp
12196 * gdb.base/jit-simple.exp
12197 * gdb.base/jit-so.exp
12199 * gdb.base/jump.exp
12200 * gdb.base/label.exp
12201 * gdb.base/lineinc.exp
12202 * gdb.base/logical.exp
12203 * gdb.base/longjmp.exp
12204 * gdb.base/macscp.exp
12205 * gdb.base/miscexprs.exp
12206 * gdb.base/new-ui-echo.exp
12207 * gdb.base/new-ui-pending-input.exp
12208 * gdb.base/new-ui.exp
12209 * gdb.base/nodebug.exp
12210 * gdb.base/nofield.exp
12211 * gdb.base/offsets.exp
12212 * gdb.base/overlays.exp
12213 * gdb.base/pending.exp
12214 * gdb.base/pointers.exp
12215 * gdb.base/pr11022.exp
12216 * gdb.base/printcmds.exp
12217 * gdb.base/prologue.exp
12218 * gdb.base/ptr-typedef.exp
12219 * gdb.base/realname-expand.exp
12220 * gdb.base/relativedebug.exp
12221 * gdb.base/relocate.exp
12222 * gdb.base/remote.exp
12223 * gdb.base/reread.exp
12224 * gdb.base/return2.exp
12225 * gdb.base/savedregs.exp
12227 * gdb.base/sepdebug.exp
12228 * gdb.base/sepsymtab.exp
12229 * gdb.base/set-inferior-tty.exp
12230 * gdb.base/setshow.exp
12231 * gdb.base/shlib-call.exp
12232 * gdb.base/sigaltstack.exp
12233 * gdb.base/siginfo-addr.exp
12234 * gdb.base/signals.exp
12235 * gdb.base/signull.exp
12236 * gdb.base/sigrepeat.exp
12237 * gdb.base/so-impl-ld.exp
12238 * gdb.base/solib-display.exp
12239 * gdb.base/solib-overlap.exp
12240 * gdb.base/solib-search.exp
12241 * gdb.base/solib-symbol.exp
12242 * gdb.base/structs.exp
12243 * gdb.base/structs2.exp
12244 * gdb.base/symtab-search-order.exp
12245 * gdb.base/twice.exp
12246 * gdb.base/unload.exp
12247 * gdb.base/varargs.exp
12248 * gdb.base/watchpoint-solib.exp
12249 * gdb.base/watchpoint.exp
12250 * gdb.base/whatis.exp
12251 * gdb.base/wrong_frame_bt_full.exp
12252 * gdb.btrace/dlopen.exp
12253 * gdb.cell/ea-standalone.exp
12254 * gdb.cell/ea-test.exp
12255 * gdb.cp/dispcxx.exp
12256 * gdb.cp/gdb2384.exp
12257 * gdb.cp/method2.exp
12258 * gdb.cp/nextoverthrow.exp
12259 * gdb.cp/pr10728.exp
12260 * gdb.disasm/am33.exp
12261 * gdb.disasm/h8300s.exp
12262 * gdb.disasm/mn10300.exp
12263 * gdb.disasm/sh3.exp
12264 * gdb.dwarf2/dw2-dir-file-name.exp
12265 * gdb.fortran/complex.exp
12266 * gdb.fortran/library-module.exp
12267 * gdb.guile/scm-pretty-print.exp
12268 * gdb.guile/scm-symbol.exp
12269 * gdb.guile/scm-type.exp
12270 * gdb.guile/scm-value.exp
12271 * gdb.linespec/linespec.exp
12272 * gdb.mi/gdb701.exp
12273 * gdb.mi/gdb792.exp
12274 * gdb.mi/mi-breakpoint-changed.exp
12275 * gdb.mi/mi-dprintf-pending.exp
12276 * gdb.mi/mi-dprintf.exp
12277 * gdb.mi/mi-exit-code.exp
12278 * gdb.mi/mi-pending.exp
12279 * gdb.mi/mi-solib.exp
12280 * gdb.mi/new-ui-mi-sync.exp
12281 * gdb.mi/pr11022.exp
12282 * gdb.mi/user-selected-context-sync.exp
12283 * gdb.opt/solib-intra-step.exp
12284 * gdb.python/py-events.exp
12285 * gdb.python/py-finish-breakpoint.exp
12286 * gdb.python/py-mi.exp
12287 * gdb.python/py-prettyprint.exp
12288 * gdb.python/py-shared.exp
12289 * gdb.python/py-symbol.exp
12290 * gdb.python/py-template.exp
12291 * gdb.python/py-type.exp
12292 * gdb.python/py-value.exp
12293 * gdb.reverse/solib-precsave.exp
12294 * gdb.reverse/solib-reverse.exp
12295 * gdb.server/solib-list.exp
12296 * gdb.stabs/weird.exp
12297 * gdb.threads/reconnect-signal.exp
12298 * gdb.threads/stepi-random-signal.exp
12299 * gdb.trace/actions.exp
12301 * gdb.trace/backtrace.exp
12302 * gdb.trace/change-loc.exp
12303 * gdb.trace/deltrace.exp
12304 * gdb.trace/ftrace-lock.exp
12305 * gdb.trace/ftrace.exp
12306 * gdb.trace/infotrace.exp
12307 * gdb.trace/mi-tracepoint-changed.exp
12308 * gdb.trace/packetlen.exp
12309 * gdb.trace/passcount.exp
12310 * gdb.trace/pending.exp
12311 * gdb.trace/range-stepping.exp
12312 * gdb.trace/report.exp
12313 * gdb.trace/stap-trace.exp
12314 * gdb.trace/tfind.exp
12315 * gdb.trace/trace-break.exp
12316 * gdb.trace/trace-condition.exp
12317 * gdb.trace/trace-enable-disable.exp
12318 * gdb.trace/trace-mt.exp
12319 * gdb.trace/tracecmd.exp
12320 * gdb.trace/tspeed.exp
12321 * gdb.trace/tsv.exp
12324 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
12326 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
12327 with gdb_test_no_output.
12328 Use command as test name.
12330 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
12332 Fix test names starting with uppercase throughout the files.
12334 * gdb.ada/assign_1.exp
12335 * gdb.ada/boolean_expr.exp
12336 * gdb.base/arrayidx.exp
12338 * gdb.base/gcore-buffer-overflow.exp
12339 * gdb.base/testenv.exp
12340 * gdb.compile/compile.exp
12341 * gdb.python/py-framefilter-invalidarg.exp
12342 * gdb.python/py-framefilter.exp
12344 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
12346 Fix test names starting with uppercase throughout the files.
12348 * gdb.ada/array_return.exp
12349 * gdb.ada/expr_delims.exp
12350 * gdb.ada/mi_dyn_arr.exp
12351 * gdb.ada/mi_interface.exp
12352 * gdb.ada/mi_var_array.exp
12353 * gdb.ada/watch_arg.exp
12354 * gdb.arch/alpha-step.exp
12355 * gdb.arch/altivec-regs.exp
12356 * gdb.arch/e500-regs.exp
12357 * gdb.arch/powerpc-d128-regs.exp
12358 * gdb.base/arrayidx.exp
12359 * gdb.base/break.exp
12360 * gdb.base/checkpoint.exp
12361 * gdb.base/debug-expr.exp
12362 * gdb.base/dmsym.exp
12363 * gdb.base/radix.exp
12364 * gdb.base/sepdebug.exp
12365 * gdb.base/testenv.exp
12366 * gdb.base/watch_thread_num.exp
12367 * gdb.base/watchpoint-cond-gone.exp
12368 * gdb.cell/break.exp
12369 * gdb.cell/ea-cache.exp
12370 * gdb.compile/compile.exp
12371 * gdb.cp/gdb2495.exp
12372 * gdb.gdb/selftest.exp
12373 * gdb.gdb/xfullpath.exp
12375 * gdb.go/integers.exp
12376 * gdb.objc/basicclass.exp
12377 * gdb.pascal/hello.exp
12378 * gdb.pascal/integers.exp
12379 * gdb.python/py-breakpoint.exp
12380 * gdb.python/py-cmd.exp
12381 * gdb.python/py-linetable.exp
12382 * gdb.python/py-xmethods.exp
12383 * gdb.python/python.exp
12384 * gdb.reverse/consecutive-precsave.exp
12385 * gdb.reverse/finish-precsave.exp
12386 * gdb.reverse/i386-precsave.exp
12387 * gdb.reverse/machinestate-precsave.exp
12388 * gdb.reverse/sigall-precsave.exp
12389 * gdb.reverse/solib-precsave.exp
12390 * gdb.reverse/step-precsave.exp
12391 * gdb.reverse/until-precsave.exp
12392 * gdb.reverse/watch-precsave.exp
12393 * gdb.threads/leader-exit.exp
12394 * gdb.threads/pthreads.exp
12395 * gdb.threads/wp-replication.exp
12396 * gdb.trace/actions.exp
12397 * gdb.trace/mi-tsv-changed.exp
12398 * gdb.trace/tsv.exp
12400 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
12402 Fix test names starting with uppercase throughout the files.
12404 * gdb.arch/i386-bp_permanent.exp
12405 * gdb.arch/i386-gnu-cfi.exp
12406 * gdb.base/disasm-end-cu.exp
12407 * gdb.base/macscp.exp
12408 * gdb.base/pending.exp
12409 * gdb.base/watch_thread_num.exp
12410 * gdb.cp/exception.exp
12411 * gdb.cp/gdb2495.exp
12413 * gdb.python/py-evsignal.exp
12414 * gdb.python/python.exp
12415 * gdb.trace/tracecmd.exp
12417 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
12419 Fix test names starting with uppercase throughout the files.
12421 * gdb.base/charset.exp
12422 * gdb.base/eval.exp
12423 * gdb.base/multi-forks.exp
12424 * gdb.guile/scm-progspace.exp
12425 * gdb.opencl/datatypes.exp
12426 * gdb.python/py-block.exp
12427 * gdb.python/py-function.exp
12428 * gdb.python/py-symbol.exp
12429 * gdb.python/py-symtab.exp
12430 * gdb.python/py-xmethods.exp
12431 * gdb.reverse/break-precsave.exp
12432 * gdb.reverse/break-reverse.exp
12433 * gdb.reverse/consecutive-precsave.exp
12434 * gdb.reverse/consecutive-reverse.exp
12435 * gdb.reverse/finish-precsave.exp
12436 * gdb.reverse/finish-reverse-bkpt.exp
12437 * gdb.reverse/finish-reverse.exp
12438 * gdb.reverse/fstatat-reverse.exp
12439 * gdb.reverse/getresuid-reverse.exp
12440 * gdb.reverse/i386-precsave.exp
12441 * gdb.reverse/i386-reverse.exp
12442 * gdb.reverse/i386-sse-reverse.exp
12443 * gdb.reverse/i387-stack-reverse.exp
12444 * gdb.reverse/insn-reverse.exp
12445 * gdb.reverse/machinestate-precsave.exp
12446 * gdb.reverse/machinestate.exp
12447 * gdb.reverse/next-reverse-bkpt-over-sr.exp
12448 * gdb.reverse/pipe-reverse.exp
12449 * gdb.reverse/readv-reverse.exp
12450 * gdb.reverse/recvmsg-reverse.exp
12451 * gdb.reverse/rerun-prec.exp
12452 * gdb.reverse/s390-mvcle.exp
12453 * gdb.reverse/sigall-precsave.exp
12454 * gdb.reverse/sigall-reverse.exp
12455 * gdb.reverse/solib-precsave.exp
12456 * gdb.reverse/solib-reverse.exp
12457 * gdb.reverse/step-precsave.exp
12458 * gdb.reverse/step-reverse.exp
12459 * gdb.reverse/time-reverse.exp
12460 * gdb.reverse/until-precsave.exp
12461 * gdb.reverse/until-reverse.exp
12462 * gdb.reverse/waitpid-reverse.exp
12463 * gdb.reverse/watch-precsave.exp
12464 * gdb.reverse/watch-reverse.exp
12466 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
12468 Fix test names starting with uppercase throughout the files.
12470 * gdb.arch/i386-mpx-simple_segv.exp
12471 * gdb.arch/i386-mpx.exp
12472 * gdb.arch/i386-permbkpt.exp
12473 * gdb.arch/pa-nullify.exp
12474 * gdb.arch/powerpc-d128-regs.exp
12475 * gdb.arch/vsx-regs.exp
12476 * gdb.base/bfp-test.exp
12477 * gdb.base/break.exp
12478 * gdb.base/breakpoint-shadow.exp
12479 * gdb.base/callfuncs.exp
12480 * gdb.base/charset.exp
12481 * gdb.base/commands.exp
12482 * gdb.base/completion.exp
12483 * gdb.base/dfp-test.exp
12484 * gdb.base/echo.exp
12485 * gdb.base/ending-run.exp
12486 * gdb.base/eval.exp
12487 * gdb.base/expand-psymtabs.exp
12488 * gdb.base/float128.exp
12489 * gdb.base/floatn.exp
12490 * gdb.base/foll-exec-mode.exp
12491 * gdb.base/gdb1056.exp
12492 * gdb.base/gdb11531.exp
12493 * gdb.base/kill-after-signal.exp
12494 * gdb.base/multi-forks.exp
12495 * gdb.base/overlays.exp
12496 * gdb.base/pending.exp
12497 * gdb.base/sepdebug.exp
12498 * gdb.base/testenv.exp
12499 * gdb.base/valgrind-db-attach.exp
12500 * gdb.base/watch_thread_num.exp
12501 * gdb.base/watchpoint-cond-gone.exp
12502 * gdb.base/watchpoint.exp
12503 * gdb.base/watchpoints.exp
12504 * gdb.cp/arg-reference.exp
12505 * gdb.cp/baseenum.exp
12506 * gdb.cp/operator.exp
12507 * gdb.cp/shadow.exp
12508 * gdb.dwarf2/dw2-op-out-param.exp
12509 * gdb.dwarf2/dw2-reg-undefined.exp
12512 * gdb.go/integers.exp
12513 * gdb.go/methods.exp
12514 * gdb.go/package.exp
12515 * gdb.guile/scm-parameter.exp
12516 * gdb.guile/scm-progspace.exp
12517 * gdb.guile/scm-value.exp
12518 * gdb.mi/mi-pending.exp
12519 * gdb.mi/user-selected-context-sync.exp
12520 * gdb.multi/multi-attach.exp
12521 * gdb.multi/tids.exp
12522 * gdb.opt/clobbered-registers-O2.exp
12523 * gdb.pascal/floats.exp
12524 * gdb.pascal/integers.exp
12525 * gdb.python/py-block.exp
12526 * gdb.python/py-events.exp
12527 * gdb.python/py-parameter.exp
12528 * gdb.python/py-symbol.exp
12529 * gdb.python/py-symtab.exp
12530 * gdb.python/py-type.exp
12531 * gdb.python/py-value.exp
12532 * gdb.python/py-xmethods.exp
12533 * gdb.python/python.exp
12534 * gdb.reverse/break-precsave.exp
12535 * gdb.reverse/consecutive-precsave.exp
12536 * gdb.reverse/finish-precsave.exp
12537 * gdb.reverse/i386-precsave.exp
12538 * gdb.reverse/machinestate-precsave.exp
12539 * gdb.reverse/sigall-precsave.exp
12540 * gdb.reverse/solib-precsave.exp
12541 * gdb.reverse/step-precsave.exp
12542 * gdb.reverse/until-precsave.exp
12543 * gdb.reverse/watch-precsave.exp
12544 * gdb.server/ext-attach.exp
12545 * gdb.server/ext-restart.exp
12546 * gdb.server/ext-run.exp
12547 * gdb.server/ext-wrapper.exp
12548 * gdb.stabs/gdb11479.exp
12549 * gdb.stabs/weird.exp
12550 * gdb.threads/attach-many-short-lived-threads.exp
12551 * gdb.threads/kill.exp
12552 * gdb.threads/watchpoint-fork.exp
12554 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
12556 Fix test names starting with uppercase throughout all the files below.
12558 * gdb.ada/array_return.exp
12559 * gdb.ada/catch_ex.exp
12560 * gdb.ada/info_exc.exp
12561 * gdb.ada/mi_catch_ex.exp
12562 * gdb.ada/mi_dyn_arr.exp
12563 * gdb.ada/mi_ex_cond.exp
12564 * gdb.ada/mi_exc_info.exp
12565 * gdb.ada/mi_interface.exp
12566 * gdb.ada/mi_task_arg.exp
12567 * gdb.ada/mi_task_info.exp
12568 * gdb.ada/mi_var_array.exp
12569 * gdb.arch/alpha-step.exp
12570 * gdb.arch/amd64-disp-step.exp
12571 * gdb.arch/arm-disp-step.exp
12572 * gdb.arch/disp-step-insn-reloc.exp
12573 * gdb.arch/e500-prologue.exp
12574 * gdb.arch/ftrace-insn-reloc.exp
12575 * gdb.arch/gdb1558.exp
12576 * gdb.arch/i386-bp_permanent.exp
12577 * gdb.arch/i386-disp-step.exp
12578 * gdb.arch/i386-float.exp
12579 * gdb.arch/i386-gnu-cfi.exp
12580 * gdb.arch/ia64-breakpoint-shadow.exp
12581 * gdb.arch/mips16-thunks.exp
12582 * gdb.arch/pa-nullify.exp
12583 * gdb.arch/powerpc-aix-prologue.exp
12584 * gdb.arch/powerpc-power.exp
12585 * gdb.arch/ppc-dfp.exp
12586 * gdb.arch/s390-tdbregs.exp
12587 * gdb.arch/spu-info.exp
12588 * gdb.arch/spu-ls.exp
12589 * gdb.arch/thumb-bx-pc.exp
12590 * gdb.base/advance.exp
12591 * gdb.base/annota-input-while-running.exp
12592 * gdb.base/arrayidx.exp
12593 * gdb.base/asmlabel.exp
12594 * gdb.base/async.exp
12595 * gdb.base/attach-wait-input.exp
12596 * gdb.base/auto-connect-native-target.exp
12597 * gdb.base/batch-preserve-term-settings.exp
12598 * gdb.base/bfp-test.exp
12599 * gdb.base/bigcore.exp
12600 * gdb.base/bp-permanent.exp
12601 * gdb.base/break-always.exp
12602 * gdb.base/break-fun-addr.exp
12603 * gdb.base/break-idempotent.exp
12604 * gdb.base/break-main-file-remove-fail.exp
12605 * gdb.base/break-probes.exp
12606 * gdb.base/break-unload-file.exp
12607 * gdb.base/break.exp
12608 * gdb.base/call-ar-st.exp
12609 * gdb.base/call-rt-st.exp
12610 * gdb.base/call-sc.exp
12611 * gdb.base/call-signal-resume.exp
12612 * gdb.base/call-strs.exp
12613 * gdb.base/callexit.exp
12614 * gdb.base/callfuncs.exp
12615 * gdb.base/catch-gdb-caused-signals.exp
12616 * gdb.base/catch-signal-siginfo-cond.exp
12617 * gdb.base/catch-syscall.exp
12618 * gdb.base/compare-sections.exp
12619 * gdb.base/cond-eval-mode.exp
12620 * gdb.base/condbreak-call-false.exp
12621 * gdb.base/consecutive-step-over.exp
12622 * gdb.base/cursal.exp
12623 * gdb.base/disabled-location.exp
12624 * gdb.base/disasm-end-cu.exp
12625 * gdb.base/display.exp
12626 * gdb.base/double-prompt-target-event-error.exp
12627 * gdb.base/dprintf-bp-same-addr.exp
12628 * gdb.base/dprintf-detach.exp
12629 * gdb.base/dprintf-next.exp
12630 * gdb.base/dprintf-non-stop.exp
12631 * gdb.base/dprintf-pending.exp
12632 * gdb.base/dso2dso.exp
12633 * gdb.base/ending-run.exp
12634 * gdb.base/enum_cond.exp
12635 * gdb.base/examine-backward.exp
12636 * gdb.base/exe-lock.exp
12637 * gdb.base/exec-invalid-sysroot.exp
12638 * gdb.base/execl-update-breakpoints.exp
12639 * gdb.base/execution-termios.exp
12640 * gdb.base/fileio.exp
12641 * gdb.base/fixsection.exp
12642 * gdb.base/foll-exec-mode.exp
12643 * gdb.base/foll-exec.exp
12644 * gdb.base/fork-running-state.exp
12645 * gdb.base/frame-args.exp
12646 * gdb.base/fullpath-expand.exp
12647 * gdb.base/func-ptr.exp
12648 * gdb.base/gcore-relro-pie.exp
12649 * gdb.base/gdb1090.exp
12650 * gdb.base/gdb1555.exp
12651 * gdb.base/global-var-nested-by-dso.exp
12652 * gdb.base/gnu-ifunc.exp
12653 * gdb.base/hbreak-in-shr-unsupported.exp
12654 * gdb.base/hbreak-unmapped.exp
12655 * gdb.base/hook-stop.exp
12656 * gdb.base/infcall-input.exp
12657 * gdb.base/info-fun.exp
12658 * gdb.base/info-shared.exp
12659 * gdb.base/interrupt-noterm.exp
12660 * gdb.base/jit-so.exp
12662 * gdb.base/line-symtabs.exp
12663 * gdb.base/list.exp
12664 * gdb.base/longjmp.exp
12665 * gdb.base/macscp.exp
12666 * gdb.base/max-value-size.exp
12667 * gdb.base/nodebug.exp
12668 * gdb.base/nofield.exp
12669 * gdb.base/overlays.exp
12670 * gdb.base/paginate-after-ctrl-c-running.exp
12671 * gdb.base/paginate-bg-execution.exp
12672 * gdb.base/paginate-inferior-exit.exp
12673 * gdb.base/pending.exp
12674 * gdb.base/pr11022.exp
12675 * gdb.base/printcmds.exp
12676 * gdb.base/ptr-typedef.exp
12677 * gdb.base/ptype.exp
12678 * gdb.base/randomize.exp
12679 * gdb.base/range-stepping.exp
12680 * gdb.base/realname-expand.exp
12681 * gdb.base/relativedebug.exp
12682 * gdb.base/remote.exp
12683 * gdb.base/savedregs.exp
12684 * gdb.base/sepdebug.exp
12685 * gdb.base/set-noassign.exp
12686 * gdb.base/shlib-call.exp
12687 * gdb.base/shreloc.exp
12688 * gdb.base/sigaltstack.exp
12689 * gdb.base/sigbpt.exp
12690 * gdb.base/siginfo-addr.exp
12691 * gdb.base/siginfo-obj.exp
12692 * gdb.base/siginfo-thread.exp
12693 * gdb.base/signest.exp
12694 * gdb.base/signull.exp
12695 * gdb.base/sigrepeat.exp
12696 * gdb.base/skip.exp
12697 * gdb.base/so-impl-ld.exp
12698 * gdb.base/solib-corrupted.exp
12699 * gdb.base/solib-disc.exp
12700 * gdb.base/solib-display.exp
12701 * gdb.base/solib-overlap.exp
12702 * gdb.base/solib-search.exp
12703 * gdb.base/solib-symbol.exp
12704 * gdb.base/source-execution.exp
12705 * gdb.base/sss-bp-on-user-bp-2.exp
12706 * gdb.base/sss-bp-on-user-bp.exp
12707 * gdb.base/stack-checking.exp
12708 * gdb.base/stale-infcall.exp
12709 * gdb.base/step-break.exp
12710 * gdb.base/step-line.exp
12711 * gdb.base/step-over-exit.exp
12712 * gdb.base/step-test.exp
12713 * gdb.base/structs.exp
12714 * gdb.base/sym-file.exp
12715 * gdb.base/symtab-search-order.exp
12716 * gdb.base/term.exp
12717 * gdb.base/type-opaque.exp
12718 * gdb.base/unload.exp
12719 * gdb.base/until-nodebug.exp
12720 * gdb.base/until.exp
12721 * gdb.base/unwindonsignal.exp
12722 * gdb.base/watch-cond.exp
12723 * gdb.base/watch-non-mem.exp
12724 * gdb.base/watch_thread_num.exp
12725 * gdb.base/watchpoint-reuse-slot.exp
12726 * gdb.base/watchpoint-solib.exp
12727 * gdb.base/watchpoint.exp
12728 * gdb.btrace/dlopen.exp
12729 * gdb.cell/arch.exp
12730 * gdb.cell/break.exp
12732 * gdb.cell/core.exp
12733 * gdb.cell/data.exp
12734 * gdb.cell/dwarfaddr.exp
12735 * gdb.cell/ea-cache.exp
12736 * gdb.cell/ea-standalone.exp
12737 * gdb.cell/ea-test.exp
12738 * gdb.cell/f-regs.exp
12739 * gdb.cell/fork.exp
12740 * gdb.cell/gcore.exp
12741 * gdb.cell/mem-access.exp
12742 * gdb.cell/ptype.exp
12743 * gdb.cell/registers.exp
12744 * gdb.cell/sizeof.exp
12745 * gdb.cell/solib-symbol.exp
12746 * gdb.cell/solib.exp
12747 * gdb.compile/compile-tls.exp
12748 * gdb.cp/exception.exp
12749 * gdb.cp/gdb2495.exp
12751 * gdb.cp/mb-inline.exp
12752 * gdb.cp/mb-templates.exp
12753 * gdb.cp/pr10687.exp
12754 * gdb.cp/pr9167.exp
12755 * gdb.cp/scope-err.exp
12756 * gdb.cp/templates.exp
12757 * gdb.cp/virtfunc.exp
12758 * gdb.dwarf2/dw2-dir-file-name.exp
12759 * gdb.dwarf2/dw2-single-line-discriminators.exp
12760 * gdb.fortran/complex.exp
12761 * gdb.fortran/library-module.exp
12762 * gdb.guile/guile.exp
12763 * gdb.guile/scm-cmd.exp
12764 * gdb.guile/scm-frame-inline.exp
12765 * gdb.guile/scm-objfile.exp
12766 * gdb.guile/scm-pretty-print.exp
12767 * gdb.guile/scm-symbol.exp
12768 * gdb.guile/scm-type.exp
12769 * gdb.guile/scm-value.exp
12770 * gdb.linespec/keywords.exp
12771 * gdb.linespec/ls-errs.exp
12772 * gdb.linespec/macro-relative.exp
12773 * gdb.linespec/thread.exp
12774 * gdb.mi/mi-breakpoint-changed.exp
12775 * gdb.mi/mi-dprintf-pending.exp
12776 * gdb.mi/mi-fullname-deleted.exp
12777 * gdb.mi/mi-logging.exp
12778 * gdb.mi/mi-pending.exp
12779 * gdb.mi/mi-solib.exp
12780 * gdb.mi/new-ui-mi-sync.exp
12781 * gdb.mi/user-selected-context-sync.exp
12782 * gdb.multi/dummy-frame-restore.exp
12783 * gdb.multi/multi-arch-exec.exp
12784 * gdb.multi/remove-inferiors.exp
12785 * gdb.multi/watchpoint-multi-exit.exp
12786 * gdb.opt/solib-intra-step.exp
12787 * gdb.perf/backtrace.exp
12788 * gdb.perf/single-step.exp
12789 * gdb.perf/skip-command.exp
12790 * gdb.perf/skip-prologue.exp
12791 * gdb.perf/solib.exp
12792 * gdb.python/lib-types.exp
12793 * gdb.python/py-as-string.exp
12794 * gdb.python/py-bad-printers.exp
12795 * gdb.python/py-block.exp
12796 * gdb.python/py-breakpoint.exp
12797 * gdb.python/py-cmd.exp
12798 * gdb.python/py-events.exp
12799 * gdb.python/py-evthreads.exp
12800 * gdb.python/py-finish-breakpoint.exp
12801 * gdb.python/py-finish-breakpoint2.exp
12802 * gdb.python/py-frame-inline.exp
12803 * gdb.python/py-frame.exp
12804 * gdb.python/py-inferior.exp
12805 * gdb.python/py-infthread.exp
12806 * gdb.python/py-mi.exp
12807 * gdb.python/py-objfile.exp
12808 * gdb.python/py-pp-maint.exp
12809 * gdb.python/py-pp-registration.exp
12810 * gdb.python/py-prettyprint.exp
12811 * gdb.python/py-recurse-unwind.exp
12812 * gdb.python/py-shared.exp
12813 * gdb.python/py-symbol.exp
12814 * gdb.python/py-symtab.exp
12815 * gdb.python/py-template.exp
12816 * gdb.python/py-type.exp
12817 * gdb.python/py-unwind-maint.exp
12818 * gdb.python/py-unwind.exp
12819 * gdb.python/py-value.exp
12820 * gdb.python/python.exp
12821 * gdb.reverse/finish-reverse-bkpt.exp
12822 * gdb.reverse/insn-reverse.exp
12823 * gdb.reverse/next-reverse-bkpt-over-sr.exp
12824 * gdb.reverse/solib-precsave.exp
12825 * gdb.reverse/solib-reverse.exp
12826 * gdb.stabs/gdb11479.exp
12827 * gdb.stabs/weird.exp
12828 * gdb.threads/fork-child-threads.exp
12829 * gdb.threads/fork-plus-threads.exp
12830 * gdb.threads/fork-thread-pending.exp
12831 * gdb.threads/forking-threads-plus-breakpoint.exp
12832 * gdb.threads/hand-call-in-threads.exp
12833 * gdb.threads/interrupted-hand-call.exp
12834 * gdb.threads/linux-dp.exp
12835 * gdb.threads/local-watch-wrong-thread.exp
12836 * gdb.threads/next-while-other-thread-longjmps.exp
12837 * gdb.threads/non-ldr-exit.exp
12838 * gdb.threads/pending-step.exp
12839 * gdb.threads/print-threads.exp
12840 * gdb.threads/process-dies-while-detaching.exp
12841 * gdb.threads/process-dies-while-handling-bp.exp
12842 * gdb.threads/pthreads.exp
12843 * gdb.threads/queue-signal.exp
12844 * gdb.threads/reconnect-signal.exp
12845 * gdb.threads/signal-command-handle-nopass.exp
12846 * gdb.threads/signal-command-multiple-signals-pending.exp
12847 * gdb.threads/signal-delivered-right-thread.exp
12848 * gdb.threads/signal-sigtrap.exp
12849 * gdb.threads/sigthread.exp
12850 * gdb.threads/staticthreads.exp
12851 * gdb.threads/stepi-random-signal.exp
12852 * gdb.threads/thread-unwindonsignal.exp
12853 * gdb.threads/thread_check.exp
12854 * gdb.threads/thread_events.exp
12855 * gdb.threads/tid-reuse.exp
12856 * gdb.threads/tls-nodebug.exp
12857 * gdb.threads/tls-shared.exp
12858 * gdb.threads/tls-so_extern.exp
12859 * gdb.threads/tls.exp
12860 * gdb.threads/wp-replication.exp
12861 * gdb.trace/actions-changed.exp
12862 * gdb.trace/actions.exp
12863 * gdb.trace/backtrace.exp
12864 * gdb.trace/change-loc.exp
12865 * gdb.trace/collection.exp
12866 * gdb.trace/deltrace.exp
12867 * gdb.trace/disconnected-tracing.exp
12868 * gdb.trace/entry-values.exp
12869 * gdb.trace/ftrace-lock.exp
12870 * gdb.trace/ftrace.exp
12871 * gdb.trace/infotrace.exp
12872 * gdb.trace/mi-trace-frame-collected.exp
12873 * gdb.trace/mi-trace-unavailable.exp
12874 * gdb.trace/mi-traceframe-changed.exp
12875 * gdb.trace/mi-tracepoint-changed.exp
12876 * gdb.trace/mi-tsv-changed.exp
12877 * gdb.trace/no-attach-trace.exp
12878 * gdb.trace/packetlen.exp
12879 * gdb.trace/passc-dyn.exp
12880 * gdb.trace/passcount.exp
12881 * gdb.trace/pending.exp
12882 * gdb.trace/pr16508.exp
12883 * gdb.trace/qtro.exp
12884 * gdb.trace/range-stepping.exp
12885 * gdb.trace/read-memory.exp
12886 * gdb.trace/report.exp
12887 * gdb.trace/save-trace.exp
12888 * gdb.trace/signal.exp
12889 * gdb.trace/stap-trace.exp
12890 * gdb.trace/status-stop.exp
12891 * gdb.trace/strace.exp
12892 * gdb.trace/tfile.exp
12893 * gdb.trace/tfind.exp
12894 * gdb.trace/trace-break.exp
12895 * gdb.trace/trace-condition.exp
12896 * gdb.trace/trace-enable-disable.exp
12897 * gdb.trace/trace-mt.exp
12898 * gdb.trace/tracecmd.exp
12899 * gdb.trace/tracefile-pseudo-reg.exp
12900 * gdb.trace/tspeed.exp
12901 * gdb.trace/tstatus.exp
12902 * gdb.trace/tsv.exp
12903 * gdb.trace/unavailable.exp
12904 * gdb.trace/while-dyn.exp
12905 * gdb.trace/while-stepping.exp
12906 * lib/gdb-guile.exp
12908 * lib/mi-support.exp
12911 * lib/prelink-support.exp
12912 * lib/selftest-support.exp
12914 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
12916 * Makefile.in: Include disable-implicit-rules.mk.
12918 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12920 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
12921 non-byte-aligned bit fields.
12923 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
12926 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
12927 respects the DW_AT_data_bit_offset attribute.
12929 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
12931 * gdb.base/default.exp: Fix output of "set language".
12933 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
12935 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
12936 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
12938 * configure.ac: Remove checks for the make program.
12939 * configure: Re-generate.
12941 2016-11-16 Kevin Buettner <kevinb@redhat.com>
12943 * gdb.python/py-recurse-unwind.c (main): Add loop.
12944 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
12945 to read_register() and gdb.parse_and_eval(). Make each code
12946 call a separate case that can be individually tested.
12947 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
12948 proc. Call cont_and_backtrace for each of the code paths that
12949 we want to test in the unwinder.
12951 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
12953 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
12954 the definition of struct S.
12956 2016-11-11 Catherine Moore <clm@codesourcery.com>
12958 * gdb.base/dump.exp: Identify verilog format dump tests as such.
12960 2016-11-09 Pedro Alves <palves@redhat.com>
12962 * gdb.base/commands.exp (runto_or_return): New procedure.
12963 (gdbvar_simple_if_test, gdbvar_simple_while_test)
12964 (gdbvar_complex_if_while_test, progvar_simple_if_test)
12965 (progvar_simple_while_test, progvar_complex_if_while_test)
12966 (if_while_breakpoint_command_test)
12967 (infrun_breakpoint_command_test, breakpoint_command_test)
12968 (user_defined_command_test, watchpoint_command_test)
12969 (test_command_prompt_position, redefine_hook_test)
12970 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
12971 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
12972 multi_line_input and multi_line. Remove gdb_expect and
12973 gdb_stop_suppressing_tests uses.
12974 * lib/gdb.exp (valnum_re): New global.
12975 (multi_line_input): New procedure.
12977 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
12979 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
12981 (test_setup): Define with proc_with_prefix.
12982 (test_cli_inferior): Likewise.
12983 (test_cli_thread): Likewise.
12984 (test_cli_frame): Likewise.
12985 (test_cli_select_frame): Likewise.
12986 (test_cli_up_down): Likewise.
12987 (test_mi_thread_select): Likewise.
12988 (test_mi_stack_select_frame): Likewise.
12989 (test_cli_in_mi_inferior): Likewise.
12990 (test_cli_in_mi_thread): Likewise.
12991 (test_cli_in_mi_frame): Likewise.
12992 (top level): Do not use with_test_prefix_procname.
12994 2016-11-09 Pedro Alves <palves@redhat.com>
12996 * gdb.base/commands.exp (gdbvar_simple_if_test)
12997 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
12998 (progvar_simple_if_test, progvar_simple_while_test)
12999 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
13000 (infrun_breakpoint_command_test, breakpoint_command_test)
13001 (user_defined_command_test, watchpoint_command_test)
13002 (test_command_prompt_position, deprecated_command_test)
13003 (bp_deleted_in_command, temporary_breakpoint_commands)
13004 (stray_arg0_test, source_file_with_indented_comment)
13005 (recursive_source_test, if_commands_test)
13006 (error_clears_commands_left, redefine_hook_test)
13007 (redefine_backtrace_test): Use proc_with_prefix.
13008 * lib/gdb.exp (proc_with_prefix): New proc.
13010 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
13012 * gdb.base/tui-layout.c: New file.
13013 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
13014 disassembly window contains very long lines.
13016 2016-11-08 Tom Tromey <tom@tromey.com>
13018 * gdb.python/py-value.exp (test_value_creation): Make "long" test
13019 depend on Python 2.
13021 2016-11-08 Tom Tromey <tom@tromey.com>
13023 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
13026 2016-10-29 Manish Goregaokar <manish@mozilla.com>
13028 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
13030 2016-10-27 Manish Goregaokar <manish@mozilla.com>
13032 * gdb.rust/simple.rs: Add test for univariant enums without
13033 discriminants and for encoded struct-like enums.
13035 2016-10-28 Pedro Alves <palves@redhat.com>
13037 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
13038 gdb_test_multiple, tighten regexps and match symtabs and line
13039 tables incrementally.
13041 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
13043 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
13046 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
13048 * gdb.base/exec-invalid-sysroot.exp: New file.
13050 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
13052 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
13054 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13056 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
13058 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
13060 * gdb.base/killed-outside.exp: Remove $options from a call to
13061 `prepare_for_testing'.
13063 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
13065 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
13066 Change test message.
13068 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
13070 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
13073 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
13075 * gdb.trace/mi-trace-save.exp: New file.
13077 2016-10-13 Yao Qi <yao.qi@linaro.org>
13079 * gdb.base/code_elim.exp (get_var_address): Remove.
13080 * gdb.base/relocate.exp: Likewise.
13081 * gdb.base/shreloc.exp: Likewise.
13082 * lib/gdb.exp (get_var_address): New.
13084 2016-10-13 Yao Qi <yao.qi@linaro.org>
13086 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
13087 floating point tests if $skip_float_test is false.
13089 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
13091 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
13092 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
13094 Add 1 to argc so we guarantee distinct initial/modified argc values.
13096 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13098 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
13100 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13102 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
13103 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
13104 * gdb.arch/vsx-regs.exp: Likewise.
13106 2016-10-07 Yao Qi <yao.qi@linaro.org>
13108 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
13110 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
13112 * gdb.python/python.exp: Test decode_line("*0").
13114 2016-10-06 Doug Evans <dje@google.com>
13116 * gdb.python/py-value.exp (test_value_creation): Add test for large
13117 unsigned 64-bit value.
13119 2016-10-06 Tom Tromey <tom@tromey.com>
13121 * gdb.compile/compile.exp: Change java tests to rust.
13122 * gdb.base/setshow.exp: Change java tests to rust.
13123 * gdb.base/default.exp: Remove java from language list.
13124 * README (Examples): Update language example.
13125 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
13127 * lib/gdb.exp (skip_java_tests): Remove.
13128 * lib/java.exp: Remove.
13129 * gdb.java: Remove.
13131 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
13133 * gdb.arch/mips-fcr.exp: New test.
13134 * gdb.arch/mips-fcr.c: Source for the new test.
13136 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
13138 * gdb.base/solib-disc.exp: Use `standard_output_file'
13141 2016-10-06 Pedro Alves <palves@redhat.com>
13143 * gdb.base/jit-simple-dl.c: New file.
13144 * gdb.base/jit-simple-jit.c: New file, factored out from ...
13145 * gdb.base/jit-simple.c: ... this.
13146 * gdb.base/jit-simple.exp (jit_run): Delete.
13147 (build_jit): New proc.
13148 (jit_test_reread): Recompile either the main program or the shared
13149 library, depending on what is being tested. Skip changing address
13150 if caller wants to. Compare before/after addresses. If testing
13151 standalone, explicitly load the binary. Test "maint info
13153 (top level): Add "standalone vs shared lib" and "change address"
13154 vs "same address" axes.
13156 2016-10-06 Pedro Alves <palves@redhat.com>
13158 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
13161 (jit_test_reread): Use with_test_prefix. Reload the main binary
13162 explicitly. Compare the before/after addresses of the JIT
13165 2016-08-15 Doug Evans <dje@google.com>
13167 * gdb.xml/extra-regs.xml: Update, end field now required, default type
13168 for single bitfields is bool.
13169 * gdb.xml/tdesc-regs.exp: Ditto.
13171 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
13173 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
13175 2016-10-05 Yao Qi <yao.qi@linaro.org>
13177 * lib/gdb.exp (support_complex_tests): Return zero if
13178 gdb_skip_float_test return true.
13180 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
13181 Simon Marchi <simon.marchi@ericsson.com>
13184 * gdb.mi/user-selected-context-sync.exp: New file.
13185 * gdb.mi/user-selected-context-sync.c: New file.
13187 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
13188 Simon Marchi <simon.marchi@ericsson.com>
13191 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
13192 =thread-select-event check.
13194 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
13196 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
13197 the compulsory L operand changes.
13198 * gdb.arch/powerpc-power.s: Likewise.
13200 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13202 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
13203 * gdb.base/jit-attach-pie.c: New file.
13204 * gdb.base/jit-attach-pie.exp: New file.
13206 2016-09-28 Pedro Alves <palves@redhat.com>
13208 * gdb.base/infcall-input.c: New file.
13209 * gdb.base/infcall-input.exp: New file.
13211 2016-09-22 Yao Qi <yao.qi@linaro.org>
13213 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
13214 (gdb_exit): Rename it to ...
13215 (gdbserver_gdb_exit): ... Close GDBserver.
13216 (gdb_exit): New proc, call gdbserver_gdb_exit.
13217 (mi_gdb_exit): Likewise.
13219 2016-09-22 Yao Qi <yao.qi@linaro.org>
13221 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
13223 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
13224 Remove duplication.
13226 2016-09-22 Yao Qi <yao.qi@linaro.org>
13228 * lib/gdbserver-support.exp: Check the existence of
13229 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
13231 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
13233 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
13235 2016-09-21 Tom Tromey <tom@tromey.com>
13238 * gdb.base/quit.exp: New file.
13240 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
13242 * .gitignore: New file.
13244 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
13246 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
13249 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13251 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
13253 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13255 * gdb.cp/casts.cc (decltype): Move it ...
13256 (main): ... with its call to ...
13257 * gdb.cp/casts03.cc: ... a new file.
13258 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
13260 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13262 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
13264 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
13266 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
13267 and sync up the test with tests in gas/testsuite/gas/ppc.
13268 * gdb.arch/powerpc-power.exp: Likewise.
13270 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13272 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
13274 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
13275 Jan Kratochvil <jan.kratochvil@redhat.com>
13277 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
13278 make m1's definition to be different from m2's. Use 'dummy' as an
13279 argument for probe 'two'.
13281 2016-09-10 Jon Beniston <jon@beniston.com>
13283 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
13286 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
13288 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
13289 variable declaration.
13290 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
13291 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
13292 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
13293 received HWCAP as its argument.
13295 2016-09-06 Pedro Alves <palves@redhat.com>
13297 * gdb.base/new-ui-pending-input.c: New file.
13298 * gdb.base/new-ui-pending-input.exp: New file.
13299 * gdb.exp (clear_gdb_spawn_id): New procedure.
13300 (with_spawn_id): Check whether gdb_spawn_id exists before
13301 referencing it. If gdb_spawn_id didn't exist on entry, clear it
13304 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
13306 * gdb.base/float128.c: New file.
13307 * gdb.base/float128.exp: Likewise.
13308 * gdb.base/floatn.c: Likewise.
13309 * gdb.base/floatn.exp: Likewise.
13311 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
13313 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
13315 2016-09-05 Pedro Alves <palves@redhat.com>
13318 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
13319 unwinders are immediately called as side effect of "source" or
13320 "disable unwinder" commands.
13321 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
13323 2016-09-02 Yao Qi <yao.qi@linaro.org>
13325 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
13326 is true and $type is "float" or "double".
13328 2016-09-02 Yao Qi <yao.qi@linaro.org>
13330 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
13332 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
13333 * gdb.base/call-rt-st.exp: Likewise.
13334 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
13335 return value instead of gdb,skip_float_test.
13336 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
13337 (do_function_calls): Use its return value instead of
13338 gdb,skip_float_test.
13339 * gdb.base/finish.exp: Likewise.
13340 * gdb.base/funcargs.exp: Likewise.
13341 * gdb.base/return.exp: Likewise.
13342 * gdb.base/return2.exp: Likewise.
13343 * gdb.base/varargs.exp: Likewise.
13344 * lib/gdb.exp (gdb_skip_float_test): Change it to
13345 gdb_caching_proc. Detect the broken ptrace on arm-linux.
13347 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
13349 * gdb.multi/tids.exp: Test "thread apply all".
13351 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13353 * gdb.base/default.exp (tty): Remove.
13355 2016-08-24 Kevin Buettner <kevinb@redhat.com>
13357 * gdb.python/py-recurse-unwind.c: New file.
13358 * gdb.python/py-recurse-unwind.py: New file.
13359 * gdb.python/py-recurse-unwind.exp: New file.
13361 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
13363 * gdb.base/set-inferior-tty.exp: New file.
13364 * gdb.base/set-inferior-tty.c: New file.
13366 2016-08-23 Pedro Alves <palves@redhat.com>
13369 * gdb.base/new-ui-echo.c: New file.
13370 * gdb.base/new-ui-echo.exp: New file.
13372 2016-08-23 Yao Qi <yao.qi@linaro.org>
13374 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
13376 * gdb.server/connect-without-multi-process.exp (do_test):
13379 2016-08-23 Yao Qi <yao.qi@linaro.org>
13381 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
13382 standalone_txt. Delete gdb_txt and standalone_txt on host
13383 and target. Spawn the binary on target. Copy files from
13386 2016-08-22 Pedro Alves <palves@redhat.com>
13389 * gdb.base/vdso-warning.exp: Test core dumps too. Use
13390 with_test_prefix. Factor out bits to ...
13391 (test_no_vdso): ... this new procedure.
13393 2016-08-19 Carl Love <cel@us.ibm.com>
13395 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
13396 maintaining separate logic for constructing the output path.
13397 * gdb.arch/powerpc-d128-regs.exp: Likewise.
13398 * gdb.arch/ppc-dfp.exp: Likewise.
13399 * gdb.arch/ppc-fp.exp: Likewise.
13400 * gdb.arch/vsx-regs.exp: Likewise.
13401 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
13402 binprefix for generating the additional binary files.
13404 2016-08-19 Pedro Alves <palves@redhat.com>
13406 * gdb.trace/mi-trace-frame-collected.exp
13407 (test_trace_frame_collected): On x32, expect two registers.
13409 2016-08-18 Carl Love <cel@us.ibm.com>
13411 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
13412 and sync up the test with tests in gas/testsuite/gas/ppc.
13413 * gdb.arch/powerpc-power.exp: Likewise.
13415 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
13417 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
13418 expected error message.
13420 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
13422 * gdb.multi/remove-inferiors.exp: New file.
13423 * gdb.multi/remove-inferiors.c: New file.
13425 2016-08-12 Yao Qi <yao.qi@linaro.org>
13427 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
13430 2016-08-10 Pedro Alves <palves@redhat.com>
13433 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
13436 2016-08-09 Pedro Alves <palves@redhat.com>
13437 Simon Marchi <simon.marchi@ericsson.com>
13440 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
13441 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
13443 2016-08-09 Pedro Alves <palves@redhat.com>
13446 * gdb.mi/mi-cmd-error.exp: New file.
13448 2016-08-09 Pedro Alves <palves@redhat.com>
13451 * gdb.base/signals-state-child.c: New file.
13452 * gdb.base/signals-state-child.exp: New file.
13453 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
13455 2016-08-09 Pedro Alves <palves@redhat.com>
13457 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
13459 2016-08-03 Tom Tromey <tom@tromey.com>
13462 * gdb.python/py-frame-inline.exp: Add Frame.function test.
13464 2016-08-01 Yao Qi <yao.qi@linaro.org>
13466 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
13467 variable mode to "multi-process" if $multi_process is 1, otherwise
13468 set it to "single-process".
13470 2016-08-01 Yao Qi <yao.qi@linaro.org>
13472 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
13473 * gdb.cp/cpexprs.exp: Likewise.
13474 * gdb.cp/m-static.exp: Likewise.
13476 2016-07-26 Tom Tromey <tom@tromey.com>
13479 * gdb.threads/tls.exp (check_thread_local): Add python symbol
13482 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
13484 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
13485 selecting assembly source files.
13486 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
13487 assembly source files.
13488 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
13489 assembly source files.
13490 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
13491 selecting assembly source files.
13493 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
13495 * gdb.base/new-ui.exp (do_test_invalid_args): New
13498 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
13500 * gdb.btrace/reconnect.c: New file.
13501 * gdb.btrace/reconnect.exp: New file.
13503 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
13505 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
13506 to test_catch_syscall_group.
13507 (test_catch_syscall_group): New.
13509 2016-07-21 Tom Tromey <tom@tromey.com>
13511 * gdb.rust/simple.rs (main): Use empty struct expression.
13512 * gdb.rust/simple.exp: Add tests for empty struct expression.
13514 2016-07-21 Yao Qi <yao.qi@linaro.org>
13516 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
13517 if gdb_skip_xml_test is true on some targets.
13519 2016-07-21 Yao Qi <yao.qi@linaro.org>
13521 * gdb.server/solib-list.exp: Unset last_loaded_file.
13523 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13525 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
13526 "step into captured_main (args)".
13528 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13530 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
13532 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13534 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
13536 2016-07-19 Pedro Alves <palves@redhat.com>
13538 * gdb.opt/inline-break.exp: Remove optimize=-O2.
13539 * gdb.opt/inline-bt.exp: Likewise.
13540 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
13541 additional_flags=-Winline.
13542 * gdb.opt/inline-locals.exp: Likewise.
13543 * gdb.opt/inline-markers.c (ATTR): Define.
13544 (inlined_fn): Use it.
13546 2016-07-19 Yao Qi <yao.qi@linaro.org>
13548 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
13549 (test_with_self): Remove some code. Remove argument executable.
13550 (top-level): Use do_self_tests.
13552 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
13553 Don Breazeal <donb@codesourcery.com>
13555 * gdb.base/maint.exp: Escape paths used in regular expressions.
13556 * gdb.stabs/weird.exp: Likewise.
13558 2016-07-13 Tom Tromey <tom@tromey.com>
13560 PR python/15620, PR python/18620:
13561 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
13562 (test_bkpt_events): New procs.
13564 2016-07-13 Tom Tromey <tom@tromey.com>
13567 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
13569 (test_watchpoints): Likewise.
13570 (test_bkpt_pending): New proc.
13572 2016-07-13 Tom Tromey <tom@tromey.com>
13575 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
13578 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13580 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
13581 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
13582 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
13584 (g): Rename g_end_lbl to g_label.
13585 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
13586 low_pc and high_pc.
13587 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
13589 2016-07-12 Tom Tromey <tom@tromey.com>
13592 * gdb.python/py-unwind-maint.exp: Update tests.
13594 2016-07-12 Yao Qi <yao.qi@linaro.org>
13596 * lib/selftest-support.exp (selftest_setup): Match the output
13597 when captured_main is inlined.
13599 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
13601 * gdb.fortran/derived-types.exp (result_line, result_line_2):
13603 (print this%a, print this%b, print this): New tests.
13604 * gdb.fortran/derived-types.f90 (this): New object and
13607 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
13609 * gdb.ada/arraydim.exp: Remove extra directory level in build
13612 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
13614 * lib/ada.exp: Remove extra directory level in build directory.
13615 * gdb.ada/cond_lang.exp: Likewise.
13616 * gdb.ada/exec_changed.exp: Likewise.
13617 * gdb.ada/lang_switch.exp: Likewise.
13619 2016-07-06 Manish Goregaokar <manish@mozilla.com>
13621 * simple.rs: Add test for raw pointer subscripting.
13622 * simple.exp: Add test expectations.
13624 2016-07-05 Yao Qi <yao.qi@linaro.org>
13626 * gdb.mi/mi-reverse.exp: Match =record-started output.
13628 2016-07-01 Pedro Alves <palves@redhat.com>
13630 * gdb.base/jit-reader.exp (info_registers_current_frame): New
13632 (jit_reader_test): Test the jit reader's unwinder.
13633 * gdb.base/jithost.c (jit_function_00_code): New global.
13634 (main): Use memcpy to fill in the mmapped code, instead of poking
13635 bytes manually here.
13636 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
13638 (read_debug_info): Save the function's range.
13639 (read_sp): New function.
13640 (unwind_frame): Use it. Also unwind RBP.
13641 (get_frame_id): Use read_sp.
13642 (gdb_init_reader): Use calloc instead of malloc.
13643 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
13644 parameter. Use gdb_test_multiple.
13646 2016-07-01 Pedro Alves <palves@redhat.com>
13647 Antoine Tremblay <antoine.tremblay@ericsson.com>
13649 * gdb.threads/process-dies-while-detaching.c: New file.
13650 * gdb.threads/process-dies-while-detaching.exp: New file.
13652 2016-07-01 Pedro Alves <palves@redhat.com>
13654 * gdb.multi/watchpoint-multi-exit.c: New file.
13655 * gdb.multi/watchpoint-multi-exit.exp: New file.
13657 2016-06-30 Pedro Alves <palves@redhat.com>
13659 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
13660 unset inferior_spawn_id.
13662 2016-06-30 Pedro Alves <palves@redhat.com>
13664 * lib/mi-support.exp (default_mi_gdb_start): Declare global
13665 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
13667 2016-06-29 Yao Qi <yao.qi@linaro.org>
13669 * gdb.base/return.c: Add copyright header.
13671 2016-06-29 Tom Tromey <tom@tromey.com>
13674 * gdb.python/py-framefilter.exp: Add tests for setting priority
13675 and disabling of non-existent frame filter.
13677 2016-06-29 Yao Qi <yao.qi@linaro.org>
13679 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
13682 2016-06-28 Yao Qi <yao.qi@linaro.org>
13684 * gdb.base/catch-syscall.exp: Remove check on isnative and target
13685 triplets. Start gdb, execute catch syscall, and continue. Check
13686 gdb's output to determine catch syscall is supported.
13688 2016-06-27 Manish Goregaokar <manish@mozilla.com>
13690 * gdb.rust/simple.rs: Add test for returning unit in a function.
13691 * gdb.rust/simple.exp: Add expectation for functions returning
13694 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
13696 * gdb.python/py-breakpoint-create-fail.c,
13697 gdb.python/py-breakpoint-create-fail.exp,
13698 gdb.python/py-breakpoint-create-fail.py: New testcase.
13700 2016-06-25 Manish Goregaokar <manish@mozilla.com>
13703 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
13704 * gdb.rust/simple.exp: Add test expectations for new NonZero
13707 2016-06-24 David Taylor <dtaylor@emc.com>
13709 * gdb.base/offsets.exp: New file.
13710 * gdb.base/offsets.c: New file.
13712 2016-06-23 Tom Tromey <tom@tromey.com>
13715 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
13716 before any filters are loaded.
13718 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
13720 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
13721 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
13723 * gdb.fortran/derived-type-function.exp: New file.
13724 * gdb.fortran/derived-type-function.f90: New file.
13727 2016-06-21 Pedro Alves <palves@redhat.com>
13729 * gdb.base/new-ui.exp: New file.
13730 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
13731 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
13732 (with_spawn_id): New procedure.
13734 2016-06-21 Pedro Alves <palves@redhat.com>
13736 * gdb.mi/mi-exec-run.exp: New file.
13738 2016-06-21 Pedro Alves <palves@redhat.com>
13740 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
13741 breakpoint command's output on the main UI.
13742 (test_break): New procedure, factored out from calls in the top
13744 (top level): Use foreach_with_prefix to test MI as main UI and as
13747 2016-06-21 Pedro Alves <palves@redhat.com>
13749 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
13750 (test_awatch_creation_and_listing)
13751 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
13752 Remove 'type' parameter.
13753 (test_watchpoint_all): New parameter mi_mode. Remove
13755 (top level): Use foreach_with_prefix, and add main/separate UI MI
13758 2016-06-21 Pedro Alves <palves@redhat.com>
13760 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
13761 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
13762 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
13763 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
13764 (gdb_main_spawn_id, mi_spawn_id): Declare and
13766 (mi_create_inferior_pty): New procedure,
13767 factored out from default_mi_gdb_start.
13768 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
13770 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
13771 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
13772 Use mi_create_inferior_pty.
13773 (mi_gdb_start): Use eval to pass down args list.
13775 2016-06-21 Pedro Alves <palves@redhat.com>
13777 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
13778 * gdb.opt/inline-cmds.exp: Add MI tests.
13780 2016-06-21 Pedro Alves <palves@redhat.com>
13782 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
13784 2016-06-21 Pedro Alves <palves@redhat.com>
13786 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
13787 (top level): Use it instead of mi_execute_to.
13789 2016-06-21 Pedro Alves <palves@redhat.com>
13791 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
13792 (cont_handler_str): New.
13793 (signal_stop_handler): Set stop_handler_str instead of printing to
13795 (continue_handler): Set cont_handler_str instead of printing to
13797 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
13798 mi_send_resuming_command. Print stop_handler_str and
13799 cont_handler_str instead of expecting the python events print
13802 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
13804 * gdb.base/jit-reader.exp: New file.
13805 * gdb.base/jithost.c: New file.
13806 * gdb.base/jithost.h: New file.
13807 * gdb.base/jitreader.c : New file.
13808 * gdb.base/jit-protocol.h: New file.
13810 2016-06-17 Yao Qi <yao.qi@linaro.org>
13812 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
13813 parameters follow_fork and detach_on_fork. Set follow-fork-mode
13814 and detach-on-fork. Adjust tests.
13815 (top level): Invoke break_cond_on_syscall with combinations of
13816 syscall, follow-fork-mode and detach-on-fork.
13818 2016-06-17 Yao Qi <yao.qi@linaro.org>
13820 * gdb.base/step-over-exit.c: New.
13821 * gdb.base/step-over-exit.exp: New.
13823 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
13825 * gdb.base/float.exp: Add target check for nds32*-*-*.
13826 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
13828 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
13830 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
13831 for unsupported target features.
13832 * gdb.base/call-rt-st.exp: Likewise.
13833 * gdb.base/call-sc.exp: Likewise.
13834 * gdb.base/call-signal-resume.exp: Likewise.
13835 * gdb.base/call-strs.exp: Likewise.
13836 * gdb.base/callexit.exp: Likewise.
13837 * gdb.base/callfuncs.exp: Likewise.
13838 * gdb.base/nodebug.exp: Likewise.
13839 * gdb.base/printcmds.exp: Likewise.
13840 * gdb.base/ptype.exp: Likewise.
13841 * gdb.base/structs.exp: Likewise.
13842 * gdb.base/unwindonsignal.exp: Likewise.
13843 * gdb.cp/gdb2495.exp: Likewise.
13844 * gdb.cp/templates.exp: Likewise.
13845 * gdb.cp/virtfunc.exp: Likewise.
13846 * gdb.threads/hand-call-in-threads.exp: Likewise.
13847 * gdb.threads/interrupted-hand-call.exp: Likewise.
13848 * gdb.threads/thread-unwindonsignal.exp: Likewise.
13850 2016-06-10 Tom Tromey <tom@tromey.com>
13853 * gdb.rust/expr.exp: Add test for integer constant larger than
13856 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
13858 * gdb.fortran/nested-funcs.exp: New.
13859 * gdb.fortran/nested-funcs.f90: New.
13861 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
13863 * gdb.base/examine-backward.c: New file.
13864 * gdb.base/examine-backward.exp: New file.
13866 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
13868 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
13871 2016-06-02 Tom Tromey <tom@tromey.com>
13874 * gdb.python/py-shared.exp: Add solib_name test.
13876 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
13878 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
13880 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
13883 * gdb.dwarf2/implref.exp: Rename to...
13884 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
13885 * gdb.dwarf2/implref-array.c: New file.
13886 * gdb.dwarf2/implref-array.exp: Likewise.
13887 * gdb.dwarf2/implref-global.c: Likewise.
13888 * gdb.dwarf2/implref-global.exp: Likewise.
13889 * gdb.dwarf2/implref-struct.c: Likewise.
13890 * gdb.dwarf2/implref-struct.exp: Likewise.
13892 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13894 * gdb.trace/trace-condition.exp: Add 64bit tests.
13896 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13898 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
13900 (main): Adapt to 8 to 64 bits types.
13901 * gdb.trace/trace-condition.exp: Add new tests.
13903 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13905 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
13907 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13909 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
13910 Move condition tests...
13911 * gdb.trace/trace-condition.exp: Here.
13913 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
13915 * gdb.trace/trace-condition.exp: Add counter-case tests.
13917 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13920 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
13921 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
13923 2016-05-27 Pedro Alves <palves@redhat.com>
13925 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
13927 (top level): Call it, and bail out of DejaGnu is known to be bad.
13929 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
13931 * gdb.base/whatis.c: Extend the test case.
13932 * gdb.base/whatis.exp: Add additional tests.
13934 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13936 * gdb.fortran/type.f90: Add pointer variable.
13937 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
13939 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13941 * gdb.fortran/vla-type.exp: Fix testcase name.
13943 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13945 * gdb.fortran/vla-type.exp: Access elements in nested structs.
13947 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13949 * gdb.fortran/type.f90: Add nested structures.
13950 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
13951 * gdb.fortran/derived-type.exp: Adapt expected output.
13952 * gdb.fortran/vla-type.exp: Adapt expected output.
13954 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13956 * gdb.fortran/whatis_type.exp: Adapt expected output.
13958 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13960 * gdb.fortran/print_type.exp: Fix expected output.
13961 * gdb.fortran/whatis_type.exp: Fix expected output.
13963 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
13965 * gdb.fortran/whatis_type.exp: Use multi_line.
13967 2016-05-24 Tom Tromey <tom@tromey.com>
13970 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
13971 use value as an index.
13973 2016-05-23 Tom Tromey <tom@tromey.com>
13976 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
13977 no-breakpoint case.
13979 2016-05-24 Pedro Alves <palves@redhat.com>
13982 * gdb.threads/clone-attach-detach.c: New file.
13983 * gdb.threads/clone-attach-detach.exp: New file.
13985 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
13987 * gdb.base/annota-input-while-running.exp: Fix syntax error.
13989 2016-05-23 Tom Tromey <tom@tromey.com>
13991 PR python/19438, PR python/18393:
13992 * gdb.python/py-progspace.exp: Add "dir" test.
13993 * gdb.python/py-objfile.exp: Add "dir" test.
13995 2016-05-23 Yao Qi <yao.qi@linaro.org>
13997 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
13998 * gdb.arch/thumb2-it.exp: Likewise.
14000 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
14002 * gdb.mi/mi-threads-interrupt.c: New file.
14003 * gdb.mi/mi-threads-interrupt.exp: New file.
14005 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
14008 * gdb.mi/mi-async-run.exp: New file.
14009 * gdb.mi/mi-async-run.c: New file.
14011 2016-05-17 Tom Tromey <tom@tromey.com>
14012 Manish Goregaokar <manishsmail@gmail.com>
14014 * lib/rust-support.exp: New file.
14015 * lib/gdb.exp (skip_rust_tests): New proc.
14016 (build_executable_from_specs): Handle rust.
14017 * lib/future.exp (gdb_find_rustc): New proc.
14018 (gdb_default_target_compile): Handle rust.
14019 * gdb.rust/expr.exp: New file.
14020 * gdb.rust/generics.exp: New file.
14021 * gdb.rust/generics.rs: New file.
14022 * gdb.rust/methods.exp: New file.
14023 * gdb.rust/methods.rs: New file.
14024 * gdb.rust/modules.exp: New file.
14025 * gdb.rust/modules.rs: New file.
14026 * gdb.rust/simple.exp: New file.
14027 * gdb.rust/simple.rs: New file.
14029 2016-05-17 Tom Tromey <tom@tromey.com>
14031 * gdb.base/default.exp (set language): Add rust.
14033 2016-05-17 Tom Tromey <tom@tromey.com>
14035 * gdb.gdb/unittest.exp: New file.
14037 2016-05-16 Yao Qi <yao.qi@linaro.org>
14039 * gdb.base/batch-preserve-term-settings.exp: Remove variable
14040 shell_prompt. Update shell_prompt_re.
14042 2016-05-12 Doug Evans <dje@google.com>
14045 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
14046 $options when building executable.
14047 * gdb.dwarf2/fission-loclists-pie.S: New file.
14048 * gdb.dwarf2/fission-loclists-pie.exp: New file.
14050 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
14052 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
14053 of [is_remote target],
14055 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
14057 * lib/gdb.exp (use_gdb_stub): New procedure.
14059 2016-05-03 Yunlian Jiang <yunlian@google.com>
14060 Doug Evans <dje@google.com>
14063 * gdb.dwarf2/dwp-sepdebug.c: New file.
14064 * gdb.dwarf2/dwp-sepdebug.exp: New file.
14066 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
14068 * gdb.base/detach.exp: Remove is_remote check.
14070 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
14072 * gdb.base/annota-input-while-running.exp: Don't check for
14073 [is_remote target]. Enable annotations after running to main.
14074 Remove unused "set test..." line.
14076 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
14078 * gdb.trace/trace-enable-disable.exp: New file.
14079 * gdb.trace/trace-enable-disable.c: New file.
14081 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
14083 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
14084 use it in info sharedlibrary test.
14085 * gdb.trace/ftrace-lock.exp: Likewise.
14086 * gdb.trace/ftrace.exp: Likewise.
14087 * gdb.trace/range-stepping.exp: Likewise.
14088 * gdb.trace/trace-break.exp: Likewise.
14089 * gdb.trace/trace-condition.exp: Likewise.
14090 * gdb.trace/trace-mt.exp: Likewise.
14092 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
14094 * lib/gdb.exp (gdb_load_shlibs): Rename to...
14095 (gdb_load_shlib): ... this.
14096 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
14098 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
14099 * gdb.base/ctxobj.exp: Likewise.
14100 * gdb.base/dprintf-pending.exp: Likewise.
14101 * gdb.base/dso2dso.exp: Likewise.
14102 * gdb.base/fixsection.exp: Likewise.
14103 * gdb.base/gcore-relro.exp: Likewise.
14104 * gdb.base/gdb1555.exp: Likewise.
14105 * gdb.base/global-var-nested-by-dso.exp: Likewise.
14106 * gdb.base/gnu-ifunc.exp: Likewise.
14107 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
14108 * gdb.base/jit-so.exp (one_jit_test): Likewise.
14109 * gdb.base/pending.exp: Likewise.
14110 * gdb.base/print-file-var.exp: Likewise.
14111 * gdb.base/print-symbol-loading.exp: Likewise.
14112 * gdb.base/shlib-call.exp: Likewise.
14113 * gdb.base/shreloc.exp: Likewise.
14114 * gdb.base/so-impl-ld.exp: Likewise.
14115 * gdb.base/solib-disc.exp: Likewise.
14116 * gdb.base/solib-nodir.exp: Likewise.
14117 * gdb.base/solib-overlap.exp: Likewise.
14118 * gdb.base/solib-symbol.exp: Likewise.
14119 * gdb.base/solib-weak.exp (do_test): Likewise.
14120 * gdb.base/sym-file.exp: Likewise.
14121 * gdb.base/symtab-search-order.exp: Likewise.
14122 * gdb.base/type-opaque.exp: Likewise.
14123 * gdb.base/unload.exp: Likewise.
14124 * gdb.base/watchpoint-solib.exp: Likewise.
14125 * gdb.compile/compile.exp: Likewise.
14126 * gdb.cp/gdb2384.exp: Likewise.
14127 * gdb.cp/infcall-dlopen.exp: Likewise.
14128 * gdb.cp/re-set-overloaded.exp: Likewise.
14129 * gdb.fortran/library-module.exp: Likewise.
14130 * gdb.opt/solib-intra-step.exp: Likewise.
14131 * gdb.python/py-finish-breakpoint.exp: Likewise.
14132 * gdb.python/py-shared.exp: Likewise.
14133 * gdb.reverse/solib-precsave.exp: Likewise.
14134 * gdb.reverse/solib-reverse.exp: Likewise.
14135 * gdb.server/solib-list.exp: Likewise.
14136 * gdb.threads/dlopen-libpthread.exp: Likewise.
14137 * gdb.threads/tls-shared.exp: Likewise.
14138 * gdb.threads/tls-so_extern.exp: Likewise.
14139 * gdb.trace/change-loc.exp: Likewise.
14140 * gdb.trace/ftrace-lock.exp: Likewise.
14141 * gdb.trace/ftrace.exp: Likewise.
14142 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
14143 * gdb.trace/pending.exp: Likewise.
14144 * gdb.trace/range-stepping.exp: Likewise.
14145 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
14146 (strace_info_marker): Likewise.
14147 (strace_probe_marker): Likewise.
14148 (strace_trace_on_same_addr): Likewise.
14149 (strace_trace_on_diff_addr): Likewise.
14150 * gdb.trace/trace-break.exp: Likewise.
14151 * gdb.trace/trace-condition.exp: Likewise.
14152 * gdb.trace/trace-mt.exp: Likewise.
14154 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
14156 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
14157 result of gdb_remote_download.
14158 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
14159 * gdb.base/dso2dso.exp: Likewise.
14160 * gdb.base/global-var-nested-by-dso.exp: Likewise.
14161 * gdb.base/print-file-var.exp: Likewise.
14162 * gdb.base/shlib-call.exp: Likewise.
14163 * gdb.base/shreloc.exp: Likewise.
14164 * gdb.base/solib-overlap.exp: Likewise.
14165 * gdb.base/solib-weak.exp (do_test): Likewise.
14166 * gdb.base/unload.exp: Likewise.
14168 2016-04-27 Yao Qi <yao.qi@linaro.org>
14170 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
14173 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
14175 * vla-type.exp: Print structure from toplevel.
14177 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
14179 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
14181 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
14184 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
14186 * gdb.fortran/vla-type.f90: New file.
14187 * gdb.fortran/vla-type.exp: New file.
14189 2016-04-25 Yao Qi <yao.qi@linaro.org>
14191 * gdb.base/branch-to-self.c: New file.
14192 * gdb.base/branch-to-self.exp: New file.
14194 2016-04-22 Yao Qi <yao.qi@linaro.org>
14196 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
14199 2016-04-22 Yao Qi <yao.qi@linaro.org>
14201 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
14202 * gdb.base/annota3.exp: Likewise.
14204 2016-04-22 Yao Qi <yao.qi@linaro.org>
14206 * gdb.reverse/step-precsave.exp: Do one step and test program
14207 stops in "callee" and do multiple steps until program goes out
14209 * gdb.reverse/step-reverse.exp: Likewise.
14211 2016-04-22 Yao Qi <yao.qi@linaro.org>
14213 * gdb.trace/signal.exp: Also pass if
14214 $tracepoint_hits($i) > $iterations.
14216 2016-04-22 Yao Qi <yao.qi@linaro.org>
14218 * gdb.trace/signal.c: New file.
14219 * gdb.trace/signal.exp: New file.
14221 2016-04-19 Doug Evans <xdje42@gmail.com>
14223 * gdb.base/bad-file.exp: New file.
14225 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
14227 * gdb.dwarf2/implref.exp: New file.
14229 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
14231 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
14232 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
14233 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
14234 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
14235 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
14236 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
14237 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
14238 * lib/fortran.exp (fortran_int4): New procedure.
14239 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
14240 (fortran_logical4): Likewise.
14242 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
14244 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
14246 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
14248 * lib/compiler.c: Add Intel specific preprocessor macros.
14249 * lib/compiler.cc: Likewise.
14251 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
14253 * gdb.server/connect-with-no-symbol-file.c: New file.
14254 * gdb.server/connect-with-no-symbol-file.exp: New file.
14256 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
14258 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
14260 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
14262 * boards/gdbserver-base.exp (${board}_download): Copy source file to
14263 standard output directory.
14265 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
14267 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
14269 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
14271 * gdb.btrace/instruction_history.c (loop): Add declaration.
14273 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
14275 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
14277 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
14279 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
14280 parentheses to print.
14281 (continue_handler): Likewise.
14283 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
14285 * gdb.server/solib-list.exp: Remove is_remote check.
14286 Pass shlib= to gdb_compile. Don't link shared library with
14287 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
14288 Run binary filename through "readlink -f" on the target.
14290 2016-04-08 Pedro Alves <palves@redhat.com>
14292 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
14293 interpreter filename as argument to gdbserver_spawn.
14294 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
14295 Return empty if $last_loaded_file does not exist.
14297 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
14299 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
14300 * gdb.base/jit-main.c: Use exit after usage.
14302 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14304 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
14305 GDBHISTSIZE prior to the tests.
14306 * gdb.base/gdbinit-history.exp: Likewise.
14308 2016-04-07 Pedro Alves <palves@redhat.com>
14310 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
14311 instead of build_executable. Use gdb_load_shlibs.
14313 2016-04-07 Yao Qi <yao.qi@linaro.org>
14315 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
14316 Execute "si" command.
14318 2016-04-07 Yao Qi <yao.qi@linaro.org>
14320 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
14321 number instead of the comments on some line.
14323 2016-04-06 Don Breazeal <donb@codesourcery.com>
14325 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
14326 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
14328 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
14330 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
14331 standard_output_file. Remove unused binfile variable.
14333 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
14335 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
14336 * gdb.python/py-mi-objfile.exp: Match "list main" output
14339 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
14341 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
14344 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
14346 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
14348 * gdb.trace/ftrace.exp: Likewise.
14349 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
14351 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
14352 (gdb_load_shlibs): Copy libraries to test directory when testing
14353 natively. Only set solib-search-path if testing remotely.
14354 * lib/mi-support.exp (mi_load_shlibs): Likewise.
14356 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
14358 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
14359 gdb_download. Use it even if the target is not remote.
14360 * gdb.base/jit.exp (compile_jit_test): Likewise.
14361 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
14362 output directory if the destination board is local, otherwise use
14363 the standard remote_download from DejaGnu.
14364 (gdb_download): Remove.
14365 (gdb_load_shlibs): Use gdb_remote_download instead of
14367 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
14368 Use gdb_remote_download instead of gdb_download. Use it even if
14369 the target is not remote.
14370 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
14371 instead of gdb_download.
14373 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
14375 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
14376 (test_insert_delete_modify): Call mi_load_shlibs before trying to
14379 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
14382 * gdb.base/printcmds.exp: Add artificial arrays tests.
14384 2016-03-31 Pedro Alves <palves@redhat.com>
14387 * gdb.base/jit-main.c: Include unistd.h.
14388 (ATTACH): Define to 0 if not already defined.
14389 (wait_for_gdb, mypid): New globals.
14390 (WAIT_FOR_GDB): New macro.
14391 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
14392 some breakpoint locations.
14393 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
14395 (one_jit_test): Add REATTACH parameter, and handle it. Use
14396 continue_to_test_location.
14397 (top level): Test attach, and adjusts calls to one_jit_test.
14399 2016-03-31 Pedro Alves <palves@redhat.com>
14402 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
14403 BINSUFFIX parameter, and handle it.
14404 (top level): Adjust calls compile_jit_test.
14406 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
14409 * gdb.python/py-mi-events-gdb.py: New file.
14410 * gdb.python/py-mi-events.c: New file.
14411 * gdb.python/py-mi-events.exp: New file.
14413 2016-03-30 Yao Qi <yao.qi@linaro.org>
14415 * gdb.reverse/until-precsave.exp: Match function name only.
14416 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
14417 Move malloc to a condition block.
14418 * gdb.reverse/until-reverse.exp: Match function name only.
14420 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
14422 * gdb.trace/ftrace.exp: Set arg0exp for s390.
14423 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
14424 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
14425 variable for GPR 0 instead of assuming it is register 0.
14426 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
14427 * lib/trace-support.exp: Add s390 registers.
14429 2016-03-29 Yao Qi <yao.qi@linaro.org>
14431 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
14433 2016-03-24 Yao Qi <yao.qi@linaro.org>
14435 * gdb.reverse/break-reverse.exp: Add quotation mark in the
14438 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14440 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
14441 maintaining separate logic for constructing the output path.
14443 2016-03-16 Don Breazeal <donb@codesourcery.com>
14445 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
14446 Retry fork and waitpid on interrupted system call errors.
14447 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
14448 Use with_timeout_factor to increase timeout by factor of 10.
14450 2016-03-15 Don Breazeal <donb@codesourcery.com>
14452 * gdb.cp/scope-err.cc: New test program.
14453 * gdb.cp/scope-err.exp: New test script.
14454 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
14455 lines and "set breakpoint here" comment.
14456 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
14457 Fixed some whitespace and format issues.
14458 * gdb.mi/mi-linespec-err-cp.cc: New test program.
14459 * gdb.mi/mi-linespec-err-cp.exp: New test script.
14461 2016-03-15 Doug Evans <dje@google.com>
14463 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
14464 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
14465 All callers updated. Add tests for enums, mixed flags register.
14467 2016-03-15 Doug Evans <dje@google.com>
14469 * gdb.base/skip.c (main): Call test_skip_file_and_function.
14470 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
14472 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
14474 * gdb.base/default.exp: Add $_as_string to the list of expected
14475 convenience functions.
14477 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
14479 * gdb.base/maint.exp: New tests for 'maint info line-table'.
14481 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
14483 * gdb.python/py-as-string.exp: New file.
14484 * gdb.python/py-as-string.c: New file.
14486 2016-03-09 Pedro Alves <palves@redhat.com>
14488 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
14489 signal" -> "Thread NN received signal" output change.
14490 * gdb.threads/ia64-sigill.exp: Likewise.
14491 * gdb.threads/linux-dp.exp: Likewise.
14492 * gdb.threads/manythreads.exp: Likewise.
14493 * gdb.threads/pending-step.exp: Likewise.
14494 * gdb.threads/print-threads.exp: Likewise.
14495 * gdb.threads/sigstep-threads.exp: Likewise.
14496 * gdb.threads/staticthreads.exp: Likewise.
14497 * gdb.threads/tls.exp: Likewise.
14499 2016-03-09 Pedro Alves <palves@redhat.com>
14501 * gdb.base/command-line-input.exp: New file.
14503 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
14505 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
14506 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
14507 * gdb.trace/pending.exp: Accept leading dot before function name.
14508 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
14509 * lib/trace-support.exp: Set registers for ppc.
14511 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
14513 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
14514 use it for disassembly; accept .main in addition to main in backtrace.
14516 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
14517 Marcin Kościelnicki <koriakin@0x04.net>
14519 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
14520 (gdb_recursion_test_ptr): New global variable.
14521 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
14522 gdb_recursion_test.
14523 (gdb_c_test): Ditto.
14525 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
14527 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
14530 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
14532 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
14533 (bar): Add bar_start_lbl label.
14534 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
14535 of foo/bar for emitting DWARF and tracing.
14537 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
14539 * analyze-racy-logs.py: Set executable bit.
14541 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
14543 * Makefile.in (DEFAULT_RACY_ITER): New variable.
14544 (CHECK_TARGET_TMP): Likewise.
14545 (check-single-racy): New rule.
14546 (check-parallel-racy): Likewise.
14547 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
14548 (do-check-parallel-racy): New rule.
14549 (check-racy/%.exp): Likewise.
14550 * README (Racy testcases): New section.
14551 * analyze-racy-logs.py: New file.
14553 2016-03-03 Doug Evans <dje@google.com>
14555 * gdb.base/skip.exp: Use with_test_prefix.
14557 2016-03-03 Yao Qi <yao.qi@linaro.org>
14559 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
14560 Invoke step_over_syscall "clone" and break_cond_on_syscall
14562 * gdb.base/step-over-clone.c: New file.
14564 2016-03-03 Yao Qi <yao.qi@linaro.org>
14566 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
14569 2016-03-03 Yao Qi <yao.qi@linaro.org>
14571 * gdb.base/disp-step-fork.c: Rename to ...
14572 * gdb.base/step-over-fork.c: ... it. New file.
14573 * gdb.base/disp-step-vfork.c: Rename to ...
14574 * gdb.base/step-over-vfork.c: ... it. New file.
14575 * gdb.base/disp-step-syscall.exp: Rename to ...
14576 * gdb.base/step-over-syscall.exp: ... it. New file.
14577 (disp_step_cross_syscall): Rename to ...
14578 (step_over_syscall): ... it.
14580 2016-03-03 Yao Qi <yao.qi@linaro.org>
14582 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
14583 If target supports condition evaluation on target, invoke
14584 break_cond_on_syscall for fork and vfork.
14586 2016-03-03 Yao Qi <yao.qi@linaro.org>
14588 * gdb.base/disp-step-syscall.exp: Don't invoke
14589 support_displaced_stepping.
14590 (disp_step_cross_syscall): Test with displaced stepping off and
14593 2016-03-03 Yao Qi <yao.qi@linaro.org>
14595 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
14598 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
14601 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
14603 * gdb.fortran/vla-history.exp: Remove breakpoint.
14605 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
14607 * gdb.fortran/vla-history.exp: Lookup array elements and printing
14610 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
14612 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
14615 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
14617 * gdb.mi/vla.f90: Nullify pointer after declaration.
14619 2016-03-01 Pedro Alves <palves@redhat.com>
14621 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
14623 2016-03-01 Pedro Alves <palves@redhat.com>
14625 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
14626 before anything else.
14627 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
14629 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
14630 before anything else.
14631 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
14633 2016-03-01 Pedro Alves <palves@redhat.com>
14635 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
14637 2016-03-01 Yao Qi <yao.qi@linaro.org>
14639 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
14640 prepare_for_testing.
14642 2016-03-01 Yao Qi <yao.qi@linaro.org>
14644 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
14646 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
14648 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
14649 manually constructing the output path.
14651 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
14653 * gdb.arch/s390-stackless.S: New.
14654 * gdb.arch/s390-stackless.exp: New.
14656 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
14658 * gdb.dlang/circular.c: New file.
14659 * gdb.dlang/circular.exp: New file.
14661 2016-02-26 Yao Qi <yao.qi@linaro.org>
14663 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
14664 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
14665 (testcases): Update.
14667 2016-02-26 Yao Qi <yao.qi@linaro.org>
14669 * gdb.reverse/aarch64.c: Rename to ...
14670 * gdb.reverse/insn-reverse.c: ... it.
14671 * gdb.reverse/aarch64.exp: Rename to ...
14672 * gdb.reverse/insn-reverse.exp: ... it.
14674 2016-02-26 Yao Qi <yao.qi@linaro.org>
14676 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
14677 (testcase_ftype): New.
14678 (testcases): New array.
14679 (n_testcases): New.
14680 (main): Call each element in testcases.
14681 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
14682 (read_testcase): New.
14683 Do the tests in a loop.
14685 2016-02-25 Yao Qi <yao.qi@linaro.org>
14687 * gdb.base/branches.c: Remove.
14689 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
14692 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
14694 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
14696 * gdb.trace/ftrace.exp: Remove unnecessary target check.
14698 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
14700 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
14701 change x86_64 call_insn to 'callq'.
14703 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
14705 * gdb.trace/tfile-avx.c: Move to...
14706 * gdb.trace/tracefile-pseudo-reg.c: Here.
14707 * gdb.trace/tfile-avx.exp: Move to...
14708 * gdb.trace/tracefile-pseudo-reg.exp: Here.
14710 2016-02-24 Gary Benson <gbenson@redhat.com>
14712 * gdb.base/attach-pie-noexec.exp: Do not expect an error
14715 2016-02-23 Doug Evans <dje@google.com>
14717 * gdb.base/skip.c (test_skip): New function.
14718 (end_test_skip_file_and_function): New function.
14719 (test_skip_file_and_function): New function.
14720 * gdb.base/skip1.c (test_skip): New function.
14721 (skip1_test_skip_file_and_function): New function.
14722 * gdb.base/skip.exp: Add tests for new skip options.
14723 * gdb.base/skip-solib.exp: Update expected output.
14724 * gdb.perf/skip-command.cc: New file.
14725 * gdb.perf/skip-command.exp: New file.
14726 * gdb.perf/skip-command.py: New file.
14728 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
14730 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
14731 info registers pattern.
14733 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
14735 * lib/future.exp: Add D support.
14736 (gdb_find_gdc): New proc.
14737 (gdb_default_target_compile): Add D support.
14739 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
14741 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
14743 (trace_speed_test): Determine the iteration count for a time
14744 between 15..30 seconds.
14746 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
14748 * gdb.arch/i386-mpx-sigsegv.c: New file.
14749 * gdb.arch/i386-mpx-sigsegv.exp: New file.
14750 * gdb.arch/i386-mpx-simple_segv.c: New file.
14751 * gdb.arch/i386-mpx-simple_segv.exp: New file.
14753 2016-02-18 Yao Qi <yao.qi@linaro.org>
14755 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
14756 Don't call setup_kfail.
14758 2016-02-18 Yao Qi <yao.qi@linaro.org>
14760 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
14761 Set "set breakpoint condition-evaluation" per $cond_bp_target.
14763 2016-02-16 Doug Evans <dje@google.com>
14765 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
14766 * gdb.base/skip1.c: Ditto.
14767 * gdb.base/skip.exp: Whitespace cleanup.
14769 2016-02-16 Don Breazeal <donb@codesourcery.com>
14772 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
14773 Remove kfail for PR remote/19496.
14775 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
14777 * lib/gdb.exp (standard_temp_file): Return a path specific to
14778 the runtest invocation.
14780 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
14782 * gdb.trace/save-trace.exp: Change relative path to be in the
14783 standard output directory.
14785 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14787 * gdb.arch/i386-prologue.c: Add missing prototypes.
14789 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14791 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
14792 * gdb.arch/i386-prologue.exp: Likewise.
14793 * gdb.arch/i386-size.exp: Likewise.
14795 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
14797 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
14798 define object file path.
14799 * gdb.btrace/gcore.exp: Use standard_output_file to define core
14801 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
14802 standard_output_file to define binfile.
14804 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14806 Fix compatibility with recent gfortran-5.3.1.
14807 * gdb.fortran/vla-history.exp (print vla1 allocated)
14808 (print vla2 allocated, print $2, print $3): Remove
14809 (print $4): Rename to ...
14810 (print $2): ... here.
14811 (print $9): Rename to ...
14812 (print $5): ... here.
14813 (print $10): Rename to ...
14814 (print $6): ... here.
14815 * gdb.fortran/vla.f90: Add pvla initialization.
14817 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14819 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
14821 * gdb.fortran/vla-value-sub.exp: Likewise.
14823 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
14825 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
14827 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
14829 * i386-biarch-core.exp: Define corefile using
14830 standard_output_file.
14832 2016-02-12 Yao Qi <yao.qi@linaro.org>
14834 * gdb.arch/arm-single-step-kernel-helper.c: New.
14835 * gdb.arch/arm-single-step-kernel-helper.exp: New.
14837 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
14839 * gdb.btrace/tailcall-only.exp: New.
14840 * gdb.btrace/tailcall-only.c: New.
14841 * gdb.btrace/x86_64-tailcall-only.S: New.
14842 * gdb.btrace/i686-tailcall-only.S: New.
14844 2016-02-11 Pedro Alves <palves@redhat.com>
14846 * README (Parallel testing): Add missing double quotes.
14848 2016-02-11 Pedro Alves <palves@redhat.com>
14850 * README (Parallel testing): New section.
14851 (GDB_PARALLEL): Rewrite.
14852 (FORCE_PARALLEL): Document.
14854 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
14856 * gdb.trace/tfile-avx.c: New test.
14857 * gdb.trace/tfile-avx.exp: New test.
14859 2016-02-09 Keith Seitz <keiths@redhat.com>
14861 PR breakpoints/19546
14862 * gdb.base/infcall-exec.c: New file.
14863 * gdb.base/infcall-exec2.c: New file.
14864 * gdb.base/infcall-exec.exp: New file.
14866 2016-02-09 Keith Seitz <keiths@redhat.com>
14868 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
14869 (toplevel): Call test_bkpt_address.
14871 2016-02-09 Keith Seitz <keiths@redhat.com>
14874 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
14875 (toplevel): Call test_bkpt_address.
14877 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
14879 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
14881 * configure: Regenerate.
14883 2016-02-09 Pedro Alves <palves@redhat.com>
14885 PR breakpoints/19548
14886 * gdb.base/execl-update-breakpoints.c (some_function): New
14889 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
14890 Tighten expected GDB output.
14892 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
14894 * Makefile.in (ALL_SUBDIRS): Remove.
14895 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
14896 (distclean maintainer-clean realclean): Likewise.
14897 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
14898 * configure: Regenerate.
14899 * gdb.ada/Makefile.in: Delete.
14900 * gdb.arch/Makefile.in: Likewise.
14901 * gdb.asm/Makefile.in: Likewise.
14902 * gdb.base/Makefile.in: Likewise.
14903 * gdb.btrace/Makefile.in: Likewise.
14904 * gdb.cell/Makefile.in: Likewise.
14905 * gdb.compile/Makefile.in: Likewise.
14906 * gdb.cp/Makefile.in: Likewise.
14907 * gdb.disasm/Makefile.in: Likewise.
14908 * gdb.dlang/Makefile.in: Likewise.
14909 * gdb.dwarf2/Makefile.in: Likewise.
14910 * gdb.fortran/Makefile.in: Likewise.
14911 * gdb.gdb/Makefile.in: Likewise.
14912 * gdb.go/Makefile.in: Likewise.
14913 * gdb.guile/Makefile.in: Likewise.
14914 * gdb.java/Makefile.in: Likewise.
14915 * gdb.linespec/Makefile.in: Likewise.
14916 * gdb.mi/Makefile.in: Likewise.
14917 * gdb.modula2/Makefile.in: Likewise.
14918 * gdb.multi/Makefile.in: Likewise.
14919 * gdb.objc/Makefile.in: Likewise.
14920 * gdb.opencl/Makefile.in: Likewise.
14921 * gdb.opt/Makefile.in: Likewise.
14922 * gdb.pascal/Makefile.in: Likewise.
14923 * gdb.perf/Makefile.in: Likewise.
14924 * gdb.python/Makefile.in: Likewise.
14925 * gdb.reverse/Makefile.in: Likewise.
14926 * gdb.server/Makefile.in: Likewise.
14927 * gdb.stabs/Makefile.in: Likewise.
14928 * gdb.threads/Makefile.in: Likewise.
14929 * gdb.trace/Makefile.in: Likewise.
14930 * gdb.xml/Makefile.in: Likewise.
14931 * lib/gdb.exp (make_gdb_parallel_path): Add check for
14933 (standard_output_file): Remove check for GDB_PARALLEL, always
14934 return path in outputs/$subdir/$testname.
14936 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
14938 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
14939 (site.exp): Assign abs_srcdir to tcl's srcdir.
14941 2016-02-04 Yao Qi <yao.qi@linaro.org>
14943 * gdb.base/foll-exec-mode.c: Include limits.h.
14944 (main): Add parameters argc and argv. Get directory from
14946 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
14948 * gdb.base/foll-exec.c: Include limits.h.
14949 (main): Add parameters argc and argv.
14950 Get directory from argv[0].
14951 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
14952 Adjust tests on the number of lines as source code changed.
14953 * gdb.base/foll-vfork-exit.c: Include limits.h.
14954 (main): Add one line of statement before vfork.
14955 * gdb.base/foll-vfork.c: Include limits.h and string.h.
14956 (main): Add parameters argc and argv. Get directory from
14958 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
14959 (setup_gdb): Set tbreak to skip some source lines.
14960 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
14961 (main): Add parameters argc and argv. Get directory from
14963 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
14965 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
14966 (main): Add parameters argc and argv. Get directory from
14968 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
14971 2016-02-01 Doug Evans <dje@google.com>
14973 * gdb.base/skip.exp: Clean up multiple references to same test name.
14975 2016-02-01 Pedro Alves <palves@redhat.com>
14978 * gdb.threads/forking-threads-plus-breakpoint.exp
14979 (displaced_stepping_supported): New global.
14980 (probe_displaced_stepping_support): New procedure.
14981 (do_test): Add 'displaced' parameter, and use it.
14982 (top level): Check for displaced stepping support. Add displaced
14983 stepping on/off testing axis.
14985 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
14987 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
14988 pointer. Don't perform further tests on the unassociated pointer
14989 if the first test fails.
14991 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
14993 * gdb.base/max-value-size.c: New file.
14994 * gdb.base/max-value-size.exp: New file.
14995 * gdb.base/huge.exp: Disable max-value-size for this test.
14997 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
14999 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
15001 2016-01-28 Yao Qi <yao.qi@linaro.org>
15003 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
15005 2016-01-25 Pedro Alves <palves@redhat.com>
15008 * gdb.base/fork-running-state.c: New file.
15009 * gdb.base/fork-running-state.exp: New file.
15011 2016-01-25 Pedro Alves <palves@redhat.com>
15014 * gdb.base/catch-fork-kill.c: New file.
15015 * gdb.base/catch-fork-kill.exp: New file.
15017 2016-01-25 Pedro Alves <palves@redhat.com>
15019 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
15020 Delete, moved to lib/gdb.exp.
15021 * gdb.threads/forking-threads-plus-breakpoint.exp
15022 (foreach_with_prefix): Likewise.
15023 * gdb.threads/process-dies-while-handling-bp.exp
15024 (foreach_with_prefix): Likewise.
15025 * lib/gdb.exp (foreach_with_prefix): New procedure.
15027 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
15029 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
15030 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
15032 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
15034 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
15037 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15038 Pedro Alves <palves@redhat.com>
15040 Fix testsuite compatibility with Guile.
15041 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
15044 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15046 Fix testsuite compatibility with Guile.
15047 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
15048 (thread 1): New test for backtrace through signal handler.
15050 2016-01-22 Yao Qi <yao.qi@linaro.org>
15053 * gdb.base/multi-forks.c: Include
15054 ../lib/unbuffer_output.c
15055 (main): Call gdb_unbuffer_output.
15057 2016-01-21 Doug Evans <dje@google.com>
15059 * lib/ada.exp (gdb_compile_ada): Fix typo.
15061 2016-01-21 Joel Brobecker <brobecker@adacore.com>
15063 * gdb.base/break-fun-addr.exp: New file.
15064 * gdb.base/break-fun-addr1.c: New file.
15065 * gdb.base/break-fun-addr2.c: New file.
15067 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
15069 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
15070 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
15073 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
15075 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
15076 when GDB can not set the vector return value. Add more comments
15079 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
15081 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
15084 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
15086 * Makefile.in (DO_RUNTEST): Add --status and update usages.
15088 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
15090 * Makefile.in (check-single): Pass --status to runtest.
15091 (check/%.exp): Likewise.
15093 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
15095 * Makefile.in (check-parallel): Propagate return code from make
15098 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
15100 * gdb.trace/ftrace.exp: Fix expected message on continue.
15101 * gdb.trace/pending.exp: Fix expected message on continue.
15102 * gdb.trace/trace-break.exp: Fix expected message on continue.
15104 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
15106 * lib/gdb.exp (gdb_test): Remove unused global references.
15108 2016-01-18 Pedro Alves <palves@redhat.com>
15110 * gdb.base/async-shell.exp: Adjust expected output.
15111 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
15112 * gdb.base/siginfo-thread.exp: Adjust expected output.
15113 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
15114 * gdb.java/jnpe.exp: Adjust expected output.
15115 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
15116 * gdb.threads/continue-pending-status.exp: Adjust expected output.
15117 * gdb.threads/leader-exit.exp: Adjust expected output.
15118 * gdb.threads/manythreads.exp: Adjust expected output.
15119 * gdb.threads/pthreads.exp: Adjust expected output.
15120 * gdb.threads/schedlock.exp: Adjust expected output.
15121 * gdb.threads/siginfo-threads.exp: Adjust expected output.
15122 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
15124 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
15126 * gdb.threads/sigthread.exp: Adjust expected output.
15127 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
15129 2016-01-18 Yao Qi <yao.qi@linaro.org>
15131 * gdb.guile/scm-section-script.c: Replace @progbits with
15133 * gdb.python/py-section-script.c: Likewise.
15135 2016-01-15 Pedro Alves <palves@redhat.com>
15137 * gdb.multi/tids.exp: Test star wildcard ranges.
15139 2016-01-15 Pedro Alves <palves@redhat.com>
15141 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
15142 command from "thread apply" invocation.
15143 (thr_apply_info_thr_invalid): Default the expected output to the
15145 (top level): Add tests that use convenience variables. Add tests
15146 for "thread apply" with a valid TID list, but missing the command.
15148 2016-01-13 Pedro Alves <palves@redhat.com>
15150 * gdb.base/default.exp: Expect $_gthread as well.
15151 * gdb.multi/tids.exp: Test $_gthread.
15152 * gdb.threads/thread-specific.exp: Test $_gthread.
15154 2016-01-13 Pedro Alves <palves@redhat.com>
15156 * gdb.multi/tids.exp: Test "info threads -gid".
15158 2016-01-13 Pedro Alves <palves@redhat.com>
15160 * gdb.multi/tids.exp: Test InferiorThread.global_num and
15162 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
15164 2016-01-07 Pedro Alves <palves@redhat.com>
15166 * gdb.base/break.exp: Adjust to output changes.
15167 * gdb.base/hbreak2.exp: Likewise.
15168 * gdb.base/sepdebug.exp: Likewise.
15169 * gdb.base/watch_thread_num.exp: Likewise.
15170 * gdb.linespec/keywords.exp: Likewise.
15171 * gdb.multi/info-threads.exp: Likewise.
15172 * gdb.threads/thread-find.exp: Likewise.
15173 * gdb.multi/tids.c: New file.
15174 * gdb.multi/tids.exp: New file.
15176 2016-01-13 Pedro Alves <palves@redhat.com>
15178 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
15180 2016-01-13 Pedro Alves <palves@redhat.com>
15182 * gdb.base/default.exp: Expect $_inferior as well.
15183 * gdb.multi/base.exp: Test $_inferior.
15185 2016-01-13 Pedro Alves <palves@redhat.com>
15187 PR breakpoints/19388
15188 * gdb.base/catch-signal-siginfo-cond.c: New file.
15189 * gdb.base/catch-signal-siginfo-cond.exp: New file.
15191 2016-01-12 Josh Stone <jistone@redhat.com>
15192 Philippe Waroquiers <philippe.waroquiers@skynet.be>
15194 * gdb.base/catch-syscall.c (do_execve): New variable.
15195 (main): Conditionally trigger an execve.
15196 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
15197 (test_catch_syscall_execve): New, check entry/return across execve.
15198 (do_syscall_tests): Call test_catch_syscall_execve.
15200 2016-01-12 Pedro Alves <palves@redhat.com>
15202 * gdb.base/random-signal.exp (do_test): New procedure, with body
15203 of testcase moved in.
15205 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15206 Pedro Alves <palves@redhat.com>
15208 * gdb.base/funcargs.exp (finish from indirectly called function):
15209 Reintroduce the case for 'First'.
15211 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15212 Pedro Alves <palves@redhat.com>
15214 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
15215 (tcatch_vfork_then_child_follow_exec)
15216 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
15219 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15221 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
15222 and repeats to unlimited.
15223 * gdb.python/py-value.exp: Likewise.
15224 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
15225 and repeats to unlimited.
15227 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15229 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
15230 and reordering the functions.
15231 * gdb.multi/hangout.c: Likewise.
15232 * gdb.multi/hello.c: Likewise.
15234 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
15236 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
15238 (SingleStatisticTestResult.report): Use dict.keys instead of
15241 2016-01-06 Pedro Alves <palves@redhat.com>
15243 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
15245 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
15247 * gdb.btrace/dlopen.exp: New.
15248 * gdb.btrace/dlopen.c: New.
15249 * gdb.btrace/dlopen-dso.c: New.
15251 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
15253 * lib/gdb.exp (gdb_test): Update comments to clarify that the
15254 PATTERN argument is optional.
15256 2015-12-24 Joel Brobecker <brobecker@adacore.com>
15258 * lib/ada.exp (target_compile_ada_from_dir): New function.
15259 (gdb_compile_ada): Reimplement avoiding the use of project files.
15260 * gdb.ada/gnat_ada.gpr: Delete.
15261 * gdb.ada/cond_lang.exp: Adjust test to make path before
15263 * gdb.ada/small_reg_param.exp: Likewise.
15265 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
15267 * gdb.base/foll-vork.exp: Remove HP-UX special case.
15269 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
15271 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
15274 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
15276 * gdb.base/break.exp: Remove dead code.
15277 * gdb.base/sepdebug.exp: Likewise.
15279 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
15281 * gdb.asm/asm-source.exp: Remove HP-UX references.
15282 * gdb.base/annota1.exp: Likewise.
15283 * gdb.base/annota3.exp: Likewise.
15284 * gdb.base/attach.exp: Likewise.
15285 * gdb.base/bigcore.exp: Likewise.
15286 * gdb.base/break.exp: Likewise.
15287 * gdb.base/call-ar-st.exp: Likewise.
15288 * gdb.base/callfuncs.exp: Likewise.
15289 * gdb.base/catch-fork-static.exp: Likewise.
15290 * gdb.base/display.exp: Likewise.
15291 * gdb.base/foll-exec-mode.exp: Likewise.
15292 * gdb.base/foll-exec.exp: Likewise.
15293 * gdb.base/foll-fork.exp: Likewise.
15294 * gdb.base/foll-vfork.exp: Likewise.
15295 * gdb.base/funcargs.exp: Likewise.
15296 * gdb.base/hbreak2.exp: Likewise.
15297 * gdb.base/inferior-died.exp: Likewise.
15298 * gdb.base/interrupt.exp: Likewise.
15299 * gdb.base/multi-forks.exp: Likewise.
15300 * gdb.base/nodebug.exp: Likewise.
15301 * gdb.base/sepdebug.exp: Likewise.
15302 * gdb.base/solib1.c: Likewise.
15303 * gdb.base/step-test.exp: Likewise.
15304 * gdb.mi/non-stop.c: Likewise.
15305 * gdb.mi/pthreads.c: Likewise.
15306 * gdb.multi/bkpt-multi-exec.ex: Likewise.
15307 * gdb.threads/pthreads.c: Likewise.
15308 * gdb.threads/staticthreads.exp: Likewise.
15309 * lib/future.exp: Likewise.
15310 * lib/gdb.exp: Likewise.
15311 * gdb.base/so-indr-cl.c: Remove.
15312 * gdb.base/so-indr-cl.exp: Likewise.
15313 * gdb.base/solib.c: Likewise.
15314 * gdb.base/solib.exp: Likewise.
15315 * gdb.base/solib2.c: Likewise.
15317 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
15319 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
15320 * gdb.base/call-ar-st.exp: Likewise.
15321 * gdb.base/callfuncs.exp: Likewise.
15322 * gdb.base/condbreak.exp: Likewise.
15323 * gdb.base/constvars.exp: Likewise.
15324 * gdb.base/hbreak2.exp: Likewise.
15325 * gdb.base/langs.exp: Likewise.
15326 * gdb.base/list.exp: Likewise.
15327 * gdb.base/long_long.exp: Likewise.
15328 * gdb.base/ptype.exp: Likewise.
15329 * gdb.base/scope.exp: Likewise.
15330 * gdb.base/signals.exp: Likewise.
15331 * gdb.base/so-impl-ld.exp: Likewise.
15332 * gdb.base/varargs.exp: Likewise.
15333 * gdb.base/volatile.exp: Likewise.
15334 * gdb.base/whatis.exp: Likewise.
15335 * gdb.cp/cplusfuncs.exp: Likewise.
15336 * gdb.cp/inherit.exp: Likewise.
15337 * gdb.cp/local.exp: Likewise.
15338 * gdb.cp/member-ptr.exp: Likewise.
15339 * gdb.cp/method.exp: Likewise.
15340 * gdb.cp/overload.exp: Likewise.
15341 * gdb.cp/templates.exp: Likewise.
15342 * gdb.stabs/weird.exp: Likewise.
15343 * lib/compiler.c: Likewise.
15344 * lib/compiler.cc: Likewise.
15345 * lib/cp-support.exp: Likewise.
15346 * lib/gdb.exp: Likewise.
15348 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
15350 * configure.ac: Remove HP-UX case.
15351 * configure: Regenerate.
15353 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
15355 * lib/gdb.exp (gdb_compile): Add function doc.
15357 2015-12-17 Pedro Alves <palves@redhat.com>
15360 * gdb.multi/info-threads.exp: New file.
15362 2015-12-15 Yao Qi <yao.qi@linaro.org>
15364 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
15367 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15369 * gdb.base/history-duplicates.exp: Skip if no readline support.
15371 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15373 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
15375 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15377 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
15379 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
15381 * gdb.base/completion.exp: Skip tests that interrupt GDB with
15382 ctrl-C if nointerrupts target property is set.
15383 * gdb.base/double-prompt-target-event-error.exp: Likewise.
15384 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
15385 * gdb.base/paginate-bg-execution.exp: Likewise.
15386 * gdb.base/paginate-execution-startup.exp: Likewise.
15387 * gdb.base/random-signal.exp: Likewise.
15388 * gdb.base/range-stepping.exp: Likewise.
15389 * gdb.cp/annota2.exp: Likewise.
15390 * gdb.cp/annota3.exp: Likewise.
15391 * gdb.gdb/selftest.exp: Likewise.
15392 * gdb.threads/continue-pending-status.exp: Likewise.
15393 * gdb.threads/leader-exit.exp: Likewise.
15394 * gdb.threads/manythreads.exp: Likewise.
15395 * gdb.threads/pthreads.exp: Likewise.
15396 * gdb.threads/schedlock.exp: Likewise.
15397 * gdb.threads/sigthread.exp: Likewise.
15399 2015-12-11 Don Breazeal <donb@codesourcery.com>
15401 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
15403 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
15404 * gdb.base/foll-exec.exp (main): Enable for target remote.
15405 * gdb.base/foll-fork.exp (main): Likewise.
15406 * gdb.base/foll-vfork.exp (main): Likewise.
15407 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
15408 (proc continue_to_exit_bp_loc): Use clean_restart.
15409 * gdb.base/pie-execl.exp (main): Disable for target remote.
15410 * gdb.base/watch-vfork.exp (main): Enable for target remote.
15411 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
15412 * gdb.threads/execl.exp (main): Likewise.
15413 * gdb.threads/fork-child-threads.exp (main): Likewise.
15414 * gdb.threads/fork-plus-threads.exp (main): Disable for target
15416 * gdb.threads/fork-thread-pending.exp (main): Enable for target
15418 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
15419 pid.tid style ptids, instead of just tid.
15420 * gdb.threads/thread-execl.exp (main): Enable for target remote.
15421 * gdb.threads/watchpoint-fork.exp (main): Likewise.
15422 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
15423 ptids, instead of just tid.
15425 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
15427 * gdb.base/list.exp (test_list_forward): Add end of file error
15429 (test_repeat_list_command): Add end of file error test.
15430 (test_list_backwards): Add beginning of file error test.
15432 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
15434 * gdb.base/list.exp (test_list_invalid_args): New function,
15435 defined, and called.
15437 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
15439 * gdb.base/list.exp (test_list): Make test names unique.
15441 2015-12-11 Yao Qi <yao.qi@linaro.org>
15443 * gdb.base/coremaker2.c: Remove.
15445 2015-12-10 Pedro Alves <palves@redhat.com>
15447 * gdb.multi/base.exp: Remove stale "spaces" references.
15449 2015-12-10 Pedro Alves <palves@redhat.com>
15451 * gdb.multi/base.exp: Don't use nowarnings.
15452 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
15453 * gdb.multi/hangout.c: Include stdio.h.
15454 * gdb.multi/hello.c: Include stdlib.h.
15455 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
15456 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
15457 * gdb.multi/multi-arch.exp: Don't use nowarnings.
15459 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
15461 * gdb.dwarf2/dw2-ranges-base.c: New file.
15462 * gdb.dwarf2/dw2-ranges-base.exp: New file.
15463 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
15464 support additional line table, and debug ranges generation.
15465 (Dwarf::ranges): New function, generate .debug_ranges.
15466 (Dwarf::lines): Support generating simple line table programs.
15467 (Dwarf::assemble): Initialise new namespace variables.
15469 2015-12-09 Kevin Buettner <kevinb@redhat.com>
15471 * gdb.base/async.exp (proc test_background): Add case for
15472 asynchronous execution not supported.
15474 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
15476 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
15477 format and change test names to make them unique.
15479 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
15480 Pedro Alves <pedro@redhat.com>
15483 Add checking of floatformats setup on x86_64 hosts.
15484 * gdb.arch/i386-float.S (main): Load bigval and smallval.
15485 (smallval, bigval): New labels/constants.
15486 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
15487 float" after loading bigval and smallval.
15489 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
15491 * gdb.ada/fun_overload_menu.exp: New testcase.
15492 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
15494 2015-12-04 Josh Stone <jistone@redhat.com>
15496 * gdb.base/catch-fork-static.exp: New.
15498 2015-12-03 Yao Qi <yao.qi@linaro.org>
15500 * gdb.base/sizeof.c: Don't include stdio.h and
15501 ../lib/unbuffer_output.c.
15502 (main): New variable 'size' and 'value'. Remove printf and
15503 gdb_unbuffer_output. Assign return value to size and value.
15504 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
15506 (check_sizeof): Check the result by printing variable 'size'.
15507 (check_valueof): Check the result by printing variable 'value'.
15509 2015-12-01 Yao Qi <yao.qi@linaro.org>
15511 * gdb.base/disp-step-syscall.exp: Define syscall instruction
15512 for aarch64*-*-linux* target.
15514 2015-11-30 Pedro Alves <palves@redhat.com>
15516 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
15518 2015-11-30 Pedro Alves <palves@redhat.com>
15520 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
15521 Handle non-stop mode vCont replies.
15523 2015-11-30 Pedro Alves <palves@redhat.com>
15525 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
15526 prepare_for_testing. Start gdb with "set non-stop on" appended to
15527 GDBFLAGS. Lax expected stop output.
15529 2015-11-27 Yao Qi <yao.qi@linaro.org>
15531 * gdb.arch/arm-neon.exp: New.
15532 * gdb.arch/arm-neon.c: New.
15534 2015-11-27 Yao Qi <yao.qi@linaro.org>
15536 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
15538 2015-11-27 Yao Qi <yao.qi@linaro.org>
15540 * gdb.cp/annota2.exp: Allow multiple occurrences of the
15541 frames-invalid annotation.
15543 2015-11-27 Yao Qi <yao.qi@linaro.org>
15545 * gdb.cp/annota2.exp: Use ${frames_invalid}.
15547 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
15549 * gdb.threads/names.exp: New file.
15550 * gdb.threads/names.c: New file.
15551 * README: Mention gdb,no_thread_names.
15553 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
15556 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
15559 2015-11-24 Pedro Alves <palves@redhat.com>
15562 * gdb.base/display.exp: Expect displays to be sorted in ascending
15563 order. Use multi_line.
15564 * gdb.base/solib-display.exp: Likewise.
15566 2015-11-24 Pedro Alves <palves@redhat.com>
15569 * gdb.base/display.exp: Expect displays to be sorted in ascending
15570 order. Use multi_line.
15571 * gdb.base/solib-display.exp: Likewise.
15573 2015-11-24 Pedro Alves <palves@redhat.com>
15576 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
15577 threads in ascending order.
15578 * gdb.base/foll-fork.exp: Likewise.
15579 * gdb.base/foll-vfork.exp: Likewise.
15580 * gdb.base/multi-forks.exp: Likewise.
15581 * gdb.mi/mi-nonstop.exp: Likewise.
15582 * gdb.mi/mi-nsintrall.exp: Likewise.
15583 * gdb.multi/base.exp: Likewise.
15584 * gdb.multi/multi-arch.exp: Likewise.
15585 * gdb.python/py-inferior.exp: Likewise.
15586 * gdb.threads/break-while-running.exp: Likewise.
15587 * gdb.threads/execl.exp: Likewise.
15588 * gdb.threads/gcore-thread.exp: Likewise.
15589 * gdb.threads/info-threads-cur-sal.exp: Likewise.
15590 * gdb.threads/kill.exp: Likewise.
15591 * gdb.threads/linux-dp.exp: Likewise.
15592 * gdb.threads/multiple-step-overs.exp: Likewise.
15593 * gdb.threads/next-bp-other-thread.exp: Likewise.
15594 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
15595 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
15596 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
15597 * gdb.threads/thread-find.exp: Likewise.
15598 * gdb.threads/tls.exp: Likewise.
15599 * lib/mi-support.exp (mi_reverse_list): Delete.
15600 (mi_check_thread_states): No longer reverse list.
15602 2015-11-24 Pedro Alves <palves@redhat.com>
15604 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
15607 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
15609 * gdb.trace/actions.c: Include trace-common.h.
15610 (main): Add a location for a fast tracepoint.
15611 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
15612 the normal tracepoints.
15613 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
15615 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
15617 * save-trace.exp: Factor out code to these...
15618 (gdb_save_tracepoints): New.
15619 (gdb_load_tracepoints): New.
15620 (do_save_load_test): New.
15622 2015-11-23 Kevin Buettner <kevinb@redhat.com>
15624 * gdb.base/asmlabel.exp: New test.
15625 * gdb.base/asmlabel.c: New test case.
15627 2015-11-23 Joel Brobecker <brobecker@adacore.com>
15629 * gdb.base/wrong_frame_bt_full-main.c: New file.
15630 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
15631 * gdb.base/wrong_frame_bt_full.exp: New file.
15633 2015-11-23 Joel Brobecker <brobecker@adacore.com>
15635 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
15637 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
15639 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
15640 pstate register when comparing registers values in
15641 sparc64-*-linux-gnu targets to avoid spurious differences.
15643 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
15645 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
15647 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
15649 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
15650 as type argument to gdb_compile.
15651 * gdb.base/nested-subp2.exp: Likewise.
15652 * gdb.base/nested-subp3.exp: Likewise.
15654 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
15656 * lib/dwarf.exp (_note): Fix left shift of negative value.
15657 * gdb.trace/trace-condition.exp: Likewise.
15659 2015-11-13 Yao Qi <yao.qi@linaro.org>
15661 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
15662 comments about d10v.
15663 (test_scalar_returns): Likewise.
15664 * gdb.base/d10v.ld: Remove.
15665 * gdb.base/overlays.exp: Remove the target triplet checking for
15667 * gdb.base/structs.exp (test_struct_returns): Remove the
15668 comments about d10v.
15669 (test_struct_calls): Likewise.
15671 2015-11-13 Yao Qi <yao.qi@linaro.org>
15673 * gdb.base/gnu_vector.exp: Check the return value by "p res".
15674 * gdb.base/gnu_vector.c: Don't include stdio.h.
15675 (main): Don't print res and call add_some_intvecs.
15677 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
15679 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
15682 (func4): Use FAST_TRACEPOINT_LABEL.
15683 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
15686 (thread_function): Use FAST_TRACEPOINT_LABEL.
15687 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
15689 (marker): Use FAST_TRACEPOINT_LABEL.
15690 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
15691 (pendfunc1): Remove.
15692 (pendfunc): Use FAST_TRACEPOINT_LABEL.
15693 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
15695 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
15696 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
15699 (marker): Use FAST_TRACEPOINT_LABEL.
15700 * gdb.trace/trace-common.h: New header.
15701 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
15704 (marker): Use FAST_TRACEPOINT_LABEL.
15705 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
15707 (thread_function): Use FAST_TRACEPOINT_LABEL.
15709 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
15711 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
15713 * gdb.trace/change-loc.exp: Use global pcreg definition.
15714 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
15715 * gdb.trace/entry-values.exp: Use global spreg definition, add $
15717 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
15718 * gdb.trace/pending.exp: Likewise.
15719 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
15720 * gdb.trace/trace-break.exp: Likewise.
15721 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
15723 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
15724 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
15726 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
15728 2015-11-09 Joel Brobecker <brobecker@adacore.com>
15730 * gdb.ada/fin_fun_out: New testcase.
15732 2015-11-07 Kevin Buettner <kevinb@redhat.com>
15734 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
15735 value associated with DW_AT_byte_size.
15736 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
15737 constants for DW_AT_byte_size, DW_AT_lower_bound, and
15740 2015-11-07 Kevin Buettner <kevinb@redhat.com>
15742 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
15743 (gdb_target_symbol_prefix_flags): Define in terms of _asm
15745 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
15746 gdb.dwarf2/dw2-canonicalize-type.exp,
15747 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
15748 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
15749 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
15750 provided by gdb_target_symbol_prefix_flags_asm.
15751 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
15752 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
15753 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
15754 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
15755 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
15756 macros where needed). Use this macro for symbols which require
15757 the prefix provided by SYMBOL_PREFIX.
15759 2015-11-05 Kevin Buettner <kevinb@redhat.com>
15761 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
15763 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
15764 representing expressions, of more than one list element.
15765 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
15766 to prepend linker symbol prefix to f.
15767 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
15768 table_1 and table_2.
15769 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
15770 Likewise, for f and g.
15771 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
15773 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
15775 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
15776 table_1_ptr and table_2_ptr.
15778 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
15779 Joel Brobecker <brobecker@adacore.com>
15781 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
15783 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
15785 * gdb.reverse/s390-mvcle.c: New test.
15786 * gdb.reverse/s390-mvcle.exp: New file.
15787 * lib/gdb.exp: Enable reverse tests on s390*-linux.
15789 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
15791 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
15793 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
15795 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
15797 * gdb.reverse/getresuid-reverse.exp: Likewise.
15798 * gdb.reverse/pipe-reverse.exp: Likewise.
15799 * gdb.reverse/readv-reverse.exp: Likewise.
15800 * gdb.reverse/recvmsg-reverse.exp: Likewise.
15801 * gdb.reverse/time-reverse.exp: Likewise.
15802 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
15804 2015-10-30 Yao Qi <yao.qi@linaro.org>
15806 * gdb.threads/wp-replication.c (watch_count_done): Remove.
15807 (empty_cycle): Remove.
15808 (main): Don't call empty_cycle. Don't use watch_count_done.
15809 * gdb.threads/wp-replication.exp: Don't set breakpoint on
15810 empty_cycle. Rewrite the code counting HW watchpoints.
15812 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
15814 * gdb.reverse/fstatat-reverse.c: New test.
15815 * gdb.reverse/fstatat-reverse.exp: New file.
15816 * gdb.reverse/getresuid-reverse.c: New test.
15817 * gdb.reverse/getresuid-reverse.exp: New file.
15818 * gdb.reverse/pipe-reverse.c: New test.
15819 * gdb.reverse/pipe-reverse.exp: New file.
15820 * gdb.reverse/readv-reverse.c: New test.
15821 * gdb.reverse/readv-reverse.exp: New file.
15822 * gdb.reverse/recvmsg-reverse.c: New test.
15823 * gdb.reverse/recvmsg-reverse.exp: New file.
15824 * gdb.reverse/time-reverse.c: New test.
15825 * gdb.reverse/time-reverse.exp: New file.
15826 * gdb.reverse/waitpid-reverse.c: New test.
15827 * gdb.reverse/waitpid-reverse.exp: New file.
15829 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
15831 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
15833 2015-10-26 Doug Evans <dje@google.com>
15836 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
15837 * gdb.dwarf2/bad-regnum.c: New file.
15838 * gdb.dwarf2/bad-regnum.exp: New file.
15840 2015-10-26 Doug Evans <dje@google.com>
15843 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
15846 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15848 * gdb.compile/compile.exp (compile code globalvar): Update expectation
15849 for a change by "Mention language in compile error message".
15851 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
15854 * gdb.python/py-type.c (C::a_method): New.
15855 (C::a_const_method): New.
15856 (C::a_static_method): New.
15858 * gdb.python/py-type.exp (test_fields): Test getting fields
15859 from function and method.
15861 2015-10-21 Keven Boell <keven.boell@intel.com>
15863 * gdb.fortran/vla-alloc-assoc.exp: New file.
15864 * gdb.fortran/vla-datatypes.exp: New file.
15865 * gdb.fortran/vla-datatypes.f90: New file.
15866 * gdb.fortran/vla-history.exp: New file.
15867 * gdb.fortran/vla-ptype-sub.exp: New file.
15868 * gdb.fortran/vla-ptype.exp: New file.
15869 * gdb.fortran/vla-sizeof.exp: New file.
15870 * gdb.fortran/vla-sub.f90: New file.
15871 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
15872 * gdb.fortran/vla-value-sub-finish.exp: New file.
15873 * gdb.fortran/vla-value-sub.exp: New file.
15874 * gdb.fortran/vla-value.exp: New file.
15875 * gdb.fortran/vla-ptr-info.exp: New file.
15876 * gdb.mi/mi-vla-fortran.exp: New file.
15877 * gdb.mi/vla.f90: New file.
15879 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
15881 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
15882 of hardwired timeout value.
15884 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15885 Pedro Alves <palves@redhat.com>
15887 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
15888 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
15890 2015-10-19 Josh Stone <jistone@redhat.com>
15892 * gdb.base/catch-syscall.c: Include <sched.h>.
15893 (unknown_syscall): New variable.
15894 (main): Trigger a vfork and an unknown syscall.
15895 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
15896 (unknown_syscall_number): Likewise.
15897 (check_call_to_syscall): Accept an optional syscall pattern.
15898 (check_return_from_syscall): Likewise.
15899 (check_continue): Likewise.
15900 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
15901 (test_catch_syscall_skipping_return): New test toggling off 'catch
15902 syscall' to step over the syscall return, then toggling back on.
15903 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
15904 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
15905 (do_syscall_tests): Call test_catch_syscall_without_args and
15906 test_catch_syscall_mid_vfork.
15907 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
15908 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
15910 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
15912 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
15913 print g_vE): Add new pass patterns.
15914 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
15915 print various symbol names for vptr fields.
15917 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
15919 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
15922 2015-10-12 Yao Qi <yao.qi@linaro.org>
15924 * gdb.arch/disp-step-insn-reloc.exp: New test case.
15926 2015-10-12 Yao Qi <yao.qi@linaro.org>
15928 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
15929 is aarch64*-*-linux*.
15931 2015-10-12 Yao Qi <yao.qi@linaro.org>
15933 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
15934 (can_relocate_bcond_true): ... it.
15935 (can_relocate_bcond_false): New function.
15937 (can_relocate_bl): Likewise.
15938 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
15941 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
15943 * gdb.base/nested-addr.c: New file.
15944 * gdb.base/nested-addr.exp: New testcase.
15946 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
15948 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
15949 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
15950 its output. Ignore the output of "record goto begin" and instead
15951 check that GDB is replaying.
15953 2015-10-09 Pedro Alves <palves@redhat.com>
15955 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
15956 (top level): Use it in the run with no args test.
15958 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
15960 * gdb.dlang/properties.exp: New file.
15962 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
15964 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
15965 whether or not address 0x1000 is mapped on the target.
15967 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
15969 * gdb.python/py-type.exp: Do not run tests if binaries fail to
15972 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
15974 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
15975 instruction-history test.
15977 2015-09-28 Doug Evans <dje@google.com>
15979 * gdb.base/gcore.c (array_func): Add reference to static_array.
15981 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
15983 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
15986 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
15988 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
15989 short or char as base type.
15991 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
15993 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
15994 to allow any size enum.
15996 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
15998 * gdb.ada/array_ptr_renaming.exp: New testcase.
15999 * gdb.ada/array_ptr_renaming/foo.adb: New file.
16000 * gdb.ada/array_ptr_renaming/pack.ads: New file.
16002 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
16004 * gdb.trace/ftrace-lock.c: New file.
16005 * gdb.trace/ftrace-lock.exp: New file.
16007 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
16009 * gdb.arch/insn-reloc.c: New file.
16010 * gdb.arch/ftrace-insn-reloc.exp: New file.
16012 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
16014 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
16016 * gdb.trace/pendshr1.c (pendfunc): Likewise.
16017 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
16018 * gdb.trace/range-stepping.c: Likewise.
16019 * gdb.trace/trace-break.c: Likewise.
16020 * gdb.trace/trace-mt.c (thread_function): Likewise.
16021 * gdb.trace/ftrace.c (marker): Likewise.
16022 * gdb.trace/trace-condition.c (marker): Likewise.
16023 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
16024 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
16027 2015-09-18 Doug Evans <xdje42@gmail.com>
16029 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
16030 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
16032 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16034 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
16037 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16039 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
16040 the pending breakpoint. Remove timeout override for "Run till
16041 MI pending breakpoint on pendfunc3 on thread 2" test.
16043 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16045 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
16048 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16050 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
16051 in breakpoint filename pattern.
16053 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16055 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
16057 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
16059 * gdb.linespec/explicit.exp: Check for readline support for
16060 tab-completion tests. Fix obvious typo.
16062 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
16064 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
16067 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
16069 * gdb.btrace/non-stop.c: New.
16070 * gdb.btrace/non-stop.exp: New.
16072 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
16073 Yao Qi <yao.qi@linaro.org>
16075 * gdb.trace/trace-condition.c: New file.
16076 * gdb.trace/trace-condition.exp: New file.
16078 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
16080 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
16081 for testing bytecode compilation.
16083 2015-09-16 Pedro Alves <palves@redhat.com>
16084 Sandra Loosemore <sandra@codesourcery.com>
16086 * gdb.threads/non-stop-fair-events.c (timeout): New global.
16087 (SECONDS): Redefine.
16088 (main): Call pthread_kill and alarm early.
16089 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
16091 (test): If the target can't hardware step and doesn't support
16092 displaced stepping, increase the timeout.
16094 2015-09-16 Pedro Alves <palves@redhat.com>
16096 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
16097 (enable_debug): New procedures.
16098 (test): Use them. Bail out if waiting for threads fails.
16099 (top level): Bail out if a test fails.
16101 2015-09-16 Yao Qi <yao.qi@linaro.org>
16103 * gdb.asm/asm-source.exp: Set asm-arch for
16104 aarch64*-*-* target.
16105 * gdb.asm/aarch64.inc: New file.
16107 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
16109 * gdb.ada/array_of_variable_length.exp: New testcase.
16110 * gdb.ada/array_of_variable_length/foo.adb: New file.
16111 * gdb.ada/array_of_variable_length/pck.adb: New file.
16112 * gdb.ada/array_of_variable_length/pck.ads: New file.
16114 2015-09-15 Doug Evans <dje@google.com>
16116 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
16117 of function static local variable.
16119 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
16121 * gdb.threads/tls-so_extern.exp: New test file.
16122 * gdb.threads/tls-so_extern.c: New test file.
16123 * gdb.threads/tls-so_extern_main.c: New test file.
16125 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16127 * gdb.opt/solib-intra-step-lib.c: New file.
16128 * gdb.opt/solib-intra-step-main.c: New file.
16129 * gdb.opt/solib-intra-step.exp: New file.
16131 2015-09-15 Pedro Alves <palves@redhat.com>
16133 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
16134 gdb_continue_to_breakpoint instead of gdb_test_multiple.
16136 2015-09-14 Pedro Alves <palves@redhat.com>
16138 * gdb.base/hook-stop-continue.c: Delete.
16139 * gdb.base/hook-stop-continue.exp: Delete.
16140 * gdb.base/hook-stop-frame.c: Delete.
16141 * gdb.base/hook-stop-frame.exp: Delete.
16142 * gdb.base/hook-stop.c: New file.
16143 * gdb.base/hook-stop.exp: New file.
16145 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
16147 * gdb.ada/access_to_packed_array.exp: New testcase.
16148 * gdb.ada/access_to_packed_array/foo.adb: New file.
16149 * gdb.ada/access_to_packed_array/pack.adb: New file.
16150 * gdb.ada/access_to_packed_array/pack.ads: New file.
16152 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
16154 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
16157 2015-09-11 Don Breazeal <donb@codesourcery.com>
16159 * gdb.base/foll-exec.c: Add copyright header. Fix
16161 * gdb.base/foll-exec.exp (zap_session): Delete proc.
16162 (do_exec_tests): Use clean_restart in place of zap_session,
16163 and for test initialization. Fix formatting issues. Use
16164 fail in place of perror.
16165 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
16166 an expect statement to match an expression with output from
16167 the program under debug.
16168 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
16169 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
16170 * gdb.threads/non-ldr-exc-2.exp: Likewise.
16171 * gdb.threads/non-ldr-exc-3.exp: Likewise.
16172 * gdb.threads/non-ldr-exc-4.exp: Likewise.
16174 2015-09-09 Doug Evans <dje@google.com>
16176 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
16178 2015-09-09 Doug Evans <dje@google.com>
16180 * gdb.base/pie-execl.exp: Fix result test of build_executable.
16182 2015-09-09 Doug Evans <dje@google.com>
16184 * gdb.base/savedregs.exp: Fix typo.
16186 2015-09-09 Pedro Alves <palves@redhat.com>
16188 * gdb.mi/mi-cli.exp: Add CLI finish tests.
16190 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
16192 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
16193 command actually switches threads. Give up on remaining
16194 tests if target fails to stop at breakpoint.
16196 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
16198 * gdb.ada/funcall_char.exp: New testcase.
16199 * gdb.ada/funcall_char/foo.adb: New file.
16201 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
16203 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
16204 expected outputs. Add two testcases for completing ambiguous
16206 * gdb.ada/complete/aux_pck.adb: New file.
16207 * gdb.ada/complete/aux_pck.ads: New file.
16208 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
16209 Ambiguous_Func functions.
16210 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
16211 * gdb.ada/complete/pck.adb: Likewise.
16213 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
16215 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
16216 failures to run the test program under GDB.
16218 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
16220 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
16223 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
16225 * gdb.base/run-after-attach.exp: New test file.
16226 * gdb.base/run-after-attach.c: New test file.
16228 2015-08-26 Don Breazeal <donb@codesourcery.com>
16230 * gdb.base/foll-exec-2.c: New test program.
16231 * gdb.base/foll-exec-2.exp: New test.
16233 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
16235 * gdb.base/nested-subp1.exp: New file.
16236 * gdb.base/nested-subp1.c: New file.
16237 * gdb.base/nested-subp2.exp: New file.
16238 * gdb.base/nested-subp2.c: New file.
16239 * gdb.base/nested-subp3.exp: New file.
16240 * gdb.base/nested-subp3.c: New file.
16242 2015-08-24 Pedro Alves <palves@redhat.com>
16244 * gdb.server/connect-without-multi-process.c: New file.
16245 * gdb.server/connect-without-multi-process.exp: New file.
16247 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
16249 * gdb.opt/inline-markers.c: Make z int.
16251 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
16253 * gdb.opt/inline-markers.c: Make z volatile.
16255 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
16257 * gdb.opt/inline-bt.c: New volatile global z.
16258 * gdb.opt/inline-cmds.c: Likewise.
16259 * gdb.opt/inline-locals.c: Likewise.
16260 * gdb.opt/inline-markers.c: New extern global z.
16262 (inline_fn): Likewise.
16264 2015-08-24 Pedro Alves <palves@redhat.com>
16266 * config/m32r-stub.exp: Remove file.
16267 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
16268 * gdb.base/call-rt-st.exp: Likewise.
16269 * gdb.base/call-strs.exp: Likewise.
16270 * gdb.base/default.exp: Remove references to h8300-*-hms and
16272 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
16274 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
16276 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
16277 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
16278 and "return" use KFAIL when GDB can not read/write the vector
16281 2015-08-21 Gary Benson <gbenson@redhat.com>
16283 * gdb.trace/pending.exp: Cope with remote transfer warnings.
16285 2015-08-20 Pedro Alves <palves@redhat.com>
16287 * gdb.server/solib-list.exp: No longer expect an interior stop in
16290 2015-08-20 Pedro Alves <palves@redhat.com>
16292 * gdb.server/connect-stopped-target.c: New file.
16293 * gdb.server/connect-stopped-target.exp: New file.
16295 2015-08-20 Pedro Alves <palves@redhat.com>
16297 * gdb.dwarf2/comp-unit-lang.exp: New file.
16298 * gdb.dwarf2/comp-unit-lang.c: New file.
16300 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
16302 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
16303 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
16305 2015-08-19 Kevin Buettner <kevinb@redhat.com>
16307 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
16308 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
16310 2015-08-18 Doug Evans <dje@google.com>
16311 Adrian Sendroiu <adrian.sendroiu@freescale.com>
16313 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
16314 skip_python_tests. New arg prompt_regexp.
16315 (skip_python_tests): New function.
16316 * lib/mi-support.exp (mi_skip_python_tests): New function.
16317 * gdb.python/py-mi-objfile-gdb.py: New file.
16318 * gdb.python/py-mi-objfile.c: New file.
16319 * gdb.python/py-mi-objfile.exp: New file.
16321 2015-08-17 Keith Seitz <keiths@redhat.com>
16323 * gdb.linespec/explicit.exp: Move strace test from here ...
16324 * gdb.trace/strace.exp: ... to here.
16326 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
16328 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
16329 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
16331 2015-08-14 Doug Evans <xdje42@gmail.com>
16333 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
16334 inferior before selecting a new file.
16336 2015-08-14 Doug Evans <xdje42@gmail.com>
16338 * gdb.mi/mi-disassemble.exp: Update.
16339 * gdb.base/disasm-optim.S: New file.
16340 * gdb.base/disasm-optim.c: New file.
16341 * gdb.base/disasm-optim.h: New file.
16342 * gdb.base/disasm-optim.exp: New file.
16344 2015-08-14 Keith Seitz <keiths@redhat.com>
16346 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
16349 2015-08-13 Joel Brobecker <brobecker@adacore.com>
16351 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
16353 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
16355 * gdb.ada/fun_renaming.exp: New testcase.
16356 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
16357 * gdb.ada/fun_renaming/pack.adb: New file.
16358 * gdb.ada/fun_renaming/pack.ads: New file.
16360 2015-08-12 Keith Seitz <keiths@redhat.com>
16362 * gdb.base/dso2dso.exp: Pass basename of source file in call to
16363 gdb_get_line_number.
16365 2015-08-12 Joel Brobecker <brobecker@adacore.com>
16367 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
16368 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
16369 gdb.base/dso2dso.exp: New files.
16371 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
16372 Pedro Alves <palves@redhat.com>
16373 Keith Seitz <keiths@redhat.com>
16375 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
16378 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
16380 * gdb.base/gdbhistsize-history.exp
16381 (test_histsize_history_setting): Use save_vars.
16382 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
16384 (test_no_truncation_of_unlimited_history_file): Use save_vars.
16385 * gdb.base/readline.exp: Use save_vars.
16387 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
16389 * lib/gdb.exp (save_vars): New proc.
16391 2015-08-11 Keith Seitz <keiths@redhat.com>
16393 * gdb.base/help.exp: Update help_breakpoint_text.
16395 2015-08-11 Keith Seitz <keiths@redhat.com>
16397 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
16398 (at toplevel): Call test_explicit_breakpoints.
16399 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
16401 * lib/mi-support.exp (mi_make_breakpoint): Add support for
16402 breakpoint conditions, "-cond".
16404 2015-08-11 Keith Seitz <keiths@redhat.com>
16406 * gdb.linespec/3explicit.c: New file.
16407 * gdb.linespec/cpexplicit.cc: New file.
16408 * gdb.linespec/cpexplicit.exp: New file.
16409 * gdb.linespec/explicit.c: New file.
16410 * gdb.linespec/explicit.exp: New file.
16411 * gdb.linespec/explicit2.c: New file.
16412 * gdb.linespec/ls-errs.exp: Add explicit location tests.
16413 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
16414 before using in the matching pattern.
16415 Clarify that `prefix' is a regular expression.
16417 2015-08-11 Keith Seitz <keiths@redhat.com>
16419 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
16421 Add tests for missing ",FMT" and ",".
16423 2015-08-10 Doug Evans <dje@google.com>
16424 Keith Seitz <keiths@redhat.com>
16427 * gdb.base/completion.exp: Add location completer tests.
16429 2015-08-07 Pedro Alves <palves@redhat.com>
16431 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
16433 (top level): Run do_test with and without displaced stepping.
16435 2015-08-07 Pedro Alves <palves@redhat.com>
16437 * gdb.base/valgrind-disp-step.c: New file.
16438 * gdb.base/valgrind-disp-step.exp: New file.
16440 2015-08-07 Pedro Alves <palves@redhat.com>
16442 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
16444 (main): Add alarm. Run an infinite loop instead of calling
16446 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
16448 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
16450 (main): Add alarm. Run an infinite loop instead of calling
16452 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
16455 2015-08-07 Pedro Alves <palves@redhat.com>
16457 * gdb.base/checkpoint-ns.exp: New file.
16458 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
16461 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
16463 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
16464 * gdb.btrace/instruction_history.exp: Update.
16465 * gdb.btrace/tsx.exp: New.
16466 * gdb.btrace/tsx.c: New.
16468 2015-08-06 Pedro Alves <palves@redhat.com>
16470 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
16472 * gdb.reverse/until-precsave.exp: Bump timeouts.
16474 2015-08-06 Pedro Alves <palves@redhat.com>
16476 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
16478 2015-08-06 Pedro Alves <palves@redhat.com>
16481 * gdb.threads/process-dies-while-handling-bp.c: New file.
16482 * gdb.threads/process-dies-while-handling-bp.exp: New file.
16484 2015-08-06 Pedro Alves <palves@redhat.com>
16486 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
16487 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
16489 2015-08-05 Pedro Alves <palves@redhat.com>
16491 * gdb.threads/next-while-other-thread-longjmps.c: New file.
16492 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
16494 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
16496 * gdb.base/bp-permanent.exp: Report test as unsupported if
16497 the target cannot stop at the permanent breakpoint.
16499 2015-08-03 Doug Evans <dje@google.com>
16501 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
16504 2015-08-03 Doug Evans <dje@google.com>
16506 * Makefile.in (workers/%.worker, build-perf): New rule.
16507 (GDB_PERFTEST_MODE): New variable.
16508 (check-perf): Use it.
16509 (clean): Clean up gdb.perf parallel build subdirs.
16510 * lib/build-piece.exp: New file.
16511 * lib/gdb.exp (make_gdb_parallel_path): New function
16512 (standard_output_file, standard_temp_file): Call it.
16513 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
16515 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
16517 2015-08-03 Doug Evans <dje@google.com>
16519 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
16520 (LOG_FILE_NAME): New global.
16521 (TextReporter.__init__): Initialize self.txt_sum.
16522 (TextReporter.report): Add support for multiple data-points.
16523 Move report to perftest.sum, put raw data in perftest.log.
16524 (TextReporter.start): Open sum and log files.
16525 (TextReporter.end): Close sum and log files.
16526 * gdb.perf/lib/perftest/testresult.py
16527 (SingleStatisticTestResult.record): Handle multiple data-points.
16529 2015-07-31 Pedro Alves <palves@redhat.com>
16531 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
16532 Use spawn_id_get_pid. Wait for spawn id after eof. Use
16533 kill_wait_spawned_process instead of explicit "kill -9".
16534 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
16535 returning a spawn id instead of a pid. Use spawn_id_get_pid and
16536 kill_wait_spawned_process.
16537 * gdb.base/attach-twice.exp: Likewise.
16538 * gdb.base/attach.exp: Likewise.
16539 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
16541 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
16542 returning a spawn id instead of a pid. Use spawn_id_get_pid and
16543 kill_wait_spawned_process.
16544 * gdb.base/valgrind-infcall.exp: Likewise.
16545 * gdb.multi/multi-attach.exp: Likewise.
16546 * gdb.python/py-prompt.exp: Likewise.
16547 * gdb.python/py-sync-interp.exp: Likewise.
16548 * gdb.server/ext-attach.exp: Likewise.
16549 * gdb.threads/attach-into-signal.exp (corefunc): Use
16550 spawn_wait_for_attach, spawn_id_get_pid and
16551 kill_wait_spawned_process.
16552 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
16553 spawn_wait_for_attach returning a spawn id instead of a pid. Use
16554 spawn_id_get_pid and kill_wait_spawned_process.
16555 * gdb.threads/attach-stopped.exp (corefunc): Use
16556 spawn_wait_for_attach, spawn_id_get_pid and
16557 kill_wait_spawned_process.
16558 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
16559 Use spawn_id_get_pid. Wait for spawn id after eof. Use
16560 kill_wait_spawned_process instead of explicit "kill -9".
16561 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
16562 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
16563 (spawn_wait_for_attach): Use spawn instead of exec to spawn
16564 processes. Don't map cygwin/windows pids here. Now returns a
16567 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
16569 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
16570 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
16573 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
16575 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
16577 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
16580 2014-05-21 Mark Wielaard <mjw@redhat.com>
16582 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
16584 2015-07-30 Pedro Alves <palves@redhat.com>
16586 * linux-low.c (handle_extended_wait): Set the child's last
16587 reported status to TARGET_WAITKIND_STOPPED.
16589 2015-07-30 Pedro Alves <palves@redhat.com>
16592 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
16593 only shows inferior 1.
16595 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
16596 Pedro Alves <palves@redhat.com>
16599 * gdb.threads/fork-plus-threads.c: New file.
16600 * gdb.threads/fork-plus-threads.exp: New file.
16602 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
16604 * gdb.base/batch-preserve-term-settings.exp
16605 (test_terminal_settings_preserved_after_cli_exit): Use
16608 2015-07-29 Pedro Alves <palves@redhat.com>
16609 Don Breazeal <donb@codesourcery.com>
16611 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
16612 output from both inferior_spawn_id and gdb_spawn_id.
16614 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
16616 * gdb.threads/attach-into-signal.exp (corefunc): Use
16617 with_test_prefix on nested loops, uniquefying the test messages.
16619 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
16621 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
16624 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
16626 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
16628 (test_terminal_settings_preserved_after_sigterm): New test.
16630 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
16632 * gdb.base/batch-preserve-term-settings.exp
16633 (test_terminal_settings_preserved_after_cli_exit): New test.
16635 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
16637 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
16638 manipulation of saved_gdbflags.
16639 (test_terminal_settings_preserved): Remove global declaration of
16640 the unused variable pagination_prompt. Remove manipulation of
16641 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
16644 2015-07-29 Pedro Alves <palves@redhat.com>
16646 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
16648 2015-07-29 Pedro Alves <palves@redhat.com>
16650 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
16653 2015-07-29 Pedro Alves <palves@redhat.com>
16655 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
16656 (main): Call gdb_unbuffer_output.
16657 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
16658 (main): Call gdb_unbuffer_output.
16659 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
16660 (main): Call gdb_unbuffer_output.
16661 * gdb.base/call-strs.exp: Adjust to step over the
16662 gdb_unbuffer_output call.
16663 * gdb.base/catch-gdb-caused-signals.c: Include
16664 "../lib/unbuffer_output.c".
16665 (main): Call gdb_unbuffer_output.
16666 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
16667 (main): Call gdb_unbuffer_output.
16668 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
16669 (main): Call gdb_unbuffer_output.
16670 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
16671 (main): Call gdb_unbuffer_output.
16672 * gdb.base/shlib-call.exp: Adjust to step over the
16673 gdb_unbuffer_output call.
16674 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
16675 (main): Call gdb_unbuffer_output.
16676 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
16677 (main): Call gdb_unbuffer_output.
16678 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
16679 (main): Rename to ...
16681 (main): Reimplement.
16682 * gdb.base/varargs.exp: Run to test instead of to main.
16683 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
16684 (main): Call gdb_unbuffer_output.
16686 2015-07-29 Pedro Alves <palves@redhat.com>
16688 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
16689 factore out from mi_continue_dprintf. For call-style dprintfs,
16690 expect dprintf output out of $inferior_spawn_id.
16691 (mi_continue_dprintf): Use mi_expect_dprintf.
16692 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
16693 (main): Call gdb_unbuffer_output.
16695 2015-07-29 Pedro Alves <palves@redhat.com>
16697 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
16698 (default_mi_gdb_start): Set inferior_spawn_id instead of
16699 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
16701 (mi_gdb_test): Always expect inferior output from both
16702 $inferior_spawn_id and $gdb_spawn_id.
16704 2015-07-29 Pedro Alves <palves@redhat.com>
16706 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
16707 send_inferior and $inferior_spawn_id.
16709 2015-07-29 Pedro Alves <palves@redhat.com>
16711 * gdb.gdb/complaints.exp (test_initial_complaints)
16712 (test_serial_complaints, test_short_complaints): Use
16714 (test_empty_complaint): Handle $inferior_spawn_id !=
16717 2015-07-29 Pedro Alves <palves@redhat.com>
16719 * gdb.base/varargs.exp: Use gdb_test_stdio.
16721 2015-07-29 Pedro Alves <palves@redhat.com>
16723 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
16725 2015-07-29 Pedro Alves <palves@redhat.com>
16727 * gdb.base/ending-run.exp: Use gdb_test_stdio.
16729 2015-07-29 Pedro Alves <palves@redhat.com>
16731 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
16732 parameter into two new parameters, "inf_result" and "gdb_result".
16733 Expect inferior output and gdb output from $inferior_spawn_id and
16734 $gdb_spawn_id, respectively. Adjust all callers.
16736 2015-07-29 Pedro Alves <palves@redhat.com>
16738 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
16739 of gdb_test_sequence.
16741 2015-07-29 Pedro Alves <palves@redhat.com>
16743 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
16744 (saw_spurious_output): Expect inferior output from
16745 $inferior_spawn_id. Use gdb_test_stdio.
16747 2015-07-29 Pedro Alves <palves@redhat.com>
16749 * gdb.base/dprintf.exp: Use standard_testfile. Change
16750 prepare_for_testing call.
16751 (srcfile): Don't set.
16752 (restart): New procedure.
16753 (test_dprintf): New procecure, use to continue over dprintfs.
16754 (test_call, test_agent): New procedures, tests moved here.
16755 Restart gdb and recreate dprintfs. Adjust expected output.
16757 2015-07-29 Pedro Alves <palves@redhat.com>
16759 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
16761 2015-07-29 Pedro Alves <palves@redhat.com>
16763 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
16765 2015-07-29 Pedro Alves <palves@redhat.com>
16767 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
16770 2015-07-29 Pedro Alves <palves@redhat.com>
16772 * lib/gdb.exp (gdb_test_stdio): New procedure.
16774 2015-07-29 Pedro Alves <palves@redhat.com>
16776 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
16778 2015-07-29 Pedro Alves <palves@redhat.com>
16780 * gdb.base/call-signal-resume.exp: Remove check for
16781 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
16782 * gdb.base/unwindonsignal.exp: Likewise.
16783 * gdb.base/call-signals.c (gen_signal): Remove printf call.
16784 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
16786 2015-07-29 Pedro Alves <palves@redhat.com>
16788 * gdb.base/siginfo-addr.c (pass): New function.
16789 (handler): Call it iff si_addr is correct.
16790 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
16791 Set a breakpoint at "pass" and continue to it.
16793 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
16795 * gdb.python/py-objfile.exp: Make some tests have unique names.
16796 * gdb.python/py-pp-registration.exp: Likewise.
16798 2015-07-28 Pedro Alves <palves@redhat.com>
16800 * gdb.server/server-exec-info.exp: Issue a "disconnect".
16802 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
16804 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
16806 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
16808 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
16810 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
16812 * gdb.base/gdb-sigterm-2.exp: New test.
16814 2015-07-25 Doug Evans <xdje42@gmail.com>
16817 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
16818 (workers/%.worker, build-perf): New rule.
16819 (GDB_PERFTEST_MODE): New variable.
16820 (check-perf): Use it.
16821 (clean): Clean up gdb.perf parallel build subdirs.
16822 * lib/build-piece.exp: New file.
16823 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
16824 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
16826 (standard_temp_file): Ditto.
16827 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
16830 2015-07-24 Doug Evans <dje@google.com>
16832 * gdb.perf/lib/perftest/utils.py: New file.
16833 * gdb.perf/gm-hello.cc: New file.
16834 * gdb.perf/gm-pervasive-typedef.cc: New file.
16835 * gdb.perf/gm-pervasive-typedef.h: New file.
16836 * gdb.perf/gm-std.cc: New file.
16837 * gdb.perf/gm-std.h: New file.
16838 * gdb.perf/gm-use-cerr.cc: New file.
16839 * gdb.perf/gm-utils.h: New file.
16840 * gdb.perf/gmonster-null-lookup.py: New file.
16841 * gdb.perf/gmonster-pervasive-typedef.py: New file.
16842 * gdb.perf/gmonster-print-cerr.py: New file.
16843 * gdb.perf/gmonster-ptype-string.py: New file.
16844 * gdb.perf/gmonster-runto-main.py: New file.
16845 * gdb.perf/gmonster-select-file.py: New file.
16846 * gdb.perf/gmonster1-null-lookup.exp: New file.
16847 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
16848 * gdb.perf/gmonster1-print-cerr.exp: New file.
16849 * gdb.perf/gmonster1-ptype-string.exp: New file.
16850 * gdb.perf/gmonster1-runto-main.exp: New file.
16851 * gdb.perf/gmonster1-select-file.exp: New file.
16852 * gdb.perf/gmonster1.cc: New file.
16853 * gdb.perf/gmonster1.exp: New file.
16854 * gdb.perf/gmonster2-null-lookup.exp: New file.
16855 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
16856 * gdb.perf/gmonster2-print-cerr.exp: New file.
16857 * gdb.perf/gmonster2-ptype-string.exp: New file.
16858 * gdb.perf/gmonster2-runto-main.exp: New file.
16859 * gdb.perf/gmonster2-select-file.exp: New file.
16860 * gdb.perf/gmonster2.cc: New file.
16861 * gdb.perf/gmonster2.exp: New file.
16863 2015-07-24 Doug Evans <dje@google.com>
16865 * gdb.perf/README: New file.
16866 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
16867 * lib/gen-perf-test.exp: New file.
16869 2015-07-24 Doug Evans <dje@google.com>
16871 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
16872 (PerfTest::startup): New function.
16873 (PerfTest::run): Return result of calling body.
16874 (PerfTest::assemble): Rewrite.
16875 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
16876 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
16877 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
16878 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
16879 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
16881 2015-07-24 Doug Evans <dje@google.com>
16883 * lib/gdb.exp (clean_restart): Make executable optional.
16885 2015-07-24 Doug Evans <dje@google.com>
16887 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
16888 compiler_info references.
16889 * gdb.cp/temargs.exp: Ditto.
16890 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
16891 (get_compiler_info): Early exit if already computed. Set compiler_info
16892 to "unknown" if there was a problem.
16893 (test_compiler_info): Add function comment. Call get_compiler_info.
16895 2015-07-24 Doug Evans <dje@google.com>
16897 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
16898 (workers/%.worker, build-perf): New rule.
16899 (GDB_PERFTEST_MODE): New variable.
16900 (check-perf): Use it.
16901 (clean): Clean up gdb.perf parallel build subdirs.
16902 * lib/build-piece.exp: New file.
16903 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
16904 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
16906 (standard_temp_file): Ditto.
16907 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
16910 2015-07-24 Doug Evans <dje@google.com>
16912 * lib/future.exp (gdb_default_target_compile): New option
16914 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
16917 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
16919 * gdb.base/catch-syscall.exp: Call gdb_exit before
16922 2015-07-24 Pedro Alves <palves@redhat.com>
16924 * gdb.python/py-events.exp: Accept output between the stop event
16926 * gdb.python/py-evsignal.exp: Likewise.
16927 * gdb.python/py-evthreads.exp: Likewise.
16929 2015-07-24 Pedro Alves <palves@redhat.com>
16932 * gdb.threads/non-ldr-exit.c: New file.
16933 * gdb.threads/non-ldr-exit.exp: New file.
16935 2015-07-24 Yao Qi <yao.qi@linaro.org>
16937 * gdb.server/ext-wrapper.exp: Test --wrapper option when
16938 restarting process.
16940 2015-07-24 Yao Qi <yao.qi@linaro.org>
16942 * gdb.server/ext-restart.exp: New file.
16944 2015-07-24 Yao Qi <yao.qi@linaro.org>
16946 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
16948 * gdb.server/ext-wrapper.exp: New file.
16950 2015-07-23 Doug Evans <dje@google.com>
16952 * gdb.dwarf2/dw2-dummy-cu.S: New file.
16953 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
16955 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
16957 * gdb.ada/var_arr_typedef.exp: New testcase.
16958 * gdb.ada/var_arr_typedef/pack.adb: New file.
16959 * gdb.ada/var_arr_typedef/pack.ads: New file.
16960 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
16962 2015-07-20 Joel Brobecker <brobecker@adacore.com>
16964 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
16966 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16968 * gdb.arch/i386-biarch-core.exp: Replace istarget
16969 by "complete set gnutarget". Remove expectation for the "core-file"
16972 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
16974 Revert the previous commit:
16975 Tests for validate symbol file using build-id.
16977 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
16979 Tests for validate symbol file using build-id.
16980 * gdb.base/solib-mismatch-lib.c: New file.
16981 * gdb.base/solib-mismatch-libmod.c: New file.
16982 * gdb.base/solib-mismatch.c: New file.
16983 * gdb.base/solib-mismatch.exp: New file.
16985 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
16987 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
16989 * gdb.base/sigbpt.exp (stepi_out): Likewise.
16990 * gdb.base/siginfo.exp: Likewise.
16991 * gdb.base/sigstep.exp (advance, advancei): Likewise.
16993 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
16995 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
16997 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
16999 * gdb.trace/range-stepping.exp: Check that the target supports
17002 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
17004 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
17006 2015-07-14 Pedro Alves <palves@redhat.com>
17008 * gdb.base/killed-outside.exp: New file.
17009 * gdb.base/killed-outside.c: New file.
17011 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
17013 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
17015 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
17017 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
17019 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
17020 infcall tests instead of setting up for KFAIL.
17022 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
17024 * gdb.btrace/record_goto-step.exp: New.
17026 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
17029 * gdb.compile/compile.c (struct struct_type): Add volatile to
17031 * gdb.compile/compile.exp
17032 (compile code struct_object.selffield = &struct_object): Skip further
17033 struct_object tests if this one xfails.
17035 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
17038 * gdb.trace/ax.exp: Add test.
17040 2015-07-07 Yao Qi <yao.qi@linaro.org>
17042 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
17043 instead of istarget "aarch64*-*-*".
17044 * gdb.arch/aarch64-fp.exp: Likewise.
17045 * gdb.base/float.exp: Likewise.
17046 * gdb.reverse/aarch64.exp: Likewise.
17047 * lib/gdb.exp (is_aarch64_target): New proc.
17049 2015-07-07 Yao Qi <yao.qi@linaro.org>
17051 * lib/gdb.exp (is_aarch32_target): New proc.
17052 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
17053 instead of "istarget "arm*-*-*"".
17054 * gdb.arch/arm-disp-step.exp: Likewise.
17055 * gdb.arch/thumb-bx-pc.exp: Likewise.
17056 * gdb.arch/thumb-prologue.exp: Likewise.
17057 * gdb.arch/thumb-singlestep.exp: Likewise.
17058 * gdb.base/disp-step-syscall.exp: Likewise.
17059 * gdb.base/float.exp: Likewise.
17061 2015-07-07 Yao Qi <yao.qi@linaro.org>
17063 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
17064 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
17066 2015-07-07 Yao Qi <yao.qi@linaro.org>
17068 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
17069 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
17071 * gdb.multi/multi-arch.exp: Likewise.
17073 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
17075 * gdb.python/py-lazy-string.exp: Add missing parentheses to
17078 2015-07-07 Yao Qi <yao.qi@linaro.org>
17080 * gdb.arch/thumb-singlestep.exp: Do one more single step.
17082 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
17084 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
17085 '[' and ']' characters.
17087 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
17089 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
17091 2015-06-29 Pedro Alves <palves@redhat.com>
17094 * gdb.threads/hand-call-new-thread.c: New file.
17095 * gdb.threads/hand-call-new-thread.c: New file.
17097 2015-06-26 Keith Seitz <keiths@redhat.com>
17098 Doug Evans <dje@google.com>
17101 * gdb.cp/var-tag-2.cc: New file.
17102 * gdb.cp/var-tag-3.cc: New file.
17103 * gdb.cp/var-tag-4.cc: New file.
17104 * gdb.cp/var-tag.cc: New file.
17105 * gdb.cp/var-tag.exp: New file.
17107 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
17109 * gdb.base/history-duplicates.exp: New test.
17111 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
17113 * gdb.base/completion.exp: Test the completion of the "focus"
17116 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
17118 * gdb.arch/amd64-prologue-skip.S: New file.
17119 * gdb.arch/amd64-prologue-skip.exp: New file.
17121 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
17123 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
17124 is_address_zero_readable check.
17126 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
17128 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
17129 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
17131 2015-06-24 Yao Qi <yao.qi@linaro.org>
17133 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
17136 2015-06-24 Yao Qi <yao.qi@linaro.org>
17138 * lib/gdb.exp (supports_get_siginfo_type): New proc.
17139 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
17140 * gdb.base/siginfo-thread.exp: Likewise.
17142 2015-06-22 Yao Qi <yao.qi@linaro.org>
17144 * boards/remote-gdbserver-on-localhost.exp: Add comments.
17146 2015-06-22 Yao Qi <yao.qi@linaro.org>
17148 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
17150 (skip_hw_watchpoint_tests): Likewise.
17152 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
17154 * gdb.base/gdbinit-history.exp: Test the interaction between
17155 setting GDBHISTSIZE and setting the history size via .gdbinit.
17157 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
17160 * gdb.base/gdbhistsize-history.exp: New test.
17162 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
17164 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
17166 * gdb.base/readline.exp: Likewise.
17168 2015-06-17 Yao Qi <yao.qi@linaro.org>
17170 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
17173 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
17175 * gdb.base/gdbinit-history.exp: Add test case to check that
17176 an unlimited history file does not get truncated on exit.
17178 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17180 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
17181 (VECTOR): New macro. Use it...
17182 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
17183 ...for these typedefs.
17184 (int8, char1, int1, double1): New typedefs.
17185 (struct just_int2, struct two_int2): New structures.
17186 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
17187 (add_structvecs, add_singlevecs): New functions.
17188 (main): Call add_some_intvecs twice.
17189 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
17190 the compile and exit upon failure. Try compiling for the "native"
17191 architecture. Test inferior function calls with vector arguments
17192 and vector return value handling with "finish" and "return".
17194 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
17196 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
17197 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
17199 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
17201 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
17203 PR breakpoints/16465
17204 * gdb.mi/mi-dprintf-pending.c: New file.
17205 * gdb.mi/mi-dprintf-pending.exp: New test.
17206 * gdb.mi/mi-dprintf-pendshr.c: New file.
17208 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
17209 Mircea Gherzan <mircea.gherzan@intel.com>
17211 * gdb.arch/i386-mpx-map.c: New file.
17212 * gdb.arch/i386-mpx-map.exp: New File.
17214 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
17216 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
17217 * gdb.arch/i386-mpx.exp: Indentation fixed.
17219 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
17221 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
17222 function and improved indentation.
17223 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
17224 gdb_test_multiple. Added additional tests to skip the test.
17226 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
17228 * gdb.arch/i386-avx512.c: Change path in include file.
17229 * gdb.arch/i386-avx512.exp: Change include dir path
17231 * gdb.arch/i386-mpx.c: Change path in include file.
17232 * gdb.arch/i386-mpx.exp: Change include dir path compilation
17235 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
17237 * gdb.compile/compile-print.exp (compile print *vararray@3)
17238 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
17240 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17242 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
17243 (do not keep jit in memory): ... this.
17244 (expect 5): Change it to ...
17245 (expect no 5): ... this.
17247 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
17250 * gdb.mi/mi-detach.exp: New file.
17252 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
17255 * gdb.arch/amd64-tailcall-self.S: New file.
17256 * gdb.arch/amd64-tailcall-self.c: New file.
17257 * gdb.arch/amd64-tailcall-self.exp: New file.
17259 2015-05-28 Don Breazeal <donb@codesourcery.com>
17261 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
17262 tests for remote targets by checking is_target_gdbserver.
17264 2015-05-27 Doug Evans <dje@google.com>
17266 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
17267 * gdb.dwarf2/opaque-type-lookup.c: New file.
17268 * gdb.dwarf2/opaque-type-lookup.exp: New file.
17270 2015-05-26 Doug Evans <dje@google.com>
17272 * gdb.cp/iostream.cc: New file.
17273 * gdb.cp/iostream.exp: New file.
17275 2015-05-26 Doug Evans <dje@google.com>
17277 * gdb.dwarf2/dw2-op-call.exp: Update.
17278 * gdb.dwarf2/dw4-sig-types.exp: Update.
17279 * gdb.dwarf2/implptr.exp: Update.
17280 * gdb.mi/mi-cmd-param-changed.exp: Update.
17282 2015-05-26 Doug Evans <dje@google.com>
17284 * gdb.python/py-lazy-string.c: New file.
17285 * gdb.python/py-lazy-string.exp: New file.
17286 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
17287 (main): Update. Add estring3.
17288 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
17289 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
17291 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
17292 Yao Qi <yao.qi@linaro.org>
17294 * gdb.reverse/aarch64.c: New.
17295 * gdb.reverse/aarch64.exp: New.
17297 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
17299 * lib/gdb.exp (supports_process_record): Return true for
17301 (supports_reverse): Likewise.
17303 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
17305 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
17306 Use with_test_prefix.
17308 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
17310 * gdb.base/completion.exp: Add test for completion of layout
17313 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
17315 * lib/gdb.exp (skip_tui_tests): New proc.
17316 * gdb.base/tui-layout.exp: Check skip_tui_tests.
17318 2015-05-19 Pedro Alves <palves@redhat.com>
17320 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
17321 Save the whole env array instead of just HOME. Unset HISTSIZE in
17322 the environment while testing. Restore whole environment
17325 2015-05-16 Doug Evans <xdje42@gmail.com>
17327 * gdb.guile/scm-ports.c: New file.
17328 * gdb.guile/scm-ports.exp: Add memory port tests.
17330 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17332 * gdb.compile/compile-print.c: New file.
17333 * gdb.compile/compile-print.exp: New file.
17335 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17337 * gdb.compile/compile-ops.exp: Cast param to void.
17338 * gdb.compile/compile.exp: Complete type for _gdb_expr.
17339 (compile code struct_object.selffield = &struct_object): Add xfail.
17341 2015-05-15 Joel Brobecker <brobecker@adacore.com>
17343 * gdb.ada/arr_enum_with_gap: New testcase.
17345 2015-05-15 Joel Brobecker <brobecker@adacore.com>
17347 * gdb.ada/byte_packed_arr: New testcase.
17349 2015-05-15 Joel Brobecker <brobecker@adacore.com>
17351 * gdb.ada/pckd_neg: New testcase.
17353 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
17356 * gdb.base/gdbinit-history.exp: New test.
17357 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
17358 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
17360 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
17362 * gdb.python/py-xmethods.cc: Enhance test case.
17363 * gdb.python/py-xmethods.exp: New tests.
17364 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
17366 (B_indexoper): Likewise.
17367 (global_dm_list) : Add new xmethod worker functions.
17369 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
17371 * gdb.base/coredump-filter.exp: Correctly unset
17372 "coredump_var_addr" array.
17374 2015-05-08 Pedro Alves <palves@redhat.com>
17376 * gdb.server/non-existing-program.exp: Unset spawn_id.
17378 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
17381 * gdb.python/py-xmethods.exp: Add tests.
17383 2015-05-08 Yao Qi <yao.qi@linaro.org>
17386 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
17387 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
17388 function set_coredump_filter, and remove remote_exec call.
17389 Remove argument ipid. Callers update.
17390 (top level): Don't get inferior's PID.
17392 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
17394 * gdb.base/watch_thread_num.exp: Skip test on targets without
17395 access watchpoints.
17397 2015-05-06 Pedro Alves <palves@redhat.com>
17400 * gdb.server/non-existing-program.exp: New file.
17402 2015-05-05 Joel Brobecker <brobecker@adacore.com>
17404 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
17406 2015-05-05 Joel Brobecker <brobecker@adacore.com>
17408 * gdb.ada/out_of_line_in_inlined: New testcase.
17410 2015-05-05 Joel Brobecker <brobecker@adacore.com>
17412 * gdb.ada/var_rec_arr: New testcase.
17414 2015-04-30 Yao Qi <yao.qi@linaro.org>
17416 * gdb.base/break-idempotent.exp: If
17417 skip_hw_watchpoint_multi_tests returns true, skip the tests
17418 on "rwatch" and "awatch".
17420 2015-04-30 Yao Qi <yao.qi@linaro.org>
17422 * gdb.base/relativedebug.exp: Invoke gdb command
17423 "info sharedlibrary", and if libc.so doesn't have debug info,
17426 2015-04-29 Doug Evans <dje@google.com>
17428 * gdb.python/py-xmethods.exp: Add ptype tests.
17429 * gdb.python/py-xmethods.py (E_method_char_worker): Add
17430 get_result_type method.
17432 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
17434 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
17435 the target does not support hardware watchpoints.
17437 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
17439 * gdb.base/break-always.exp: Abort testing if writing to memory
17442 2015-04-28 Doug Evans <dje@google.com>
17444 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
17445 * gdb.python/py-pp-registration.exp: ... here. New file.
17446 * gdb.python/py-pp-registration.c: New file.
17447 * gdb.python/py-pp-registration.py: New file.
17449 2015-04-28 Doug Evans <dje@google.com>
17451 * gdb.python/py-bad-printers.c: New file.
17452 * gdb.python/py-bad-printers.py: New file.
17453 * gdb.python/py-bad-printers.exp: New file.
17455 2015-04-28 Sasha Smundak <asmundak@google.com>
17457 * gdb.python/py-type.exp: New test.
17459 2015-04-28 Andy Wingo <wingo@igalia.com>
17461 * gdb.python/py-parameter.exp:
17462 * gdb.guile/scm-parameter.exp: Escape the path that we are
17463 matching against, as it might contain characters that are special
17464 to regular expressions.
17466 2015-04-27 Joel Brobecker <brobecker@adacore.com>
17468 * gdb.ada/rec_comp: New testcase.
17470 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
17472 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
17475 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
17477 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
17478 new tests for verilog output.
17480 2015-04-24 Yao Qi <yao.qi@linaro.org>
17482 * boards/remote-gdbserver-on-localhost.exp: New file.
17484 2015-04-23 Pedro Alves <palves@redhat.com>
17486 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
17487 $inferior_spawn_id instead of $inferior_spawn_id directly. On
17488 "end of file", remove $inferior_spawn_id from the indirect list.
17490 2015-04-23 Pedro Alves <palves@redhat.com>
17492 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
17494 2015-04-23 Pedro Alves <palves@redhat.com>
17496 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
17497 on $any_spawn_id instead of only on $gdb_spawn_id.
17499 2015-04-21 Pierre Muller <muller@sourceware.org>
17502 * lib/pascal.exp (gpc_compile): Add new option "class".
17503 (fpc_compile): Likewise.
17504 * gdb.pascal/case-insensitive-symbols.pas: New file.
17505 * gdb.pascal/case-insensitive-symbols.exp: New file.
17507 2015-04-20 Gary Benson <gbenson@redhat.com>
17509 * gdb.base/attach.exp: Fix three extended remote failures.
17511 2015-04-17 Gary Benson <gbenson@redhat.com>
17513 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
17514 the main executable over the remote protocol.
17516 2015-04-16 Pedro Alves <palves@redhat.com>
17518 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
17519 a new gdbserver if gdbserver_reconnect_p is set.
17521 2015-04-16 Pedro Alves <palves@redhat.com>
17523 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
17524 is set, don't exit gdbserver.
17526 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
17528 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
17529 appropriate .insn, such that an older assembler can be used.
17530 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
17531 the z/Architecture instruction set on 31-bit targets as well.
17533 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
17535 * gdb.go/handcall.exp: Remove all logic related to the first
17536 breakpoint and rely on go_runto_main instead.
17537 * gdb.go/strings.exp: Likewise.
17538 * gdb.go/unsafe.exp: Likewise.
17539 * gdb.go/hello.exp: Likewise. Also rename the remaining
17540 breakpoint marker to "breakpoint 1".
17541 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
17542 * gdb.go/strings.go: Likewise.
17543 * gdb.go/unsafe.go: Likewise.
17544 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
17545 "set breakpoint 2 here" and rename the remaining breakpoint marker
17548 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
17550 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
17551 if itertools.imap is not present.
17552 * gdb.python/py-objfile.exp: Add parentheses.
17553 * gdb.python/py-type.exp: Same.
17554 * gdb.python/py-unwind-maint.py: Same.
17556 2015-04-15 Yao Qi <yao.qi@linaro.org>
17558 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
17559 of ":$ptr_size" and set its form explicitly.
17561 2015-04-15 Pedro Alves <palves@redhat.com>
17562 Yao Qi <yao.qi@linaro.org>
17564 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
17565 timeout by factor of 4.
17566 (test_regular_watch): Likewise.
17567 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
17568 * gdb.reverse/sigall-reverse.exp: Likewise.
17569 * gdb.reverse/until-precsave.exp: Likewise.
17570 * lib/gdb.exp (with_timeout_factor): New proc.
17571 (gdb_expect): Move some code to ...
17572 (get_largest_timeout): ... here. New procedure.
17574 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
17576 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
17578 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
17580 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
17581 to write to the .text section.
17583 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
17585 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
17586 Handle the case of targets that do not provide PID information.
17588 2015-04-13 Yao Qi <yao.qi@linaro.org>
17590 * lib/gdbserver-support.exp (gdb_exit): Catch exception
17591 and use expect instead of gdb_expect.
17593 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
17595 * gdb.base/coredump-filter.exp: Rename variable "addr" to
17596 "coredump_var_addr" to avoid naming conflict with other testcases.
17598 2015-04-10 Pedro Alves <palves@redhat.com>
17600 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
17601 gdb_test_sequence and gdb_assert.
17603 2015-04-10 Pedro Alves <palves@redhat.com>
17605 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
17606 test messages that don't include the breakpoint address.
17608 2015-04-10 Yao Qi <yao.qi@linaro.org>
17610 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
17611 false for some offset and width combinations which aren't
17612 supported by linux kernel.
17614 2015-04-10 Pedro Alves <palves@redhat.com>
17616 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
17617 procedure, factored out from ...
17618 (top level): ... here. Add "set displaced-stepping" testing axis.
17619 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
17620 parameter "displaced". Use it.
17621 (top level): Use foreach and add "set displaced-stepping" testing
17624 2015-04-10 Pedro Alves <palves@redhat.com>
17626 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
17628 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
17629 both the address of the instruction that triggers the watchpoint
17630 and the address of the instruction immediately after, and use
17631 those addresses for the test. Fix comment.
17633 2015-04-10 Pedro Alves <palves@redhat.com>
17635 * gdb.base/sigstep.exp (breakpoint_to_handler)
17636 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
17637 Test "backtrace" in handler.
17638 (breakpoint_over_handler): New parameter 'displaced'. Use it.
17639 (top level): Add new "displaced" test axis to
17640 breakpoint_to_handler, breakpoint_to_handler_entry and
17641 breakpoint_over_handler.
17643 2015-04-10 Pedro Alves <palves@redhat.com>
17646 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
17648 2015-04-10 Yao Qi <yao.qi@linaro.org>
17650 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
17651 (test_add_rn_pc): New function.
17652 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
17653 (top level): Invoke test_add_rn_pc.
17655 2015-04-10 Pedro Alves <palves@redhat.com>
17658 * gdb.base/step-over-no-symbols.exp: New file.
17660 2015-04-09 Andy Wingo <wingo@igalia.com>
17662 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
17663 after the Python tests.
17665 2015-04-08 Keith Seitz <keiths@redhat.com>
17668 * gdb.python/py-completion.exp: New tests for completion.
17669 * gdb.python/py-completion.py (CompleteLimit1): New class.
17670 (CompleteLimit2): Likewise.
17671 (CompleteLimit3): Likewise.
17672 (CompleteLimit4): Likewise.
17673 (CompleteLimit5): Likewise.
17674 (CompleteLimit6): Likewise.
17675 (CompleteLimit7): Likewise.
17677 2015-04-08 Pedro Alves <palves@redhat.com>
17681 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
17683 (main): Install it as SIGUSR1 handler.
17684 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
17685 parameter. Always use "setup" as prefix. Toggle "set
17686 displaced-stepping" off/on depending on global. Don't switch to
17688 (top level): Add displaced stepping "off/on" test axis. Update
17689 "setup" calls. Wrap each subtest with with_test_prefix. Test
17690 continuing with a queued signal in each thread.
17692 2015-04-08 Pedro Alves <palves@redhat.com>
17694 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
17695 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
17696 gdb_breakpoint instead of gdb_test that doesn't expect anything.
17697 Return early if running to main fails.
17698 * gdb.trace/while-stepping.exp: Likewise.
17700 2015-04-07 Pedro Alves <palves@redhat.com>
17702 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
17703 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
17704 interact with inferior program.
17706 2015-04-07 Pedro Alves <palves@redhat.com>
17708 * lib/gdb.exp (inferior_spawn_id): New global.
17709 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
17710 spawn id after processing the user code.
17711 (default_gdb_start): Set inferior_spawn_id.
17712 (send_inferior): New procedure.
17713 * lib/gdbserver-support.exp (gdbserver_start): Set
17715 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
17717 2015-04-07 Pedro Alves <palves@redhat.com>
17719 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
17720 * lib/gdbserver-support.exp (gdbserver_start): Make
17721 $server_spawn_id global.
17722 (gdbserver_start): Don't wait for gdbserver's spawn id with
17724 (close_gdbserver): New procedure.
17725 (gdb_exit): Rename the default version and reimplement.
17727 2015-04-07 Pedro Alves <palves@redhat.com>
17729 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
17730 append the substituted item, not the original item.
17732 2015-04-07 Pedro Alves <palves@redhat.com>
17734 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
17737 2015-04-07 Pedro Alves <palves@redhat.com>
17739 * gdb.base/interrupt.exp: Don't handle the case of the inferior
17740 output appearing once only.
17742 2015-04-07 Pedro Alves <palves@redhat.com>
17744 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
17745 that doesn't expect anything. Return early if running to main
17748 2015-04-07 Yao Qi <yao.qi@linaro.org>
17750 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
17751 (child_function): Call alarm.
17752 (main): Move call to alarm into the loop.
17753 * gdb.threads/non-stop-fair-events.exp: Build program with
17754 -DTIMEOUT=$timeout.
17756 2015-04-06 Doug Evans <xdje42@gmail.com>
17758 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
17759 Fix dest parameter to board_info.
17760 (fpc_compile): Ditto.
17761 (gdb_compile_pascal): Rename dest arg to destfile.
17763 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
17765 * gdb.ada/funcall_ref.exp: New file.
17766 * gdb.ada/funcall_ref/foo.adb: New file.
17768 2015-04-02 Yao Qi <yao.qi@linaro.org>
17770 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
17773 2015-04-02 Gary Benson <gbenson@redhat.com>
17775 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
17777 2015-04-01 Sasha Smundak <asmundak@google.com>
17779 * gdb.python/py-unwind-maint.c: New file.
17780 * gdb.python/py-unwind-maint.exp: New test.
17781 * gdb.python/py-unwind-maint.py: New file.
17782 * gdb.python/py-unwind.c: New file.
17783 * gdb.python/py-unwind.exp: New test.
17784 * gdb.python/py-unwind.py: New test.
17786 2015-04-01 Pedro Alves <palves@redhat.com>
17788 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
17789 to fail instead of non-existent $test.
17791 2015-04-01 Pedro Alves <palves@redhat.com>
17793 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
17794 GDBFLAGS if not empty.
17796 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
17798 * gdb.ada/complete.exp: Remove "multi_line".
17799 * gdb.ada/info_exc.exp: Remove "multi_line".
17800 * gdb.ada/packed_tagged.exp: Remove "multi_line".
17801 * gdb.ada/ptype_field.exp: Remove "multi_line".
17802 * gdb.ada/sym_print_name.exp: Remove "multi_line".
17803 * gdb.ada/tagged.exp: Remove "multi_line".
17804 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
17806 * gdb.btrace/delta.exp: Likewise.
17807 * gdb.btrace/exception.exp: Likewise.
17808 * gdb.btrace/function_call_history.exp: Likewise.
17809 * gdb.btrace/instruction_history.exp: Likewise.
17810 * gdb.btrace/nohist.exp: Likewise.
17811 * gdb.btrace/record_goto.exp: Likewise.
17812 * gdb.btrace/segv.exp: Likewise.
17813 * gdb.btrace/stepi.exp: Likewise.
17814 * gdb.btrace/tailcall.exp: Likewise.
17815 * gdb.btrace/unknown_functions.exp: Likewise.
17816 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
17817 * lib/gdb.exp: Add the "multi_line" helper.
17819 2015-04-01 Pedro Alves <palves@redhat.com>
17821 * gdb.threads/tid-reuse.c: New file.
17822 * gdb.threads/tid-reuse.exp: New file.
17824 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
17827 * gdb.base/coredump-filter.c: New file.
17828 * gdb.base/coredump-filter.exp: Likewise.
17830 2015-03-27 Petr Machata <pmachata@redhat.com>
17832 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
17833 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
17834 (Dwarf::assemble): Initialize them.
17835 (Dwarf::lines): New function.
17837 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
17839 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
17840 SYMBOL_PREFIX for x86_64-*-cygwin.
17842 2015-03-26 Andy Wingo <wingo@igalia.com>
17845 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
17846 const_value but not a location.
17847 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
17848 location defined in non-main CUs are visible.
17850 2015-03-26 Yao Qi <yao.qi@linaro.org>
17853 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
17854 Add a line number entry for the same line.
17855 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
17856 Add a line number entry for the same line.
17858 2015-03-26 Yao Qi <yao.qi@linaro.org>
17860 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
17862 (func): Likewise. Add .Lfunc_1 label.
17863 Use .Lfunc_1 label.
17864 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
17867 Use .Lfunc_1 label.
17869 2015-03-26 Yao Qi <yao.qi@linaro.org>
17871 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
17872 Call gdb_compile instead to compile each .s files without debug
17875 2015-03-26 Yao Qi <yao.qi@linaro.org>
17877 * gdb.base/savedregs.exp (process_saved_regs): Make
17878 "Saved registers:" optional in the pattern.
17880 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
17882 * gdb.btrace/next.exp: Merged into step.exp.
17883 * gdb.btrace/finish.exp: Merged into step.exp.
17884 * gdb.btrace/nexti.exp: Merged into stepi.exp.
17885 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
17886 "record goto" and checking the exact replay position.
17887 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
17888 check for "Recording format" in "info record" output.
17889 * gdb.btrace/record_goto.exp: Choose test file based on target.
17890 * gdb.btrace/x86-record_goto.S: Renamed into ...
17891 * gdb.btrace/x86_64-record_goto.S: ... this.
17892 * gdb.btrace/i686-record_goto.S: New.
17893 * gdb.btrace/x86-tailcall.S: Renamed into ...
17894 * gdb.btrace/x86_64-tailcall.S: ... this.
17895 * gdb.btrace/i686-tailcall.S: New.
17896 * gdb.btrace/x86-tailcall.c: Renamed into ...
17897 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
17898 separate statements. Update test.
17899 * gdb.btrace/delta.exp: Use record_goto.c as test file.
17900 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
17901 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
17902 * gdb.btrace/tailcall.exp: Choose test file based on target.
17903 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
17905 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
17907 * gdb.btrace/exception.exp: Increase BTS buffer size.
17909 2015-03-24 Pedro Alves <palves@redhat.com>
17911 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
17913 2015-03-24 Pedro Alves <palves@redhat.com>
17915 * gdb.threads/schedlock.exp (test_step): No longer expect that
17916 "set scheduler-locking step" with "next" over a function call runs
17919 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
17921 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
17923 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
17925 PR breakpoints/16466
17926 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
17927 * gdb.mi/mi-pending.c (thread_func): New function.
17928 (int main): Add threading support required.
17929 * gdb.mi/mi-pending.exp: Add tests for this issue.
17930 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
17931 (pendfunc2): Remove stdio dependency.
17932 * gdb.mi/mi-pendshr2.c: New file.
17934 2015-03-23 Keith Seitz <keiths@redhat.com>
17936 * gdb.linespec/keywords.c: New file.
17937 * gdb.linespec/keywords.exp: New file.
17939 2015-03-23 Keith Seitz <keiths@redhat.com>
17942 * gdb.dwarf2/staticvirtual.exp: New test.
17944 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
17946 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
17947 * README: Remove HP-UX and gdb.hp.
17949 * configure: Regenerate.
17950 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
17951 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
17952 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
17953 gdb.hp/gdb.defects/Makefile.
17954 * gdb.hp/Makefile.in: File deleted.
17955 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
17956 * gdb.hp/gdb.aCC/optimize.c: File deleted.
17957 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
17958 * gdb.hp/gdb.aCC/run.c: File deleted.
17959 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
17960 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
17961 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
17962 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
17963 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
17964 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
17965 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
17966 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
17967 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
17968 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
17969 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
17970 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
17971 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
17972 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
17973 * gdb.hp/gdb.base-hp/reg.s: File deleted.
17974 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
17975 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
17976 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
17977 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
17978 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
17979 * gdb.hp/gdb.compat/Makefile.in: File deleted.
17980 * gdb.hp/gdb.compat/average.c: File deleted.
17981 * gdb.hp/gdb.compat/sum.c: File deleted.
17982 * gdb.hp/gdb.compat/xdb.c: File deleted.
17983 * gdb.hp/gdb.compat/xdb0.c: File deleted.
17984 * gdb.hp/gdb.compat/xdb0.h: File deleted.
17985 * gdb.hp/gdb.compat/xdb1.c: File deleted.
17986 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
17987 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
17988 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
17989 * gdb.hp/gdb.defects/Makefile.in: File deleted.
17990 * gdb.hp/gdb.defects/bs14602.c: File deleted.
17991 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
17992 * gdb.hp/gdb.defects/solib-d.c: File deleted.
17993 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
17994 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
17995 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
17996 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
17997 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
17998 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
17999 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
18000 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
18001 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
18002 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
18003 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
18004 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
18005 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
18006 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
18007 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
18008 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
18009 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
18010 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
18011 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
18012 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
18013 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
18014 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
18015 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
18016 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
18017 * gdb.hp/tools/odump: File deleted.
18019 2015-03-19 Pedro Alves <palves@redhat.com>
18021 * gdb.threads/continue-pending-status.exp (saw_thread_2)
18022 (saw_thread_3): New globals.
18023 (top level): Increment them when an event for the corresponding
18025 (no thread starvation): New test.
18027 2015-03-19 Pedro Alves <palves@redhat.com>
18029 * gdb.threads/continue-pending-status.c: New file.
18030 * gdb.threads/continue-pending-status.exp: New file.
18032 2015-03-18 Pedro Alves <palves@redhat.com>
18034 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
18035 Use gdb_is_target_remote instead of is_remote. Use
18036 gdb_test_multiple instead of gdb_expect. Exit early if
18037 gdb_test_multiple hits its internal matches. Tighten stepi tests
18038 expected output. Fail on exit with any signal, instead of just
18041 2015-03-18 Yao Qi <yao.qi@linaro.org>
18044 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
18046 * gdb.base/catch-syscall.exp: Don't skip it on
18047 aarch64*-*-linux* target. Remove elements in all_syscalls.
18048 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
18050 (setup_all_syscalls): New proc.
18052 2015-03-16 Yao Qi <yao.qi@linaro.org>
18054 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
18055 (top level): Skip tests if valid_addr_p returns false for
18058 2015-03-11 Andy Wingo <wingo@igalia.com>
18060 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
18062 2015-03-11 Yao Qi <yao.qi@linaro.org>
18064 * gdb.base/catch-syscall.exp: Fix typo in comments.
18066 2015-03-11 Yao Qi <yao.qi@linaro.org>
18068 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
18070 2015-03-09 Pedro Alves <palves@redhat.com>
18072 * dg-extract-results.py: Delete.
18074 2015-03-09 Pedro Alves <palves@redhat.com>
18076 Merge dg-extract-results.sh from GCC upstream (r218843).
18078 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
18079 * dg-extract-results.sh: Use --text with grep to avoid issues with
18080 binary files. Fall back to cat -v, if that doesn't work.
18082 2015-03-05 Pedro Alves <palves@redhat.com>
18084 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
18086 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
18088 * lib/mi-support.exp (mi_expect_interrupt): Accept
18089 alternative event for when in all-stop mode.
18091 2015-03-04 Pedro Alves <palves@redhat.com>
18093 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
18095 2015-03-04 Mark Kettenis <kettenis@gnu.org>
18097 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
18099 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
18101 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
18102 regexps for GDB's current line display, accept a hex address
18103 preceding the line number.
18105 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
18107 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
18108 the 'arch1' variable for "s390*-linux*" targets.
18110 2015-03-04 Pedro Alves <palves@redhat.com>
18112 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
18113 (main): Pass missing retval argument to pthread_join call.
18115 2015-03-02 Pedro Alves <palves@redhat.com>
18117 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
18118 (top level): Call do_test with non-stop as well.
18120 2015-03-02 Pedro Alves <palves@redhat.com>
18122 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
18125 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
18127 * gdb.arch/s390-vregs.exp: New test.
18128 * gdb.arch/s390-vregs.S: New file.
18130 2015-02-27 Pedro Alves <palves@redhat.com>
18132 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
18133 call to catch_command_errors.
18134 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
18135 catch_command_errors.
18137 2015-02-27 Pedro Alves <palves@redhat.com>
18139 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
18140 "true" for boolean result.
18141 * gdb.gdb/selftest.exp (test_with_self): Also accept full
18144 2015-02-27 Pedro Alves <palves@redhat.com>
18146 * lib/unbuffer_output.c: New file.
18147 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
18148 (main): Call gdb_unbuffer_output.
18150 2015-02-27 Yao Qi <yao.qi@linaro.org>
18152 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
18155 2015-02-26 Doug Evans <dje@google.com>
18157 * gdb.cp/class2.cc (Dbase, D): New classes.
18158 (main): New local delta.
18159 * gdb.cp/class2.exp: Test printing delta.
18160 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
18161 (dynbar): New global.
18162 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
18164 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
18166 * gdb.compile/compile-ifunc.c: New file.
18167 * gdb.compile/compile-ifunc.exp: New file.
18169 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
18171 * gdb.base/structs.exp: Check for correct struct on finish.
18173 2015-02-26 Yao Qi <yao.qi@linaro.org>
18175 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
18178 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
18180 * gdb.arch/cordic.ko.bz2: New file.
18181 * gdb.arch/cordic.ko.debug.bz2: New file.
18182 * gdb.arch/ppc64-symtab-cordic.exp: New file.
18184 2015-02-25 Yao Qi <yao.qi@linaro.org>
18186 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
18187 aarch64*-*-* target.
18189 2015-02-23 Pedro Alves <palves@redhat.com>
18191 * lib/gdb.exp (delete_breakpoints): Rewrite using
18194 2015-02-23 Pedro Alves <palves@redhat.com>
18196 * gdb.base/info-os.c: Include stdlib.h.
18198 2015-02-22 Doug Evans <xdje42@gmail.com>
18201 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
18202 is read after symbols have been re-read.
18203 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
18204 * gdb.ada/exec_changed/second.adb (Second): Ditto.
18206 2015-02-21 Doug Evans <dje@google.com>
18208 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
18210 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
18213 * gdb.arch/i386-biarch-core.core.bz2: New file.
18214 * gdb.arch/i386-biarch-core.exp: New file.
18216 2015-02-21 Pedro Alves <palves@redhat.com>
18218 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
18221 2015-02-20 Pedro Alves <palves@redhat.com>
18223 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
18226 2015-02-20 Pedro Alves <palves@redhat.com>
18228 * gdb.threads/multi-create-ns-info-thr.exp: New file.
18230 2015-02-20 Pedro Alves <palves@redhat.com>
18232 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
18233 clean_restart before gdb_target_supports_trace.
18235 2015-02-20 Pedro Alves <palves@redhat.com>
18238 * gdb.threads/clone-thread_db.c: New file.
18239 * gdb.threads/clone-thread_db.exp: New file.
18241 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
18243 PR breakpoints/16812
18244 * gdb.base/catch-gdb-caused-signals.c: New file.
18245 * gdb.base/catch-gdb-caused-signals.exp: New file.
18247 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
18249 * configure: Regenerated.
18250 * configure.ac: Use GDB_AC_TRANSFORM.
18251 * aclocal.m4: sinclude ../transform.m4.
18253 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
18255 * lib/dtrace.exp: New file.
18256 * gdb.base/dtrace-probe.exp: Likewise.
18257 * gdb.base/dtrace-probe.d: Likewise.
18258 * gdb.base/dtrace-probe.c: Likewise.
18259 * lib/pdtrace.in: Likewise.
18260 * configure.ac: Output variables with the transformed names of
18261 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
18262 * configure: Regenerated.
18264 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
18266 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
18267 expected message when trying to access $_probe_* convenience
18268 variables while not on a probe.
18270 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
18272 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
18274 2015-02-11 Pedro Alves <pedro@codesourcery.com>
18276 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
18277 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
18279 2015-02-10 Doug Evans <xdje42@gmail.com>
18281 * lib/gdb.exp (gdb_load): Always return a result.
18283 2015-02-10 Pedro Alves <palves@redhat.com>
18285 * gdb.threads/signal-sigtrap.c: New file.
18286 * gdb.threads/signal-sigtrap.exp: New file.
18288 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
18290 * gdb.trace/no-attach-trace.c: New file.
18291 * gdb.trace/no-attach-trace.exp: New file.
18293 2015-02-09 Mark Wielaard <mjw@redhat.com>
18295 * gdb.dwarf2/atomic.c: New file.
18296 * gdb.dwarf2/atomic-type.exp: Likewise.
18298 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
18300 * gdb.btrace/buffer-size.exp: Update "info record" output.
18301 * gdb.btrace/delta.exp: Update "info record" output.
18302 * gdb.btrace/enable.exp: Update "info record" output.
18303 * gdb.btrace/finish.exp: Update "info record" output.
18304 * gdb.btrace/instruction_history.exp: Update "info record" output.
18305 * gdb.btrace/next.exp: Update "info record" output.
18306 * gdb.btrace/nexti.exp: Update "info record" output.
18307 * gdb.btrace/step.exp: Update "info record" output.
18308 * gdb.btrace/stepi.exp: Update "info record" output.
18309 * gdb.btrace/nohist.exp: Update "info record" output.
18311 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
18313 * gdb.btrace/buffer-size: New.
18315 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
18317 * gdb.btrace/delta.exp: Update "info record" output.
18318 * gdb.btrace/enable.exp: Update "info record" output.
18319 * gdb.btrace/finish.exp: Update "info record" output.
18320 * gdb.btrace/instruction_history.exp: Update "info record" output.
18321 * gdb.btrace/next.exp: Update "info record" output.
18322 * gdb.btrace/nexti.exp: Update "info record" output.
18323 * gdb.btrace/step.exp: Update "info record" output.
18324 * gdb.btrace/stepi.exp: Update "info record" output.
18325 * gdb.btrace/nohist.exp: Update "info record" output.
18327 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
18330 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
18332 2015-02-06 Pedro Alves <palves@redhat.com>
18334 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
18336 (seconds_left, again): New globals.
18337 (main): Wait seconds_left in a 1-second sleep loop instead of
18338 sleeping 180 seconds. If 'again' is set, reset the seconds
18340 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
18341 'again' in the inferior before detaching. Print the seconds left.
18342 (options): New global.
18343 (top level): Build program with -DTIMEOUT=$timeout.
18345 2015-02-06 Pedro Alves <palves@redhat.com>
18347 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
18348 determine how many seconds to pass to 'alarm'.
18349 * gdb.base/gdb-sigterm.exp (top level): Build program with
18350 -DTIMEOUT=$timeout.
18351 (do_test): Return success/failure indication. Add more verbose
18352 logging. Don't fail if 200 single steps are seen. Instead, fail
18353 when the test times out.
18354 (passes): New global.
18355 (top level): Break the testing loop if testing fails on any
18356 iteration. Use gdb_assert.
18358 2015-02-04 Don Breazeal <donb@codesourcery.com>
18360 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
18361 and initialize them.
18362 (ipc_cleanup): New function.
18363 (main): Don't declare shmid, semid, and msqid. Add a call to
18364 atexit so that we call ipc_cleanup on exit.
18366 2015-02-04 Pedro Alves <palves@redhat.com>
18368 * boards/native-extended-gdbserver.exp: Remove any target variant
18369 specifications from the board name before clearing the isremote
18370 flag from board_info.
18372 2015-01-31 Doug Evans <xdje42@gmail.com>
18374 * gdb.base/maint.exp <maint print type argc>: Update expected output.
18376 2015-01-31 Gary Benson <gbenson@redhat.com>
18378 * gdb.base/completion.exp: Disable completion limiting for
18379 existing tests. Add new tests to check completion limiting.
18380 * gdb.linespec/ls-errs.exp: Disable completion limiting.
18382 2015-01-31 Doug Evans <xdje42@gmail.com>
18384 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
18386 2015-01-31 Doug Evans <xdje42@gmail.com>
18388 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
18389 entries. Duplicate file section script entries.
18390 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
18391 inlined entries. Add test for safe-path rejection.
18392 * gdb.python/py-section-script.c: Add duplicate inlined section script
18393 entries. Duplicate file section script entries.
18394 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
18395 inlined entries. Add test for safe-path rejection.
18397 2015-01-29 Joel Brobecker <brobecker@adacore.com>
18399 * gdb.ada/disc_arr_bound: New testcase.
18401 2015-01-29 Joel Brobecker <brobecker@adacore.com>
18403 * gdb.ada/mi_var_array: New testcase.
18405 2015-01-27 Doug Evans <dje@google.com>
18407 * gdb.python/py-objfile.exp: Add tests for objfile.username.
18408 Add test for objfile.filename, objfile.username after objfile
18411 2015-01-26 Joel Brobecker <brobecker@adacore.com>
18413 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
18414 the second test to print the name attribute of value
18415 returned by the call to gdb.lookup_type, and adjust
18416 the expected output accordingly.
18418 2015-01-25 Mark Wielaard <mjw@redhat.com>
18420 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
18421 * gdb.base/disp-step-fork.c: Include unistd.h.
18422 * gdb.base/siginfo-obj.c: Include stdio.h.
18423 * gdb.base/siginfo-thread.c: Likewise.
18424 * gdb.mi/non-stop.c: Include unistd.h.
18425 * gdb.mi/nsthrexec.c: Include stdio.h.
18426 * gdb.mi/pthreads.c: Include unistd.h.
18427 * gdb.modula2/unbounded1.c (main): Declare returns int.
18428 * gdb.reverse/consecutive-reverse.c: Likewise.
18429 * gdb.threads/create-fail.c: Include unistd.h.
18430 * gdb.threads/killed.c: Likewise.
18431 * gdb.threads/linux-dp.c: Likewise.
18432 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
18433 * gdb.threads/non-ldr-exc-2.c: Likewise.
18434 * gdb.threads/non-ldr-exc-3.c: Likewise.
18435 * gdb.threads/non-ldr-exc-4.c: Likewise.
18436 * gdb.threads/pthreads.c: Include unistd.h.
18437 (main): Declare returns int.
18438 * gdb.threads/tls-main.c (foo): New declaration.
18439 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
18441 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
18443 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
18444 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
18446 2015-01-15 Mark Wielaard <mjw@redhat.com>
18448 * gdb.base/noreturn-return.c: New file.
18449 * gdb.base/noreturn-return.exp: New file.
18450 * gdb.base/noreturn-finish.c: New file.
18451 * gdb.base/noreturn-finish.exp: New file.
18453 2015-01-23 Pedro Alves <palves@redhat.com>
18455 * gdb.threads/continue-pending-after-query.c: New file.
18456 * gdb.threads/continue-pending-after-query.exp: New file.
18458 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
18459 Simon Marchi <simon.marchi@ericsson.com>
18461 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
18462 * gdb.base/valgrind-db-attach.exp: Same.
18463 * gdb.base/valgrind-infcall.exp: Same.
18464 * lib/mi-support.exp (default_mi_gdb_start): Same.
18465 * lib/prompt.exp (default_prompt_gdb_start): Same.
18466 * lib/gdb.exp (default_gdb_spawn): Same.
18467 (gdb_interact): New.
18470 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
18472 * gdb.compile/compile.exp (pointer to jit function): New test.
18474 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
18476 * lib/gdb.exp (supports_process_record): Return true for
18478 (supports_reverse): Likewise.
18480 2015-01-15 Don Breazeal <donb@codesourcery.com>
18482 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
18483 instead of checking whether the target board is remote and
18484 use spawn_wait_for_attach instead of exec/sleep.
18485 * gdb.base/attach-twice.exp: Likewise.
18487 2015-01-15 Joel Brobecker <brobecker@adacore.com>
18489 * gdb.ada/var_arr_attrs: New testcase.
18491 2015-01-14 Pedro Alves <palves@redhat.com>
18492 Joel Brobecker <brobecker@adacore.com>
18495 * gdb.base/bp-cmds-execution-x-script.c: New file.
18496 * gdb.base/bp-cmds-execution-x-script.exp: New file.
18497 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
18499 2015-01-14 Pedro Alves <palves@redhat.com>
18502 * gdb.base/batch-preserve-term-settings.c: New file.
18503 * gdb.base/batch-preserve-term-settings.exp: New file.
18505 2015-01-13 Doug Evans <dje@google.com>
18507 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
18510 2015-01-13 Joel Brobecker <brobecker@adacore.com>
18512 * Makefile.in (clean mostlyclean): Do not delete *.py.
18514 2015-01-13 Joel Brobecker <brobecker@adacore.com>
18516 * gdb.python/py-lookup-type.exp: New file.
18518 2015-01-12 Pedro Alves <palves@redhat.com>
18520 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
18521 restore GDBFLAGS before returning.
18523 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
18525 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
18526 is_amd64_regs_target and is_x86_like_target.
18528 2015-01-11 Doug Evans <xdje42@gmail.com>
18530 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
18531 is given without an explicit form.
18532 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
18534 * gdb.dwarf/corrupt.exp: Ditto.
18535 * gdb.dwarf2/enum-type.exp: Ditto.
18536 * gdb.trace/entry-values.exp: Ditto.
18537 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
18539 2015-01-11 Doug Evans <xdje42@gmail.com>
18542 * gdb.base/maint.exp: Remove references to "maint demangle".
18543 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
18544 Add tests for explicitly specifying language to demangle.
18545 * gdb.dlang/demangle.exp: Ditto.
18547 2015-01-09 Pedro Alves <palves@redhat.com>
18549 * gdb.threads/non-stop-fair-events.c: New file.
18550 * gdb.threads/non-stop-fair-events.exp: New file.
18552 2015-01-09 Pedro Alves <palves@redhat.com>
18554 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
18555 the global scope. Set a breakpoint after all threads are started
18556 rather than stepping over two source lines. Expect the prompt.
18557 * gdb.base/watch_thread_num.c (threads_started_barrier): New
18560 (main): Use threads_started_barrier to wait for all threads to
18561 start. Main thread no longer calls thread_function. Exit after
18563 (loop): New function.
18564 (thread_function): Wait on threads_started_barrier barrier. Call
18565 'loop' at each iteration.
18566 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
18567 threads have started, instead of hardcoding number of "next"
18568 steps. Use an access watchpoint instead of a write watchpoint.
18570 2015-01-09 Pedro Alves <palves@redhat.com>
18572 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
18573 (thread_func): Wait on barrier.
18574 (main): Wait for all threads to start before stopping GDB.
18575 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
18577 (thread1_func, thread2_func): Wait on barrier.
18578 (main): Wait for all threads to start before stopping GDB.
18579 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
18581 (thread1_func, thread2_func): Wait on barrier.
18582 (main): Wait for all threads to start before stopping GDB.
18584 2015-01-09 Pedro Alves <palves@redhat.com>
18586 * gdb.threads/attach-many-short-lived-threads.c: New file.
18587 * gdb.threads/attach-many-short-lived-threads.exp: New file.
18589 2014-01-09 Pedro Alves <palves@redhat.com>
18591 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
18592 instead of to thread 2.
18593 * gdb.threads/signal-command-multiple-signals-pending.c (main):
18594 Add barrier around each pthread_create call instead of around all
18596 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
18597 Set a break on thread_function and have the child threads hit it
18600 2015-01-09 Pedro Alves <palves@redhat.com>
18602 * lib/gdb.exp (can_spawn_for_attach): New procedure.
18603 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
18605 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
18606 checking whether the target board is remote.
18607 * gdb.multi/multi-attach.exp: Likewise.
18608 * gdb.python/py-sync-interp.exp: Likewise.
18609 * gdb.server/ext-attach.exp: Likewise.
18610 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
18611 tests that need to attach, instead of checking whether the target
18612 board is remote at the top of the file.
18614 2015-01-08 Yao Qi <yao@codesourcery.com>
18616 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
18618 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18620 Fix testcase compilation.
18621 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
18623 2015-01-06 Joel Brobecker <brobecker@adacore.com>
18625 * gdb.python/py-type.exp: Add a couple test about empty
18626 array creation, and negative-length array creation.
18628 2015-01-02 Doug Evans <xdje42@gmail.com>
18630 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
18632 2015-01-02 Doug Evans <dje@google.com>
18634 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
18636 2014-12-29 Yao Qi <yao@codesourcery.com>
18638 * gdb.trace/entry-values.exp: Update comments. Rename variable
18639 bar_call_foo to returned_from_foo.
18641 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
18644 * gdb.linespec/break-asm-file.c: New file.
18645 * gdb.linespec/break-asm-file.exp: New file.
18646 * gdb.linespec/break-asm-file0.s: New file.
18647 * gdb.linespec/break-asm-file1.s: New file.
18649 2014-12-18 Nigel Stephens <nigel@mips.com>
18650 Maciej W. Rozycki <macro@codesourcery.com>
18652 * gdb.base/float.exp: Handle the new output from "info float" on
18655 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
18657 Fix MinGW compilation.
18658 * gdb.compile/compile-ops.exp: Update untested message if
18659 !skip_compile_feature_tests.
18660 * gdb.compile/compile-setjmp.exp: Likewise.
18661 * gdb.compile/compile-tls.exp: Likewise.
18662 * gdb.compile/compile.exp: Likewise.
18663 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
18664 supported on this host".
18666 2014-12-16 Doug Evans <xdje42@gmail.com>
18668 * boards/stabs.exp: New file.
18670 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
18672 * gdb.base/completion.exp: Adjust to format changes of "maint
18673 print user-registers".
18675 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
18678 * gdb.arch/aarch64-fp.c: New file.
18679 * gdb.arch/aarch64-fp.exp: New file.
18681 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
18683 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
18684 r210637, r210913, r211666, r215400, r215817).
18686 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
18687 * dg-extract-results.py: New file.
18688 * dg-extract-results.sh: Use it if the environment seems
18691 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
18693 * dg-extract-results.py (parse_run): Handle warnings that
18694 are printed before a test harness is run.
18696 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
18698 * dg-extract-results.py (Named): Remove __cmp__ method.
18699 (output_variation): Use a key to sort variation.harnesses.
18701 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
18703 * dg-extract-results.py: For Python 3, force sys.stdout to
18704 handle surrogate escape sequences.
18705 (safe_open): New function.
18706 (output_segment, main): Use it.
18708 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
18710 * dg-extract-results.py (Prog.result_re): Include options
18713 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
18715 * dg-extract-results.py (output_variation): Always sort if
18718 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
18720 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
18721 as long as we get pagination notifications.
18723 2014-12-15 Jason Merrill <jason@redhat.com>
18725 * Makefile.in (check-gdb.%): Restore.
18726 * README: Mention it.
18728 2014-12-13 Joel Brobecker <brobecker@adacore.com>
18730 * gdb.ada/str_uninit: New testcase.
18732 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
18735 * gdb.base/vla-stub-define.c: New file.
18736 * gdb.base/vla-stub.c: New file.
18737 * gdb.base/vla-stub.exp: New file.
18739 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
18740 Jan Kratochvil <jan.kratochvil@redhat.com>
18741 Tom Tromey <tromey@redhat.com>
18743 * configure.ac: Add gdb.compile/.
18744 * configure: Regenerate.
18745 * gdb.compile/Makefile.in: New file.
18746 * gdb.compile/compile-ops.exp: New file.
18747 * gdb.compile/compile-ops.c: New file.
18748 * gdb.compile/compile-tls.c: New file.
18749 * gdb.compile/compile-tls.exp: New file.
18750 * gdb.compile/compile-constvar.S: New file.
18751 * gdb.compile/compile-constvar.c: New file.
18752 * gdb.compile/compile-mod.c: New file.
18753 * gdb.compile/compile-nodebug.c: New file.
18754 * gdb.compile/compile-setjmp-mod.c: New file.
18755 * gdb.compile/compile-setjmp.c: New file.
18756 * gdb.compile/compile-setjmp.exp: New file.
18757 * gdb.compile/compile-shlib.c: New file.
18758 * gdb.compile/compile.c: New file.
18759 * gdb.compile/compile.exp: New file.
18760 * lib/gdb.exp (skip_compile_feature_tests): New proc.
18762 2014-12-12 Tom Tromey <tromey@redhat.com>
18764 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
18765 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
18767 2014-12-12 Doug Evans <dje@google.com>
18769 * lib/gdb-python.exp (get_python_valueof): New function.
18770 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
18772 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
18774 * gdb.base/completion.exp: Add test for completion of "info
18777 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
18779 * gdb.base/func-ptrs.c: New file.
18780 * gdb.base/func-ptrs.exp: New file.
18782 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
18784 PR breakpoints/17012
18785 * gdb.base/dprintf-detach.c: New file.
18786 * gdb.base/dprintf-detach.exp: New file.
18788 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
18790 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
18791 * lib/gdb.exp (target_is_gdbserver): New procedure.
18793 2014-12-08 Doug Evans <dje@google.com>
18795 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
18797 2014-12-05 Yao Qi <yao@codesourcery.com>
18799 * gdb.guile/scm-error.exp: Remove the third argument to
18800 gdb_remote_download.
18801 * gdb.guile/scm-frame-args.exp: Likewise.
18802 * gdb.guile/scm-section-script.exp: Likewise.
18804 2014-12-05 Yao Qi <yao@codesourcery.com>
18806 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
18808 2014-12-04 Doug Evans <dje@google.com>
18810 * gdb.python/py-objfile.exp: Add tests for
18811 objfile.add_separate_debug_file.
18813 2014-12-04 Doug Evans <dje@google.com>
18815 * lib/gdb.exp (get_build_id): New function.
18816 (build_id_debug_filename_get): Rewrite to use it.
18817 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
18819 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
18821 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
18822 `method(long)', not just 0x0.
18823 * gdb.cp/nsalias.exp: Align code labels to 4.
18824 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
18825 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
18826 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
18827 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
18828 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
18829 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
18831 2014-12-02 Doug Evans <dje@google.com>
18834 * gdb.cp/anon-ns.cc: Move guts of this file to ...
18835 * gdb.cp/anon-ns2.cc: ... here. New file.
18836 * gdb.cp/anon-ns.exp: Update.
18838 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
18840 * gdb.python/py-events.py (inferior_call_handler): New.
18841 (register_changed_handler, memory_changed_handler): New.
18842 (test_events.invoke): Register new handlers.
18843 * gdb.python/py-events.exp: Add tests for inferior call,
18844 memory_changed and register_changed events.
18846 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
18848 * gdb.base/execl-update-breakpoints.exp: Specify the link address
18849 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
18850 if the linker doesn't understand this.
18852 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
18854 * gdb.python/python.exp: Change expected reply to help().
18856 2014-12-01 Yao Qi <yao@codesourcery.com>
18858 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
18859 AC_CONFIG_SUBDIRS(gdb.gdbtk).
18860 * configure: Re-generated.
18862 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
18864 * gdb.cp/chained-calls.cc: New file.
18865 * gdb.cp/chained-calls.exp: New file.
18866 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
18868 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
18870 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
18871 * gdb.dwarf2/symtab-producer.exp: Same.
18872 * gdb.gdb/python-interrupts.exp: Same.
18873 * gdb.gdb/python-selftest.exp: Same.
18874 * gdb.python/py-linetable.exp: Same.
18875 * gdb.python/py-type.exp: Same.
18876 * gdb.python/py-value-cc.exp: Same.
18877 * gdb.python/py-value.exp: Same.
18879 2014-11-28 Yao Qi <yao@codesourcery.com>
18881 * gdb.base/break-probes.exp: Match library name prefixed with
18884 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
18886 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
18887 test expected output. Add parentheses for the call to print.
18888 Remove L suffix from integers.
18890 2014-11-26 Doug Evans <dje@google.com>
18892 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
18894 2014-11-22 Yao Qi <yao@codesourcery.com>
18896 * gdb.trace/entry-values.c: Remove asms.
18897 (foo): Add foo_label.
18898 (bar): Add bar_label.
18899 * gdb.trace/entry-values.exp: Remove code computing foo's
18900 length and bar's length.
18901 (Dwarf::assemble): Invoke function_range for bar and use
18902 MACRO_AT_func for foo.
18904 2014-11-22 Yao Qi <yao@codesourcery.com>
18906 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
18907 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
18908 Use .Lgcc43_procstart instead of gcc43.
18910 2014-11-21 Joel Brobecker <brobecker@adacore.com>
18912 * gdb.ada/n_arr_bound: New testcase.
18914 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
18916 PR breakpoints/10737
18917 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
18918 test_catch_syscall_multi_arch.
18919 (test_catch_syscall_multi_arch): New function.
18921 2014-11-20 Doug Evans <xdje42@gmail.com>
18923 * gdb.base/maint.exp: Update expected output.
18925 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
18927 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
18928 4-byte instruction on S390.
18930 2014-11-19 Joel Brobecker <brobecker@adacore.com>
18932 * gdb.ada/arr_arr: New testcase.
18934 2014-11-19 Joel Brobecker <brobecker@adacore.com>
18936 * gdb.ada/pkd_arr_elem: New Testcase.
18938 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
18940 * gdb.reverse/break-precsave: Expect completion message for
18942 * gdb.reverse/consecutive-precsave.exp: Likewise.
18943 * gdb.reverse/finish-precsave.exp: Likewise.
18944 * gdb.reverse/i386-precsave.exp: Likewise.
18945 * gdb.reverse/machinestate-precsave.exp: Likewise.
18946 * gdb.reverse/sigall-precsave.exp: Likewise.
18947 * gdb.reverse/solib-precsave.exp: Likewise.
18948 * gdb.reverse/step-precsave.exp: Likewise.
18949 * gdb.reverse/until-precsave.exp: Likewise.
18950 * gdb.reverse/watch-precsave.exp: Likewise.
18952 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18954 * gdb.base/bp-permanent.c: Include unistd.h.
18955 * gdb.python/py-framefilter-mi.c (main): Add return type.
18956 * gdb.python/py-framefilter.c (main): Likewise.
18957 * gdb.trace/actions-changed.c (main): Likewise.
18959 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18961 * gdb.mi/until.c: Add eye-catchers.
18962 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
18965 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
18967 * gdb.base/condbreak.exp: Drop references to removed non-prototype
18968 function header variants in break1.c.
18969 * gdb.base/ena-dis-br.exp: Likewise.
18970 * gdb.base/hbreak2.exp: Likewise.
18971 * gdb.reverse/until-precsave.exp: Drop references to removed
18972 non-prototype function header variants in ur1.c.
18973 * gdb.reverse/until-reverse.exp: Likewise.
18975 2014-11-17 Petr Machata <pmachata@redhat.com>
18977 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
18978 ${_cu_offset_size} bytes abbrev offset.
18980 2014-11-15 Doug Evans <xdje42@gmail.com>
18983 * gdb.base/line-symtabs.exp: New file.
18984 * gdb.base/line-symtabs.c: New file.
18985 * gdb.base/line-symtabs.h: New file.
18987 2014-11-14 Yao Qi <yao@codesourcery.com>
18989 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
18990 (func): Add label func_label.
18991 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
18992 Replace low_pc and high_pc with MACRO_AT_range.
18993 Replace name, low_pc and high_pc with MACRO_AT_func.
18995 2014-11-14 Yao Qi <yao@codesourcery.com>
18997 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
18998 Replace name, low_pc and high_pc with MACRO_AT_func.
19000 2014-11-14 Yao Qi <yao@codesourcery.com>
19002 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
19003 produce debug information.
19004 * gdb.dwarf2/implptr-optimized-out.S: Removed.
19006 2014-11-14 Yao Qi <yao@codesourcery.com>
19008 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
19009 object and get function length.
19010 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
19011 with MACRO_AT_func.
19012 (top-level): Replace gdb_compile and clean_restart with
19013 prepare_for_testing.
19014 * gdb.dwarf2/main.c (main): Add label main_label.
19016 2014-11-14 Yao Qi <yao@codesourcery.com>
19018 * lib/dwarf.exp (function_range): New procedure.
19019 (Dwarf::_handle_macro_at_func): New procedure.
19020 (Dwarf::_handle_macro_at_range): New procedure.
19021 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
19023 2014-11-14 Yao Qi <yao@codesourcery.com>
19025 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
19026 (_handle_attribute): New procedure.
19028 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19030 * gdb.ada/cond_lang/foo.c (callme): Add return type.
19031 * gdb.base/call-sc.c (zed): Likewise.
19032 * gdb.base/checkpoint.c (main): Likewise.
19033 * gdb.base/dump.c (main): Likewise.
19034 * gdb.base/gcore.c (main): Likewise.
19035 * gdb.base/huge.c (main): Likewise.
19036 * gdb.base/multi-forks.c (main): Likewise.
19037 * gdb.base/pr10179-a.c (main): Likewise.
19038 * gdb.base/savedregs.c (main): Likewise.
19039 * gdb.base/sigaltstack.c (main): Likewise.
19040 * gdb.base/siginfo.c (main): Likewise.
19041 * gdb.base/structs.c (zed): Likewise.
19042 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
19043 * gdb.mi/mi-syn-frame.c (main): Likewise.
19044 * gdb.mi/until.c (foo, main): Likewise.
19045 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
19046 * gdb.base/solib-weak.c (foo): Declare.
19047 * gdb.base/attach-twice.c: Include stdio.h.
19048 * gdb.base/weaklib1.c: Likewise.
19049 * gdb.base/weaklib2.c: Likewise.
19050 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
19051 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
19053 * gdb.base/attach-pie-misread.c: Include stdlib.h.
19054 * gdb.mi/mi-exit-code.c: Likewise.
19055 * gdb.base/break-interp-lib.c: Include string.h.
19056 * gdb.base/coremaker.c: Likewise.
19057 * gdb.base/testenv.c: Likewise.
19058 * gdb.python/py-finish-breakpoint.c: Likewise.
19059 * gdb.base/inferior-died.c: Include sys/wait.h.
19060 * gdb.base/fileio.c: Include time.h.
19061 * gdb.base/async-shell.c: Include unistd.h.
19062 * gdb.base/dprintf-non-stop.c: Likewise.
19063 * gdb.base/info-os.c: Likewise.
19064 * gdb.mi/mi-console.c: Likewise.
19065 * gdb.mi/watch-nonstop.c: Likewise.
19066 * gdb.python/py-events.c: Likewise.
19067 * gdb.base/async.c (baz): Move up before its invocation.
19068 * gdb.base/code_elim2.c (my_global_func): Likewise.
19069 * gdb.base/skip-solib-lib.c (multiply): Likewise.
19070 * gdb.base/advance.c (func2): Likewise.
19072 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19074 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
19076 * gdb.base/annota3.c: Likewise.
19077 * gdb.base/async.c: Likewise.
19078 * gdb.base/average.c: Likewise.
19079 * gdb.base/call-ar-st.c: Likewise.
19080 * gdb.base/call-rt-st.c: Likewise.
19081 * gdb.base/call-sc.c: Likewise.
19082 * gdb.base/call-strs.c: Likewise.
19083 * gdb.base/ending-run.c: Likewise.
19084 * gdb.base/execd-prog.c: Likewise.
19085 * gdb.base/exprs.c: Likewise.
19086 * gdb.base/foll-exec.c: Likewise.
19087 * gdb.base/foll-fork.c: Likewise.
19088 * gdb.base/foll-vfork.c: Likewise.
19089 * gdb.base/funcargs.c: Likewise.
19090 * gdb.base/gcore.c: Likewise.
19091 * gdb.base/jump.c: Likewise.
19092 * gdb.base/langs0.c: Likewise.
19093 * gdb.base/langs1.c: Likewise.
19094 * gdb.base/langs2.c: Likewise.
19095 * gdb.base/mips_pro.c: Likewise.
19096 * gdb.base/nodebug.c: Likewise.
19097 * gdb.base/opaque0.c: Likewise.
19098 * gdb.base/opaque1.c: Likewise.
19099 * gdb.base/recurse.c: Likewise.
19100 * gdb.base/run.c: Likewise.
19101 * gdb.base/scope0.c: Likewise.
19102 * gdb.base/scope1.c: Likewise.
19103 * gdb.base/setshow.c: Likewise.
19104 * gdb.base/setvar.c: Likewise.
19105 * gdb.base/shmain.c: Likewise.
19106 * gdb.base/shr1.c: Likewise.
19107 * gdb.base/shr2.c: Likewise.
19108 * gdb.base/sigall.c: Likewise.
19109 * gdb.base/signals.c: Likewise.
19110 * gdb.base/so-indr-cl.c: Likewise.
19111 * gdb.base/solib2.c: Likewise.
19112 * gdb.base/structs.c: Likewise.
19113 * gdb.base/sum.c: Likewise.
19114 * gdb.base/vforked-prog.c: Likewise.
19115 * gdb.base/watchpoint.c: Likewise.
19116 * gdb.reverse/shr2.c: Likewise.
19117 * gdb.reverse/until-reverse.c: Likewise.
19118 * gdb.reverse/ur1.c: Likewise.
19119 * gdb.reverse/watch-reverse.c: Likewise.
19121 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19123 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
19125 * gdb.base/sepdebug.exp: Drop references to removed code.
19127 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19129 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
19130 variant. Preserve original line numbering.
19131 * gdb.base/list1.c: Likewise.
19133 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19135 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
19137 * gdb.base/break1.c: Likewise.
19138 * gdb.base/break.exp: Drop references to removed code.
19140 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19142 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
19145 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19147 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
19149 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19151 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
19152 logic into perform_all_tests() and invoke it with and without
19153 function header prototypes.
19154 (do_function_calls): Remove conditional XFAIL for PR 5318.
19155 (rerun_and_prepare): Remove duplicate code.
19156 (perform_all_tests): New. Main logic moved here.
19158 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19160 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
19161 code guarded by #ifdef NO_PROTOTYPES.
19162 (t_double_many_args): Likewise.
19163 (DEF_FUNC_MANY_ARGS_1): Likewise.
19164 (DEF_FUNC_VALUES_1): Likewise.
19165 (t_structs_ldc): Renamed from t_structs_fc in conditional code
19166 guarded by #ifdef PROTOTYPES.
19168 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19170 * gdb.mi/mi-console.c: Add eye-catcher.
19171 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
19172 instead of literal line number.
19174 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19176 * gdb.base/shr2.c: Add eye-catcher.
19177 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
19180 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19182 * gdb.base/jump.c: Add eye-catchers.
19183 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
19186 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19188 * gdb.base/execd-prog.c: Add eye-catchers.
19189 * gdb.base/foll-exec.c: Likewise.
19190 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
19193 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19195 * gdb.base/ending-run.c: Add eye-catchers.
19196 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
19197 literal line numbers.
19199 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19201 * gdb.base/call-rt-st.c: Add eye-catchers.
19202 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
19203 literal line numbers.
19205 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19207 * gdb.base/call-ar-st.c: Add eye-catchers.
19208 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
19209 literal line numbers.
19211 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19213 * gdb.base/average.c: Add eye-catchers.
19214 * gdb.base/sum.c: Likewise.
19215 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
19216 regexps dynamically.
19218 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
19220 * gdb.base/solib1.c: Add eye-catchers.
19221 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
19222 literal line numbers.
19224 2014-11-12 Pedro Alves <palves@redhat.com>
19226 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
19229 2014-11-12 Pedro Alves <palves@redhat.com>
19231 * gdb.arch/i386-bp_permanent.c: New file.
19232 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
19233 (srcfile): Set to i386-bp_permanent.c.
19234 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
19235 that stepi does not execute the 'leave' instruction, instead of
19236 testing it does execute.
19237 * gdb.base/bp-permanent.c: New file.
19238 * gdb.base/bp-permanent.exp: New file.
19240 2014-11-10 Doug Evans <xdje42@gmail.com>
19243 * gdb.base/symtab-search-order.exp: New file.
19244 * gdb.base/symtab-search-order.c: New file.
19245 * gdb.base/symtab-search-order-1.c: New file.
19246 * gdb.base/symtab-search-order-shlib-1.c: New file.
19248 2014-11-07 Pedro Alves <palves@redhat.com>
19251 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
19254 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
19257 * gdb.cp/pr17494.cc: New file.
19258 * gdb.cp/pr17494.exp: New file.
19260 2014-11-02 Yao Qi <yao@codesourcery.com>
19262 * gdb.python/python.exp: Get working directory and match the
19263 output of "set extended-prompt \\w " with it.
19265 2014-10-30 Doug Evans <dje@google.com>
19267 * gdb.python/py-objfile.exp: Add tests for setting random attributes
19269 * gdb.python/py-progspace.exp: Add tests for setting random attributes
19272 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
19274 * gdb.base/fullpath-expand.exp: Skip for a remote host.
19275 * gdb.base/realname-expand.exp: Likewise.
19276 * gdb.linespec/macro-relative.exp: Likewise.
19278 2014-10-29 Pedro Alves <palves@redhat.com>
19281 * gdb.threads/schedlock.c (some_function): New function.
19282 (call_function): New global.
19283 (MAYBE_CALL_SOME_FUNCTION): New macro.
19284 (thread_function): Call it.
19285 * gdb.threads/schedlock.exp (get_args): Add description parameter,
19286 and use it instead of a global counter. Adjust all callers.
19287 (get_current_thread): Use "find current thread" for test message
19288 here rather than having all callers pass down the same string.
19289 (goto_loop): New procedure, factored out from ...
19290 (my_continue): ... this.
19291 (step_ten_loops): Change parameter from test message to command to
19293 (list_count): Delete global.
19294 (check_result): New procedure, factored out from duplicate top
19296 (continue tests): Wrap in with_test_prefix.
19297 (test_step): New procedure, factored out from duplicate top level
19299 (top level): Test "step" in combination with all scheduler-locking
19300 modes. Test "next" in combination with all scheduler-locking
19301 modes, and in combination with stepping over a function call or
19303 * gdb.threads/next-bp-other-thread.c: New file.
19304 * gdb.threads/next-bp-other-thread.exp: New file.
19306 2014-10-29 Pedro Alves <palves@redhat.com>
19309 * gdb.python/python.exp: Test a multi-line command that spawns
19310 interactive Python.
19311 * gdb.base/multi-line-starts-subshell.exp: New file.
19313 2014-10-29 Yao Qi <yao@codesourcery.com>
19315 * gdb.base/fileio.exp: Make directories on host.
19317 2014-10-29 Yao Qi <yao@codesourcery.com>
19319 * gdb.base/fileio.c (test_write): Close the file.
19321 2014-10-28 Pedro Alves <palves@redhat.com>
19324 * gdb.base/sigstep.c (no_handler): New global.
19325 (main): If 'no_handler is true, set the signal handlers to
19327 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
19328 with_sw_watch and no_handler parameters. Handle them.
19329 (top level) <stepping over handler when stopped at a breakpoint
19330 test>: Add a test axis for testing with a software watchpoint, and
19331 another for testing with the signal handler set to SIG_IGN.
19332 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
19333 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
19335 2014-10-28 Pedro Alves <palves@redhat.com>
19338 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
19339 * gdb.base/sigstep.exp (other_handler_location): New global.
19340 (advance): Support stepping into the signal handler, and running
19341 commands while in the handler.
19342 (in_handler_map): New global.
19343 (top level): In the advance test, add combinations for getting
19344 into the handler with stepping commands, and for running commands
19345 in the handler. Add comment descripting the advancei tests.
19347 2014-10-28 Pedro Alves <palves@redhat.com>
19349 * gdb.base/sigstep.exp: Use build_executable instead of
19350 prepare_for_testing.
19351 (top level): Move code that starts GDB, runs to main and creates a
19353 (restart): ... this new procedure.
19354 (top level): Move backtrace from signal handler test to ...
19355 (validate_backtrace): ... this new procedure.
19356 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
19357 with_test_prefix. Always restart GDB.
19358 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
19359 with_test_prefix. Always restart GDB. No need to delete
19360 breakpoints after the test.
19361 (test_skip_handler): Remove prefix parameter.
19362 (skip_over_handler, breakpoint_to_handler)
19363 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
19364 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
19365 restart GDB. No need to delete breakpoints after the test.
19366 (top level): Use foreach to call the test procedures with
19367 different commands.
19369 2014-10-28 Pedro Alves <palves@redhat.com>
19371 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
19372 instead of GNATS numbers.
19373 * gdb.base/sigbpt.exp: Likewise.
19374 * gdb.base/siginfo.exp: Likewise.
19375 * gdb.base/sigstep.exp: Likewise.
19377 2014-10-27 Pedro Alves <palves@redhat.com>
19379 * gdb.base/sigstep.c (dummy): New global.
19380 (main): Issue a couple writes to the new global.
19381 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
19383 (skip_over_handler): Use test_skip_handler.
19384 (top level): Call skip_over_handler for stepi and nexti too.
19385 (breakpoint_over_handler): Use test_skip_handler.
19386 (top level): Call breakpoint_over_handler for stepi and nexti too.
19388 2014-10-27 Yao Qi <yao@codesourcery.com>
19390 * gdb.trace/tfile.c (adjust_function_address)
19391 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
19392 function descriptor.
19394 2014-10-24 Don Breazeal <donb@codesourcery.com>
19396 * gdb.base/foll-fork.exp (test_follow_fork,
19397 catch_fork_child_follow): Check for updated fork messages emitted
19399 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
19400 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
19401 vfork_and_exec_child_follow_through_step): Check for updated vfork
19402 messages emitted from infrun.c.
19404 2014-10-24 Pedro Alves <palves@redhat.com>
19406 * gdb.base/corefile.exp: Remove references to ultrix.
19407 * gdb.base/interrupt.exp: Likewise.
19408 * gdb.base/whatis.exp: Likewise.
19409 * gdb.gdb/selftest.exp: Likewise.
19410 * gdb.threads/manythreads.exp: Likewise.
19411 * gdb.threads/print-threads.exp: Likewise.
19412 * gdb.threads/pthreads.exp:: Likewise.
19413 * gdb.threads/schedlock.exp: Likewise.
19415 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
19417 * gdb.cp/non-trivial-retval.cc: Add a test case.
19418 * gdb.cp/non-trivial-retval.exp: Add a test.
19420 2014-10-20 Yao Qi <yao@codesourcery.com>
19422 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
19423 * gdb.python/py-objfile-script-gdb.py: New file.
19424 * gdb.python/py-objfile-script.exp: Update reference to
19425 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
19426 of remote_download. Remove the dest file.
19428 2014-10-20 Yao Qi <yao@codesourcery.com>
19430 * gdb.base/checkpoint.exp: Don't remove file copied on host.
19431 * gdb.base/step-line.exp: Likewise.
19432 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
19433 * gdb.dwarf2/dw2-basic.exp: Likewise.
19434 * gdb.dwarf2/dw2-compressed.exp: Likewise.
19435 * gdb.dwarf2/dw2-filename.exp: Likewise.
19436 * gdb.dwarf2/dw2-intercu.exp: Likewise.
19437 * gdb.dwarf2/dw2-intermix.exp: Likewise.
19438 * gdb.dwarf2/dw2-producer.exp: Likewise.
19439 * gdb.dwarf2/mac-fileno.exp: Likewise.
19440 * gdb.python/py-frame-args.exp: Likewise.
19441 * gdb.python/py-framefilter.exp: Likewise.
19442 * gdb.python/py-mi.exp: Likewise.
19443 * gdb.python/py-objfile-script.exp: Likewise
19444 * gdb.python/py-pp-integral.exp: Likewise.
19445 * gdb.python/py-pp-re-notag.exp: Likewise.
19446 * gdb.python/py-prettyprint.exp: Likewise.
19447 * gdb.python/py-section-script.exp: Likewise.
19448 * gdb.python/py-typeprint.exp: Likewise.
19449 * gdb.python/py-xmethods.exp: Likewise.
19450 * gdb.stabs/weird.exp: Likewise.
19451 * gdb.xml/tdesc-regs.exp: Likewise.
19453 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
19455 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
19456 (out_cu): Use addr_len for the size of addresses.
19457 (out_line): Likewise. Size DW_LNE_set_address instruction
19458 according to addr_len.
19459 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
19460 (FUNC): Add START_INSNS to definition.
19462 2014-10-18 Yao Qi <yao@codesourcery.com>
19464 * gdb.base/argv0-symlink.exp: Check argv[0] value if
19465 gdb_has_argv0 return true.
19466 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
19467 check [target_info exists noargs], check [gdb_has_argv0]
19469 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
19470 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
19473 2014-10-17 Doug Evans <dje@google.com>
19475 * gdb.python/py-events.exp: Update expected output for clear_objfiles
19477 * gdb.python/py-events.py: Add clear_objfiles event.
19479 2014-10-17 Doug Evans <dje@google.com>
19481 * gdb.python/py-objfile.exp: Test progspace attribute.
19483 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
19485 * gdb.guile/scm-breakpoint.exp: Do not assume any
19486 directory separators when matching source file paths.
19487 * gdb.python/py-breakpoint.exp: Likewise.
19488 * gdb.reverse/break-precsave.exp: Likewise.
19489 * gdb.reverse/break-reverse.exp: Likewise.
19490 * gdb.reverse/consecutive-precsave.exp: Likewise.
19491 * gdb.reverse/finish-precsave.exp: Likewise.
19492 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
19493 * gdb.reverse/finish-reverse.exp: Likewise.
19494 * gdb.reverse/i386-precsave.exp: Likewise.
19495 * gdb.reverse/i387-env-reverse.exp: Likewise.
19496 * gdb.reverse/i387-stack-reverse.exp: Likewise.
19497 * gdb.reverse/machinestate-precsave.exp: Likewise.
19498 * gdb.reverse/machinestate.exp: Likewise.
19499 * gdb.reverse/sigall-precsave.exp: Likewise.
19500 * gdb.reverse/solib-precsave.exp: Likewise.
19501 * gdb.reverse/step-precsave.exp: Likewise.
19502 * gdb.reverse/until-precsave.exp: Likewise.
19503 * gdb.reverse/watch-precsave.exp: Likewise.
19504 * gdb.reverse/watch-reverse.exp: Likewise.
19506 2014-10-17 Yao Qi <yao@codesourcery.com>
19508 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
19509 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
19511 2014-10-17 Pedro Alves <palves@redhat.com>
19514 * gdb.base/bg-execution-repeat.c: New file.
19515 * gdb.base/bg-execution-repeat.exp: New file.
19517 2014-10-17 Pedro Alves <palves@redhat.com>
19520 * gdb.base/continue-all-already-running.c: New file.
19521 * gdb.base/continue-all-already-running.exp: New file.
19523 2014-10-17 Pedro Alves <palves@redhat.com>
19526 * gdb.base/annota-input-while-running.c: New file.
19527 * gdb.base/annota-input-while-running.exp: New file.
19529 2014-10-17 Pedro Alves <palves@redhat.com>
19531 * gdb.base/callfuncs.exp: emove references to osf.
19532 * gdb.base/sigall.exp: Likewise.
19533 * gdb.gdb/selftest.exp: Likewise.
19534 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
19535 * gdb.mi/non-stop.c: Likewise.
19536 * gdb.mi/pthreads.c: Likewise.
19537 * gdb.reverse/sigall-precsave.exp: Likewise.
19538 * gdb.reverse/sigall-reverse.exp: Likewise.
19539 * gdb.threads/pthreads.c: Likewise.
19540 * gdb.threads/pthreads.exp: Likewise.
19542 2014-10-17 Yao Qi <yao@codesourcery.com>
19544 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
19545 check 'target_info exists noargs'.
19546 (test_command_prompt_position): Likewise.
19547 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
19549 (progvar_simple_while_test): Likewise.
19550 (progvar_complex_if_while_test): Likewise.
19551 (if_while_breakpoint_command_test): Likewise.
19552 (infrun_breakpoint_command_test): Likewise.
19553 (breakpoint_command_test): Likewise.
19554 (watchpoint_command_test): Likewise.
19555 (bp_deleted_in_command_test): Likewise.
19556 (temporary_breakpoint_commands): Likewise.
19558 2014-10-16 Yao Qi <yao@codesourcery.com>
19560 * gdb.base/remotetimeout.exp: Remove noargs checking.
19562 2014-10-15 Pedro Alves <palves@redhat.com>
19564 PR breakpoints/9649
19565 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
19566 * gdb.base/breakpoint-in-ro-region.exp
19567 (probe_target_hardware_step): New procedure.
19568 (top level): Probe hardware stepping and hardware breakpoint
19569 support. Test stepping through a read-only region, with both
19570 "breakpoint auto-hw" on and off and both "always-inserted" on and
19573 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
19575 * gdb.dlang/demangle.exp: Update for demangling changes.
19577 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
19579 * gdb.cp/non-trivial-retval.cc: Add new test cases.
19580 * gdb.cp/non-trivial-retval.exp: Add new tests.
19582 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
19586 * gdb.cp/non-trivial-retval.cc: New file.
19587 * gdb.cp/non-trivial-retval.exp: New file.
19589 2014-10-15 Yao Qi <yao@codesourcery.com>
19591 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
19594 2014-10-15 Yao Qi <yao@codesourcery.com>
19596 * gdb.python/py-symbol.exp: Match file base name if host is
19597 remote, otherwise match file name with dir name.
19598 * gdb.python/py-symtab.exp: Likewise.
19599 * gdb.python/python.exp: Likewise.
19601 2014-10-15 Yao Qi <yao@codesourcery.com>
19603 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
19605 * gdb.python/py-symtab.exp: Likewise.
19606 * gdb.python/python.exp: Remove trailing ".*". Fix typo
19609 2014-10-14 Joel Brobecker <brobecker@adacore.com>
19611 * gdb.ada/addr_arith: New testcase.
19613 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
19615 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
19616 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
19617 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
19618 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
19620 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
19622 * gdb.arch/stap-eval-lang-ada.S: Likewise.
19623 * gdb.arch/stap-eval-lang-ada.c: Likewise.
19624 * gdb.arch/stap-eval-lang-ada.exp: New file.
19626 2014-10-14 Yao Qi <yao@codesourcery.com>
19628 * gdb.mi/mi-var-child.c (nothing1): New function.
19629 (nothing2): New function.
19630 (do_children_tests): Set function pointers by nothing1 and
19632 * gdb.mi/mi-var-child.exp: Step over new added statements.
19633 Update test to match the new output.
19634 * gdb.mi/var-cmd.c (nothing1): New function.
19635 (nothing2): New function.
19636 (do_children_tests): Set function pointers by nothing1 and
19638 * gdb.mi/mi-var-display.exp: Update test to match output.
19639 Step to the line specified by $line_dct_nothing.
19640 Increase the number of lines to step.
19642 2014-10-14 Yao Qi <yao@codesourcery.com>
19644 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
19646 * gdb.mi/mi2-var-child.exp: Likewise.
19648 2014-10-13 Doug Evans <dje@google.com>
19650 * gdb.python/py-objfile.exp: Change name of file name test.
19652 2014-10-13 Doug Evans <dje@google.com>
19654 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
19655 from the start of the CU.
19657 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
19658 Yao Qi <yao@codesourcery.com>
19660 Fix "save breakpoints" for "catch" command.
19661 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
19662 Remove -nonewline. Match also the added "main" line.
19664 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19666 Fix "save breakpoints" for "disable $bpnum" command.
19667 * gdb.base/save-bp.c (main): Add label.
19668 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
19670 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19672 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
19674 2014-10-11 Yao Qi <yao@codesourcery.com>
19676 * gdb.server/server-kill.exp: Execute command
19677 "set remote trace-status-packet on" before "tstatus".
19679 2014-10-11 Yao Qi <yao@codesourcery.com>
19681 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
19682 (main): Call getppid.
19683 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
19684 and continue to it. Read variable "server_pid".
19686 2014-10-11 Yao Qi <yao@codesourcery.com>
19688 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
19690 2014-10-11 Yao Qi <yao@codesourcery.com>
19692 * gdb.threads/thread-find.exp: Don't execute command
19694 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
19695 * gdb.threads/linux-dp.exp: Don't check the condition
19696 $threads_created equals to zero.
19698 2014-10-10 Pedro Alves <palves@redhat.com>
19700 * gdb.base/bigcore.exp: Remove references to IRIX.
19701 * gdb.base/funcargs.exp: Likewise.
19702 * gdb.base/interrupt.exp: Likewise.
19703 * gdb.base/mips_pro.exp: Likewise.
19704 * gdb.base/nodebug.exp: Likewise.
19705 * gdb.base/setvar.exp: Likewise.
19706 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
19708 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
19709 Pedro Alves <palves@redhat.com>
19712 * gdb.base/vdso-warning.c: New file.
19713 * gdb.base/vdso-warning.exp: New file.
19715 2014-10-02 Doug Evans <dje@google.com>
19717 * gdb.base/structs.c (main): Don't run forever.
19719 2014-10-02 Pedro Alves <palves@redhat.com>
19721 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
19722 (top level) <stop threads 1, stop threads 2>: Use it.
19724 2014-10-02 Pedro Alves <palves@redhat.com>
19726 * gdb.threads/break-while-running.exp (test): Add new
19727 'update_thread_list' argument. Skip "info threads" if false.
19728 (top level): Add new 'update_thread_list' axis.
19730 2014-10-02 Pedro Alves <palves@redhat.com>
19732 PR breakpoints/17431
19733 * gdb.base/execl-update-breakpoints.c: New file.
19734 * gdb.base/execl-update-breakpoints.exp: New file.
19736 2014-10-01 Pedro Alves <palves@redhat.com>
19738 * gdb.base/breakpoint-in-ro-region.c: New file.
19739 * gdb.base/breakpoint-in-ro-region.exp: New file.
19741 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
19743 * gdb.mi/mi-exit-code.exp: New file.
19744 * gdb.mi/mi-exit-code.c: New file.
19746 2014-09-30 Yao Qi <yao@codesourcery.com>
19748 * lib/prelink-support.exp (build_executable_own_libs): Error if
19749 the target isn't native.
19751 2014-09-30 Yao Qi <yao@codesourcery.com>
19753 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
19756 2014-09-22 Pedro Alves <palves@redhat.com>
19758 * gdb.threads/break-while-running.exp: New file.
19759 * gdb.threads/break-while-running.c: New file.
19761 2014-09-19 Yao Qi <yao@codesourcery.com>
19763 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
19764 Invoke test. Restart GDB with --readnow and invoke test again.
19766 2014-09-19 Yao Qi <yao@codesourcery.com>
19768 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
19769 proc set_breakpoint_on_gcd_function. Invoke
19770 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
19771 invoke set_breakpoint_on_gcd_function again.
19773 2014-09-18 Doug Evans <dje@google.com>
19775 * gdb.dwarf2/symtab-producer.exp: New file.
19777 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
19779 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
19780 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
19781 * gdb.base/global-var-nested-by-dso.c: Likewise.
19782 * gdb.base/global-var-nested-by-dso.exp: Likewise.
19784 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
19785 Pedro Alves <palves@redhat.com>
19787 * gdb.base/watch-bitfields.exp: Pass string other than test file
19788 name to prepare_for_testing.
19789 (watch): New procedure.
19790 (expect_watchpoint): Use with_test_prefix.
19791 (top level): Factor out tests to ...
19792 (test_watch_location, test_regular_watch): ... these new
19793 procedures, and use with_test_prefix and gdb_continue_to_end.
19795 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
19797 PR breakpoints/12526
19798 * gdb.base/watch-bitfields.exp: New file.
19799 * gdb.base/watch-bitfields.c: New file.
19801 2014-09-16 Pedro Alves <palves@redhat.com>
19803 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
19804 software and hardware addresses, not software address against
19807 2014-09-16 Pedro Alves <palves@redhat.com>
19809 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
19810 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
19812 2014-09-16 Pedro Alves <palves@redhat.com>
19814 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
19816 * gdb.base/a2-run.exp: Remove all code guarded by istarget
19817 "*-*-vxworks*" throughout.
19818 * gdb.base/break.exp: Likewise.
19819 * gdb.base/default.exp: Likewise.
19820 * gdb.base/scope.exp: Likewise.
19821 * gdb.base/sepdebug.exp: Likewise.
19822 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
19824 * gdb.base/run.c: Likewise.
19825 * gdb.base/sepdebug.c: Likewise.
19826 * gdb.hp/gdb.aCC/run.c: Likewise.
19827 * gdb.reverse/until-reverse.c: Likewise.
19828 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
19830 2014-09-16 Yao Qi <yao@codesourcery.com>
19832 * boards/local-remote-host-native.exp: New file.
19834 2014-09-14 Doug Evans <xdje42@gmail.com>
19836 * gdb.threads/queue-signal.c (thread_count): New variable.
19837 (thread_count_mutex, thread_count_condvar): New variables.
19838 (incr_thread_count, wait_all_threads_running): New functions.
19839 (main): Wait for all threads to be in their thread functions.
19841 2014-09-13 Doug Evans <xdje42@gmail.com>
19843 * gdb.threads/queue-signal.c: New file.
19844 * gdb.threads/queue-signal.exp: New file.
19846 2014-09-13 Doug Evans <xdje42@gmail.com>
19848 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
19849 be consistent with what default_gdb_init uses.
19850 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
19851 the plain text of the prompt. Add some logging printfs.
19852 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
19854 2014-09-12 Pedro Alves <palves@redhat.com>
19856 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
19857 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
19858 * gdb.arch/i386-size-overlap.exp: Likewise.
19859 * gdb.arch/i386-size.exp: Likewise.
19860 * gdb.arch/i386-unwind.exp: Likewise.
19861 * gdb.base/a2-run.exp: Likewise.
19862 * gdb.base/break.exp: Likewise.
19863 * gdb.base/charset.exp: Likewise.
19864 * gdb.base/chng-syms.exp: Likewise.
19865 * gdb.base/commands.exp: Likewise.
19866 * gdb.base/dbx.exp: Likewise.
19867 * gdb.base/find.exp: Likewise.
19868 * gdb.base/funcargs.exp: Likewise.
19869 * gdb.base/jit-simple.exp: Likewise.
19870 * gdb.base/reread.exp: Likewise.
19871 * gdb.base/sepdebug.exp: Likewise.
19872 * gdb.base/step-bt.exp: Likewise.
19873 * gdb.cp/mb-inline.exp: Likewise.
19874 * gdb.cp/mb-templates.exp: Likewise.
19875 * gdb.objc/basicclass.exp: Likewise.
19876 * gdb.threads/killed.exp: Likewise.
19878 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19881 * gdb.arch/powerpc-stackless.S: New file.
19882 * gdb.arch/powerpc-stackless.exp: New file.
19884 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
19886 * gdb.base/attach.c: Include unistd.h.
19887 (main): Call alarm. Add label postloop.
19888 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
19889 gdb_breakpoint, gdb_continue_to_breakpoint.
19890 (test_command_line_attach_run): Kill ${testpid} in one exit path.
19892 2014-09-11 Pedro Alves <palves@redhat.com>
19895 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
19896 * gdb.base/attach.exp (test_command_line_attach_run): New
19898 (top level): Call it.
19900 2014-09-11 Pedro Alves <palves@redhat.com>
19902 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
19903 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
19904 (do_command_attach_tests): Use spawn_wait_for_attach.
19905 * gdb.base/solib-overlap.exp: Likewise.
19906 * gdb.multi/multi-attach.exp: Likewise.
19907 * gdb.python/py-prompt.exp: Likewise.
19908 * gdb.python/py-sync-interp.exp: Likewise.
19909 * gdb.server/ext-attach.exp: Likewise.
19911 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
19913 * gdb.fortran/array-element.exp: Remove unexpected "continue"
19914 command in testcase. Simplify testcase.
19916 2014-09-10 Joel Brobecker <brobecker@adacore.com>
19918 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
19920 2014-09-10 Joel Brobecker <brobecker@adacore.com>
19922 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
19924 2014-09-10 Joel Brobecker <brobecker@adacore.com>
19926 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
19928 2014-09-10 Joel Brobecker <brobecker@adacore.com>
19930 * gdb.dwarf2/dynarr-ptr.c: New file.
19931 * gdb.dwarf2/dynarr-ptr.exp: New file.
19933 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19935 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
19936 of 30 rather than hardcoding 120 for a slow test case. Take the
19937 `gdb,timeout' target setting into account for this calculation.
19938 Don't extend the timeout for the test cases that don't need it.
19940 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19942 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
19943 a factor of 2 for a slow test case. Take the `gdb,timeout'
19944 target setting into account for this calculation.
19945 * gdb.reverse/until-precsave.exp: Increase the timeout by
19946 a factor of 15 and 3 respectively rather than adding 120
19947 for a pair of slow test cases. Take the `gdb,timeout'
19948 target setting into account for this calculation.
19950 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19952 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
19953 timeout, don't pass one down to gdb_expect.
19954 (gdb_expect): Rework timeout selection.
19956 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19958 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
19959 exception on timeout.
19960 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
19961 (gdbserver_start_extended): Catch any `gdbserver_start' error
19963 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
19964 * lib/mi-support.exp (mi_gdb_target_load): Catch any
19965 `gdbserver_gdb_load' error exceptions.
19967 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19969 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
19970 120 on waiting for the TCP socket to open.
19972 2014-09-09 Doug Evans <xdje42@gmail.com>
19974 * gdb.base/default.exp (show_conv_list): Add _caller_is,
19975 _caller_matches, _any_caller_is, _any_caller_matches.
19977 2014-09-09 Doug Evans <xdje42@gmail.com>
19979 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
19981 2014-09-09 Yao Qi <yao@codesourcery.com>
19983 * gdb.mi/mi-var-display.exp: Set print symbol off.
19985 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
19988 * gdb.base/commands.exp: Add tests to verify user-defined
19989 commands with empty bodies.
19990 * gdb.python/py-cmd.exp: Test that we don't show user-defined
19991 python commands in `show user command`.
19992 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
19993 scheme commands in `show user command`.
19995 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
19998 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
19999 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
20000 * gdb.python/py-framefilter-invalidarg.exp: New file.
20001 * gdb.python/py-framefilter-invalidarg.py: New file.
20003 2014-09-06 Doug Evans <xdje42@gmail.com>
20006 * gdb.python/py-caller-is.c: New file.
20007 * gdb.python/py-caller-is.exp: New file.
20009 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
20012 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
20013 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
20015 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
20018 * gdb.fortran/print-formatted.exp: New file.
20019 * gdb.fortran/print-formatted.f90: Likewise.
20021 2014-09-03 Sasha Smundak <asmundak@google.com>
20023 * gdb.python/py-frame.exp: Test Frame.read_register.
20025 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
20028 * gdb.python/py-completion.exp: New file.
20029 * gdb.python/py-completion.py: Likewise.
20031 2014-08-28 Doug Evans <dje@google.com>
20033 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
20034 eax,etc. are live with values set by gdb and thus the compiler can't
20036 * gdb.arch/i386-pseudo.c (main): Ditto.
20038 2014-08-27 Doug Evans <dje@google.com>
20040 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
20042 2014-08-25 Doug Evans <dje@google.com>
20044 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
20047 2014-08-25 Doug Evans <dje@google.com>
20049 * gdb.threads/thread-execl.exp: #include <stdio.h>.
20051 2014-08-24 Yao Qi <yao@codesourcery.com>
20053 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
20055 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
20057 2014-08-22 Doug Evans <dje@google.com>
20060 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
20061 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
20062 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
20064 2014-08-22 Yao Qi <yao@codesourcery.com>
20066 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
20067 * gdb.python/py-finish-breakpoint2.exp: Likewise.
20068 * gdb.python/python.exp: Likewise. Use .py file on the host
20069 instead of the build.
20071 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
20073 * gdb.threads/gcore-stale-thread.c: New file.
20074 * gdb.threads/gcore-stale-thread.exp: New file.
20076 2014-08-21 Pedro Alves <palves@redhat.com>
20078 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
20079 * gdb.base/gcore-relro-pie.exp: Likewise.
20080 * gdb.base/gcore-relro.exp: Likewise.
20081 * gdb.base/gcore.exp: Likewise.
20082 * gdb.base/print-symbol-loading.exp: Likewise.
20083 * gdb.threads/gcore-thread.exp: Likewise.
20084 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
20086 2014-08-20 Pedro Alves <palves@redhat.com>
20087 Jan Kratochvil <jan.kratochvil@redhat.com>
20089 * Makefile.in (EXTRA_RULES, CC): New variables, get from
20091 (EXPECT): Handle READ1 being set.
20092 (all): Depend on EXTRA_RULES.
20093 (check-read1, expect-read1, read1.so, read1): New rules.
20094 * README (Testsuite Parameters): Document the READ1 make variable.
20095 (Race detection): New section.
20096 * configure: Regenerate.
20097 * configure.ac: If build==host==target, and running under a
20098 GNU/glibc system, add read1 to the extra Makefile rules.
20099 (EXTRA_RULES): AC_SUBST it.
20100 * lib/read1.c: New file.
20102 2014-08-20 Joel Brobecker <brobecker@adacore.com>
20104 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
20105 the handling of variables declared as a typedef to an array
20106 which a DW_AT_data_location attribute.
20108 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
20109 Pedro Alves <palves@redhat.com>
20113 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
20116 2014-08-19 Pedro Alves <palves@redhat.com>
20118 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
20120 2014-08-19 Yao Qi <yao@codesourcery.com>
20122 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
20125 2014-08-18 David Blaikie <dblaikie@gmail.com>
20127 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
20129 2014-08-18 Joel Brobecker <brobecker@adacore.com>
20131 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
20132 attribute in array range.
20134 2014-08-18 Joel Brobecker <brobecker@adacore.com>
20136 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
20138 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
20141 * gdb.cp/pr17132.cc: New file.
20142 * gdb.cp/pr17132.exp: New file.
20144 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
20146 * gdb.python/py-xmethods.py (A_getarrayind)
20147 (E_method_char_worker.__call__, E_method_int_worker.__call__):
20148 Use 'print' with function call syntax.
20149 (E_method_matcher.match): Fix tab vs space indentation mixup.
20151 2014-08-15 Yao Qi <yao@codesourcery.com>
20153 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
20156 2014-08-15 Yao Qi <yao@codesourcery.com>
20158 * gdb.cp/casts.exp: Set print symbol off.
20159 * gdb.cp/class2.exp: Likewise.
20160 * gdb.cp/overload.exp: Likewise.
20161 * gdb.cp/templates.exp: Likewise.
20163 2014-08-11 Doug Evans <dje@google.com>
20165 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
20166 (test_load_shlib): Update.
20168 2014-08-09 Yao Qi <yao@codesourcery.com>
20170 * gdb.base/display.exp: Invoke is_address_zero_readable.
20171 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
20172 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
20173 * gdb.base/hbreak-unmapped.exp: Return if
20174 is_address_zero_readable returns true.
20175 * gdb.base/signest.exp: Likewise.
20176 * gdb.base/signull.exp: Likewise.
20177 * gdb.base/sigbpt.exp: Likewise.
20178 * gdb.guile/scm-disasm.exp: Do the test if
20179 is_address_zero_readable returns false.
20180 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
20181 * gdb.python/py-arch.exp: Likewise.
20182 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
20183 * lib/gdb.exp (is_address_zero_readable): New proc.
20185 2014-08-09 Yao Qi <yao@codesourcery.com>
20188 * gdb.mi/mi-var-display.exp: Make test messages unique.
20190 2014-08-04 Tom Tromey <tromey@redhat.com>
20192 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
20195 2014-08-04 Tom Tromey <tromey@redhat.com>
20197 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
20200 2014-08-01 Joel Brobecker <brobecker@adacore.com>
20202 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
20203 inner_vla_struct_object_size.
20204 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
20207 2014-07-30 Pedro Alves <palves@redhat.com>
20209 * gdb.threads/signal-command-handle-nopass.exp (test): Add
20212 2014-07-29 Yao Qi <yao@codesourcery.com>
20215 * gdb.base/until-nodebug.exp: New.
20217 2014-07-28 Doug Evans <xdje42@gmail.com>
20220 * gdb.guile/scm-parameter.exp: Add tests for trying to create
20221 previously existing parameter, and previously ambiguously spelled
20224 2014-07-28 Will Newton <will.newton@linaro.org>
20226 * gdb.base/varargs.exp: Remove KFAILs for ARM.
20228 2014-07-26 Ludovic Courtès <ludo@gnu.org>
20229 Doug Evans <xdje42@gmail.com>
20232 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
20234 2014-07-25 Pedro Alves <palves@redhat.com>
20236 * gdb.threads/signal-command-handle-nopass.c: New file.
20237 * gdb.threads/signal-command-handle-nopass.exp: New file.
20238 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
20239 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
20240 * gdb.threads/signal-delivered-right-thread.c: New file.
20241 * gdb.threads/signal-delivered-right-thread.exp: New file.
20243 2014-07-25 Pedro Alves <palves@redhat.com>
20245 * gdb.base/double-prompt-target-event-error.exp
20246 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
20248 (cancel_pagination_in_target_event): Rework double prompt
20250 * gdb.base/paginate-after-ctrl-c-running.exp
20251 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
20253 * gdb.base/paginate-bg-execution.exp
20254 (test_bg_execution_pagination_return)
20255 (test_bg_execution_pagination_cancel): Remove '-notransfer
20257 * gdb.base/paginate-execution-startup.exp
20258 (test_fg_execution_pagination_return)
20259 (test_fg_execution_pagination_cancel): Remove '-notransfer
20261 * gdb.base/paginate-inferior-exit.exp
20262 (test_paginate_inferior_exited): Remove '-notransfer <return>'
20264 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
20265 * lib/gdb.exp (pagination_prompt): Run text through
20267 (gdb_test_multiple): Match $pagination_prompt instead of
20269 (string_to_regexp): Move to lib/gdb-utils.exp.
20271 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
20273 * gdb.arch/amd64-entry-value-paramref.S: New file.
20274 * gdb.arch/amd64-entry-value-paramref.cc: New file.
20275 * gdb.arch/amd64-entry-value-paramref.exp: New file.
20276 * gdb.arch/amd64-optimout-repeat.S: New file.
20277 * gdb.arch/amd64-optimout-repeat.c: New file.
20278 * gdb.arch/amd64-optimout-repeat.exp: New file.
20280 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
20283 * gdb.base/statistics.exp: New file.
20285 2014-07-17 Doug Evans <dje@google.com>
20288 * gdb.base/maint.exp: Update testing of per-command stats.
20290 2014-07-16 Pedro Alves <palves@redhat.com>
20292 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
20293 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
20294 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
20295 (tfile_write_buf): New functions.
20296 (add_memory_block): Rewrite using the above.
20297 (adjust_function_address): New function.
20298 (FUNCTION_ADDRESS): New macro.
20299 (write_basic_trace_file): Remove short_x local, and use
20300 tfile_write_16. Change type of func_addr local to unsigned long
20301 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
20302 here. Cast argument of add_memory_block to char pointer.
20303 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
20304 (main): Remove parameters.
20305 * gdb.trace/tfile.exp: Remove nowarnings.
20307 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
20309 * gdb.base/debug-expr.exp: Test string evaluation with
20310 "debug expression" on.
20312 2014-07-15 Pedro Alves <palves@redhat.com>
20314 * gdb.base/reread.exp: Use clean_restart.
20316 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
20318 * gdb.arch/avr-flash-qualifer.c: New.
20319 * gdb.arch/avr-flash-qualifer.exp: New.
20321 2014-07-14 Pedro Alves <palves@redhat.com>
20323 * gdb.base/paginate-after-ctrl-c-running.c: New file.
20324 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
20326 2014-07-14 Pedro Alves <palves@redhat.com>
20328 * gdb.base/double-prompt-target-event-error.c: New file.
20329 * gdb.base/double-prompt-target-event-error.exp: New file.
20331 2014-07-14 Pedro Alves <palves@redhat.com>
20334 * gdb.base/paginate-inferior-exit.c: New file.
20335 * gdb.base/paginate-inferior-exit.exp: New file.
20337 2014-07-14 Pedro Alves <palves@redhat.com>
20340 * gdb.base/paginate-bg-execution.c: New file.
20341 * gdb.base/paginate-bg-execution.exp: New file.
20343 2014-07-14 Pedro Alves <palves@redhat.com>
20346 * gdb.base/paginate-execution-startup.c: New file.
20347 * gdb.base/paginate-execution-startup.exp: New file.
20348 * lib/gdb.exp (pagination_prompt): New global.
20349 (default_gdb_spawn): New procedure, factored out from
20351 (default_gdb_start): Adjust to call default_gdb_spawn.
20352 (gdb_spawn): New procedure.
20354 2014-07-14 Pedro Alves <palves@redhat.com>
20356 * lib/gdb.exp (gdb_assert): New procedure.
20357 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
20359 2014-07-14 Pedro Alves <palves@redhat.com>
20361 * gdb.base/execution-termios.c: New file.
20362 * gdb.base/execution-termios.exp: New file.
20364 2014-07-14 Tom Tromey <tromey@redhat.com>
20366 * gdb.cp/vla-cxx.cc: New file.
20367 * gdb.cp/vla-cxx.exp: New file.
20369 2014-07-14 Tom Tromey <tromey@redhat.com>
20371 * gdb.reverse/rerun-prec.c: New file.
20372 * gdb.reverse/rerun-prec.exp: New file.
20374 2014-07-12 Maciej W. Rozycki <macro@mips.com>
20375 Maciej W. Rozycki <macro@codesourcery.com>
20377 * lib/gdb-utils.exp: New file.
20378 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
20379 inline `gdb_init_command' processing.
20380 (gdb_start_cmd): Likewise.
20381 * lib/mi-support.exp (mi_run_cmd): Likewise.
20382 * README: Document `gdb_init_command' and `gdb_init_commands'.
20384 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
20386 Fix false FAIL running under a very long directory name.
20387 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
20388 and "set print elements 10000". Twice.
20390 2014-07-11 Yao Qi <yao@codesourcery.com>
20392 * gdb.base/exprs.exp: "set print symbol off".
20394 2014-07-11 Pedro Alves <palves@redhat.com>
20396 * gdb.threads/kill.c: New file.
20397 * gdb.threads/kill.exp: New file.
20399 2014-07-10 Yao Qi <yao@codesourcery.com>
20401 * gdb.trace/tfile.c (write_basic_trace_file)
20402 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
20403 address written to trace file.
20405 2014-07-09 Pedro Alves <palves@redhat.com>
20407 * gdb.base/attach-wait-input.exp: New file.
20408 * gdb.base/attach-wait-input.c: New file.
20410 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
20412 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
20413 setting up test structures.
20414 (main): Call new test function.
20415 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
20416 test function, continue into test function and walk test
20419 2014-07-02 Yao Qi <yao@codesourcery.com>
20421 * gdb.trace/entry-values.c: Define labels 'foo_start' and
20422 'bar_start' at the beginning of functions 'foo' and 'bar'
20424 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
20425 instead of 'foo' and 'bar'.
20427 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
20429 * gdb.btrace/segv.exp: New.
20430 * gdb.btrace/segv.c: New.
20432 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
20434 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
20437 2014-06-30 Mark Wielaard <mjw@redhat.com>
20439 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
20440 vulture, vilify, villar): New volatile array constants.
20441 (vindictive, vegetation): New const volatile array constants.
20442 * gdb.base/volatile.exp: Test volatile and const volatile array
20445 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
20447 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
20448 target lacks support for awatch, rwatch, or hbreak.
20450 2014-06-27 Yao Qi <yao@codesourcery.com>
20452 * gdb.multi/dummy-frame-restore.exp: New.
20453 * gdb.multi/dummy-frame-restore.c: New.
20455 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
20457 * gdb.btrace/gcore.exp: New.
20459 2014-06-23 Pedro Alves <palves@redhat.com>
20461 * gdb.base/watchpoint-reuse-slot.c: New file.
20462 * gdb.base/watchpoint-reuse-slot.exp: New file.
20464 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
20466 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
20467 progspace's filename in 'info', 'enable' and 'disable' command
20470 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
20472 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
20473 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
20474 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
20476 2014-06-20 Gary Benson <gbenson@redhat.com>
20478 * gdb.arch/i386-avx.exp: Fix include file location.
20479 * gdb.arch/i386-sse.exp: Likewise.
20481 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
20483 * gdb.dlang/expression.exp: New file.
20485 2014-06-19 Pedro Alves <palves@redhat.com>
20487 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
20489 (top level): ... here. Iterate running tests under different
20490 scheduler-locking settings.
20492 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
20494 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
20495 to DW_FORM_addr and use non-zero addresses.
20497 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
20500 * gdb.python/py-xmethods.cc: Add global function call counters and
20501 increment them in their respective functions. Remove "cout"
20503 * gdb.python/py-xmethods.exp: Make tests check the global function
20504 call counters instead of depending on inferior IO.
20506 2014-06-18 Don Breazeal <donb@codesourcery.com>
20508 * gdb.base/foll-fork.exp (default_fork_parent_follow):
20510 (explicit_fork_parent_follow): Deleted procedure.
20511 (explicit_fork_child_follow): Deleted procedure.
20512 (test_follow_fork): New procedure.
20513 (do_fork_tests): Replace calls to deleted procedures with
20514 calls to test_follow_fork and reset GDB for subsequent
20517 2014-06-17 Yao Qi <yao@codesourcery.com>
20519 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
20522 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
20524 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
20525 Initialize ptr and S explicitly.
20526 (skip_type_update_when_not_use_rtti_test): Likewise.
20528 2014-06-16 Keith Seitz <keiths@redhat.com>
20531 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
20532 the inferior is started.
20534 2014-06-16 Pedro Alves <palves@redhat.com>
20536 * gdb.base/break-main-file-remove-fail.c: New file.
20537 * gdb.base/break-main-file-remove-fail.exp: New file.
20538 * gdb.base/break-unload-file.exp: Use build_executable instead of
20539 prepare_for_testing.
20540 (test_break): New parameter "initial_load". Handle it.
20541 (top level): Add initial_load cmdline/file axis.
20543 2014-06-12 Tom Tromey <tromey@redhat.com>
20545 * gdb.base/completion.exp: Don't use directory name in test.
20547 2014-06-09 Gary Benson <gbenson@redhat.com>
20549 * gdb.base/sigall.c [Functions to send signals]: Reorder to
20550 separate the always-available ANSI-standard signals from the
20551 signals that require checking.
20553 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
20557 2014-06-07 Keith Seitz <keiths@redhat.com>
20561 * gdb.cp/var-tag.cc: New file.
20562 * gdb.cp/var-tag.exp: New file.
20563 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
20564 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
20565 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
20566 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
20568 2014-06-06 Doug Evans <xdje42@gmail.com>
20570 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
20572 2014-06-06 Pedro Alves <palves@redhat.com>
20574 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
20575 in target debug output instead of looking at RSP packets,
20576 disabling the test on any target that uses hardware stepping.
20579 2014-06-06 Pedro Alves <palves@redhat.com>
20581 * gdb.base/break-unload-file.exp: Fix typo.
20583 2014-06-06 Yao Qi <yao@codesourcery.com>
20585 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
20586 from "jit_function" to "^jit_function".
20588 2014-06-06 Yao Qi <yao@codesourcery.com>
20590 * gdb.base/async.c (foo): Add one statement.
20591 * gdb.base/async.exp: Get the next instruction address and
20592 match the output of "nexti" by instruction address. Match
20593 the hex address in the output of "finish".
20595 2014-06-06 Gary Benson <gbenson@redhat.com>
20597 * gdb.base/call-signals.c: Remove preprocessor conditionals
20598 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
20599 SIGSEGV and SIGTERM.
20600 * gdb.base/sigall.c: Likewise.
20601 * gdb.base/unwindonsignal.c: Likewise.
20602 * gdb.reverse/sigall-reverse.c: Likewise.
20604 2014-06-06 Yao Qi <yao@codesourcery.com>
20606 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
20607 readable, skip the test.
20609 2014-06-06 Yao Qi <yao@codesourcery.com>
20611 * gdb.threads/staticthreads.c (thread_function): Move the line
20612 setting breakpoint on forward.
20613 * gdb.threads/staticthreads.exp: Update comments.
20615 2014-06-05 Ludovic Courtès <ludo@gnu.org>
20617 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
20618 "history-append! type error".
20620 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
20622 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
20623 erroneous dprintf expected input.
20625 2014-06-04 Doug Evans <xdje42@gmail.com>
20627 * gdb.guile/scm-generics.exp: Delete.
20629 2014-06-04 Doug Evans <xdje42@gmail.com>
20631 * gdb.guile/scm-breakpoint.exp: Update.
20632 Add tests for breakpoint registration.
20634 2014-06-04 Tom Tromey <tromey@redhat.com>
20636 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
20638 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
20639 inner_vla_struct, vla_union types. Initialize objects of those
20640 types and compute their sizes.
20642 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
20643 Hui Zhu <hui@codesourcery.com>
20645 * gdb.base/fileio.exp: Add test for shell not available as well as
20647 * gdb.base/fileio.c (test_system): Check for shell twice.
20649 2014-06-04 Yao Qi <yao@codesourcery.com>
20651 * gdb.base/auto-connect-native-target.exp: Remove redundant
20652 space from the regexp pattern.
20654 2014-06-04 Yao Qi <yao@codesourcery.com>
20656 * gdb.base/default.exp: Replace "child" with "native" in
20659 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
20661 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
20662 * gdb.python/py-xmethods.exp: New tests to test xmethods.
20663 * gdb.python/py-xmethods.py: Python script supporting the
20664 new testcase and tests.
20666 2014-06-03 Joel Brobecker <brobecker@adacore.com>
20667 Pedro Alves <palves@redhat.com>
20669 PR breakpoints/17000
20670 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
20671 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
20673 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
20675 * gdb.base/subst.exp: Add tests to verify partial path matching
20678 2014-06-03 Pedro Alves <palves@redhat.com>
20680 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
20681 target that doesn't use software single-stepping.
20683 2014-06-03 Pedro Alves <palves@redhat.com>
20685 PR breakpoints/17000
20686 * gdb.base/sss-bp-on-user-bp-2.c: New file.
20687 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
20689 2014-06-02 Doug Evans <xdje42@gmail.com>
20691 * gdb.guile/scm-parameter.exp: New file.
20693 2014-06-02 Doug Evans <xdje42@gmail.com>
20695 * gdb.guile/scm-cmd.c: New file.
20696 * gdb.guile/scm-cmd.exp: New file.
20698 2014-06-02 Doug Evans <xdje42@gmail.com>
20700 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
20701 pretty-printer lookup.
20702 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
20703 (make-pp_s-printer): Call it.
20704 (make-pretty-printer-from-dict): New function.
20705 (lookup-pretty-printer-maker-from-dict): New function.
20706 (*pretty-printer*): Simplify.
20707 (make-objfile-pp_s-printer): New function.
20708 (install-objfile-pretty-printers!): New function.
20709 (make-progspace-pp_s-printer): New function.
20710 (install-progspace-pretty-printers!): New function.
20711 * gdb.guile/scm-progspace.c: New file.
20712 * gdb.guile/scm-progspace.exp: New file.
20714 2014-06-02 Pedro Alves <palves@redhat.com>
20716 * gdb.base/dprintf-bp-same-addr.c: New file.
20717 * gdb.base/dprintf-bp-same-addr.exp: New file.
20719 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20721 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
20722 * gdb.arch/powerpc-power.s: Likewise.
20724 2014-06-02 Joel Brobecker <brobecker@adacore.com>
20726 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
20728 2014-06-01 Yao Qi <yao@codesourcery.com>
20730 * gdb.base/watchpoint.exp (test_watch_location): Check null
20731 pointer can be dereferenced. If not, do the test, otherwise
20734 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
20736 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
20738 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
20740 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
20742 * gdb.arch/amd64-invalid-stack-middle.S: New file.
20743 * gdb.arch/amd64-invalid-stack-middle.c: New file.
20744 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
20745 * gdb.arch/amd64-invalid-stack-top.c: New file.
20746 * gdb.arch/amd64-invalid-stack-top.exp: New file.
20748 2014-05-30 Pedro Alves <palves@redhat.com>
20750 PR breakpoints/17000
20751 * gdb.base/sss-bp-on-user-bp.c: New file.
20752 * gdb.base/sss-bp-on-user-bp.exp: New file.
20754 2014-05-30 David Blaikie <dblaikie@gmail.com>
20756 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
20757 gnu_inline semantics via attribute.
20758 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
20759 source explicitly specifies the required semantics.
20761 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
20763 * gdb.reverse/sigall-reverse.exp: Fix a typo.
20765 2014-05-29 Pedro Alves <palves@redhat.com>
20766 Tom Tromey <tromey@redhat.com>
20768 * gdb.base/async-shell.exp: Don't enable target-async.
20769 * gdb.base/async.exp
20770 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
20772 (top level): Don't test with "target-async".
20773 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
20774 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
20775 * gdb.base/inferior-died.exp: Don't enable target-async.
20776 * gdb.base/interrupt-noterm.exp: Likewise.
20777 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
20778 * gdb.mi/mi-nonstop-exit.exp: Likewise.
20779 * gdb.mi/mi-nonstop.exp: Likewise.
20780 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
20781 * gdb.mi/mi-nsintrall.exp: Likewise.
20782 * gdb.mi/mi-nsmoribund.exp: Likewise.
20783 * gdb.mi/mi-nsthrexec.exp: Likewise.
20784 * gdb.mi/mi-watch-nonstop.exp: Likewise.
20785 * gdb.multi/watchpoint-multi.exp: Adjust comment.
20786 * gdb.python/py-evsignal.exp: Don't enable target-async.
20787 * gdb.python/py-evthreads.exp: Likewise.
20788 * gdb.python/py-prompt.exp: Likewise.
20789 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
20790 * gdb.server/solib-list.exp: Don't enable target-async.
20791 * gdb.threads/thread-specific-bp.exp: Likewise.
20792 * lib/mi-support.exp: Adjust to use mi-async.
20794 2014-05-29 Pedro Alves <palves@redhat.com>
20797 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
20798 reason, even in sync mode.
20800 2014-05-29 Pedro Alves <palves@redhat.com>
20801 Hui Zhu <hui@codesourcery.com>
20804 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
20805 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
20806 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
20807 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
20809 2014-05-28 Joel Brobecker <brobecker@adacore.com>
20811 * config/monitor.exp (gdb_target_monitor): Replace use of
20812 "set remotebaud" by "set serial baud".
20814 2014-05-26 Andy Wingo <wingo@igalia.com>
20816 * gdb.guile/scm-breakpoint.exp:
20817 * gdb.guile/scm-gsmob.exp: Update to use plain old object
20818 properties instead of gdb-object-properties.
20820 2014-05-26 Yao Qi <yao@codesourcery.com>
20822 * gdb.server/no-thread-db.exp: Specify source file name
20823 explicitly when setting a breakpoint.
20825 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
20827 * gdb.btrace/vdso.c: New.
20828 * gdb.btrace/vdso.exp: New.
20830 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
20832 * gdb.base/gcore.exp (capture_command_output): Move ...
20833 * lib/gdb.exp (capture_command_output): ... here.
20835 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
20837 * gdb.btrace/data.exp: Test memory access during btrace replay.
20839 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
20841 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
20843 2014-05-21 Pedro Alves <palves@redhat.com>
20846 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
20847 (top level): Test that output related to execution commands is
20848 sent to the console with CLI commands, but not with MI commands.
20849 Test that breakpoint events are always mirrored to the console.
20850 Also expect the new source line to be output after a "next" in
20851 async mode too. Make it a pass/fail test.
20852 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
20854 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
20856 2014-05-21 Pedro Alves <palves@redhat.com>
20858 * gdb.base/list.exp (build_pattern, test_list): New procedures.
20859 Use them to test variations of "list" after reaching a breakpoint.
20860 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
20861 Test "list" with listsize 10 after reaching a breakpoint.
20862 * gdb.python/python.exp (decode_line current location line
20863 number): Adjust expected line number.
20865 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
20867 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
20868 behavior for $args, pass it directly to "run".
20870 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
20872 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
20875 2014-05-21 Pedro Alves <palves@redhat.com>
20877 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
20878 auto-connect-native-target off".
20879 * gdb.base/auto-connect-native-target.c: New file.
20880 * gdb.base/auto-connect-native-target.exp: New file.
20882 2014-05-21 Pedro Alves <palves@redhat.com>
20884 * gdb.base/default.exp: Test "target native" instead of "target
20887 2014-05-21 Mark Wielaard <mjw@redhat.com>
20889 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
20891 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
20893 Fix TLS access for -static -pthread.
20894 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
20895 <HAVE_TLS> (thread_function, main): Initialize it.
20896 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
20898 <$have_tls != "">: Check TLSVAR.
20900 2014-05-21 Pedro Alves <palves@redhat.com>
20902 * gdb.base/dcache-line-read-error.c: New.
20903 * gdb.base/dcache-line-read-error.exp: New.
20905 2014-05-20 Pedro Alves <palves@redhat.com>
20907 * gdb.base/compare-sections.c: New file.
20908 * gdb.base/compare-sections.exp: New file.
20910 2014-05-20 Pedro Alves <palves@redhat.com>
20912 * gdb.base/break-idempotent.c: New file.
20913 * gdb.base/break-idempotent.exp: New file.
20915 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
20917 * gdb.btrace/nohist.exp: New.
20919 2014-05-20 Yao Qi <yao@codesourcery.com>
20921 * lib/gdb.exp (gdb_init): Set timeout if test file is under
20922 gdb.reverse directory and gdb_reverse_timeout exists in board
20924 * README: Document gdb_reverse_timeout.
20926 2014-05-20 Yao Qi <yao@codesourcery.com>
20928 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
20929 'test_file_name'. Treat args as a string instead of a list.
20930 (gdb_init): Rename argument 'args' by 'test_file_name'.
20932 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
20934 * gdb.arch/powerpc-power.exp: New file.
20935 * gdb.arch/powerpc-power.s: New file.
20937 2014-05-16 Doug Evans <dje@google.com>
20939 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
20940 * gdb.base/completion.exp: Check that all expected files exist
20941 before doing file completion.
20943 2014-05-16 Doug Evans <dje@google.com>
20945 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
20947 (do_syscall_tests_without_xml): Update.
20949 2014-05-16 Pedro Alves <palves@redhat.com>
20951 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
20952 instead of "unknown output after running".
20954 2014-05-16 Yao Qi <yao@codesourcery.com>
20956 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
20957 file1.txt from host at the end.
20958 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
20960 2014-05-15 Doug Evans <dje@google.com>
20962 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
20963 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
20964 loading file. Add test for TU lookup.
20966 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
20968 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
20969 calling "-exec-arguments" or "set args" before running the
20972 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
20974 * lib/mi-support.exp (mi_expect_stop): Expect message for
20975 inferiors that exit with non-zero exit code.
20977 2014-05-14 Yao Qi <yao@codesourcery.com>
20979 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
20980 match absolute path on remote host.
20981 (test_file_list_exec_source_files): Remove "/" from the
20984 2014-05-14 Yao Qi <yao@codesourcery.com>
20986 * boards/local-remote-host-notty.exp (${board}_file): New
20989 2014-05-07 Kyle McMartin <kyle@redhat.com>
20991 Pushed by Joel Brobecker <brobecker@adacore.com>.
20992 * gdb.arch/aarch64-atomic-inst.c: New file.
20993 * gdb.arch/aarch64-atomic-inst.exp: New file.
20995 2014-05-07 Yao Qi <yao@codesourcery.com>
20997 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
20998 in current context" too.
21000 2014-05-05 Keith Seitz <keiths@redhat.com>
21002 * gdb.linespec/ls-dollar.exp: Add test for linespec
21003 file:convenience_variable.
21005 2014-05-05 Yao Qi <yao@codesourcery.com>
21007 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
21008 traceframes into tfile and ctf trace files. Read data from
21009 trace file and test collected data.
21010 (gdb_collect_locals_test): Likewise.
21011 (gdb_unavailable_registers_test): Likewise.
21012 (gdb_unavailable_floats): Likewise.
21013 (gdb_collect_globals_test): Likewise.
21014 (top-level): Append "ctf" to trace_file_targets if GDB
21017 2014-05-05 Yao Qi <yao@codesourcery.com>
21019 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
21021 (gdb_collect_args_test_1): ... it. New proc.
21022 (gdb_collect_locals_test): Move some code to ...
21023 (gdb_collect_locals_test_1): ... it. New proc.
21024 (gdb_unavailable_registers_test): Move some code to ...
21025 (gdb_unavailable_registers_test_1): ... it. New proc.
21026 (gdb_unavailable_floats): Move some code to ...
21027 (gdb_unavailable_floats_1): ... it. New proc.
21029 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
21031 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
21032 probes to test for bitness recognition.
21033 * gdb.arch/amd64-stap-optional-prefix.exp
21034 (test_probe_value_without_reg): New procedure.
21035 Add code to test for different kinds of bitness.
21037 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
21039 PR breakpoints/16889
21040 * gdb.arch/amd64-stap-optional-prefix.S: New file.
21041 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
21043 2014-05-01 Pedro Alves <palves@redhat.com>
21045 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
21046 gdb_file_cmd if no file is specified.
21047 * boards/native-extended-gdbserver.exp (gdb_load): Use the
21048 last_loaded_file to set the remote exec-file.
21050 2014-05-01 Pedro Alves <palves@redhat.com>
21052 * boards/local-remote-host.exp: New file.
21054 2014-05-01 Pedro Alves <palves@redhat.com>
21056 * boards/local-remote-host.exp: Rename to ...
21057 * boards/local-remote-host-notty.exp: ... this.
21059 2014-04-28 Joel Brobecker <brobecker@adacore.com>
21061 * gdb.ada/dyn_arrayidx: New testcase.
21063 2014-04-26 Yao Qi <yao@codesourcery.com>
21065 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
21066 and compute the length of function main. Save it in
21068 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
21069 (top-level): Use gdb_compile to compile objects into
21070 executable and restart GDB. Remove invocation to
21071 prepare_for_testing.
21073 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
21074 Pedro Alves <palves@redhat.com>
21077 * gdb.multi/multi-attach.c: New file.
21078 * gdb.multi/multi-attach.exp: New file.
21080 2014-04-25 Pedro Alves <palves@redhat.com>
21082 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
21084 (top level): Test that "set remote conditional-breakpoints-packet
21085 off" works as intended.
21086 * gdb.base/dprintf.exp: Test that "set remote
21087 breakpoint-commands-packet off" works as intended.
21088 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
21090 (top level): Call it.
21091 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
21092 remote fast-tracepoints-packet off" works as intended.
21093 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
21094 * lib/gdb.exp (gdb_is_target_remote): ... here.
21096 2014-04-24 David Blaikie <dblaikie@gmail.com>
21098 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
21099 ensure clang would not discard them.
21100 * gdb.base/gdbvars.c: Ditto.
21101 * gdb.base/memattr.c: Ditto.
21102 * gdb.base/whatis.c: Ditto.
21103 * gdb.python/py-prettyprint.c: Ditto.
21104 * gdb.trace/actions.c: Ditto.
21105 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
21106 ensure clang would not discard it.
21108 2014-04-24 David Blaikie <dblaikie@gmail.com>
21110 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
21111 clang to emit the full definition of type required by the test
21112 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
21114 2014-04-24 David Blaikie <dblaikie@gmail.com>
21116 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
21117 coax Clang into emitting the definition of the type.
21118 * gdb.cp/pr10728-x.h (y): Ditto.
21119 * gdb.cp/pr10728-y.cc (y): Ditto.
21121 2014-04-24 David Blaikie <dblaikie@gmail.com>
21123 * gdb.base/label.exp: XFAIL label related tests under Clang.
21124 * gdb.cp/cplabel.exp: Ditto.
21125 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
21126 under Clang those using labels.
21128 2014-04-25 Yao Qi <yao@codesourcery.com>
21130 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
21132 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
21133 partial_label and double_label.
21135 2014-04-24 David Blaikie <dblaikie@gmail.com>
21137 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
21139 2014-04-24 David Blaikie <dblaikie@gmail.com>
21141 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
21142 of the function to work across GCC and Clang.
21143 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
21144 pointer types (const void ** const V void **).
21146 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
21147 Walfred Tedeschi <walfred.tedeschi@intel.com>
21149 * Makefile.in (EXECUTABLES): Added i386-avx512.
21150 * gdb.arch/i386-avx512.c: New file.
21151 * gdb.arch/i386-avx512.exp: Likewise.
21153 2014-04-23 Keith Seitz <keiths@redhat.com>
21155 * lib/mi-support.exp (mi_list_breakpoints): Delete.
21156 (mi_make_breakpoint_table): New procedure.
21157 (mi_create_breakpoint): Use mi_make_breakpoint
21158 and return the result.
21159 (mi_make_breakpoint): New procedure.
21160 (mi_build_kv_pairs): New procedure.
21162 * gdb.mi/mi-break.exp: Remove unused globals,
21163 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
21164 All callers updated.
21165 * gdb.mi/mi-dprintf.exp: Use variable to track command
21167 Update all callers of mi_create_breakpoint and use
21168 mi_make_breakpoint_table.
21169 Remove any unused global variables.
21170 * gdb.mi/mi-nonstop.exp: Likewise.
21171 * gdb.mi/mi-nsintrall.exp: Likewise.
21172 * gdb.mi/mi-nsmoribund.exp: Likewise.
21173 * gdb.mi/mi-nsthrexec.exp: Likewise.
21174 * gdb.mi/mi-reverse.exp: Likewise.
21175 * gdb.mi/mi-simplerun.exp: Likewise.
21176 * gdb.mi/mi-stepn.exp: Likewise.
21177 * gdb.mi/mi-syn-frame.exp: Likewise.
21178 * gdb.mi/mi-until.exp: Likewise.
21179 * gdb.mi/mi-var-cp.exp: Likewise.
21180 * gdb.mi/mi-var-display.exp: Likewise.
21181 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
21182 * gdb.mi/mi2-var-child.exp: Likewise.
21183 * gdb.mi/mi-vla-c99.exp: Likewise.
21184 * lib/mi-support.exp: Likewise.
21186 From Ian Lance Taylor <iant@cygnus.com>:
21187 * lib/gdb.exp (parse_args): New procedure.
21189 2014-04-23 Pedro Alves <palves@redhat.com>
21191 * gdb.base/break-unload-file.c: New file.
21192 * gdb.base/break-unload-file.exp: New file.
21193 * gdb.base/sym-file-lib.c (baz): New function.
21194 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
21196 (load): Store the segment's mapped size.
21197 (unload): New function.
21198 (unload_shlib): New function.
21199 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
21200 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
21201 set a breakpoint at baz, and call it.
21202 * gdb.base/sym-file.exp: New tests for stale breakpoint
21205 2014-04-23 Pedro Alves <palves@redhat.com>
21207 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
21208 * gdb.base/hbreak-in-shr-unsupported.c: New file.
21209 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
21210 * gdb.base/hbreak-unmapped.c: New file.
21211 * gdb.base/hbreak-unmapped.exp: New file.
21212 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
21213 * lib/gdb.exp (gdb_is_target_remote): ... here.
21215 2014-04-22 Pedro Alves <palves@redhat.com>
21217 * gdb.base/consecutive-step-over.c: New file.
21218 * gdb.base/consecutive-step-over.exp: New file.
21220 2014-04-22 Pedro Alves <palves@redhat.com>
21222 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
21223 instead of send_gdb/gdb_expect.
21225 2014-04-22 Yao Qi <yao@codesourcery.com>
21227 * lib/trace-support.exp (generate_tracefile): New procedure.
21228 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
21230 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
21231 if generate_tracefile returns 1.
21233 2014-04-18 Tom Tromey <palves@redhat.com>
21234 Pedro alves <tromey@redhat.com>
21237 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
21238 with a backtrace limit.
21239 * gdb.python/py-frame-inline.exp: Test running to an inline
21240 function with a backtrace limit, and printing the newest frame.
21241 * gdb.python/py-frame-inline.c (main): Call f.
21243 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
21245 * gdb.java/jnpe.exp: Drop srcdir from untested path.
21247 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
21249 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
21250 Drop prefix from unsupported source file path.
21252 2014-04-17 Yao Qi <yao@codesourcery.com>
21254 * lib/gdb.exp (with_target_charset): New proc.
21255 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
21256 with_target_charset.
21257 (test_print_strings): Likewise.
21258 (test_repeat_bytes): Likewise.
21259 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
21262 2014-04-16 Keith Seitz <keiths@redhat.com>
21265 * gdb.dwarf2/corrupt.c: New file.
21266 * gdb.dwarf2/corrupt.exp: New file.
21268 2014-04-16 Keith Seitz <keiths@redhat.com>
21271 * gdb.cp/namelessclass.cc: New file.
21272 * gdb.cp/namelessclass.exp: New file.
21273 * gdb.cp/namelessclass.S: New file.
21275 2014-04-16 Doug Evans <dje@google.com>
21277 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
21279 (gdbserver_default_get_comm_port): New function.
21280 (gdbserver_start): Check if board file provided
21281 "gdbserver,get_comm_port" and use it if so.
21282 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
21283 (gdb,socketport): Set to "stdio".
21284 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
21285 (stdio_gdbserver_template): Delete.
21286 (${board}_get_remote_address): Update.
21287 (${board}_build_remote_cmd): Delete.
21288 (${board}_get_comm_port): New function.
21289 (${board}_spawn): Update.
21290 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
21292 (${board}_get_remote_address): Update.
21293 (${board}_get_comm_port): New function.
21295 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
21297 * gdb.base/memattr.exp: Improve regexps to handle memory regions
21298 appearing in any order.
21300 2014-04-15 Doug Evans <dje@google.com>
21302 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
21303 uninitialized value of "description".
21305 2014-04-15 Keith Seitz <keiths@redhat.com>
21307 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
21308 Remove unused globals.
21309 (test_running_the_program): Likewise.
21310 (test_controlled_execution): Likewise.
21311 (test_controlling_breakpoints): Likewise.
21312 (test_program_termination): Likewise.
21314 2014-04-15 Keith Seitz <keiths@redhat.com>
21316 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
21318 (test_rbreak_creation_and_listing): Likewise.
21319 (test_ignore_count): Likewise.
21320 (test_error): Likewise.
21322 2014-04-15 Pedro Alves <palves@redhat.com>
21324 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
21325 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
21327 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
21328 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
21329 to sym-file-loader.c.
21330 (struct library): Forward declare.
21331 (load_shlib, lookup_function): Change prototypes.
21332 (find_shstrtab, find_strtab, find_shdr, find_symtab)
21333 (translate_offset): Remove declarations.
21334 (get_text_addr): New declaration.
21335 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
21336 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
21338 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
21339 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
21340 here from sym-file-loader.h.
21341 (struct library): New structure.
21342 (load_shlib, lookup_function): Change prototypes and adjust to
21343 work with a struct library.
21344 (find_shstrtab, find_strtab, find_shdr, find_symtab)
21345 (translate_offset): Make static.
21346 (get_text_addr): New function.
21347 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
21349 2014-04-15 Pedro Alves <palves@redhat.com>
21351 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
21353 2014-04-15 Pedro Alves <palves@redhat.com>
21355 * gdb.base/sym-file-loader.c: Include <limits.h>.
21356 (SELF_LINK): New define.
21357 (get_origin): New function.
21358 (load_shlib): Use it.
21359 * gdb.base/sym-file.exp: Don't early return if the target is
21360 remote. Use runto_main, and issue fail is that fails. Use
21362 (shlib_name): Delete.
21363 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
21365 2014-04-15 Pedro Alves <palves@redhat.com>
21367 * gdb.base/sym-file.exp: Remove regex characters from test
21368 message. Don't refer to breakpoint numbers in test messages.
21370 2014-04-14 Keith Seitz <keiths@redhat.com>
21373 * gdb.cp/var-tag.cc: New file.
21374 * gdb.cp/var-tag.exp: New file.
21375 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
21376 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
21377 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
21378 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
21380 2014-04-14 Tom Tromey <tromey@redhat.com>
21382 * gdb.cp/classes.exp (test_enums): Handle underlying type.
21383 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
21385 * gdb.cp/enum-class.exp: New file.
21386 * gdb.cp/enum-class.cc: New file.
21388 2014-04-14 Tom Tromey <tromey@redhat.com>
21390 * gdb.dwarf2/enum-type.exp: New file.
21392 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21394 * gdb.mi/mi-vla-c99.exp: New file.
21395 * gdb.mi/vla.c: New file.
21397 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21399 * gdb.base/vla-datatypes.c: New file.
21400 * gdb.base/vla-datatypes.exp: New file.
21402 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21404 * gdb.base/vla-ptr.c: New file.
21405 * gdb.base/vla-ptr.exp: New file.
21407 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21409 * gdb.dwarf2/count.exp: New file.
21411 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
21413 * gdb.base/vla-sideeffect.c: New file.
21414 * gdb.base/vla-sideeffect.exp: New file.
21416 2014-04-14 David Blaikie <dblaikie@gmail.com>
21418 * gdb.mi/non-stop.c: Add return value for non-void function return
21420 * gdb.threads/staticthreads.c: Ditto.
21422 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
21423 Doug Evans <xdje42@gmail.com>
21425 * gdb.guile/scm-value.c: Improve test case.
21426 * gdb.guile/scm-value.exp: Add new test.
21428 2014-04-11 David Blaikie <dblaikie@gmail.com>
21430 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
21431 override Clang's default.
21433 2014-04-11 Joel Brobecker <brobecker@adacore.com>
21435 Revert the following changes (regressions):
21437 * gdb.base/vla-sideeffect.c: New file.
21438 * gdb.base/vla-sideeffect.exp: New file.
21440 * gdb.dwarf2/count.exp: New file.
21442 * gdb.base/vla-multi.c: New file.
21443 * gdb.base/vla-multi.exp: New file.
21445 * gdb.base/vla-ptr.c: New file.
21446 * gdb.base/vla-ptr.exp: New file.
21448 * gdb.base/vla-datatypes.c: New file.
21449 * gdb.base/vla-datatypes.exp: New file.
21451 * gdb.mi/mi-vla-c99.exp: New file.
21452 * gdb.mi/vla.c: New file.
21454 2014-04-11 Keith Seitz <keiths@redhat.com>
21457 * gdb.cp/cpsizeof.exp: New file.
21458 * gdb.cp/cpsizeof.cc: New file.
21460 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21462 * gdb.mi/mi-vla-c99.exp: New file.
21463 * gdb.mi/vla.c: New file.
21465 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21467 * gdb.base/vla-datatypes.c: New file.
21468 * gdb.base/vla-datatypes.exp: New file.
21470 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21472 * gdb.base/vla-ptr.c: New file.
21473 * gdb.base/vla-ptr.exp: New file.
21475 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21477 * gdb.base/vla-multi.c: New file.
21478 * gdb.base/vla-multi.exp: New file.
21480 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21482 * gdb.dwarf2/count.exp: New file.
21484 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
21486 * gdb.base/vla-sideeffect.c: New file.
21487 * gdb.base/vla-sideeffect.exp: New file.
21489 2014-04-11 Yao Qi <yao@codesourcery.com>
21491 * gdb.base/completion.exp: Check file exists before running tests
21492 on file completion.
21494 2014-04-10 Pedro Alves <palves@redhat.com>
21496 * gdb.base/cond-eval-mode.c: New file.
21497 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
21498 prepare_for_testing to build the new file. Check result of
21500 (test_break, test_watch): New procedures.
21501 (top level): Use them.
21503 2014-04-08 Pierre Muller <muller@sourceware.org>
21505 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
21506 Ctrl-V use for mingw hosts.
21508 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
21510 * gdb.python/py-value.c: Improve test case.
21511 * gdb.python/py-value.exp: Add new test.
21513 2014-04-07 David Blaikie <dblaikie@gmail.com>
21515 * lib/compiler.c: Identify the clang compiler.
21516 * lib/compiler.cc: Ditto.
21518 2014-04-03 Yao Qi <yao@codesourcery.com>
21520 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
21522 2014-04-01 Anton Blanchard <anton@samba.org>
21524 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
21527 2014-04-01 Anton Blanchard <anton@samba.org>
21529 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
21530 prepare_for_testing.
21532 2014-04-01 Anton Blanchard <anton@samba.org>
21534 * gdb.arch/ppc64-atomic-inst.c: Remove.
21535 * gdb.arch/ppc64-atomic-inst.S: New file.
21536 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
21538 2014-03-31 Doug Evans <dje@google.com>
21540 * gdb.base/print-symbol-loading-lib.c: New file.
21541 * gdb.base/print-symbol-loading-main.c: New file.
21542 * gdb.base/print-symbol-loading.exp: New file.
21544 2014-03-31 Yao Qi <yao@codesourcery.com>
21546 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
21548 2014-03-28 Joel Brobecker <brobecker@adacore.com>
21550 * gdb.ada/mi_dyn_arr: New testcase.
21552 2014-03-27 Doug Evans <dje@google.com>
21554 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
21556 2014-03-27 Yao Qi <yao@codesourcery.com>
21558 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
21559 if target is nios2-*-*.
21561 2014-03-26 Yao Qi <yao@codesourcery.com>
21563 * lib/gdb.exp (readline_is_used): New proc.
21564 * gdb.base/completion.exp: Move tests on command complete up.
21565 Skip the rest of tests if readline is not used.
21566 * gdb.ada/complete.exp: Skp the test if readline is not
21568 * gdb.base/filesym.exp: Likewise.
21569 * gdb.base/macscp.exp: Likewise.
21570 * gdb.base/readline-ask.exp: Likewise.
21571 * gdb.base/readline.exp: Likewise.
21572 * gdb.python/py-cmd.exp: Likewise.
21573 * gdb.trace/tfile.exp: Likewise.
21575 2014-03-26 Yao Qi <yao@codesourcery.com>
21577 * gdb.base/macscp.exp: Fix code format issues.
21579 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
21581 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
21582 * gdb.asm/powerpc64le.inc: New file.
21584 2014-03-25 Pedro Alves <palves@redhat.com>
21585 Doug Evans <dje@google.com>
21587 * gdb.base/source-execution.c: New file.
21588 * gdb.base/source-execution.exp: New file.
21589 * gdb.base/source-execution.gdb: New file.
21591 2014-03-24 Doug Evans <dje@google.com>
21593 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
21596 2014-03-24 Hui Zhu <hui@codesourcery.com>
21597 Pedro Alves <palves@redhat.com>
21599 PR breakpoints/16101
21600 * gdb.base/dprintf.exp: Use unsupported rather than changing the
21601 test pass/fail messages. Detect missing support for dprintf when
21602 breakpoints are actually inserted.
21603 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
21604 breakpoints are actually inserted.
21605 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
21608 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
21610 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
21612 2014-03-22 Doug Evans <xdje42@gmail.com>
21614 * gdb.python/python.exp (python not supported): Verify multi-line
21615 python command issues an error.
21616 * gdb.guile/guile.exp (guile not supported): Verify multi-line
21617 guile command issues an error.
21619 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
21621 * gdb.threads/thread-specific.exp: Handle the lack of usable
21622 $this_breakpoint and $this_thread.
21624 2014-03-21 Hui Zhu <hui@codesourcery.com>
21626 * gdb.base/attach.exp (do_command_attach_tests): New.
21628 2014-03-20 Tom Tromey <tromey@redhat.com>
21629 Pedro Alves <palves@redhat.com>
21632 * gdb.base/condbreak-call-false.c: New file.
21633 * gdb.base/condbreak-call-false.exp: New file.
21635 2014-03-20 Pedro Alves <palves@redhat.com>
21637 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
21639 (block_signals, unblock_signals): Delete.
21640 (child_function_2, main): Remove references to deleted variable
21643 2014-03-20 Pedro Alves <palves@redhat.com>
21645 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
21646 Use pthread_kill to signal thread 2.
21647 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
21648 Adjust to make the test send itself a signal rather than using the
21649 host's "kill" command.
21651 2014-03-20 Pedro Alves <palves@redhat.com>
21653 * gdb.threads/multiple-step-overs.c: New file.
21654 * gdb.threads/multiple-step-overs.exp: New file.
21655 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
21656 Adjust expected infrun debug output.
21658 2014-03-20 Pedro Alves <palves@redhat.com>
21660 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
21661 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
21663 2014-03-20 Pedro Alves <palves@redhat.com>
21665 PR breakpoints/7143
21666 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
21667 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
21668 of gdb_test_multiple.
21669 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
21670 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
21672 2014-03-20 Pedro Alves <palves@redhat.com>
21674 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
21675 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
21677 2014-03-19 Pedro Alves <palves@redhat.com>
21679 * gdb.base/async.exp: Remove early return.
21681 2014-03-19 Pedro Alves <palves@redhat.com>
21683 * gdb.base/async.exp (step& tests): Pass explicit test messages.
21685 2014-03-19 Pedro Alves <palves@redhat.com>
21687 * gdb.base/async.exp (test_background): Expect \r\n after
21688 "completed." in the fail pattern.
21690 2014-03-19 Pedro Alves <palves@redhat.com>
21692 * gdb.base/async.exp (test_background): New procedure.
21693 Use it for all background execution command tests.
21695 2014-03-19 Pedro Alves <palves@redhat.com>
21697 * gdb.base/async.exp: Use prepare_for_testing.
21699 2014-03-19 Pedro Alves <palves@redhat.com>
21701 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
21704 2014-03-19 Pedro Alves <palves@redhat.com>
21706 * gdb.base/async.c (main): Add "jump here" and "until here" line
21708 * gdb.base/async.exp (jump_here): New global.
21709 (jump& test): Use it.
21710 (until_here): New global.
21711 (until& test): Use it.
21713 2014-03-19 Pedro Alves <palves@redhat.com>
21715 * gdb.base/async.exp: Don't frob gdb_protocol.
21717 2014-03-18 Doug Evans <xdje42@gmail.com>
21719 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
21720 Fix spelling of exec-done-display.
21722 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
21725 * gdb.base/gdb-sigterm.c: New file.
21726 * gdb.base/gdb-sigterm.exp: New file.
21728 2014-03-18 Pedro Alves <palves@redhat.com>
21731 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
21732 * lib/mi-support.exp (mi_expect_stop): Add special handling for
21735 2014-03-17 Joel Brobecker <brobecker@adacore.com>
21737 * gdb.ada/pckd_arr_ren: New testcase.
21739 2014-03-13 Doug Evans <xdje42@gmail.com>
21742 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
21743 collect after discarding symbols.
21745 2014-03-13 Ludovic Courtès <ludo@gnu.org>
21746 Doug Evans <xdje42@gmail.com>
21748 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
21749 to history survives a gc.
21751 2014-03-13 Pedro Alves <palves@redhat.com>
21753 * gdb.base/default.exp: Don't test "target procfs".
21755 2014-03-13 Pedro Alves <palves@redhat.com>
21757 * gdb.base/default.exp: Update "target child" and "target procfs"
21758 tests to not expect "Unix".
21760 2014-03-12 Tom Tromey <tromey@redhat.com>
21762 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
21763 New procs. Add target-async tests.
21764 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
21765 Add target-async tests.
21767 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21769 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
21770 'func_start' and 'func_end' for the beginning and end of the
21771 function code, respectively.
21772 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
21773 'func_end' instead of 'func' and 'main'.
21775 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21777 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
21778 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
21779 generate the debug info assembler source.
21781 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21783 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
21784 * gdb.dwarf2/arr-subrange.exp: Likewise.
21785 * gdb.dwarf2/dwz.exp: Likewise.
21786 * gdb.dwarf2/method-ptr.exp: Likewise.
21787 * gdb.dwarf2/missing-sig-type.exp: Likewise.
21788 * gdb.dwarf2/subrange.exp: Likewise.
21789 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
21790 * gdb.dwarf2/implptrpiece.exp: Likewise.
21791 * gdb.dwarf2/nostaticblock.exp: Likewise.
21793 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
21795 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
21796 directory to absolute path name arguments.
21798 2014-03-10 Joel Brobecker <brobecker@adacore.com>
21800 * gdb.ada/tagged_access: New testcase.
21802 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
21804 * gdb.btrace/data.exp: Update expected output.
21806 2014-03-06 Yao Qi <yao@codesourcery.com>
21808 * gdb.trace/pr16508.exp: New file.
21810 2014-03-05 Pedro Alves <palves@redhat.com>
21813 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
21815 (top level): Adjust to use it. Add tests that exercise breakpoint
21816 interaction with the code-cache.
21818 2014-02-26 Ludovic Courtès <ludo@gnu.org>
21820 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
21821 test for 'history-append!'.
21823 2014-02-26 Joel Brobecker <brobecker@adacore.com>
21825 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
21826 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
21827 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
21828 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
21829 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
21830 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
21832 2014-02-26 Joel Brobecker <brobecker@adacore.com>
21834 * testsuite/gdb.python/py-pp-re-notag.c: New file.
21835 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
21836 * testsuite/gdb.python/py-pp-re-notag.p: New file.
21838 2014-02-26 Joel Brobecker <brobecker@adacore.com>
21840 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
21842 2014-02-26 Joel Brobecker <brobecker@adacore.com>
21844 * gdb.dwarf2/arr-stride.c: New file.
21845 * gdb.dwarf2/arr-stride.exp: New file.
21847 2014-02-26 Pedro Alves <palves@redhat.com>
21849 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
21850 that won't ever trigger. Make sure that GDB reports the correct
21851 breakpoint that caused the stop.
21853 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
21856 * gdb.base/auto-load-script: New file.
21857 * gdb.base/auto-load.c: New file.
21858 * gdb.base/auto-load.exp: New file.
21861 * gdb.base/auto-load.exp: Fix out-of-srctree run.
21863 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
21865 Fix dw2-icycle.exp -fsanitize=address GDB crash.
21866 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
21868 2014-02-24 Doug Evans <dje@google.com>
21870 * lib/gdb.exp (run_on_host): Log error output if program fails.
21872 2014-02-21 Pedro Alves <palves@redhat.com>
21874 * gdb.threads/step-after-sr-lock.c: Rename to ...
21875 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
21876 * gdb.threads/step-after-sr-lock.exp: Rename to ...
21877 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
21880 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
21883 * gdb.arch/amd64-stap-special-operands.exp: New file.
21884 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
21885 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
21886 * gdb.arch/amd64-stap-triplet.S: Likewise.
21887 * gdb.arch/amd64-stap-triplet.c: Likewise.
21889 2014-02-20 Joel Brobecker <brobecker@adacore.com>
21891 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
21892 in .section pseudo-op.
21894 2014-02-20 lin zuojian <manjian2006@gmail.com>
21895 Joel Brobecker <brobecker@adacore.com>
21896 Doug Evans <xdje42@gmail.com>
21899 * gdb.dwarf2/dw2-icycle.S: New file.
21900 * gdb.dwarf2/dw2-icycle.c: New file.
21901 * gdb.dwarf2/dw2-icycle.exp: New file.
21903 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
21905 * gdb.python/py-value-cc.cc: Improve test case to enable testing
21906 operations on gdb.Value objects.
21907 * gdb.python/py-value-cc.exp: Add new test to test operations on
21910 2014-02-18 Doug Evans <dje@google.com>
21912 * Makefile.in (TESTS): New variable.
21913 (expanded_tests, expanded_tests_or_none): New variables
21914 (check-single): Pass $(expanded_tests_or_none) to runtest.
21915 (check-parallel): Only run tests in $(TESTS) if non-empty.
21916 (check/no-matching-tests-found): New rule.
21917 * README: Document TESTS makefile variable.
21919 2014-02-18 Doug Evans <dje@google.com>
21921 * Makefile.in (check-parallel): rm -rf outputs temp.
21923 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21925 Fix "ERROR: no fileid for" in the testsuite.
21926 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
21928 2014-02-12 Doug Evans <dje@google.com>
21930 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
21931 (MISCELLANEOUS): New variable.
21932 (clean): rm -rf $(MISCELLANEOUS).
21933 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
21934 dwp live in the same directory as symlinks, with each symlink pointed
21935 to a differently named file in a different directory.
21937 2014-02-11 Doug Evans <dje@google.com>
21939 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
21940 of Tcl file commands.
21942 2014-02-10 Mark Kettenis <kettenis@gnu.org>
21944 * gdb.threads/step-after-sr-lock.exp: Avoid executing
21945 "kill -SIGUSR1 -1".
21947 2014-02-10 Joel Brobecker <brobecker@adacore.com>
21949 * gdb.ada/tick_length_array_enum_idx: New testcase.
21951 2014-02-10 Doug Evans <xdje42@gmail.com>
21953 * configure.ac (AC_OUTPUT): Add gdb.guile.
21954 * configure: Regenerate.
21955 * lib/gdb-guile.exp: New file.
21956 * lib/gdb.exp (get_target_charset): New function.
21957 * gdb.base/help.exp: Update expected output from "apropos apropos".
21958 * gdb.guile/Makefile.in: New file.
21959 * gdb.guile/guile.exp: New file.
21960 * gdb.guile/scm-arch.c: New file.
21961 * gdb.guile/scm-arch.exp: New file.
21962 * gdb.guile/scm-block.c: New file.
21963 * gdb.guile/scm-block.exp: New file.
21964 * gdb.guile/scm-breakpoint.c: New file.
21965 * gdb.guile/scm-breakpoint.exp: New file.
21966 * gdb.guile/scm-disasm.c: New file.
21967 * gdb.guile/scm-disasm.exp: New file.
21968 * gdb.guile/scm-equal.c: New file.
21969 * gdb.guile/scm-equal.exp: New file.
21970 * gdb.guile/scm-error.exp: New file.
21971 * gdb.guile/scm-error.scm: New file.
21972 * gdb.guile/scm-frame-args.c: New file.
21973 * gdb.guile/scm-frame-args.exp: New file.
21974 * gdb.guile/scm-frame-args.scm: New file.
21975 * gdb.guile/scm-frame-inline.c: New file.
21976 * gdb.guile/scm-frame-inline.exp: New file.
21977 * gdb.guile/scm-frame.c: New file.
21978 * gdb.guile/scm-frame.exp: New file.
21979 * gdb.guile/scm-generics.exp: New file.
21980 * gdb.guile/scm-gsmob.exp: New file.
21981 * gdb.guile/scm-iterator.c: New file.
21982 * gdb.guile/scm-iterator.exp: New file.
21983 * gdb.guile/scm-math.c: New file.
21984 * gdb.guile/scm-math.exp: New file.
21985 * gdb.guile/scm-objfile-script-gdb.in: New file.
21986 * gdb.guile/scm-objfile-script.c: New file.
21987 * gdb.guile/scm-objfile-script.exp: New file.
21988 * gdb.guile/scm-objfile.c: New file.
21989 * gdb.guile/scm-objfile.exp: New file.
21990 * gdb.guile/scm-ports.exp: New file.
21991 * gdb.guile/scm-pretty-print.c: New file.
21992 * gdb.guile/scm-pretty-print.exp: New file.
21993 * gdb.guile/scm-pretty-print.scm: New file.
21994 * gdb.guile/scm-section-script.c: New file.
21995 * gdb.guile/scm-section-script.exp: New file.
21996 * gdb.guile/scm-section-script.scm: New file.
21997 * gdb.guile/scm-symbol.c: New file.
21998 * gdb.guile/scm-symbol.exp: New file.
21999 * gdb.guile/scm-symtab-2.c: New file.
22000 * gdb.guile/scm-symtab.c: New file.
22001 * gdb.guile/scm-symtab.exp: New file.
22002 * gdb.guile/scm-type.c: New file.
22003 * gdb.guile/scm-type.exp: New file.
22004 * gdb.guile/scm-value-cc.cc: New file.
22005 * gdb.guile/scm-value-cc.exp: New file.
22006 * gdb.guile/scm-value.c: New file.
22007 * gdb.guile/scm-value.exp: New file.
22008 * gdb.guile/source2.scm: New file.
22009 * gdb.guile/types-module.cc: New file.
22010 * gdb.guile/types-module.exp: New file.
22012 2014-02-10 Yao Qi <yao@codesourcery.com>
22015 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
22016 * configure: Regenerated.
22017 * Makefile.in: New file.
22019 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
22021 * gdb.python/py-framefilter.exp: Fix typo.
22023 2014-02-08 Yao Qi <yao@codesourcery.com>
22025 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
22026 that no =breakpoint-modified is emitted when breakpoints are
22027 modified through MI commands.
22029 2014-02-07 Pedro Alves <pedro@codesourcery.com>
22030 Pedro Alves <palves@redhat.com>
22032 * gdb.threads/step-after-sr-lock.c: New file.
22033 * gdb.threads/step-after-sr-lock.exp: New file.
22035 2014-02-07 Pedro Alves <palves@redhat.com>
22037 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
22039 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
22041 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
22042 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
22044 2014-02-06 Doug Evans <xdje42@gmail.com>
22046 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
22049 * gdb.gdb/python-interrupts.exp: New file.
22051 2014-02-05 Yao Qi <yao@codesourcery.com>
22053 * gdb.trace/report.exp (use_collected_data): Test the output
22054 of "info threads" and "info inferiors".
22056 2014-02-05 Yao Qi <yao@codesourcery.com>
22060 2013-05-24 Yao Qi <yao@codesourcery.com>
22062 * gdb.trace/tfile.exp: Test inferior and thread.
22064 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
22066 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
22068 * gdb.base/step-bt.c: Call hello via function pointer to make
22069 sure its first instruction is executed on powerpc64le-linux.
22071 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
22073 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
22075 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
22077 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
22078 of the test patterns for use on little-endian systems.
22080 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
22082 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
22083 (decimal_vector): Fix for little-endian.
22085 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
22087 * gdb.arch/sparc-sysstep.exp: New file.
22088 * gdb.arch/sparc-sysstep.c: Likewise.
22090 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
22092 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22094 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
22096 2014-01-23 Tom Tromey <tromey@redhat.com>
22098 * gdb.ada/array_char_idx: New testcase.
22100 2014-01-23 Tom Tromey <tromey@redhat.com>
22103 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
22104 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
22107 2014-01-23 Tom Tromey <tromey@redhat.com>
22110 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
22111 string from an inferior frame.
22112 * gdb.python/py-framefilter-mi.exp: Update.
22114 2014-01-22 Doug Evans <dje@google.com>
22116 * gdb.server/server-mon.exp: Add tests for "set debug-format".
22118 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22120 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
22122 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22124 * gdb.trace/entry-values.exp: Remove excess space character from
22125 regex patterns. Handle s390 call instruction.
22127 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22129 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
22130 define "*_start" label. Make "name" static.
22131 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
22132 ${name} by references to ${name}_start.
22134 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
22136 * gdb.base/info-macros.exp: Remove "debug" from the compile
22139 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
22141 * gdb.dlang/demangle.exp: New file.
22143 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
22145 * gdb.dlang/primitive-types.exp: New file.
22147 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
22149 * configure.ac: Create gdb.dlang/Makefile.
22150 * configure: Regenerate.
22151 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
22152 * gdb.dlang/Makefile.in: New file.
22153 * lib/d-support.exp: New file.
22154 * lib/gdb.exp (skip_d_tests): New proc.
22156 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22158 * gdb.btrace/delta.exp: Check reverse stepi.
22159 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
22160 * gdb.btrace/finish.exp: New.
22161 * gdb.btrace/next.exp: New.
22162 * gdb.btrace/nexti.exp: New.
22163 * gdb.btrace/record_goto.c: Add comments.
22164 * gdb.btrace/step.exp: New.
22165 * gdb.btrace/stepi.exp: New.
22166 * gdb.btrace/multi-thread-step.c: New.
22167 * gdb.btrace/multi-thread-step.exp: New.
22168 * gdb.btrace/rn-dl-bind.c: New.
22169 * gdb.btrace/rn-dl-bind.exp: New.
22170 * gdb.btrace/data.c: New.
22171 * gdb.btrace/data.exp: New.
22172 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
22174 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22176 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
22177 * gdb.btrace/exception.exp: Update.
22178 * gdb.btrace/instruction_history.exp: Update.
22179 * gdb.btrace/record_goto.exp: Update.
22180 * gdb.btrace/tailcall.exp: Update.
22181 * gdb.btrace/unknown_functions.exp: Update.
22182 * gdb.btrace/delta.exp: New.
22184 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22186 * gdb.btrace/record_goto.exp: Add backtrace test.
22187 * gdb.btrace/tailcall.exp: Add backtrace test.
22189 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22191 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
22192 * gdb.btrace/record_goto.c: New.
22193 * gdb.btrace/record_goto.exp: New.
22194 * gdb.btrace/x86-record_goto.S: New.
22196 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22198 * gdb.btrace/function_call_history.exp: Update tests.
22199 * gdb.btrace/instruction_history.exp: Update tests.
22201 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22203 * gdb.btrace/function_call_history.exp: Fix expected field
22204 order for "record function-call-history".
22205 Add new tests for "record function-call-history /c".
22206 * gdb.btrace/exception.cc: New.
22207 * gdb.btrace/exception.exp: New.
22208 * gdb.btrace/tailcall.exp: New.
22209 * gdb.btrace/x86-tailcall.S: New.
22210 * gdb.btrace/x86-tailcall.c: New.
22211 * gdb.btrace/unknown_functions.c: New.
22212 * gdb.btrace/unknown_functions.exp: New.
22213 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
22215 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22217 * gdb.btrace/instruction_history.exp: Update.
22218 * gdb.btrace/function_call_history.exp: Update.
22220 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22222 * gdb.btrace/function_call_history.exp: Fix expected function
22224 * gdb.btrace/instruction_history.exp: Initialize traced.
22225 Remove traced_functions.
22227 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22229 * gdb.btrace/function_call_history.exp: Update
22230 * gdb.btrace/instruction_history.exp: Update.
22232 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
22234 * gdb.btrace/enable.exp: Update expected text.
22236 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
22238 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
22241 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
22243 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
22245 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
22247 * lib/gdb.exp (supports_process_record): Return true for
22248 arm*-linux*. (supports_reverse): Likewise.
22250 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
22254 * gdb.python/py-type.c: Enhance test case.
22255 * gdb.python/py-value-cc.cc: Likewise
22256 * gdb.python/py-type.exp: Add new tests.
22257 * gdb.python/py-value-cc.exp: Likewise
22259 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
22260 Pedro Alves <palves@redhat.com>
22262 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
22263 Make "name" extern.
22264 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
22265 references to ${name}_start by references to ${name}.
22267 2014-01-10 Joel Brobecker <brobecker@adacore.com>
22269 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
22271 2014-01-10 Joel Brobecker <brobecker@adacore.com>
22273 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
22275 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
22276 Pedro Alves <palves@redhat.com>
22278 * gdb.mi/mi-info-os.exp: Connect to the target with
22279 mi_gdb_target_load.
22281 2014-01-08 Pedro Alves <palves@redhat.com>
22283 * gdb.threads/reconnect-signal.c: New file.
22284 * gdb.threads/reconnect-signal.exp: New file.
22286 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
22288 * gdb.base/source-dir.exp: New file.
22290 2014-01-07 Joel Brobecker <brobecker@adacore.com>
22292 * gdb.ada/mi_interface: New testcase.
22294 2014-01-07 Joel Brobecker <brobecker@adacore.com>
22296 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
22297 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
22298 gdb.ada/pp-rec-component/pck.ads: New files.
22300 2014-01-07 Joel Brobecker <brobecker@adacore.com>
22302 * gdb.python/py-pp-integral.c: New file.
22303 * gdb.python/py-pp-integral.py: New file.
22304 * gdb.python/py-pp-integral.exp: New file.
22306 For older changes see ChangeLog-1993-2013.
22308 ;; Local Variables:
22309 ;; mode: change-log
22312 ;; version-control: never
22315 Copyright 2014-2020 Free Software Foundation, Inc.
22316 Copying and distribution of this file, with or without modification,
22317 are permitted provided the copyright notice and this notice are preserved.