1 2020-05-11 Keith Seitz <keiths@redhat.com>
3 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
5 * gdb.ada/arrayptr.exp: Likewise.
6 * gdb.ada/assign_arr.exp: Likewise.
7 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
8 * gdb.ada/bp_on_var.exp: Likewise.
9 * gdb.ada/call_pn.exp: Likewise.
10 * gdb.ada/complete.exp: Likewise.
11 * gdb.ada/fun_overload_menu.exp: Likewise.
12 * gdb.ada/funcall_param.exp: Likewise.
13 * gdb.ada/funcall_ref.exp: Likewise.
14 * gdb.ada/packed_array_assign.exp: Likewise.
15 * gdb.ada/same_component_name.exp: Likewise.
16 * gdb.ada/type_coercion.exp: Likewise.
17 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
18 * gdb.ada/variant_record_packed_array.exp: Likewise.
20 2020-05-11 Tom de Vries <tdevries@suse.de>
23 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
25 * gdb.dwarf2/clang-debug-names.exp: ... here.
26 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
27 clang-debug-names.exp.in.
28 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
29 * gdb.dwarf2/clang-debug-names-2.c: New test.
31 2020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
33 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
34 (fortran_runto_main): New Proc, fortran version of runto_main.
35 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
36 * gdb.fortran/array-bounds.exp: Likewise.
37 * gdb.fortran/array-slices.exp: Likewise.
38 * gdb.fortran/block-data.exp: Likewise.
39 * gdb.fortran/charset.exp: Likewise.
40 * gdb.fortran/common-block.exp: Likewise.
41 * gdb.fortran/complex.exp: Likewise.
42 * gdb.fortran/derived-type-function.exp: Likewise.
43 * gdb.fortran/derived-type.exp: Likewise.
44 * gdb.fortran/info-modules.exp: Likewise.
45 * gdb.fortran/info-types.exp: Likewise.
46 * gdb.fortran/intrinsics.exp: Likewise.
47 * gdb.fortran/library-module.exp: Likewise.
48 * gdb.fortran/logical.exp: Likewise.
49 * gdb.fortran/max-depth.exp: Likewise.
50 * gdb.fortran/module.exp: Likewise.
51 * gdb.fortran/multi-dim.exp: Likewise.
52 * gdb.fortran/nested-funcs.exp: Likewise.
53 * gdb.fortran/print-formatted.exp: Likewise.
54 * gdb.fortran/print_type.exp: Likewise.
55 * gdb.fortran/printing-types.exp: Likewise.
56 * gdb.fortran/ptr-indentation.exp: Likewise.
57 * gdb.fortran/ptype-on-functions.exp: Likewise.
58 * gdb.fortran/subarray.exp: Likewise.
59 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
60 * gdb.fortran/vla-datatypes.exp: Likewise.
61 * gdb.fortran/vla-history.exp: Likewise.
62 * gdb.fortran/vla-ptr-info.exp: Likewise.
63 * gdb.fortran/vla-ptype-sub.exp: Likewise.
64 * gdb.fortran/vla-ptype.exp: Likewise.
65 * gdb.fortran/vla-sizeof.exp: Likewise.
66 * gdb.fortran/vla-type.exp: Likewise.
67 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
68 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
69 * gdb.fortran/vla-value-sub.exp: Likewise.
70 * gdb.fortran/vla-value.exp: Likewise.
71 * gdb.fortran/whatis_type.exp: Likewise.
72 * gdb.mi/mi-var-child-f.exp: Likewise.
74 2020-05-09 Tom de Vries <tdevries@suse.de>
76 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
78 2020-05-08 Tom de Vries <tdevries@suse.de>
80 * gdb.dwarf2/clang-debug-names.c: New test.
81 * gdb.dwarf2/clang-debug-names.exp: New file.
83 2020-05-06 Simon Marchi <simon.marchi@efficios.com>
85 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
86 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
88 2020-05-06 Tom de Vries <tdevries@suse.de>
90 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
91 breakpoint is at a "recommended breakpoint location".
92 * gdb.reverse/consecutive-reverse.exp: Same.
94 2020-05-06 Tom de Vries <tdevries@suse.de>
96 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
99 2020-05-06 Tom de Vries <tdevries@suse.de>
101 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
103 2020-05-06 Tom de Vries <tdevries@suse.de>
105 * gdb.base/store.exp (check_set, up_set): Allowing missing location
108 2020-05-06 Tom de Vries <tdevries@suse.de>
110 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
113 2020-05-06 Tom de Vries <tdevries@suse.de>
115 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
118 2020-05-06 Tom de Vries <tdevries@suse.de>
120 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
122 * gdb.base/async.exp: ... here.
123 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
124 "recommended breakpoint location".
126 2020-05-06 Tom de Vries <tdevries@suse.de>
128 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
130 2020-05-04 Tom de Vries <tdevries@suse.de>
132 * gdb.base/async.exp: Check whether instruction addresses are a
133 "recommended breakpoint location".
135 2020-05-03 Tom Tromey <tom@tromey.com>
137 * gdb.base/sepdebug.exp: Remove "catch" test.
138 * gdb.base/break.exp: Remove "catch" test.
139 * gdb.base/default.exp: Update expected output.
141 2020-05-02 Tom de Vries <tdevries@suse.de>
143 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
144 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
145 * gdb.arch/i386-mpx-map.exp: Same.
146 * gdb.arch/i386-mpx-sigsegv.exp: Same.
147 * gdb.arch/i386-mpx-simple_segv.exp: Same.
148 * gdb.arch/i386-mpx.exp: Same.
150 2020-05-02 Tom de Vries <tdevries@suse.de>
152 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
154 2020-05-01 Tom de Vries <tdevries@suse.de>
156 * gdb.ada/operator_bp.exp: Allow more than required amount of
159 2020-05-01 Tom de Vries <tdevries@suse.de>
161 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
163 2020-04-30 Hannes Domani <ssbssa@yahoo.de>
166 * gdb.cp/stub-array-size.cc: New test.
167 * gdb.cp/stub-array-size.exp: New file.
168 * gdb.cp/stub-array-size.h: New test.
169 * gdb.cp/stub-array-size2.cc: New test.
171 2020-04-30 Hannes Domani <ssbssa@yahoo.de>
173 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
174 output to the new format.
176 2020-04-29 Simon Marchi <simon.marchi@efficios.com>
178 * gdb.base/break.exp: Use with_test_prefix.
180 2020-04-29 Tom de Vries <tdevries@suse.de>
182 * lib/gdb.exp (debug_types): New proc.
183 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
184 * gdb.python/py-symtab.exp: Same.
186 2020-04-29 Hannes Domani <ssbssa@yahoo.de>
189 * gdb.base/pretty-array.c: New test.
190 * gdb.base/pretty-array.exp: New file.
192 2020-04-29 Tom de Vries <tdevries@suse.de>
195 * gdb.cp/cpexprs.exp: Adapt for inclusion.
196 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
197 and include cpexprs.exp.
199 2020-04-28 Mark Williams <mark@myosotissp.com>
202 * dw4-toplevel-types.exp: Test for top level types.
203 * dw4-toplevel-types.cc: Test for top level types.
205 2020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
207 * gdb.threads/stop-with-handle.exp: Fix typo in comment
210 2020-04-28 Tom de Vries <tdevries@suse.de>
212 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
214 2020-04-28 Tom de Vries <tdevries@suse.de>
216 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
218 2020-04-28 Tom de Vries <tdevries@suse.de>
220 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
222 2020-04-28 Tom de Vries <tdevries@suse.de>
224 * gdb.dwarf2/main-foo.c: New test.
225 * gdb.dwarf2/struct-with-sig.exp: New file.
227 2020-04-25 Tom de Vries <tdevries@suse.de>
229 * boards/debug-types.exp: New file.
231 2020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
233 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
235 2020-04-24 Tom Tromey <tom@tromey.com>
238 * gdb.python/py-symbol.exp: Update expected results for
240 * gdb.cp/print-demangle.exp: New file.
241 * gdb.base/c-linkage-name.exp: Fix test.
242 * gdb.guile/scm-symbol.exp: Update expected results for
245 2020-04-24 Tom Tromey <tom@tromey.com>
247 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
248 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
249 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
252 2020-04-24 Tom de Vries <tdevries@suse.de>
254 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
257 2020-04-24 Tom Tromey <tromey@adacore.com>
259 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
261 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
262 values. Update test for minimal encodings.
263 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
264 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
265 values. Update test for minimal encodings.
267 2020-04-24 Tom Tromey <tromey@adacore.com>
270 * gdb.ada/variant.exp: Add Python checks.
271 * gdb.rust/simple.exp: Add dynamic type checks.
273 2020-04-24 Tom Tromey <tromey@adacore.com>
275 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
276 Make array type matching more lax.
277 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
278 * gdb.ada/mi_variant.exp: New file.
279 * gdb.ada/mi_variant/pck.ads: New file.
280 * gdb.ada/mi_variant/pkg.adb: New file.
281 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
282 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
284 2020-04-24 Tom Tromey <tromey@adacore.com>
286 * gdb.ada/variant.exp: Add dynamic field offset tests.
287 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
288 * gdb.ada/variant/pkg.adb: Add new variables.
290 2020-04-24 Tom Tromey <tromey@adacore.com>
292 * gdb.ada/variant.exp: New file
293 * gdb.ada/variant/pkg.adb: New file
294 * gdb.ada/variant/pck.adb: New file
296 2020-04-24 Tom de Vries <tdevries@suse.de>
298 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
300 2020-04-24 Tom de Vries <tdevries@suse.de>
302 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
305 2020-04-24 Tom de Vries <tdevries@suse.de>
307 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
309 2020-04-24 Tom de Vries <tdevries@suse.de>
311 * lib/gdb.exp (default_gdb_start): Handle eof.
312 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
314 * gdb.base/readnever.exp: Handle clean_restart failure.
316 2020-04-23 Tom de Vries <tdevries@suse.de>
318 * gdb.base/decl-before-def.exp: Run to main and print a again.
320 2020-04-23 Tom de Vries <tdevries@suse.de>
322 * gdb.base/decl-before-def-decl.c: New test.
323 * gdb.base/decl-before-def-def.c: New test.
324 * gdb.base/decl-before-def.exp: New file.
326 2020-04-23 Tom de Vries <tdevries@suse.de>
328 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
330 2020-04-22 Tom de Vries <tdevries@suse.de>
332 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
334 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
335 before $objsfile in the line line.
337 2020-04-22 Tom de Vries <tdevries@suse.de>
339 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
341 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
343 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
344 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
345 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
346 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
347 * gdb.base/jit-protocol.h: Update definitions to match all usage
350 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
352 * gdb.base: Rename all jit related test and source files.
354 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
356 * gdb.base/jit-reader.exp: Relax register output check.
358 2020-04-22 Tom de Vries <tdevries@suse.de>
361 * gdb.base/psym-external-decl-2.c: New test.
362 * gdb.base/psym-external-decl.c: New test.
363 * gdb.base/psym-external-decl.exp: New file.
364 * gdb.threads/tls.exp: Add PR25807 kfail.
366 2020-04-22 Tom de Vries <tdevries@suse.de>
369 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
370 in "info source" output.
372 2020-04-22 Tom de Vries <tdevries@suse.de>
375 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
376 symtab for imported_unit.c.
378 2020-04-21 Gary Benson <gbenson@redhat.com>
380 * gdb.base/advance.c (func): New argument, to match call site.
381 (func2, func3): Add return statements.
383 2020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
385 * gdb.multi/run-only-second-inf.c: New file.
386 * gdb.multi/run-only-second-inf.exp: New file.
388 2020-04-21 Markus Metzger <markus.t.metzger@intel.com>
390 * gdb.btrace/multi-inferior.c: New test.
391 * gdb.btrace/multi-inferior.exp: New file.
393 2020-04-21 Markus Metzger <markus.t.metzger@intel.com>
395 * gdb.btrace/enable-new-thread.c: New test.
396 * gdb.btrace/enable-new-thread.exp: New file.
398 2020-04-21 Tom de Vries <tdevries@suse.de>
401 * gdb.threads/killed-outside.c: New test.
402 * gdb.threads/killed-outside.exp: New file.
404 2020-04-20 Gary Benson <gbenson@redhat.com>
406 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
407 * gdb.base/nested-subp2.exp: Likewise.
408 * gdb.base/nested-subp3.exp: Likewise.
410 2020-04-20 Gary Benson <gbenson@redhat.com>
412 * gdb.base/nested-subp1.exp: Disable test when using clang.
413 * gdb.base/nested-subp2.exp: Likewise.
414 * gdb.base/nested-subp3.exp: Likewise.
416 2020-04-20 Gary Benson <gbenson@redhat.com>
418 * gdb.cp/exception.cc: Fix compilation error with clang.
420 2020-04-20 Gary Benson <gbenson@redhat.com>
422 * gdb.trace/tspeed.c: Fix compilation error with clang.
424 2020-04-20 Gary Benson <gbenson@redhat.com>
426 * gdb.base/jit-main.c: Fix compilation error with clang.
428 2020-04-17 Kamil Rytarowski <n54@gmx.com>
430 * gdb.base/attach-twice.c: Include "sys/types.h".
431 (PTRACE_ATTACH): Add fallback definition.
432 (main): Pass `0' to the 4th argument of `ptrace'.
434 2020-04-17 Kamil Rytarowski <n54@gmx.com>
436 * gdb.base/fork-running-state.c: Include "signal.h".
438 2020-04-17 Tom Tromey <tromey@adacore.com>
440 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
442 * gdb.btrace/cpu.exp: Update tests.
443 * gdb.base/maint.exp: Update tests.
444 * gdb.base/default.exp: Update tests.
445 * gdb.base/completion.exp: Update tests.
447 2020-04-16 Tom de Vries <tdevries@suse.de>
450 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
451 (ensure_gdb_index): and factor out and move ...
452 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
453 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
455 2020-04-16 Tom de Vries <tdevries@suse.de>
457 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
460 2020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
462 * gdb.base/many-completions.exp: New file.
464 2020-04-14 Tom de Vries <tdevries@suse.de>
467 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
469 2020-04-14 Tom de Vries <tdevries@suse.de>
472 * gdb.base/maint-expand-symbols-header-file.c: New test.
473 * gdb.base/maint-expand-symbols-header-file.exp: New file.
474 * gdb.base/maint-expand-symbols-header-file.h: New test.
476 2020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
478 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
479 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
481 (get_func_info): Delete.
482 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
483 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
484 * lib/dwarf.exp (get_func_info): New function.
486 2020-04-13 Tom de Vries <tdevries@suse.de>
488 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
489 to what find_gnatmake does.
491 2020-04-10 Tom de Vries <tdevries@suse.de>
493 * gdb.base/style.exp: Expect "Expanding full symbols" message for
496 2020-04-10 Tom de Vries <tdevries@suse.de>
499 * gdb.base/style.c: Add leading newlines.
500 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
501 Check listing of main's one-line body.
503 2020-04-08 Tom de Vries <tdevries@suse.de>
505 * lib/gdb.exp (psymtabs_p): New proc.
506 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
507 importing unit" unsupported if there are no partial symbols.
509 2020-04-08 Tom de Vries <tdevries@suse.de>
512 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
514 2020-04-07 Tom de Vries <tdevries@suse.de>
517 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
519 2020-04-07 Tom de Vries <tdevries@suse.de>
521 * gdb.base/check-psymtab.c: New test.
522 * gdb.base/check-psymtab.exp: New file.
524 2020-04-06 Tom Tromey <tromey@adacore.com>
526 * gdb.ada/variant-record/proc.adb: New file.
527 * gdb.ada/variant-record/value.adb: New file.
528 * gdb.ada/variant-record/value.s: New file.
529 * gdb.ada/variant-record.exp: New file.
531 2020-04-03 Hannes Domani <ssbssa@yahoo.de>
534 * gdb.cp/typed-enum.cc: New test.
535 * gdb.cp/typed-enum.exp: New file.
537 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
539 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
540 * gdb.dwarf2/dw2-inline-small-func.c: New file.
541 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
542 * gdb.dwarf2/dw2-inline-small-func.h: New file.
543 * gdb.opt/inline-small-func.c: New file.
544 * gdb.opt/inline-small-func.exp: New file.
545 * gdb.opt/inline-small-func.h: New file.
547 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
549 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
552 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
554 * lib/dwarf.exp (function_range): Allow compiler options to be
557 2020-04-02 Tom de Vries <tdevries@suse.de>
559 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
560 __attribute__((always_inline)).
561 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
563 2020-04-02 Tom de Vries <tdevries@suse.de>
565 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
566 (gdbserver_gdb_exit): ... here. Add timeout warning.
567 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
568 (connect_target_extended_remote): Append new server_spawn_id to
571 (setup, <toplevel>): Call cleanup.
573 2020-04-02 Tom de Vries <tdevries@suse.de>
575 * gdb.base/main-psymtab.exp: New file.
577 2020-04-02 Tom de Vries <tdevries@suse.de>
579 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
581 2020-04-01 Tom Tromey <tom@tromey.com>
583 * gdb.base/complex-parts.exp: Add type tests.
585 2020-04-01 Tom Tromey <tom@tromey.com>
587 * gdb.base/complex-parts.exp: Add arithmetic tests.
589 2020-04-01 Tom Tromey <tom@tromey.com>
591 * gdb.compile/compile.exp: Update.
592 * gdb.compile/compile-cplus.exp: Update.
593 * gdb.base/varargs.exp: Update.
594 * gdb.base/floatn.exp: Update.
595 * gdb.base/endianity.exp: Update.
596 * gdb.base/callfuncs.exp (do_function_calls): Update.
597 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
598 (complex_float_integral_args): Update.
599 * gdb.base/complex.exp: Update.
600 * gdb.base/complex-parts.exp: Update.
602 2020-04-01 Tom Tromey <tromey@adacore.com>
604 * gdb.rust/union.rs: New file.
605 * gdb.rust/union.exp: New file.
606 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
608 * gdb.rust/simple.exp: Move union tests to union.exp.
610 2020-04-01 Tom Tromey <tromey@adacore.com>
612 * gdb.rust/simple.rs (main): Remove "y0".
614 2020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
616 * gdb.multi/stop-all-on-exit.c: New test.
617 * gdb.multi/stop-all-on-exit.exp: New file.
619 2020-04-01 Hannes Domani <ssbssa@yahoo.de>
622 * gdb.cp/misc.cc: Add integer reference variable.
623 * gdb.cp/misc.exp: Add test.
625 2020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
627 * gdb.server/stop-reply-no-thread.exp: Enhance the test
628 scenario to cover execution until the end and also the case
630 2020-03-31 Tom de Vries <tdevries@suse.de>
632 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
633 c. Use "maint info symtabs" to check symtab expansion.
635 2020-03-30 Tom de Vries <tdevries@suse.de>
637 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
639 (verify_psymtab_expanded): Move ...
640 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
644 2020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
646 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
649 2020-03-20 Tom Tromey <tromey@adacore.com>
651 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
653 2020-03-20 Tom Tromey <tromey@adacore.com>
655 * gdb.ada/sub_variant/subv.adb: New file.
656 * gdb.ada/sub_variant.exp: New file.
658 2020-03-20 Tom de Vries <tdevries@suse.de>
660 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
662 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
664 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
666 * gdb.server/exit-multiple-threads.c: New file.
667 * gdb.server/exit-multiple-threads.exp: New file.
669 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
671 * gdb.fortran/mixed-lang-stack.c: New file.
672 * gdb.fortran/mixed-lang-stack.cpp: New file.
673 * gdb.fortran/mixed-lang-stack.exp: New file.
674 * gdb.fortran/mixed-lang-stack.f90: New file.
676 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
678 * gdb.linespec/cp-completion-aliases.cc: New file.
679 * gdb.linespec/cp-completion-aliases.exp: New file.
681 2020-03-19 Tom de Vries <tdevries@suse.de>
683 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
686 2020-03-18 Tom de Vries <tdevries@suse.de>
688 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
689 * gdb.dwarf2/break-inline-psymtab.c: New test.
690 * gdb.dwarf2/break-inline-psymtab.exp: New file.
692 2020-03-16 Tom de Vries <tdevries@suse.de>
694 * lib/cache.exp (gdb_do_cache): Add and handle local variables
695 cache_verify and cache_verify_proc.
697 2020-03-15 Tom de Vries <tdevries@suse.de>
699 * gdb.server/solib-list.exp: Handle
700 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
702 2020-03-15 Tom de Vries <tdevries@suse.de>
704 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
707 2020-03-14 Tom Tromey <tom@tromey.com>
709 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
711 2020-03-14 Tom de Vries <tdevries@suse.de>
713 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
715 2020-03-14 Tom de Vries <tdevries@suse.de>
717 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
718 result in line-by-line fashion.
720 2020-03-14 Tom de Vries <tdevries@suse.de>
722 * lib/gdb.exp (supports_statement_frontiers): New proc.
723 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
725 2020-03-14 Tom de Vries <tdevries@suse.de>
727 * gdb.base/printcmds.exp: Add missing quoting for "print
730 2020-03-13 Tom Tromey <tom@tromey.com>
732 * gdb.base/printcmds.exp (test_print_strings): Add regression
734 * gdb.base/printcmds.c (charptr): New typedef.
735 (teststring2): New global.
737 2020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
739 * gdb.base/break-interp.exp: Use the tail of the filename, not the
740 full path in the test name.
741 (test_ld): Add some with_test_prefix blocks to make test names
744 2020-03-13 Tom de Vries <tdevries@suse.de>
746 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
748 2020-03-13 Tom de Vries <tdevries@suse.de>
750 * gdb.mi/mi-sym-info.exp: Make matching more precise.
752 2020-03-13 Tom de Vries <tdevries@suse.de>
755 * gdb.dwarf2/imported-unit.exp: Add test.
757 2020-03-13 Tom de Vries <tdevries@suse.de>
759 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
760 (var1, var2): New variable.
761 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
764 2020-03-13 Tom de Vries <tdevries@suse.de>
766 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
767 (Term::command): Use prompt prefix.
768 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
769 * gdb.tui/tui-layout-asm-short-prog.exp: Use
770 command_no_prompt_prefix instead of prefix.
771 * gdb.tui/tui-layout-asm.exp: Same.
773 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
775 * gdb.base/break-interp.exp: Use foreach_with_prefix.
777 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
779 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
780 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
781 on" while stepping over the test instruction, match printed
784 2020-03-12 Tom de Vries <tdevries@suse.de>
786 * gdb.base/info-types.exp: Use exp_continue during matching of output
789 2020-03-12 Tom de Vries <tdevries@suse.de>
791 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
793 2020-03-12 Tom de Vries <tdevries@suse.de>
795 * gdb.fortran/module.exp: Use exp_continue during matching of output
796 of "info variable -n".
798 2020-03-12 Tom de Vries <tdevries@suse.de>
800 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
801 gdb.dwarf2/dw2-ranges-base.c.
803 2020-03-12 Tom de Vries <tdevries@suse.de>
805 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
806 in presence of GLIBC debuginfo.
808 2020-03-12 Tom de Vries <tdevries@suse.de>
810 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
813 2020-03-12 Tom de Vries <tdevries@suse.de>
815 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
818 2020-03-11 Simon Marchi <simon.marchi@efficios.com>
820 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
821 from Unix to Windows path.
823 2020-03-11 Tom de Vries <tdevries@suse.de>
825 * gdb.ada/minsyms.exp: Set language to ada.
827 2020-03-11 Tom de Vries <tdevries@suse.de>
829 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
831 2020-03-11 Tom de Vries <tdevries@suse.de>
833 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
835 2020-03-11 Tom Tromey <tromey@adacore.com>
837 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
839 2020-03-11 Tom de Vries <tdevries@suse.de>
841 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
843 2020-03-11 Tom de Vries <tdevries@suse.de>
845 * gdb.base/break-interp.exp: Limit verbose scope.
847 2020-03-11 Tom de Vries <tdevries@suse.de>
849 * gdb.fortran/logical.f90: Define variable with character type.
850 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
852 2020-03-11 Tom de Vries <tdevries@suse.de>
854 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
856 2020-03-11 Tom de Vries <tdevries@suse.de>
858 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
861 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
862 Bernd Edlinger <bernd.edlinger@hotmail.de>
864 * gdb.cp/step-and-next-inline.cc: New file.
865 * gdb.cp/step-and-next-inline.exp: New file.
866 * gdb.cp/step-and-next-inline.h: New file.
867 * gdb.dwarf2/dw2-is-stmt.c: New file.
868 * gdb.dwarf2/dw2-is-stmt.exp: New file.
869 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
870 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
871 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
873 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
875 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
876 is-stmt flag in the line table.
878 2020-03-09 Tom de Vries <tdevries@suse.de>
880 * lib/gdb.exp (cached_file): Create cache dir.
882 2020-03-07 Tom de Vries <tdevries@suse.de>
884 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
885 * gdb.cp/rvalue-ref-params.exp: Same.
887 2020-03-06 Tom de Vries <tdevries@suse.de>
889 * lib/gdb.exp (tentative_rename, cached_file): New proc.
890 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
892 2020-03-06 Tom de Vries <tdevries@suse.de>
894 * README: Fix "the the".
895 * gdb.base/dprintf.exp: Same.
897 2020-03-05 Tom de Vries <tdevries@suse.de>
899 * gdb.base/maint.exp: Update "main print statistics" expected output.
901 2020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
903 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
904 (fortran_int8): Likewise.
905 (fortran_real4): Likewise.
906 (fortran_real8): Likewise.
907 (fortran_complex4): Likewise.
908 (fortran_logical4): Likewise.
909 (fortran_character1): Likewise.
911 2020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
913 * gdb.fortran/logical.exp: Add tests that any non-zero value is
916 2020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
918 * gdb.base/printcmds.exp: Add test to verify printf of a
919 variable holding an address.
921 2020-03-03 Tom de Vries <tdevries@suse.de>
923 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
925 2020-03-03 Tom de Vries <tdevries@suse.de>
927 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
928 gdb_test_multiple call.
930 2020-03-03 Tom de Vries <tdevries@suse.de>
932 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
933 gdb_test_multiple calls.
935 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
937 * gdb.base/default.exp: Remove test of 'set history filename'.
938 * gdb.base/gdbinit-history.exp: Add tests for setting the history
939 filename to the empty string.
940 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
943 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
945 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
948 2020-03-02 Pedro Alves <palves@redhat.com>
949 Tom de Vries <tdevries@suse.de>
951 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
952 -prompt prefix, before user_code argument. Add -lbl option likewise.
953 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
954 (gdb_is_target_1): Add -prompt prefix and move to before user_code
956 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
957 have "\r\n" at start-of-line, instead of at end-of-line.
959 2020-02-28 Simon Marchi <simon.marchi@efficios.com>
961 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
964 2020-02-28 Luis Machado <luis.machado@linaro.org>
966 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
969 2020-02-28 Luis Machado <luis.machado@linaro.org>
971 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
972 asm/ptrace.h and error.h.
974 2020-02-28 Tom de Vries <tdevries@suse.de>
976 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
977 (struct wrapper, do_something, mundane/symada__cS): Move ...
978 * gdb.base/c-linkage-name-2.c: ... here. New source file.
979 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
980 Update "print symada__cS before partial symtab expansion" regexp.
981 Update breakpoint location. Flush symbol cache after expansion.
983 2020-02-28 Luis Machado <luis.machado@linaro.org>
985 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
987 2020-02-27 Tom de Vries <tdevries@suse.de>
989 * config/sid.exp: Remove unused globals.
990 * gdb.base/attach.exp: Same.
991 * gdb.base/catch-load.exp: Same.
992 * gdb.base/dbx.exp: Same.
994 * lib/mi-support.exp: Same.
995 * lib/prompt.exp: Same.
997 2020-02-27 Tom de Vries <tdevries@suse.de>
999 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
1002 2020-02-26 Aaron Merey <amerey@redhat.com>
1004 * gdb.debuginfod: New directory for debuginfod tests.
1005 * gdb.debuginfod/main.c: New test file.
1006 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
1008 2020-02-26 Tom de Vries <tdevries@suse.de>
1011 * gdb.base/persistent-lang.cc: New test.
1012 * gdb.base/persistent-lang.exp: New file.
1014 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1016 * gdb.fortran/derived-type-striding.exp: Add a new test.
1017 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
1020 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1022 * gdb.base/cached-source-file.exp: Avoid source file paths in test
1025 2020-02-25 Tom de Vries <tdevries@suse.de>
1028 * gdb.go/methods.exp: Remove gcc/93866 xfail.
1030 2020-02-24 Tom de Vries <tdevries@suse.de>
1033 * gdb.base/info-locals-unused-static-var.c: New test.
1034 * gdb.base/info-locals-unused-static-var.exp: New file.
1036 2020-02-22 Tom Tromey <tom@tromey.com>
1038 * gdb.python/tui-window.exp: New file.
1039 * gdb.python/tui-window.py: New file.
1041 2020-02-22 Tom Tromey <tom@tromey.com>
1044 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
1047 2020-02-22 Tom Tromey <tom@tromey.com>
1049 * gdb.tui/new-layout.exp: Add sub-layout tests.
1051 2020-02-22 Tom Tromey <tom@tromey.com>
1053 * gdb.tui/new-layout.exp: New file.
1055 2020-02-22 Tom Tromey <tom@tromey.com>
1057 * gdb.rust/rust-style.rs: New file.
1058 * gdb.rust/rust-style.exp: New file.
1059 * gdb.base/style.exp: Test structure printing.
1060 * gdb.base/style.c (struct some_struct): New type.
1061 (enum etype): New type.
1062 (struct_value): New global.
1064 2020-02-21 Tom de Vries <tdevries@suse.de>
1067 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
1068 Remove blanket xfails. Use message argument for gdb_breakpoint.
1069 Make continuing to breakpoint test conditional on setting breakpoint.
1070 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
1071 DW_AT_name attribute. Add xfail for GCC PR93866.
1073 2020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
1075 * gdb.dwarf2/cpp-linkage-name.c: New file.
1076 * gdb.dwarf2/cpp-linkage-name.exp: New file.
1078 2020-02-21 Shahab Vahedi <shahab@synopsys.com>
1080 * lib/gdb.exp (gdb_wrapper_init): Reset
1081 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
1084 2020-02-20 Tom de Vries <tdevries@suse.de>
1087 * gdb.go/hello.exp: Copy ...
1088 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
1089 print of st to print value of global definition. Add xfail for GCC
1091 * gdb.go/hello.exp: Remove printing of st before definition.
1092 * gdb.go/hello.go: Copy ...
1093 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
1095 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
1097 2020-02-20 Tom de Vries <tdevries@suse.de>
1099 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
1100 (gdb_simple_compile): Handle compile_flags go by using .go extension
1102 * gdb.go/chan.exp: Use support_go_compile.
1103 * gdb.go/handcall.exp: Same.
1104 * gdb.go/hello.exp: Same.
1105 * gdb.go/integers.exp: Same.
1106 * gdb.go/max-depth.exp: Same.
1107 * gdb.go/methods.exp: Same.
1108 * gdb.go/package.exp: Same.
1109 * gdb.go/strings.exp: Same.
1110 * gdb.go/types.exp: Same.
1111 * gdb.go/unsafe.exp: Same.
1113 2020-02-19 Tom de Vries <tdevries@suse.de>
1115 * gdb.python/lib-types.exp: Make xfail more strict.
1117 2020-02-19 Tom de Vries <tdevries@suse.de>
1119 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
1121 2020-02-19 Doug Evans <dje@google.com>
1124 * gdb.rust/simple.exp: Add test.
1125 * gdb.rust/simple.rs: Add test.
1127 2020-02-19 Tom de Vries <tdevries@suse.de>
1129 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
1130 output line-by-line.
1132 2020-02-19 Tom de Vries <tdevries@suse.de>
1134 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
1136 2020-02-19 Tom de Vries <tdevries@suse.de>
1138 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
1141 2020-02-19 Tom de Vries <tdevries@suse.de>
1143 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
1144 (gdb_do_cache): Use gdb_do_cache_wrap.
1145 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
1147 2020-02-19 Tom de Vries <tdevries@suse.de>
1149 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
1152 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
1154 * gdb.base/printcmds.exp (test_print_enums): Update expected
1157 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
1159 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
1162 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
1164 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
1167 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
1169 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
1172 (enum flag_enum_without_zero): New enum.
1173 (flag_enum_without_zero): New variable.
1174 (enum not_flag_enum): New enum.
1175 (three_not_flag): New variable.
1176 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
1177 (test_print_enums): Add more tests for printing flag enums.
1179 2020-02-18 Tom de Vries <tdevries@suse.de>
1181 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
1182 (gdb_compile_ada): ... here.
1183 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
1184 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
1186 2020-02-14 Tom Tromey <tom@tromey.com>
1188 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
1190 * boards/gdbserver-base.exp: Update path to gdbserver.
1192 2020-02-13 Tom de Vries <tdevries@suse.de>
1194 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
1196 2020-02-13 Tom de Vries <tdevries@suse.de>
1198 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
1201 2020-02-13 Tom de Vries <tdevries@suse.de>
1203 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
1206 2020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
1209 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
1210 * gdb.base/cached-source-file.c: New file.
1211 * gdb.base/cached-source-file.exp: New file.
1213 2020-02-11 Tom de Vries <tdevries@suse.de>
1216 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
1218 2020-02-10 Tom de Vries <tdevries@suse.de>
1220 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
1222 2020-02-10 Maciej W. Rozycki <macro@wdc.com>
1224 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
1225 and $after_addr are both integers before making a comparison.
1227 2020-02-09 Tom de Vries <tdevries@suse.de>
1229 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
1230 command output and paste it into gdb.log. If any, paste catch message
1233 2020-02-07 Tom Tromey <tromey@adacore.com>
1235 PR breakpoints/24915:
1236 * gdb.base/annotate-symlink.exp: Use setup_xfail.
1238 2020-02-06 Shahab Vahedi <shahab@synopsys.com>
1240 * gdb.tui/tui-missing-src.exp: Add the "missing source
1241 file" test for the TUI.
1243 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
1245 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
1246 including a port number in the output.
1248 2020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
1250 * lib/fortran.exp (fortran_int4): Handle clang.
1251 (fortran_int8): Likewise.
1252 (fortran_real4): Likewise.
1253 (fortran_real8): Likewise.
1254 (fortran_complex4): Likewise.
1255 (fortran_logical4): Likewise.
1256 (fortran_character1): Likewise.
1258 2020-02-04 Tom de Vries <tdevries@suse.de>
1260 * README (Race detection): Add note.
1262 2020-02-04 Tom de Vries <tdevries@suse.de>
1264 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
1266 2020-02-04 Tom de Vries <tdevries@suse.de>
1268 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
1270 2020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
1272 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
1273 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
1274 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
1276 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
1277 binary for blttar, bnetarl.
1278 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
1279 wait instruction. Delete ldmx test.
1280 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
1282 2020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1284 * gdb.fortran/array-bounds-high.exp: New file.
1285 * gdb.fortran/array-bounds-high.f90: New file.
1287 2020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
1289 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
1290 Replace #include of <sys/fcntl.h> by <fcntl.h>.
1292 2020-02-01 Tom de Vries <tdevries@suse.de>
1294 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
1296 2020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
1299 * gdb.tui/tui-layout-asm-short-prog.S: New file.
1300 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
1302 2020-01-29 Luis Machado <luis.machado@linaro.org>
1304 * gdb.arch/aarch64-brk-patterns.c: New source file.
1305 * gdb.arch/aarch64-brk-patterns.exp: New test.
1307 2020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1309 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
1311 * gdb.cp/pass-by-ref.exp: Ditto.
1313 2020-01-29 Tom de Vries <tdevries@suse.de>
1315 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
1316 * gdb.threads/watchpoint-fork-mt.c: Same.
1317 * gdb.threads/watchpoint-fork-parent.c: Same.
1318 * gdb.threads/watchpoint-fork-st.c: Same.
1319 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
1321 2020-01-27 Luis Machado <luis.machado@linaro.org>
1323 * gdb.base/step-over-syscall.exp (setup): Check if we're already
1324 sitting at a syscall instruction when we hit the syscall function's
1326 Check PC against one obtained with the x command.
1327 Validate syscall number.
1328 (step_over_syscall): Don't continue to the syscall instruction if
1329 we're already there.
1331 2020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1333 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
1335 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
1337 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
1338 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
1340 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
1342 * gdb.dwarf2/dw2-inline-stepping.c: New file.
1343 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
1345 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
1347 * gdb.base/maint.exp: Update line table parsing test.
1348 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
1350 2020-01-24 Pedro Alves <palves@redhat.com>
1353 * gdb.multi/multi-re-run-1.c: New.
1354 * gdb.multi/multi-re-run-2.c: New.
1355 * gdb.multi/multi-re-run.exp: New.
1357 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
1360 * gdb.server/server-kill-python.exp: New file.
1362 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
1364 * gdb.server/multi-ui-errors.c: New file.
1365 * gdb.server/multi-ui-errors.exp: New file.
1367 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
1370 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
1372 2020-01-19 Tom Tromey <tom@tromey.com>
1374 * gdb.tui/main.exp: Add check for plain "file".
1376 2020-01-16 Christian Biesinger <cbiesinger@google.com>
1378 * lib/gdb.exp: Fix spelling error (seperatelly).
1380 2020-01-14 Tom Tromey <tom@tromey.com>
1383 * gdb.python/python.exp: Test decode_line with empty string
1386 2020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
1388 * gdb.base/skip-inline.exp: Extend test.
1390 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
1392 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
1393 * gdb.dwarf2/dw2-bad-elf.c: New file.
1394 * gdb.dwarf2/dw2-bad-elf.exp: New file.
1396 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
1398 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
1401 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
1403 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
1406 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1408 * gdb.multi/multi-target.exp (setup): Factor out "info
1409 connections" and "info inferiors" tests to ...
1410 (test_info_inferiors): ... this new procedure.
1411 (top level): Run new "info-inferiors" tests.
1413 2020-01-10 Pedro Alves <palves@redhat.com>
1415 * gdb.server/bkpt-other-inferior.exp: New file.
1417 2020-01-10 Pedro Alves <palves@redhat.com>
1419 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
1421 * gdb.base/quit-live.exp: Likewise.
1422 * gdb.base/remote-exec-file.exp: Likewise.
1423 * gdb.guile/scm-progspace.exp: Likewise.
1424 * gdb.linespec/linespec.exp: Likewise.
1425 * gdb.mi/new-ui-mi-sync.exp: Likewise.
1426 * gdb.mi/user-selected-context-sync.exp: Likewise.
1427 * gdb.multi/multi-target.exp (setup): Add "info connection" and
1428 "info inferiors" tests.
1429 * gdb.multi/remove-inferiors.exp: Adjust expected output of
1431 * gdb.multi/watchpoint-multi.exp: Likewise.
1432 * gdb.python/py-inferior.exp: Likewise.
1433 * gdb.server/extended-remote-restart.exp: Likewise.
1434 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
1436 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
1437 * gdb.trace/report.exp: Likewise.
1439 2020-01-10 Pedro Alves <palves@redhat.com>
1441 * gdb.multi/multi-target.c: New file.
1442 * gdb.multi/multi-target.exp: New file.
1443 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
1444 mode requested, but remote does not support non-stop".
1446 2020-01-10 Pedro Alves <palves@redhat.com>
1448 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
1449 disconnect before reconnecting.
1451 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1452 Pedro Alves <palves@redhat.com>
1454 * gdb.server/connect-without-multi-process.exp: Also test
1457 2020-01-10 Pedro Alves <palves@redhat.com>
1459 * gdb.base/remote-exec-file.exp: New file.
1461 2020-01-10 Pedro Alves <palves@redhat.com>
1463 * gdb.base/fork-running-state.exp (do_test): Adjust expected
1465 * gdb.threads/async.c: New.
1466 * gdb.threads/async.exp: New.
1467 * gdb.multi/tids-gid-reset.c: New.
1468 * gdb.multi/tids-gid-reset.exp: New.
1470 2020-01-10 George Barrett <bob@bob131.so>
1472 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
1473 to help in finding the image relocation offset.
1474 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
1475 options in arguments.
1476 (stap_test_no_debuginfo): Likewise.
1477 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
1479 (stap_test): Add null semaphore relocation test.
1481 2020-01-10 George Barrett <bob@bob131.so>
1483 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
1484 * gdb.base/stap-probe.exp: Likewise.
1485 (stap_test): Pass argument as an additional flag.
1486 (stap_test_no_debuginfo): Likewise.
1487 (stap_test): Check `info probes stap' output for semaphore
1488 addresses if the test binary is supposed to have them.
1490 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1492 * gdb.tui/basic.exp: Add more scrolling tests.
1494 2020-01-09 Tom Tromey <tom@tromey.com>
1497 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
1499 (Term::command, Term::resize): Update.
1500 * gdb.tui/basic.exp: Add scrolling test.
1502 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1504 * gdb.tui/tui-layout-asm.exp: New file.
1506 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1508 * lib/tuiterm.exp (Term::check_box_contents): New proc.
1510 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1512 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
1513 (Term::enter_tui): Use Term::prepare_for_tui.
1515 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1517 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
1520 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1522 * gdb.base/skip.exp: Fix race condition in test.
1524 2020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
1526 * gdb.base/backtrace.c: New file.
1527 * gdb.base/backtrace.exp: New file.
1529 2020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
1531 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
1533 2020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1535 * gdb.base/style.exp: Test that warnings are styled.
1537 2019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
1539 * gdb.base/line65535.exp: New file.
1540 * gdb.base/line65535.c: New file.
1542 2019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
1544 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
1545 * lib/gnat_debug_info_test.adb: New file.
1546 * gdb.ada/ptype_tagged_param.exp: Use
1547 gnat_runtime_has_debug_info, expect a different output if
1548 runtime does not have debug info.
1550 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
1552 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
1553 (another) quote in test name.
1555 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
1557 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
1558 Add quote in test name.
1560 2019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1562 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
1564 * gdb.cp/pass-by-ref.exp: Extend with more cases.
1565 * gdb.cp/pass-by-ref-2.cc: New file.
1566 * gdb.cp/pass-by-ref-2.exp: New file.
1568 2019-12-20 Tom Tromey <tom@tromey.com>
1570 * gdb.tui/list-before.exp: New file.
1572 2019-12-20 Tom Tromey <tom@tromey.com>
1574 * gdb.tui/list.exp: Check for source on initial listing.
1576 2019-12-11 Tom Tromey <tromey@adacore.com>
1578 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
1581 2019-12-18 Simon Marchi <simon.marchi@efficios.com>
1583 * gdb.base/default.exp: Update value of $_gdb_major.
1585 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
1587 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
1589 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
1591 * gdb.base/skip.exp: Whitespace fix.
1593 2019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
1595 * gdb.base/skip-inline.c: New file.
1596 * gdb.base/skip-inline.exp: New file.
1598 2019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
1600 * gdb.base/jit-reader.exp (jit_reader_test): Rename
1601 jit_function_00 to jit_function_stack_mangle.
1602 * gdb.base/jithost.c (jit_function_t): Rename to...
1603 (jit_function_stack_mangle_t): ... this.
1604 (jit_function_add_t): New typedef.
1605 (jit_function_00_code): Rename to...
1606 (jit_function_stack_mangle_code): ... this, make static.
1607 (jit_function_add_code): New.
1608 (main): Generate "add" function and call it. Adjust to changes
1610 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
1611 (struct jithost_abi) <begin, end>: Remove fields.
1612 <object, function_stack_mangle, function_add>: New fields.
1613 * gdb.base/jitreader.c (struct reader_state) <code_begin,
1614 code_end>: Remove fields.
1615 <func_stack_mangle>: New field.
1616 (read_debug_info): Adjust to renaming, create block for "add"
1618 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
1620 2019-12-11 Tom Tromey <tom@tromey.com>
1622 * gdb.tui/resize.exp: Fix regexp.
1623 * gdb.tui/regs.exp: Fix regexps.
1624 * gdb.tui/main.exp: Fix regexp.
1626 2019-12-11 Tom Tromey <tom@tromey.com>
1628 * gdb.tui/resize.exp: Update.
1629 * gdb.tui/empty.exp (layouts): Update.
1631 2019-12-11 Tom Tromey <tom@tromey.com>
1633 * gdb.tui/regs.exp: Update.
1634 * gdb.tui/empty.exp (layouts): Update.
1635 * gdb.tui/basic.exp: Update.
1636 * lib/tuiterm.exp (_check_box): Don't check bottom border.
1638 2019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1640 * gdb.base/options.exp: Add -raw-values in the print completion list.
1641 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
1643 2019-12-10 Kevin Buettner <kevinb@redhat.com>
1645 * gdb.threads/omp-par-scope.c: New file.
1646 * gdb/threads/omp-par-scope.exp: New file.
1648 2019-12-10 Kevin Buettner <kevinb@redhat.com>
1650 * lib/gdb.exp (support_nested_function_tests): New proc.
1652 2019-12-10 Kevin Buettner <kevinb@redhat.com>
1654 * lib/gdb.exp (gdb_compile_openmp): New proc.
1655 (build_executable_from_specs): Add an "openmp" option.
1656 (gdb_compile_pthreads): Add non-executable case.
1658 2019-12-10 Tom Tromey <tromey@adacore.com>
1660 * gdb.ada/unchecked_union.exp: New file.
1661 * gdb.ada/unchecked_union/pck.adb: New file.
1662 * gdb.ada/unchecked_union/pck.ads: New file.
1663 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
1664 * gdb-utils.exp (string_to_regexp): Also quote "?".
1666 2019-12-10 George Barrett <bob@bob131.so>
1668 Test scripted probe breakpoints.
1669 * gdb.guile/scm-breakpoint.c (main): Add probe point.
1670 * gdb.python/py-breakpoint.c (main): Likewise.
1671 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
1673 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
1675 2019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1677 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
1678 an rvalue parameter.
1679 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
1682 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1684 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
1687 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1689 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
1690 broken version of GCC.
1692 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
1694 * gdb.fortran/info-modules.exp: Rewrite to make use of new
1695 sym-info-cmds library.
1696 * gdb.fortran/info-types.exp: Likewise.
1697 * lib/sym-info-cmds.exp: New file.
1699 2019-12-08 Tom de Vries <tdevries@suse.de>
1701 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
1703 2019-12-07 Keith Seitz <keiths@redhat.com>
1705 * gdb.base/corefile-buildid-shlib-shr.c: New file.
1706 * gdb.base/corefile-buildid-shlib.c: New file.
1707 * gdb.base/corefile-buildid.c: New file.
1708 * gdb.base/corefile-buildid.exp: New file.
1710 2019-12-06 Tom de Vries <tdevries@suse.de>
1712 * gdb.dwarf2/varval.exp: Add decl before def test.
1714 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1716 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
1718 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1720 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
1721 CV and reference conversion for overload resolution.
1722 * gdb.cp/rvalue-ref-overload.exp: Test it.
1724 2019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1726 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
1727 * gdb.base/frameapply.exp: Test faas without command.
1729 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1731 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
1733 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
1736 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1738 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
1739 casting to type with no kind specified.
1740 (test_basic_parsing_of_type_kinds): Additional tests for types
1741 with no kind specified, and add tests for single/double
1742 precision/complex types.
1744 2019-12-04 Tom Tromey <tromey@adacore.com>
1746 * gdb.base/endianity.c (struct other) <x>: New field.
1747 (main): Initialize it.
1748 * gdb.base/endianity.exp: Update.
1750 2019-12-04 Tom Tromey <tromey@adacore.com>
1752 * gdb.ada/scalar_storage/storage.adb: New file.
1753 * gdb.ada/scalar_storage/pck.adb: New file.
1754 * gdb.ada/scalar_storage/pck.ads: New file.
1755 * gdb.ada/scalar_storage.exp: New file.
1757 2019-12-04 Tom Tromey <tromey@adacore.com>
1759 * gdb.base/endianity.c (struct otherendian) <f>: New field.
1760 (main): Initialize it.
1761 * gdb.base/endianity.exp: Update.
1763 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1765 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
1767 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
1769 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
1770 -symbol-info-module-functions and -symbol-info-module-variables.
1772 2019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
1774 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
1776 2019-12-01 Richard Bunt <richard.bunt@arm.com>
1777 Andrew Burgess <andrew.burgess@embecosm.com>
1779 * gdb.fortran/derived-type-striding.exp: New file.
1780 * gdb.fortran/derived-type-striding.f90: New file.
1781 * gdb.fortran/array-slices.exp: New file.
1782 * gdb.fortran/array-slices.f90: New file.
1784 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1786 * gdb.base/define.exp: Test . in command names.
1787 * gdb.base/setshow.exp: Update test, as . is now part of
1790 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1792 * gdb.base/define-prefix.exp: New file.
1794 2019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
1796 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
1798 (skip_btrace_pt_tests): Likewise.
1800 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1802 * gdb.fortran/info-modules.exp: Compile source files in correct
1805 2019-11-27 Kevin Buettner <kevinb@redhat.com>
1807 * gdb.dwarf2/imported-unit.exp: New file.
1808 * gdb.dwarf2/imported-unit.c: New file.
1810 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1812 * gdb.mi/mi-fortran-modules-2.f90: New file.
1813 * gdb.mi/mi-fortran-modules.exp: New file.
1814 * gdb.mi/mi-fortran-modules.f90: New file.
1816 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
1818 * gdb.mi/mi-sym-info-1.c: New file.
1819 * gdb.mi/mi-sym-info-2.c: New file.
1820 * gdb.mi/mi-sym-info.exp: New file.
1822 2019-11-22 Tom Tromey <tromey@adacore.com>
1824 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
1825 * gdb.ada/tasks/foo.adb: Add another stopping location.
1827 2019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
1829 * gdb.base/endianity.c: New test.
1830 * gdb.base/endianity.exp: New file.
1832 2019-11-21 Lukas Durfina <ldurfina@tachyum.com>
1834 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
1836 2019-11-21 Tom de Vries <tdevries@suse.de>
1839 * gdb.base/ui-redirect.exp: Test output of user-defined command.
1841 2019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1843 * gdb.python/py-progspace.exp: Add missing parentheses on some
1846 2019-11-19 Tom Tromey <tom@tromey.com>
1848 * gdb.tui/winheight.exp: New file.
1850 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1852 * gdb.base/ctf-whatis.c: Delete.
1853 * gdb.base/ctf-whatis.exp: Delete.
1854 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
1856 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1858 * gdb.base/ctf-cvexpr.exp: Delete.
1859 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
1861 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
1863 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
1864 the compiler. Clean up header comment a little.
1865 * gdb.base/ctf-ptype.exp: Likewise.
1866 * gdb.base/ctf-whatis.exp: Likewise.
1867 * lib/gdb.exp (skip_ctf_tests): New proc.
1869 2019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
1871 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
1872 * gdb.tui/corefile-run.exp: New file.
1874 2019-11-14 Tom Tromey <tromey@adacore.com>
1876 * gdb.base/gdbvars.exp (test_convenience_variables): Add
1879 2019-11-12 Tom Tromey <tom@tromey.com>
1881 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
1882 after any command. Expect prompt after WAIT_FOR is seen.
1883 (enter_tui): Enable resize messages.
1884 (command): Expect command in output.
1885 (get_line): Avoid error when cursor appears to be off-screen.
1886 (dump_screen): Include screen size in title.
1887 (_do_resize): New proc, from "resize".
1888 (resize): Rewrite. Do resize in two steps.
1889 * gdb.tui/empty.exp (layouts): Fix entries.
1890 (check_boxes): Remove xfail.
1891 (check_text): Dump screen on failure.
1893 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
1895 * gdb.python/py-symbol.exp: Add test for
1896 gdb.lookup_static_symbols.
1898 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
1900 * gdb.python/py-symbol.c: Declare and call function from new
1902 * gdb.python/py-symbol.exp: Compile both source files, and add new
1903 tests for gdb.lookup_static_symbol.
1904 * gdb.python/py-symbol-2.c: New file.
1906 2019-11-02 Tom de Vries <tdevries@suse.de>
1908 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
1909 * gdb.base/anon.exp: Same.
1910 * gdb.base/auto-connect-native-target.exp: Same.
1911 * gdb.base/call-ar-st.exp: Same.
1912 * gdb.base/catch-syscall.exp: Same.
1913 * gdb.base/commands.exp: Same.
1914 * gdb.base/default.exp: Same.
1915 * gdb.base/display.exp: Same.
1916 * gdb.base/float.exp: Same.
1917 * gdb.base/foll-fork.exp: Same.
1918 * gdb.base/help.exp: Same.
1919 * gdb.base/info-macros.exp: Same.
1920 * gdb.base/info-proc.exp: Same.
1921 * gdb.base/info-target.exp: Same.
1922 * gdb.base/long_long.exp: Same.
1923 * gdb.base/macscp.exp: Same.
1924 * gdb.base/memattr.exp: Same.
1925 * gdb.base/nofield.exp: Same.
1926 * gdb.base/pointers.exp: Same.
1927 * gdb.base/printcmds.exp: Same.
1928 * gdb.base/ptype.exp: Same.
1929 * gdb.base/restore.exp: Same.
1930 * gdb.base/return.exp: Same.
1931 * gdb.base/scope.exp: Same.
1932 * gdb.base/set-noassign.exp: Same.
1933 * gdb.base/setshow.exp: Same.
1934 * gdb.base/shlib-call.exp: Same.
1935 * gdb.base/signals.exp: Same.
1936 * gdb.base/sigstep.exp: Same.
1937 * gdb.base/skip.exp: Same.
1938 * gdb.base/solib-symbol.exp: Same.
1939 * gdb.base/stap-probe.exp: Same.
1940 * gdb.base/step-line.exp: Same.
1941 * gdb.base/step-test.exp: Same.
1942 * gdb.base/style.exp: Same.
1943 * gdb.base/varargs.exp: Same.
1944 * gdb.base/vla-datatypes.exp: Same.
1945 * gdb.base/vla-ptr.exp: Same.
1946 * gdb.base/vla-sideeffect.exp: Same.
1947 * gdb.base/volatile.exp: Same.
1948 * gdb.base/watch-cond-infcall.exp: Same.
1949 * gdb.base/watchpoint.exp: Same.
1951 2019-11-02 Tom de Vries <tdevries@suse.de>
1953 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
1954 * gdb.cp/cpexprs.exp: Same.
1955 * gdb.cp/except-multi-location.exp: Same.
1956 * gdb.cp/exceptprint.exp: Same.
1957 * gdb.cp/gdb2384.exp: Same.
1958 * gdb.cp/inherit.exp: Same.
1959 * gdb.cp/m-static.exp: Same.
1960 * gdb.cp/meth-typedefs.exp: Same.
1961 * gdb.cp/misc.exp: Same.
1962 * gdb.cp/namespace.exp: Same.
1963 * gdb.cp/non-trivial-retval.exp: Same.
1964 * gdb.cp/overload.exp: Same.
1965 * gdb.cp/pr17132.exp: Same.
1966 * gdb.cp/re-set-overloaded.exp: Same.
1967 * gdb.cp/rvalue-ref-types.exp: Same.
1968 * gdb.cp/templates.exp: Same.
1970 2019-11-01 Luis Machado <luis.machado@linaro.org>
1974 * gdb.arch/pr25124.S: New file.
1975 * gdb.arch/pr25124.exp: New file.
1977 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1979 * gdb.fortran/info-modules.exp: Update expected results, and add
1980 additional tests for 'info module functinos', and 'info module
1982 * gdb.fortran/info-types.exp: Update expected results.
1983 * gdb.fortran/info-types.f90: Extend testcase with additional
1984 module variables and functions.
1986 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1988 * gdb.fortran/info-modules.exp: New file.
1989 * gdb.fortran/info-types.exp: Build with new file.
1990 * gdb.fortran/info-types.f90: Include and use new module.
1991 * gdb.fortran/info-types-2.f90: New file.
1993 2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1995 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
1996 * gdb.base/settings.exp: Test all settings types using
1997 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
1998 that now verifies that the value of "maint show" is the same as
1999 returned by the settings functions. Test the type of the
2000 maintenance settings.
2001 * gdb.base/default.exp: Update show_conv_list.
2003 2019-10-31 Tom de Vries <tdevries@suse.de>
2005 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
2007 * gdb.arch/amd64-disp-step.exp: Same.
2008 * gdb.asm/asm-source.exp: Same.
2009 * gdb.btrace/buffer-size.exp: Same.
2010 * gdb.btrace/cpu.exp: Same.
2011 * gdb.btrace/enable.exp: Same.
2012 * gdb.dwarf2/count.exp: Same.
2013 * gdb.dwarf2/dw2-ranges-func.exp: Same.
2014 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
2015 * gdb.fortran/vla-datatypes.exp: Same.
2016 * gdb.fortran/vla-history.exp: Same.
2017 * gdb.fortran/vla-ptype.exp: Same.
2018 * gdb.fortran/vla-value.exp: Same.
2019 * gdb.fortran/whatis_type.exp: Same.
2020 * gdb.guile/guile.exp: Same.
2021 * gdb.multi/tids.exp: Same.
2022 * gdb.python/py-finish-breakpoint.exp: Same.
2023 * gdb.python/py-framefilter.exp: Same.
2024 * gdb.python/py-pp-registration.exp: Same.
2025 * gdb.python/py-xmethods.exp: Same.
2026 * gdb.python/python.exp: Same.
2027 * gdb.server/connect-with-no-symbol-file.exp: Same.
2028 * gdb.server/no-thread-db.exp: Same.
2029 * gdb.server/run-without-local-binary.exp: Same.
2030 * gdb.stabs/weird.exp: Same.
2031 * gdb.threads/attach-many-short-lived-threads.exp: Same.
2032 * gdb.threads/thread-find.exp: Same.
2033 * gdb.threads/tls-shared.exp: Same.
2034 * gdb.threads/tls.exp: Same.
2035 * gdb.threads/wp-replication.exp: Same.
2036 * gdb.trace/ax.exp: Same.
2037 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
2039 2019-10-31 Tom de Vries <tdevries@suse.de>
2041 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
2042 * gdb.ada/array_subscript_addr.exp: Same.
2043 * gdb.ada/arrayidx.exp: Same.
2044 * gdb.ada/arrayparam.exp: Same.
2045 * gdb.ada/arrayptr.exp: Same.
2046 * gdb.ada/boolean_expr.exp: Same.
2047 * gdb.ada/call_pn.exp: Same.
2048 * gdb.ada/complete.exp: Same.
2049 * gdb.ada/fixed_cmp.exp: Same.
2050 * gdb.ada/fun_addr.exp: Same.
2051 * gdb.ada/funcall_param.exp: Same.
2052 * gdb.ada/interface.exp: Same.
2053 * gdb.ada/mod_from_name.exp: Same.
2054 * gdb.ada/null_array.exp: Same.
2055 * gdb.ada/packed_array.exp: Same.
2056 * gdb.ada/packed_tagged.exp: Same.
2057 * gdb.ada/print_chars.exp: Same.
2058 * gdb.ada/print_pc.exp: Same.
2059 * gdb.ada/ptype_arith_binop.exp: Same.
2060 * gdb.ada/ptype_field.exp: Same.
2061 * gdb.ada/ptype_tagged_param.exp: Same.
2062 * gdb.ada/rec_return.exp: Same.
2063 * gdb.ada/ref_tick_size.exp: Same.
2064 * gdb.ada/str_ref_cmp.exp: Same.
2065 * gdb.ada/taft_type.exp: Same.
2066 * gdb.ada/tagged.exp: Same.
2067 * gdb.ada/type_coercion.exp: Same.
2068 * gdb.ada/uninitialized_vars.exp: Same.
2070 2019-10-30 Tom de Vries <tdevries@suse.de>
2072 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
2074 2019-10-26 Tom de Vries <tdevries@suse.de>
2076 * gdb.base/bigcore.c: Fix typos in comments.
2077 * gdb.base/ctf-ptype.c: Same.
2078 * gdb.base/long_long.c: Same.
2079 * gdb.dwarf2/dw2-op-out-param.S: Same.
2080 * gdb.python/py-evthreads.c: Same.
2081 * gdb.reverse/i387-stack-reverse.c: Same.
2082 * gdb.trace/tfile.c: Same.
2083 * lib/compiler.c: Same.
2084 * lib/compiler.cc: Same.
2086 2019-10-25 Tom de Vries <tdevries@suse.de>
2088 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
2089 gdb_test_multiple calls.
2090 * gdb.reverse/sigall-reverse.exp: Same.
2091 * gdb.reverse/solib-precsave.exp: Same.
2092 * gdb.reverse/solib-reverse.exp: Same.
2093 * gdb.reverse/until-precsave.exp: Same.
2094 * gdb.reverse/until-reverse.exp: Same.
2096 2019-10-24 Tom de Vries <tdevries@suse.de>
2098 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
2099 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
2100 kfail using -wrap pattern flag and convenience variable
2103 2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
2105 * gdb.python/py-progspace.exp: Add tests for the
2106 Progspace.block_for_pc method.
2108 2019-10-23 Tom Tromey <tom@tromey.com>
2110 * configure: Rebuild.
2111 * aclocal.m4: Use m4_include, not sinclude.
2113 2019-10-21 Tom de Vries <tdevries@suse.de>
2115 * gdb.base/infcall-nested-structs.c: Add
2116 __attribute__((noinline,noclone)) to all functions.
2117 (call_all): Add missing variable initialization. Simplify return value.
2118 (breakpt): Increment volatile variable, to prevent call from being
2120 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
2122 2019-10-17 Tom de Vries <tdevries@suse.de>
2124 * gdb.fortran/module.exp: Allow info variables to print info for files
2125 other than module.f90.
2127 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
2129 * gdb.fortran/module.exp: Extend with 'info variables' test.
2131 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
2133 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
2136 2019-10-16 Tom de Vries <tdevries@suse.de>
2139 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
2141 2019-10-16 Tom de Vries <tdevries@suse.de>
2144 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
2145 Add KFAIL for PR tdep/25096.
2147 2019-10-16 Tom de Vries <tdevries@suse.de>
2150 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
2152 2019-10-16 Tom de Vries <tdevries@suse.de>
2154 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
2157 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
2159 * gdb.mi/list-thread-groups-available.exp: Read entries one by
2160 one instead of increasing timeout.
2162 2019-10-13 Tom de Vries <tdevries@suse.de>
2165 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
2166 * gdb.reverse/sigall-reverse.exp: Same.
2167 * gdb.reverse/solib-precsave.exp: Same.
2168 * gdb.reverse/solib-reverse.exp: Same.
2169 * gdb.reverse/step-precsave.exp: Same.
2170 * gdb.reverse/until-precsave.exp: Same.
2171 * gdb.reverse/until-reverse.exp: Same.
2172 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
2174 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
2176 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
2177 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
2178 (cmp_struct_05_01, cmp_struct_static_02_01)
2179 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
2182 2019-10-10 Tom de Vries <tdevries@suse.de>
2185 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
2188 2019-10-09 Tom de Vries <tdevries@suse.de>
2191 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
2193 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
2195 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
2196 exceptions due to missing debug information.
2198 2019-10-07 Tom de Vries <tdevries@suse.de>
2200 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
2202 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
2204 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
2205 * gdb.base/annota1.exp: Update to use gdb_test_name.
2207 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
2209 * gdb.base/ctf-whatis.exp: New file.
2210 * gdb.base/ctf-whatis.c: New file.
2211 * gdb.base/ctf-ptype.exp: New file.
2212 * gdb.base/ctf-ptype.c: New file.
2213 * gdb.base/ctf-constvars.exp: New file.
2214 * gdb.base/ctf-constvars.c: New file.
2215 * gdb.base/ctf-cvexpr.exp: New file.
2217 2019-10-04 Tom de Vries <tdevries@suse.de>
2219 * gdb.cp/local-static.c (main): Move declaration of int i out of the
2222 2019-10-03 Tom Tromey <tom@tromey.com>
2225 * gdb.rust/simple.rs (Union2): New type.
2227 * gdb.rust/simple.exp: Add test.
2229 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2231 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
2232 nested function prefix.
2234 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
2235 Richard Bunt <richard.bunt@arm.com>
2236 Andrew Burgess <andrew.burgess@embecosm.com>
2238 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
2240 * gdb.fortran/nested-funcs.f90: Update expected results.
2241 * gdb.fortran/nested-funcs-2.exp: New file.
2242 * gdb.fortran/nested-funcs-2.f90: New file.
2244 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2246 * gdb.python/py-parameter.exp: Make test names unique.
2247 * gdb.python/py-template.exp: Likewise.
2248 * gdb.python/py-value.exp: Likewise.
2250 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2252 * gdb.base/break-interp.exp: Reduce test name duplication.
2253 * gdb.base/call-sc.exp: Likewise.
2254 * gdb.base/callfuncs.exp: Likewise.
2255 * gdb.base/charset.exp: Likewise.
2256 * gdb.base/dump.exp: Likewise.
2257 * gdb.base/ena-dis-br.exp: Likewise.
2258 * gdb.base/relational.exp: Likewise.
2259 * gdb.base/step-over-syscall.exp: Likewise.
2260 * gdb.base/structs.exp: Likewise.
2262 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2264 * gdb.linespec/explicit.exp: Make test names unique.
2265 * gdb.linespec/ls-errs.exp: Likewise.
2267 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2269 * gdb.reverse/break-precsave.exp: Make test names unique.
2270 * gdb.reverse/break-reverse.exp: Likewise.
2271 * gdb.reverse/finish-precsave.exp: Likewise.
2272 * gdb.reverse/finish-reverse.exp: Likewise.
2273 * gdb.reverse/machinestate-precsave.exp: Likewise.
2274 * gdb.reverse/machinestate.exp: Likewise.
2275 * gdb.reverse/readv-reverse.exp: Likewise.
2276 * gdb.reverse/recvmsg-reverse.exp: Likewise.
2277 * gdb.reverse/sigall-precsave.exp: Likewise.
2278 * gdb.reverse/sigall-reverse.exp: Likewise.
2279 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
2280 * gdb.reverse/watch-precsave.exp: Likewise.
2281 * gdb.reverse/watch-reverse.exp: Likewise.
2283 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
2285 * gdb.threads/stop-with-handle.c: New file.
2286 * gdb.threads/stop-with-handle.exp: New file.
2288 2019-10-03 Tom de Vries <tdevries@suse.de>
2291 * gdb.base/list-missing-source.exp: Allowing the "Compilation
2292 directory" line to be missing.
2294 2019-10-03 Tom de Vries <tdevries@suse.de>
2297 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
2300 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
2302 * gdb.python/py-format-string.c (string.h): New include.
2303 (main): Fill a_struct_with_union.the_union.an_int with bytes of
2304 the same value, for endianness-independence.
2305 * gdb.python/py-format-string.exp (default_regexp_dict)
2306 (test_pretty_structs, test_format): Adjust expected output to the
2307 changed initialization.
2309 2019-10-02 Tom Tromey <tromey@adacore.com>
2311 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
2313 2019-10-02 Pedro Alves <palves@redhat.com>
2314 Andrew Burgess <andrew.burgess@embecosm.com>
2316 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
2318 (this_version_id) Use ATTRIBUTE_VISIBILITY.
2319 (get_version_1): Print this_version_id and its address.
2320 Add extern "C" wrappers around interface functions.
2321 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
2323 (this_version_id) Use ATTRIBUTE_VISIBILITY.
2324 (get_version_2): Print this_version_id and its address.
2325 Add extern "C" wrappers around interface functions.
2326 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
2327 <stddef.h> and "print-file-var.h".
2328 Add extern "C" wrappers around interface functions.
2329 [VERSION_ID_MAIN] (this_version_id): Define.
2330 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
2331 * gdb.base/print-file-var.h: Add some #defines to simplify setting
2332 up extern "C" blocks.
2333 * gdb.base/print-file-var.exp (test): New, factored out from top
2335 (top level): Test all combinations of attribute hidden or not,
2336 dlopen or not, and this_version_id symbol in main file or not.
2337 Compile tests as both C++ and C, make test names unique.
2339 2019-10-01 Tom Tromey <tom@tromey.com>
2341 * gdb.base/style.exp: Test "show logging filename".
2343 2019-10-01 Tom Tromey <tom@tromey.com>
2345 * lib/gdb-utils.exp (style): Handle "metadata" argument.
2346 * gdb.base/style.exp: Add metadata style test.
2348 2019-10-01 Tom Tromey <tom@tromey.com>
2350 * gdb.base/style.exp: Test "pwd".
2352 2019-10-01 Tom Tromey <tom@tromey.com>
2354 * gdb.base/style.exp: Update tests.
2356 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
2358 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
2360 (s1): Initialize fields 'four' and 'six' instead of 'three' and
2361 'five'. Use an all-ones bit pattern for each.
2362 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
2363 to its changed values.
2365 2019-09-30 Tom Tromey <tromey@adacore.com>
2367 * gdb.rust/traits.rs: Disable all warnings.
2369 2019-09-29 Tom de Vries <tdevries@suse.de>
2371 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
2373 2019-09-29 Tom de Vries <tdevries@suse.de>
2375 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
2377 2019-09-27 Tom de Vries <tdevries@suse.de>
2379 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
2381 2019-09-27 Tom de Vries <tdevries@suse.de>
2384 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
2386 2019-09-26 Tom Tromey <tromey@adacore.com>
2388 * gdb.ada/py_taft.exp: New file.
2389 * gdb.ada/py_taft/main.adb: New file.
2390 * gdb.ada/py_taft/pkg.adb: New file.
2391 * gdb.ada/py_taft/pkg.ads: New file.
2393 2019-09-24 Tom de Vries <tdevries@suse.de>
2396 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
2398 2019-09-22 Tom de Vries <tdevries@suse.de>
2400 * gdb.base/restore.exp: Allow register variables to be optimized out at
2403 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
2405 * gdb.arch/spu-info.exp: Remove file.
2406 * gdb.arch/spu-info.c: Remove file.
2407 * gdb.arch/spu-ls.exp: Remove file.
2408 * gdb.arch/spu-ls.c: Remove file.
2410 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
2411 * gdb.asm/spu.inc: Remove file.
2413 * gdb.base/dump.exp: Remove support for spu*-*-*.
2414 * gdb.base/stack-checking.exp: Likewise.
2415 * gdb.base/overlays.exp: Likewise.
2416 * gdb.base/ovlymgr.c: Likewise.
2417 * gdb.base/spu.ld: Remove file.
2419 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
2420 * gdb.cp/cpexprs.exp: Likewise.
2421 * gdb.cp/exception.exp: Likewise.
2422 * gdb.cp/gdb2495.exp: Likewise.
2423 * gdb.cp/mb-templates.exp: Likewise.
2424 * gdb.cp/pr9167.exp: Likewise.
2425 * gdb.cp/userdef.exp: Likewise.
2427 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
2429 * gdb.cell: Remove directory.
2430 * lib/cell.exp: Remove file.
2432 2019-09-19 Tom de Vries <tdevries@suse.de>
2434 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
2436 2019-09-19 Tom de Vries <tdevries@suse.de>
2438 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
2440 2019-09-19 Tom de Vries <tdevries@suse.de>
2442 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
2443 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
2444 (gdb_target_cmd): ... here.
2445 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
2448 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
2450 * gdb.base/source-dir.exp: Avoid having directory names in test
2453 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
2455 * gdb.base/source-dir.exp: Add extra test for mapped compilation
2458 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
2460 * gdb.base/list-missing-source.exp: New file.
2462 2019-09-14 Tom de Vries <tdevries@suse.de>
2465 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
2466 * lib/ada.exp (gnatmake_version_at_least): New proc.
2468 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
2470 * gdb.base/maint.exp: Use exec_has_index_section.
2472 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
2474 * gdb.base/maint.exp: Add test for 'maint info sections'.
2476 2019-09-12 Tom de Vries <tdevries@suse.de>
2478 * gdb.base/store.exp: Allow register variables to be optimized out at
2481 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2483 * gdb.ada/rdv_wait.exp: Update to new task names.
2484 * gdb.base/task_switch_in_core.exp: Likewise.
2485 * gdb.base/info_sources_base.c: Likewise.
2487 2019-09-10 Tom Tromey <tromey@adacore.com>
2489 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
2491 2019-09-10 Tom Tromey <tromey@adacore.com>
2493 * gdb.ada/dgopt.exp: New file.
2494 * gdb.ada/dgopt/x.adb: New file.
2496 2019-09-08 Tom Tromey <tom@tromey.com>
2498 * gdb.tui/resize.exp: Remove setup_xfail.
2499 * gdb.tui/regs.exp: Remove setup_xfail.
2500 * gdb.tui/basic.exp: Remove setup_xfail.
2502 2019-09-06 David Blaikie <dblaikie@gmail.com>
2504 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
2505 * gdb.cp/cplabel.exp: Ditto.
2506 * gdb.linespec/ls-errs.exp: Ditto.
2508 2019-09-05 Tom de Vries <tdevries@suse.de>
2510 * lib/gdb.exp (cmp_file_string): New proc.
2511 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
2512 runto_main. Verify save breakpoints output.
2514 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2516 * gdb.base/info-var.exp: Test info variables without running
2517 to main, to avoid expect's buffer overflow.
2519 2019-09-03 Tom Tromey <tromey@adacore.com>
2521 * gdb.ada/bias.exp: New file.
2522 * gdb.ada/bias/bias.adb: New file.
2523 * gdb.ada/print_chars.exp: Add regression test.
2524 * gdb.ada/print_chars/foo.adb (My_Character): New type.
2527 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
2529 * gdb.base/argv0-symlink.exp: Run only on native target
2532 2019-08-29 Tom de Vries <tdevries@suse.de>
2534 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
2536 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
2538 2019-08-28 Tom de Vries <tdevries@suse.de>
2540 * gdb.base/info-var.exp: Allow info variables to print info for files
2541 other than info-var-f1.c and info-var-f2.c.
2543 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
2545 * gdb.fortran/info-types.exp: Add module.
2546 * gdb.fortran/info-types.f90: Update expected results.
2548 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
2550 * gdb.fortran/info-types.exp: New file.
2551 * gdb.fortran/info-types.f90: New file.
2552 * lib/fortran.exp (fortran_character1): New proc.
2554 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
2556 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
2557 functions'. Reindent as needed.
2558 * gdb.base/info-var-f1.c: New file.
2559 * gdb.base/info-var-f2.c: New file.
2560 * gdb.base/info-var.exp: New file.
2561 * gdb.base/info-var.h: New file.
2563 2019-08-26 Tom de Vries <tdevries@suse.de>
2566 * gdb.cp/no-libstdcxx-probe.exp: New test.
2568 2019-08-26 Tom de Vries <tdevries@suse.de>
2570 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
2571 * tests need to be skipped.
2572 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
2573 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
2574 mi_skip_libstdcxx_probe_tests.
2576 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
2578 * gdb.python/py-xmethods.exp: Use raw strings when passing
2579 arguments to SimpleXMethodMatcher.
2581 2019-08-22 Tom de Vries <tdevries@suse.de>
2583 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
2586 2019-08-21 Pedro Alves <palves@redhat.com>
2588 * gdb.base/with.exp: Test "with" with no arguments.
2590 2019-08-21 Tom de Vries <tdevries@suse.de>
2592 * gdb.base/gdb-caching-proc.exp: Sort files.
2594 2019-08-20 Tom de Vries <tdevries@suse.de>
2596 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
2599 2019-08-16 Tom de Vries <tdevries@suse.de>
2601 * gdb.base/compare-sections.exp ("after run to main"): Allow
2602 mismatched read-only sections for PIE executables.
2604 2019-08-16 Tom Tromey <tom@tromey.com>
2606 * lib/tuiterm.exp (_csi_Z): New proc.
2607 * gdb.tui/basic.exp: Update window positions.
2608 * gdb.tui/empty.exp: Update window positions.
2610 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
2612 * gdb.base/examine-backward.exp: Correct regexp for
2613 "examine 3 bytes backward from ${address_zero}".
2615 2019-08-15 Tom Tromey <tom@tromey.com>
2617 * gdb.tui/empty.exp: Enable resizing tests.
2619 2019-08-15 Tom Tromey <tromey@adacore.com>
2621 * gdb.ada/char_enum.exp: Add regression tests.
2622 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
2624 (Char, Gchar): Update.
2625 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
2627 2019-08-15 Christian Biesinger <cbiesinger@google.com>
2629 * gdb.python/python.exp: Expect a leading underscore on
2630 GdbOutput{,Error}File.
2632 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
2634 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
2637 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
2639 * gdb.base/batch-preserve-term-settings.exp
2640 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
2642 2019-08-15 Christian Biesinger <cbiesinger@google.com>
2644 * lib/gdb.exp: When running on a mingw target, replace
2647 2019-08-14 Alan Hayward <alan.hayward@arm.com>
2649 * gdb.arch/aarch64-prologue.c: New test.
2650 * gdb.arch/aarch64-prologue.exp: New file.
2652 2019-08-13 Tom de Vries <tdevries@suse.de>
2654 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
2657 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
2659 * gdb.python/py-completion.exp: Download the .py file to the host
2660 and use its host pathname. Conditionalize tests that use
2661 tab completion and manipulate files on the build machine.
2662 * gdb.python/py-events.exp: Download the .py file to the host
2663 and use its host pathname.
2664 * gdb.python/py-evsignal.exp: Likewise.
2665 * gdb.python/py-evthreads.exp: Likewise.
2666 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
2668 * gdb.python/py-framefilter.exp: Download the .py file to the right
2669 place on the host. Match Windows pathname syntax.
2670 * gdb.python/py-mi-var-info-path-expression.exp: Download the
2671 .py file to the host and use its host pathname.
2672 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
2673 * gdb.python/py-objfile.exp: Expect a host pathname, not a
2674 build pathname. Skip symlink test on Windows host. Add missing
2675 newline at end of file.
2676 * gdb.python/py-pp-maint.exp: Download the .py file to the host
2677 and use its host pathname.
2678 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
2679 * gdb.python/py-section-script.exp: Use host location of binfile
2680 on safe-path. Use correct path separator on Windows host.
2681 Reorder alternatives in gdb_test_multiple to prevent matching
2682 the wrong alternative on success.
2683 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
2685 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
2687 * gdb.gdb/selftest.exp (test_with_self): Update test to now
2688 expect the GDB inferior to no longer immediately stop after
2689 being resumed with "signal SIGINT".
2691 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
2693 * gdb.linespec/break-ask.exp: Generalize regexps to match
2694 Windows pathnames too.
2696 2019-08-08 Tom de Vries <tdevries@suse.de>
2699 * lib/tuiterm.exp (_accept): Fix CSI regexp.
2701 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2703 * gdb.base/style.exp: Update tests for help doc new invariants.
2704 * gdb.base/help.exp: Likewise.
2706 2019-08-06 Tom Tromey <tom@tromey.com>
2708 * gdb.base/style.exp: Add disassemble test.
2709 * gdb.base/style.c (some_called_function): New function.
2712 2019-08-05 Christian Biesinger <cbiesinger@google.com>
2714 * gdb.python/py-block.exp: Test dictionary access on blocks.
2716 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
2719 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
2720 -list-thread-groups --available test when running under
2723 2019-08-05 Tom de Vries <tdevries@suse.de>
2726 * lib/gdb.exp (with_read1_timeout_factor): New proc.
2727 * gdb.base/help.exp: Use with_read1_timeout_factor.
2728 * gdb.base/info-macros.exp: Same.
2729 * gdb.cp/nested-types.exp: Same.
2731 2019-08-05 Tom de Vries <tdevries@suse.de>
2733 * lib/gdb.exp (version_at_least): Factor out of ...
2734 (tcl_version_at_least): ... here.
2735 (gdb_compile): Fail if pie results in non-PIE executable.
2736 (readelf_version, readelf_prints_pie): New proc.
2737 (exec_is_pie): Return -1 if unknown.
2739 2019-08-05 Tom de Vries <tdevries@suse.de>
2741 * lib/gdb.exp (tcl_version_at_least): Fix typo.
2743 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
2745 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
2747 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
2749 * lib/completion-support.exp (test_gdb_complete_none): Skip
2750 tab completion tests if no readline support.
2751 (test_gdb_complete_unique_re): Likewise.
2752 (test_gdb_complete_multiple): Likewise.
2754 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2756 * gdb.base/info_sources.exp: New file.
2757 * gdb.base/info_sources.c: New file.
2758 * gdb.base/info_sources_base.c: New file.
2760 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2762 * gdb.base/batch-exit-status.exp: Call test_exit_status with
2764 (test_exit_status): Add prefix argument.
2766 2019-08-01 Tom de Vries <tdevries@suse.de>
2769 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
2770 calling exp_continue for new thread and thread exited messages.
2772 2019-08-01 Tom de Vries <tdevries@suse.de>
2775 * gdb.base/structs.exp: Fix check-read1 timeout using
2777 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
2779 2019-08-01 Tom de Vries <tdevries@suse.de>
2782 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
2785 2019-08-01 Tom de Vries <tdevries@suse.de>
2788 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
2790 2019-07-30 Tom Tromey <tromey@adacore.com>
2792 * gdb.ada/display_nested.exp: New file.
2793 * gdb.ada/display_nested/foo.adb: New file.
2794 * gdb.ada/display_nested/pack.adb: New file.
2795 * gdb.ada/display_nested/pack.ads: New file.
2797 2019-07-30 Christian Biesinger <cbiesinger@google.com>
2799 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
2801 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
2803 2019-07-30 Tom de Vries <tdevries@suse.de>
2805 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
2808 2019-07-30 Tom de Vries <tdevries@suse.de>
2811 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
2812 (exec_is_pie): New proc.
2814 2019-07-29 Christian Biesinger <cbiesinger@google.com>
2816 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
2818 2019-07-29 Christian Biesinger <cbiesinger@google.com>
2820 * gdb.python/py-objfile.c: Add global and static vars.
2821 * gdb.python/py-objfile.exp: Test new functions Objfile.
2822 lookup_global_symbol and lookup_static_symbol.
2824 2019-07-29 Tom Tromey <tom@tromey.com>
2826 * lib/tuiterm.exp (Term::_csi_@): New proc.
2827 (Term::_csi_X): Don't move cursor.
2829 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2831 * gdb.base/options.exp: Update backtrace - completion to
2832 new option -frame-info.
2833 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
2834 Test new 'set print frame-info'. Test backtrace -frame-info
2835 overriding 'set print frame-info'.
2836 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
2837 Test new 'set print frame-info'.
2838 Verify consistency of backtrace with and without filters, with and
2839 without -no-filters.
2840 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
2843 2019-07-29 Tom de Vries <tdevries@suse.de>
2845 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
2848 2019-07-29 Tom de Vries <tdevries@suse.de>
2850 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
2851 is a substring of the first for "complete non-unique file name".
2853 2019-07-29 Tom de Vries <tdevries@suse.de>
2855 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
2858 2019-07-29 Tom de Vries <tdevries@suse.de>
2860 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
2861 Pass prompt_regexp parameter to gdb_test_multiple calls.
2863 2019-07-29 Tom de Vries <tdevries@suse.de>
2865 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
2866 print registers" regexps.
2868 2019-07-29 Tom de Vries <tdevries@suse.de>
2870 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
2872 2019-07-29 Tom de Vries <tdevries@suse.de>
2875 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
2876 (skip_python_tests_prompt): Add prompt_regexp argument to
2877 gdb_test_multiple calls.
2879 2019-07-27 Tom Tromey <tom@tromey.com>
2881 * gdb.tui/main.exp: New file.
2883 2019-07-27 Tom Tromey <tom@tromey.com>
2885 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
2887 * gdb.tui/empty.exp: New file.
2889 2019-07-27 Tom Tromey <tom@tromey.com>
2891 * lib/tuiterm.exp (spawn): New proc.
2892 (Term::resize): New proc.
2893 * gdb.tui/resize.exp: New file.
2895 2019-07-27 Tom Tromey <tom@tromey.com>
2897 * gdb.tui/list.exp: New file.
2899 2019-07-27 Tom Tromey <tom@tromey.com>
2901 * gdb.tui/regs.exp: New file.
2903 2019-07-27 Tom Tromey <tom@tromey.com>
2905 * gdb.tui/basic.exp: Add "layout split" test.
2907 2019-07-27 Tom Tromey <tom@tromey.com>
2909 * gdb.tui/basic.exp: Add "layout asm" test.
2911 2019-07-27 Tom Tromey <tom@tromey.com>
2913 * lib/tuiterm.exp: New file.
2914 * gdb.tui/basic.exp: New file.
2916 2019-07-27 Kevin Buettner <kevinb@redhat.com>
2918 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
2919 Enable tests associated with this flag. Adjust regex
2920 referencing "foo_low" to now refer to "foo_cold" instead.
2922 2019-07-27 Kevin Buettner <kevinb@redhat.com>
2924 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
2925 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
2926 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
2927 foo_cold. Revise comments to match.
2928 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
2929 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
2930 were wrapped into this proc; Call do_test in loop from outermost
2932 (foo_low): Rename all occurrences to "foo_cold".
2933 (backtrace from baz): New test.
2934 (x2/i foo_cold): New test.
2935 (info line *foo_cold): New test.
2937 2019-07-26 Tom de Vries <tdevries@suse.de>
2939 * gdb.arch/i386-pkru.exp: Fix unterminated string.
2941 2019-07-25 Tom de Vries <tdevries@suse.de>
2944 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
2945 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
2946 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
2947 (skip_libstdcxx_probe_tests): ... here.
2948 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
2950 2019-07-24 Tom de Vries <tdevries@suse.de>
2953 * gdb.objc/basicclass.m: Include stdio.h.
2954 * gdb.objc/nondebug.m: Same.
2955 * gdb.objc/objcdecode.m: Same.
2957 2019-07-24 Tom de Vries <tdevries@suse.de>
2960 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
2963 2019-07-24 Tom de Vries <tdevries@suse.de>
2966 * gdb.multi/tids.exp: Update error messages for info threads.
2968 2019-07-24 Tom de Vries <tdevries@suse.de>
2970 * gdb.base/info-types.exp: Allow info types to print info for more than
2973 2019-07-23 Tom de Vries <tdevries@suse.de>
2976 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
2977 gdb_spawn_with_cmdline_opts.
2979 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
2981 * gdb.arch/arm-cmse-sgstubs.c: New test.
2982 * gdb.arch/arm-cmse-sgstubs.exp: New file.
2984 2019-07-23 Tom de Vries <tdevries@suse.de>
2987 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
2988 issuing next command.
2990 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
2992 * gdb.ada/info_auto_lang.exp: Update expected results.
2993 * gdb.base/info-types.c: Add additional types to check.
2994 * gdb.base/info-types.exp: Update expected results.
2996 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
2998 * gdb.base/info-types.c: New file.
2999 * gdb.base/info-types.exp: New file.
3001 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
3003 * gdb.arch/riscv-bp-infcall.c: New file.
3004 * gdb.arch/riscv-bp-infcall.exp: New file.
3006 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
3008 PR breakpoints/24541
3009 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
3011 2019-07-14 Tom de Vries <tdevries@suse.de>
3014 * gdb.objc/basicclass.exp: Fix unterminated string.
3016 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
3017 Andrew Burgess <andrew.burgess@embecosm.com>
3019 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
3020 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
3022 * gdb.fortran/vla-value.exp: Print elements of an array with
3024 * gdb.fortran/vla.f90: Setup an array with negative bounds for
3027 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
3029 * gdb.base/options.exp (expect_string): Dequote strings in
3031 (test-string): Test strings with different quoting and reindent.
3033 2019-07-10 Tom Tromey <tromey@adacore.com>
3035 * gdb.ada/mi_ex_cond.exp: Update expected results.
3036 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
3037 * gdb.ada/mi_catch_ex.exp: Update expected results.
3038 * gdb.ada/mi_catch_assert.exp: Update expected results.
3039 * gdb.ada/catch_ex.exp (catch_exception_info)
3040 (catch_exception_entry, catch_assert_entry)
3041 (catch_unhandled_entry): Update.
3042 * gdb.ada/catch_assert_if.exp: Update expected results.
3044 2019-07-10 Richard Bunt <richard.bunt@arm.com>
3045 Stephen Roberts <stephen.roberts@arm.com>
3047 * gdb.base/define.exp: Restore original prompt.
3049 2019-07-09 Pedro Alves <palves@redhat.com>
3051 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
3052 breakpoints" output.
3053 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
3054 * gdb.python/py-breakpoint.exp: No longer expect that "catch
3055 throw" creates breakpoint.
3056 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
3057 'type="catchpoint"'.
3059 2019-07-09 Pedro Alves <palves@redhat.com>
3062 * gdb.cp/except-multi-location-lib.cc: New.
3063 * gdb.cp/except-multi-location-main.cc: New.
3064 * gdb.cp/except-multi-location.exp: New.
3066 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
3068 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
3069 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
3070 argument and update callers.
3072 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3074 * gdb.arch/amd64-break-on-asm-line.S: New file.
3075 * gdb.arch/amd64-break-on-asm-line.exp: New file.
3077 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3079 * gdb.base/printcmds.exp: Test printing C string and
3080 C wide string convenience vars without transiting via the inferior.
3081 Also make test names unique.
3083 2019-07-08 Alan Hayward <alan.hayward@arm.com>
3085 PR breakpoints/25011
3086 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
3088 2019-07-04 Pedro Alves <palves@redhat.com>
3090 * lib/gdb.exp (foreach_with_prefix): Don't return early if
3091 body returned ok(0), break(3) or continue(4).
3092 * gdb.testsuite/foreach_with_prefix.exp: New file.
3094 2019-07-04 Alan Hayward <alan.hayward@arm.com>
3096 * gdb.server/unittest.exp: Allow 0 unit tests to run.
3098 2019-07-03 Pedro Alves <palves@redhat.com>
3100 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
3103 2019-07-03 Pedro Alves <palves@redhat.com>
3106 * gdb.base/shell.exp: Load completion-support.exp.
3107 Adjust expected error output. Add completion tests.
3109 2019-07-03 Pedro Alves <palves@redhat.com>
3111 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
3114 2019-07-03 Pedro Alves <palves@redhat.com>
3116 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
3117 (expect_integer): Adjust to expect "-string".
3118 (expect_string): New.
3119 (all_options): Expect "-string".
3120 (test-flag, test-boolean): Adjust to expect "-string".
3121 (test-string): New proc.
3122 (top level): Call it.
3124 2019-07-03 Pedro Alves <palves@redhat.com>
3126 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
3127 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
3128 the expected output in the success.
3130 2019-07-03 Pedro Alves <palves@redhat.com>
3132 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
3133 Split one gdb_test_multiple call in two to avoid a race.
3135 2019-07-03 Pedro Alves <palves@redhat.com>
3137 * gdb.base/with.c: New file.
3138 * gdb.base/with.exp: New file.
3140 2019-07-03 Pedro Alves <palves@redhat.com>
3142 * gdb.base/settings.exp: Replace all references to "maint
3143 test-settings set" with references to "maint set test-settings",
3144 and all references to "maint test-settings show" with references
3145 to "maint show test-settings".
3147 2019-07-03 Pedro Alves <palves@redhat.com>
3149 * gdb.base/settings.exp (test-string): Adjust expected out when
3150 testing "maint test-settings show filename"
3152 2019-07-02 Pedro Alves <palves@redhat.com>
3154 * gdb.base/options.exp (test-info-threads): New procedure.
3155 (top level): Call it.
3157 2019-06-28 Tom Tromey <tromey@adacore.com>
3159 * gdb.dwarf2/ada-linkage-name.c: New file.
3160 * gdb.dwarf2/ada-linkage-name.exp: New file.
3162 2019-06-27 Tom Tromey <tromey@adacore.com>
3165 * gdb.cp/constexpr-field.exp: Use setup_xfail.
3167 2019-06-26 Tom de Vries <tdevries@suse.de>
3169 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
3171 2019-06-26 Tom de Vries <tdevries@suse.de>
3173 * gdb.base/index-cache.exp: Add back missing debug option.
3175 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3177 * gdb.base/alias.exp: Test non matching/non existing prefixes.
3179 2019-06-25 Tom de Vries <tdevries@suse.de>
3182 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
3184 2019-06-24 Tom de Vries <tdevries@suse.de>
3186 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
3188 2019-06-24 Tom de Vries <tdevries@suse.de>
3190 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
3191 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
3192 * gdb.trace/unavailable-dwarf-piece.exp: Same.
3194 2019-06-24 Tom de Vries <tdevries@suse.de>
3196 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
3198 2019-06-21 Tom de Vries <tdevries@suse.de>
3200 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
3202 2019-06-21 Tom de Vries <tdevries@suse.de>
3206 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
3209 2019-06-19 Tom Tromey <tromey@adacore.com>
3211 * gdb.ada/length_cond.exp: Add intro comment.
3213 2019-06-19 Tom Tromey <tromey@adacore.com>
3215 * gdb.ada/length_cond.exp: New file.
3216 * gdb.ada/length_cond/length_cond.adb: New file.
3217 * gdb.ada/length_cond/pck.adb: New file.
3218 * gdb.ada/length_cond/pck.ads: New file.
3220 2019-06-18 Tom de Vries <tdevries@suse.de>
3222 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
3224 2019-06-18 Tom Tromey <tromey@adacore.com>
3226 * gdb.base/list0.h: Add comment explaining control character.
3228 2019-06-18 Tom de Vries <tdevries@suse.de>
3230 * boards/fission.exp: Break up long debug_flags line.
3232 2019-06-16 Tom de Vries <tdevries@suse.de>
3235 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
3238 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
3241 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
3242 improve detection of bug gdb/24541.
3244 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
3247 * gdb.base/index-cache.exp (uses_readnow,
3248 expecting_index_cache_use): Define global variable.
3249 (test_cache_enabled_miss, test_cache_enabled_hit): Use
3250 expecting_index_cache_use.
3252 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
3253 Andrew Burgess <andrew.burgess@embecosm.com>
3255 * gdb.fortran/pointers.f90: New file.
3256 * gdb.fortran/print_type.exp: New file.
3257 * gdb.fortran/vla-ptype.exp: Adapt expected results.
3258 * gdb.fortran/vla-type.exp: Likewise.
3259 * gdb.fortran/vla-value.exp: Likewise.
3260 * gdb.mi/mi-vla-fortran.exp: Likewise.
3262 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
3264 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
3265 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
3266 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
3269 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
3271 * gdb.base/annota1.exp: Update expected results.
3272 * gdb.cp/annota2.exp: Likewise.
3273 * gdb.cp/annota3.exp: Likewise.
3275 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
3277 * gdb.base/style-logging.exp: Remove path from test name.
3279 2019-06-14 Tom Tromey <tromey@adacore.com>
3282 * gdb.base/style-logging.exp: New file.
3284 2019-06-14 Tom Tromey <tromey@adacore.com>
3286 * gdb.base/symfile-warn.exp: New file.
3287 * gdb.base/symfile-warn.c: New file.
3289 2019-06-14 Tom Tromey <tromey@adacore.com>
3291 * gdb.base/annotate-symlink.exp: New file.
3293 2019-06-14 Tom Tromey <tromey@adacore.com>
3295 * gdb.ada/set_wstr.exp: Add reassignment test.
3297 2019-06-14 Tom Tromey <tromey@adacore.com>
3299 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
3300 'unchecked_access and 'unrestricted_access as well.
3302 2019-06-14 Tom Tromey <tromey@adacore.com>
3305 * gdb.ada/vla.exp: Update tests.
3306 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
3309 2019-06-13 Pedro Alves <palves@redhat.com>
3311 * gdb.base/settings.exp (test-integer): Test junk after
3314 2019-06-13 Pedro Alves <palves@redhat.com>
3316 * gdb.base/options.exp (test-thread-apply): New.
3317 (top level): Call it.
3319 2019-06-13 Pedro Alves <palves@redhat.com>
3321 * gdb.base/options.exp (test-frame-apply): New.
3322 (top level): Test print commands with different "frame apply"
3325 2019-06-13 Pedro Alves <palves@redhat.com>
3327 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
3328 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
3329 'max_completions' parameter and handle it.
3330 (test_gdb_completion_offers_commands): New.
3332 2019-06-13 Pedro Alves <palves@redhat.com>
3334 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
3336 2019-06-13 Pedro Alves <palves@redhat.com>
3338 * gdb.base/options.exp (test-backtrace): New.
3339 (top level): Call it.
3341 2019-06-13 Pedro Alves <palves@redhat.com>
3343 * gdb.guile/scm-frame-args.exp: Use "set print
3344 raw-frame-arguments" instead of "set print raw frame-arguments".
3345 * gdb.python/py-frame-args.exp: Likewise.
3347 2019-06-13 Pedro Alves <palves@redhat.com>
3349 * gdb.compile/compile.exp: Adjust expected output to option
3352 2019-06-13 Pedro Alves <palves@redhat.com>
3354 * gdb.base/options.exp: Build executable.
3355 (test-print): New procedure.
3356 (top level): Call it, once for "print" and another for "compile
3359 2019-06-13 Pedro Alves <palves@redhat.com>
3361 * gdb.base/options.c: New file.
3362 * gdb.base/options.exp: New file.
3364 2019-06-13 Pedro Alves <palves@redhat.com>
3366 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
3367 that "o" is ambiguous.
3369 2019-06-13 Pedro Alves <palves@redhat.com>
3371 * gdb.base/settings.c: New file.
3372 * gdb.base/settings.exp: New file.
3374 2019-06-13 Pedro Alves <palves@redhat.com>
3376 * gdb.base/completion.exp: Fix comment typo.
3378 2019-06-13 Pedro Alves <palves@redhat.com>
3380 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
3383 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
3385 * gdb.fortran/block-data.f: New.
3386 * gdb.fortran/block-data.exp: New.
3388 2019-06-11 Tom de Vries <tdevries@suse.de>
3391 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
3394 2019-06-11 Tom de Vries <tdevries@suse.de>
3397 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
3399 2019-06-11 Tom de Vries <tdevries@suse.de>
3401 * boards/readnow.exp: New file.
3403 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
3405 * gdb.fortran/vla-sizeof.exp: Update expected results.
3407 2019-06-06 Amos Bird <amosbird@gmail.com>
3409 * gdb.base/annota1.exp (thread_switch): Add test for
3410 thread-exited annotation.
3412 2019-06-06 Tom Tromey <tromey@adacore.com>
3414 * gdb.base/maint.exp: Expect command started/finished output.
3416 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
3418 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
3420 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
3422 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
3424 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
3425 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
3426 * gdb.arch/riscv-unwind-long-insn.c: New file.
3427 * gdb.arch/riscv-unwind-long-insn.exp: New file.
3429 2019-06-04 Christian Biesinger <cbiesinger@google.com>
3431 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
3433 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3435 * lib/gdb.exp (help_list_trailer): New regexp variable
3436 factorizing the help trailer message.
3437 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
3438 arg to allow to better factorize various tests.
3439 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
3440 (test_prefix_command_help): Use help_list_trailer.
3441 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
3442 * gdb.guile/scm-cmd.exp: Likewise.
3443 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
3444 * gdb.base/help.exp: Use test_user_defined_class_help.
3445 * gdb.base/style.exp: Add tests for styling of help and apropos.
3446 * lib/gdb-utils.exp (style): Add title and highlight styles.
3448 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3450 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
3452 * gdb.base/default.exp: Update for new convenience variables.
3454 2019-05-29 Tom Tromey <tromey@adacore.com>
3456 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
3457 to "break complete ada" test case's regexp.
3459 2019-05-29 Tom Tromey <tromey@adacore.com>
3462 * gdb.cp/constexpr-field.exp: New file.
3463 * gdb.cp/constexpr-field.cc: New file.
3465 2019-05-29 Tom Tromey <tromey@adacore.com>
3467 * gdb.base/finish.exp (finish_no_print): New proc.
3468 (finish_tests): Call it.
3470 2019-05-24 Tom de Vries <tdevries@suse.de>
3472 * gdb.dwarf2/gdb-add-index.exp: New file.
3474 2019-05-22 Tom Tromey <tromey@adacore.com>
3476 * gdb.base/info-shared.exp (check_info_shared): Use "style".
3477 * gdb.base/style.exp: Use "style".
3478 * lib/gdb-utils.exp (style): New proc.
3480 2019-05-22 Tom de Vries <tdevries@suse.de>
3482 * gdb.base/align.exp: Require c++11.
3484 2019-05-22 Tom de Vries <tdevries@suse.de>
3487 * gdb.python/py-mi-var-info-path-expression.exp: Call
3488 mi_skip_python_tests to check if python is supported.
3490 2019-05-22 Alan Hayward <alan.hayward@arm.com>
3492 * gdb.arch/aarch64-pauth.c: New test.
3493 * gdb.arch/aarch64-pauth.exp: New file.
3495 2019-05-22 Alan Hayward <alan.hayward@arm.com>
3497 * README (Re-running Tests Outside The Testsuite): New section.
3499 2019-05-21 Tom de Vries <tdevries@suse.de>
3501 * gdb.arch/amd64-eval.exp: Require c++11.
3502 * gdb.base/max-depth.exp: Same.
3503 * gdb.compile/compile-cplus-array-decay.exp: Same.
3504 * gdb.cp/meth-typedefs.exp: Same.
3505 * gdb.cp/subtypes.exp: Same.
3506 * gdb.cp/temargs.exp: Same.
3508 2019-05-21 Alan Hayward <alan.hayward@arm.com>
3510 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
3512 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
3515 * gdb.fortran/complex.exp: Remove setup_kfail calls.
3516 * gdb.fortran/printing-types.exp: Add new test.
3517 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
3519 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
3522 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3524 * README (Running the Testsuite): Change example.
3525 (Testsuite Parameters): Remove TRANSCRIPT.
3526 * lib/gdb.exp: Remove TRANSCRIPT check.
3528 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3530 * README (Testsuite Parameters): Add replay logging to
3532 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
3533 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
3534 as a comma separated list.
3535 (gdb_debug_init): Override procedure.
3537 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3539 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
3540 (gdb_write_cmd_file): New procedure.
3541 * lib/gdbserver-support.exp (gdbserver_start): Call
3542 gdbserver_write_cmd_file.
3543 (gdbserver_write_cmd_file): New procedure.
3545 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3547 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
3548 (delete_breakpoints): Likewise.
3549 (gdb_run_cmd): Likewise.
3550 (gdb_start_cmd): Likewise.
3551 (gdb_starti_cmd): Likewise.
3552 (gdb_internal_error_resync): Likewise.
3553 (gdb_test_multiple): Likewise.
3554 (gdb_reinitialize_dir): Likewise.
3555 (default_gdb_exit): Likewise.
3556 (gdb_file_cmd): Mark kill as optional.
3557 (default_gdb_start): Call gdb_stdin_log_init.
3558 (send_gdb): Call gdb_stdin_log_write.
3559 (rerun_to_main): Mark Y as an answer.
3560 (gdb_stdin_log_init): New function.
3561 (gdb_stdin_log_write): Likewise.
3563 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3565 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
3566 * gdb.base/debug-expr.exp: Likewise.
3567 * gdb.base/foll-fork.exp: Likewise.
3568 * gdb.base/foll-vfork.exp: Likewise.
3569 * gdb.base/fork-print-inferior-events.exp: Likewise.
3570 * gdb.base/gdb-sigterm.exp: Likewise.
3571 * gdb.base/gdbinit-history.exp: Likewise.
3572 * gdb.base/osabi.exp: Likewise.
3573 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
3574 * gdb.base/ui-redirect.exp: Likewise.
3575 * gdb.gdb/unittest.exp: Likewise.
3576 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
3577 * gdb.mi/mi-watch.exp: Likewise.
3578 * gdb.mi/new-ui-mi-sync.exp: Likewise.
3579 * gdb.mi/user-selected-context-sync.exp: Likewise.
3580 * gdb.python/python.exp: Disable debug test when debugging.
3581 * gdb.threads/check-libthread-db.exp: Disable when debugging.
3582 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
3584 * gdb.threads/stepi-random-signal.exp: Likewise.
3586 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3588 * Makefile.in: Pass through GDB_DEBUG.
3589 * README (Testsuite Parameters): Add GDB_DEBUG.
3590 (gdb,debug): Add board setting.
3591 * lib/gdb.exp (default_gdb_start): Start debugging.
3592 (gdb_debug_enabled): New procedure.
3593 (gdb_debug_init): Likewise.
3595 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3597 * Makefile.in: Pass through GDB_DEBUG.
3598 * README (Testsuite Parameters): Add GDB_DEBUG.
3599 (gdb,debug): Add board setting.
3600 * lib/gdb.exp (default_gdb_start): Start debugging.
3601 (gdb_debug_enabled): New procedure.
3602 (gdb_debug_init): Likewise.
3604 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3606 * gdb.base/ui-redirect.exp: Add debug redirect tests.
3608 2019-05-17 Alan Hayward <alan.hayward@arm.com>
3610 * gdb.base/ui-redirect.exp: Test redirection.
3612 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
3614 * gdb.mi/mi-complete.exp: New file.
3615 * gdb.mi/mi-complete.cc: Likewise.
3617 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
3619 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
3620 indexed and sliced arrays, and pointers to arrays.
3622 2019-05-14 Tom Tromey <tromey@adacore.com>
3624 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
3627 2019-05-14 Tom de Vries <tdevries@suse.de>
3629 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
3630 selection entry encoding.
3632 2019-05-10 Tom Tromey <tromey@adacore.com>
3634 * gdb.ada/info_exc.exp: Add "complete" test.
3636 2019-05-09 Tom de Vries <tdevries@suse.de>
3638 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
3641 2019-05-09 Tom de Vries <tdevries@suse.de>
3643 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
3646 2019-05-08 Joel Brobecker <brobecker@adacore.com>
3648 * gdb.ada/frame_arg_lang.exp: New testcase.
3649 * gdb.ada/frame_arg_lang/bla.adb: New file.
3650 * gdb.ada/frame_arg_lang/pck.ads: New file.
3651 * gdb.ada/frame_arg_lang/pck.adb: New file.
3652 * gdb.ada/frame_arg_lang/foo.c: New file.
3654 2019-05-08 Tom Tromey <tromey@adacore.com>
3656 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
3658 2019-05-08 Tom Tromey <tromey@adacore.com>
3660 * gdb.base/ptype-offsets.exp: Update tests.
3662 2019-05-08 Tom Tromey <tromey@adacore.com>
3664 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
3666 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
3669 2019-05-08 Tom Tromey <tromey@adacore.com>
3671 * gdb.ada/vla.exp: New file.
3672 * gdb.ada/vla/vla.adb: New file.
3674 2019-05-07 Tom de Vries <tdevries@suse.de>
3676 * gdb.base/index-cache.exp (ls_host): Fix return statement.
3678 2019-05-07 Tom de Vries <tdevries@suse.de>
3681 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
3684 2019-05-07 Tom de Vries <tdevries@suse.de>
3687 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
3688 .debug_aranges section.
3690 2019-05-07 Tom de Vries <tdevries@suse.de>
3693 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
3695 2019-05-06 Tom de Vries <tdevries@suse.de>
3697 * lib/gdb.exp (exec_has_index_section): New proc.
3698 * gdb.base/index-cache.exp: Handle case that binfile contains an index
3701 2019-05-04 Tom de Vries <tdevries@suse.de>
3703 * boards/cc-with-debug-names.exp: New file.
3705 2019-05-03 Tom Tromey <tromey@adacore.com>
3707 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
3708 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
3709 * gdb.ada/char_enum.exp: Add test.
3711 2019-05-03 Tom de Vries <tdevries@suse.de>
3713 * boards/cc-with-gdb-index.exp: New file.
3715 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
3717 * gdb.rust/simple.exp: Add new test case.
3718 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
3719 (main): Initialise an instance of the new struct.
3721 2019-05-01 Tom Tromey <tromey@adacore.com>
3723 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
3725 (NPR): New variable.
3726 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
3729 2019-05-01 Tom Tromey <tromey@adacore.com>
3731 * gdb.ada/packed_array_assign.exp: Add packed assignment
3734 2019-05-01 Tom de Vries <tdevries@suse.de>
3736 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
3738 2019-05-01 Tom de Vries <tdevries@suse.de>
3740 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
3742 2019-04-30 Ali Tamur <tamur@google.com>
3744 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
3746 2019-04-30 Tom Tromey <tromey@adacore.com>
3748 * lib/ada.exp (find_ada_tool): New proc.
3749 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
3750 * gdb.ada/catch_ex_std.exp: New file.
3751 * gdb.ada/catch_ex_std/foo.adb: New file.
3752 * gdb.ada/catch_ex_std/some_package.adb: New file.
3753 * gdb.ada/catch_ex_std/some_package.ads: New file.
3755 2019-04-30 Tom Tromey <tromey@adacore.com>
3758 * gdb.cp/temargs.cc: Add test code from PR.
3760 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3762 * gdb.fortran/vla-datatypes.exp: Update expected results.
3763 * gdb.fortran/vla-ptype.exp: Likewise.
3764 * gdb.fortran/vla-type.exp: Likewise.
3765 * gdb.fortran/vla-value.exp: Likewise.
3767 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3769 * gdb.fortran/ptr-indentation.exp: Update expected results.
3770 * gdb.fortran/ptype-on-functions.exp: Likewise.
3771 * gdb.fortran/vla-ptr-info.exp: Likewise.
3772 * gdb.fortran/vla-value.exp: Likewise.
3774 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3776 * gdb.fortran/ptype-on-functions.exp: New file.
3777 * gdb.fortran/ptype-on-functions.f90: New file.
3779 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3781 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
3784 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3786 * gdb.fortran/complex.exp: Expand.
3787 * gdb.fortran/complex.f: Renamed to...
3788 * gdb.fortran/complex.f90: ...this, and extended to add more
3791 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
3793 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
3796 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
3797 Richard Bunt <richard.bunt@arm.com>
3799 * gdb.base/max-depth.c: New file.
3800 * gdb.base/max-depth.exp: New file.
3801 * gdb.python/py-nested-maps.c: New file.
3802 * gdb.python/py-nested-maps.exp: New file.
3803 * gdb.python/py-nested-maps.py: New file.
3804 * gdb.python/py-format-string.exp (test_max_depth): New proc.
3805 (test_all_common): Call test_max_depth.
3806 * gdb.fortran/max-depth.exp: New file.
3807 * gdb.fortran/max-depth.f90: New file.
3808 * gdb.go/max-depth.exp: New file.
3809 * gdb.go/max-depth.go: New file.
3810 * gdb.modula2/max-depth.exp: New file.
3811 * gdb.modula2/max-depth.c: New file.
3812 * lib/gdb.exp (get_print_expr_at_depths): New proc.
3814 2019-04-29 Tom de Vries <tdevries@suse.de>
3816 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
3818 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3820 * gdb.base/callexit.exp: Test may-call-functions off.
3822 2019-04-25 Keith Seitz <keiths@redhat.com>
3825 * gdb.cp/meth-typedefs.cc (incomplete_struct)
3826 (another_incomplete_struct, test_incomplete): New definitions.
3827 (main): Use new definitions.
3828 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
3831 2019-04-25 Ali Tamur <tamur@google.com>
3833 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
3835 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
3839 * gdb.base/coredump-filter-build-id.exp: New file.
3841 2019-04-25 Alan Hayward <alan.hayward@arm.com>
3843 * Makefile.in: Pass through GDBSERVER_DEBUG.
3844 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
3845 (gdbserver,debug): Add board setting.
3846 * gdb.trace/tspeed.exp: Skip when debugging.
3847 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
3848 * lib/gdbserver-support.exp: Likewise
3850 2019-04-24 Tom Tromey <tromey@adacore.com>
3852 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
3855 2019-04-24 Tom Tromey <tromey@adacore.com>
3857 * gdb.arch/amd64-eval.exp: Test bitfield return.
3858 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
3859 (class Foo) <return_bitfields>: New method.
3862 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
3864 * gdb.cp/many-args.cc: New file.
3865 * gdb.cp/many-args.exp: New file.
3867 2019-04-23 Tom de Vries <tdevries@suse.de>
3870 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
3872 2019-04-23 Alan Hayward <alan.hayward@arm.com>
3874 * gdb.trace/backtrace.exp: Use nopie flag.
3875 * gdb.trace/circ.exp: Likewise.
3876 * gdb.trace/collection.exp: Likewise.
3877 * gdb.trace/ftrace.exp: Likewise.
3878 * gdb.trace/mi-trace-unavailable.exp: Likewise.
3879 * gdb.trace/mi-traceframe-changed.exp: Likewise.
3880 * gdb.trace/qtro.exp: Likewise.
3881 * gdb.trace/read-memory.exp: Likewise.
3882 * gdb.trace/report.exp: Likewise.
3883 * gdb.trace/tfile.exp: Likewise.
3884 * gdb.trace/tfind.exp: Likewise.
3885 * gdb.trace/unavailable.exp: Likewise.
3887 2019-04-22 Pedro Alves <palves@redhat.com>
3889 * gdb.base/solib-probes-nosharedlibrary.c,
3890 gdb.base/solib-probes-nosharedlibrary.exp: New files.
3892 2019-04-19 Tom Tromey <tromey@adacore.com>
3894 * gdb.ada/ptype_union.c: New file.
3895 * gdb.ada/ptype_union.exp: New file.
3897 2019-04-19 Tom Tromey <tromey@adacore.com>
3900 * gdb.base/list0.h (foo): Add a control-l character.
3902 2019-04-18 Tom de Vries <tdevries@suse.de>
3905 * boards/local-board.exp: Set sysroot to "".
3907 2019-04-18 Tom de Vries <tdevries@suse.de>
3908 Pedro Alves <palves@redhat.com>
3911 * gdb.threads/vfork-follow-child-exec.c: New file.
3912 * gdb.threads/vfork-follow-child-exec.exp: New file.
3913 * gdb.threads/vfork-follow-child-exit.c: New file.
3914 * gdb.threads/vfork-follow-child-exit.exp: New file.
3916 2019-04-15 Leszek Swirski <leszeks@google.com>
3918 * gdb.arch/amd64-eval.cc: New file.
3919 * gdb.arch/amd64-eval.exp: New file.
3921 2019-04-11 Alan Hayward <alan.hayward@arm.com>
3923 * gdb.server/sysroot.c: New test.
3924 * gdb.server/sysroot.exp: New file.
3925 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
3928 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
3930 * gdb.base/align.exp: Extend test to cover structures containing
3933 2019-04-11 Tom de Vries <tdevries@suse.de>
3935 * boards/cc-with-dwz-m.exp: New file.
3936 * boards/cc-with-dwz.exp: New file.
3937 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
3939 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
3941 * gdb.base/start-cpp.exp: New file.
3942 * gdb.base/start-cpp.cc: New file.
3944 2019-04-08 Kevin Buettner <kevinb@redhat.com>
3946 * gdb.python/py-thrhandle.exp: Adjust tests to call
3947 thread_from_handle instead of thread_from_thread_handle.
3949 2019-04-08 Kevin Buettner <kevinb@redhat.com>
3951 * gdb.python/py-thrhandle.exp: Add tests for
3952 gdb.InferiorThread.handle.
3954 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3956 * gdb.python/py-function.exp: Check calling helper function from
3958 * lib/gdb.exp (gdb_supported_languages): New proc.
3960 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
3962 * gdb.base/complex-parts.c: New file.
3963 * gdb.base/complex-parts.exp: New file.
3965 2019-04-01 Tom Tromey <tromey@adacore.com>
3968 * gdb.dwarf2/dw2-ranges-main.c: New file.
3969 * gdb.dwarf2/dw2-ranges-psym.c: New file.
3970 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
3972 2019-03-30 Simon Marchi <simark@simark.ca>
3974 * gdb.base/default.exp: Add values for $_gdb_major and
3977 2019-03-29 Tom Tromey <tromey@adacore.com>
3979 * gdb.base/help.exp: Tighten apropos regexp.
3981 2019-03-29 Keith Seitz <keiths@redhat.com>
3983 * gdb.fortran/array-bounds.exp: New file.
3984 * gdb.fortran/array-bounds.f90: New file.
3986 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3988 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
3990 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3992 * gdb.multi/hello.c (main): Increase alarm timer.
3994 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
3996 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
3997 factor when no hardware watchpoint support.
3999 2019-03-28 Alan Hayward <alan.hayward@arm.com>
4000 Pedro Alves <palves@redhat.com>
4002 * boards/local-board.exp: set sysroot to /.
4004 2019-03-27 Alan Hayward <alan.hayward@arm.com>
4006 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
4009 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
4011 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
4013 (make_container): Initialise new field.
4014 * gdb.python/py-prettyprint.exp: Add new tests.
4015 * gdb.python/py-prettyprint.py (class ContainerPrinter)
4016 <display_hint>: New method.
4018 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
4020 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
4021 gdb_continue_to_breakpoint more throughout this test.
4022 (run_lang_tests) Supply unique test names, and use
4025 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
4027 * gdb.base/finish-pretty.exp: Update expected results.
4028 * gdb.base/pretty-print.c: New file.
4029 * gdb.base/pretty-print.exp: New file.
4031 2019-03-25 Pedro Alves <palves@redhat.com>
4033 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
4034 move comments outside list. Append '-i "" eof' section.
4036 2019-03-22 Alan Hayward <alan.hayward@arm.com>
4039 * README: Add pie options.
4040 * gdb.base/break-interp.exp: Ensure pie is disabled.
4041 * gdb.base/dump.exp: Likewise.
4042 * lib/gdb.exp (gdb_compile): Add pie option.
4044 2019-03-19 Tom Tromey <tromey@adacore.com>
4046 * gdb.mi/mi2-cli-display.c: New file.
4047 * gdb.mi/mi2-cli-display.exp: New file.
4049 2019-03-18 Joel Brobecker <brobecker@adacore.com>
4050 Tom Tromey <tromey@adacore.com>
4052 * gdb.ada/ptype_array/pck.adb: New file.
4053 * gdb.ada/ptype_array/pck.ads: New file.
4054 * gdb.ada/ptype_array/foo.adb: New file.
4055 * gdb.ada/ptype_array.exp: New file.
4057 2019-03-14 Tom Tromey <tromey@adacore.com>
4059 * gdb.base/style.exp: Add "set style sources" test.
4061 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
4063 * mi-breakpoint-location-ena-dis.exp: Rename to ...
4064 * mi-breakpoint-multiple-locations.exp: ... this.
4065 (make_breakpoints_pattern): New proc.
4066 (do_test): Add mi_version parameter, test -break-insert,
4067 -break-info and =breakpoint-created.
4069 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
4071 * config/default.exp: Remove 'load_lib gdb.exp'.
4072 * config/monitor.exp: Likewise.
4073 * config/sid.exp: Likewise.
4074 * config/sim.exp: Likewise.
4075 * config/slite.exp: Likewise.
4076 * config/unix.exp: Likewise.
4077 * gdb.base/default.exp: Remove unhelpful comment.
4079 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4081 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
4083 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4085 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
4087 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4089 * gdb.fortran/type-kinds.exp: Update expected results.
4091 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4093 * gdb.fortran/type-kinds.exp: Test new integer type kind.
4095 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4097 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
4099 (test_basic_parsing_of_type_kinds): Expand types tested.
4100 (test_parsing_invalid_type_kinds): New function.
4102 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4104 * gdb.fortran/intrinsics.exp: New file.
4105 * gdb.fortran/intrinsics.f90: New file.
4106 * gdb.fortran/type-kinds.exp: New file.
4108 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4110 * gdb.fortran/dot-ops.exp: New file.
4112 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4114 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
4115 Check upper and lower case logical literals.
4117 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4119 * gdb.fortran/types.exp (test_float_literal_types_accepted):
4120 Remove duplicate tests.
4122 2019-03-06 Alan Hayward <alan.hayward@arm.com>
4124 * lib/gdb.exp (builtin_cd): rename of cd.
4125 (cd): Override builtin.
4127 2019-03-06 Richard Bunt <richard.bunt@arm.com>
4129 * gdb.fortran/function-calls.exp: New file.
4130 * gdb.fortran/function-calls.f90: New test.
4132 2019-03-04 Richard Bunt <richard.bunt@arm.com>
4134 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
4135 on user program standard output.
4136 * gdb.fortran/short-circuit-argument-list.f90: Record function
4139 2019-02-28 Alan Hayward <alan.hayward@arm.com>
4141 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
4144 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4147 * gdb.base/interrupt-daemon-attach.c,
4148 gdb.base/interrupt-daemon-attach.exp: New test.
4150 2019-02-27 Pedro Alves <palves@redhat.com>
4152 * gdb.base/page.exp: Add tests for "set width/height -1".
4154 2019-02-27 Pedro Alves <palves@redhat.com>
4156 * gdb.base/page.exp: Add tests for "set/show width/height" with
4159 2019-02-27 Tom Tromey <tromey@adacore.com>
4161 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
4163 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
4166 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
4168 * gdb.base/align.exp: Extend to compile in both C and C++, and add
4169 tests for structs with static members.
4171 2019-02-26 Tom Tromey <tromey@adacore.com>
4173 * gdb.python/py-value.exp (test_value_from_buffer): Check for
4174 ValueError, not TypeError.
4176 2019-02-26 Kevin Buettner <kevinb@redhat.com>
4178 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
4179 call from main program.
4181 2019-02-23 Joel Brobecker <brobecker@adacore.com>
4183 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
4184 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
4185 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
4186 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
4187 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
4189 2019-02-22 Keith Seitz <keiths@redhat.com>
4192 * gdb.base/symlink-sourcefile.c: New file.
4193 * gdb.base/symlink-sourcefile.exp: New file.
4195 2019-02-20 Tom Tromey <tom@tromey.com>
4197 * gdb.base/info_qt.exp: Update.
4199 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
4201 * gdb.base/source.exp: Move "error in sourced script" code to
4203 * gdb.base/source-error.gdb: Move contents to
4204 source-error-1.gdb. Add new code to source source-error-1.gdb.
4205 * gdb.base/source-error-1.gdb: New file, from previous
4208 2019-02-17 Tom Tromey <tom@tromey.com>
4210 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
4212 * gdb.base/style.c (SOME_MACRO): New macro.
4214 2019-02-17 Tom Tromey <tom@tromey.com>
4216 * gdb.base/style.exp: Add line-wrapping tests.
4217 * gdb.base/page.exp: Add test for quitting during pagination.
4219 2019-02-17 Joel Brobecker <brobecker@adacore.com>
4221 * gdb.ada/big_packed_array: New testcase.
4222 * gdb.ada/homonym.exp: Fix incorrect expected output for
4223 "break <homonym__get_value>" test.
4225 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
4227 PR breakpoints/21870
4228 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
4229 and prepare_for_testing. Add comment.
4230 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
4231 redundant cleanup call. Clean up comment.
4233 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
4235 PR breakpoints/21870
4236 * gdb.arch/aarch64-dbreg-contents.exp: New file.
4237 * gdb.arch/aarch64-dbreg-contents.c: New file.
4239 2019-02-10 Joel Brobecker <brobecker@adacore.com>
4241 * gdb.ada/mi_ref_changeable: New testcase.
4243 2019-02-07 Alan Hayward <alan.hayward@arm.com>
4245 * gdb.base/attach.exp: Add double attach test.
4247 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
4249 * lib/gdb.exp (default_gdb_start): Don't match pagination
4251 (gdb_init): Set stty_init.
4253 2019-01-27 Tom Tromey <tom@tromey.com>
4255 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
4258 2019-01-24 Alan Hayward <alan.hayward@arm.com>
4260 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
4262 (struct struct_static_02_02): Likewise.
4263 (struct struct_static_02_03): Likewise.
4264 (struct struct_static_02_04): Likewise.
4265 (struct struct_static_04_01): Likewise.
4266 (struct struct_static_04_02): Likewise.
4267 (struct struct_static_04_03): Likewise.
4268 (struct struct_static_04_04): Likewise.
4269 (struct struct_static_06_01): Likewise.
4270 (struct struct_static_06_02): Likewise.
4271 (struct struct_static_06_03): Likewise.
4272 (struct struct_static_06_04): Likewise.
4273 (cmp_struct_static_02_01): Likewise.
4274 (cmp_struct_static_02_02): Likewise.
4275 (cmp_struct_static_02_03): Likewise.
4276 (cmp_struct_static_02_04): Likewise.
4277 (cmp_struct_static_04_01): Likewise.
4278 (cmp_struct_static_04_02): Likewise.
4279 (cmp_struct_static_04_03): Likewise.
4280 (cmp_struct_static_04_04): Likewise.
4281 (cmp_struct_static_06_01): Likewise.
4282 (cmp_struct_static_06_02): Likewise.
4283 (cmp_struct_static_06_03): Likewise.
4284 (cmp_struct_static_06_04): Likewise.
4285 (call_all): Test new structs.
4286 * gdb.base/infcall-nested-structs.exp: Likewise.
4288 2019-01-21 Alan Hayward <alan.hayward@arm.com>
4289 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
4291 2019-01-21 Alan Hayward <alan.hayward@arm.com>
4292 * gdb.base/stack-protector.c: New test.
4293 * gdb.base/stack-protector.exp: New file.
4294 * gdb.cp/ovldbreak.exp: Only allow a single break line.
4295 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
4297 (gdb_compile): Remove stack protector for GCC and prevent
4300 2019-01-16 Keith Seitz <keiths@redhat.com>
4303 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
4305 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4307 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
4309 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
4311 * gdb.arch/powerpc-vector-regs.c: New file.
4312 * gdb.arch/powerpc-vector-regs.exp: New file.
4314 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4316 * gdb.arch/altivec-regs.exp: Fix the list passed to
4317 gdb_expect_list when testing "info vector".
4319 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
4321 * gdb.base/style.exp: Don't include path in testname.
4323 2019-01-10 Keith Seitz <keiths@redhat.com>
4327 * gdb.dwarf2/multidictionary.exp: New file.
4329 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
4331 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
4332 (test_gnuv3_style_demangling): ... this.
4333 (test_lucid_style_demangling): Remove.
4334 (test_arm_style_demangling): Remove.
4335 (test_hp_style_demangling): Remove.
4336 (do_tests): Remove calls to the above.
4338 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
4340 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
4343 2019-01-06 Tom Tromey <tom@tromey.com>
4346 * gdb.dwarf2/typedef-void-finish.exp: New file.
4348 2018-12-28 Tom Tromey <tom@tromey.com>
4349 Simon Marchi <simark@simark.ca>
4351 * gdb.base/jit-exec.exp: New file.
4352 * gdb.base/jit-exec.c: New file.
4353 * gdb.base/jit-execd.c: New file.
4355 2018-12-28 Tom Tromey <tom@tromey.com>
4357 * gdb.base/style.exp: Update test to check for address styling.
4359 2018-12-28 Tom Tromey <tom@tromey.com>
4361 * gdb.base/style.exp: Add test for styling of "Reading symbols"
4364 2018-12-28 Tom Tromey <tom@tromey.com>
4366 * gdb.base/style.exp: Add test for version number styling.
4368 2018-12-28 Tom Tromey <tom@tromey.com>
4370 * gdb.base/style.exp: Add test for print_address_symbolic.
4372 2018-12-28 Tom Tromey <tom@tromey.com>
4374 * gdb.base/style.exp: Add test for breakpoint setting.
4376 2018-12-28 Tom Tromey <tom@tromey.com>
4378 * gdb.base/style.exp: Add test for variable names.
4380 2018-12-28 Tom Tromey <tom@tromey.com>
4382 * gdb.base/style.exp: New file.
4383 * gdb.base/style.c: New file.
4385 2018-12-28 Tom Tromey <tom@tromey.com>
4387 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
4389 * gdb.base/readline.exp (operate_and_get_next): Save and restore
4390 the TERM environment variable.
4392 2018-12-27 Tom Tromey <tom@tromey.com>
4394 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
4397 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
4399 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
4400 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
4402 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4404 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
4405 Filename a.adb changed to bp_fun_addr.adb.
4406 gdb.ada/bp_fun_addr.exp: Update test accordingly.
4408 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
4410 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
4411 non-PIE executables.
4412 * README: Mention the gdb,nopie_flag board setting.
4413 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
4415 * gdb.arch/amd64-entry-value.exp: Likewise.
4416 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
4417 * gdb.arch/i386-float.exp: Likewise.
4418 * gdb.arch/i386-signal.exp: Likewise.
4419 * gdb.mi/mi-reg-undefined.exp: Likewise.
4421 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
4424 * gdb.base/info-os.exp: Check return for unknown "info os" type.
4426 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4428 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
4429 Update order of results accordingly.
4431 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
4433 * gdb.base/annota1.exp: Update a test regexp.
4435 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4437 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
4439 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4441 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
4442 (reuse_time): Initialize to REUSE_TIME_CAP.
4443 (check_rc): New function.
4444 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
4445 Check pthread_create rc.
4446 (spawner_thread_func): Check pthread_create and pthread_join rc.
4448 2018-12-08 Pedro Alves <palves@redhat.com>
4450 * gdb.base/list.exp (test_forward_search): Rename to ...
4451 (test_forward_reverse_search): ... this. Also test reverse-search
4452 and the forward-search alias.
4454 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
4456 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
4457 local timeout variable before return, and remove all local timeout
4459 (gdb_load): Likewise.
4461 2018-12-01 Tom de Vries <tdevries@suse.de>
4463 * gdb.base/gdb-caching-proc.exp: New file.
4465 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
4467 * Makefile.in (TIMESTAMP): New variable.
4468 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
4470 (check-single-racy): Likewise.
4471 (check/%.exp): Likewise.
4472 (check-racy/%.exp): Likewise.
4473 (workers/%.worker): Likewise.
4474 (build-perf): Likewise.
4475 (check-perf): Likewise.
4476 * README: Describe new "TS" and "TS_FORMAT" variables.
4477 * print-ts.py: New file.
4479 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
4482 * gdb.python/python.exp: Test command repetition after
4485 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
4487 * gdb.opt/inline-break.exp: Add test that info breakpoint output
4488 is correctly aligned.
4490 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4492 * gdb.ada/info_auto_lang.exp: New testcase.
4493 * gdb.ada/info_auto_lang/global_pack.ads: New file.
4494 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
4495 * gdb.ada/info_auto_lang/some_c.c: New file.
4497 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4499 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
4500 FUNC_lang language syntax.
4502 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4504 * gdb.base/info_minsym.c: New file.
4505 * gdb.base/info_minsym.exp: New file.
4507 2018-11-19 Tom Tromey <tom@tromey.com>
4510 * gdb.rust/simple.exp: Add ptype test. Update expected output.
4511 * gdb.rust/expr.exp: Update expected output. Change one test.
4513 2018-11-19 Tom Tromey <tom@tromey.com>
4515 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
4517 2018-11-19 Pedro Alves <palves@redhat.com>
4519 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
4520 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
4521 see the expected warning.
4523 2018-11-16 Alan Hayward <alan.hayward@arm.com>
4526 * gdb.cp/infcall-nodebug-lib.c: New test.
4527 * gdb.cp/infcall-nodebug-main.c: New test.
4528 * gdb.cp/infcall-nodebug.exp: New file.
4530 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
4532 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
4535 2018-11-09 Tom de Vries <tdevries@suse.de>
4537 * gdb.base/msym-lang.c: New test.
4538 * gdb.base/msym-lang.exp: New file.
4539 * gdb.base/msym-lang-main.c: New test.
4541 2018-11-08 Tom Tromey <tom@tromey.com>
4545 * gdb.base/warning.exp: New file.
4547 2018-11-08 Jan Beulich <jbeulich@suse.com>
4549 * testsuite/gdb.arch/i386-avx512.c,
4550 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
4552 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
4554 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
4557 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
4559 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
4560 * gdb.dwarf2/missing-type-name.exp: New file.
4562 2018-11-06 Tom de Vries <tdevries@suse.de>
4564 * gdb.base/many-headers.c: New test.
4565 * gdb.base/many-headers.exp: New file.
4567 2018-11-06 Jim Wilson <jimw@sifive.com>
4569 * gdb.base/code_elim.exp: For riscv, set additional_flags
4570 to include -msmall-data-limit=0.
4572 2018-11-01 Joel Brobecker <brobecker@adacore.com>
4574 * gdb.ada/watch_minus_l: New testcase.
4576 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
4578 * gdb.arch/aix-sighandle.c: New file.
4579 * gdb.arch/aix-sighandle.exp: New file.
4581 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4583 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
4584 registers being unions.
4586 2018-10-31 Tom de Vries <tdevries@suse.de>
4588 * lib/valgrind.exp: New file.
4589 (vgdb_start, vgdb_stop): New procs, factored out of ...
4590 * gdb.base/valgrind-bt.exp: ... here, ...
4591 * gdb.base/valgrind-disp-step.exp: ... here and ...
4592 * gdb.base/valgrind-infcall.exp: ... here.
4594 2018-10-31 Tom de Vries <tdevries@suse.de>
4596 * lib/gdb.exp (get_valueof): Don't output read value in test name.
4598 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
4600 * gdb.dwarf2/void-type.c: New file.
4601 * gdb.dwarf2/void-type.exp: New file.
4603 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4605 * gdb.base/info_qt.c: New file.
4606 * gdb.base/info_qt.exp: New file.
4608 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4610 * gdb.arch/powerpc-htm-regs.c: New file.
4611 * gdb.arch/powerpc-htm-regs.exp: New file.
4613 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4615 * gdb.arch/powerpc-tar.c: New file.
4616 * gdb.arch/powerpc-tar.exp: New file.
4618 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
4620 * gdb.arch/powerpc-ppr-dscr.c: New file.
4621 * gdb.arch/powerpc-ppr-dscr.exp: New file.
4623 2018-10-25 Tom de Vries <tdevries@suse.de>
4625 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
4627 2018-10-24 Tom de Vries <tdevries@suse.de>
4629 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
4630 longer exists error.
4632 2018-10-24 Tom de Vries <tdevries@suse.de>
4634 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
4636 2018-10-24 Tom de Vries <tdevries@suse.de>
4638 * gdb.base/valgrind-db-attach.exp: Handle removed support for
4639 --db-attach in valgrind.
4641 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
4643 * gdb.arch/riscv-reg-aliases.c: New file.
4644 * gdb.arch/riscv-reg-aliases.exp: New file.
4646 2018-10-19 Alan Hayward <alan.hayward@arm.com>
4648 * gdb.python/py-cmd.exp: Check for gdb_prompt.
4650 2018-10-19 Alan Hayward <alan.hayward@arm.com>
4652 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
4654 2018-10-19 Alan Hayward <alan.hayward@arm.com>
4656 * gdb.cp/ovldbreak.exp: Fix regexps.
4658 2018-10-19 Alan Hayward <alan.hayward@arm.com>
4660 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
4662 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
4665 * gdb.base/restore.exp: New test to check if "restore" with an
4666 invalid file doesn't segfault.
4668 2018-10-18 Tom de Vries <tdevries@suse.de>
4670 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
4671 * gdb.ada/excep_handle.exp: Same.
4672 * gdb.ada/mi_string_access.exp: Same.
4673 * gdb.ada/mi_var_union.exp: Same.
4674 * gdb.arch/arc-analyze-prologue.exp: Same.
4675 * gdb.arch/arc-decode-insn.exp: Same.
4676 * gdb.base/readnever.exp: Same.
4677 * gdb.fortran/printing-types.exp: Same.
4678 * gdb.guile/scm-lazy-string.exp: Same.
4680 2018-10-16 Tom de Vries <tdevries@suse.de>
4683 * gdb.base/catch-follow-exec.c: Add copyright notice.
4684 * gdb.base/catch-follow-exec.exp: Rewrite to use
4685 gdb_spawn_with_cmdline_opts. Require gdb-native.
4687 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
4689 * gdb.trace/actions-changed.exp: Check for arch support.
4690 * gdb.trace/actions.exp: Likewise.
4691 * gdb.trace/ax.exp: Likewise.
4692 * gdb.trace/backtrace.exp: Likewise.
4693 * gdb.trace/change-loc.exp: Likewise.
4694 * gdb.trace/deltrace.exp: Likewise.
4695 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
4696 * gdb.trace/ftrace.exp: Likewise.
4697 * gdb.trace/infotrace.exp: Check for arch support.
4698 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
4699 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
4700 * gdb.trace/mi-tsv-changed.exp: Likewise.
4701 * gdb.trace/packetlen.exp: Likewise.
4702 * gdb.trace/passc-dyn.exp: Likewise.
4703 * gdb.trace/passcount.exp: Likewise.
4704 * gdb.trace/pending.exp: Likewise.
4705 * gdb.trace/range-stepping.exp: Check for shlib support.
4706 * gdb.trace/report.exp: Check for arch support.
4707 * gdb.trace/save-trace.exp: Likewise.
4708 * gdb.trace/signal.exp: Check for signal support.
4709 * gdb.trace/tfind.exp: Check for arch support.
4710 * gdb.trace/trace-break.exp: Check for arch and shlib support.
4711 * gdb.trace/trace-common.h: Add comment.
4712 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
4713 * gdb.trace/trace-enable-disable.exp: Likewise.
4714 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
4715 * gdb.trace/tracecmd.exp: Check for arch support.
4716 * gdb.trace/tspeed.exp: Check for shlib and target support.
4717 * gdb.trace/tstatus.exp: Check for arch support.
4718 * gdb.trace/tsv.exp: Likewise.
4719 * gdb.trace/while-dyn.exp: Likewise.
4720 * gdb.trace/while-stepping.exp: Likewise.
4721 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
4723 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
4725 * gdb.trace/tspeed.exp: Remove nowarnings.
4726 (prepare_for_trace_test): Declare "global ipalib".
4727 * gdb.trace/tspeed.c: Include unistd.h.
4728 (main): Remove superfluous printf argument.
4730 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
4732 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
4733 directory prefix on the filename.
4735 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
4737 * gdb.gdb/unittest.exp: Update expected message informing that
4738 selftests have been disabled.
4739 * gdb.server/unittest.exp: Likewise.
4741 2018-10-09 Tom de Vries <tdevries@suse.de>
4743 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
4746 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
4749 * gdb.cp/virtbase2.cc: New file.
4750 * gdb.cp/virtbase2.exp: New file.
4752 2018-10-06 Tom Tromey <tom@tromey.com>
4755 * gdb.python/py-inferior.exp: Add architecture test.
4757 2018-10-06 Tom Tromey <tom@tromey.com>
4759 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
4760 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
4762 2018-10-06 Tom Tromey <tom@tromey.com>
4764 * gdb.python/py-breakpoint.exp (check_last_event): Check location
4765 of a "throw" catchpoint.
4767 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
4769 * gdb.base/info-proc.exp: Update string expected from "help info
4772 2018-10-04 Tom Tromey <tom@tromey.com>
4774 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
4775 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
4776 (test_initial_complaints, test_empty_complaints): Update.
4777 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
4779 2018-10-04 Tom Tromey <tom@tromey.com>
4782 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
4783 * lib/gdb.exp (gdb_file_cmd): Update.
4784 * gdb.stabs/weird.exp (print_weird_var): Update.
4785 * gdb.server/solib-list.exp: Update.
4786 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
4787 * gdb.mi/mi-cli.exp: Update.
4788 * gdb.linespec/linespec.exp: Update.
4789 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
4790 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
4791 * gdb.cp/cp-relocate.exp: Update.
4792 * gdb.base/sym-file.exp: Update.
4793 * gdb.base/relocate.exp: Update.
4794 * gdb.base/readnever.exp: Update.
4795 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
4796 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
4797 * gdb.base/dbx.exp (gdb_file_cmd): Update.
4798 * gdb.base/code_elim.exp: Update.
4799 * gdb.base/break-unload-file.exp (test_break): Update.
4800 * gdb.base/break-interp.exp (test_attach_gdb): Update.
4801 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
4803 * gdb.base/attach.exp (do_attach_tests): Update.
4804 * gdb.base/sepdebug.exp: Update.
4805 * gdb.python/py-section-script.exp: Update.
4807 2018-10-04 Tom Tromey <tom@tromey.com>
4810 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
4811 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
4814 2018-10-04 Tom Tromey <tom@tromey.com>
4816 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
4817 set width and height to 0.
4818 (test_command_line_attach_run): Use -quiet.
4820 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
4822 * lib/gdb.exp (skip_ifunc_tests): New.
4823 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
4824 other compile failures.
4825 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
4827 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
4829 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
4830 is_amd64_regs_target.
4832 2018-10-01 Alan Hayward <alan.hayward@arm.com>
4834 * gdb.arch/aarch64-sighandler-regs.c: New test.
4835 * gdb.arch/aarch64-sighandler-regs.exp: New file.
4836 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
4838 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
4840 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
4843 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
4845 * gdb.base/frame-selection.exp: New file.
4846 * gdb.base/frame-selection.c: New file.
4848 2018-09-27 Alan Hayward <alan.hayward@arm.com>
4850 * gdb.threads/check-libthread-db.c (thread_routine): Use a
4854 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
4856 * gdb.base/large-frame-1.c: New file.
4857 * gdb.base/large-frame-2.c: New file.
4858 * gdb.base/large-frame.exp: New file.
4859 * gdb.base/large-frame.h: New file.
4861 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
4864 * gdb.base/write_mem.exp: New test.
4865 * gdb.base/write_mem.c: Likewise.
4867 2018-09-23 Tom Tromey <tom@tromey.com>
4870 * gdb.python/py-parameter.exp: Add test for parameter that throws
4873 2018-09-23 Tom Tromey <tom@tromey.com>
4876 * gdb.python/py-template.exp (test_template_arg): Add test for
4877 negative template argument number.
4879 2018-09-23 Tom Tromey <tom@tromey.com>
4882 * gdb.python/python.exp: Add test for post_event error.
4884 2018-09-23 Tom Tromey <tom@tromey.com>
4887 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
4888 convert pointers to int and long.
4890 2018-09-23 Tom Tromey <tom@tromey.com>
4893 * gdb.python/py-value.exp (test_value_numeric_ops): Add
4894 signed-ness conversion tests.
4896 2018-09-23 Tom Tromey <tom@tromey.com>
4899 * gdb.python/py-value.exp (test_float_conversion): New proc.
4902 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
4904 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
4906 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
4908 * gdb.base/complete-empty.exp: Skip tab-completion tests if
4910 * gdb.base/utf8-identifiers.exp: Likewise.
4911 * gdb.cp/cpcompletion.exp: Likewise.
4912 * gdb.linespec/cpcompletion.exp: Likewise.
4913 * gdb.linespec/cpls-abi-tag.exp: Likewise.
4914 * gdb.linespec/cpls-ops.exp: Likewise.
4916 2018-09-19 Richard Bunt <richard.bunt@arm.com>
4917 Chris January <chris.january@arm.com>
4919 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
4920 * gdb.fortran/short-circuit-argument-list.exp: New file.
4921 * gdb.fortran/short-circuit-argument-list.f90: New test.
4923 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4925 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
4926 "arch=" keyword when executing "-stack-list-frames".
4928 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4930 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
4931 "arch=" keyword when executing "-stack-list-frames".
4933 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
4935 * gdb.ada/complete.exp: Expect for "@" when doing "complete
4938 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
4941 * gdb.python/python.exp: Test gdb.execute("show commands").
4943 2018-09-16 Tom Tromey <tom@tromey.com>
4945 * gdb.base/new-ui.exp (do_execution_tests): Update.
4946 * gdb.base/dbx.exp (test_breakpoints): Update.
4948 2018-09-14 Alan Hayward <alan.hayward@arm.com>
4950 * lib/gdb.exp (gdb_simple_compile): Add proc.
4951 (is_elf_target): Use gdb_simple_compile.
4952 (skip_altivec_tests): Likewise.
4953 (skip_vsx_tests): Likewise.
4954 (skip_tsx_tests): Likewise.
4955 (skip_btrace_tests): Likewise.
4956 (skip_btrace_pt_tests): Likewise.
4957 (gdb_can_simple_compile): Likewise.
4958 (gdb_has_argv0): Likewise.
4959 (gdb_target_symbol_prefix): Likewise.
4960 (target_supports_scheduler_locking): Likewise.
4962 2018-09-13 Tom Tromey <tom@tromey.com>
4964 * Makefile.in (TAGS): Recognize proc_with_prefix and
4967 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4969 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
4972 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4974 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
4975 and a few other Inferior properties when the Inferior is no
4978 2018-09-13 Tom Tromey <tom@tromey.com>
4981 * gdb.rust/simple.exp: Add test for enum field access error.
4983 2018-09-13 Tom Tromey <tom@tromey.com>
4986 * gdb.rust/simple.rs (EmptyEnum): New type.
4988 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
4990 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
4992 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
4993 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
4994 * gdb.python/py-symtab.exp: Update test printing an objfile.
4996 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
4998 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
5001 2018-09-12 Alan Hayward <alan.hayward@arm.com>
5003 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
5004 (support_complex_tests): Use gdb_can_simple_compile.
5005 (is_ilp32_target): Likewise.
5006 (is_lp64_target): Likewise.
5007 (is_64_target): Likewise.
5008 (is_amd64_regs_target): Likewise.
5009 (is_aarch32_target): Likewise.
5010 (gdb_int128_helper): Likewise.
5012 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5014 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
5016 2018-09-10 Jerome Guitton <guitton@adacore.com>
5018 * gdb.ada/same_component_name: Add test for case of tagged record
5019 with variable-length fields.
5021 2018-09-10 Xavier Roirand <roirand@adacore.com>
5023 * gdb.ada/access_to_unbounded_array.exp: New testcase.
5024 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
5025 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
5026 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
5028 2018-09-10 Xavier Roirand <roirand@adacore.com>
5030 * gdb.ada/mi_string_access.exp: New testcase.
5031 * gdb.ada/mi_string_access/bar.adb: New file.
5032 * gdb.ada/mi_string_access/pck.adb: New file.
5033 * gdb.ada/mi_string_access/pck.asd: New file.
5035 2018-09-10 Xavier Roirand <roirand@adacore.com>
5037 * gdb.ada/mi_var_union.exp: New testcase.
5038 * gdb.ada/mi_var_union/bar.adb: New file.
5039 * gdb.ada/mi_var_union/pck.adb: New file.
5040 * gdb.ada/mi_var_union/pck.asd: New file.
5042 2018-09-08 Tom Tromey <tom@tromey.com>
5044 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
5046 2018-09-08 Tom Tromey <tom@tromey.com>
5049 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
5050 (register_pretty_printers): Register new printer.
5051 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
5053 * gdb.python/py-prettyprint.c (int_type3): New typedef.
5054 (an_int_type3): New global.
5056 2018-09-08 Joel Brobecker <brobecker@adacore.com>
5058 * gdb.ada/expr_with_funcall: New testcase.
5060 2018-09-08 Joel Brobecker <brobecker@adacore.com>
5062 * gdb.ada/packed_array_assign: New testcase.
5064 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
5066 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
5067 names, and add test prefixes to make test names unique.
5069 2018-09-05 Tom de Vries <tdevries@suse.de>
5071 * gdb.dwarf2/varval.exp: Add test.
5073 2018-09-04 Gary Benson <gbenson@redhat.com>
5075 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
5076 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
5078 2018-08-31 Tom Tromey <tom@tromey.com>
5080 * gdb.rust/simple.rs: Rename second variable "v".
5082 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
5084 * gdb.base/funcargs.c (use_a): New function.
5085 (recurse): Call use_a.
5087 2018-08-29 Keith Seitz <keiths@redhat.com>
5089 * gdb.compile/compile-cplus-anonymous.cc: New file.
5090 * gdb.compile/compile-cplus-anonymous.exp: New file.
5091 * gdb.compile/compile-cplus-array-decay.cc: New file.
5092 * gdb.compile/compile-cplus-array-decay.exp: New file.
5093 * gdb.compile/compile-cplus-inherit.cc: New file.
5094 * gdb.compile/compile-cplus-inherit.exp: New file.
5095 * gdb.compile/compile-cplus-member.cc: New file.
5096 * gdb.compile/compile-cplus-member.exp: New file.
5097 * gdb.compile/compile-cplus-method.cc: New file.
5098 * gdb.compile/compile-cplus-method.exp: New file.
5099 * gdb.compile/compile-cplus-mod.c: "New" file.
5100 * gdb.compile/compile-cplus-namespace.cc: New file.
5101 * gdb.compile/compile-cplus-namespace.exp: New file.
5102 * gdb.compile/compile-cplus-nested.cc: New file.
5103 * gdb.compile/compile-cplus-nested.exp: New file.
5104 * gdb.compile/compile-cplus-print.c: "New" file.
5105 * gdb.compile/compile-cplus-print.exp: "New" file.
5106 * gdb.compile/compile-cplus-virtual.cc: New file.
5107 * gdb.compile/compile-cplus-virtual.exp: New file.
5108 * gdb.compile/compile-cplus.c: "New" file.
5109 * gdb.compile/compile-cplus.exp: "New" file.
5110 * lib/compile-support.exp: New file.
5112 2018-08-16 Gary Benson <gbenson@redhat.com>
5115 * gdb.base/batch-exit-status.exp: New file.
5116 * gdb.base/batch-exit-status.good-commands: Likewise.
5117 * gdb.base/batch-exit-status.bad-commands: Likewise.
5119 2018-08-29 Alan Hayward <alan.hayward@arm.com>
5121 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
5122 (struct struct02): Likewise.
5123 (struct struct03): Likewise.
5124 (struct struct04): Likewise.
5125 (struct struct_01_01): New struct.
5126 (struct struct_01_02): Likewise.
5127 (struct struct_01_03): Likewise.
5128 (struct struct_01_04): Likewise.
5129 (struct struct_02_01): Likewise.
5130 (struct struct_02_02): Likewise.
5131 (struct struct_02_03): Likewise.
5132 (struct struct_02_04): Likewise.
5133 (struct struct_04_01): Likewise.
5134 (struct struct_04_02): Likewise.
5135 (struct struct_04_03): Likewise.
5136 (struct struct_04_04): Likewise.
5137 (struct struct_05_01): Likewise.
5138 (struct struct_05_02): Likewise.
5139 (struct struct_05_03): Likewise.
5140 (struct struct_05_04): Likewise.
5141 (cmp_struct01): Remove function.
5142 (cmp_struct02): Likewise.
5143 (cmp_struct03): Likewise.
5144 (cmp_struct04): Likewise.
5145 (cmp_struct_01_01): Add Function.
5146 (cmp_struct_01_02): Likewise.
5147 (cmp_struct_01_03): Likewise.
5148 (cmp_struct_01_04): Likewise.
5149 (cmp_struct_02_01): Likewise.
5150 (cmp_struct_02_02): Likewise.
5151 (cmp_struct_02_03): Likewise.
5152 (cmp_struct_02_04): Likewise.
5153 (cmp_struct_04_01): Likewise.
5154 (cmp_struct_04_02): Likewise.
5155 (cmp_struct_04_03): Likewise.
5156 (cmp_struct_04_04): Likewise.
5157 (cmp_struct_05_01): Likewise.
5158 (cmp_struct_05_02): Likewise.
5159 (cmp_struct_05_03): Likewise.
5160 (cmp_struct_05_04): Likewise.
5161 (call_all): Add new structs.
5162 * gdb.base/infcall-nested-structs.exp: Likewise.
5164 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
5166 * gdb.python/py-framefilter-mi.exp: Update regexp to
5167 check for "arch" field in frame output.
5169 2018-08-23 Kevin Buettner <kevinb@redhat.com>
5171 * gdb.dwarf2/dw2-ranges-func.c: New file.
5172 * gdb.dwarf2/dw2-ranges-func.exp: New file.
5174 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
5176 * gdb.base/term.exp: Compare terminal settings with values from
5178 * gdb.base/term.c: Get and set terminal settings.
5180 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
5182 * lib/mi-support.exp (mi_expect_stop): Update regexp to
5183 accommodate new "arch" field in frame output.
5184 * gdb.mi/mi-return.exp: Likewise.
5185 * gdb.mi/mi-stack.exp: Likewise.
5186 * gdb.mi/mi-syn-frame.exp: Likewise.
5187 * gdb.mi/user-selected-context-sync.exp: Likewise.
5189 2018-08-19 Michael Spang <spang@google.com>
5192 * gdb.base/gcore-tls-pie.c: New file.
5193 * gdb.base/gcore-tls-pie.exp: New file.
5195 2018-08-18 Kevin Buettner <kevinb@redhat.com>
5197 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
5198 * gdb.dwarf2/varval.c: New file.
5199 * gdb.dwarf2/varval.exp: New file.
5201 2018-08-17 Alan Hayward <alan.hayward@arm.com>
5204 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
5206 2018-08-16 Keith Seitz <keiths@redhat.com>
5208 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
5209 tests expected to pass.
5211 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
5213 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
5214 -data-disassemble -a.
5215 (test_disassembly_bogus_args): Likewise.
5217 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
5219 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
5221 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
5223 * gdb.base/vla-optimized-out.exp: Add new test.
5225 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
5227 * gdb.base/vla-optimized-out-o3.exp: Delete.
5228 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
5229 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
5232 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
5235 * gdb.server/extended-remote-restart.c: New file.
5236 * gdb.server/extended-remote-restart.exp: New file.
5238 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
5240 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
5241 "set variable index = 42".
5243 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
5245 * boards/index-cache-gdb.exp: New file.
5246 * gdb.dwarf2/index-cache.exp: New file.
5247 * gdb.dwarf2/index-cache.c: New file.
5248 * gdb.base/maint.exp: Check if we are using the index cache.
5250 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5252 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
5255 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5257 * dg-extract-results.sh: Move to toplevel contrib.
5258 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
5259 * Makefile.in (check-parallel-racy): Likewise.
5261 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
5263 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
5264 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
5265 tests if the target supports scheduler locking.
5267 2018-08-04 Tom de Vries <tdevries@suse.de>
5269 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
5271 2018-08-02 Tom Tromey <tom@tromey.com>
5274 * gdb.cp/temargs.exp: Test "info address" of a template
5277 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
5279 * gdb.python/py-mi-var-info-path-expression.c: New file.
5280 * gdb.python/py-mi-var-info-path-expression.py: New file.
5281 * gdb.python/py-mi-var-info-path-expression.exp: New file.
5283 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
5285 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
5286 error after "cannot resolve name" string.
5288 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
5290 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
5292 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
5294 2018-07-28 Tom de Vries <tdevries@suse.de>
5296 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
5298 2018-07-26 Tom de Vries <tdevries@suse.de>
5300 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
5302 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
5304 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
5307 2018-07-26 Tom de Vries <tdevries@suse.de>
5309 PR breakpoints/23366
5310 * gdb.base/catch-follow-exec.c: New test.
5311 * gdb.base/catch-follow-exec.exp: New file.
5313 2018-07-25 Tom de Vries <tdevries@suse.de>
5315 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
5316 vla-optimized-out.c.
5318 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
5320 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
5321 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
5323 2018-07-20 Tom de Vries <tdevries@suse.de>
5325 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
5327 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
5329 2018-07-19 Tom de Vries <tdevries@suse.de>
5331 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
5334 2018-07-18 Tom de Vries <tdevries@suse.de>
5336 * gdb.base/vla-optimized-out.c: New test.
5337 * gdb.base/vla-optimized-out.exp: New file.
5339 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
5341 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
5342 message "No address associated with hostname" when gdbserver
5343 cannot resolve the hostname.
5345 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5347 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
5348 Add some test prefixes to make tests unique.
5350 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5352 * gdb.base/frameapply.c: New file.
5353 * gdb.base/frameapply.exp: New file.
5355 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5357 * gdb.base/skip.exp: Update expected error message.
5359 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
5360 Jan Kratochvil <jan.kratochvil@redhat.com>
5361 Paul Fertser <fercerpav@gmail.com>
5362 Tsutomu Seki <sekiriki@gmail.com>
5364 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
5366 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
5368 * boards/native-gdbserver.exp: Likewise.
5369 * gdb.server/run-without-local-binary.exp: Improve regexp used
5370 for detecting when a remote debugging connection succeeds.
5371 * gdb.server/server-connect.exp: New file.
5372 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
5373 Do not prefix the port number with ":".
5374 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
5375 support for detecting and using it. Add '$debughost_gdbserver'
5376 to the list of arguments used to start gdbserver. Handle case
5377 when gdbserver cannot resolve a network name.
5379 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
5382 * gdb.base/ptype-offsets.cc (struct static_member): New
5384 (main) <stmember>: New variable.
5385 * gdb.base/ptype-offsets.exp: Add test for printing a struct
5386 with a static member in it.
5388 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
5390 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
5391 watchpoints enabled and disabled.
5393 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5395 * gdb.base/examine-backward.exp: Still run tests around address
5396 0x0, even if address 0x0 is not readable. Update the pattern for
5397 matching address 0x0 in expected output.
5399 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
5401 * gdb.base/share-env-with-gdbserver.c (main): Add call to
5404 2018-07-04 Tom de Vries <tdevries@suse.de>
5406 * gdb.dwarf2/dw2-error.exp: Update expected error message.
5408 2018-07-02 Maciej W. Rozycki <macro@mips.com>
5411 * gdb.arch/mips-disassembler-options.exp: New test.
5412 * gdb.arch/mips-disassembler-options.s: New test source.
5414 2018-06-29 Pedro Alves <palves@redhat.com>
5416 * gdb.threads/names.exp: Adjust expected "info threads" output.
5418 2018-06-29 Pedro Alves <palves@redhat.com>
5420 * gdb.opt/inline-break.exp (line number, address): Add "info
5423 2018-06-29 Pedro Alves <palves@redhat.com>
5425 * gdb.opt/inline-break.c (func1): Add "break here" marker.
5426 * gdb.opt/inline-break.exp: Test setting breakpoints by line
5427 number and address and running to them.
5429 2018-06-29 Richard Bunt <richard.bunt@arm.com>
5431 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
5433 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5435 * lib/compiler.c: Remove executable permission flag.
5437 2018-06-28 Richard Bunt <richard.bunt@arm.com>
5439 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
5441 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
5443 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
5445 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
5447 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
5449 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
5450 address argument is omitted.
5452 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
5454 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
5456 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
5459 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
5460 * gdb.base/infoline-reloc-main-from-zero.c: New file.
5462 2018-06-26 Tom Tromey <tom@tromey.com>
5465 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
5466 * gdb.rust/simple.rs (struct SimpleLayout): New.
5468 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
5470 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
5471 "info registers" output.
5473 2018-06-21 Richard Bunt <richard.bunt@arm.com>
5475 * gdb.base/watchpoint-hw-attach.c: New test.
5476 * gdb.base/watchpoint-hw-attach.exp: New file.
5478 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
5480 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
5482 * boards/dwarf4-gdb-index.exp: Likewise.
5483 * boards/fission-dwp.exp: Likewise.
5485 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
5487 * gdb.base/float128.exp: Add comment and improved fail message
5488 to the failure case of "print large128" test.
5490 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
5492 * configure.ac: Remove AC_PREREQ.
5493 * configure: Re-generate.
5495 2018-06-19 Pedro Alves <palves@redhat.com>
5497 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
5498 (func_extern_caller): New.
5499 (main): Call func_extern_caller.
5500 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
5503 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
5506 * gdb.cp/typedef-base.cc: New file.
5507 * gdb.cp/typedef-base.exp: New file.
5509 2018-06-18 Tom de Vries <tdevries@suse.de>
5511 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
5513 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
5514 Richard Bunt <Richard.Bunt@arm.com>
5516 * gdb.threads/attach-slow-waitpid.c: New file.
5517 * gdb.threads/attach-slow-waitpid.exp: New file.
5518 * gdb.threads/slow-waitpid.c: New file.
5520 2018-06-14 Pedro Alves <palves@redhat.com>
5522 * gdb.base/fork-running-state.c: Include <errno.h>.
5523 (exit_if_relative_exits): New.
5524 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
5526 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
5529 2018-06-14 Tom de Vries <tdevries@suse.de>
5532 * gdb.base/finish-pretty.c: New test.
5533 * gdb.base/finish-pretty.exp: New file.
5535 2018-06-14 Pedro Alves <palves@redhat.com>
5537 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
5538 gdb's expected startup output.
5540 2018-06-14 Pedro Alves <palves@redhat.com>
5542 * lib/selftest-support.exp (selftest_setup): Remove inlined
5545 2018-06-14 Tom de Vries <tdevries@suse.de>
5547 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
5548 matching of breakpoint printing.
5550 2018-06-13 Tom de Vries <tdevries@suse.de>
5553 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
5554 (fork_child): ... here, and ...
5555 (fork_parent): ... here.
5557 2018-06-12 Tom de Vries <tdevries@suse.de>
5559 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
5561 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
5562 Stephen Roberts <stephen.roberts@arm.com>
5564 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
5565 rewrite test to describe action performed, rather than possible
5568 2018-06-08 Gary Benson <gbenson@redhat.com>
5570 * gdb.threads/check-libthread-db.exp: New file.
5571 * gdb.threads/check-libthread-db.c: Likewise.
5573 2018-06-05 Tom Tromey <tom@tromey.com>
5575 * gdb.base/default.exp: Update expected "show version" output.
5577 2018-06-05 Tom Tromey <tom@tromey.com>
5580 * gdb.cp/static-print-quit.exp: Update.
5581 * lib/gdb.exp (pagination_prompt): Update.
5582 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
5583 * gdb.python/python.exp: Update.
5585 2018-06-04 Joel Brobecker <brobecker@adacore.com>
5587 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
5589 2018-06-01 Joel Brobecker <brobecker@adacore.com>
5591 * gdb.ada/bp_fun_addr: New testcase.
5593 2018-06-01 Tom Tromey <tom@tromey.com>
5595 * gdb.xml/tdesc-regs.exp (load_description): Update expected
5597 * gdb.dwarf2/method-ptr.exp: Set language to C++.
5598 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
5599 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
5600 * gdb.base/maint.exp (maint_pass_if): Update.
5602 2018-05-31 Maciej W. Rozycki <macro@mips.com>
5604 * gdb.base/endian.exp: New test.
5605 * gdb.base/endian.c: New test source.
5607 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
5610 * gdb.base/bt-selected-frame.c: New file.
5611 * gdb.base/bt-selected-frame.exp: New file.
5612 * lib/gdb.exp (get_current_frame_number): New function.
5614 2018-05-24 Maciej W. Rozycki <macro@mips.com>
5615 Pedro Alves <palves@redhat.com>
5617 * gdb.threads/tls-core.c: Include <stdlib.h>
5618 (thread_proc): Call `abort'.
5619 * gdb.threads/tls-core.exp: Generate a core with core_find too.
5620 (tls_core_test): New procedure, bits factored out from ...
5621 (top level): ... here. Test both native cores and gcore cores.
5623 2018-05-23 Tom Tromey <tom@tromey.com>
5625 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
5627 2018-05-23 Tom Tromey <tom@tromey.com>
5629 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
5631 (test_short_complaints): Likewise.
5632 (test_empty_complaints): Likewise.
5633 (test_initial_complaints): Update.
5635 2018-05-23 Tom Tromey <tom@tromey.com>
5637 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
5639 2018-05-23 Tom Tromey <tom@tromey.com>
5641 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
5642 (test_short_complaints): Update.
5644 2018-05-22 Pedro Alves <palves@redhat.com>
5646 * gdb.base/remote.exp: Only gdb_start after compiling the
5647 testcase. Issue "disconnect" before testing "set remote" command
5648 defaults. Issue clean_restart before running to main.
5650 2018-05-22 Pedro Alves <palves@redhat.com>
5652 * gdb.base/remote.exp: Adjust expected output of "show remote
5653 memory-write-packet-size". Add tests for "set remote
5654 memory-write-packet-size 0" and "set remote
5655 memory-write-packet-size fixed/limit".
5657 2018-05-22 Pedro Alves <palves@redhat.com>
5660 * gdb.base/utf8-identifiers.c: New file.
5661 * gdb.base/utf8-identifiers.exp: New file.
5663 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
5665 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
5667 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
5669 * gdb.arch/powerpc-vsx-gcore.exp: New file.
5671 2018-05-18 Tom Tromey <tom@tromey.com>
5673 * gdb.base/ptype-offsets.exp: Update.
5675 2018-05-17 Keith Seitz <keiths@redhat.com>
5677 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
5678 in expected breakpoint stop locations.
5679 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
5680 move to proper scope to test variable values.
5681 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
5682 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
5684 (main): Call not_inline_func3.
5685 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
5686 inline_func1, inline_func2, and inline_func3. Test that when each
5687 breakpoint is hit, GDB properly reports both the stop location
5688 and the backtrace. Repeat tests for temporary breakpoints.
5690 2018-05-15 Maciej W. Rozycki <macro@mips.com>
5692 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
5693 rather then trying to access it in determining whether the PID
5694 of `gdbserver' could have been retrieved.
5696 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
5698 * gdb.arch/amd64-init-x87-values.S: New file.
5699 * gdb.arch/amd64-init-x87-values.exp: New file.
5701 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5703 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
5705 2018-05-04 Tom Tromey <tom@tromey.com>
5708 * gdb.python/python.exp: Test multi-line execute.
5710 2018-05-04 Tom Tromey <tom@tromey.com>
5713 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
5715 2018-05-04 Tom Tromey <tom@tromey.com>
5718 * gdb.base/define.exp: Test defining a user command inside a user
5720 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
5722 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5723 Pedro Alves <palves@redhat.com>
5725 PR breakpoints/19806 and support for PR external/20207.
5726 * gdb.base/watchpoint-unaligned.c: New file.
5727 * gdb.base/watchpoint-unaligned.exp: New file.
5729 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5731 * gdb.base/maint.exp: Make test names unique, use
5732 test_prefix_command_help to test 'help maint info', and remove
5733 repeated test of 'help maint'.
5735 2018-05-04 Tom Tromey <tom@tromey.com>
5738 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
5741 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5743 * gdb.base/maint.exp: Process output from 'maint print registers'
5746 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
5748 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
5751 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
5753 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
5756 2018-05-02 Pedro Alves <palves@redhat.com>
5758 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
5759 to_log_command renames.
5760 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
5762 2018-05-02 Tom Tromey <tom@tromey.com>
5764 * gdb.python/py-parameter.exp: Set test message.
5766 2018-05-02 Tom Tromey <tom@tromey.com>
5769 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
5770 PARAM_ZUINTEGER_UNLIMITED tests.
5772 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
5775 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
5778 2018-04-30 Tom Tromey <tom@tromey.com>
5780 * gdb.python/py-type.exp: Check align attribute.
5781 * gdb.python/py-type.c: New "aligncheck" global.
5783 2018-04-30 Tom Tromey <tom@tromey.com>
5786 * gdb.dwarf2/dw2-align.exp: New file.
5787 * gdb.cp/align.exp: New file.
5788 * gdb.base/align.exp: New file.
5789 * lib/gdb.exp (gdb_int128_helper): New proc.
5790 (has_int128_c, has_int128_cxx): New caching procs.
5792 2018-04-27 Tom Tromey <tom@tromey.com>
5795 * gdb.rust/simple.exp: Add inclusive range tests.
5797 2018-04-26 Pedro Alves <palves@redhat.com>
5799 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
5800 ifunc breakpoint locations correctly of ifunc breakpoints set
5801 while the program resolves the ifunc.
5803 2018-04-26 Pedro Alves <palves@redhat.com>
5805 * gdb.base/gnu-ifunc-final.c: New file.
5806 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
5807 * gdb.base/gnu-ifunc.exp (executable): Delete.
5808 (staticexecutable): Adjust.
5809 (lib_opts, exec_opts): Delete.
5810 (make_binsuffix, build, set-break): New procedures.
5811 (misc_tests): New, with tests factored out from the top level.
5812 (top level): Test different combinations of ifunc resolver name,
5813 resolver with and with debug info, and ifunc target with and
5814 without debug info. Wrap static tests with with_target_prefix.
5816 2018-04-26 Pedro Alves <palves@redhat.com>
5818 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
5819 return type" warnings.
5821 2018-04-25 Pedro Alves <palves@redhat.com>
5823 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
5825 * gdb.base/kill-after-signal.exp: Likewise.
5826 * gdb.threads/kill.exp: Likewise.
5828 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5829 Sergio Durigan Junior <sergiodj@redhat.com>
5830 Pedro Alves <palves@redhat.com>
5832 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
5833 regexps to expect for '[Inferior ... detached]' as well.
5834 * gdb.base/attach.exp: Likewise.
5835 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
5836 "gdb_continue_to_end".
5837 (test_catch_syscall_with_wrong_args): Likewise.
5838 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
5839 ']'. Don't set 'verbose' on.
5840 * gdb.base/foll-vfork.exp: Likewise.
5841 * gdb.base/fork-print-inferior-events.c: New file.
5842 * gdb.base/fork-print-inferior-events.exp: New file.
5843 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
5844 '[Inferior ... has been killed]' message.
5845 * gdb.base/kill-after-signal.exp: Likewise.
5846 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
5848 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
5850 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
5851 regexps to expect for '[Inferior ... detached]' as well.
5852 * gdb.threads/process-dies-while-detaching.exp: Likewise.
5854 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
5857 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
5859 2018-04-22 Rajendra SY <rajendra.sy@gmail.com>
5862 * gdb.base/break-probes.exp: Pass shlib_load to
5863 prepare_for_testing. Set normal_bp to r_debug_state if target is
5866 2018-04-19 Richard Bunt <richard.bunt@arm.com>
5868 * gdb.threads/multiple-successive-infcall.c: New test.
5869 * gdb.threads/multiple-successive-infcall.exp: New file.
5871 2018-04-17 Tom Tromey <tom@tromey.com>
5873 * gdb.rust/simple.rs (Union): New type.
5874 (main): New local "u".
5875 * gdb.rust/simple.exp (test_one_slice): Add new test case.
5877 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5879 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
5880 number information in output of "whereis" command.
5881 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
5883 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5885 * gdb.ada/info_types.exp: Adjust expected output to the line
5886 numbers now printed by "info var/func/type".
5887 * gdb.base/completion.exp: Likewise.
5888 * gdb.base/included.exp: Likewise.
5889 * gdb.cp/cp-relocate.exp: Likewise.
5890 * gdb.cp/cplusfuncs.exp: Likewise.
5891 * gdb.cp/namespace.exp: Likewise.
5892 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
5894 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
5896 * gdb.btrace/cpu.exp: New.
5898 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
5900 * gdb.base/step-indirect-call-thunk.exp: New.
5901 * gdb.base/step-indirect-call-thunk.c: New.
5902 * gdb.reverse/step-indirect-call-thunk.exp: New.
5903 * gdb.reverse/step-indirect-call-thunk.c: New.
5905 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
5907 * gdb.base/pie-fork.c: New file.
5908 * gdb.base/pie-fork.exp: New file.
5910 2018-04-11 Tom Tromey <tom@tromey.com>
5912 * gdb.rust/simple.exp: Add test for ".." struct initializer.
5914 2018-04-10 Pedro Alves <palves@redhat.com>
5916 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
5917 exits. Instead loop running forever.
5918 (fork_parent): Run forever too.
5920 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
5922 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
5923 mi_continue_to_line.
5924 * gdb.mi/mi-stack.c (callee4): Add comment.
5926 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
5928 * gdb.mi/mi-stack.exp: Fix indentation.
5930 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
5933 * gdb.arch/amd64-osabi.exp: New file.
5935 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
5938 * gdb.base/osabi.exp: New file.
5940 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
5942 * gdb.cp/static-typedef-print.exp: New file.
5943 * gdb.cp/static-typedef-print.cc: New file.
5945 2018-03-27 Joel Brobecker <brobecker@adacore.com>
5947 * gdb.ada/varsize_limit: New testcase.
5949 2018-03-27 Joel Brobecker <brobecker@adacore.com>
5951 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
5953 * gdb.ada/notcplusplus: New testcase.
5955 * gdb.base/c-linkage-name.c: New file.
5956 * gdb.base/c-linkage-name.exp: New testcase.
5958 2018-03-26 Tom Tromey <tom@tromey.com>
5960 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
5961 * gdb.python/py-framefilter.py (name_error): New global.
5962 (ErrorInName.function): Use name_error.
5964 2018-03-26 Tom Tromey <tom@tromey.com>
5967 * gdb.python/py-framefilter.exp: Add "bt hide" test.
5969 2018-03-23 Keith Seitz <keiths@redhat.com>
5972 * gdb.cp/subtypes.exp: New file.
5973 * gdb.cp/subtypes.h: New file.
5974 * gdb.cp/subtypes.cc: New file.
5975 * gdb.cp/subtypes-2.cc: New file.
5977 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5979 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
5980 (done): Call '_exit' not 'exit' to avoid atexit handlers.
5981 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
5982 -nostartfiles when compiling the test. Confirm that all registers
5983 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
5985 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
5987 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
5988 option, syntax was wrong anyway.
5989 * gdb.arch/arm-disp-step.exp: Likewise.
5990 * gdb.arch/sparc64-regs.exp: Likewise.
5991 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
5992 option, syntax was wrong anyway, switch to use
5993 prepare_for_testing.
5994 * gdb.arch/i386-disp-step.exp: Likewise.
5996 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
5998 * gdb.ada/exec_changed.exp: Replace "target_info exists
5999 use_gdb_stub" by "use_gdb_stub".
6000 * gdb.ada/start.exp: Likewise.
6001 * gdb.base/async-shell.exp: Likewise.
6002 * gdb.base/attach-pie-misread.exp: Likewise.
6003 * gdb.base/attach-wait-input.exp: Likewise.
6004 * gdb.base/break-entry.exp: Likewise.
6005 * gdb.base/break-interp.exp: Likewise.
6006 * gdb.base/dprintf-detach.exp: Likewise.
6007 * gdb.base/nostdlib.exp: Likewise.
6008 * gdb.base/solib-nodir.exp: Likewise.
6009 * gdb.base/statistics.exp: Likewise.
6010 * gdb.base/testenv.exp: Likewise.
6011 * gdb.mi/mi-exec-run.exp: Likewise.
6012 * gdb.mi/mi-start.exp: Likewise.
6013 * gdb.multi/dummy-frame-restore.exp: Likewise.
6014 * gdb.multi/multi-arch-exec.exp: Likewise.
6015 * gdb.multi/multi-arch.exp: Likewise.
6016 * gdb.multi/tids.exp: Likewise.
6017 * gdb.multi/watchpoint-multi.exp: Likewise.
6018 * gdb.python/py-events.exp: Likewise.
6019 * gdb.threads/attach-into-signal.exp: Likewise.
6020 * gdb.threads/attach-stopped.exp: Likewise.
6021 * gdb.threads/threadapply.exp: Likewise.
6022 * lib/selftest-support.exp: Likewise.
6024 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
6026 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
6028 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
6030 * gdb.perf/template-breakpoints.cc: New file.
6031 * gdb.perf/template-breakpoints.exp: New file.
6032 * gdb.perf/template-breakpoints.py: New file.
6034 2018-03-19 Tom Tromey <tom@tromey.com>
6036 * gdb.rust/simple.rs (main): Add local variables field1, field2,
6038 * gdb.rust/simple.exp: Test bare identifier form of struct
6041 2018-03-19 Tom Tromey <tom@tromey.com>
6043 * gdb.gdb/observer.exp: Remove.
6045 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6047 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
6048 "qualified" option when setting breakpoints.
6049 * gdb.trace/backtrace.exp: Likewise.
6050 * gdb.trace/circ.exp: Likewise.
6051 * gdb.trace/collection.exp: Likewise.
6052 * gdb.trace/disconnected-tracing.exp: Likewise.
6053 * gdb.trace/ftrace-lock.exp: Likewise.
6054 * gdb.trace/ftrace.exp: Likewise.
6055 * gdb.trace/infotrace.exp: Likewise.
6056 * gdb.trace/packetlen.exp: Likewise.
6057 * gdb.trace/passc-dyn.exp: Likewise.
6058 * gdb.trace/qtro.exp: Likewise.
6059 * gdb.trace/read-memory.exp: Likewise.
6060 * gdb.trace/report.exp: Likewise.
6061 * gdb.trace/signal.exp: Likewise.
6062 * gdb.trace/status-stop.exp: Likewise.
6063 * gdb.trace/strace.exp: Likewise.
6064 * gdb.trace/tfind.exp: Likewise.
6065 * gdb.trace/trace-break.exp: Likewise.
6066 * gdb.trace/trace-condition.exp: Likewise.
6067 * gdb.trace/trace-mt.exp: Likewise.
6068 * gdb.trace/tstatus.exp: Likewise.
6069 * gdb.trace/tsv.exp: Likewise.
6070 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
6071 * gdb.trace/unavailable.exp: Likewise.
6072 * gdb.trace/while-dyn.exp: Likewise.
6074 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6076 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
6077 that libinproctrace is copied to the target.
6079 2018-03-14 Tom Tromey <tom@tromey.com>
6082 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
6084 * gdb.base/wchar.exp: Likewise.
6086 2018-03-14 Tom Tromey <tom@tromey.com>
6089 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
6092 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
6095 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
6096 "target" to remote_exec.
6098 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
6101 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
6102 ${board}_upload): Remove.
6104 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
6106 * gdb.cp/watch-cp.cc: New test.
6107 * gdb.cp/watch-cp.exp: New file.
6109 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6111 * gdb.base/infcall-nested-structs.exp: New file.
6112 * gdb.base/infcall-nested-structs.c: New file.
6113 * gdb.base/float.exp: Add riscv support.
6115 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
6117 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
6118 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
6120 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
6122 * gdb.server/abspath.exp: New file.
6123 * lib/gdb.exp (with_cwd): New procedure.
6125 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
6127 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
6129 (gdb_is_target_remote_prompt): New proc.
6130 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
6131 (gdb_is_target_native): Pass prompt parameter to
6134 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
6136 * gdb.base/load-command.c: New file.
6137 * gdb.base/load-command.exp: New file.
6138 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
6139 (gdb_is_target_1): ...this, and generalize for other targets
6141 (gdb_is_target_remote): Use gdb_is_target_1.
6142 (gdb_is_target_native): use gdb_is_target_1.
6144 2018-02-26 Tom Tromey <tom@tromey.com>
6147 * gdb.python/py-framefilter.exp: Update test.
6149 2018-02-26 Tom Tromey <tom@tromey.com>
6151 * gdb.dwarf2/variant.c: New file.
6152 * gdb.dwarf2/variant.exp: New file.
6154 2018-02-26 Tom Tromey <tom@tromey.com>
6156 * gdb.rust/simple.exp: Accept more possible results in enum test.
6158 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
6160 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
6163 2018-02-23 Maciej W. Rozycki <macro@mips.com>
6165 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
6166 name of a variable: $actual_linejj -> $actual_line.
6168 2018-02-21 John Baldwin <jhb@FreeBSD.org>
6170 * gdb.arch/amd64-i386-address.exp: Fix a typo.
6172 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
6174 * gdb.btrace/buffer-size.exp: Do not force BTS.
6176 2018-02-14 Pedro Alves <palves@redhat.com>
6178 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
6181 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
6183 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
6186 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
6188 * gdb.cp/m-static.exp: Check type of optimized out static
6191 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
6193 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
6194 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
6196 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
6197 Leszek Swirski <leszeks@google.com>
6199 * gdb.python/py-prettyprint.c
6200 (struct to_string_returns_value_inner,
6201 struct to_string_returns_value_wrapper): New.
6202 (main): Add tsrvw variable.
6203 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
6204 ToStringReturnsValueWrapper): New classes.
6205 (register_pretty_printers): Register new pretty-printers.
6206 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
6207 recursive pretty printer.
6208 * gdb.python/py-mi.exp: Likewise.
6210 2018-02-01 Leszek Swirski <leszeks@google.com>
6212 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
6213 functions with the same name as an include file are parsed
6216 2018-02-01 Yao Qi <yao.qi@linaro.org>
6218 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
6221 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
6223 * gdb.arch/powerpc-prologue-frame.s: New file.
6224 * gdb.arch/powerpc-prologue-frame.c: Likewise.
6225 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
6227 2018-01-31 Joel Brobecker <brobecker@adacore.com>
6229 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
6231 2018-01-30 Pedro Alves <palves@redhat.com>
6234 * gdb.base/interrupt-daemon.c: New.
6235 * gdb.base/interrupt-daemon.exp: New.
6236 * gdb.multi/multi-term-settings.c: New.
6237 * gdb.multi/multi-term-settings.exp: New.
6239 2018-01-30 Joel Brobecker <brobecker@adacore.com>
6241 * gdb.base/break.exp: Save the location where the breakpoint
6242 on break.c:47 was actually inserted when debugging the version
6243 compiled at -O2 and use it in the expected output of the "info
6244 break" test performed soon after.
6246 2018-01-22 Pedro Alves <palves@redhat.com>
6247 Sergio Durigan Junior <sergiodj@redhat.com>
6249 * gdb.base/whatis.exp: Add tests for 'set print object on' +
6250 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
6252 2018-01-22 Joel Brobecker <brobecker@adacore.com>
6254 * gdb.base/break-include.c, gdb.base/break-include.inc,
6255 gdb.base/break-include.exp: New files.
6256 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
6257 line number now being the actual line number where the breakpoint
6259 * gdb.mi/mi-break.exp: Likewise.
6260 * gdb.mi/mi-reverse.exp: Likewise.
6261 * gdb.mi/mi-simplerun.exp: Ditto.
6263 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
6265 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
6267 * gdb.mi/mi-var-create-rtti.exp: Likewise.
6269 2018-01-21 Don Breazeal <donb@codesourcery.com>
6270 Andrew Burgess <andrew.burgess@embecosm.com>
6272 * gdb.mi/basics.c: Add new global.
6273 * gdb.mi/mi-frame-regs.exp: New file.
6274 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
6277 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
6279 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
6280 non-parameter, and on an unknown symbol.
6282 2018-01-19 Tom Tromey <tom@tromey.com>
6284 * gdb.rust/modules.rs (TWENTY_THREE): New global.
6285 * gdb.rust/modules.exp: Add ::-qualified lookup test.
6287 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6289 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
6290 setrlimit and chdir to int.
6292 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6294 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
6296 (my_tend): Likewise.
6297 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
6298 rationale of avoiding FP- and vector instructions.
6300 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
6302 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
6303 "info reg" with "\[ \t\]*".
6304 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
6306 * gdb.arch/s390-multiarch.exp: Ditto.
6307 * gdb.base/pc-fp.exp: Ditto.
6308 * gdb.reverse/i386-precsave.exp: Ditto.
6309 * gdb.reverse/i386-reverse.exp: Ditto.
6310 * gdb.reverse/i387-env-reverse.exp: Ditto.
6311 * gdb.reverse/i387-stack-reverse.exp: Ditto.
6313 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
6315 * lib/gdb.exp (gdb_compile): Re-enable use of
6316 universal_compile_options for languages other than Rust.
6318 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
6320 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
6322 2018-01-17 Mike Gulick <mgulick@mathworks.com>
6325 * gdb.base/solib-vanish.exp: New.
6326 * gdb.base/solib-vanish-main.c: New.
6327 * gdb.base/solib-vanish-lib1.c: New.
6328 * gdb.base/solib-vanish-lib2.c: New.
6330 2018-01-17 Yao Qi <yao.qi@linaro.org>
6332 * gdb.compile/compile.exp: Match the address printed for
6333 frame in the output of command "bt".
6335 2018-01-15 Tom Tromey <tom@tromey.com>
6337 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
6340 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
6342 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
6344 (prepare): Return 0 on error, 1 on success.
6346 2018-01-12 Pedro Alves <palves@redhat.com>
6348 * gdb.base/continue-after-aborted-step-over.c: New.
6349 * gdb.base/continue-after-aborted-step-over.exp: New.
6351 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
6353 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
6354 options when not creating an executable.
6356 2018-01-11 Pedro Alves <palves@redhat.com>
6359 * gdb.server/stop-reply-no-thread.c: New file.
6360 * gdb.server/stop-reply-no-thread.exp: New file.
6362 2018-01-10 Pedro Alves <palves@redhat.com>
6365 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
6366 functions too. Test setting breakpoints and printing C functions
6367 with no debug info too.
6368 * gdb.ada/bp_c_mixed_case/qux.c: New file.
6370 2018-01-10 Pedro Alves <palves@redhat.com>
6373 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
6376 2018-01-10 Pedro Alves <palves@redhat.com>
6379 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
6381 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
6383 * gdb.server/unittest.exp: Match the output in non-development
6386 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
6388 * gdb.gdb/unittest.exp: Match output in non-development mode.
6390 2018-01-08 Joel Brobecker <brobecker@adacore.com>
6392 * gdb.ada/access_tagged_param.exp: Relax expected output
6393 for value of "ObjL" in "continue" to pck.inspect breakpoint
6396 2018-01-08 Joel Brobecker <brobecker@adacore.com>
6398 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
6399 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
6401 2018-01-05 Pedro Alves <palves@redhat.com>
6404 * gdb.base/libsegfault.exp: New.
6406 2018-01-05 Joel Brobecker <brobecker@adacore.com>
6409 * gdb.ada/access_tagged_param.exp: New file.
6410 * gdb.ada/access_tagged_param/foo.adb: New file.
6412 2018-01-05 Pedro Alves <palves@redhat.com>
6415 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
6416 exercise lower case too, and to exercise both full matching and
6419 2018-01-05 Joel Brobecker <brobecker@adacore.com>
6421 * gdb.ada/rename_subscript_param: New testcase.
6423 2018-01-05 Jerome Guitton <guitton@adacore.com>
6425 * gdb.ada/arr_acc_idx_w_gap: New testcase.
6427 2018-01-05 Joel Brobecker <brobecker@adacore.com>
6429 * gdb.ada/convvar_comp: New testcase.
6431 2018-01-05 Xavier Roirand <roirand@adacore.com>
6433 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
6434 (My_Table): New global variable.
6435 * testsuite/gdb.ada/array_char_idx.exp: Add test.
6437 2018-01-04 Joel Brobecker <brobecker@adacore.com>
6440 * gdb.ada/maint_with_ada: New testcase.
6442 2018-01-04 Joel Brobecker <brobecker@adacore.com>
6445 * gdb.ada/bp_c_mixed_case: New testcase.
6447 2018-01-04 Joel Brobecker <brobecker@adacore.com>
6450 * gdb.ada/complete.exp: Add "complete break ada" test.
6452 2018-01-04 Joel Brobecker <brobecker@adacore.com>
6455 * gdb.ada/info_addr_mixed_case: New testcase.
6457 2018-01-03 Xavier Roirand <roirand@adacore.com>
6459 * gdb.ada/excep_handle.exp: New testcase.
6460 * gdb.ada/excep_handle/foo.adb: New file.
6461 * gdb.ada/excep_handle/pck.ads: New file.
6463 2018-01-03 Joel Brobecker <brobecker@adacore.com>
6465 * gdb.base/step-line.c: Add extra empty line in copyright header.
6466 * gdb.base/step-line.inp: Likewise.
6468 2018-01-02 Joel Brobecker <brobecker@adacore.com>
6470 * gdb.ada/dyn_stride.exp: Add slice test.
6472 2018-01-02 Joel Brobecker <brobecker@adacore.com>
6474 * gdb.ada/dyn_stride: New testcase.
6476 2017-12-27 Stafford Horne <shorne@gmail.com>
6478 * gdb.xml/extra-regs.xml: Add example foo reggroup.
6479 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
6481 2017-12-27 Stafford Horne <shorne@gmail.com>
6483 * gdb.base/reggroups.c: New file.
6484 * gdb.base/reggroups.exp: New file.
6486 2017-12-18 Joel Brobecker <brobecker@adacore.com>
6488 * gdb.dwarf2/ada-valprint-error.c: New file.
6489 * gdb.dwarf2/ada-valprint-error.exp: New file.
6491 2017-12-18 Joel Brobecker <brobecker@adacore.com>
6493 * gdb.ada/assign_arr: New testcase.
6495 2017-12-18 Xavier Roirand <roirand@adacore.com>
6497 * gdb.ada/funcall_ptr: New testcase.
6499 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
6502 * gdb.base/ptype-offsets.cc: New file.
6503 * gdb.base/ptype-offsets.exp: New file.
6505 2017-12-15 Yao Qi <yao.qi@linaro.org>
6507 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
6510 2017-12-15 Xavier Roirand <roirand@adacore.com>
6512 * gdb.ada/same_component_name: New testcase.
6514 2017-12-14 Joel Brobecker <brobecker@adacore.com>
6516 * gdb.ada/str_binop_equal: New testcase.
6518 2017-12-14 Joel Brobecker <brobecker@adacore.com>
6520 * gdb.ada/task_switch_in_core: New testcase.
6522 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
6524 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
6525 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
6526 call test_bkpt_qualified.
6527 (test_bkpt_qualified): New proc.
6529 2017-12-13 Pedro Alves <palves@redhat.com>
6531 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
6532 Tighten regexp by matching with an anchor.
6534 2017-12-13 Pedro Alves <palves@redhat.com>
6536 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
6537 ("expression with namespace"): New set of tests.
6538 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
6539 (Nested::Test_NS::qux): New.
6540 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
6541 defaults to 'start_quote_char' and 'end_quote_char' parameters.
6543 2017-12-13 Joel Brobecker <brobecker@adacore.com>
6545 * gdb.base/server-del-break.c: New file.
6546 * gdb.base/server-del-break.exp: New file.
6548 2017-12-12 Stafford Horne <shorne@gmail.com>
6550 * gdb.xml/tdesc-regs.exp: Add or1k support.
6552 2017-12-12 Stafford Horne <shorne@gmail.com>
6554 * gdb.base/bp-permanent.c: Define nop of or1k.
6556 2017-12-11 Joel Brobecker <brobecker@adacore.com>
6558 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
6559 output with components being reordered.
6561 2017-12-11 Joel Brobecker <brobecker@adacore.com>
6563 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
6564 output with components being reordered.
6566 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6567 Pedro Alves <palves@redhat.com>
6569 * gdb.base/maint.exp (check for .gdb_index): Check also for
6571 * gdb.dlang/watch-loc.c (.debug_aranges): New.
6572 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
6573 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
6574 (.gdb_index used after symbol reloading): Support also .debug_names.
6575 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
6577 2017-12-08 Yao Qi <yao.qi@linaro.org>
6579 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
6580 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
6582 2017-12-08 Yao Qi <yao.qi@linaro.org>
6584 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
6585 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
6587 2017-12-08 Yao Qi <yao.qi@linaro.org>
6589 * gdb.arch/aarch64-tagged-pointer.c: New file.
6590 * gdb.arch/aarch64-tagged-pointer.exp: New file.
6592 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
6594 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
6597 2017-12-07 Keith Seitz <keiths@redhat.com>
6599 PR breakpoints/22569
6600 * gdb.linespec/ls-errs.exp: Change expected result of "break
6601 -source this file has spaces.c -line 3".
6602 Check that an explicit source file followed by whitespace is
6603 identified as an invalid explicit location.
6605 2017-12-07 Keith Seitz <keiths@redhat.com>
6607 * gdb.cp/nested-types.cc: New file.
6608 * gdb.cp/nested-types.exp: New file.
6609 * lib/cp-support.exp: Load data-structures.exp library.
6610 (debug_cp_test_ptype_class): New global.
6611 (cp_ptype_class_verbose, next_line): New procedures.
6612 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
6613 Add and document new return value.
6614 Switch the list of lines to a queue.
6615 Add support for new `type' key for nested type definitions.
6616 Add debugging/troubleshooting messages.
6617 * lib/data-structures.exp: New file.
6619 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
6621 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
6622 with proc_with_prefix, don't use with_test_prefix.
6624 2017-12-07 Tom Tromey <tom@tromey.com>
6626 * gdb.base/break.exp: Add test for empty "commands".
6628 2017-12-07 Yao Qi <yao.qi@linaro.org>
6630 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
6631 malloc and catch syscall.
6633 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
6635 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
6636 tests for explicit locations.
6638 2017-12-06 Pedro Alves <palves@redhat.com>
6640 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
6641 force-disabling XML descriptions.
6643 2017-12-04 Pedro Alves <palves@redhat.com>
6646 * gdb.arch/amd64-disp-step-avx.S: New file.
6647 * gdb.arch/amd64-disp-step-avx.exp: New file.
6649 2017-12-03 Pedro Alves <palves@redhat.com>
6651 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
6653 (parent_function): Print distinct messages when waitpid fails, or
6654 the child exits with a signal, or the child exits for an unhandled
6656 * gdb.threads/process-dies-while-detaching.exp
6657 (detach_and_expect_exit): New 'inf_output_re' parameter and use
6658 it. Wait for both inferior output and GDB's prompt. Use an
6659 indirect spawn id list.
6660 (do_detach): New parameter 'child_exit'. Use it to compute
6661 expected inferior output.
6662 (test_detach, test_detach_watch, test_detach_killed_outside):
6663 Adjust to pass down the expected child exit kind.
6665 2017-12-01 Joel Brobecker <brobecker@adacore.com>
6666 Sergio Durigan Junior <sergiodj@redhat.com>
6667 Pedro Alves <palves@redhat.com>
6669 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
6671 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
6673 * gdb.base/relocate.exp: Add tests to guarantee that arguments
6674 to 'symbol-file' and 'add-symbol-file' can be
6675 position-independent.
6677 2017-12-01 Yao Qi <yao.qi@linaro.org>
6679 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
6680 the URL in copyright header.
6681 * gdb.arch/aarch64-fp.exp: Likewise.
6682 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
6683 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
6684 * gdb.base/expand-psymtabs.exp: Likewise.
6685 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
6686 * gdb.fortran/common-block.exp: Likewise.
6687 * gdb.fortran/common-block.f90: Likewise.
6688 * gdb.fortran/logical.exp: Likewise.
6689 * gdb.fortran/vla-datatypes.f90: Likewise.
6690 * gdb.fortran/vla-sub.f90: Likewise.
6692 2017-11-30 Joel Brobecker <brobecker@adacore.com>
6694 * gdb.ada/repeat_dyn: New testcase.
6696 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
6698 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
6699 Update for changed thread numbering.
6700 * gdb.cell/bt.exp: Update for changed GDB output.
6702 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
6704 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
6705 setting isremote by hand.
6706 * boards/dwarf4-gdb-index.exp: Likewise.
6707 * boards/fission.exp: Likewise.
6708 * boards/stabs.exp: Likewise.
6710 2017-11-30 Pedro Alves <palves@redhat.com>
6712 * gdb.linespec/cpls-ops.exp
6713 (check_explicit_skips_function_argument): Extract the underlying
6714 type of size_t instead of hardcoding it.
6716 2017-11-29 Pedro Alves <palves@redhat.com>
6719 * gdb.linespec/cpls-abi-tag.cc: New file.
6720 * gdb.linespec/cpls-abi-tag.exp: New file.
6722 2017-11-29 Pedro Alves <palves@redhat.com>
6724 * gdb.base/langs.exp: Use -qualified.
6725 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
6727 * gdb.cp/namespace.exp: Use -qualified.
6728 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
6729 (overload-3, template-overload, template-ret-type, const-overload)
6730 (const-overload-quoted, anon-ns, ambiguous-prefix): New
6732 (test_driver): Call them.
6733 * gdb.cp/save-bp-qualified.cc: New.
6734 * gdb.cp/save-bp-qualified.exp: New.
6735 * gdb.linespec/explicit.exp: Test -qualified.
6736 * lib/completion-support.exp (completion::explicit_opts_list): Add
6738 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
6740 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
6742 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
6744 2017-11-29 Tom Tromey <tom@tromey.com>
6746 * gdb.base/relocate.exp: Update invalid argument test.
6747 Add new tests for invalid arguments.
6749 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
6751 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
6753 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
6755 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
6757 * gdb.cp/breakpoint.cc (bar): Set return type to void.
6758 * gdb.cp/psymtab-parameter.cc (func): Likewise.
6759 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
6761 * gdb.cp/shadow.cc (B.func): Return 0.
6763 2017-11-27 Joel Brobecker <brobecker@adacore.com>
6765 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
6766 expected output in gdb_expect call to allow the exception
6767 message to be present as well. Fix syntax confusion to avoid
6768 TCL thinking that exception_name is an array.
6770 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
6772 * gdb.arch/spu-info.c: Include <unistd.h>.
6773 (do_signal_test): Fix broken calls to write.
6774 * gdb.arch/spu-info.exp: Use prepare_for_testing.
6775 Fix checks for empty mailboxes. Update signal tests for corrected
6776 do_signal_test routine. Allow nonzero event status.
6777 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
6778 * gdb.cell/arch.exp: Use standard_output_file.
6779 * gdb.cell/break.exp: Likewise.
6780 * gdb.cell/bt.exp: Likewise.
6781 * gdb.cell/core.exp: Likewise.
6782 * gdb.cell/dwarfaddr.exp: Likewise.
6783 * gdb.cell/ea-cache.exp: Likewise.
6784 * gdb.cell/ea-standalone.exp: Likewise.
6785 * gdb.cell/f-regs.exp: Likewise.
6786 * gdb.cell/fork.exp: Likewise.
6787 * gdb.cell/gcore.exp: Likewise.
6788 * gdb.cell/mem-access.exp: Likewise.
6789 * gdb.cell/ptype.exp: Likewise.
6790 * gdb.cell/registers.exp: Likewise.
6791 * gdb.cell/sizeof.exp: Likewise.
6792 * gdb.cell/solib-symbol.exp: Likewise.
6793 * gdb.cell/solib.exp: Likewise.
6795 2017-11-25 Pedro Alves <palves@redhat.com>
6797 * gdb.base/complete-empty.exp: New file.
6798 * gdb.base/completion.exp: Adjust.
6800 2017-11-25 Pedro Alves <palves@redhat.com>
6802 * gdb.linespec/cpls-ops.cc: New file.
6803 * gdb.linespec/cpls-ops.exp: New file.
6804 * lib/completion-support.exp (test_complete_prefix_range_re): New,
6805 factored out from ...
6806 (test_complete_prefix_range): ... this.
6808 2017-11-24 Pedro Alves <palves@redhat.com>
6810 * gdb.linespec/cpcompletion.exp: New file.
6811 * gdb.linespec/cpls-hyphen.cc: New file.
6812 * gdb.linespec/cpls.cc: New file.
6813 * gdb.linespec/cpls2.cc: New file.
6814 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
6815 test to use test_gdb_complete_unique. Add label completion,
6816 keyword completion and explicit location completion tests.
6817 * lib/completion-support.exp: New file.
6819 2017-11-24 Joel Brobecker <brobecker@adacore.com>
6821 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
6822 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
6823 when hitting an exception catchpoint.
6825 2017-11-22 Yao Qi <yao.qi@linaro.org>
6827 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
6829 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
6831 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
6832 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
6833 * gdb.dwarf2/info-locals-optimized-out.c: New file.
6835 2017-11-22 Yao Qi <yao.qi@linaro.org>
6837 * gdb.base/info-os.exp: Pass pthreads.
6838 * gdb.multi/multi-attach.exp: Likewise.
6840 2017-11-22 Yao Qi <yao.qi@linaro.org>
6842 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
6845 2017-11-22 Yao Qi <yao.qi@linaro.org>
6847 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
6848 * gdb.base/break-interp.exp: Likewise.
6849 * gdb.base/jit-attach-pie.exp: Likewise.
6851 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
6853 * gdb.base/float128.c (large128): New variable.
6854 * gdb.base/float128.exp: Add test to print largest __float128 value.
6856 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
6858 * gdb.arch/vsx-regs.exp: Update register content checks.
6860 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
6862 * gdb.arch/ppc-longdouble.exp: New file.
6863 * gdb.arch/ppc-longdouble.c: Likewise.
6865 2017-11-21 Pedro Alves <palves@redhat.com>
6867 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
6869 2017-11-20 Pedro Alves <palves@redhat.com>
6871 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
6872 (long_double_typedef): New typedefs.
6873 Use DEF on double and long double.
6874 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
6876 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
6877 and 'long_double_ptr_same_size' locals. Use them to decide
6878 whether cast from array/function to float is valid/invalid.
6880 2017-11-17 Tom Tromey <tom@tromey.com>
6882 * gdb.rust/traits.rs: New file.
6883 * gdb.rust/traits.exp: New file.
6885 2017-11-17 Joel Brobecker <brobecker@adacore.com>
6887 * gdb.ada/minsyms: New testcase.
6889 2017-11-16 Pedro Alves <palves@redhat.com>
6891 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
6892 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
6894 2017-11-16 Pedro Alves <palves@redhat.com>
6896 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
6897 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
6899 2017-11-16 Pedro Alves <palves@redhat.com>
6901 * gdb.server/reconnect-ctrl-c.c: New file.
6902 * gdb.server/reconnect-ctrl-c.exp: New file.
6904 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
6906 * gdb.python/py-rbreak.exp: New file.
6907 * gdb.python/py-rbreak.c: New file.
6908 * gdb.python/py-rbreak-func2.c: New file.
6910 2017-11-16 Pedro Alves <palves@redhat.com>
6912 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
6914 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
6917 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
6919 * gdb.tui/completionn.exp (test_tab_completion): Add space in
6922 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
6924 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
6927 2017-11-09 Pedro Alves <palves@redhat.com>
6929 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
6930 factored out from ...
6931 (top level): ... here, and adjusted to avoid expecting beyond the
6932 prompt in a single gdb_test_multiple.
6934 2017-11-09 Pedro Alves <palves@redhat.com>
6936 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
6938 * gdb.server/ext-attach.exp ("kill" test): Likewise.
6939 * gdb.server/ext-restart.exp ("kill" test): Likewise.
6940 * gdb.server/ext-run.exp ("kill" test): Likewise.
6941 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
6943 2017-11-09 Pedro Alves <palves@redhat.com>
6945 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
6946 match till end of line.
6948 2017-11-09 Pedro Alves <palves@redhat.com>
6950 * gdb.base/memattr.exp: Tighten regexes to match the end line.
6952 2017-11-09 Pedro Alves <palves@redhat.com>
6954 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
6955 New procedures, factored out from ...
6956 (top level): ... here, and adjusted to avoid expecting beyond the
6959 2017-11-09 Pedro Alves <palves@redhat.com>
6961 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
6962 output. Fix '?' match.
6964 2017-11-08 Joel Brobecker <brobecker@adacore.com>
6966 * gdb.ada/scoped_watch: New testcase.
6967 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
6968 which is actually correct.
6969 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
6970 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
6972 2017-11-08 Pedro Alves <palves@redhat.com>
6974 * gdb.gdb/complaints.exp (test_initial_complaints)
6975 (test_serial_complaints, test_short_complaints): Call
6976 complaint_internal instead of complaint.
6978 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
6980 * gdb.threads/tls-core.c: New file.
6981 * gdb.threads/tls-core.exp: Likewise.
6983 2017-11-08 Pedro Alves <palves@redhat.com>
6985 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
6986 (p Exported_Capitalized): New test.
6987 (p exported_capitalized): New test.
6989 2017-11-07 Pedro Alves <palves@redhat.com>
6991 * gdb.cp/ena-dis-br-range.exp: Add more tests.
6993 2017-11-07 Pedro Alves <palves@redhat.com>
6995 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
6996 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
6997 (disable_invalid, disable_inverted, disable_negative): New
6999 ("bad numbers"): New set of tests.
7001 2017-11-07 Pedro Alves <palves@redhat.com>
7003 * gdb.cp/ena-dis-br-range.exp: Add tests.
7005 2017-11-07 Pedro Alves <palves@redhat.com>
7007 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
7009 2017-11-07 Xavier Roirand <roirand@adacore.com>
7010 Pedro Alves <palves@redhat.com>
7012 * gdb.base/ena-dis-br.exp: Add reference to
7013 gdb.cp/ena-dis-br-range.exp.
7014 * gdb.cp/ena-dis-br-range.exp: New file.
7015 * gdb.cp/ena-dis-br-range.cc: New file.
7017 2017-11-06 Pedro Alves <palves@redhat.com>
7019 * gdb.base/attach-non-pgrp-leader.c: New.
7020 * gdb.base/attach-non-pgrp-leader.exp: New.
7022 2017-11-06 Pedro Alves <palves@redhat.com>
7024 * configure.ac: No longer check for termio.h and sgtty.h.
7025 * configure: Regenerate.
7026 * remote-utils.c: Include termios.h instead of gdb_termios.h.
7027 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
7028 Remove termio and sgtty code.
7030 2017-11-03 Yao Qi <yao.qi@linaro.org>
7032 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
7035 2017-11-03 Yao Qi <yao.qi@linaro.org>
7037 * gdb.python/py-thrhandle.exp: Skip it if python is not
7040 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
7042 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
7043 as a breakpoint command.
7045 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
7048 * gdb.python/py-infthread.exp: Test calling
7049 InferiorThread.inferior () multiple times in a row.
7051 2017-10-27 Keith Seitz <keiths@redhat.com>
7053 * gdb.opt/inline-break.exp (break_info_1): New procedure.
7054 Test "info break" for every inlined function breakpoint.
7056 2017-10-27 Yao Qi <yao.qi@linaro.org>
7058 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
7060 2017-10-26 Patrick Frants <osscontribute@gmail.com>
7062 * gdb.cp/classes.exp (test_static_members): Test printing
7064 * gdb.cp/classes.c (struct Inner, struct Outer): New.
7065 (Inner::instance, Outer::instance): New.
7067 2017-10-24 Pedro Alves <palves@redhat.com>
7069 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
7070 extra console" test in two stages.
7072 2017-10-24 Pedro Alves <palves@redhat.com>
7074 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
7076 2017-10-24 Pedro Alves <palves@redhat.com>
7078 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
7081 2017-10-24 Pedro Alves <palves@redhat.com>
7083 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
7084 $attempt" and "stoppedtry $stoppedtry" test prefixes.
7086 2017-10-24 Pedro Alves <palves@redhat.com>
7088 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
7089 parameter and handle it. Don't output read value in test name.
7091 2017-10-24 Pedro Alves <palves@redhat.com>
7093 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
7096 2017-10-24 Pedro Alves <palves@redhat.com>
7098 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
7099 include the unstable output directory name in the test's name.
7100 (initial_setup_simple) <'set args'>: Use custom test name.
7102 2017-10-24 Pedro Alves <palves@redhat.com>
7104 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
7105 with explicit test name.
7107 2017-10-20 Pedro Alves <palves@redhat.com>
7109 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
7110 'wait -i'. Use gdb_assert and remote_close.
7112 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
7114 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
7115 number from variable rather than hard-coded.
7117 2017-10-19 Pedro Alves <palves@redhat.com>
7119 * gdb.base/long-inferior-output.c: New file.
7120 * gdb.base/long-inferior-output.exp: New file.
7122 2017-11-18 Keith Seitz <keiths@redhat.com>
7124 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
7127 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
7128 Add additional user-defined conversion operator tests.
7130 2017-10-17 Pedro Alves <palves@redhat.com>
7132 * boards/native-stdio-gdbserver.exp: Load "local-board".
7134 2017-10-17 Pedro Alves <palves@redhat.com>
7136 * gdb.base/quit-live.c: New file.
7137 * gdb.base/quit-live.exp: New file.
7139 2017-10-16 Keith Seitz <keiths@redhat.com>
7141 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
7142 (class_with_protected_typedef, class_with_private_typedef)
7143 (struct_with_public_typedef, struct_with_protected_typedef)
7144 (struct_with_private_typedef): New classes/structs.
7145 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
7146 typedefs and access specifiers.
7148 2017-10-16 Pedro Alves <palves@redhat.com>
7149 Simon Marchi <simon.marchi@polymtl.ca>
7151 * README (Local vs Remote vs Native): New section.
7152 * boards/local-board.exp: New file, with bits factored out from
7154 * boards/native-extended-gdbserver.exp: ... here. Load
7156 * boards/native-gdbserver.exp: Load "local-board".
7157 (${board}_spawn, ${board}_exec): Delete.
7158 * boards/native-stdio-gdbserver.exp: Most contents factored out to
7160 * boards/stdio-gdbserver-base.exp: ... this new file.
7161 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
7162 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
7164 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
7165 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
7166 stdio_gdbserver_command.
7167 (${board}_get_remote_address, ${board}_get_comm_port)
7168 (${board}_download, ${board}_upload): Delete.
7169 (get_target_remote_pipe_cmd): New.
7171 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
7173 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
7174 test_bkpt_deletion, test_bkpt_cond_and_cmds,
7175 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
7176 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
7177 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
7178 remove with_test_prefix.
7180 2017-10-13 Pedro Alves <palves@redhat.com>
7182 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
7183 * gdb.base/annota1.exp: Use it instead of is_remote.
7184 * gdb.base/annota3.exp: Use it instead of is_remote.
7185 * gdb.cp/annota2.exp: Use it instead of is_remote.
7186 * gdb.cp/annota3.exp: Use it instead of is_remote.
7187 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
7189 2017-10-13 Pedro Alves <palves@redhat.com>
7191 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
7192 (test_num_test_vars, run_and_count_vars, find_env)
7193 (test_set_unset_env, test_inherit_env_var): New procedures.
7194 (top level): Use them.
7196 2017-10-13 Pedro Alves <palves@redhat.com>
7198 * lib/selftest-support.exp (selftest_setup): Extend comments, and
7199 also skip on stub-like targets.
7201 2017-10-13 Pedro Alves <palves@redhat.com>
7204 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
7205 (top level): Move some tests to ...
7206 (test_not_found): ... this new procedure.
7207 (top level): Call it.
7209 2017-10-13 Pedro Alves <palves@redhat.com>
7211 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
7212 expect different "info terminal" output if testing with a
7215 2017-10-13 Pedro Alves <palves@redhat.com>
7216 Simon Marchi <simon.marchi@polymtl.ca>
7219 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
7221 2017-10-13 Pedro Alves <palves@redhat.com>
7223 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
7226 2017-10-13 Pedro Alves <palves@redhat.com>
7228 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
7231 2017-10-13 Pedro Alves <palves@redhat.com>
7233 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
7236 2017-10-13 Pedro Alves <palves@redhat.com>
7238 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
7240 (corefile_test_attach): Likewise. Check can_spawn_for_attach
7241 instead of is_remote.
7243 2017-10-13 Pedro Alves <palves@redhat.com>
7245 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
7246 (top level): Add comment.
7248 2017-10-13 Pedro Alves <palves@redhat.com>
7250 * gdb.base/remote.exp (top level): Fix comment typo and add
7253 2017-10-13 Pedro Alves <palves@redhat.com>
7254 Simon Marchi <simon.marchi@polymtl.ca>
7256 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
7257 calls and add comments. Skip test if use_gdb_stub is set.
7258 (top level): Use "set cwd" command instead of "cd" command.
7260 2017-10-13 Pedro Alves <palves@redhat.com>
7262 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
7263 is_remote target check.
7265 2017-10-13 Pedro Alves <palves@redhat.com>
7267 * gdb.base/scope.exp: Use build_executable + clean_restart +
7268 gdb_file_cmd instead of prepare_for_testing and no longer skip
7269 "before run" tests on is_remote target boards. Update comments.
7270 * boards/native-extended-gdbserver.exp
7271 (extended_gdbserver_load_last_file): New, factored out from ...
7272 (gdb_load): ... this. Move further below and add comment.
7273 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
7275 2017-10-12 Pedro Alves <palves@redhat.com>
7277 * gdb.base/attach.exp: Remove references to gdb64.
7278 * gdb.base/dbx.exp: Remove references to gdb64.
7280 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
7281 Pedro Alves <palves@redhat.com>
7283 * gdb.base/label.exp: Remove is_remote target check.
7285 2017-10-12 Pedro Alves <palves@redhat.com>
7287 * gdb.base/auvx.exp (coredir): Update comment.
7288 (top level) <core_works>: Use "set cwd" command instead of "cd"
7291 2017-10-12 Pedro Alves <palves@redhat.com>
7292 Simon Marchi <simon.marchi@polymtl.ca>
7294 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
7297 2017-10-12 Pedro Alves <palves@redhat.com>
7298 Simon Marchi <simon.marchi@polymtl.ca>
7300 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
7301 Instead skip if there's any gdb_protocol set.
7303 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
7304 Pedro Alves <palves@redhat.com>
7306 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
7308 2017-10-12 Pedro Alves <palves@redhat.com>
7309 Simon Marchi <simon.marchi@polymtl.ca>
7311 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
7312 instead of on dejagnu remote boards.
7314 2017-10-12 Pedro Alves <palves@redhat.com>
7315 Simon Marchi <simon.marchi@polymtl.ca>
7317 * gdb.base/inferior-died.exp: Remove is_remote and isnative
7318 checks. Use build_executable + clean_restart instead of
7319 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
7320 of enabling non-stop after starting gdb.
7322 2017-10-12 Pedro Alves <palves@redhat.com>
7324 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
7325 * gdb.threads/non-ldr-exc-2.exp: Ditto.
7326 * gdb.threads/non-ldr-exc-3.exp: Ditto.
7327 * gdb.threads/non-ldr-exc-4.exp: Ditto.
7329 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
7331 * gdb.arch/arc-tdesc-cpu.exp: New file.
7332 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
7334 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
7336 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
7338 2017-10-10 Pedro Alves <palves@redhat.com>
7340 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
7343 2017-10-10 Pedro Alves <palves@redhat.com>
7345 * lib/selftest-support.exp (selftest_setup): Update for
7346 captured_command_loop's prototype change.
7348 2017-10-09 Pedro Alves <palves@redhat.com>
7350 Test both arch1=>arch2 and arch2=>arch1.
7352 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
7353 (srcfile2, binfile2, march1, march2): Remove globals. Largely
7355 (append_arch1_options, append_arch2_options, append_arch_options)
7356 (build_executables): New procedures.
7357 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
7359 (top level): Add new 'first_arch' testing axis.
7361 2017-10-09 Pedro Alves <palves@redhat.com>
7363 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
7365 (thread_start, all_started): New functions.
7366 (main): Spawn new thread and wait until it is scheduled.
7367 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
7369 (do_test): Add 'selected_thread' parameter. Run to all_started
7370 instead of main. Explicitly set the breakpoint at main. Switch
7371 to the SELECTED_THREAD thread.
7372 (top level): Test handling the exec event with either the main
7373 thread or the second thread selected.
7375 2017-10-09 Pedro Alves <palves@redhat.com>
7377 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
7378 logic. Move STOP marker after the value checks.
7379 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
7382 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
7384 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
7386 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
7388 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
7389 integer-to-dfp conversion.
7390 * gdb.base/dfp-test.exp: Likewise.
7392 2017-10-04 Pedro Alves <palves@redhat.com>
7394 * gdb.multi/hangout.c: Include <unistd.h>.
7395 (hangout_loop): New function.
7396 (main): Call alarm. Call hangout_loop in a loop.
7397 * gdb.multi/hello.c: Include <unistd.h>.
7398 (hello_loop): New function.
7399 (main): Call alarm. Call hangout_loop in a loop.
7400 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
7401 inferior with the other selected.
7403 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
7405 * gdb.mi/list-thread-groups-available.exp: New file.
7406 * gdb.mi/list-thread-groups-available.c: New file.
7408 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
7410 * gdb.base/set-cwd.exp: Make it available on
7411 native-extended-gdbserver.
7413 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
7415 * gdb.base/set-cwd.c: New file.
7416 * gdb.base/set-cwd.exp: Likewise.
7418 2017-10-02 Tom Tromey <tom@tromey.com>
7421 * gdb.rust/simple.rs (main): New variable "fslice".
7422 * gdb.rust/simple.exp: Add slice tests. Update string tests.
7424 2017-10-02 Tom Tromey <tom@tromey.com>
7426 * gdb.rust/simple.exp: Test ptype of a slice.
7428 2017-10-02 Tom Tromey <tom@tromey.com>
7430 * gdb.rust/simple.exp: Test index of slice.
7432 2017-09-27 Tom Tromey <tom@tromey.com>
7434 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
7436 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
7437 Pedro Alves <palves@redhat.com>
7439 * gdb.base/compare-sections.exp (get value of read-only section): Read
7441 (corrupt read-only section): Likewise and don't set written if patching
7444 2017-09-21 Kevin Buettner <kevinb@redhat.com>
7446 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
7449 2017-09-20 Pedro Alves <palves@redhat.com>
7451 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
7452 symbol names in gdb's output.
7453 * gdb.cp/overload.exp ("list all overloads"): Likewise.
7455 2017-09-20 Pedro Alves <palves@redhat.com>
7457 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
7459 (test_list_ambiguous_symbol): ... this and add a symbol name
7461 (test_list_ambiguous_function): Reimplement on top of
7462 test_list_ambiguous_symbol and also test listing ambiguous
7464 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
7465 (ambiguous_fun): ... this.
7466 (ambiguous_var): New.
7467 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
7468 (ambiguous_fun): ... this.
7469 (ambiguous_var): New.
7471 2017-09-19 John Baldwin <jhb@FreeBSD.org>
7473 * gdb.base/starti.c: New file.
7474 * gdb.base/starti.exp: New file.
7475 * lib/gdb.exp (gdb_starti_cmd): New procedure.
7477 2017-09-14 Pedro Alves <palves@redhat.com>
7479 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
7480 (top level): Use it instead of runto.
7482 2017-09-11 Tom Tromey <tom@tromey.com>
7484 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
7486 2017-09-11 Tom Tromey <tom@tromey.com>
7488 * gdb.python/py-infthread.exp: Add tests for new_thread event.
7489 * gdb.python/py-inferior.exp: Add tests for new inferior events.
7491 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
7493 * gdb.fortran/printing-types.exp: New file.
7494 * gdb.fortran/printing-types.exp: New file.
7496 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
7498 * gdb.fortran/vla-ptype.exp: Fix typos.
7499 * gdb.fortran/vla-value.exp: Same.
7501 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
7503 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
7504 * gdb.mi/mi-var-child-f.exp: Likewise.
7505 * gdb.mi/mi-vla-fortran.exp: Likewise.
7507 2017-09-08 Frank Penczek <frank.penczek@intel.com>
7508 Christoph Weinmann <christoph.t.weinmann@intel.com>
7509 Bernhard Heckel <bernhard.heckel@intel.com>
7511 * gdb.fortran/ptr-indentation.f90: New file.
7512 * gdb.fortran/ptr-indentation.exp: New file.
7514 2017-09-05 Tom Tromey <tom@tromey.com>
7517 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
7519 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
7521 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
7523 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7525 * gdb.threads/tls-nodebug-pie.c: New file.
7526 * gdb.threads/tls-nodebug-pie.exp: New file.
7528 2017-09-05 Tom Tromey <tom@tromey.com>
7530 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
7533 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
7535 * gdb.multi/multi-arch-exec.exp: Test with different
7536 "follow-exec-mode" settings.
7537 (do_test): New procedure.
7539 2017-09-04 Pedro Alves <palves@redhat.com>
7541 * gdb.base/func-static.c (S::method const, S::method volatile)
7542 (S::method volatile const): New methods.
7543 (c_s, v_s, cv_s): New instances.
7544 (main): Call method() on them.
7545 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
7546 (cannot_resolve): New procedure.
7547 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
7548 print-quote-unquoted columns.
7549 (do_test): Test printing each scope too.
7551 2017-09-04 Pedro Alves <palves@redhat.com>
7553 * gdb.base/local-static.exp: Also test with
7554 class::method::variable wholly quoted.
7555 * gdb.cp/m-static.exp (class::method::variable): Remove test.
7557 2017-09-04 Pedro Alves <palves@redhat.com>
7559 * gdb.base/local-static.c: New.
7560 * gdb.base/local-static.cc: New.
7561 * gdb.base/local-static.exp: New.
7563 2017-09-04 Pedro Alves <palves@redhat.com>
7565 * gdb.asm/asm-source.exp: Add casts to int.
7566 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
7567 (dataglobal64_1, dataglobal64_2): New globals.
7568 * gdb.base/nodebug.exp: Test different expressions involving the
7569 new globals, with print, whatis and ptype. Add casts to int.
7570 * gdb.base/solib-display.exp: Add casts to int.
7571 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
7572 * gdb.cp/m-static.exp: Add cast to int.
7573 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
7574 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
7575 tls variable with no debug info without a cast. Test with a cast
7577 * gdb.trace/entry-values.exp: Add casts.
7579 2017-09-04 Pedro Alves <palves@redhat.com>
7581 * gdb.base/nodebug.exp: Test that ptype's error about functions
7582 with unknown return type includes the function name too.
7584 2017-09-04 Pedro Alves <palves@redhat.com>
7586 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
7587 return type of munmap in infcall.
7588 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
7589 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
7590 type of ftell in infcall.
7591 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
7592 type of getpid in infcall.
7593 * gdb.base/infcall-exec.exp: Cast return type of execlp in
7595 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
7596 Bail on failure to extract the pid.
7597 * gdb.base/nodebug.c: #include <stdint.h>.
7598 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
7600 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
7601 Change expected output of print/whatis/ptype with functions with
7602 no debug info. Test all supported languages. Call
7603 test_call_promotion.
7604 * gdb.compile/compile.exp: Adjust expected output to expect
7606 * gdb.threads/siginfo-threads.exp: Likewise.
7608 2017-09-04 Pedro Alves <palves@redhat.com>
7610 * gdb.base/callfuncs.exp (do_function_calls): New parameter
7611 "prototypes". Test calling float functions via prototyped and
7612 unprototyped function pointers.
7613 (perform_all_tests): New parameter "prototypes". Pass it down.
7614 (top level): Pass down "prototypes" parameter to
7617 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
7619 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
7620 Test with nested loops.
7622 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
7624 * gdb.base/commands.exp: Call the new procedures.
7625 (loop_break_test, loop_continue_test): New procedures.
7627 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
7629 * gdb.base/commands.exp: Call new procedure.
7630 (define_if_without_arg_test): New procedure.
7632 2017-09-04 Pedro Alves <palves@redhat.com>
7634 * gdb.base/list-ambiguous.exp: New file.
7635 * gdb.base/list-ambiguous0.c: New file.
7636 * gdb.base/list-ambiguous1.c: New file.
7637 * gdb.base/list.exp (test_list_range): Adjust expected output.
7639 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
7641 * gdb.base/share-env-with-gdbserver.c: New file.
7642 * gdb.base/share-env-with-gdbserver.exp: Likewise.
7644 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
7646 * gdb.base/commands.exp (gdbvar_simple_if_test,
7647 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
7648 progvar_simple_if_test, progvar_simple_while_test,
7649 progvar_complex_if_while_test, user_defined_command_test,
7650 user_defined_command_args_eval,
7651 user_defined_command_args_stack_test,
7652 user_defined_command_manyargs_test, bp_deleted_in_command_test,
7653 temporary_breakpoint_commands,
7654 gdb_test_no_prompt, redefine_hook_test,
7655 redefine_backtrace_test): Remove "global gdb_prompt".
7657 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
7659 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
7660 New proc, call it from toplevel.
7662 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
7665 * gdb.server/normal.c: New file, copied from gdb.base.
7666 * gdb.server/run-without-local-binary.exp: New file.
7668 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
7670 * gdb.arch/sparc64-adi.exp: New file.
7671 * gdb.arch/sparc64-adi.c: New file.
7673 2017-08-22 Pedro Alves <palves@redhat.com>
7675 * gdb.cp/overload.exp (line_range_pattern): New procedure.
7676 (top level): Add "list all overloads" tests.
7678 2017-08-22 Tom Tromey <tom@tromey.com>
7680 * gdb.gdb/xfullpath.exp: Remove.
7682 2017-08-21 Pedro Alves <palves@redhat.com>
7685 * gdb.base/symbol-alias.c: New.
7686 * gdb.base/symbol-alias2.c: New.
7687 * gdb.base/symbol-alias.exp: New.
7689 2017-08-21 Pedro Alves <palves@redhat.com>
7691 * gdb.base/dfp-test.c
7692 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
7693 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
7694 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
7695 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
7696 * gdb.base/whatis-ptype-typedefs.c: New.
7697 * gdb.base/whatis-ptype-typedefs.exp: New.
7698 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
7699 (an_int, an_int_type, an_int_type2): New globals.
7700 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
7701 involving typedefs and cast expressions.
7702 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
7703 (lookup_typedefs_function): New.
7704 (typedefs_pretty_printers_dict): New.
7705 (top level): Register lookup_typedefs_function in
7706 gdb.pretty_printers.
7708 2017-08-18 Yao Qi <yao.qi@linaro.org>
7710 * gdb.server/unittest.exp: New.
7712 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
7715 * gdb.base/environ.exp: Add test to check if 'unset environment'
7718 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7720 * lib/gdb.exp (universal_compile_options): New caching proc.
7721 (gdb_compile): Suppress GCC's coloring of messages.
7723 2017-08-14 Tom Tromey <tom@tromey.com>
7726 * gdb.base/printcmds.exp (test_radices): New function.
7727 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
7728 * gdb.base/sizeof.exp (check_valueof): Use p/d.
7729 * lib/gdb.exp (get_integer_valueof): Use p/d.
7731 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
7733 * lib/gdb.exp (get_valueof): Don't capture end-of-line
7736 2017-08-05 Tom Tromey <tom@tromey.com>
7738 * gdb.rust/simple.exp: Allow String to appear in a different
7741 2017-07-26 Yao Qi <yao.qi@linaro.org>
7743 * gdb.gdb/unittest.exp: Invoke command
7744 "maintenance check xml-descriptions".
7746 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7748 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
7750 (hex128): Drop erroneous calculation of parameters.
7752 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
7754 * gdb.python/py-unwind.exp: Disable stack protection when
7757 2017-07-20 Pedro Alves <palves@redhat.com>
7759 * gdb.base/default.exp (set language): Adjust expected output.
7761 2017-07-20 Pedro Alves <palves@redhat.com>
7763 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
7764 (test_minsym): ... this, and make static.
7765 (get_pck__foo__bar__minsym): Rename to ...
7766 (get_test_minsym): ... this.
7767 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
7768 symbol names and comments.
7769 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
7770 (get_test_minsym): ... this.
7771 (pck__foo__bar__minsym__2): Rename to ...
7772 (test_minsym): ... this.
7775 2017-07-17 Pedro Alves <palves@redhat.com>
7777 * gdb.base/completion.exp: Adjust expected output.
7778 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
7779 the completer works.
7781 2017-07-17 Pedro Alves <palves@redhat.com>
7783 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
7785 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
7787 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
7789 2017-07-14 Tom Tromey <tom@tromey.com>
7792 * gdb.rust/simple.exp: Add tests.
7794 2017-07-14 Tom Tromey <tom@tromey.com>
7796 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
7798 2017-07-14 Pedro Alves <palves@redhat.com>
7800 * gdb.linespec/base/one/thefile.cc (z1): New function.
7801 * gdb.linespec/base/two/thefile.cc (z2): New function.
7802 * gdb.linespec/linespec.exp: Add tests.
7804 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
7806 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
7807 to mi_create_breakpoint.
7809 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
7811 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
7812 mi_create_breakpoint.
7814 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
7816 * gdb.dlang/demangle.exp: Update for demangling changes.
7818 2017-07-09 Tom Tromey <tom@tromey.com>
7820 * gdb.dwarf2/shortpiece.exp: New file.
7822 2017-07-06 David Blaikie <dblaikie@gmail.com>
7824 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
7825 built from fissiont-multi-cu{1,2}.c.
7826 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
7827 except putting 'main' and 'func' in separate CUs in the same DWO file.
7828 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
7830 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
7833 2017-07-06 Pedro Alves <palves@redhat.com>
7835 * gdb.python/py-unwind.exp: Test flushregs.
7837 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
7840 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
7841 tests for alias commands and trailing whitespace.
7843 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
7846 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
7849 2017-06-29 Pedro Alves <palves@redhat.com>
7851 * gdb.base/printcmds.exp: Add tests.
7853 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
7856 * gdb.base/reread-readsym.exp: New file.
7857 * gdb.base/reread-readsym.c: New file.
7859 2017-06-21 Kevin Buettner <kevinb@redhat.com>
7861 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
7864 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
7866 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
7868 * gdb.arch/powerpc-power9.s: Likewise.
7870 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
7872 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
7873 on 32-bit x86 targets. Exploit is_*_target macros where
7876 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7878 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
7881 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7883 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
7884 located in one or more DWARF pieces.
7886 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7888 * lib/gdb.exp (get_endianness): New proc.
7889 * gdb.arch/aarch64-fp.exp: Use it.
7890 * gdb.arch/altivec-regs.exp: Likewise.
7891 * gdb.arch/e500-regs.exp: Likewise.
7892 * gdb.arch/vsx-regs.exp: Likewise.
7893 * gdb.base/dump.exp: Likewise.
7894 * gdb.base/funcargs.exp: Likewise.
7895 * gdb.base/gnu_vector.exp: Likewise.
7896 * gdb.dwarf2/formdata16.exp: Likewise.
7897 * gdb.dwarf2/implptrpiece.exp: Likewise.
7898 * gdb.dwarf2/nonvar-access.exp: Likewise.
7899 * gdb.python/py-inferior.exp: Likewise.
7900 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
7902 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7905 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
7906 stack value pieces are taken from the LSB end.
7908 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7910 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
7911 variable at nonzero offset.
7913 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7915 * gdb.dwarf2/var-access.c: New file.
7916 * gdb.dwarf2/var-access.exp: New test.
7917 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
7919 2017-06-12 Tom Tromey <tom@tromey.com>
7921 * gdb.dwarf2/formdata16.exp: Add tests.
7923 2017-06-12 Tom Tromey <tom@tromey.com>
7925 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
7927 2017-06-12 Tom Tromey <tom@tromey.com>
7930 * gdb.reverse/i386-sse-reverse.exp: Update tests.
7931 * gdb.arch/vsx-regs.exp: Update tests.
7932 * gdb.arch/s390-vregs.exp (hex128): New proc.
7934 * gdb.arch/altivec-regs.exp: Update tests.
7936 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
7938 * gdb.base/startup-with-shell.c: New file.
7939 * gdb.base/startup-with-shell.exp: Likewise.
7941 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
7943 * gdb.server/non-existing-program.exp: Update regex in order to
7944 reflect the fact that gdbserver is now using fork_inferior (with a
7945 shell) to startup the inferior.
7947 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
7949 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
7950 support function calls from GDB.
7952 2017-05-21 Tom Tromey <tom@tromey.com>
7955 * gdb.rust/unsized.exp: New file.
7956 * gdb.rust/unsized.rs: New file.
7958 2017-05-19 Tom Tromey <tom@tromey.com>
7961 * gdb.rust/watch.exp: New file.
7962 * gdb.rust/watch.rs: New file.
7964 2017-05-18 Tom Tromey <tom@tromey.com>
7966 * gdb.rust/simple.exp: Allow Box to be qualified.
7968 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
7970 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
7972 2017-05-18 Pedro Alves <palves@redhat.com>
7974 * gdb.base/fileio.c (test_write, test_read, test_close)
7975 (test_fstat): Don't print 'ret' in the fail path.
7977 2017-05-18 Pedro Alves <palves@redhat.com>
7979 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
7980 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
7981 (test_system, test_rename, test_unlink, test_time): Change
7983 * gdb.base/fileio.exp (stop_msg): Adjust.
7985 2017-05-18 Pedro Alves <palves@redhat.com>
7987 * gdb.base/fileio.c (null_str): New global.
7988 (test_stat): Use it.
7989 * gdb.base/fileio.exp: Remove nowarnings.
7991 2017-05-17 Yao Qi <yao.qi@linaro.org>
7993 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
7995 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
7997 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
7999 (top-level): Invoke test_set_inferior_tty.
8001 2017-05-04 Pedro Alves <palves@redhat.com>
8003 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
8004 Add parens to print call for Python 3.
8006 2017-05-03 Keith Seitz <keiths@redhat.com>
8008 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
8011 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8013 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
8016 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8018 * gdb.python/py-record-btrace.exp: Remove test for
8019 gdb.BtraceInstruction.error.
8021 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8023 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
8025 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8027 * gdb.python/py-record-btrace-threads.c: New file.
8028 * gdb.python/py-record-btrace-threads.exp: New file.
8030 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
8033 * gdb.base/environ.exp: Make test available in all architectures.
8034 Move bits related to "info program" testing to
8035 gdb.base/info-program.exp. Rewrite tests to use the two new
8036 procedures mentione below.
8037 (test_set_show_env_var) New procedure.
8038 (test_set_show_env_var_equal): Likewise.
8039 * gdb.base/info-program.exp: New file.
8041 2017-04-27 Keith Seitz <keiths@redhat.com>
8043 * gdb.cp/oranking.cc (test15): New function.
8044 (main): Call test15 and declare additional variables for testing.
8045 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
8046 "p foo101('abc')" tests.
8047 Add tests for cv qualifier overloads.
8048 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
8049 "lvalue reference overload" test.
8050 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
8051 "print value of f1 on Child&& in f2" test.
8053 2017-04-19 Pedro Alves <palves@redhat.com>
8055 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
8057 (top level): Call it.
8058 * lib/gdb.exp (gdb_define_cmd): New procedure.
8060 2017-04-12 Pedro Alves <palves@redhat.com>
8063 * gdb.cp/wide_char_types.c: Include <wchar.h>.
8064 (wchar): New global.
8065 * gdb.cp/wide_char_types.exp (wide_char_types_program)
8066 (do_test_wide_char, wide_char_types_no_program, top level): Add
8069 2017-04-12 Pedro Alves <palves@redhat.com>
8072 * gdb.cp/wide_char_types.c: New file.
8073 * gdb.cp/wide_char_types.exp: New file.
8075 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
8078 * gdb.trace/tsv.exp: Add test for "tsave -r".
8080 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
8082 * gdb.dlang/watch-loc.c: New file.
8083 * gdb.dlang/watch-loc.exp: New file.
8085 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8087 * gdb.python/py-section-script.exp (sepdebug): New testcases.
8089 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
8091 * gdb.arch/arc-analyze-prologue.S: New file.
8092 * gdb.arch/arc-analyze-prologue.exp: Likewise.
8094 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
8096 * gdb.arch/arc-decode-insn.S: New file.
8097 * gdb.arch/arc-decode-insn.exp: Likewise.
8099 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
8102 * gdb.arch/sparc64-regs.exp: New file.
8103 * gdb.arch/sparc64-regs.S: Likewise.
8105 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
8107 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
8108 and memory view on Python 3.
8110 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
8111 Keith Seitz <keiths@redhat.com>
8114 * gdb.cp/demangle.exp: Add rvalue reference tests.
8115 * gdb.cp/rvalue-ref-casts.cc: New file.
8116 * gdb.cp/rvalue-ref-casts.exp: New file.
8117 * gdb.cp/rvalue-ref-overload.cc: New file.
8118 * gdb.cp/rvalue-ref-overload.exp: New file.
8119 * gdb.cp/rvalue-ref-params.cc: New file.
8120 * gdb.cp/rvalue-ref-params.exp: New file.
8121 * gdb.cp/rvalue-ref-sizeof.cc: New file.
8122 * gdb.cp/rvalue-ref-sizeof.exp: New file.
8123 * gdb.cp/rvalue-ref-types.cc: New file.
8124 * gdb.cp/rvalue-ref-types.exp: New file.
8125 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
8126 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
8128 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8130 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
8133 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8135 * lib/mi-support.exp (mi_gdb_test): Add additional message
8136 for unexpected output.
8138 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
8140 * gdb.base/examine-backward.c (Barrier): New character array
8141 constant, to ensure that TestStrings is preceded by a string
8144 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8146 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
8147 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
8148 and implicit pointer into such a location.
8150 2017-03-16 Doug Evans <dje@google.com>
8152 * gdb.python/py-lazy-string (pointer): Really add new typedef.
8154 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
8156 * gdb.cp/m-static.exp: Fix expectation for prototype of
8157 test5.single_constructor and single_constructor::single_constructor.
8159 2017-03-16 Doug Evans <dje@google.com>
8161 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
8162 * gdb.guile/scm-lazy-string.c: New file.
8163 * gdb.guile/scm-value.exp: Move lazy string tests to ...
8164 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
8165 for pointer, array, typedef lazy strings.
8167 2017-03-16 Doug Evans <dje@google.com>
8169 PR python/17728, python/18439, python/18779
8170 * gdb.python/py-value.c (main) Delete locals sptr, sn.
8171 * gdb.python/py-lazy-string.c (pointer): New typedef.
8172 (main): New locals ptr, array, typedef_ptr.
8173 * gdb.python/py-value.exp: Move lazy string tests to ...
8174 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
8175 array, typedef lazy strings.
8177 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
8179 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
8180 Add optional 'test' parameter.
8182 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
8184 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
8185 Skip for versions of DejaGnu < 1.5.
8187 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
8189 * lib/gdb.exp (dejagnu_version): New proc.
8190 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
8191 Use dejagnu_version.
8193 2017-03-10 Keith Seitz <keiths@redhat.com>
8196 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
8197 type from destructor regexps.
8198 Add a branch which actually passes the test.
8199 Adjust "ptype t5i" test names.
8201 2017-03-08 Pedro Alves <palves@redhat.com>
8203 * gdb.base/step-over-exit.exp: Add explicit test message.
8205 2017-03-08 Pedro Alves <palves@redhat.com>
8208 * gdb.threads/interrupt-while-step-over.c: New file.
8209 * gdb.threads/interrupt-while-step-over.exp: New file.
8211 2017-03-08 Pedro Alves <palves@redhat.com>
8213 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
8214 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
8216 2017-03-08 Pedro Alves <palves@redhat.com>
8218 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
8219 PKRU as not supported as a PASS.
8221 2017-03-08 Pedro Alves <palves@redhat.com>
8223 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
8224 prefix instead of $binfile1/$binfile2.
8225 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
8227 * gdb.python/py-completion.exp: Use "load python file" as test
8228 messages instead of unstable path names.
8230 2017-03-08 Pedro Alves <palves@redhat.com>
8231 Jan Kratochvil <jan.kratochvil@redhat.com>
8234 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
8236 (top level): Call it.
8238 2017-03-08 Pedro Alves <palves@redhat.com>
8241 * gdb.tui/tui-nl-filtered-output.exp: New file.
8243 2017-03-08 Pedro Alves <palves@redhat.com>
8245 * gdb.base/completion.exp: Move TUI completion tests to ...
8246 * gdb.tui/completion.exp: ... this new file.
8248 2017-03-08 Pedro Alves <palves@redhat.com>
8250 * gdb.base/tui-disasm-long-lines.c,
8251 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
8252 gdb.base/tui-layout.exp: Move to ...
8253 * gdb.tui/: ... this new directory.
8255 2017-03-07 Pedro Alves <palves@redhat.com>
8257 * gdb.base/tui-layout.c: New file.
8258 * gdb.base/tui-layout.exp: New file.
8260 2017-03-07 Pedro Alves <palves@redhat.com>
8262 * gdb.base/tui-layout.c: Rename to ...
8263 * gdb.base/tui-disasm-long-lines.c: ... this.
8264 * gdb.base/tui-layout.exp: Rename to ...
8265 * gdb.base/tui-disasm-long-lines.exp: ... this.
8267 2017-03-07 Pedro Alves <palves@redhat.com>
8269 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
8271 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
8273 * i386-mpx-call.c: New file.
8274 * i386-mpx-call.exp: New file.
8276 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
8278 * gdb.arch/powerpc-power.exp: Delete test.
8279 * gdb.arch/powerpc-power.s: Likewise.
8280 * gdb.disasm/disassembler-options.exp: New test.
8281 * gdb.arch/powerpc-altivec.exp: Likewise.
8282 * gdb.arch/powerpc-altivec.s: Likewise.
8283 * gdb.arch/powerpc-altivec2.exp: Likewise.
8284 * gdb.arch/powerpc-altivec2.s: Likewise.
8285 * gdb.arch/powerpc-altivec3.exp: Likewise.
8286 * gdb.arch/powerpc-altivec3.s: Likewise.
8287 * gdb.arch/powerpc-power7.exp: Likewise.
8288 * gdb.arch/powerpc-power7.s: Likewise.
8289 * gdb.arch/powerpc-power8.exp: Likewise.
8290 * gdb.arch/powerpc-power8.s: Likewise.
8291 * gdb.arch/powerpc-power9.exp: Likewise.
8292 * gdb.arch/powerpc-power9.s: Likewise.
8293 * gdb.arch/powerpc-vsx.exp: Likewise.
8294 * gdb.arch/powerpc-vsx.s: Likewise.
8295 * gdb.arch/powerpc-vsx2.exp: Likewise.
8296 * gdb.arch/powerpc-vsx2.s: Likewise.
8297 * gdb.arch/powerpc-vsx3.exp: Likewise.
8298 * gdb.arch/powerpc-vsx3.s: Likewise.
8299 * gdb.arch/arm-disassembler-options.exp: Likewise.
8300 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
8301 * gdb.arch/s390-disassembler-options.exp: Likewise.
8303 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
8305 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
8306 (check_supported_features): ... this. Changed return type to void.
8307 (supports_rdseed): New static global.
8308 (rdseed): Check supports_rdseed.
8309 (initialize): Call check_supported_features.
8311 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8313 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
8314 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
8316 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
8317 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
8319 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8321 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
8324 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8326 * gdb.dwarf2/formdata16.c: New file.
8327 * gdb.dwarf2/formdata16.exp: New file.
8328 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
8330 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8332 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
8333 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
8334 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
8335 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
8338 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8340 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
8342 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
8345 * gdb.base/maint.exp: Add testcases for when the commands do
8348 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
8350 * gdb.cp/chained-calls.exp: Use p instead of P.
8352 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
8354 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
8355 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
8357 2017-02-14 Tom Tromey <tom@tromey.com>
8360 * gdb.python/py-events.exp: Add before_prompt event tests.
8362 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
8364 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
8366 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
8368 * gdb.linespec/explicit.c (my_unique_function_name): New function.
8369 (main): Call my_unique_function_name.
8370 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
8371 completion of patterns with a single match.
8372 Add missing -re switches to gdb_test_multiple calls.
8374 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
8376 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
8377 return if core file is not recognized.
8379 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
8381 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
8384 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
8386 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
8389 2017-02-10 Tom Tromey <tom@tromey.com>
8391 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
8393 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
8396 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
8398 2017-02-08 Jerome Guitton <guitton@adacore.com>
8400 * gdb.base/define.exp: Add test for command abbreviations
8403 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
8405 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
8406 * gdb.reverse/insn-reverse-x86.c: New file.
8408 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
8411 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
8413 2017-02-03 Tom Tromey <tom@tromey.com>
8416 * gdb.rust/simple.exp: Add new tests.
8418 2017-02-02 Pedro Alves <palves@redhat.com>
8420 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
8423 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
8425 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
8426 taking a 2-byte value out of a 4-byte DWARF implicit value on
8428 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
8429 logic. Add test cases for DW_OP_implicit.
8431 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8433 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
8435 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8437 * gdb.btrace/enable.exp: Call gdb_exit before
8438 skip_gdbserver_tests.
8440 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8442 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
8445 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8447 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
8448 the test is skipped.
8449 * gdb.btrace/data.exp: Likewise.
8450 * gdb.btrace/delta.exp: Likewise.
8451 * gdb.btrace/dlopen.exp: Likewise.
8452 * gdb.btrace/enable-running.exp: Likewise.
8453 * gdb.btrace/enable.exp: Likewise.
8454 * gdb.btrace/exception.exp: Likewise.
8455 * gdb.btrace/function_call_history.exp: Likewise.
8456 * gdb.btrace/gcore.exp: Likewise.
8457 * gdb.btrace/instruction_history.exp: Likewise.
8458 * gdb.btrace/multi-thread-step.exp: Likewise.
8459 * gdb.btrace/nohist.exp: Likewise.
8460 * gdb.btrace/non-stop.exp: Likewise.
8461 * gdb.btrace/reconnect.exp: Likewise.
8462 * gdb.btrace/record_goto-step.exp: Likewise.
8463 * gdb.btrace/record_goto.exp: Likewise.
8464 * gdb.btrace/rn-dl-bind.exp: Likewise.
8465 * gdb.btrace/segv.exp: Likewise.
8466 * gdb.btrace/step.exp: Likewise.
8467 * gdb.btrace/stepi.exp: Likewise.
8468 * gdb.btrace/tailcall-only.exp: Likewise.
8469 * gdb.btrace/tailcall.exp: Likewise.
8470 * gdb.btrace/tsx.exp: Likewise.
8471 * gdb.btrace/unknown_functions.exp: Likewise.
8472 * gdb.btrace/vdso.exp: Likewise.
8474 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
8476 * gdb.btrace/enable-running.c: New.
8477 * gdb.btrace/enable-running.exp: New.
8479 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
8481 * gdb.arch/amd64-gs_base.c: New file.
8482 * gdb.arch/amd64-gs_base.exp: New file.
8484 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
8486 * lib/memory.exp: Remove spurious empty newlines.
8488 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
8490 * gdb.python/py-bad-printers.exp: Load python file using "source".
8491 * gdb.python/py-events.exp: Likewise.
8492 * gdb.python/py-evsignal.exp: Likewise.
8493 * gdb.python/py-evthreads.exp: Likewise.
8494 * gdb.python/py-frame-args.exp: Likewise.
8495 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
8496 * gdb.python/py-framefilter-mi.exp: Likewise.
8497 * gdb.python/py-framefilter.exp: Likewise.
8498 * gdb.python/py-mi.exp: Likewise.
8499 * gdb.python/py-pp-maint.exp: Likewise.
8500 * gdb.python/py-pp-registration.exp: Likewise.
8501 * gdb.python/py-prettyprint.exp: Likewise.
8502 (run_lang_tests): Likewise.
8503 * gdb.python/py-typeprint.exp: Likewise.
8505 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
8507 * lib/memory.exp: New file.
8508 * lib/gdb.exp: Load memory.exp.
8509 * gdb.base/memattr.exp (delete_memory): Move proc to
8510 lib/memory.exp and rename to delete_memory_regions.
8511 Replace delete_memory with delete_memory_regions.
8512 Cleanup memory regions before tests.
8513 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
8516 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
8518 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
8520 (initialize): New function conditionally defined.
8521 (testcases): Move within conditional block.
8522 (main): Call initialize.
8523 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
8524 of gdb.reverse/insn-reverse.c.
8525 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
8526 gdb.reverse/insn-reverse.c.
8528 2017-01-26 Yao Qi <yao.qi@linaro.org>
8530 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
8531 disassemble on address 0.
8533 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
8534 Yao Qi <yao.qi@linaro.org>
8536 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
8537 * gdb.dwarf2/implptr-64bit.S: Remove.
8538 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
8539 variables in caller's context. Add DW_OP_implicit_value.
8541 2017-01-25 Yao Qi <yao.qi@linaro.org>
8543 * lib/dwarf.exp (Dwarf::_location): Handle
8544 DW_OP_GNU_implicit_pointer with proper size.
8546 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
8548 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
8549 and add untested calls.
8551 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
8553 * gdb.python/python.exp: Check line number against what GDB thinks
8554 the line number is for func1.
8556 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
8558 * gdb.dlang/debug-expr.exp: New file.
8560 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
8562 Fix test names for the following files:
8564 * gdb.ada/exec_changed.exp
8565 * gdb.ada/info_types.exp
8566 * gdb.arch/aarch64-atomic-inst.exp
8567 * gdb.arch/aarch64-fp.exp
8568 * gdb.arch/altivec-abi.exp
8569 * gdb.arch/altivec-regs.exp
8570 * gdb.arch/amd64-byte.exp
8571 * gdb.arch/amd64-disp-step.exp
8572 * gdb.arch/amd64-dword.exp
8573 * gdb.arch/amd64-entry-value-inline.exp
8574 * gdb.arch/amd64-entry-value-param.exp
8575 * gdb.arch/amd64-entry-value-paramref.exp
8576 * gdb.arch/amd64-entry-value.exp
8577 * gdb.arch/amd64-i386-address.exp
8578 * gdb.arch/amd64-invalid-stack-middle.exp
8579 * gdb.arch/amd64-invalid-stack-top.exp
8580 * gdb.arch/amd64-optimout-repeat.exp
8581 * gdb.arch/amd64-prologue-skip.exp
8582 * gdb.arch/amd64-prologue-xmm.exp
8583 * gdb.arch/amd64-stap-special-operands.exp
8584 * gdb.arch/amd64-stap-wrong-subexp.exp
8585 * gdb.arch/amd64-tailcall-cxx.exp
8586 * gdb.arch/amd64-tailcall-noret.exp
8587 * gdb.arch/amd64-tailcall-ret.exp
8588 * gdb.arch/amd64-tailcall-self.exp
8589 * gdb.arch/amd64-word.exp
8590 * gdb.arch/arm-bl-branch-dest.exp
8591 * gdb.arch/arm-disp-step.exp
8592 * gdb.arch/arm-neon.exp
8593 * gdb.arch/arm-single-step-kernel-helper.exp
8594 * gdb.arch/avr-flash-qualifier.exp
8595 * gdb.arch/disp-step-insn-reloc.exp
8596 * gdb.arch/e500-abi.exp
8597 * gdb.arch/e500-regs.exp
8598 * gdb.arch/ftrace-insn-reloc.exp
8599 * gdb.arch/i386-avx512.exp
8600 * gdb.arch/i386-bp_permanent.exp
8601 * gdb.arch/i386-byte.exp
8602 * gdb.arch/i386-cfi-notcurrent.exp
8603 * gdb.arch/i386-disp-step.exp
8604 * gdb.arch/i386-dr3-watch.exp
8605 * gdb.arch/i386-float.exp
8606 * gdb.arch/i386-gnu-cfi.exp
8607 * gdb.arch/i386-mpx-map.exp
8608 * gdb.arch/i386-mpx-sigsegv.exp
8609 * gdb.arch/i386-mpx-simple_segv.exp
8610 * gdb.arch/i386-mpx.exp
8611 * gdb.arch/i386-permbkpt.exp
8612 * gdb.arch/i386-prologue.exp
8613 * gdb.arch/i386-signal.exp
8614 * gdb.arch/i386-size-overlap.exp
8615 * gdb.arch/i386-unwind.exp
8616 * gdb.arch/i386-word.exp
8617 * gdb.arch/mips-fcr.exp
8618 * gdb.arch/powerpc-d128-regs.exp
8619 * gdb.arch/powerpc-stackless.exp
8620 * gdb.arch/ppc64-atomic-inst.exp
8621 * gdb.arch/s390-stackless.exp
8622 * gdb.arch/s390-tdbregs.exp
8623 * gdb.arch/s390-vregs.exp
8624 * gdb.arch/sparc-sysstep.exp
8625 * gdb.arch/thumb-bx-pc.exp
8626 * gdb.arch/thumb-singlestep.exp
8627 * gdb.arch/thumb2-it.exp
8628 * gdb.arch/vsx-regs.exp
8629 * gdb.asm/asm-source.exp
8630 * gdb.base/a2-run.exp
8631 * gdb.base/advance.exp
8632 * gdb.base/all-bin.exp
8635 * gdb.base/arithmet.exp
8636 * gdb.base/async-shell.exp
8637 * gdb.base/async.exp
8638 * gdb.base/attach-pie-noexec.exp
8639 * gdb.base/attach-twice.exp
8640 * gdb.base/auto-load.exp
8642 * gdb.base/bitfields.exp
8643 * gdb.base/break-always.exp
8644 * gdb.base/break-caller-line.exp
8645 * gdb.base/break-entry.exp
8646 * gdb.base/break-inline.exp
8647 * gdb.base/break-on-linker-gcd-function.exp
8648 * gdb.base/break-probes.exp
8649 * gdb.base/break.exp
8650 * gdb.base/breakpoint-shadow.exp
8651 * gdb.base/call-ar-st.exp
8652 * gdb.base/call-sc.exp
8653 * gdb.base/call-signal-resume.exp
8654 * gdb.base/call-strs.exp
8655 * gdb.base/callfuncs.exp
8656 * gdb.base/catch-fork-static.exp
8657 * gdb.base/catch-gdb-caused-signals.exp
8658 * gdb.base/catch-load.exp
8659 * gdb.base/catch-signal-fork.exp
8660 * gdb.base/catch-signal.exp
8661 * gdb.base/catch-syscall.exp
8662 * gdb.base/charset.exp
8663 * gdb.base/checkpoint.exp
8664 * gdb.base/chng-syms.exp
8665 * gdb.base/code-expr.exp
8666 * gdb.base/code_elim.exp
8667 * gdb.base/commands.exp
8668 * gdb.base/completion.exp
8669 * gdb.base/complex.exp
8670 * gdb.base/cond-expr.exp
8671 * gdb.base/condbreak.exp
8672 * gdb.base/consecutive.exp
8673 * gdb.base/continue-all-already-running.exp
8674 * gdb.base/coredump-filter.exp
8675 * gdb.base/corefile.exp
8677 * gdb.base/debug-expr.exp
8678 * gdb.base/define.exp
8680 * gdb.base/disabled-location.exp
8681 * gdb.base/disasm-end-cu.exp
8682 * gdb.base/disasm-optim.exp
8683 * gdb.base/display.exp
8684 * gdb.base/duplicate-bp.exp
8685 * gdb.base/ena-dis-br.exp
8686 * gdb.base/ending-run.exp
8687 * gdb.base/enumval.exp
8688 * gdb.base/environ.exp
8689 * gdb.base/eu-strip-infcall.exp
8690 * gdb.base/eval-avoid-side-effects.exp
8691 * gdb.base/eval-skip.exp
8692 * gdb.base/exitsignal.exp
8693 * gdb.base/expand-psymtabs.exp
8694 * gdb.base/filesym.exp
8695 * gdb.base/find-unmapped.exp
8696 * gdb.base/finish.exp
8697 * gdb.base/float.exp
8698 * gdb.base/foll-exec-mode.exp
8699 * gdb.base/foll-exec.exp
8700 * gdb.base/foll-fork.exp
8701 * gdb.base/fortran-sym-case.exp
8702 * gdb.base/freebpcmd.exp
8703 * gdb.base/func-ptr.exp
8704 * gdb.base/func-ptrs.exp
8705 * gdb.base/funcargs.exp
8706 * gdb.base/gcore-buffer-overflow.exp
8707 * gdb.base/gcore-relro-pie.exp
8708 * gdb.base/gcore-relro.exp
8709 * gdb.base/gcore.exp
8710 * gdb.base/gdb1090.exp
8711 * gdb.base/gdb11530.exp
8712 * gdb.base/gdb11531.exp
8713 * gdb.base/gdb1821.exp
8714 * gdb.base/gdbindex-stabs.exp
8715 * gdb.base/gdbvars.exp
8716 * gdb.base/hbreak.exp
8717 * gdb.base/hbreak2.exp
8718 * gdb.base/included.exp
8719 * gdb.base/infcall-input.exp
8720 * gdb.base/inferior-died.exp
8721 * gdb.base/infnan.exp
8722 * gdb.base/info-macros.exp
8723 * gdb.base/info-os.exp
8724 * gdb.base/info-proc.exp
8725 * gdb.base/info-shared.exp
8726 * gdb.base/info-target.exp
8727 * gdb.base/infoline.exp
8728 * gdb.base/interp.exp
8729 * gdb.base/interrupt.exp
8730 * gdb.base/jit-reader.exp
8731 * gdb.base/jit-simple.exp
8732 * gdb.base/kill-after-signal.exp
8733 * gdb.base/kill-detach-inferiors-cmd.exp
8734 * gdb.base/label.exp
8735 * gdb.base/langs.exp
8736 * gdb.base/ldbl_e308.exp
8737 * gdb.base/line-symtabs.exp
8738 * gdb.base/linespecs.exp
8740 * gdb.base/long_long.exp
8741 * gdb.base/longest-types.exp
8742 * gdb.base/maint.exp
8743 * gdb.base/max-value-size.exp
8744 * gdb.base/memattr.exp
8745 * gdb.base/mips_pro.exp
8746 * gdb.base/morestack.exp
8747 * gdb.base/moribund-step.exp
8748 * gdb.base/multi-forks.exp
8749 * gdb.base/nested-addr.exp
8750 * gdb.base/nextoverexit.exp
8751 * gdb.base/noreturn-finish.exp
8752 * gdb.base/noreturn-return.exp
8753 * gdb.base/nostdlib.exp
8754 * gdb.base/offsets.exp
8755 * gdb.base/opaque.exp
8756 * gdb.base/pc-fp.exp
8757 * gdb.base/permissions.exp
8758 * gdb.base/print-symbol-loading.exp
8759 * gdb.base/prologue-include.exp
8760 * gdb.base/psymtab.exp
8761 * gdb.base/ptype.exp
8762 * gdb.base/random-signal.exp
8763 * gdb.base/randomize.exp
8764 * gdb.base/range-stepping.exp
8765 * gdb.base/readline-ask.exp
8766 * gdb.base/recpar.exp
8767 * gdb.base/recurse.exp
8768 * gdb.base/relational.exp
8769 * gdb.base/restore.exp
8770 * gdb.base/return-nodebug.exp
8771 * gdb.base/return.exp
8772 * gdb.base/run-after-attach.exp
8773 * gdb.base/save-bp.exp
8774 * gdb.base/scope.exp
8775 * gdb.base/sect-cmd.exp
8776 * gdb.base/set-lang-auto.exp
8777 * gdb.base/set-noassign.exp
8778 * gdb.base/setvar.exp
8779 * gdb.base/sigall.exp
8780 * gdb.base/sigbpt.exp
8781 * gdb.base/siginfo-addr.exp
8782 * gdb.base/siginfo-infcall.exp
8783 * gdb.base/siginfo-obj.exp
8784 * gdb.base/siginfo.exp
8785 * gdb.base/signals-state-child.exp
8786 * gdb.base/signest.exp
8787 * gdb.base/sigstep.exp
8788 * gdb.base/sizeof.exp
8790 * gdb.base/solib-corrupted.exp
8791 * gdb.base/solib-nodir.exp
8792 * gdb.base/solib-search.exp
8793 * gdb.base/stack-checking.exp
8794 * gdb.base/stale-infcall.exp
8795 * gdb.base/stap-probe.exp
8796 * gdb.base/start.exp
8797 * gdb.base/step-break.exp
8798 * gdb.base/step-bt.exp
8799 * gdb.base/step-line.exp
8800 * gdb.base/step-over-exit.exp
8801 * gdb.base/step-over-syscall.exp
8802 * gdb.base/step-resume-infcall.exp
8803 * gdb.base/step-test.exp
8804 * gdb.base/store.exp
8805 * gdb.base/structs3.exp
8806 * gdb.base/sym-file.exp
8807 * gdb.base/symbol-without-target_section.exp
8809 * gdb.base/testenv.exp
8810 * gdb.base/ui-redirect.exp
8811 * gdb.base/until.exp
8812 * gdb.base/unwindonsignal.exp
8813 * gdb.base/value-double-free.exp
8814 * gdb.base/vla-datatypes.exp
8815 * gdb.base/vla-ptr.exp
8816 * gdb.base/vla-sideeffect.exp
8817 * gdb.base/volatile.exp
8818 * gdb.base/watch-cond-infcall.exp
8819 * gdb.base/watch-cond.exp
8820 * gdb.base/watch-non-mem.exp
8821 * gdb.base/watch-read.exp
8822 * gdb.base/watch-vfork.exp
8823 * gdb.base/watchpoint-cond-gone.exp
8824 * gdb.base/watchpoint-delete.exp
8825 * gdb.base/watchpoint-hw-hit-once.exp
8826 * gdb.base/watchpoint-hw.exp
8827 * gdb.base/watchpoint-stops-at-right-insn.exp
8828 * gdb.base/watchpoints.exp
8829 * gdb.base/wchar.exp
8830 * gdb.base/whatis-exp.exp
8831 * gdb.btrace/buffer-size.exp
8832 * gdb.btrace/data.exp
8833 * gdb.btrace/delta.exp
8834 * gdb.btrace/dlopen.exp
8835 * gdb.btrace/enable.exp
8836 * gdb.btrace/exception.exp
8837 * gdb.btrace/function_call_history.exp
8838 * gdb.btrace/gcore.exp
8839 * gdb.btrace/instruction_history.exp
8840 * gdb.btrace/nohist.exp
8841 * gdb.btrace/reconnect.exp
8842 * gdb.btrace/record_goto-step.exp
8843 * gdb.btrace/record_goto.exp
8844 * gdb.btrace/rn-dl-bind.exp
8845 * gdb.btrace/segv.exp
8846 * gdb.btrace/step.exp
8847 * gdb.btrace/stepi.exp
8848 * gdb.btrace/tailcall-only.exp
8849 * gdb.btrace/tailcall.exp
8850 * gdb.btrace/tsx.exp
8851 * gdb.btrace/unknown_functions.exp
8852 * gdb.btrace/vdso.exp
8853 * gdb.compile/compile-ifunc.exp
8854 * gdb.compile/compile-ops.exp
8855 * gdb.compile/compile-print.exp
8856 * gdb.compile/compile-setjmp.exp
8857 * gdb.cp/abstract-origin.exp
8858 * gdb.cp/ambiguous.exp
8859 * gdb.cp/annota2.exp
8860 * gdb.cp/annota3.exp
8861 * gdb.cp/anon-ns.exp
8862 * gdb.cp/anon-struct.exp
8863 * gdb.cp/anon-union.exp
8864 * gdb.cp/arg-reference.exp
8865 * gdb.cp/baseenum.exp
8867 * gdb.cp/breakpoint.exp
8868 * gdb.cp/bs15503.exp
8871 * gdb.cp/chained-calls.exp
8873 * gdb.cp/classes.exp
8874 * gdb.cp/cmpd-minsyms.exp
8875 * gdb.cp/converts.exp
8876 * gdb.cp/cp-relocate.exp
8877 * gdb.cp/cpcompletion.exp
8878 * gdb.cp/cpexprs.exp
8879 * gdb.cp/cplabel.exp
8880 * gdb.cp/cplusfuncs.exp
8881 * gdb.cp/cpsizeof.exp
8883 * gdb.cp/derivation.exp
8884 * gdb.cp/destrprint.exp
8885 * gdb.cp/dispcxx.exp
8886 * gdb.cp/enum-class.exp
8887 * gdb.cp/exception.exp
8888 * gdb.cp/exceptprint.exp
8889 * gdb.cp/expand-psymtabs-cxx.exp
8890 * gdb.cp/expand-sals.exp
8891 * gdb.cp/extern-c.exp
8892 * gdb.cp/filename.exp
8893 * gdb.cp/formatted-ref.exp
8894 * gdb.cp/fpointer.exp
8895 * gdb.cp/gdb1355.exp
8896 * gdb.cp/gdb2495.exp
8898 * gdb.cp/impl-this.exp
8899 * gdb.cp/infcall-dlopen.exp
8900 * gdb.cp/inherit.exp
8901 * gdb.cp/iostream.exp
8905 * gdb.cp/m-static.exp
8906 * gdb.cp/mb-ctor.exp
8907 * gdb.cp/mb-inline.exp
8908 * gdb.cp/mb-templates.exp
8909 * gdb.cp/member-name.exp
8910 * gdb.cp/member-ptr.exp
8911 * gdb.cp/meth-typedefs.exp
8913 * gdb.cp/method2.exp
8914 * gdb.cp/minsym-fallback.exp
8916 * gdb.cp/namelessclass.exp
8917 * gdb.cp/namespace-enum.exp
8918 * gdb.cp/namespace-nested-import.exp
8919 * gdb.cp/namespace.exp
8920 * gdb.cp/nextoverthrow.exp
8921 * gdb.cp/no-dmgl-verbose.exp
8922 * gdb.cp/non-trivial-retval.exp
8923 * gdb.cp/noparam.exp
8925 * gdb.cp/nsimport.exp
8926 * gdb.cp/nsnested.exp
8927 * gdb.cp/nsnoimports.exp
8928 * gdb.cp/nsrecurs.exp
8929 * gdb.cp/nsstress.exp
8930 * gdb.cp/nsusing.exp
8931 * gdb.cp/operator.exp
8932 * gdb.cp/oranking.exp
8933 * gdb.cp/overload-const.exp
8934 * gdb.cp/overload.exp
8935 * gdb.cp/ovldbreak.exp
8937 * gdb.cp/paren-type.exp
8938 * gdb.cp/parse-lang.exp
8939 * gdb.cp/pass-by-ref.exp
8940 * gdb.cp/pr-1023.exp
8941 * gdb.cp/pr-1210.exp
8943 * gdb.cp/pr10687.exp
8944 * gdb.cp/pr12028.exp
8945 * gdb.cp/pr17132.exp
8946 * gdb.cp/pr17494.exp
8950 * gdb.cp/printmethod.exp
8952 * gdb.cp/psymtab-parameter.exp
8953 * gdb.cp/ptype-cv-cp.exp
8954 * gdb.cp/ptype-flags.exp
8955 * gdb.cp/re-set-overloaded.exp
8956 * gdb.cp/ref-types.exp
8958 * gdb.cp/scope-err.exp
8961 * gdb.cp/static-method.exp
8962 * gdb.cp/static-print-quit.exp
8963 * gdb.cp/temargs.exp
8964 * gdb.cp/templates.exp
8965 * gdb.cp/try_catch.exp
8966 * gdb.cp/typedef-operator.exp
8968 * gdb.cp/userdef.exp
8969 * gdb.cp/using-crash.exp
8970 * gdb.cp/var-tag.exp
8971 * gdb.cp/virtbase.exp
8972 * gdb.cp/virtfunc.exp
8973 * gdb.cp/virtfunc2.exp
8974 * gdb.cp/vla-cxx.exp
8975 * gdb.disasm/t01_mov.exp
8976 * gdb.disasm/t02_mova.exp
8977 * gdb.disasm/t03_add.exp
8978 * gdb.disasm/t04_sub.exp
8979 * gdb.disasm/t05_cmp.exp
8980 * gdb.disasm/t06_ari2.exp
8981 * gdb.disasm/t07_ari3.exp
8982 * gdb.disasm/t08_or.exp
8983 * gdb.disasm/t09_xor.exp
8984 * gdb.disasm/t10_and.exp
8985 * gdb.disasm/t11_logs.exp
8986 * gdb.disasm/t12_bit.exp
8987 * gdb.disasm/t13_otr.exp
8988 * gdb.dlang/circular.exp
8989 * gdb.dwarf2/arr-stride.exp
8990 * gdb.dwarf2/arr-subrange.exp
8991 * gdb.dwarf2/atomic-type.exp
8992 * gdb.dwarf2/bad-regnum.exp
8993 * gdb.dwarf2/bitfield-parent-optimized-out.exp
8994 * gdb.dwarf2/callframecfa.exp
8995 * gdb.dwarf2/clztest.exp
8996 * gdb.dwarf2/corrupt.exp
8997 * gdb.dwarf2/data-loc.exp
8998 * gdb.dwarf2/dup-psym.exp
8999 * gdb.dwarf2/dw2-anon-mptr.exp
9000 * gdb.dwarf2/dw2-anonymous-func.exp
9001 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
9002 * gdb.dwarf2/dw2-bad-unresolved.exp
9003 * gdb.dwarf2/dw2-basic.exp
9004 * gdb.dwarf2/dw2-canonicalize-type.exp
9005 * gdb.dwarf2/dw2-case-insensitive.exp
9006 * gdb.dwarf2/dw2-common-block.exp
9007 * gdb.dwarf2/dw2-compdir-oldgcc.exp
9008 * gdb.dwarf2/dw2-compressed.exp
9009 * gdb.dwarf2/dw2-const.exp
9010 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
9011 * gdb.dwarf2/dw2-cu-size.exp
9012 * gdb.dwarf2/dw2-dup-frame.exp
9013 * gdb.dwarf2/dw2-entry-value.exp
9014 * gdb.dwarf2/dw2-icycle.exp
9015 * gdb.dwarf2/dw2-ifort-parameter.exp
9016 * gdb.dwarf2/dw2-inline-break.exp
9017 * gdb.dwarf2/dw2-inline-param.exp
9018 * gdb.dwarf2/dw2-intercu.exp
9019 * gdb.dwarf2/dw2-intermix.exp
9020 * gdb.dwarf2/dw2-lexical-block-bare.exp
9021 * gdb.dwarf2/dw2-linkage-name-trust.exp
9022 * gdb.dwarf2/dw2-minsym-in-cu.exp
9023 * gdb.dwarf2/dw2-noloc.exp
9024 * gdb.dwarf2/dw2-op-call.exp
9025 * gdb.dwarf2/dw2-op-out-param.exp
9026 * gdb.dwarf2/dw2-opt-structptr.exp
9027 * gdb.dwarf2/dw2-param-error.exp
9028 * gdb.dwarf2/dw2-producer.exp
9029 * gdb.dwarf2/dw2-ranges-base.exp
9030 * gdb.dwarf2/dw2-ref-missing-frame.exp
9031 * gdb.dwarf2/dw2-reg-undefined.exp
9032 * gdb.dwarf2/dw2-regno-invalid.exp
9033 * gdb.dwarf2/dw2-restore.exp
9034 * gdb.dwarf2/dw2-restrict.exp
9035 * gdb.dwarf2/dw2-single-line-discriminators.exp
9036 * gdb.dwarf2/dw2-strp.exp
9037 * gdb.dwarf2/dw2-undefined-ret-addr.exp
9038 * gdb.dwarf2/dw2-unresolved.exp
9039 * gdb.dwarf2/dw2-var-zero-addr.exp
9040 * gdb.dwarf2/dw4-sig-types.exp
9041 * gdb.dwarf2/dwz.exp
9042 * gdb.dwarf2/dynarr-ptr.exp
9043 * gdb.dwarf2/enum-type.exp
9044 * gdb.dwarf2/gdb-index.exp
9045 * gdb.dwarf2/implptr-64bit.exp
9046 * gdb.dwarf2/implptr-optimized-out.exp
9047 * gdb.dwarf2/implptr.exp
9048 * gdb.dwarf2/implref-array.exp
9049 * gdb.dwarf2/implref-const.exp
9050 * gdb.dwarf2/implref-global.exp
9051 * gdb.dwarf2/implref-struct.exp
9052 * gdb.dwarf2/mac-fileno.exp
9053 * gdb.dwarf2/main-subprogram.exp
9054 * gdb.dwarf2/member-ptr-forwardref.exp
9055 * gdb.dwarf2/method-ptr.exp
9056 * gdb.dwarf2/missing-sig-type.exp
9057 * gdb.dwarf2/nonvar-access.exp
9058 * gdb.dwarf2/opaque-type-lookup.exp
9059 * gdb.dwarf2/pieces-optimized-out.exp
9060 * gdb.dwarf2/pieces.exp
9061 * gdb.dwarf2/pr10770.exp
9062 * gdb.dwarf2/pr13961.exp
9063 * gdb.dwarf2/staticvirtual.exp
9064 * gdb.dwarf2/subrange.exp
9065 * gdb.dwarf2/symtab-producer.exp
9066 * gdb.dwarf2/trace-crash.exp
9067 * gdb.dwarf2/typeddwarf.exp
9068 * gdb.dwarf2/valop.exp
9069 * gdb.dwarf2/watch-notconst.exp
9070 * gdb.fortran/array-element.exp
9071 * gdb.fortran/charset.exp
9072 * gdb.fortran/common-block.exp
9073 * gdb.fortran/complex.exp
9074 * gdb.fortran/derived-type-function.exp
9075 * gdb.fortran/derived-type.exp
9076 * gdb.fortran/logical.exp
9077 * gdb.fortran/module.exp
9078 * gdb.fortran/multi-dim.exp
9079 * gdb.fortran/nested-funcs.exp
9080 * gdb.fortran/print-formatted.exp
9081 * gdb.fortran/subarray.exp
9082 * gdb.fortran/vla-alloc-assoc.exp
9083 * gdb.fortran/vla-datatypes.exp
9084 * gdb.fortran/vla-history.exp
9085 * gdb.fortran/vla-ptr-info.exp
9086 * gdb.fortran/vla-ptype-sub.exp
9087 * gdb.fortran/vla-ptype.exp
9088 * gdb.fortran/vla-sizeof.exp
9089 * gdb.fortran/vla-type.exp
9090 * gdb.fortran/vla-value-sub-arbitrary.exp
9091 * gdb.fortran/vla-value-sub-finish.exp
9092 * gdb.fortran/vla-value-sub.exp
9093 * gdb.fortran/vla-value.exp
9094 * gdb.fortran/whatis_type.exp
9096 * gdb.go/handcall.exp
9098 * gdb.go/integers.exp
9099 * gdb.go/methods.exp
9100 * gdb.go/package.exp
9101 * gdb.go/strings.exp
9104 * gdb.guile/scm-arch.exp
9105 * gdb.guile/scm-block.exp
9106 * gdb.guile/scm-breakpoint.exp
9107 * gdb.guile/scm-cmd.exp
9108 * gdb.guile/scm-disasm.exp
9109 * gdb.guile/scm-equal.exp
9110 * gdb.guile/scm-frame-args.exp
9111 * gdb.guile/scm-frame-inline.exp
9112 * gdb.guile/scm-frame.exp
9113 * gdb.guile/scm-iterator.exp
9114 * gdb.guile/scm-math.exp
9115 * gdb.guile/scm-objfile.exp
9116 * gdb.guile/scm-ports.exp
9117 * gdb.guile/scm-symbol.exp
9118 * gdb.guile/scm-symtab.exp
9119 * gdb.guile/scm-value-cc.exp
9120 * gdb.guile/types-module.exp
9121 * gdb.linespec/break-ask.exp
9122 * gdb.linespec/cpexplicit.exp
9123 * gdb.linespec/explicit.exp
9124 * gdb.linespec/keywords.exp
9125 * gdb.linespec/linespec.exp
9126 * gdb.linespec/ls-dollar.exp
9127 * gdb.linespec/ls-errs.exp
9128 * gdb.linespec/skip-two.exp
9129 * gdb.linespec/thread.exp
9130 * gdb.mi/mi-async.exp
9131 * gdb.mi/mi-basics.exp
9132 * gdb.mi/mi-break.exp
9133 * gdb.mi/mi-catch-load.exp
9135 * gdb.mi/mi-cmd-param-changed.exp
9136 * gdb.mi/mi-console.exp
9137 * gdb.mi/mi-detach.exp
9138 * gdb.mi/mi-disassemble.exp
9139 * gdb.mi/mi-eval.exp
9140 * gdb.mi/mi-file-transfer.exp
9141 * gdb.mi/mi-file.exp
9142 * gdb.mi/mi-fill-memory.exp
9143 * gdb.mi/mi-inheritance-syntax-error.exp
9144 * gdb.mi/mi-linespec-err-cp.exp
9145 * gdb.mi/mi-logging.exp
9146 * gdb.mi/mi-memory-changed.exp
9147 * gdb.mi/mi-read-memory.exp
9148 * gdb.mi/mi-record-changed.exp
9149 * gdb.mi/mi-reg-undefined.exp
9150 * gdb.mi/mi-regs.exp
9151 * gdb.mi/mi-return.exp
9152 * gdb.mi/mi-reverse.exp
9153 * gdb.mi/mi-simplerun.exp
9154 * gdb.mi/mi-solib.exp
9155 * gdb.mi/mi-stack.exp
9156 * gdb.mi/mi-stepi.exp
9157 * gdb.mi/mi-syn-frame.exp
9158 * gdb.mi/mi-until.exp
9159 * gdb.mi/mi-var-block.exp
9160 * gdb.mi/mi-var-child.exp
9161 * gdb.mi/mi-var-cmd.exp
9162 * gdb.mi/mi-var-cp.exp
9163 * gdb.mi/mi-var-display.exp
9164 * gdb.mi/mi-var-invalidate.exp
9165 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
9166 * gdb.mi/mi-vla-fortran.exp
9167 * gdb.mi/mi-watch.exp
9168 * gdb.mi/mi2-var-child.exp
9169 * gdb.mi/user-selected-context-sync.exp
9170 * gdb.modula2/unbounded-array.exp
9171 * gdb.multi/dummy-frame-restore.exp
9172 * gdb.multi/multi-arch-exec.exp
9173 * gdb.multi/multi-arch.exp
9174 * gdb.multi/tids.exp
9175 * gdb.multi/watchpoint-multi.exp
9176 * gdb.opencl/callfuncs.exp
9177 * gdb.opencl/convs_casts.exp
9178 * gdb.opencl/datatypes.exp
9179 * gdb.opencl/operators.exp
9180 * gdb.opencl/vec_comps.exp
9181 * gdb.opt/clobbered-registers-O2.exp
9182 * gdb.opt/inline-break.exp
9183 * gdb.opt/inline-bt.exp
9184 * gdb.opt/inline-cmds.exp
9185 * gdb.opt/inline-locals.exp
9186 * gdb.pascal/case-insensitive-symbols.exp
9187 * gdb.pascal/floats.exp
9188 * gdb.pascal/gdb11492.exp
9189 * gdb.python/lib-types.exp
9190 * gdb.python/py-arch.exp
9191 * gdb.python/py-as-string.exp
9192 * gdb.python/py-bad-printers.exp
9193 * gdb.python/py-block.exp
9194 * gdb.python/py-breakpoint-create-fail.exp
9195 * gdb.python/py-breakpoint.exp
9196 * gdb.python/py-caller-is.exp
9197 * gdb.python/py-cmd.exp
9198 * gdb.python/py-explore-cc.exp
9199 * gdb.python/py-explore.exp
9200 * gdb.python/py-finish-breakpoint.exp
9201 * gdb.python/py-finish-breakpoint2.exp
9202 * gdb.python/py-frame-args.exp
9203 * gdb.python/py-frame-inline.exp
9204 * gdb.python/py-frame.exp
9205 * gdb.python/py-framefilter-mi.exp
9206 * gdb.python/py-infthread.exp
9207 * gdb.python/py-lazy-string.exp
9208 * gdb.python/py-linetable.exp
9209 * gdb.python/py-mi-events.exp
9210 * gdb.python/py-mi-objfile.exp
9211 * gdb.python/py-mi.exp
9212 * gdb.python/py-objfile.exp
9213 * gdb.python/py-pp-integral.exp
9214 * gdb.python/py-pp-maint.exp
9215 * gdb.python/py-pp-re-notag.exp
9216 * gdb.python/py-pp-registration.exp
9217 * gdb.python/py-recurse-unwind.exp
9218 * gdb.python/py-strfns.exp
9219 * gdb.python/py-symbol.exp
9220 * gdb.python/py-symtab.exp
9221 * gdb.python/py-sync-interp.exp
9222 * gdb.python/py-typeprint.exp
9223 * gdb.python/py-unwind-maint.exp
9224 * gdb.python/py-unwind.exp
9225 * gdb.python/py-value-cc.exp
9226 * gdb.python/py-xmethods.exp
9227 * gdb.reverse/amd64-tailcall-reverse.exp
9228 * gdb.reverse/break-precsave.exp
9229 * gdb.reverse/break-reverse.exp
9230 * gdb.reverse/consecutive-precsave.exp
9231 * gdb.reverse/consecutive-reverse.exp
9232 * gdb.reverse/finish-precsave.exp
9233 * gdb.reverse/finish-reverse-bkpt.exp
9234 * gdb.reverse/finish-reverse.exp
9235 * gdb.reverse/fstatat-reverse.exp
9236 * gdb.reverse/getresuid-reverse.exp
9237 * gdb.reverse/i386-precsave.exp
9238 * gdb.reverse/i386-reverse.exp
9239 * gdb.reverse/i386-sse-reverse.exp
9240 * gdb.reverse/i387-env-reverse.exp
9241 * gdb.reverse/i387-stack-reverse.exp
9242 * gdb.reverse/insn-reverse.exp
9243 * gdb.reverse/machinestate-precsave.exp
9244 * gdb.reverse/machinestate.exp
9245 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9246 * gdb.reverse/pipe-reverse.exp
9247 * gdb.reverse/readv-reverse.exp
9248 * gdb.reverse/recvmsg-reverse.exp
9249 * gdb.reverse/rerun-prec.exp
9250 * gdb.reverse/s390-mvcle.exp
9251 * gdb.reverse/step-precsave.exp
9252 * gdb.reverse/step-reverse.exp
9253 * gdb.reverse/time-reverse.exp
9254 * gdb.reverse/until-precsave.exp
9255 * gdb.reverse/until-reverse.exp
9256 * gdb.reverse/waitpid-reverse.exp
9257 * gdb.reverse/watch-precsave.exp
9258 * gdb.reverse/watch-reverse.exp
9259 * gdb.rust/generics.exp
9260 * gdb.rust/methods.exp
9261 * gdb.rust/modules.exp
9262 * gdb.rust/simple.exp
9263 * gdb.server/connect-with-no-symbol-file.exp
9264 * gdb.server/ext-attach.exp
9265 * gdb.server/ext-restart.exp
9266 * gdb.server/ext-wrapper.exp
9267 * gdb.server/file-transfer.exp
9268 * gdb.server/server-exec-info.exp
9269 * gdb.server/server-kill.exp
9270 * gdb.server/server-mon.exp
9271 * gdb.server/wrapper.exp
9272 * gdb.stabs/exclfwd.exp
9273 * gdb.stabs/gdb11479.exp
9274 * gdb.threads/clone-new-thread-event.exp
9275 * gdb.threads/corethreads.exp
9276 * gdb.threads/current-lwp-dead.exp
9277 * gdb.threads/dlopen-libpthread.exp
9278 * gdb.threads/gcore-thread.exp
9279 * gdb.threads/sigstep-threads.exp
9280 * gdb.threads/watchpoint-fork.exp
9281 * gdb.trace/actions-changed.exp
9282 * gdb.trace/backtrace.exp
9283 * gdb.trace/change-loc.exp
9284 * gdb.trace/circ.exp
9285 * gdb.trace/collection.exp
9286 * gdb.trace/disconnected-tracing.exp
9287 * gdb.trace/ftrace.exp
9288 * gdb.trace/mi-trace-frame-collected.exp
9289 * gdb.trace/mi-trace-unavailable.exp
9290 * gdb.trace/mi-traceframe-changed.exp
9291 * gdb.trace/mi-tsv-changed.exp
9292 * gdb.trace/no-attach-trace.exp
9293 * gdb.trace/passc-dyn.exp
9294 * gdb.trace/qtro.exp
9295 * gdb.trace/range-stepping.exp
9296 * gdb.trace/read-memory.exp
9297 * gdb.trace/save-trace.exp
9298 * gdb.trace/signal.exp
9299 * gdb.trace/status-stop.exp
9300 * gdb.trace/tfile.exp
9301 * gdb.trace/trace-break.exp
9302 * gdb.trace/trace-buffer-size.exp
9303 * gdb.trace/trace-condition.exp
9304 * gdb.trace/tracefile-pseudo-reg.exp
9305 * gdb.trace/tstatus.exp
9306 * gdb.trace/unavailable.exp
9307 * gdb.trace/while-dyn.exp
9308 * gdb.trace/while-stepping.exp
9310 2016-12-22 Doug Evans <xdje42@gmail.com>
9312 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
9315 2016-12-19 Yao Qi <yao.qi@linaro.org>
9317 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
9318 (test_with_self): Don't call do_steps_and_nexts, and remove
9319 code about stepping into xmalloc.
9321 2016-12-09 Yao Qi <yao.qi@linaro.org>
9323 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
9325 2016-12-09 Yao Qi <yao.qi@linaro.org>
9327 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
9329 2016-12-09 Pedro Alves <palves@redhat.com>
9331 * gdb.base/all-architectures-0.exp: New file.
9332 * gdb.base/all-architectures-1.exp: New file.
9333 * gdb.base/all-architectures-2.exp: New file.
9334 * gdb.base/all-architectures-3.exp: New file.
9335 * gdb.base/all-architectures-4.exp: New file.
9336 * gdb.base/all-architectures-5.exp: New file.
9337 * gdb.base/all-architectures-6.exp: New file.
9338 * gdb.base/all-architectures-7.exp: New file.
9339 * gdb.base/all-architectures.exp.in: New file.
9341 2016-12-09 Yao Qi <yao.qi@linaro.org>
9343 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
9345 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
9347 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
9349 Remove useless pattern-matching code.
9351 2016-12-02 Pedro Alves <palves@redhat.com>
9353 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
9355 (top level): Call it.
9357 2016-12-02 Pedro Alves <palves@redhat.com>
9359 * gdb.base/commands.exp (user_defined_command_args_stack_test):
9361 (top level): Call it.
9363 2016-12-02 Pedro Alves <palves@redhat.com>
9366 * gdb.base/commands.exp (user_defined_command_args_eval): New
9368 (top level): Call it.
9370 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
9372 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
9375 2016-12-02 Tom Tromey <tom@tromey.com>
9377 * gdb.dwarf2/main-subprogram.c: New file.
9378 * gdb.dwarf2/main-subprogram.exp: New file.
9380 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9382 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
9383 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
9384 gdb_test_no_output for a couple of cases.
9385 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
9387 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9389 Fix test names and standardize compilation error messages throughout
9390 the following files:
9393 * gdb.arch/alpha-step.exp
9394 * gdb.arch/e500-prologue.exp
9395 * gdb.arch/ftrace-insn-reloc.exp
9396 * gdb.arch/gdb1291.exp
9397 * gdb.arch/gdb1431.exp
9398 * gdb.arch/gdb1558.exp
9399 * gdb.arch/i386-dr3-watch.exp
9400 * gdb.arch/i386-sse-stack-align.exp
9401 * gdb.arch/ia64-breakpoint-shadow.exp
9402 * gdb.arch/pa-nullify.exp
9403 * gdb.arch/powerpc-aix-prologue.exp
9404 * gdb.arch/thumb-bx-pc.exp
9405 * gdb.base/annota1.exp
9406 * gdb.base/annota3.exp
9407 * gdb.base/arrayidx.exp
9408 * gdb.base/assign.exp
9409 * gdb.base/attach.exp
9412 * gdb.base/bfp-test.exp
9413 * gdb.base/bigcore.exp
9414 * gdb.base/bitfields2.exp
9415 * gdb.base/break-fun-addr.exp
9416 * gdb.base/break-probes.exp
9417 * gdb.base/call-rt-st.exp
9418 * gdb.base/callexit.exp
9419 * gdb.base/catch-fork-kill.exp
9420 * gdb.base/charset.exp
9421 * gdb.base/checkpoint.exp
9422 * gdb.base/comprdebug.exp
9423 * gdb.base/constvars.exp
9424 * gdb.base/coredump-filter.exp
9425 * gdb.base/cursal.exp
9426 * gdb.base/cvexpr.exp
9427 * gdb.base/detach.exp
9428 * gdb.base/display.exp
9429 * gdb.base/dmsym.exp
9430 * gdb.base/dprintf-pending.exp
9431 * gdb.base/dso2dso.exp
9432 * gdb.base/dtrace-probe.exp
9434 * gdb.base/enum_cond.exp
9435 * gdb.base/exe-lock.exp
9436 * gdb.base/exec-invalid-sysroot.exp
9437 * gdb.base/execl-update-breakpoints.exp
9438 * gdb.base/exprs.exp
9439 * gdb.base/fileio.exp
9441 * gdb.base/finish.exp
9442 * gdb.base/fixsection.exp
9443 * gdb.base/foll-vfork.exp
9444 * gdb.base/frame-args.exp
9445 * gdb.base/gcore.exp
9446 * gdb.base/gdb1250.exp
9447 * gdb.base/global-var-nested-by-dso.exp
9448 * gdb.base/gnu-ifunc.exp
9449 * gdb.base/hashline1.exp
9450 * gdb.base/hashline2.exp
9451 * gdb.base/hashline3.exp
9452 * gdb.base/hbreak-in-shr-unsupported.exp
9454 * gdb.base/infcall-input.exp
9455 * gdb.base/info-fun.exp
9456 * gdb.base/info-shared.exp
9457 * gdb.base/jit-simple.exp
9458 * gdb.base/jit-so.exp
9461 * gdb.base/label.exp
9462 * gdb.base/lineinc.exp
9463 * gdb.base/logical.exp
9464 * gdb.base/longjmp.exp
9465 * gdb.base/macscp.exp
9466 * gdb.base/miscexprs.exp
9467 * gdb.base/new-ui-echo.exp
9468 * gdb.base/new-ui-pending-input.exp
9469 * gdb.base/new-ui.exp
9470 * gdb.base/nodebug.exp
9471 * gdb.base/nofield.exp
9472 * gdb.base/offsets.exp
9473 * gdb.base/overlays.exp
9474 * gdb.base/pending.exp
9475 * gdb.base/pointers.exp
9476 * gdb.base/pr11022.exp
9477 * gdb.base/printcmds.exp
9478 * gdb.base/prologue.exp
9479 * gdb.base/ptr-typedef.exp
9480 * gdb.base/realname-expand.exp
9481 * gdb.base/relativedebug.exp
9482 * gdb.base/relocate.exp
9483 * gdb.base/remote.exp
9484 * gdb.base/reread.exp
9485 * gdb.base/return2.exp
9486 * gdb.base/savedregs.exp
9488 * gdb.base/sepdebug.exp
9489 * gdb.base/sepsymtab.exp
9490 * gdb.base/set-inferior-tty.exp
9491 * gdb.base/setshow.exp
9492 * gdb.base/shlib-call.exp
9493 * gdb.base/sigaltstack.exp
9494 * gdb.base/siginfo-addr.exp
9495 * gdb.base/signals.exp
9496 * gdb.base/signull.exp
9497 * gdb.base/sigrepeat.exp
9498 * gdb.base/so-impl-ld.exp
9499 * gdb.base/solib-display.exp
9500 * gdb.base/solib-overlap.exp
9501 * gdb.base/solib-search.exp
9502 * gdb.base/solib-symbol.exp
9503 * gdb.base/structs.exp
9504 * gdb.base/structs2.exp
9505 * gdb.base/symtab-search-order.exp
9506 * gdb.base/twice.exp
9507 * gdb.base/unload.exp
9508 * gdb.base/varargs.exp
9509 * gdb.base/watchpoint-solib.exp
9510 * gdb.base/watchpoint.exp
9511 * gdb.base/whatis.exp
9512 * gdb.base/wrong_frame_bt_full.exp
9513 * gdb.btrace/dlopen.exp
9514 * gdb.cell/ea-standalone.exp
9515 * gdb.cell/ea-test.exp
9516 * gdb.cp/dispcxx.exp
9517 * gdb.cp/gdb2384.exp
9518 * gdb.cp/method2.exp
9519 * gdb.cp/nextoverthrow.exp
9520 * gdb.cp/pr10728.exp
9521 * gdb.disasm/am33.exp
9522 * gdb.disasm/h8300s.exp
9523 * gdb.disasm/mn10300.exp
9524 * gdb.disasm/sh3.exp
9525 * gdb.dwarf2/dw2-dir-file-name.exp
9526 * gdb.fortran/complex.exp
9527 * gdb.fortran/library-module.exp
9528 * gdb.guile/scm-pretty-print.exp
9529 * gdb.guile/scm-symbol.exp
9530 * gdb.guile/scm-type.exp
9531 * gdb.guile/scm-value.exp
9532 * gdb.linespec/linespec.exp
9535 * gdb.mi/mi-breakpoint-changed.exp
9536 * gdb.mi/mi-dprintf-pending.exp
9537 * gdb.mi/mi-dprintf.exp
9538 * gdb.mi/mi-exit-code.exp
9539 * gdb.mi/mi-pending.exp
9540 * gdb.mi/mi-solib.exp
9541 * gdb.mi/new-ui-mi-sync.exp
9542 * gdb.mi/pr11022.exp
9543 * gdb.mi/user-selected-context-sync.exp
9544 * gdb.opt/solib-intra-step.exp
9545 * gdb.python/py-events.exp
9546 * gdb.python/py-finish-breakpoint.exp
9547 * gdb.python/py-mi.exp
9548 * gdb.python/py-prettyprint.exp
9549 * gdb.python/py-shared.exp
9550 * gdb.python/py-symbol.exp
9551 * gdb.python/py-template.exp
9552 * gdb.python/py-type.exp
9553 * gdb.python/py-value.exp
9554 * gdb.reverse/solib-precsave.exp
9555 * gdb.reverse/solib-reverse.exp
9556 * gdb.server/solib-list.exp
9557 * gdb.stabs/weird.exp
9558 * gdb.threads/reconnect-signal.exp
9559 * gdb.threads/stepi-random-signal.exp
9560 * gdb.trace/actions.exp
9562 * gdb.trace/backtrace.exp
9563 * gdb.trace/change-loc.exp
9564 * gdb.trace/deltrace.exp
9565 * gdb.trace/ftrace-lock.exp
9566 * gdb.trace/ftrace.exp
9567 * gdb.trace/infotrace.exp
9568 * gdb.trace/mi-tracepoint-changed.exp
9569 * gdb.trace/packetlen.exp
9570 * gdb.trace/passcount.exp
9571 * gdb.trace/pending.exp
9572 * gdb.trace/range-stepping.exp
9573 * gdb.trace/report.exp
9574 * gdb.trace/stap-trace.exp
9575 * gdb.trace/tfind.exp
9576 * gdb.trace/trace-break.exp
9577 * gdb.trace/trace-condition.exp
9578 * gdb.trace/trace-enable-disable.exp
9579 * gdb.trace/trace-mt.exp
9580 * gdb.trace/tracecmd.exp
9581 * gdb.trace/tspeed.exp
9585 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9587 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
9588 with gdb_test_no_output.
9589 Use command as test name.
9591 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9593 Fix test names starting with uppercase throughout the files.
9595 * gdb.ada/assign_1.exp
9596 * gdb.ada/boolean_expr.exp
9597 * gdb.base/arrayidx.exp
9599 * gdb.base/gcore-buffer-overflow.exp
9600 * gdb.base/testenv.exp
9601 * gdb.compile/compile.exp
9602 * gdb.python/py-framefilter-invalidarg.exp
9603 * gdb.python/py-framefilter.exp
9605 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9607 Fix test names starting with uppercase throughout the files.
9609 * gdb.ada/array_return.exp
9610 * gdb.ada/expr_delims.exp
9611 * gdb.ada/mi_dyn_arr.exp
9612 * gdb.ada/mi_interface.exp
9613 * gdb.ada/mi_var_array.exp
9614 * gdb.ada/watch_arg.exp
9615 * gdb.arch/alpha-step.exp
9616 * gdb.arch/altivec-regs.exp
9617 * gdb.arch/e500-regs.exp
9618 * gdb.arch/powerpc-d128-regs.exp
9619 * gdb.base/arrayidx.exp
9620 * gdb.base/break.exp
9621 * gdb.base/checkpoint.exp
9622 * gdb.base/debug-expr.exp
9623 * gdb.base/dmsym.exp
9624 * gdb.base/radix.exp
9625 * gdb.base/sepdebug.exp
9626 * gdb.base/testenv.exp
9627 * gdb.base/watch_thread_num.exp
9628 * gdb.base/watchpoint-cond-gone.exp
9629 * gdb.cell/break.exp
9630 * gdb.cell/ea-cache.exp
9631 * gdb.compile/compile.exp
9632 * gdb.cp/gdb2495.exp
9633 * gdb.gdb/selftest.exp
9634 * gdb.gdb/xfullpath.exp
9636 * gdb.go/integers.exp
9637 * gdb.objc/basicclass.exp
9638 * gdb.pascal/hello.exp
9639 * gdb.pascal/integers.exp
9640 * gdb.python/py-breakpoint.exp
9641 * gdb.python/py-cmd.exp
9642 * gdb.python/py-linetable.exp
9643 * gdb.python/py-xmethods.exp
9644 * gdb.python/python.exp
9645 * gdb.reverse/consecutive-precsave.exp
9646 * gdb.reverse/finish-precsave.exp
9647 * gdb.reverse/i386-precsave.exp
9648 * gdb.reverse/machinestate-precsave.exp
9649 * gdb.reverse/sigall-precsave.exp
9650 * gdb.reverse/solib-precsave.exp
9651 * gdb.reverse/step-precsave.exp
9652 * gdb.reverse/until-precsave.exp
9653 * gdb.reverse/watch-precsave.exp
9654 * gdb.threads/leader-exit.exp
9655 * gdb.threads/pthreads.exp
9656 * gdb.threads/wp-replication.exp
9657 * gdb.trace/actions.exp
9658 * gdb.trace/mi-tsv-changed.exp
9661 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9663 Fix test names starting with uppercase throughout the files.
9665 * gdb.arch/i386-bp_permanent.exp
9666 * gdb.arch/i386-gnu-cfi.exp
9667 * gdb.base/disasm-end-cu.exp
9668 * gdb.base/macscp.exp
9669 * gdb.base/pending.exp
9670 * gdb.base/watch_thread_num.exp
9671 * gdb.cp/exception.exp
9672 * gdb.cp/gdb2495.exp
9674 * gdb.python/py-evsignal.exp
9675 * gdb.python/python.exp
9676 * gdb.trace/tracecmd.exp
9678 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9680 Fix test names starting with uppercase throughout the files.
9682 * gdb.base/charset.exp
9684 * gdb.base/multi-forks.exp
9685 * gdb.guile/scm-progspace.exp
9686 * gdb.opencl/datatypes.exp
9687 * gdb.python/py-block.exp
9688 * gdb.python/py-function.exp
9689 * gdb.python/py-symbol.exp
9690 * gdb.python/py-symtab.exp
9691 * gdb.python/py-xmethods.exp
9692 * gdb.reverse/break-precsave.exp
9693 * gdb.reverse/break-reverse.exp
9694 * gdb.reverse/consecutive-precsave.exp
9695 * gdb.reverse/consecutive-reverse.exp
9696 * gdb.reverse/finish-precsave.exp
9697 * gdb.reverse/finish-reverse-bkpt.exp
9698 * gdb.reverse/finish-reverse.exp
9699 * gdb.reverse/fstatat-reverse.exp
9700 * gdb.reverse/getresuid-reverse.exp
9701 * gdb.reverse/i386-precsave.exp
9702 * gdb.reverse/i386-reverse.exp
9703 * gdb.reverse/i386-sse-reverse.exp
9704 * gdb.reverse/i387-stack-reverse.exp
9705 * gdb.reverse/insn-reverse.exp
9706 * gdb.reverse/machinestate-precsave.exp
9707 * gdb.reverse/machinestate.exp
9708 * gdb.reverse/next-reverse-bkpt-over-sr.exp
9709 * gdb.reverse/pipe-reverse.exp
9710 * gdb.reverse/readv-reverse.exp
9711 * gdb.reverse/recvmsg-reverse.exp
9712 * gdb.reverse/rerun-prec.exp
9713 * gdb.reverse/s390-mvcle.exp
9714 * gdb.reverse/sigall-precsave.exp
9715 * gdb.reverse/sigall-reverse.exp
9716 * gdb.reverse/solib-precsave.exp
9717 * gdb.reverse/solib-reverse.exp
9718 * gdb.reverse/step-precsave.exp
9719 * gdb.reverse/step-reverse.exp
9720 * gdb.reverse/time-reverse.exp
9721 * gdb.reverse/until-precsave.exp
9722 * gdb.reverse/until-reverse.exp
9723 * gdb.reverse/waitpid-reverse.exp
9724 * gdb.reverse/watch-precsave.exp
9725 * gdb.reverse/watch-reverse.exp
9727 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9729 Fix test names starting with uppercase throughout the files.
9731 * gdb.arch/i386-mpx-simple_segv.exp
9732 * gdb.arch/i386-mpx.exp
9733 * gdb.arch/i386-permbkpt.exp
9734 * gdb.arch/pa-nullify.exp
9735 * gdb.arch/powerpc-d128-regs.exp
9736 * gdb.arch/vsx-regs.exp
9737 * gdb.base/bfp-test.exp
9738 * gdb.base/break.exp
9739 * gdb.base/breakpoint-shadow.exp
9740 * gdb.base/callfuncs.exp
9741 * gdb.base/charset.exp
9742 * gdb.base/commands.exp
9743 * gdb.base/completion.exp
9744 * gdb.base/dfp-test.exp
9746 * gdb.base/ending-run.exp
9748 * gdb.base/expand-psymtabs.exp
9749 * gdb.base/float128.exp
9750 * gdb.base/floatn.exp
9751 * gdb.base/foll-exec-mode.exp
9752 * gdb.base/gdb1056.exp
9753 * gdb.base/gdb11531.exp
9754 * gdb.base/kill-after-signal.exp
9755 * gdb.base/multi-forks.exp
9756 * gdb.base/overlays.exp
9757 * gdb.base/pending.exp
9758 * gdb.base/sepdebug.exp
9759 * gdb.base/testenv.exp
9760 * gdb.base/valgrind-db-attach.exp
9761 * gdb.base/watch_thread_num.exp
9762 * gdb.base/watchpoint-cond-gone.exp
9763 * gdb.base/watchpoint.exp
9764 * gdb.base/watchpoints.exp
9765 * gdb.cp/arg-reference.exp
9766 * gdb.cp/baseenum.exp
9767 * gdb.cp/operator.exp
9769 * gdb.dwarf2/dw2-op-out-param.exp
9770 * gdb.dwarf2/dw2-reg-undefined.exp
9773 * gdb.go/integers.exp
9774 * gdb.go/methods.exp
9775 * gdb.go/package.exp
9776 * gdb.guile/scm-parameter.exp
9777 * gdb.guile/scm-progspace.exp
9778 * gdb.guile/scm-value.exp
9779 * gdb.mi/mi-pending.exp
9780 * gdb.mi/user-selected-context-sync.exp
9781 * gdb.multi/multi-attach.exp
9782 * gdb.multi/tids.exp
9783 * gdb.opt/clobbered-registers-O2.exp
9784 * gdb.pascal/floats.exp
9785 * gdb.pascal/integers.exp
9786 * gdb.python/py-block.exp
9787 * gdb.python/py-events.exp
9788 * gdb.python/py-parameter.exp
9789 * gdb.python/py-symbol.exp
9790 * gdb.python/py-symtab.exp
9791 * gdb.python/py-type.exp
9792 * gdb.python/py-value.exp
9793 * gdb.python/py-xmethods.exp
9794 * gdb.python/python.exp
9795 * gdb.reverse/break-precsave.exp
9796 * gdb.reverse/consecutive-precsave.exp
9797 * gdb.reverse/finish-precsave.exp
9798 * gdb.reverse/i386-precsave.exp
9799 * gdb.reverse/machinestate-precsave.exp
9800 * gdb.reverse/sigall-precsave.exp
9801 * gdb.reverse/solib-precsave.exp
9802 * gdb.reverse/step-precsave.exp
9803 * gdb.reverse/until-precsave.exp
9804 * gdb.reverse/watch-precsave.exp
9805 * gdb.server/ext-attach.exp
9806 * gdb.server/ext-restart.exp
9807 * gdb.server/ext-run.exp
9808 * gdb.server/ext-wrapper.exp
9809 * gdb.stabs/gdb11479.exp
9810 * gdb.stabs/weird.exp
9811 * gdb.threads/attach-many-short-lived-threads.exp
9812 * gdb.threads/kill.exp
9813 * gdb.threads/watchpoint-fork.exp
9815 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
9817 Fix test names starting with uppercase throughout all the files below.
9819 * gdb.ada/array_return.exp
9820 * gdb.ada/catch_ex.exp
9821 * gdb.ada/info_exc.exp
9822 * gdb.ada/mi_catch_ex.exp
9823 * gdb.ada/mi_dyn_arr.exp
9824 * gdb.ada/mi_ex_cond.exp
9825 * gdb.ada/mi_exc_info.exp
9826 * gdb.ada/mi_interface.exp
9827 * gdb.ada/mi_task_arg.exp
9828 * gdb.ada/mi_task_info.exp
9829 * gdb.ada/mi_var_array.exp
9830 * gdb.arch/alpha-step.exp
9831 * gdb.arch/amd64-disp-step.exp
9832 * gdb.arch/arm-disp-step.exp
9833 * gdb.arch/disp-step-insn-reloc.exp
9834 * gdb.arch/e500-prologue.exp
9835 * gdb.arch/ftrace-insn-reloc.exp
9836 * gdb.arch/gdb1558.exp
9837 * gdb.arch/i386-bp_permanent.exp
9838 * gdb.arch/i386-disp-step.exp
9839 * gdb.arch/i386-float.exp
9840 * gdb.arch/i386-gnu-cfi.exp
9841 * gdb.arch/ia64-breakpoint-shadow.exp
9842 * gdb.arch/mips16-thunks.exp
9843 * gdb.arch/pa-nullify.exp
9844 * gdb.arch/powerpc-aix-prologue.exp
9845 * gdb.arch/powerpc-power.exp
9846 * gdb.arch/ppc-dfp.exp
9847 * gdb.arch/s390-tdbregs.exp
9848 * gdb.arch/spu-info.exp
9849 * gdb.arch/spu-ls.exp
9850 * gdb.arch/thumb-bx-pc.exp
9851 * gdb.base/advance.exp
9852 * gdb.base/annota-input-while-running.exp
9853 * gdb.base/arrayidx.exp
9854 * gdb.base/asmlabel.exp
9855 * gdb.base/async.exp
9856 * gdb.base/attach-wait-input.exp
9857 * gdb.base/auto-connect-native-target.exp
9858 * gdb.base/batch-preserve-term-settings.exp
9859 * gdb.base/bfp-test.exp
9860 * gdb.base/bigcore.exp
9861 * gdb.base/bp-permanent.exp
9862 * gdb.base/break-always.exp
9863 * gdb.base/break-fun-addr.exp
9864 * gdb.base/break-idempotent.exp
9865 * gdb.base/break-main-file-remove-fail.exp
9866 * gdb.base/break-probes.exp
9867 * gdb.base/break-unload-file.exp
9868 * gdb.base/break.exp
9869 * gdb.base/call-ar-st.exp
9870 * gdb.base/call-rt-st.exp
9871 * gdb.base/call-sc.exp
9872 * gdb.base/call-signal-resume.exp
9873 * gdb.base/call-strs.exp
9874 * gdb.base/callexit.exp
9875 * gdb.base/callfuncs.exp
9876 * gdb.base/catch-gdb-caused-signals.exp
9877 * gdb.base/catch-signal-siginfo-cond.exp
9878 * gdb.base/catch-syscall.exp
9879 * gdb.base/compare-sections.exp
9880 * gdb.base/cond-eval-mode.exp
9881 * gdb.base/condbreak-call-false.exp
9882 * gdb.base/consecutive-step-over.exp
9883 * gdb.base/cursal.exp
9884 * gdb.base/disabled-location.exp
9885 * gdb.base/disasm-end-cu.exp
9886 * gdb.base/display.exp
9887 * gdb.base/double-prompt-target-event-error.exp
9888 * gdb.base/dprintf-bp-same-addr.exp
9889 * gdb.base/dprintf-detach.exp
9890 * gdb.base/dprintf-next.exp
9891 * gdb.base/dprintf-non-stop.exp
9892 * gdb.base/dprintf-pending.exp
9893 * gdb.base/dso2dso.exp
9894 * gdb.base/ending-run.exp
9895 * gdb.base/enum_cond.exp
9896 * gdb.base/examine-backward.exp
9897 * gdb.base/exe-lock.exp
9898 * gdb.base/exec-invalid-sysroot.exp
9899 * gdb.base/execl-update-breakpoints.exp
9900 * gdb.base/execution-termios.exp
9901 * gdb.base/fileio.exp
9902 * gdb.base/fixsection.exp
9903 * gdb.base/foll-exec-mode.exp
9904 * gdb.base/foll-exec.exp
9905 * gdb.base/fork-running-state.exp
9906 * gdb.base/frame-args.exp
9907 * gdb.base/fullpath-expand.exp
9908 * gdb.base/func-ptr.exp
9909 * gdb.base/gcore-relro-pie.exp
9910 * gdb.base/gdb1090.exp
9911 * gdb.base/gdb1555.exp
9912 * gdb.base/global-var-nested-by-dso.exp
9913 * gdb.base/gnu-ifunc.exp
9914 * gdb.base/hbreak-in-shr-unsupported.exp
9915 * gdb.base/hbreak-unmapped.exp
9916 * gdb.base/hook-stop.exp
9917 * gdb.base/infcall-input.exp
9918 * gdb.base/info-fun.exp
9919 * gdb.base/info-shared.exp
9920 * gdb.base/interrupt-noterm.exp
9921 * gdb.base/jit-so.exp
9923 * gdb.base/line-symtabs.exp
9925 * gdb.base/longjmp.exp
9926 * gdb.base/macscp.exp
9927 * gdb.base/max-value-size.exp
9928 * gdb.base/nodebug.exp
9929 * gdb.base/nofield.exp
9930 * gdb.base/overlays.exp
9931 * gdb.base/paginate-after-ctrl-c-running.exp
9932 * gdb.base/paginate-bg-execution.exp
9933 * gdb.base/paginate-inferior-exit.exp
9934 * gdb.base/pending.exp
9935 * gdb.base/pr11022.exp
9936 * gdb.base/printcmds.exp
9937 * gdb.base/ptr-typedef.exp
9938 * gdb.base/ptype.exp
9939 * gdb.base/randomize.exp
9940 * gdb.base/range-stepping.exp
9941 * gdb.base/realname-expand.exp
9942 * gdb.base/relativedebug.exp
9943 * gdb.base/remote.exp
9944 * gdb.base/savedregs.exp
9945 * gdb.base/sepdebug.exp
9946 * gdb.base/set-noassign.exp
9947 * gdb.base/shlib-call.exp
9948 * gdb.base/shreloc.exp
9949 * gdb.base/sigaltstack.exp
9950 * gdb.base/sigbpt.exp
9951 * gdb.base/siginfo-addr.exp
9952 * gdb.base/siginfo-obj.exp
9953 * gdb.base/siginfo-thread.exp
9954 * gdb.base/signest.exp
9955 * gdb.base/signull.exp
9956 * gdb.base/sigrepeat.exp
9958 * gdb.base/so-impl-ld.exp
9959 * gdb.base/solib-corrupted.exp
9960 * gdb.base/solib-disc.exp
9961 * gdb.base/solib-display.exp
9962 * gdb.base/solib-overlap.exp
9963 * gdb.base/solib-search.exp
9964 * gdb.base/solib-symbol.exp
9965 * gdb.base/source-execution.exp
9966 * gdb.base/sss-bp-on-user-bp-2.exp
9967 * gdb.base/sss-bp-on-user-bp.exp
9968 * gdb.base/stack-checking.exp
9969 * gdb.base/stale-infcall.exp
9970 * gdb.base/step-break.exp
9971 * gdb.base/step-line.exp
9972 * gdb.base/step-over-exit.exp
9973 * gdb.base/step-test.exp
9974 * gdb.base/structs.exp
9975 * gdb.base/sym-file.exp
9976 * gdb.base/symtab-search-order.exp
9978 * gdb.base/type-opaque.exp
9979 * gdb.base/unload.exp
9980 * gdb.base/until-nodebug.exp
9981 * gdb.base/until.exp
9982 * gdb.base/unwindonsignal.exp
9983 * gdb.base/watch-cond.exp
9984 * gdb.base/watch-non-mem.exp
9985 * gdb.base/watch_thread_num.exp
9986 * gdb.base/watchpoint-reuse-slot.exp
9987 * gdb.base/watchpoint-solib.exp
9988 * gdb.base/watchpoint.exp
9989 * gdb.btrace/dlopen.exp
9991 * gdb.cell/break.exp
9995 * gdb.cell/dwarfaddr.exp
9996 * gdb.cell/ea-cache.exp
9997 * gdb.cell/ea-standalone.exp
9998 * gdb.cell/ea-test.exp
9999 * gdb.cell/f-regs.exp
10000 * gdb.cell/fork.exp
10001 * gdb.cell/gcore.exp
10002 * gdb.cell/mem-access.exp
10003 * gdb.cell/ptype.exp
10004 * gdb.cell/registers.exp
10005 * gdb.cell/sizeof.exp
10006 * gdb.cell/solib-symbol.exp
10007 * gdb.cell/solib.exp
10008 * gdb.compile/compile-tls.exp
10009 * gdb.cp/exception.exp
10010 * gdb.cp/gdb2495.exp
10012 * gdb.cp/mb-inline.exp
10013 * gdb.cp/mb-templates.exp
10014 * gdb.cp/pr10687.exp
10015 * gdb.cp/pr9167.exp
10016 * gdb.cp/scope-err.exp
10017 * gdb.cp/templates.exp
10018 * gdb.cp/virtfunc.exp
10019 * gdb.dwarf2/dw2-dir-file-name.exp
10020 * gdb.dwarf2/dw2-single-line-discriminators.exp
10021 * gdb.fortran/complex.exp
10022 * gdb.fortran/library-module.exp
10023 * gdb.guile/guile.exp
10024 * gdb.guile/scm-cmd.exp
10025 * gdb.guile/scm-frame-inline.exp
10026 * gdb.guile/scm-objfile.exp
10027 * gdb.guile/scm-pretty-print.exp
10028 * gdb.guile/scm-symbol.exp
10029 * gdb.guile/scm-type.exp
10030 * gdb.guile/scm-value.exp
10031 * gdb.linespec/keywords.exp
10032 * gdb.linespec/ls-errs.exp
10033 * gdb.linespec/macro-relative.exp
10034 * gdb.linespec/thread.exp
10035 * gdb.mi/mi-breakpoint-changed.exp
10036 * gdb.mi/mi-dprintf-pending.exp
10037 * gdb.mi/mi-fullname-deleted.exp
10038 * gdb.mi/mi-logging.exp
10039 * gdb.mi/mi-pending.exp
10040 * gdb.mi/mi-solib.exp
10041 * gdb.mi/new-ui-mi-sync.exp
10042 * gdb.mi/user-selected-context-sync.exp
10043 * gdb.multi/dummy-frame-restore.exp
10044 * gdb.multi/multi-arch-exec.exp
10045 * gdb.multi/remove-inferiors.exp
10046 * gdb.multi/watchpoint-multi-exit.exp
10047 * gdb.opt/solib-intra-step.exp
10048 * gdb.perf/backtrace.exp
10049 * gdb.perf/single-step.exp
10050 * gdb.perf/skip-command.exp
10051 * gdb.perf/skip-prologue.exp
10052 * gdb.perf/solib.exp
10053 * gdb.python/lib-types.exp
10054 * gdb.python/py-as-string.exp
10055 * gdb.python/py-bad-printers.exp
10056 * gdb.python/py-block.exp
10057 * gdb.python/py-breakpoint.exp
10058 * gdb.python/py-cmd.exp
10059 * gdb.python/py-events.exp
10060 * gdb.python/py-evthreads.exp
10061 * gdb.python/py-finish-breakpoint.exp
10062 * gdb.python/py-finish-breakpoint2.exp
10063 * gdb.python/py-frame-inline.exp
10064 * gdb.python/py-frame.exp
10065 * gdb.python/py-inferior.exp
10066 * gdb.python/py-infthread.exp
10067 * gdb.python/py-mi.exp
10068 * gdb.python/py-objfile.exp
10069 * gdb.python/py-pp-maint.exp
10070 * gdb.python/py-pp-registration.exp
10071 * gdb.python/py-prettyprint.exp
10072 * gdb.python/py-recurse-unwind.exp
10073 * gdb.python/py-shared.exp
10074 * gdb.python/py-symbol.exp
10075 * gdb.python/py-symtab.exp
10076 * gdb.python/py-template.exp
10077 * gdb.python/py-type.exp
10078 * gdb.python/py-unwind-maint.exp
10079 * gdb.python/py-unwind.exp
10080 * gdb.python/py-value.exp
10081 * gdb.python/python.exp
10082 * gdb.reverse/finish-reverse-bkpt.exp
10083 * gdb.reverse/insn-reverse.exp
10084 * gdb.reverse/next-reverse-bkpt-over-sr.exp
10085 * gdb.reverse/solib-precsave.exp
10086 * gdb.reverse/solib-reverse.exp
10087 * gdb.stabs/gdb11479.exp
10088 * gdb.stabs/weird.exp
10089 * gdb.threads/fork-child-threads.exp
10090 * gdb.threads/fork-plus-threads.exp
10091 * gdb.threads/fork-thread-pending.exp
10092 * gdb.threads/forking-threads-plus-breakpoint.exp
10093 * gdb.threads/hand-call-in-threads.exp
10094 * gdb.threads/interrupted-hand-call.exp
10095 * gdb.threads/linux-dp.exp
10096 * gdb.threads/local-watch-wrong-thread.exp
10097 * gdb.threads/next-while-other-thread-longjmps.exp
10098 * gdb.threads/non-ldr-exit.exp
10099 * gdb.threads/pending-step.exp
10100 * gdb.threads/print-threads.exp
10101 * gdb.threads/process-dies-while-detaching.exp
10102 * gdb.threads/process-dies-while-handling-bp.exp
10103 * gdb.threads/pthreads.exp
10104 * gdb.threads/queue-signal.exp
10105 * gdb.threads/reconnect-signal.exp
10106 * gdb.threads/signal-command-handle-nopass.exp
10107 * gdb.threads/signal-command-multiple-signals-pending.exp
10108 * gdb.threads/signal-delivered-right-thread.exp
10109 * gdb.threads/signal-sigtrap.exp
10110 * gdb.threads/sigthread.exp
10111 * gdb.threads/staticthreads.exp
10112 * gdb.threads/stepi-random-signal.exp
10113 * gdb.threads/thread-unwindonsignal.exp
10114 * gdb.threads/thread_check.exp
10115 * gdb.threads/thread_events.exp
10116 * gdb.threads/tid-reuse.exp
10117 * gdb.threads/tls-nodebug.exp
10118 * gdb.threads/tls-shared.exp
10119 * gdb.threads/tls-so_extern.exp
10120 * gdb.threads/tls.exp
10121 * gdb.threads/wp-replication.exp
10122 * gdb.trace/actions-changed.exp
10123 * gdb.trace/actions.exp
10124 * gdb.trace/backtrace.exp
10125 * gdb.trace/change-loc.exp
10126 * gdb.trace/collection.exp
10127 * gdb.trace/deltrace.exp
10128 * gdb.trace/disconnected-tracing.exp
10129 * gdb.trace/entry-values.exp
10130 * gdb.trace/ftrace-lock.exp
10131 * gdb.trace/ftrace.exp
10132 * gdb.trace/infotrace.exp
10133 * gdb.trace/mi-trace-frame-collected.exp
10134 * gdb.trace/mi-trace-unavailable.exp
10135 * gdb.trace/mi-traceframe-changed.exp
10136 * gdb.trace/mi-tracepoint-changed.exp
10137 * gdb.trace/mi-tsv-changed.exp
10138 * gdb.trace/no-attach-trace.exp
10139 * gdb.trace/packetlen.exp
10140 * gdb.trace/passc-dyn.exp
10141 * gdb.trace/passcount.exp
10142 * gdb.trace/pending.exp
10143 * gdb.trace/pr16508.exp
10144 * gdb.trace/qtro.exp
10145 * gdb.trace/range-stepping.exp
10146 * gdb.trace/read-memory.exp
10147 * gdb.trace/report.exp
10148 * gdb.trace/save-trace.exp
10149 * gdb.trace/signal.exp
10150 * gdb.trace/stap-trace.exp
10151 * gdb.trace/status-stop.exp
10152 * gdb.trace/strace.exp
10153 * gdb.trace/tfile.exp
10154 * gdb.trace/tfind.exp
10155 * gdb.trace/trace-break.exp
10156 * gdb.trace/trace-condition.exp
10157 * gdb.trace/trace-enable-disable.exp
10158 * gdb.trace/trace-mt.exp
10159 * gdb.trace/tracecmd.exp
10160 * gdb.trace/tracefile-pseudo-reg.exp
10161 * gdb.trace/tspeed.exp
10162 * gdb.trace/tstatus.exp
10163 * gdb.trace/tsv.exp
10164 * gdb.trace/unavailable.exp
10165 * gdb.trace/while-dyn.exp
10166 * gdb.trace/while-stepping.exp
10167 * lib/gdb-guile.exp
10169 * lib/mi-support.exp
10172 * lib/prelink-support.exp
10173 * lib/selftest-support.exp
10175 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
10177 * Makefile.in: Include disable-implicit-rules.mk.
10179 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
10181 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
10182 non-byte-aligned bit fields.
10184 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
10187 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
10188 respects the DW_AT_data_bit_offset attribute.
10190 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
10192 * gdb.base/default.exp: Fix output of "set language".
10194 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
10196 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
10197 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
10199 * configure.ac: Remove checks for the make program.
10200 * configure: Re-generate.
10202 2016-11-16 Kevin Buettner <kevinb@redhat.com>
10204 * gdb.python/py-recurse-unwind.c (main): Add loop.
10205 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
10206 to read_register() and gdb.parse_and_eval(). Make each code
10207 call a separate case that can be individually tested.
10208 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
10209 proc. Call cont_and_backtrace for each of the code paths that
10210 we want to test in the unwinder.
10212 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
10214 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
10215 the definition of struct S.
10217 2016-11-11 Catherine Moore <clm@codesourcery.com>
10219 * gdb.base/dump.exp: Identify verilog format dump tests as such.
10221 2016-11-09 Pedro Alves <palves@redhat.com>
10223 * gdb.base/commands.exp (runto_or_return): New procedure.
10224 (gdbvar_simple_if_test, gdbvar_simple_while_test)
10225 (gdbvar_complex_if_while_test, progvar_simple_if_test)
10226 (progvar_simple_while_test, progvar_complex_if_while_test)
10227 (if_while_breakpoint_command_test)
10228 (infrun_breakpoint_command_test, breakpoint_command_test)
10229 (user_defined_command_test, watchpoint_command_test)
10230 (test_command_prompt_position, redefine_hook_test)
10231 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
10232 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
10233 multi_line_input and multi_line. Remove gdb_expect and
10234 gdb_stop_suppressing_tests uses.
10235 * lib/gdb.exp (valnum_re): New global.
10236 (multi_line_input): New procedure.
10238 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
10240 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
10242 (test_setup): Define with proc_with_prefix.
10243 (test_cli_inferior): Likewise.
10244 (test_cli_thread): Likewise.
10245 (test_cli_frame): Likewise.
10246 (test_cli_select_frame): Likewise.
10247 (test_cli_up_down): Likewise.
10248 (test_mi_thread_select): Likewise.
10249 (test_mi_stack_select_frame): Likewise.
10250 (test_cli_in_mi_inferior): Likewise.
10251 (test_cli_in_mi_thread): Likewise.
10252 (test_cli_in_mi_frame): Likewise.
10253 (top level): Do not use with_test_prefix_procname.
10255 2016-11-09 Pedro Alves <palves@redhat.com>
10257 * gdb.base/commands.exp (gdbvar_simple_if_test)
10258 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
10259 (progvar_simple_if_test, progvar_simple_while_test)
10260 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
10261 (infrun_breakpoint_command_test, breakpoint_command_test)
10262 (user_defined_command_test, watchpoint_command_test)
10263 (test_command_prompt_position, deprecated_command_test)
10264 (bp_deleted_in_command, temporary_breakpoint_commands)
10265 (stray_arg0_test, source_file_with_indented_comment)
10266 (recursive_source_test, if_commands_test)
10267 (error_clears_commands_left, redefine_hook_test)
10268 (redefine_backtrace_test): Use proc_with_prefix.
10269 * lib/gdb.exp (proc_with_prefix): New proc.
10271 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
10273 * gdb.base/tui-layout.c: New file.
10274 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
10275 disassembly window contains very long lines.
10277 2016-11-08 Tom Tromey <tom@tromey.com>
10279 * gdb.python/py-value.exp (test_value_creation): Make "long" test
10280 depend on Python 2.
10282 2016-11-08 Tom Tromey <tom@tromey.com>
10284 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
10287 2016-10-29 Manish Goregaokar <manish@mozilla.com>
10289 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
10291 2016-10-27 Manish Goregaokar <manish@mozilla.com>
10293 * gdb.rust/simple.rs: Add test for univariant enums without
10294 discriminants and for encoded struct-like enums.
10296 2016-10-28 Pedro Alves <palves@redhat.com>
10298 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
10299 gdb_test_multiple, tighten regexps and match symtabs and line
10300 tables incrementally.
10302 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
10304 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
10307 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
10309 * gdb.base/exec-invalid-sysroot.exp: New file.
10311 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10313 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
10315 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10317 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
10319 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
10321 * gdb.base/killed-outside.exp: Remove $options from a call to
10322 `prepare_for_testing'.
10324 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
10326 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
10327 Change test message.
10329 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
10331 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
10334 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
10336 * gdb.trace/mi-trace-save.exp: New file.
10338 2016-10-13 Yao Qi <yao.qi@linaro.org>
10340 * gdb.base/code_elim.exp (get_var_address): Remove.
10341 * gdb.base/relocate.exp: Likewise.
10342 * gdb.base/shreloc.exp: Likewise.
10343 * lib/gdb.exp (get_var_address): New.
10345 2016-10-13 Yao Qi <yao.qi@linaro.org>
10347 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
10348 floating point tests if $skip_float_test is false.
10350 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
10352 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
10353 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
10355 Add 1 to argc so we guarantee distinct initial/modified argc values.
10357 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10359 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
10361 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10363 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
10364 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
10365 * gdb.arch/vsx-regs.exp: Likewise.
10367 2016-10-07 Yao Qi <yao.qi@linaro.org>
10369 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
10371 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
10373 * gdb.python/python.exp: Test decode_line("*0").
10375 2016-10-06 Doug Evans <dje@google.com>
10377 * gdb.python/py-value.exp (test_value_creation): Add test for large
10378 unsigned 64-bit value.
10380 2016-10-06 Tom Tromey <tom@tromey.com>
10382 * gdb.compile/compile.exp: Change java tests to rust.
10383 * gdb.base/setshow.exp: Change java tests to rust.
10384 * gdb.base/default.exp: Remove java from language list.
10385 * README (Examples): Update language example.
10386 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
10388 * lib/gdb.exp (skip_java_tests): Remove.
10389 * lib/java.exp: Remove.
10390 * gdb.java: Remove.
10392 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
10394 * gdb.arch/mips-fcr.exp: New test.
10395 * gdb.arch/mips-fcr.c: Source for the new test.
10397 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
10399 * gdb.base/solib-disc.exp: Use `standard_output_file'
10402 2016-10-06 Pedro Alves <palves@redhat.com>
10404 * gdb.base/jit-simple-dl.c: New file.
10405 * gdb.base/jit-simple-jit.c: New file, factored out from ...
10406 * gdb.base/jit-simple.c: ... this.
10407 * gdb.base/jit-simple.exp (jit_run): Delete.
10408 (build_jit): New proc.
10409 (jit_test_reread): Recompile either the main program or the shared
10410 library, depending on what is being tested. Skip changing address
10411 if caller wants to. Compare before/after addresses. If testing
10412 standalone, explicitly load the binary. Test "maint info
10414 (top level): Add "standalone vs shared lib" and "change address"
10415 vs "same address" axes.
10417 2016-10-06 Pedro Alves <palves@redhat.com>
10419 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
10422 (jit_test_reread): Use with_test_prefix. Reload the main binary
10423 explicitly. Compare the before/after addresses of the JIT
10426 2016-08-15 Doug Evans <dje@google.com>
10428 * gdb.xml/extra-regs.xml: Update, end field now required, default type
10429 for single bitfields is bool.
10430 * gdb.xml/tdesc-regs.exp: Ditto.
10432 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10434 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
10436 2016-10-05 Yao Qi <yao.qi@linaro.org>
10438 * lib/gdb.exp (support_complex_tests): Return zero if
10439 gdb_skip_float_test return true.
10441 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
10442 Simon Marchi <simon.marchi@ericsson.com>
10445 * gdb.mi/user-selected-context-sync.exp: New file.
10446 * gdb.mi/user-selected-context-sync.c: New file.
10448 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
10449 Simon Marchi <simon.marchi@ericsson.com>
10452 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
10453 =thread-select-event check.
10455 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
10457 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
10458 the compulsory L operand changes.
10459 * gdb.arch/powerpc-power.s: Likewise.
10461 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10463 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
10464 * gdb.base/jit-attach-pie.c: New file.
10465 * gdb.base/jit-attach-pie.exp: New file.
10467 2016-09-28 Pedro Alves <palves@redhat.com>
10469 * gdb.base/infcall-input.c: New file.
10470 * gdb.base/infcall-input.exp: New file.
10472 2016-09-22 Yao Qi <yao.qi@linaro.org>
10474 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
10475 (gdb_exit): Rename it to ...
10476 (gdbserver_gdb_exit): ... Close GDBserver.
10477 (gdb_exit): New proc, call gdbserver_gdb_exit.
10478 (mi_gdb_exit): Likewise.
10480 2016-09-22 Yao Qi <yao.qi@linaro.org>
10482 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
10484 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
10485 Remove duplication.
10487 2016-09-22 Yao Qi <yao.qi@linaro.org>
10489 * lib/gdbserver-support.exp: Check the existence of
10490 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
10492 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
10494 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
10496 2016-09-21 Tom Tromey <tom@tromey.com>
10499 * gdb.base/quit.exp: New file.
10501 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
10503 * .gitignore: New file.
10505 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
10507 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
10510 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10512 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
10514 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10516 * gdb.cp/casts.cc (decltype): Move it ...
10517 (main): ... with its call to ...
10518 * gdb.cp/casts03.cc: ... a new file.
10519 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
10521 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10523 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
10525 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
10527 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
10528 and sync up the test with tests in gas/testsuite/gas/ppc.
10529 * gdb.arch/powerpc-power.exp: Likewise.
10531 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10533 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
10535 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
10536 Jan Kratochvil <jan.kratochvil@redhat.com>
10538 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
10539 make m1's definition to be different from m2's. Use 'dummy' as an
10540 argument for probe 'two'.
10542 2016-09-10 Jon Beniston <jon@beniston.com>
10544 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
10547 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
10549 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
10550 variable declaration.
10551 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
10552 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
10553 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
10554 received HWCAP as its argument.
10556 2016-09-06 Pedro Alves <palves@redhat.com>
10558 * gdb.base/new-ui-pending-input.c: New file.
10559 * gdb.base/new-ui-pending-input.exp: New file.
10560 * gdb.exp (clear_gdb_spawn_id): New procedure.
10561 (with_spawn_id): Check whether gdb_spawn_id exists before
10562 referencing it. If gdb_spawn_id didn't exist on entry, clear it
10565 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
10567 * gdb.base/float128.c: New file.
10568 * gdb.base/float128.exp: Likewise.
10569 * gdb.base/floatn.c: Likewise.
10570 * gdb.base/floatn.exp: Likewise.
10572 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
10574 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
10576 2016-09-05 Pedro Alves <palves@redhat.com>
10579 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
10580 unwinders are immediately called as side effect of "source" or
10581 "disable unwinder" commands.
10582 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
10584 2016-09-02 Yao Qi <yao.qi@linaro.org>
10586 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
10587 is true and $type is "float" or "double".
10589 2016-09-02 Yao Qi <yao.qi@linaro.org>
10591 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
10593 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
10594 * gdb.base/call-rt-st.exp: Likewise.
10595 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
10596 return value instead of gdb,skip_float_test.
10597 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
10598 (do_function_calls): Use its return value instead of
10599 gdb,skip_float_test.
10600 * gdb.base/finish.exp: Likewise.
10601 * gdb.base/funcargs.exp: Likewise.
10602 * gdb.base/return.exp: Likewise.
10603 * gdb.base/return2.exp: Likewise.
10604 * gdb.base/varargs.exp: Likewise.
10605 * lib/gdb.exp (gdb_skip_float_test): Change it to
10606 gdb_caching_proc. Detect the broken ptrace on arm-linux.
10608 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
10610 * gdb.multi/tids.exp: Test "thread apply all".
10612 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10614 * gdb.base/default.exp (tty): Remove.
10616 2016-08-24 Kevin Buettner <kevinb@redhat.com>
10618 * gdb.python/py-recurse-unwind.c: New file.
10619 * gdb.python/py-recurse-unwind.py: New file.
10620 * gdb.python/py-recurse-unwind.exp: New file.
10622 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
10624 * gdb.base/set-inferior-tty.exp: New file.
10625 * gdb.base/set-inferior-tty.c: New file.
10627 2016-08-23 Pedro Alves <palves@redhat.com>
10630 * gdb.base/new-ui-echo.c: New file.
10631 * gdb.base/new-ui-echo.exp: New file.
10633 2016-08-23 Yao Qi <yao.qi@linaro.org>
10635 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
10637 * gdb.server/connect-without-multi-process.exp (do_test):
10640 2016-08-23 Yao Qi <yao.qi@linaro.org>
10642 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
10643 standalone_txt. Delete gdb_txt and standalone_txt on host
10644 and target. Spawn the binary on target. Copy files from
10647 2016-08-22 Pedro Alves <palves@redhat.com>
10650 * gdb.base/vdso-warning.exp: Test core dumps too. Use
10651 with_test_prefix. Factor out bits to ...
10652 (test_no_vdso): ... this new procedure.
10654 2016-08-19 Carl Love <cel@us.ibm.com>
10656 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
10657 maintaining separate logic for constructing the output path.
10658 * gdb.arch/powerpc-d128-regs.exp: Likewise.
10659 * gdb.arch/ppc-dfp.exp: Likewise.
10660 * gdb.arch/ppc-fp.exp: Likewise.
10661 * gdb.arch/vsx-regs.exp: Likewise.
10662 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
10663 binprefix for generating the additional binary files.
10665 2016-08-19 Pedro Alves <palves@redhat.com>
10667 * gdb.trace/mi-trace-frame-collected.exp
10668 (test_trace_frame_collected): On x32, expect two registers.
10670 2016-08-18 Carl Love <cel@us.ibm.com>
10672 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
10673 and sync up the test with tests in gas/testsuite/gas/ppc.
10674 * gdb.arch/powerpc-power.exp: Likewise.
10676 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
10678 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
10679 expected error message.
10681 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
10683 * gdb.multi/remove-inferiors.exp: New file.
10684 * gdb.multi/remove-inferiors.c: New file.
10686 2016-08-12 Yao Qi <yao.qi@linaro.org>
10688 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
10691 2016-08-10 Pedro Alves <palves@redhat.com>
10694 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
10697 2016-08-09 Pedro Alves <palves@redhat.com>
10698 Simon Marchi <simon.marchi@ericsson.com>
10701 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
10702 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
10704 2016-08-09 Pedro Alves <palves@redhat.com>
10707 * gdb.mi/mi-cmd-error.exp: New file.
10709 2016-08-09 Pedro Alves <palves@redhat.com>
10712 * gdb.base/signals-state-child.c: New file.
10713 * gdb.base/signals-state-child.exp: New file.
10714 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
10716 2016-08-09 Pedro Alves <palves@redhat.com>
10718 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
10720 2016-08-03 Tom Tromey <tom@tromey.com>
10723 * gdb.python/py-frame-inline.exp: Add Frame.function test.
10725 2016-08-01 Yao Qi <yao.qi@linaro.org>
10727 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
10728 variable mode to "multi-process" if $multi_process is 1, otherwise
10729 set it to "single-process".
10731 2016-08-01 Yao Qi <yao.qi@linaro.org>
10733 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
10734 * gdb.cp/cpexprs.exp: Likewise.
10735 * gdb.cp/m-static.exp: Likewise.
10737 2016-07-26 Tom Tromey <tom@tromey.com>
10740 * gdb.threads/tls.exp (check_thread_local): Add python symbol
10743 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
10745 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
10746 selecting assembly source files.
10747 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
10748 assembly source files.
10749 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
10750 assembly source files.
10751 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
10752 selecting assembly source files.
10754 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
10756 * gdb.base/new-ui.exp (do_test_invalid_args): New
10759 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
10761 * gdb.btrace/reconnect.c: New file.
10762 * gdb.btrace/reconnect.exp: New file.
10764 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
10766 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
10767 to test_catch_syscall_group.
10768 (test_catch_syscall_group): New.
10770 2016-07-21 Tom Tromey <tom@tromey.com>
10772 * gdb.rust/simple.rs (main): Use empty struct expression.
10773 * gdb.rust/simple.exp: Add tests for empty struct expression.
10775 2016-07-21 Yao Qi <yao.qi@linaro.org>
10777 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
10778 if gdb_skip_xml_test is true on some targets.
10780 2016-07-21 Yao Qi <yao.qi@linaro.org>
10782 * gdb.server/solib-list.exp: Unset last_loaded_file.
10784 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10786 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
10787 "step into captured_main (args)".
10789 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10791 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
10793 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10795 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
10797 2016-07-19 Pedro Alves <palves@redhat.com>
10799 * gdb.opt/inline-break.exp: Remove optimize=-O2.
10800 * gdb.opt/inline-bt.exp: Likewise.
10801 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
10802 additional_flags=-Winline.
10803 * gdb.opt/inline-locals.exp: Likewise.
10804 * gdb.opt/inline-markers.c (ATTR): Define.
10805 (inlined_fn): Use it.
10807 2016-07-19 Yao Qi <yao.qi@linaro.org>
10809 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
10810 (test_with_self): Remove some code. Remove argument executable.
10811 (top-level): Use do_self_tests.
10813 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
10814 Don Breazeal <donb@codesourcery.com>
10816 * gdb.base/maint.exp: Escape paths used in regular expressions.
10817 * gdb.stabs/weird.exp: Likewise.
10819 2016-07-13 Tom Tromey <tom@tromey.com>
10821 PR python/15620, PR python/18620:
10822 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
10823 (test_bkpt_events): New procs.
10825 2016-07-13 Tom Tromey <tom@tromey.com>
10828 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
10830 (test_watchpoints): Likewise.
10831 (test_bkpt_pending): New proc.
10833 2016-07-13 Tom Tromey <tom@tromey.com>
10836 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
10839 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10841 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
10842 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
10843 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
10845 (g): Rename g_end_lbl to g_label.
10846 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
10847 low_pc and high_pc.
10848 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
10850 2016-07-12 Tom Tromey <tom@tromey.com>
10853 * gdb.python/py-unwind-maint.exp: Update tests.
10855 2016-07-12 Yao Qi <yao.qi@linaro.org>
10857 * lib/selftest-support.exp (selftest_setup): Match the output
10858 when captured_main is inlined.
10860 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
10862 * gdb.fortran/derived-types.exp (result_line, result_line_2):
10864 (print this%a, print this%b, print this): New tests.
10865 * gdb.fortran/derived-types.f90 (this): New object and
10868 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
10870 * gdb.ada/arraydim.exp: Remove extra directory level in build
10873 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
10875 * lib/ada.exp: Remove extra directory level in build directory.
10876 * gdb.ada/cond_lang.exp: Likewise.
10877 * gdb.ada/exec_changed.exp: Likewise.
10878 * gdb.ada/lang_switch.exp: Likewise.
10880 2016-07-06 Manish Goregaokar <manish@mozilla.com>
10882 * simple.rs: Add test for raw pointer subscripting.
10883 * simple.exp: Add test expectations.
10885 2016-07-05 Yao Qi <yao.qi@linaro.org>
10887 * gdb.mi/mi-reverse.exp: Match =record-started output.
10889 2016-07-01 Pedro Alves <palves@redhat.com>
10891 * gdb.base/jit-reader.exp (info_registers_current_frame): New
10893 (jit_reader_test): Test the jit reader's unwinder.
10894 * gdb.base/jithost.c (jit_function_00_code): New global.
10895 (main): Use memcpy to fill in the mmapped code, instead of poking
10896 bytes manually here.
10897 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
10899 (read_debug_info): Save the function's range.
10900 (read_sp): New function.
10901 (unwind_frame): Use it. Also unwind RBP.
10902 (get_frame_id): Use read_sp.
10903 (gdb_init_reader): Use calloc instead of malloc.
10904 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
10905 parameter. Use gdb_test_multiple.
10907 2016-07-01 Pedro Alves <palves@redhat.com>
10908 Antoine Tremblay <antoine.tremblay@ericsson.com>
10910 * gdb.threads/process-dies-while-detaching.c: New file.
10911 * gdb.threads/process-dies-while-detaching.exp: New file.
10913 2016-07-01 Pedro Alves <palves@redhat.com>
10915 * gdb.multi/watchpoint-multi-exit.c: New file.
10916 * gdb.multi/watchpoint-multi-exit.exp: New file.
10918 2016-06-30 Pedro Alves <palves@redhat.com>
10920 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
10921 unset inferior_spawn_id.
10923 2016-06-30 Pedro Alves <palves@redhat.com>
10925 * lib/mi-support.exp (default_mi_gdb_start): Declare global
10926 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
10928 2016-06-29 Yao Qi <yao.qi@linaro.org>
10930 * gdb.base/return.c: Add copyright header.
10932 2016-06-29 Tom Tromey <tom@tromey.com>
10935 * gdb.python/py-framefilter.exp: Add tests for setting priority
10936 and disabling of non-existent frame filter.
10938 2016-06-29 Yao Qi <yao.qi@linaro.org>
10940 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
10943 2016-06-28 Yao Qi <yao.qi@linaro.org>
10945 * gdb.base/catch-syscall.exp: Remove check on isnative and target
10946 triplets. Start gdb, execute catch syscall, and continue. Check
10947 gdb's output to determine catch syscall is supported.
10949 2016-06-27 Manish Goregaokar <manish@mozilla.com>
10951 * gdb.rust/simple.rs: Add test for returning unit in a function.
10952 * gdb.rust/simple.exp: Add expectation for functions returning
10955 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
10957 * gdb.python/py-breakpoint-create-fail.c,
10958 gdb.python/py-breakpoint-create-fail.exp,
10959 gdb.python/py-breakpoint-create-fail.py: New testcase.
10961 2016-06-25 Manish Goregaokar <manish@mozilla.com>
10964 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
10965 * gdb.rust/simple.exp: Add test expectations for new NonZero
10968 2016-06-24 David Taylor <dtaylor@emc.com>
10970 * gdb.base/offsets.exp: New file.
10971 * gdb.base/offsets.c: New file.
10973 2016-06-23 Tom Tromey <tom@tromey.com>
10976 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
10977 before any filters are loaded.
10979 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
10981 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
10982 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
10984 * gdb.fortran/derived-type-function.exp: New file.
10985 * gdb.fortran/derived-type-function.f90: New file.
10988 2016-06-21 Pedro Alves <palves@redhat.com>
10990 * gdb.base/new-ui.exp: New file.
10991 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
10992 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
10993 (with_spawn_id): New procedure.
10995 2016-06-21 Pedro Alves <palves@redhat.com>
10997 * gdb.mi/mi-exec-run.exp: New file.
10999 2016-06-21 Pedro Alves <palves@redhat.com>
11001 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
11002 breakpoint command's output on the main UI.
11003 (test_break): New procedure, factored out from calls in the top
11005 (top level): Use foreach_with_prefix to test MI as main UI and as
11008 2016-06-21 Pedro Alves <palves@redhat.com>
11010 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
11011 (test_awatch_creation_and_listing)
11012 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
11013 Remove 'type' parameter.
11014 (test_watchpoint_all): New parameter mi_mode. Remove
11016 (top level): Use foreach_with_prefix, and add main/separate UI MI
11019 2016-06-21 Pedro Alves <palves@redhat.com>
11021 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
11022 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
11023 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
11024 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
11025 (gdb_main_spawn_id, mi_spawn_id): Declare and
11027 (mi_create_inferior_pty): New procedure,
11028 factored out from default_mi_gdb_start.
11029 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
11031 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
11032 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
11033 Use mi_create_inferior_pty.
11034 (mi_gdb_start): Use eval to pass down args list.
11036 2016-06-21 Pedro Alves <palves@redhat.com>
11038 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
11039 * gdb.opt/inline-cmds.exp: Add MI tests.
11041 2016-06-21 Pedro Alves <palves@redhat.com>
11043 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
11045 2016-06-21 Pedro Alves <palves@redhat.com>
11047 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
11048 (top level): Use it instead of mi_execute_to.
11050 2016-06-21 Pedro Alves <palves@redhat.com>
11052 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
11053 (cont_handler_str): New.
11054 (signal_stop_handler): Set stop_handler_str instead of printing to
11056 (continue_handler): Set cont_handler_str instead of printing to
11058 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
11059 mi_send_resuming_command. Print stop_handler_str and
11060 cont_handler_str instead of expecting the python events print
11063 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
11065 * gdb.base/jit-reader.exp: New file.
11066 * gdb.base/jithost.c: New file.
11067 * gdb.base/jithost.h: New file.
11068 * gdb.base/jitreader.c : New file.
11069 * gdb.base/jit-protocol.h: New file.
11071 2016-06-17 Yao Qi <yao.qi@linaro.org>
11073 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
11074 parameters follow_fork and detach_on_fork. Set follow-fork-mode
11075 and detach-on-fork. Adjust tests.
11076 (top level): Invoke break_cond_on_syscall with combinations of
11077 syscall, follow-fork-mode and detach-on-fork.
11079 2016-06-17 Yao Qi <yao.qi@linaro.org>
11081 * gdb.base/step-over-exit.c: New.
11082 * gdb.base/step-over-exit.exp: New.
11084 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
11086 * gdb.base/float.exp: Add target check for nds32*-*-*.
11087 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
11089 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
11091 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
11092 for unsupported target features.
11093 * gdb.base/call-rt-st.exp: Likewise.
11094 * gdb.base/call-sc.exp: Likewise.
11095 * gdb.base/call-signal-resume.exp: Likewise.
11096 * gdb.base/call-strs.exp: Likewise.
11097 * gdb.base/callexit.exp: Likewise.
11098 * gdb.base/callfuncs.exp: Likewise.
11099 * gdb.base/nodebug.exp: Likewise.
11100 * gdb.base/printcmds.exp: Likewise.
11101 * gdb.base/ptype.exp: Likewise.
11102 * gdb.base/structs.exp: Likewise.
11103 * gdb.base/unwindonsignal.exp: Likewise.
11104 * gdb.cp/gdb2495.exp: Likewise.
11105 * gdb.cp/templates.exp: Likewise.
11106 * gdb.cp/virtfunc.exp: Likewise.
11107 * gdb.threads/hand-call-in-threads.exp: Likewise.
11108 * gdb.threads/interrupted-hand-call.exp: Likewise.
11109 * gdb.threads/thread-unwindonsignal.exp: Likewise.
11111 2016-06-10 Tom Tromey <tom@tromey.com>
11114 * gdb.rust/expr.exp: Add test for integer constant larger than
11117 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
11119 * gdb.fortran/nested-funcs.exp: New.
11120 * gdb.fortran/nested-funcs.f90: New.
11122 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
11124 * gdb.base/examine-backward.c: New file.
11125 * gdb.base/examine-backward.exp: New file.
11127 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
11129 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
11132 2016-06-02 Tom Tromey <tom@tromey.com>
11135 * gdb.python/py-shared.exp: Add solib_name test.
11137 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
11139 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
11141 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
11144 * gdb.dwarf2/implref.exp: Rename to...
11145 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
11146 * gdb.dwarf2/implref-array.c: New file.
11147 * gdb.dwarf2/implref-array.exp: Likewise.
11148 * gdb.dwarf2/implref-global.c: Likewise.
11149 * gdb.dwarf2/implref-global.exp: Likewise.
11150 * gdb.dwarf2/implref-struct.c: Likewise.
11151 * gdb.dwarf2/implref-struct.exp: Likewise.
11153 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11155 * gdb.trace/trace-condition.exp: Add 64bit tests.
11157 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11159 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
11161 (main): Adapt to 8 to 64 bits types.
11162 * gdb.trace/trace-condition.exp: Add new tests.
11164 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11166 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
11168 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11170 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
11171 Move condition tests...
11172 * gdb.trace/trace-condition.exp: Here.
11174 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
11176 * gdb.trace/trace-condition.exp: Add counter-case tests.
11178 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11181 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
11182 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
11184 2016-05-27 Pedro Alves <palves@redhat.com>
11186 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
11188 (top level): Call it, and bail out of DejaGnu is known to be bad.
11190 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
11192 * gdb.base/whatis.c: Extend the test case.
11193 * gdb.base/whatis.exp: Add additional tests.
11195 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11197 * gdb.fortran/type.f90: Add pointer variable.
11198 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
11200 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11202 * gdb.fortran/vla-type.exp: Fix testcase name.
11204 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11206 * gdb.fortran/vla-type.exp: Access elements in nested structs.
11208 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11210 * gdb.fortran/type.f90: Add nested structures.
11211 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
11212 * gdb.fortran/derived-type.exp: Adapt expected output.
11213 * gdb.fortran/vla-type.exp: Adapt expected output.
11215 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11217 * gdb.fortran/whatis_type.exp: Adapt expected output.
11219 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11221 * gdb.fortran/print_type.exp: Fix expected output.
11222 * gdb.fortran/whatis_type.exp: Fix expected output.
11224 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
11226 * gdb.fortran/whatis_type.exp: Use multi_line.
11228 2016-05-24 Tom Tromey <tom@tromey.com>
11231 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
11232 use value as an index.
11234 2016-05-23 Tom Tromey <tom@tromey.com>
11237 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
11238 no-breakpoint case.
11240 2016-05-24 Pedro Alves <palves@redhat.com>
11243 * gdb.threads/clone-attach-detach.c: New file.
11244 * gdb.threads/clone-attach-detach.exp: New file.
11246 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
11248 * gdb.base/annota-input-while-running.exp: Fix syntax error.
11250 2016-05-23 Tom Tromey <tom@tromey.com>
11252 PR python/19438, PR python/18393:
11253 * gdb.python/py-progspace.exp: Add "dir" test.
11254 * gdb.python/py-objfile.exp: Add "dir" test.
11256 2016-05-23 Yao Qi <yao.qi@linaro.org>
11258 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
11259 * gdb.arch/thumb2-it.exp: Likewise.
11261 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
11263 * gdb.mi/mi-threads-interrupt.c: New file.
11264 * gdb.mi/mi-threads-interrupt.exp: New file.
11266 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
11269 * gdb.mi/mi-async-run.exp: New file.
11270 * gdb.mi/mi-async-run.c: New file.
11272 2016-05-17 Tom Tromey <tom@tromey.com>
11273 Manish Goregaokar <manishsmail@gmail.com>
11275 * lib/rust-support.exp: New file.
11276 * lib/gdb.exp (skip_rust_tests): New proc.
11277 (build_executable_from_specs): Handle rust.
11278 * lib/future.exp (gdb_find_rustc): New proc.
11279 (gdb_default_target_compile): Handle rust.
11280 * gdb.rust/expr.exp: New file.
11281 * gdb.rust/generics.exp: New file.
11282 * gdb.rust/generics.rs: New file.
11283 * gdb.rust/methods.exp: New file.
11284 * gdb.rust/methods.rs: New file.
11285 * gdb.rust/modules.exp: New file.
11286 * gdb.rust/modules.rs: New file.
11287 * gdb.rust/simple.exp: New file.
11288 * gdb.rust/simple.rs: New file.
11290 2016-05-17 Tom Tromey <tom@tromey.com>
11292 * gdb.base/default.exp (set language): Add rust.
11294 2016-05-17 Tom Tromey <tom@tromey.com>
11296 * gdb.gdb/unittest.exp: New file.
11298 2016-05-16 Yao Qi <yao.qi@linaro.org>
11300 * gdb.base/batch-preserve-term-settings.exp: Remove variable
11301 shell_prompt. Update shell_prompt_re.
11303 2016-05-12 Doug Evans <dje@google.com>
11306 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
11307 $options when building executable.
11308 * gdb.dwarf2/fission-loclists-pie.S: New file.
11309 * gdb.dwarf2/fission-loclists-pie.exp: New file.
11311 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
11313 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
11314 of [is_remote target],
11316 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
11318 * lib/gdb.exp (use_gdb_stub): New procedure.
11320 2016-05-03 Yunlian Jiang <yunlian@google.com>
11321 Doug Evans <dje@google.com>
11324 * gdb.dwarf2/dwp-sepdebug.c: New file.
11325 * gdb.dwarf2/dwp-sepdebug.exp: New file.
11327 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
11329 * gdb.base/detach.exp: Remove is_remote check.
11331 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
11333 * gdb.base/annota-input-while-running.exp: Don't check for
11334 [is_remote target]. Enable annotations after running to main.
11335 Remove unused "set test..." line.
11337 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
11339 * gdb.trace/trace-enable-disable.exp: New file.
11340 * gdb.trace/trace-enable-disable.c: New file.
11342 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
11344 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
11345 use it in info sharedlibrary test.
11346 * gdb.trace/ftrace-lock.exp: Likewise.
11347 * gdb.trace/ftrace.exp: Likewise.
11348 * gdb.trace/range-stepping.exp: Likewise.
11349 * gdb.trace/trace-break.exp: Likewise.
11350 * gdb.trace/trace-condition.exp: Likewise.
11351 * gdb.trace/trace-mt.exp: Likewise.
11353 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
11355 * lib/gdb.exp (gdb_load_shlibs): Rename to...
11356 (gdb_load_shlib): ... this.
11357 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
11359 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
11360 * gdb.base/ctxobj.exp: Likewise.
11361 * gdb.base/dprintf-pending.exp: Likewise.
11362 * gdb.base/dso2dso.exp: Likewise.
11363 * gdb.base/fixsection.exp: Likewise.
11364 * gdb.base/gcore-relro.exp: Likewise.
11365 * gdb.base/gdb1555.exp: Likewise.
11366 * gdb.base/global-var-nested-by-dso.exp: Likewise.
11367 * gdb.base/gnu-ifunc.exp: Likewise.
11368 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
11369 * gdb.base/jit-so.exp (one_jit_test): Likewise.
11370 * gdb.base/pending.exp: Likewise.
11371 * gdb.base/print-file-var.exp: Likewise.
11372 * gdb.base/print-symbol-loading.exp: Likewise.
11373 * gdb.base/shlib-call.exp: Likewise.
11374 * gdb.base/shreloc.exp: Likewise.
11375 * gdb.base/so-impl-ld.exp: Likewise.
11376 * gdb.base/solib-disc.exp: Likewise.
11377 * gdb.base/solib-nodir.exp: Likewise.
11378 * gdb.base/solib-overlap.exp: Likewise.
11379 * gdb.base/solib-symbol.exp: Likewise.
11380 * gdb.base/solib-weak.exp (do_test): Likewise.
11381 * gdb.base/sym-file.exp: Likewise.
11382 * gdb.base/symtab-search-order.exp: Likewise.
11383 * gdb.base/type-opaque.exp: Likewise.
11384 * gdb.base/unload.exp: Likewise.
11385 * gdb.base/watchpoint-solib.exp: Likewise.
11386 * gdb.compile/compile.exp: Likewise.
11387 * gdb.cp/gdb2384.exp: Likewise.
11388 * gdb.cp/infcall-dlopen.exp: Likewise.
11389 * gdb.cp/re-set-overloaded.exp: Likewise.
11390 * gdb.fortran/library-module.exp: Likewise.
11391 * gdb.opt/solib-intra-step.exp: Likewise.
11392 * gdb.python/py-finish-breakpoint.exp: Likewise.
11393 * gdb.python/py-shared.exp: Likewise.
11394 * gdb.reverse/solib-precsave.exp: Likewise.
11395 * gdb.reverse/solib-reverse.exp: Likewise.
11396 * gdb.server/solib-list.exp: Likewise.
11397 * gdb.threads/dlopen-libpthread.exp: Likewise.
11398 * gdb.threads/tls-shared.exp: Likewise.
11399 * gdb.threads/tls-so_extern.exp: Likewise.
11400 * gdb.trace/change-loc.exp: Likewise.
11401 * gdb.trace/ftrace-lock.exp: Likewise.
11402 * gdb.trace/ftrace.exp: Likewise.
11403 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
11404 * gdb.trace/pending.exp: Likewise.
11405 * gdb.trace/range-stepping.exp: Likewise.
11406 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
11407 (strace_info_marker): Likewise.
11408 (strace_probe_marker): Likewise.
11409 (strace_trace_on_same_addr): Likewise.
11410 (strace_trace_on_diff_addr): Likewise.
11411 * gdb.trace/trace-break.exp: Likewise.
11412 * gdb.trace/trace-condition.exp: Likewise.
11413 * gdb.trace/trace-mt.exp: Likewise.
11415 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
11417 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
11418 result of gdb_remote_download.
11419 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
11420 * gdb.base/dso2dso.exp: Likewise.
11421 * gdb.base/global-var-nested-by-dso.exp: Likewise.
11422 * gdb.base/print-file-var.exp: Likewise.
11423 * gdb.base/shlib-call.exp: Likewise.
11424 * gdb.base/shreloc.exp: Likewise.
11425 * gdb.base/solib-overlap.exp: Likewise.
11426 * gdb.base/solib-weak.exp (do_test): Likewise.
11427 * gdb.base/unload.exp: Likewise.
11429 2016-04-27 Yao Qi <yao.qi@linaro.org>
11431 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
11434 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
11436 * vla-type.exp: Print structure from toplevel.
11438 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
11440 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
11442 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
11445 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
11447 * gdb.fortran/vla-type.f90: New file.
11448 * gdb.fortran/vla-type.exp: New file.
11450 2016-04-25 Yao Qi <yao.qi@linaro.org>
11452 * gdb.base/branch-to-self.c: New file.
11453 * gdb.base/branch-to-self.exp: New file.
11455 2016-04-22 Yao Qi <yao.qi@linaro.org>
11457 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
11460 2016-04-22 Yao Qi <yao.qi@linaro.org>
11462 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
11463 * gdb.base/annota3.exp: Likewise.
11465 2016-04-22 Yao Qi <yao.qi@linaro.org>
11467 * gdb.reverse/step-precsave.exp: Do one step and test program
11468 stops in "callee" and do multiple steps until program goes out
11470 * gdb.reverse/step-reverse.exp: Likewise.
11472 2016-04-22 Yao Qi <yao.qi@linaro.org>
11474 * gdb.trace/signal.exp: Also pass if
11475 $tracepoint_hits($i) > $iterations.
11477 2016-04-22 Yao Qi <yao.qi@linaro.org>
11479 * gdb.trace/signal.c: New file.
11480 * gdb.trace/signal.exp: New file.
11482 2016-04-19 Doug Evans <xdje42@gmail.com>
11484 * gdb.base/bad-file.exp: New file.
11486 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
11488 * gdb.dwarf2/implref.exp: New file.
11490 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
11492 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
11493 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
11494 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
11495 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
11496 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
11497 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
11498 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
11499 * lib/fortran.exp (fortran_int4): New procedure.
11500 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
11501 (fortran_logical4): Likewise.
11503 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
11505 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
11507 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
11509 * lib/compiler.c: Add Intel specific preprocessor macros.
11510 * lib/compiler.cc: Likewise.
11512 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
11514 * gdb.server/connect-with-no-symbol-file.c: New file.
11515 * gdb.server/connect-with-no-symbol-file.exp: New file.
11517 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
11519 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
11521 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
11523 * boards/gdbserver-base.exp (${board}_download): Copy source file to
11524 standard output directory.
11526 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
11528 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
11530 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
11532 * gdb.btrace/instruction_history.c (loop): Add declaration.
11534 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
11536 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
11538 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
11540 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
11541 parentheses to print.
11542 (continue_handler): Likewise.
11544 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
11546 * gdb.server/solib-list.exp: Remove is_remote check.
11547 Pass shlib= to gdb_compile. Don't link shared library with
11548 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
11549 Run binary filename through "readlink -f" on the target.
11551 2016-04-08 Pedro Alves <palves@redhat.com>
11553 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
11554 interpreter filename as argument to gdbserver_spawn.
11555 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
11556 Return empty if $last_loaded_file does not exist.
11558 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11560 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
11561 * gdb.base/jit-main.c: Use exit after usage.
11563 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11565 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
11566 GDBHISTSIZE prior to the tests.
11567 * gdb.base/gdbinit-history.exp: Likewise.
11569 2016-04-07 Pedro Alves <palves@redhat.com>
11571 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
11572 instead of build_executable. Use gdb_load_shlibs.
11574 2016-04-07 Yao Qi <yao.qi@linaro.org>
11576 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
11577 Execute "si" command.
11579 2016-04-07 Yao Qi <yao.qi@linaro.org>
11581 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
11582 number instead of the comments on some line.
11584 2016-04-06 Don Breazeal <donb@codesourcery.com>
11586 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
11587 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
11589 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
11591 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
11592 standard_output_file. Remove unused binfile variable.
11594 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
11596 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
11597 * gdb.python/py-mi-objfile.exp: Match "list main" output
11600 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
11602 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
11605 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
11607 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
11609 * gdb.trace/ftrace.exp: Likewise.
11610 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
11612 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
11613 (gdb_load_shlibs): Copy libraries to test directory when testing
11614 natively. Only set solib-search-path if testing remotely.
11615 * lib/mi-support.exp (mi_load_shlibs): Likewise.
11617 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
11619 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
11620 gdb_download. Use it even if the target is not remote.
11621 * gdb.base/jit.exp (compile_jit_test): Likewise.
11622 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
11623 output directory if the destination board is local, otherwise use
11624 the standard remote_download from DejaGnu.
11625 (gdb_download): Remove.
11626 (gdb_load_shlibs): Use gdb_remote_download instead of
11628 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
11629 Use gdb_remote_download instead of gdb_download. Use it even if
11630 the target is not remote.
11631 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
11632 instead of gdb_download.
11634 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
11636 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
11637 (test_insert_delete_modify): Call mi_load_shlibs before trying to
11640 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
11643 * gdb.base/printcmds.exp: Add artificial arrays tests.
11645 2016-03-31 Pedro Alves <palves@redhat.com>
11648 * gdb.base/jit-main.c: Include unistd.h.
11649 (ATTACH): Define to 0 if not already defined.
11650 (wait_for_gdb, mypid): New globals.
11651 (WAIT_FOR_GDB): New macro.
11652 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
11653 some breakpoint locations.
11654 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
11656 (one_jit_test): Add REATTACH parameter, and handle it. Use
11657 continue_to_test_location.
11658 (top level): Test attach, and adjusts calls to one_jit_test.
11660 2016-03-31 Pedro Alves <palves@redhat.com>
11663 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
11664 BINSUFFIX parameter, and handle it.
11665 (top level): Adjust calls compile_jit_test.
11667 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
11670 * gdb.python/py-mi-events-gdb.py: New file.
11671 * gdb.python/py-mi-events.c: New file.
11672 * gdb.python/py-mi-events.exp: New file.
11674 2016-03-30 Yao Qi <yao.qi@linaro.org>
11676 * gdb.reverse/until-precsave.exp: Match function name only.
11677 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
11678 Move malloc to a condition block.
11679 * gdb.reverse/until-reverse.exp: Match function name only.
11681 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
11683 * gdb.trace/ftrace.exp: Set arg0exp for s390.
11684 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
11685 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
11686 variable for GPR 0 instead of assuming it is register 0.
11687 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
11688 * lib/trace-support.exp: Add s390 registers.
11690 2016-03-29 Yao Qi <yao.qi@linaro.org>
11692 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
11694 2016-03-24 Yao Qi <yao.qi@linaro.org>
11696 * gdb.reverse/break-reverse.exp: Add quotation mark in the
11699 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11701 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
11702 maintaining separate logic for constructing the output path.
11704 2016-03-16 Don Breazeal <donb@codesourcery.com>
11706 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
11707 Retry fork and waitpid on interrupted system call errors.
11708 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
11709 Use with_timeout_factor to increase timeout by factor of 10.
11711 2016-03-15 Don Breazeal <donb@codesourcery.com>
11713 * gdb.cp/scope-err.cc: New test program.
11714 * gdb.cp/scope-err.exp: New test script.
11715 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
11716 lines and "set breakpoint here" comment.
11717 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
11718 Fixed some whitespace and format issues.
11719 * gdb.mi/mi-linespec-err-cp.cc: New test program.
11720 * gdb.mi/mi-linespec-err-cp.exp: New test script.
11722 2016-03-15 Doug Evans <dje@google.com>
11724 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
11725 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
11726 All callers updated. Add tests for enums, mixed flags register.
11728 2016-03-15 Doug Evans <dje@google.com>
11730 * gdb.base/skip.c (main): Call test_skip_file_and_function.
11731 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
11733 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
11735 * gdb.base/default.exp: Add $_as_string to the list of expected
11736 convenience functions.
11738 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
11740 * gdb.base/maint.exp: New tests for 'maint info line-table'.
11742 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
11744 * gdb.python/py-as-string.exp: New file.
11745 * gdb.python/py-as-string.c: New file.
11747 2016-03-09 Pedro Alves <palves@redhat.com>
11749 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
11750 signal" -> "Thread NN received signal" output change.
11751 * gdb.threads/ia64-sigill.exp: Likewise.
11752 * gdb.threads/linux-dp.exp: Likewise.
11753 * gdb.threads/manythreads.exp: Likewise.
11754 * gdb.threads/pending-step.exp: Likewise.
11755 * gdb.threads/print-threads.exp: Likewise.
11756 * gdb.threads/sigstep-threads.exp: Likewise.
11757 * gdb.threads/staticthreads.exp: Likewise.
11758 * gdb.threads/tls.exp: Likewise.
11760 2016-03-09 Pedro Alves <palves@redhat.com>
11762 * gdb.base/command-line-input.exp: New file.
11764 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11766 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
11767 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
11768 * gdb.trace/pending.exp: Accept leading dot before function name.
11769 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
11770 * lib/trace-support.exp: Set registers for ppc.
11772 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11774 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
11775 use it for disassembly; accept .main in addition to main in backtrace.
11777 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
11778 Marcin Kościelnicki <koriakin@0x04.net>
11780 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
11781 (gdb_recursion_test_ptr): New global variable.
11782 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
11783 gdb_recursion_test.
11784 (gdb_c_test): Ditto.
11786 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11788 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
11791 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
11793 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
11794 (bar): Add bar_start_lbl label.
11795 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
11796 of foo/bar for emitting DWARF and tracing.
11798 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
11800 * analyze-racy-logs.py: Set executable bit.
11802 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
11804 * Makefile.in (DEFAULT_RACY_ITER): New variable.
11805 (CHECK_TARGET_TMP): Likewise.
11806 (check-single-racy): New rule.
11807 (check-parallel-racy): Likewise.
11808 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
11809 (do-check-parallel-racy): New rule.
11810 (check-racy/%.exp): Likewise.
11811 * README (Racy testcases): New section.
11812 * analyze-racy-logs.py: New file.
11814 2016-03-03 Doug Evans <dje@google.com>
11816 * gdb.base/skip.exp: Use with_test_prefix.
11818 2016-03-03 Yao Qi <yao.qi@linaro.org>
11820 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
11821 Invoke step_over_syscall "clone" and break_cond_on_syscall
11823 * gdb.base/step-over-clone.c: New file.
11825 2016-03-03 Yao Qi <yao.qi@linaro.org>
11827 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
11830 2016-03-03 Yao Qi <yao.qi@linaro.org>
11832 * gdb.base/disp-step-fork.c: Rename to ...
11833 * gdb.base/step-over-fork.c: ... it. New file.
11834 * gdb.base/disp-step-vfork.c: Rename to ...
11835 * gdb.base/step-over-vfork.c: ... it. New file.
11836 * gdb.base/disp-step-syscall.exp: Rename to ...
11837 * gdb.base/step-over-syscall.exp: ... it. New file.
11838 (disp_step_cross_syscall): Rename to ...
11839 (step_over_syscall): ... it.
11841 2016-03-03 Yao Qi <yao.qi@linaro.org>
11843 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
11844 If target supports condition evaluation on target, invoke
11845 break_cond_on_syscall for fork and vfork.
11847 2016-03-03 Yao Qi <yao.qi@linaro.org>
11849 * gdb.base/disp-step-syscall.exp: Don't invoke
11850 support_displaced_stepping.
11851 (disp_step_cross_syscall): Test with displaced stepping off and
11854 2016-03-03 Yao Qi <yao.qi@linaro.org>
11856 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
11859 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
11862 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11864 * gdb.fortran/vla-history.exp: Remove breakpoint.
11866 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11868 * gdb.fortran/vla-history.exp: Lookup array elements and printing
11871 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11873 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
11876 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
11878 * gdb.mi/vla.f90: Nullify pointer after declaration.
11880 2016-03-01 Pedro Alves <palves@redhat.com>
11882 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
11884 2016-03-01 Pedro Alves <palves@redhat.com>
11886 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
11887 before anything else.
11888 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
11890 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
11891 before anything else.
11892 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
11894 2016-03-01 Pedro Alves <palves@redhat.com>
11896 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
11898 2016-03-01 Yao Qi <yao.qi@linaro.org>
11900 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
11901 prepare_for_testing.
11903 2016-03-01 Yao Qi <yao.qi@linaro.org>
11905 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
11907 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11909 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
11910 manually constructing the output path.
11912 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
11914 * gdb.arch/s390-stackless.S: New.
11915 * gdb.arch/s390-stackless.exp: New.
11917 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
11919 * gdb.dlang/circular.c: New file.
11920 * gdb.dlang/circular.exp: New file.
11922 2016-02-26 Yao Qi <yao.qi@linaro.org>
11924 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
11925 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
11926 (testcases): Update.
11928 2016-02-26 Yao Qi <yao.qi@linaro.org>
11930 * gdb.reverse/aarch64.c: Rename to ...
11931 * gdb.reverse/insn-reverse.c: ... it.
11932 * gdb.reverse/aarch64.exp: Rename to ...
11933 * gdb.reverse/insn-reverse.exp: ... it.
11935 2016-02-26 Yao Qi <yao.qi@linaro.org>
11937 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
11938 (testcase_ftype): New.
11939 (testcases): New array.
11940 (n_testcases): New.
11941 (main): Call each element in testcases.
11942 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
11943 (read_testcase): New.
11944 Do the tests in a loop.
11946 2016-02-25 Yao Qi <yao.qi@linaro.org>
11948 * gdb.base/branches.c: Remove.
11950 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11953 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
11955 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11957 * gdb.trace/ftrace.exp: Remove unnecessary target check.
11959 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
11961 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
11962 change x86_64 call_insn to 'callq'.
11964 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
11966 * gdb.trace/tfile-avx.c: Move to...
11967 * gdb.trace/tracefile-pseudo-reg.c: Here.
11968 * gdb.trace/tfile-avx.exp: Move to...
11969 * gdb.trace/tracefile-pseudo-reg.exp: Here.
11971 2016-02-24 Gary Benson <gbenson@redhat.com>
11973 * gdb.base/attach-pie-noexec.exp: Do not expect an error
11976 2016-02-23 Doug Evans <dje@google.com>
11978 * gdb.base/skip.c (test_skip): New function.
11979 (end_test_skip_file_and_function): New function.
11980 (test_skip_file_and_function): New function.
11981 * gdb.base/skip1.c (test_skip): New function.
11982 (skip1_test_skip_file_and_function): New function.
11983 * gdb.base/skip.exp: Add tests for new skip options.
11984 * gdb.base/skip-solib.exp: Update expected output.
11985 * gdb.perf/skip-command.cc: New file.
11986 * gdb.perf/skip-command.exp: New file.
11987 * gdb.perf/skip-command.py: New file.
11989 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
11991 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
11992 info registers pattern.
11994 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
11996 * lib/future.exp: Add D support.
11997 (gdb_find_gdc): New proc.
11998 (gdb_default_target_compile): Add D support.
12000 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
12002 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
12004 (trace_speed_test): Determine the iteration count for a time
12005 between 15..30 seconds.
12007 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
12009 * gdb.arch/i386-mpx-sigsegv.c: New file.
12010 * gdb.arch/i386-mpx-sigsegv.exp: New file.
12011 * gdb.arch/i386-mpx-simple_segv.c: New file.
12012 * gdb.arch/i386-mpx-simple_segv.exp: New file.
12014 2016-02-18 Yao Qi <yao.qi@linaro.org>
12016 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
12017 Don't call setup_kfail.
12019 2016-02-18 Yao Qi <yao.qi@linaro.org>
12021 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
12022 Set "set breakpoint condition-evaluation" per $cond_bp_target.
12024 2016-02-16 Doug Evans <dje@google.com>
12026 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
12027 * gdb.base/skip1.c: Ditto.
12028 * gdb.base/skip.exp: Whitespace cleanup.
12030 2016-02-16 Don Breazeal <donb@codesourcery.com>
12033 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
12034 Remove kfail for PR remote/19496.
12036 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
12038 * lib/gdb.exp (standard_temp_file): Return a path specific to
12039 the runtest invocation.
12041 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
12043 * gdb.trace/save-trace.exp: Change relative path to be in the
12044 standard output directory.
12046 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12048 * gdb.arch/i386-prologue.c: Add missing prototypes.
12050 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12052 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
12053 * gdb.arch/i386-prologue.exp: Likewise.
12054 * gdb.arch/i386-size.exp: Likewise.
12056 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
12058 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
12059 define object file path.
12060 * gdb.btrace/gcore.exp: Use standard_output_file to define core
12062 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
12063 standard_output_file to define binfile.
12065 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12067 Fix compatibility with recent gfortran-5.3.1.
12068 * gdb.fortran/vla-history.exp (print vla1 allocated)
12069 (print vla2 allocated, print $2, print $3): Remove
12070 (print $4): Rename to ...
12071 (print $2): ... here.
12072 (print $9): Rename to ...
12073 (print $5): ... here.
12074 (print $10): Rename to ...
12075 (print $6): ... here.
12076 * gdb.fortran/vla.f90: Add pvla initialization.
12078 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12080 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
12082 * gdb.fortran/vla-value-sub.exp: Likewise.
12084 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
12086 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
12088 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
12090 * i386-biarch-core.exp: Define corefile using
12091 standard_output_file.
12093 2016-02-12 Yao Qi <yao.qi@linaro.org>
12095 * gdb.arch/arm-single-step-kernel-helper.c: New.
12096 * gdb.arch/arm-single-step-kernel-helper.exp: New.
12098 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
12100 * gdb.btrace/tailcall-only.exp: New.
12101 * gdb.btrace/tailcall-only.c: New.
12102 * gdb.btrace/x86_64-tailcall-only.S: New.
12103 * gdb.btrace/i686-tailcall-only.S: New.
12105 2016-02-11 Pedro Alves <palves@redhat.com>
12107 * README (Parallel testing): Add missing double quotes.
12109 2016-02-11 Pedro Alves <palves@redhat.com>
12111 * README (Parallel testing): New section.
12112 (GDB_PARALLEL): Rewrite.
12113 (FORCE_PARALLEL): Document.
12115 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
12117 * gdb.trace/tfile-avx.c: New test.
12118 * gdb.trace/tfile-avx.exp: New test.
12120 2016-02-09 Keith Seitz <keiths@redhat.com>
12122 PR breakpoints/19546
12123 * gdb.base/infcall-exec.c: New file.
12124 * gdb.base/infcall-exec2.c: New file.
12125 * gdb.base/infcall-exec.exp: New file.
12127 2016-02-09 Keith Seitz <keiths@redhat.com>
12129 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
12130 (toplevel): Call test_bkpt_address.
12132 2016-02-09 Keith Seitz <keiths@redhat.com>
12135 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
12136 (toplevel): Call test_bkpt_address.
12138 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
12140 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
12142 * configure: Regenerate.
12144 2016-02-09 Pedro Alves <palves@redhat.com>
12146 PR breakpoints/19548
12147 * gdb.base/execl-update-breakpoints.c (some_function): New
12150 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
12151 Tighten expected GDB output.
12153 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
12155 * Makefile.in (ALL_SUBDIRS): Remove.
12156 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
12157 (distclean maintainer-clean realclean): Likewise.
12158 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
12159 * configure: Regenerate.
12160 * gdb.ada/Makefile.in: Delete.
12161 * gdb.arch/Makefile.in: Likewise.
12162 * gdb.asm/Makefile.in: Likewise.
12163 * gdb.base/Makefile.in: Likewise.
12164 * gdb.btrace/Makefile.in: Likewise.
12165 * gdb.cell/Makefile.in: Likewise.
12166 * gdb.compile/Makefile.in: Likewise.
12167 * gdb.cp/Makefile.in: Likewise.
12168 * gdb.disasm/Makefile.in: Likewise.
12169 * gdb.dlang/Makefile.in: Likewise.
12170 * gdb.dwarf2/Makefile.in: Likewise.
12171 * gdb.fortran/Makefile.in: Likewise.
12172 * gdb.gdb/Makefile.in: Likewise.
12173 * gdb.go/Makefile.in: Likewise.
12174 * gdb.guile/Makefile.in: Likewise.
12175 * gdb.java/Makefile.in: Likewise.
12176 * gdb.linespec/Makefile.in: Likewise.
12177 * gdb.mi/Makefile.in: Likewise.
12178 * gdb.modula2/Makefile.in: Likewise.
12179 * gdb.multi/Makefile.in: Likewise.
12180 * gdb.objc/Makefile.in: Likewise.
12181 * gdb.opencl/Makefile.in: Likewise.
12182 * gdb.opt/Makefile.in: Likewise.
12183 * gdb.pascal/Makefile.in: Likewise.
12184 * gdb.perf/Makefile.in: Likewise.
12185 * gdb.python/Makefile.in: Likewise.
12186 * gdb.reverse/Makefile.in: Likewise.
12187 * gdb.server/Makefile.in: Likewise.
12188 * gdb.stabs/Makefile.in: Likewise.
12189 * gdb.threads/Makefile.in: Likewise.
12190 * gdb.trace/Makefile.in: Likewise.
12191 * gdb.xml/Makefile.in: Likewise.
12192 * lib/gdb.exp (make_gdb_parallel_path): Add check for
12194 (standard_output_file): Remove check for GDB_PARALLEL, always
12195 return path in outputs/$subdir/$testname.
12197 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
12199 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
12200 (site.exp): Assign abs_srcdir to tcl's srcdir.
12202 2016-02-04 Yao Qi <yao.qi@linaro.org>
12204 * gdb.base/foll-exec-mode.c: Include limits.h.
12205 (main): Add parameters argc and argv. Get directory from
12207 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
12209 * gdb.base/foll-exec.c: Include limits.h.
12210 (main): Add parameters argc and argv.
12211 Get directory from argv[0].
12212 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
12213 Adjust tests on the number of lines as source code changed.
12214 * gdb.base/foll-vfork-exit.c: Include limits.h.
12215 (main): Add one line of statement before vfork.
12216 * gdb.base/foll-vfork.c: Include limits.h and string.h.
12217 (main): Add parameters argc and argv. Get directory from
12219 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
12220 (setup_gdb): Set tbreak to skip some source lines.
12221 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
12222 (main): Add parameters argc and argv. Get directory from
12224 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
12226 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
12227 (main): Add parameters argc and argv. Get directory from
12229 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
12232 2016-02-01 Doug Evans <dje@google.com>
12234 * gdb.base/skip.exp: Clean up multiple references to same test name.
12236 2016-02-01 Pedro Alves <palves@redhat.com>
12239 * gdb.threads/forking-threads-plus-breakpoint.exp
12240 (displaced_stepping_supported): New global.
12241 (probe_displaced_stepping_support): New procedure.
12242 (do_test): Add 'displaced' parameter, and use it.
12243 (top level): Check for displaced stepping support. Add displaced
12244 stepping on/off testing axis.
12246 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
12248 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
12249 pointer. Don't perform further tests on the unassociated pointer
12250 if the first test fails.
12252 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
12254 * gdb.base/max-value-size.c: New file.
12255 * gdb.base/max-value-size.exp: New file.
12256 * gdb.base/huge.exp: Disable max-value-size for this test.
12258 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
12260 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
12262 2016-01-28 Yao Qi <yao.qi@linaro.org>
12264 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
12266 2016-01-25 Pedro Alves <palves@redhat.com>
12269 * gdb.base/fork-running-state.c: New file.
12270 * gdb.base/fork-running-state.exp: New file.
12272 2016-01-25 Pedro Alves <palves@redhat.com>
12275 * gdb.base/catch-fork-kill.c: New file.
12276 * gdb.base/catch-fork-kill.exp: New file.
12278 2016-01-25 Pedro Alves <palves@redhat.com>
12280 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
12281 Delete, moved to lib/gdb.exp.
12282 * gdb.threads/forking-threads-plus-breakpoint.exp
12283 (foreach_with_prefix): Likewise.
12284 * gdb.threads/process-dies-while-handling-bp.exp
12285 (foreach_with_prefix): Likewise.
12286 * lib/gdb.exp (foreach_with_prefix): New procedure.
12288 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
12290 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
12291 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
12293 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
12295 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
12298 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12299 Pedro Alves <palves@redhat.com>
12301 Fix testsuite compatibility with Guile.
12302 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
12305 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12307 Fix testsuite compatibility with Guile.
12308 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
12309 (thread 1): New test for backtrace through signal handler.
12311 2016-01-22 Yao Qi <yao.qi@linaro.org>
12314 * gdb.base/multi-forks.c: Include
12315 ../lib/unbuffer_output.c
12316 (main): Call gdb_unbuffer_output.
12318 2016-01-21 Doug Evans <dje@google.com>
12320 * lib/ada.exp (gdb_compile_ada): Fix typo.
12322 2016-01-21 Joel Brobecker <brobecker@adacore.com>
12324 * gdb.base/break-fun-addr.exp: New file.
12325 * gdb.base/break-fun-addr1.c: New file.
12326 * gdb.base/break-fun-addr2.c: New file.
12328 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
12330 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
12331 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
12334 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12336 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
12337 when GDB can not set the vector return value. Add more comments
12340 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
12342 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
12345 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
12347 * Makefile.in (DO_RUNTEST): Add --status and update usages.
12349 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
12351 * Makefile.in (check-single): Pass --status to runtest.
12352 (check/%.exp): Likewise.
12354 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
12356 * Makefile.in (check-parallel): Propagate return code from make
12359 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
12361 * gdb.trace/ftrace.exp: Fix expected message on continue.
12362 * gdb.trace/pending.exp: Fix expected message on continue.
12363 * gdb.trace/trace-break.exp: Fix expected message on continue.
12365 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
12367 * lib/gdb.exp (gdb_test): Remove unused global references.
12369 2016-01-18 Pedro Alves <palves@redhat.com>
12371 * gdb.base/async-shell.exp: Adjust expected output.
12372 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
12373 * gdb.base/siginfo-thread.exp: Adjust expected output.
12374 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
12375 * gdb.java/jnpe.exp: Adjust expected output.
12376 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
12377 * gdb.threads/continue-pending-status.exp: Adjust expected output.
12378 * gdb.threads/leader-exit.exp: Adjust expected output.
12379 * gdb.threads/manythreads.exp: Adjust expected output.
12380 * gdb.threads/pthreads.exp: Adjust expected output.
12381 * gdb.threads/schedlock.exp: Adjust expected output.
12382 * gdb.threads/siginfo-threads.exp: Adjust expected output.
12383 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
12385 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
12387 * gdb.threads/sigthread.exp: Adjust expected output.
12388 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
12390 2016-01-18 Yao Qi <yao.qi@linaro.org>
12392 * gdb.guile/scm-section-script.c: Replace @progbits with
12394 * gdb.python/py-section-script.c: Likewise.
12396 2016-01-15 Pedro Alves <palves@redhat.com>
12398 * gdb.multi/tids.exp: Test star wildcard ranges.
12400 2016-01-15 Pedro Alves <palves@redhat.com>
12402 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
12403 command from "thread apply" invocation.
12404 (thr_apply_info_thr_invalid): Default the expected output to the
12406 (top level): Add tests that use convenience variables. Add tests
12407 for "thread apply" with a valid TID list, but missing the command.
12409 2016-01-13 Pedro Alves <palves@redhat.com>
12411 * gdb.base/default.exp: Expect $_gthread as well.
12412 * gdb.multi/tids.exp: Test $_gthread.
12413 * gdb.threads/thread-specific.exp: Test $_gthread.
12415 2016-01-13 Pedro Alves <palves@redhat.com>
12417 * gdb.multi/tids.exp: Test "info threads -gid".
12419 2016-01-13 Pedro Alves <palves@redhat.com>
12421 * gdb.multi/tids.exp: Test InferiorThread.global_num and
12423 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
12425 2016-01-07 Pedro Alves <palves@redhat.com>
12427 * gdb.base/break.exp: Adjust to output changes.
12428 * gdb.base/hbreak2.exp: Likewise.
12429 * gdb.base/sepdebug.exp: Likewise.
12430 * gdb.base/watch_thread_num.exp: Likewise.
12431 * gdb.linespec/keywords.exp: Likewise.
12432 * gdb.multi/info-threads.exp: Likewise.
12433 * gdb.threads/thread-find.exp: Likewise.
12434 * gdb.multi/tids.c: New file.
12435 * gdb.multi/tids.exp: New file.
12437 2016-01-13 Pedro Alves <palves@redhat.com>
12439 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
12441 2016-01-13 Pedro Alves <palves@redhat.com>
12443 * gdb.base/default.exp: Expect $_inferior as well.
12444 * gdb.multi/base.exp: Test $_inferior.
12446 2016-01-13 Pedro Alves <palves@redhat.com>
12448 PR breakpoints/19388
12449 * gdb.base/catch-signal-siginfo-cond.c: New file.
12450 * gdb.base/catch-signal-siginfo-cond.exp: New file.
12452 2016-01-12 Josh Stone <jistone@redhat.com>
12453 Philippe Waroquiers <philippe.waroquiers@skynet.be>
12455 * gdb.base/catch-syscall.c (do_execve): New variable.
12456 (main): Conditionally trigger an execve.
12457 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
12458 (test_catch_syscall_execve): New, check entry/return across execve.
12459 (do_syscall_tests): Call test_catch_syscall_execve.
12461 2016-01-12 Pedro Alves <palves@redhat.com>
12463 * gdb.base/random-signal.exp (do_test): New procedure, with body
12464 of testcase moved in.
12466 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12467 Pedro Alves <palves@redhat.com>
12469 * gdb.base/funcargs.exp (finish from indirectly called function):
12470 Reintroduce the case for 'First'.
12472 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12473 Pedro Alves <palves@redhat.com>
12475 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
12476 (tcatch_vfork_then_child_follow_exec)
12477 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
12480 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12482 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
12483 and repeats to unlimited.
12484 * gdb.python/py-value.exp: Likewise.
12485 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
12486 and repeats to unlimited.
12488 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12490 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
12491 and reordering the functions.
12492 * gdb.multi/hangout.c: Likewise.
12493 * gdb.multi/hello.c: Likewise.
12495 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
12497 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
12499 (SingleStatisticTestResult.report): Use dict.keys instead of
12502 2016-01-06 Pedro Alves <palves@redhat.com>
12504 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
12506 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
12508 * gdb.btrace/dlopen.exp: New.
12509 * gdb.btrace/dlopen.c: New.
12510 * gdb.btrace/dlopen-dso.c: New.
12512 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
12514 * lib/gdb.exp (gdb_test): Update comments to clarify that the
12515 PATTERN argument is optional.
12517 2015-12-24 Joel Brobecker <brobecker@adacore.com>
12519 * lib/ada.exp (target_compile_ada_from_dir): New function.
12520 (gdb_compile_ada): Reimplement avoiding the use of project files.
12521 * gdb.ada/gnat_ada.gpr: Delete.
12522 * gdb.ada/cond_lang.exp: Adjust test to make path before
12524 * gdb.ada/small_reg_param.exp: Likewise.
12526 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
12528 * gdb.base/foll-vork.exp: Remove HP-UX special case.
12530 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
12532 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
12535 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
12537 * gdb.base/break.exp: Remove dead code.
12538 * gdb.base/sepdebug.exp: Likewise.
12540 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
12542 * gdb.asm/asm-source.exp: Remove HP-UX references.
12543 * gdb.base/annota1.exp: Likewise.
12544 * gdb.base/annota3.exp: Likewise.
12545 * gdb.base/attach.exp: Likewise.
12546 * gdb.base/bigcore.exp: Likewise.
12547 * gdb.base/break.exp: Likewise.
12548 * gdb.base/call-ar-st.exp: Likewise.
12549 * gdb.base/callfuncs.exp: Likewise.
12550 * gdb.base/catch-fork-static.exp: Likewise.
12551 * gdb.base/display.exp: Likewise.
12552 * gdb.base/foll-exec-mode.exp: Likewise.
12553 * gdb.base/foll-exec.exp: Likewise.
12554 * gdb.base/foll-fork.exp: Likewise.
12555 * gdb.base/foll-vfork.exp: Likewise.
12556 * gdb.base/funcargs.exp: Likewise.
12557 * gdb.base/hbreak2.exp: Likewise.
12558 * gdb.base/inferior-died.exp: Likewise.
12559 * gdb.base/interrupt.exp: Likewise.
12560 * gdb.base/multi-forks.exp: Likewise.
12561 * gdb.base/nodebug.exp: Likewise.
12562 * gdb.base/sepdebug.exp: Likewise.
12563 * gdb.base/solib1.c: Likewise.
12564 * gdb.base/step-test.exp: Likewise.
12565 * gdb.mi/non-stop.c: Likewise.
12566 * gdb.mi/pthreads.c: Likewise.
12567 * gdb.multi/bkpt-multi-exec.ex: Likewise.
12568 * gdb.threads/pthreads.c: Likewise.
12569 * gdb.threads/staticthreads.exp: Likewise.
12570 * lib/future.exp: Likewise.
12571 * lib/gdb.exp: Likewise.
12572 * gdb.base/so-indr-cl.c: Remove.
12573 * gdb.base/so-indr-cl.exp: Likewise.
12574 * gdb.base/solib.c: Likewise.
12575 * gdb.base/solib.exp: Likewise.
12576 * gdb.base/solib2.c: Likewise.
12578 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
12580 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
12581 * gdb.base/call-ar-st.exp: Likewise.
12582 * gdb.base/callfuncs.exp: Likewise.
12583 * gdb.base/condbreak.exp: Likewise.
12584 * gdb.base/constvars.exp: Likewise.
12585 * gdb.base/hbreak2.exp: Likewise.
12586 * gdb.base/langs.exp: Likewise.
12587 * gdb.base/list.exp: Likewise.
12588 * gdb.base/long_long.exp: Likewise.
12589 * gdb.base/ptype.exp: Likewise.
12590 * gdb.base/scope.exp: Likewise.
12591 * gdb.base/signals.exp: Likewise.
12592 * gdb.base/so-impl-ld.exp: Likewise.
12593 * gdb.base/varargs.exp: Likewise.
12594 * gdb.base/volatile.exp: Likewise.
12595 * gdb.base/whatis.exp: Likewise.
12596 * gdb.cp/cplusfuncs.exp: Likewise.
12597 * gdb.cp/inherit.exp: Likewise.
12598 * gdb.cp/local.exp: Likewise.
12599 * gdb.cp/member-ptr.exp: Likewise.
12600 * gdb.cp/method.exp: Likewise.
12601 * gdb.cp/overload.exp: Likewise.
12602 * gdb.cp/templates.exp: Likewise.
12603 * gdb.stabs/weird.exp: Likewise.
12604 * lib/compiler.c: Likewise.
12605 * lib/compiler.cc: Likewise.
12606 * lib/cp-support.exp: Likewise.
12607 * lib/gdb.exp: Likewise.
12609 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
12611 * configure.ac: Remove HP-UX case.
12612 * configure: Regenerate.
12614 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
12616 * lib/gdb.exp (gdb_compile): Add function doc.
12618 2015-12-17 Pedro Alves <palves@redhat.com>
12621 * gdb.multi/info-threads.exp: New file.
12623 2015-12-15 Yao Qi <yao.qi@linaro.org>
12625 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
12628 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12630 * gdb.base/history-duplicates.exp: Skip if no readline support.
12632 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12634 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
12636 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12638 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
12640 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
12642 * gdb.base/completion.exp: Skip tests that interrupt GDB with
12643 ctrl-C if nointerrupts target property is set.
12644 * gdb.base/double-prompt-target-event-error.exp: Likewise.
12645 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
12646 * gdb.base/paginate-bg-execution.exp: Likewise.
12647 * gdb.base/paginate-execution-startup.exp: Likewise.
12648 * gdb.base/random-signal.exp: Likewise.
12649 * gdb.base/range-stepping.exp: Likewise.
12650 * gdb.cp/annota2.exp: Likewise.
12651 * gdb.cp/annota3.exp: Likewise.
12652 * gdb.gdb/selftest.exp: Likewise.
12653 * gdb.threads/continue-pending-status.exp: Likewise.
12654 * gdb.threads/leader-exit.exp: Likewise.
12655 * gdb.threads/manythreads.exp: Likewise.
12656 * gdb.threads/pthreads.exp: Likewise.
12657 * gdb.threads/schedlock.exp: Likewise.
12658 * gdb.threads/sigthread.exp: Likewise.
12660 2015-12-11 Don Breazeal <donb@codesourcery.com>
12662 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
12664 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
12665 * gdb.base/foll-exec.exp (main): Enable for target remote.
12666 * gdb.base/foll-fork.exp (main): Likewise.
12667 * gdb.base/foll-vfork.exp (main): Likewise.
12668 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
12669 (proc continue_to_exit_bp_loc): Use clean_restart.
12670 * gdb.base/pie-execl.exp (main): Disable for target remote.
12671 * gdb.base/watch-vfork.exp (main): Enable for target remote.
12672 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
12673 * gdb.threads/execl.exp (main): Likewise.
12674 * gdb.threads/fork-child-threads.exp (main): Likewise.
12675 * gdb.threads/fork-plus-threads.exp (main): Disable for target
12677 * gdb.threads/fork-thread-pending.exp (main): Enable for target
12679 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
12680 pid.tid style ptids, instead of just tid.
12681 * gdb.threads/thread-execl.exp (main): Enable for target remote.
12682 * gdb.threads/watchpoint-fork.exp (main): Likewise.
12683 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
12684 ptids, instead of just tid.
12686 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12688 * gdb.base/list.exp (test_list_forward): Add end of file error
12690 (test_repeat_list_command): Add end of file error test.
12691 (test_list_backwards): Add beginning of file error test.
12693 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12695 * gdb.base/list.exp (test_list_invalid_args): New function,
12696 defined, and called.
12698 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
12700 * gdb.base/list.exp (test_list): Make test names unique.
12702 2015-12-11 Yao Qi <yao.qi@linaro.org>
12704 * gdb.base/coremaker2.c: Remove.
12706 2015-12-10 Pedro Alves <palves@redhat.com>
12708 * gdb.multi/base.exp: Remove stale "spaces" references.
12710 2015-12-10 Pedro Alves <palves@redhat.com>
12712 * gdb.multi/base.exp: Don't use nowarnings.
12713 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
12714 * gdb.multi/hangout.c: Include stdio.h.
12715 * gdb.multi/hello.c: Include stdlib.h.
12716 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
12717 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
12718 * gdb.multi/multi-arch.exp: Don't use nowarnings.
12720 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
12722 * gdb.dwarf2/dw2-ranges-base.c: New file.
12723 * gdb.dwarf2/dw2-ranges-base.exp: New file.
12724 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
12725 support additional line table, and debug ranges generation.
12726 (Dwarf::ranges): New function, generate .debug_ranges.
12727 (Dwarf::lines): Support generating simple line table programs.
12728 (Dwarf::assemble): Initialise new namespace variables.
12730 2015-12-09 Kevin Buettner <kevinb@redhat.com>
12732 * gdb.base/async.exp (proc test_background): Add case for
12733 asynchronous execution not supported.
12735 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
12737 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
12738 format and change test names to make them unique.
12740 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
12741 Pedro Alves <pedro@redhat.com>
12744 Add checking of floatformats setup on x86_64 hosts.
12745 * gdb.arch/i386-float.S (main): Load bigval and smallval.
12746 (smallval, bigval): New labels/constants.
12747 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
12748 float" after loading bigval and smallval.
12750 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
12752 * gdb.ada/fun_overload_menu.exp: New testcase.
12753 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
12755 2015-12-04 Josh Stone <jistone@redhat.com>
12757 * gdb.base/catch-fork-static.exp: New.
12759 2015-12-03 Yao Qi <yao.qi@linaro.org>
12761 * gdb.base/sizeof.c: Don't include stdio.h and
12762 ../lib/unbuffer_output.c.
12763 (main): New variable 'size' and 'value'. Remove printf and
12764 gdb_unbuffer_output. Assign return value to size and value.
12765 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
12767 (check_sizeof): Check the result by printing variable 'size'.
12768 (check_valueof): Check the result by printing variable 'value'.
12770 2015-12-01 Yao Qi <yao.qi@linaro.org>
12772 * gdb.base/disp-step-syscall.exp: Define syscall instruction
12773 for aarch64*-*-linux* target.
12775 2015-11-30 Pedro Alves <palves@redhat.com>
12777 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
12779 2015-11-30 Pedro Alves <palves@redhat.com>
12781 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
12782 Handle non-stop mode vCont replies.
12784 2015-11-30 Pedro Alves <palves@redhat.com>
12786 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
12787 prepare_for_testing. Start gdb with "set non-stop on" appended to
12788 GDBFLAGS. Lax expected stop output.
12790 2015-11-27 Yao Qi <yao.qi@linaro.org>
12792 * gdb.arch/arm-neon.exp: New.
12793 * gdb.arch/arm-neon.c: New.
12795 2015-11-27 Yao Qi <yao.qi@linaro.org>
12797 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
12799 2015-11-27 Yao Qi <yao.qi@linaro.org>
12801 * gdb.cp/annota2.exp: Allow multiple occurrences of the
12802 frames-invalid annotation.
12804 2015-11-27 Yao Qi <yao.qi@linaro.org>
12806 * gdb.cp/annota2.exp: Use ${frames_invalid}.
12808 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
12810 * gdb.threads/names.exp: New file.
12811 * gdb.threads/names.c: New file.
12812 * README: Mention gdb,no_thread_names.
12814 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
12817 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
12820 2015-11-24 Pedro Alves <palves@redhat.com>
12823 * gdb.base/display.exp: Expect displays to be sorted in ascending
12824 order. Use multi_line.
12825 * gdb.base/solib-display.exp: Likewise.
12827 2015-11-24 Pedro Alves <palves@redhat.com>
12830 * gdb.base/display.exp: Expect displays to be sorted in ascending
12831 order. Use multi_line.
12832 * gdb.base/solib-display.exp: Likewise.
12834 2015-11-24 Pedro Alves <palves@redhat.com>
12837 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
12838 threads in ascending order.
12839 * gdb.base/foll-fork.exp: Likewise.
12840 * gdb.base/foll-vfork.exp: Likewise.
12841 * gdb.base/multi-forks.exp: Likewise.
12842 * gdb.mi/mi-nonstop.exp: Likewise.
12843 * gdb.mi/mi-nsintrall.exp: Likewise.
12844 * gdb.multi/base.exp: Likewise.
12845 * gdb.multi/multi-arch.exp: Likewise.
12846 * gdb.python/py-inferior.exp: Likewise.
12847 * gdb.threads/break-while-running.exp: Likewise.
12848 * gdb.threads/execl.exp: Likewise.
12849 * gdb.threads/gcore-thread.exp: Likewise.
12850 * gdb.threads/info-threads-cur-sal.exp: Likewise.
12851 * gdb.threads/kill.exp: Likewise.
12852 * gdb.threads/linux-dp.exp: Likewise.
12853 * gdb.threads/multiple-step-overs.exp: Likewise.
12854 * gdb.threads/next-bp-other-thread.exp: Likewise.
12855 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
12856 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
12857 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
12858 * gdb.threads/thread-find.exp: Likewise.
12859 * gdb.threads/tls.exp: Likewise.
12860 * lib/mi-support.exp (mi_reverse_list): Delete.
12861 (mi_check_thread_states): No longer reverse list.
12863 2015-11-24 Pedro Alves <palves@redhat.com>
12865 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
12868 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
12870 * gdb.trace/actions.c: Include trace-common.h.
12871 (main): Add a location for a fast tracepoint.
12872 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
12873 the normal tracepoints.
12874 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
12876 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
12878 * save-trace.exp: Factor out code to these...
12879 (gdb_save_tracepoints): New.
12880 (gdb_load_tracepoints): New.
12881 (do_save_load_test): New.
12883 2015-11-23 Kevin Buettner <kevinb@redhat.com>
12885 * gdb.base/asmlabel.exp: New test.
12886 * gdb.base/asmlabel.c: New test case.
12888 2015-11-23 Joel Brobecker <brobecker@adacore.com>
12890 * gdb.base/wrong_frame_bt_full-main.c: New file.
12891 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
12892 * gdb.base/wrong_frame_bt_full.exp: New file.
12894 2015-11-23 Joel Brobecker <brobecker@adacore.com>
12896 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
12898 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
12900 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
12901 pstate register when comparing registers values in
12902 sparc64-*-linux-gnu targets to avoid spurious differences.
12904 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
12906 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
12908 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
12910 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
12911 as type argument to gdb_compile.
12912 * gdb.base/nested-subp2.exp: Likewise.
12913 * gdb.base/nested-subp3.exp: Likewise.
12915 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
12917 * lib/dwarf.exp (_note): Fix left shift of negative value.
12918 * gdb.trace/trace-condition.exp: Likewise.
12920 2015-11-13 Yao Qi <yao.qi@linaro.org>
12922 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
12923 comments about d10v.
12924 (test_scalar_returns): Likewise.
12925 * gdb.base/d10v.ld: Remove.
12926 * gdb.base/overlays.exp: Remove the target triplet checking for
12928 * gdb.base/structs.exp (test_struct_returns): Remove the
12929 comments about d10v.
12930 (test_struct_calls): Likewise.
12932 2015-11-13 Yao Qi <yao.qi@linaro.org>
12934 * gdb.base/gnu_vector.exp: Check the return value by "p res".
12935 * gdb.base/gnu_vector.c: Don't include stdio.h.
12936 (main): Don't print res and call add_some_intvecs.
12938 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
12940 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
12943 (func4): Use FAST_TRACEPOINT_LABEL.
12944 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
12947 (thread_function): Use FAST_TRACEPOINT_LABEL.
12948 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
12950 (marker): Use FAST_TRACEPOINT_LABEL.
12951 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
12952 (pendfunc1): Remove.
12953 (pendfunc): Use FAST_TRACEPOINT_LABEL.
12954 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
12956 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
12957 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
12960 (marker): Use FAST_TRACEPOINT_LABEL.
12961 * gdb.trace/trace-common.h: New header.
12962 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
12965 (marker): Use FAST_TRACEPOINT_LABEL.
12966 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
12968 (thread_function): Use FAST_TRACEPOINT_LABEL.
12970 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
12972 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
12974 * gdb.trace/change-loc.exp: Use global pcreg definition.
12975 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
12976 * gdb.trace/entry-values.exp: Use global spreg definition, add $
12978 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
12979 * gdb.trace/pending.exp: Likewise.
12980 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
12981 * gdb.trace/trace-break.exp: Likewise.
12982 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
12984 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
12985 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
12987 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
12989 2015-11-09 Joel Brobecker <brobecker@adacore.com>
12991 * gdb.ada/fin_fun_out: New testcase.
12993 2015-11-07 Kevin Buettner <kevinb@redhat.com>
12995 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
12996 value associated with DW_AT_byte_size.
12997 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
12998 constants for DW_AT_byte_size, DW_AT_lower_bound, and
13001 2015-11-07 Kevin Buettner <kevinb@redhat.com>
13003 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
13004 (gdb_target_symbol_prefix_flags): Define in terms of _asm
13006 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
13007 gdb.dwarf2/dw2-canonicalize-type.exp,
13008 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
13009 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
13010 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
13011 provided by gdb_target_symbol_prefix_flags_asm.
13012 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
13013 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
13014 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
13015 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
13016 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
13017 macros where needed). Use this macro for symbols which require
13018 the prefix provided by SYMBOL_PREFIX.
13020 2015-11-05 Kevin Buettner <kevinb@redhat.com>
13022 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
13024 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
13025 representing expressions, of more than one list element.
13026 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
13027 to prepend linker symbol prefix to f.
13028 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
13029 table_1 and table_2.
13030 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
13031 Likewise, for f and g.
13032 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
13034 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
13036 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
13037 table_1_ptr and table_2_ptr.
13039 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13040 Joel Brobecker <brobecker@adacore.com>
13042 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
13044 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
13046 * gdb.reverse/s390-mvcle.c: New test.
13047 * gdb.reverse/s390-mvcle.exp: New file.
13048 * lib/gdb.exp: Enable reverse tests on s390*-linux.
13050 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
13052 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
13054 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
13056 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
13058 * gdb.reverse/getresuid-reverse.exp: Likewise.
13059 * gdb.reverse/pipe-reverse.exp: Likewise.
13060 * gdb.reverse/readv-reverse.exp: Likewise.
13061 * gdb.reverse/recvmsg-reverse.exp: Likewise.
13062 * gdb.reverse/time-reverse.exp: Likewise.
13063 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
13065 2015-10-30 Yao Qi <yao.qi@linaro.org>
13067 * gdb.threads/wp-replication.c (watch_count_done): Remove.
13068 (empty_cycle): Remove.
13069 (main): Don't call empty_cycle. Don't use watch_count_done.
13070 * gdb.threads/wp-replication.exp: Don't set breakpoint on
13071 empty_cycle. Rewrite the code counting HW watchpoints.
13073 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
13075 * gdb.reverse/fstatat-reverse.c: New test.
13076 * gdb.reverse/fstatat-reverse.exp: New file.
13077 * gdb.reverse/getresuid-reverse.c: New test.
13078 * gdb.reverse/getresuid-reverse.exp: New file.
13079 * gdb.reverse/pipe-reverse.c: New test.
13080 * gdb.reverse/pipe-reverse.exp: New file.
13081 * gdb.reverse/readv-reverse.c: New test.
13082 * gdb.reverse/readv-reverse.exp: New file.
13083 * gdb.reverse/recvmsg-reverse.c: New test.
13084 * gdb.reverse/recvmsg-reverse.exp: New file.
13085 * gdb.reverse/time-reverse.c: New test.
13086 * gdb.reverse/time-reverse.exp: New file.
13087 * gdb.reverse/waitpid-reverse.c: New test.
13088 * gdb.reverse/waitpid-reverse.exp: New file.
13090 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
13092 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
13094 2015-10-26 Doug Evans <dje@google.com>
13097 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
13098 * gdb.dwarf2/bad-regnum.c: New file.
13099 * gdb.dwarf2/bad-regnum.exp: New file.
13101 2015-10-26 Doug Evans <dje@google.com>
13104 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
13107 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13109 * gdb.compile/compile.exp (compile code globalvar): Update expectation
13110 for a change by "Mention language in compile error message".
13112 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
13115 * gdb.python/py-type.c (C::a_method): New.
13116 (C::a_const_method): New.
13117 (C::a_static_method): New.
13119 * gdb.python/py-type.exp (test_fields): Test getting fields
13120 from function and method.
13122 2015-10-21 Keven Boell <keven.boell@intel.com>
13124 * gdb.fortran/vla-alloc-assoc.exp: New file.
13125 * gdb.fortran/vla-datatypes.exp: New file.
13126 * gdb.fortran/vla-datatypes.f90: New file.
13127 * gdb.fortran/vla-history.exp: New file.
13128 * gdb.fortran/vla-ptype-sub.exp: New file.
13129 * gdb.fortran/vla-ptype.exp: New file.
13130 * gdb.fortran/vla-sizeof.exp: New file.
13131 * gdb.fortran/vla-sub.f90: New file.
13132 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
13133 * gdb.fortran/vla-value-sub-finish.exp: New file.
13134 * gdb.fortran/vla-value-sub.exp: New file.
13135 * gdb.fortran/vla-value.exp: New file.
13136 * gdb.fortran/vla-ptr-info.exp: New file.
13137 * gdb.mi/mi-vla-fortran.exp: New file.
13138 * gdb.mi/vla.f90: New file.
13140 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
13142 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
13143 of hardwired timeout value.
13145 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13146 Pedro Alves <palves@redhat.com>
13148 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
13149 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
13151 2015-10-19 Josh Stone <jistone@redhat.com>
13153 * gdb.base/catch-syscall.c: Include <sched.h>.
13154 (unknown_syscall): New variable.
13155 (main): Trigger a vfork and an unknown syscall.
13156 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
13157 (unknown_syscall_number): Likewise.
13158 (check_call_to_syscall): Accept an optional syscall pattern.
13159 (check_return_from_syscall): Likewise.
13160 (check_continue): Likewise.
13161 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
13162 (test_catch_syscall_skipping_return): New test toggling off 'catch
13163 syscall' to step over the syscall return, then toggling back on.
13164 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
13165 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
13166 (do_syscall_tests): Call test_catch_syscall_without_args and
13167 test_catch_syscall_mid_vfork.
13168 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
13169 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
13171 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
13173 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
13174 print g_vE): Add new pass patterns.
13175 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
13176 print various symbol names for vptr fields.
13178 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
13180 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
13183 2015-10-12 Yao Qi <yao.qi@linaro.org>
13185 * gdb.arch/disp-step-insn-reloc.exp: New test case.
13187 2015-10-12 Yao Qi <yao.qi@linaro.org>
13189 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
13190 is aarch64*-*-linux*.
13192 2015-10-12 Yao Qi <yao.qi@linaro.org>
13194 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
13195 (can_relocate_bcond_true): ... it.
13196 (can_relocate_bcond_false): New function.
13198 (can_relocate_bl): Likewise.
13199 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
13202 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
13204 * gdb.base/nested-addr.c: New file.
13205 * gdb.base/nested-addr.exp: New testcase.
13207 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
13209 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
13210 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
13211 its output. Ignore the output of "record goto begin" and instead
13212 check that GDB is replaying.
13214 2015-10-09 Pedro Alves <palves@redhat.com>
13216 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
13217 (top level): Use it in the run with no args test.
13219 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
13221 * gdb.dlang/properties.exp: New file.
13223 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
13225 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
13226 whether or not address 0x1000 is mapped on the target.
13228 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
13230 * gdb.python/py-type.exp: Do not run tests if binaries fail to
13233 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
13235 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
13236 instruction-history test.
13238 2015-09-28 Doug Evans <dje@google.com>
13240 * gdb.base/gcore.c (array_func): Add reference to static_array.
13242 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
13244 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
13247 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
13249 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
13250 short or char as base type.
13252 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
13254 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
13255 to allow any size enum.
13257 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
13259 * gdb.ada/array_ptr_renaming.exp: New testcase.
13260 * gdb.ada/array_ptr_renaming/foo.adb: New file.
13261 * gdb.ada/array_ptr_renaming/pack.ads: New file.
13263 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
13265 * gdb.trace/ftrace-lock.c: New file.
13266 * gdb.trace/ftrace-lock.exp: New file.
13268 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
13270 * gdb.arch/insn-reloc.c: New file.
13271 * gdb.arch/ftrace-insn-reloc.exp: New file.
13273 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
13275 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
13277 * gdb.trace/pendshr1.c (pendfunc): Likewise.
13278 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
13279 * gdb.trace/range-stepping.c: Likewise.
13280 * gdb.trace/trace-break.c: Likewise.
13281 * gdb.trace/trace-mt.c (thread_function): Likewise.
13282 * gdb.trace/ftrace.c (marker): Likewise.
13283 * gdb.trace/trace-condition.c (marker): Likewise.
13284 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
13285 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
13288 2015-09-18 Doug Evans <xdje42@gmail.com>
13290 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
13291 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
13293 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13295 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
13298 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13300 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
13301 the pending breakpoint. Remove timeout override for "Run till
13302 MI pending breakpoint on pendfunc3 on thread 2" test.
13304 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13306 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
13309 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13311 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
13312 in breakpoint filename pattern.
13314 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13316 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
13318 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
13320 * gdb.linespec/explicit.exp: Check for readline support for
13321 tab-completion tests. Fix obvious typo.
13323 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
13325 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
13328 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
13330 * gdb.btrace/non-stop.c: New.
13331 * gdb.btrace/non-stop.exp: New.
13333 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
13334 Yao Qi <yao.qi@linaro.org>
13336 * gdb.trace/trace-condition.c: New file.
13337 * gdb.trace/trace-condition.exp: New file.
13339 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
13341 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
13342 for testing bytecode compilation.
13344 2015-09-16 Pedro Alves <palves@redhat.com>
13345 Sandra Loosemore <sandra@codesourcery.com>
13347 * gdb.threads/non-stop-fair-events.c (timeout): New global.
13348 (SECONDS): Redefine.
13349 (main): Call pthread_kill and alarm early.
13350 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
13352 (test): If the target can't hardware step and doesn't support
13353 displaced stepping, increase the timeout.
13355 2015-09-16 Pedro Alves <palves@redhat.com>
13357 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
13358 (enable_debug): New procedures.
13359 (test): Use them. Bail out if waiting for threads fails.
13360 (top level): Bail out if a test fails.
13362 2015-09-16 Yao Qi <yao.qi@linaro.org>
13364 * gdb.asm/asm-source.exp: Set asm-arch for
13365 aarch64*-*-* target.
13366 * gdb.asm/aarch64.inc: New file.
13368 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
13370 * gdb.ada/array_of_variable_length.exp: New testcase.
13371 * gdb.ada/array_of_variable_length/foo.adb: New file.
13372 * gdb.ada/array_of_variable_length/pck.adb: New file.
13373 * gdb.ada/array_of_variable_length/pck.ads: New file.
13375 2015-09-15 Doug Evans <dje@google.com>
13377 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
13378 of function static local variable.
13380 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
13382 * gdb.threads/tls-so_extern.exp: New test file.
13383 * gdb.threads/tls-so_extern.c: New test file.
13384 * gdb.threads/tls-so_extern_main.c: New test file.
13386 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13388 * gdb.opt/solib-intra-step-lib.c: New file.
13389 * gdb.opt/solib-intra-step-main.c: New file.
13390 * gdb.opt/solib-intra-step.exp: New file.
13392 2015-09-15 Pedro Alves <palves@redhat.com>
13394 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
13395 gdb_continue_to_breakpoint instead of gdb_test_multiple.
13397 2015-09-14 Pedro Alves <palves@redhat.com>
13399 * gdb.base/hook-stop-continue.c: Delete.
13400 * gdb.base/hook-stop-continue.exp: Delete.
13401 * gdb.base/hook-stop-frame.c: Delete.
13402 * gdb.base/hook-stop-frame.exp: Delete.
13403 * gdb.base/hook-stop.c: New file.
13404 * gdb.base/hook-stop.exp: New file.
13406 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
13408 * gdb.ada/access_to_packed_array.exp: New testcase.
13409 * gdb.ada/access_to_packed_array/foo.adb: New file.
13410 * gdb.ada/access_to_packed_array/pack.adb: New file.
13411 * gdb.ada/access_to_packed_array/pack.ads: New file.
13413 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
13415 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
13418 2015-09-11 Don Breazeal <donb@codesourcery.com>
13420 * gdb.base/foll-exec.c: Add copyright header. Fix
13422 * gdb.base/foll-exec.exp (zap_session): Delete proc.
13423 (do_exec_tests): Use clean_restart in place of zap_session,
13424 and for test initialization. Fix formatting issues. Use
13425 fail in place of perror.
13426 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
13427 an expect statement to match an expression with output from
13428 the program under debug.
13429 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
13430 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
13431 * gdb.threads/non-ldr-exc-2.exp: Likewise.
13432 * gdb.threads/non-ldr-exc-3.exp: Likewise.
13433 * gdb.threads/non-ldr-exc-4.exp: Likewise.
13435 2015-09-09 Doug Evans <dje@google.com>
13437 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
13439 2015-09-09 Doug Evans <dje@google.com>
13441 * gdb.base/pie-execl.exp: Fix result test of build_executable.
13443 2015-09-09 Doug Evans <dje@google.com>
13445 * gdb.base/savedregs.exp: Fix typo.
13447 2015-09-09 Pedro Alves <palves@redhat.com>
13449 * gdb.mi/mi-cli.exp: Add CLI finish tests.
13451 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
13453 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
13454 command actually switches threads. Give up on remaining
13455 tests if target fails to stop at breakpoint.
13457 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
13459 * gdb.ada/funcall_char.exp: New testcase.
13460 * gdb.ada/funcall_char/foo.adb: New file.
13462 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
13464 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
13465 expected outputs. Add two testcases for completing ambiguous
13467 * gdb.ada/complete/aux_pck.adb: New file.
13468 * gdb.ada/complete/aux_pck.ads: New file.
13469 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
13470 Ambiguous_Func functions.
13471 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
13472 * gdb.ada/complete/pck.adb: Likewise.
13474 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
13476 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
13477 failures to run the test program under GDB.
13479 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
13481 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
13484 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
13486 * gdb.base/run-after-attach.exp: New test file.
13487 * gdb.base/run-after-attach.c: New test file.
13489 2015-08-26 Don Breazeal <donb@codesourcery.com>
13491 * gdb.base/foll-exec-2.c: New test program.
13492 * gdb.base/foll-exec-2.exp: New test.
13494 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
13496 * gdb.base/nested-subp1.exp: New file.
13497 * gdb.base/nested-subp1.c: New file.
13498 * gdb.base/nested-subp2.exp: New file.
13499 * gdb.base/nested-subp2.c: New file.
13500 * gdb.base/nested-subp3.exp: New file.
13501 * gdb.base/nested-subp3.c: New file.
13503 2015-08-24 Pedro Alves <palves@redhat.com>
13505 * gdb.server/connect-without-multi-process.c: New file.
13506 * gdb.server/connect-without-multi-process.exp: New file.
13508 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
13510 * gdb.opt/inline-markers.c: Make z int.
13512 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
13514 * gdb.opt/inline-markers.c: Make z volatile.
13516 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
13518 * gdb.opt/inline-bt.c: New volatile global z.
13519 * gdb.opt/inline-cmds.c: Likewise.
13520 * gdb.opt/inline-locals.c: Likewise.
13521 * gdb.opt/inline-markers.c: New extern global z.
13523 (inline_fn): Likewise.
13525 2015-08-24 Pedro Alves <palves@redhat.com>
13527 * config/m32r-stub.exp: Remove file.
13528 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
13529 * gdb.base/call-rt-st.exp: Likewise.
13530 * gdb.base/call-strs.exp: Likewise.
13531 * gdb.base/default.exp: Remove references to h8300-*-hms and
13533 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
13535 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
13537 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
13538 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
13539 and "return" use KFAIL when GDB can not read/write the vector
13542 2015-08-21 Gary Benson <gbenson@redhat.com>
13544 * gdb.trace/pending.exp: Cope with remote transfer warnings.
13546 2015-08-20 Pedro Alves <palves@redhat.com>
13548 * gdb.server/solib-list.exp: No longer expect an interior stop in
13551 2015-08-20 Pedro Alves <palves@redhat.com>
13553 * gdb.server/connect-stopped-target.c: New file.
13554 * gdb.server/connect-stopped-target.exp: New file.
13556 2015-08-20 Pedro Alves <palves@redhat.com>
13558 * gdb.dwarf2/comp-unit-lang.exp: New file.
13559 * gdb.dwarf2/comp-unit-lang.c: New file.
13561 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
13563 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
13564 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
13566 2015-08-19 Kevin Buettner <kevinb@redhat.com>
13568 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
13569 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
13571 2015-08-18 Doug Evans <dje@google.com>
13572 Adrian Sendroiu <adrian.sendroiu@freescale.com>
13574 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
13575 skip_python_tests. New arg prompt_regexp.
13576 (skip_python_tests): New function.
13577 * lib/mi-support.exp (mi_skip_python_tests): New function.
13578 * gdb.python/py-mi-objfile-gdb.py: New file.
13579 * gdb.python/py-mi-objfile.c: New file.
13580 * gdb.python/py-mi-objfile.exp: New file.
13582 2015-08-17 Keith Seitz <keiths@redhat.com>
13584 * gdb.linespec/explicit.exp: Move strace test from here ...
13585 * gdb.trace/strace.exp: ... to here.
13587 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
13589 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
13590 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
13592 2015-08-14 Doug Evans <xdje42@gmail.com>
13594 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
13595 inferior before selecting a new file.
13597 2015-08-14 Doug Evans <xdje42@gmail.com>
13599 * gdb.mi/mi-disassemble.exp: Update.
13600 * gdb.base/disasm-optim.S: New file.
13601 * gdb.base/disasm-optim.c: New file.
13602 * gdb.base/disasm-optim.h: New file.
13603 * gdb.base/disasm-optim.exp: New file.
13605 2015-08-14 Keith Seitz <keiths@redhat.com>
13607 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
13610 2015-08-13 Joel Brobecker <brobecker@adacore.com>
13612 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
13614 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
13616 * gdb.ada/fun_renaming.exp: New testcase.
13617 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
13618 * gdb.ada/fun_renaming/pack.adb: New file.
13619 * gdb.ada/fun_renaming/pack.ads: New file.
13621 2015-08-12 Keith Seitz <keiths@redhat.com>
13623 * gdb.base/dso2dso.exp: Pass basename of source file in call to
13624 gdb_get_line_number.
13626 2015-08-12 Joel Brobecker <brobecker@adacore.com>
13628 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
13629 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
13630 gdb.base/dso2dso.exp: New files.
13632 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
13633 Pedro Alves <palves@redhat.com>
13634 Keith Seitz <keiths@redhat.com>
13636 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
13639 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
13641 * gdb.base/gdbhistsize-history.exp
13642 (test_histsize_history_setting): Use save_vars.
13643 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
13645 (test_no_truncation_of_unlimited_history_file): Use save_vars.
13646 * gdb.base/readline.exp: Use save_vars.
13648 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
13650 * lib/gdb.exp (save_vars): New proc.
13652 2015-08-11 Keith Seitz <keiths@redhat.com>
13654 * gdb.base/help.exp: Update help_breakpoint_text.
13656 2015-08-11 Keith Seitz <keiths@redhat.com>
13658 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
13659 (at toplevel): Call test_explicit_breakpoints.
13660 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
13662 * lib/mi-support.exp (mi_make_breakpoint): Add support for
13663 breakpoint conditions, "-cond".
13665 2015-08-11 Keith Seitz <keiths@redhat.com>
13667 * gdb.linespec/3explicit.c: New file.
13668 * gdb.linespec/cpexplicit.cc: New file.
13669 * gdb.linespec/cpexplicit.exp: New file.
13670 * gdb.linespec/explicit.c: New file.
13671 * gdb.linespec/explicit.exp: New file.
13672 * gdb.linespec/explicit2.c: New file.
13673 * gdb.linespec/ls-errs.exp: Add explicit location tests.
13674 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
13675 before using in the matching pattern.
13676 Clarify that `prefix' is a regular expression.
13678 2015-08-11 Keith Seitz <keiths@redhat.com>
13680 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
13682 Add tests for missing ",FMT" and ",".
13684 2015-08-10 Doug Evans <dje@google.com>
13685 Keith Seitz <keiths@redhat.com>
13688 * gdb.base/completion.exp: Add location completer tests.
13690 2015-08-07 Pedro Alves <palves@redhat.com>
13692 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
13694 (top level): Run do_test with and without displaced stepping.
13696 2015-08-07 Pedro Alves <palves@redhat.com>
13698 * gdb.base/valgrind-disp-step.c: New file.
13699 * gdb.base/valgrind-disp-step.exp: New file.
13701 2015-08-07 Pedro Alves <palves@redhat.com>
13703 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
13705 (main): Add alarm. Run an infinite loop instead of calling
13707 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
13709 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
13711 (main): Add alarm. Run an infinite loop instead of calling
13713 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
13716 2015-08-07 Pedro Alves <palves@redhat.com>
13718 * gdb.base/checkpoint-ns.exp: New file.
13719 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
13722 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
13724 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
13725 * gdb.btrace/instruction_history.exp: Update.
13726 * gdb.btrace/tsx.exp: New.
13727 * gdb.btrace/tsx.c: New.
13729 2015-08-06 Pedro Alves <palves@redhat.com>
13731 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
13733 * gdb.reverse/until-precsave.exp: Bump timeouts.
13735 2015-08-06 Pedro Alves <palves@redhat.com>
13737 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
13739 2015-08-06 Pedro Alves <palves@redhat.com>
13742 * gdb.threads/process-dies-while-handling-bp.c: New file.
13743 * gdb.threads/process-dies-while-handling-bp.exp: New file.
13745 2015-08-06 Pedro Alves <palves@redhat.com>
13747 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
13748 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
13750 2015-08-05 Pedro Alves <palves@redhat.com>
13752 * gdb.threads/next-while-other-thread-longjmps.c: New file.
13753 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
13755 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
13757 * gdb.base/bp-permanent.exp: Report test as unsupported if
13758 the target cannot stop at the permanent breakpoint.
13760 2015-08-03 Doug Evans <dje@google.com>
13762 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
13765 2015-08-03 Doug Evans <dje@google.com>
13767 * Makefile.in (workers/%.worker, build-perf): New rule.
13768 (GDB_PERFTEST_MODE): New variable.
13769 (check-perf): Use it.
13770 (clean): Clean up gdb.perf parallel build subdirs.
13771 * lib/build-piece.exp: New file.
13772 * lib/gdb.exp (make_gdb_parallel_path): New function
13773 (standard_output_file, standard_temp_file): Call it.
13774 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
13776 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
13778 2015-08-03 Doug Evans <dje@google.com>
13780 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
13781 (LOG_FILE_NAME): New global.
13782 (TextReporter.__init__): Initialize self.txt_sum.
13783 (TextReporter.report): Add support for multiple data-points.
13784 Move report to perftest.sum, put raw data in perftest.log.
13785 (TextReporter.start): Open sum and log files.
13786 (TextReporter.end): Close sum and log files.
13787 * gdb.perf/lib/perftest/testresult.py
13788 (SingleStatisticTestResult.record): Handle multiple data-points.
13790 2015-07-31 Pedro Alves <palves@redhat.com>
13792 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
13793 Use spawn_id_get_pid. Wait for spawn id after eof. Use
13794 kill_wait_spawned_process instead of explicit "kill -9".
13795 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
13796 returning a spawn id instead of a pid. Use spawn_id_get_pid and
13797 kill_wait_spawned_process.
13798 * gdb.base/attach-twice.exp: Likewise.
13799 * gdb.base/attach.exp: Likewise.
13800 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
13802 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
13803 returning a spawn id instead of a pid. Use spawn_id_get_pid and
13804 kill_wait_spawned_process.
13805 * gdb.base/valgrind-infcall.exp: Likewise.
13806 * gdb.multi/multi-attach.exp: Likewise.
13807 * gdb.python/py-prompt.exp: Likewise.
13808 * gdb.python/py-sync-interp.exp: Likewise.
13809 * gdb.server/ext-attach.exp: Likewise.
13810 * gdb.threads/attach-into-signal.exp (corefunc): Use
13811 spawn_wait_for_attach, spawn_id_get_pid and
13812 kill_wait_spawned_process.
13813 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
13814 spawn_wait_for_attach returning a spawn id instead of a pid. Use
13815 spawn_id_get_pid and kill_wait_spawned_process.
13816 * gdb.threads/attach-stopped.exp (corefunc): Use
13817 spawn_wait_for_attach, spawn_id_get_pid and
13818 kill_wait_spawned_process.
13819 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
13820 Use spawn_id_get_pid. Wait for spawn id after eof. Use
13821 kill_wait_spawned_process instead of explicit "kill -9".
13822 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
13823 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
13824 (spawn_wait_for_attach): Use spawn instead of exec to spawn
13825 processes. Don't map cygwin/windows pids here. Now returns a
13828 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13830 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
13831 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
13834 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13836 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
13838 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
13841 2014-05-21 Mark Wielaard <mjw@redhat.com>
13843 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
13845 2015-07-30 Pedro Alves <palves@redhat.com>
13847 * linux-low.c (handle_extended_wait): Set the child's last
13848 reported status to TARGET_WAITKIND_STOPPED.
13850 2015-07-30 Pedro Alves <palves@redhat.com>
13853 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
13854 only shows inferior 1.
13856 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
13857 Pedro Alves <palves@redhat.com>
13860 * gdb.threads/fork-plus-threads.c: New file.
13861 * gdb.threads/fork-plus-threads.exp: New file.
13863 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13865 * gdb.base/batch-preserve-term-settings.exp
13866 (test_terminal_settings_preserved_after_cli_exit): Use
13869 2015-07-29 Pedro Alves <palves@redhat.com>
13870 Don Breazeal <donb@codesourcery.com>
13872 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
13873 output from both inferior_spawn_id and gdb_spawn_id.
13875 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
13877 * gdb.threads/attach-into-signal.exp (corefunc): Use
13878 with_test_prefix on nested loops, uniquefying the test messages.
13880 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
13882 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
13885 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13887 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
13889 (test_terminal_settings_preserved_after_sigterm): New test.
13891 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13893 * gdb.base/batch-preserve-term-settings.exp
13894 (test_terminal_settings_preserved_after_cli_exit): New test.
13896 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
13898 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
13899 manipulation of saved_gdbflags.
13900 (test_terminal_settings_preserved): Remove global declaration of
13901 the unused variable pagination_prompt. Remove manipulation of
13902 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
13905 2015-07-29 Pedro Alves <palves@redhat.com>
13907 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
13909 2015-07-29 Pedro Alves <palves@redhat.com>
13911 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
13914 2015-07-29 Pedro Alves <palves@redhat.com>
13916 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
13917 (main): Call gdb_unbuffer_output.
13918 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
13919 (main): Call gdb_unbuffer_output.
13920 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
13921 (main): Call gdb_unbuffer_output.
13922 * gdb.base/call-strs.exp: Adjust to step over the
13923 gdb_unbuffer_output call.
13924 * gdb.base/catch-gdb-caused-signals.c: Include
13925 "../lib/unbuffer_output.c".
13926 (main): Call gdb_unbuffer_output.
13927 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
13928 (main): Call gdb_unbuffer_output.
13929 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
13930 (main): Call gdb_unbuffer_output.
13931 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
13932 (main): Call gdb_unbuffer_output.
13933 * gdb.base/shlib-call.exp: Adjust to step over the
13934 gdb_unbuffer_output call.
13935 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
13936 (main): Call gdb_unbuffer_output.
13937 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
13938 (main): Call gdb_unbuffer_output.
13939 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
13940 (main): Rename to ...
13942 (main): Reimplement.
13943 * gdb.base/varargs.exp: Run to test instead of to main.
13944 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
13945 (main): Call gdb_unbuffer_output.
13947 2015-07-29 Pedro Alves <palves@redhat.com>
13949 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
13950 factore out from mi_continue_dprintf. For call-style dprintfs,
13951 expect dprintf output out of $inferior_spawn_id.
13952 (mi_continue_dprintf): Use mi_expect_dprintf.
13953 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
13954 (main): Call gdb_unbuffer_output.
13956 2015-07-29 Pedro Alves <palves@redhat.com>
13958 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
13959 (default_mi_gdb_start): Set inferior_spawn_id instead of
13960 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
13962 (mi_gdb_test): Always expect inferior output from both
13963 $inferior_spawn_id and $gdb_spawn_id.
13965 2015-07-29 Pedro Alves <palves@redhat.com>
13967 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
13968 send_inferior and $inferior_spawn_id.
13970 2015-07-29 Pedro Alves <palves@redhat.com>
13972 * gdb.gdb/complaints.exp (test_initial_complaints)
13973 (test_serial_complaints, test_short_complaints): Use
13975 (test_empty_complaint): Handle $inferior_spawn_id !=
13978 2015-07-29 Pedro Alves <palves@redhat.com>
13980 * gdb.base/varargs.exp: Use gdb_test_stdio.
13982 2015-07-29 Pedro Alves <palves@redhat.com>
13984 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
13986 2015-07-29 Pedro Alves <palves@redhat.com>
13988 * gdb.base/ending-run.exp: Use gdb_test_stdio.
13990 2015-07-29 Pedro Alves <palves@redhat.com>
13992 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
13993 parameter into two new parameters, "inf_result" and "gdb_result".
13994 Expect inferior output and gdb output from $inferior_spawn_id and
13995 $gdb_spawn_id, respectively. Adjust all callers.
13997 2015-07-29 Pedro Alves <palves@redhat.com>
13999 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
14000 of gdb_test_sequence.
14002 2015-07-29 Pedro Alves <palves@redhat.com>
14004 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
14005 (saw_spurious_output): Expect inferior output from
14006 $inferior_spawn_id. Use gdb_test_stdio.
14008 2015-07-29 Pedro Alves <palves@redhat.com>
14010 * gdb.base/dprintf.exp: Use standard_testfile. Change
14011 prepare_for_testing call.
14012 (srcfile): Don't set.
14013 (restart): New procedure.
14014 (test_dprintf): New procecure, use to continue over dprintfs.
14015 (test_call, test_agent): New procedures, tests moved here.
14016 Restart gdb and recreate dprintfs. Adjust expected output.
14018 2015-07-29 Pedro Alves <palves@redhat.com>
14020 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
14022 2015-07-29 Pedro Alves <palves@redhat.com>
14024 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
14026 2015-07-29 Pedro Alves <palves@redhat.com>
14028 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
14031 2015-07-29 Pedro Alves <palves@redhat.com>
14033 * lib/gdb.exp (gdb_test_stdio): New procedure.
14035 2015-07-29 Pedro Alves <palves@redhat.com>
14037 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
14039 2015-07-29 Pedro Alves <palves@redhat.com>
14041 * gdb.base/call-signal-resume.exp: Remove check for
14042 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
14043 * gdb.base/unwindonsignal.exp: Likewise.
14044 * gdb.base/call-signals.c (gen_signal): Remove printf call.
14045 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
14047 2015-07-29 Pedro Alves <palves@redhat.com>
14049 * gdb.base/siginfo-addr.c (pass): New function.
14050 (handler): Call it iff si_addr is correct.
14051 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
14052 Set a breakpoint at "pass" and continue to it.
14054 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
14056 * gdb.python/py-objfile.exp: Make some tests have unique names.
14057 * gdb.python/py-pp-registration.exp: Likewise.
14059 2015-07-28 Pedro Alves <palves@redhat.com>
14061 * gdb.server/server-exec-info.exp: Issue a "disconnect".
14063 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
14065 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
14067 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
14069 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
14071 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
14073 * gdb.base/gdb-sigterm-2.exp: New test.
14075 2015-07-25 Doug Evans <xdje42@gmail.com>
14078 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
14079 (workers/%.worker, build-perf): New rule.
14080 (GDB_PERFTEST_MODE): New variable.
14081 (check-perf): Use it.
14082 (clean): Clean up gdb.perf parallel build subdirs.
14083 * lib/build-piece.exp: New file.
14084 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
14085 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
14087 (standard_temp_file): Ditto.
14088 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
14091 2015-07-24 Doug Evans <dje@google.com>
14093 * gdb.perf/lib/perftest/utils.py: New file.
14094 * gdb.perf/gm-hello.cc: New file.
14095 * gdb.perf/gm-pervasive-typedef.cc: New file.
14096 * gdb.perf/gm-pervasive-typedef.h: New file.
14097 * gdb.perf/gm-std.cc: New file.
14098 * gdb.perf/gm-std.h: New file.
14099 * gdb.perf/gm-use-cerr.cc: New file.
14100 * gdb.perf/gm-utils.h: New file.
14101 * gdb.perf/gmonster-null-lookup.py: New file.
14102 * gdb.perf/gmonster-pervasive-typedef.py: New file.
14103 * gdb.perf/gmonster-print-cerr.py: New file.
14104 * gdb.perf/gmonster-ptype-string.py: New file.
14105 * gdb.perf/gmonster-runto-main.py: New file.
14106 * gdb.perf/gmonster-select-file.py: New file.
14107 * gdb.perf/gmonster1-null-lookup.exp: New file.
14108 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
14109 * gdb.perf/gmonster1-print-cerr.exp: New file.
14110 * gdb.perf/gmonster1-ptype-string.exp: New file.
14111 * gdb.perf/gmonster1-runto-main.exp: New file.
14112 * gdb.perf/gmonster1-select-file.exp: New file.
14113 * gdb.perf/gmonster1.cc: New file.
14114 * gdb.perf/gmonster1.exp: New file.
14115 * gdb.perf/gmonster2-null-lookup.exp: New file.
14116 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
14117 * gdb.perf/gmonster2-print-cerr.exp: New file.
14118 * gdb.perf/gmonster2-ptype-string.exp: New file.
14119 * gdb.perf/gmonster2-runto-main.exp: New file.
14120 * gdb.perf/gmonster2-select-file.exp: New file.
14121 * gdb.perf/gmonster2.cc: New file.
14122 * gdb.perf/gmonster2.exp: New file.
14124 2015-07-24 Doug Evans <dje@google.com>
14126 * gdb.perf/README: New file.
14127 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
14128 * lib/gen-perf-test.exp: New file.
14130 2015-07-24 Doug Evans <dje@google.com>
14132 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
14133 (PerfTest::startup): New function.
14134 (PerfTest::run): Return result of calling body.
14135 (PerfTest::assemble): Rewrite.
14136 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
14137 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
14138 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
14139 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
14140 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
14142 2015-07-24 Doug Evans <dje@google.com>
14144 * lib/gdb.exp (clean_restart): Make executable optional.
14146 2015-07-24 Doug Evans <dje@google.com>
14148 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
14149 compiler_info references.
14150 * gdb.cp/temargs.exp: Ditto.
14151 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
14152 (get_compiler_info): Early exit if already computed. Set compiler_info
14153 to "unknown" if there was a problem.
14154 (test_compiler_info): Add function comment. Call get_compiler_info.
14156 2015-07-24 Doug Evans <dje@google.com>
14158 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
14159 (workers/%.worker, build-perf): New rule.
14160 (GDB_PERFTEST_MODE): New variable.
14161 (check-perf): Use it.
14162 (clean): Clean up gdb.perf parallel build subdirs.
14163 * lib/build-piece.exp: New file.
14164 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
14165 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
14167 (standard_temp_file): Ditto.
14168 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
14171 2015-07-24 Doug Evans <dje@google.com>
14173 * lib/future.exp (gdb_default_target_compile): New option
14175 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
14178 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
14180 * gdb.base/catch-syscall.exp: Call gdb_exit before
14183 2015-07-24 Pedro Alves <palves@redhat.com>
14185 * gdb.python/py-events.exp: Accept output between the stop event
14187 * gdb.python/py-evsignal.exp: Likewise.
14188 * gdb.python/py-evthreads.exp: Likewise.
14190 2015-07-24 Pedro Alves <palves@redhat.com>
14193 * gdb.threads/non-ldr-exit.c: New file.
14194 * gdb.threads/non-ldr-exit.exp: New file.
14196 2015-07-24 Yao Qi <yao.qi@linaro.org>
14198 * gdb.server/ext-wrapper.exp: Test --wrapper option when
14199 restarting process.
14201 2015-07-24 Yao Qi <yao.qi@linaro.org>
14203 * gdb.server/ext-restart.exp: New file.
14205 2015-07-24 Yao Qi <yao.qi@linaro.org>
14207 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
14209 * gdb.server/ext-wrapper.exp: New file.
14211 2015-07-23 Doug Evans <dje@google.com>
14213 * gdb.dwarf2/dw2-dummy-cu.S: New file.
14214 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
14216 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
14218 * gdb.ada/var_arr_typedef.exp: New testcase.
14219 * gdb.ada/var_arr_typedef/pack.adb: New file.
14220 * gdb.ada/var_arr_typedef/pack.ads: New file.
14221 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
14223 2015-07-20 Joel Brobecker <brobecker@adacore.com>
14225 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
14227 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14229 * gdb.arch/i386-biarch-core.exp: Replace istarget
14230 by "complete set gnutarget". Remove expectation for the "core-file"
14233 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14235 Revert the previous commit:
14236 Tests for validate symbol file using build-id.
14238 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
14240 Tests for validate symbol file using build-id.
14241 * gdb.base/solib-mismatch-lib.c: New file.
14242 * gdb.base/solib-mismatch-libmod.c: New file.
14243 * gdb.base/solib-mismatch.c: New file.
14244 * gdb.base/solib-mismatch.exp: New file.
14246 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
14248 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
14250 * gdb.base/sigbpt.exp (stepi_out): Likewise.
14251 * gdb.base/siginfo.exp: Likewise.
14252 * gdb.base/sigstep.exp (advance, advancei): Likewise.
14254 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
14256 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
14258 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
14260 * gdb.trace/range-stepping.exp: Check that the target supports
14263 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14265 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
14267 2015-07-14 Pedro Alves <palves@redhat.com>
14269 * gdb.base/killed-outside.exp: New file.
14270 * gdb.base/killed-outside.c: New file.
14272 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
14274 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
14276 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
14278 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
14280 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
14281 infcall tests instead of setting up for KFAIL.
14283 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
14285 * gdb.btrace/record_goto-step.exp: New.
14287 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
14290 * gdb.compile/compile.c (struct struct_type): Add volatile to
14292 * gdb.compile/compile.exp
14293 (compile code struct_object.selffield = &struct_object): Skip further
14294 struct_object tests if this one xfails.
14296 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
14299 * gdb.trace/ax.exp: Add test.
14301 2015-07-07 Yao Qi <yao.qi@linaro.org>
14303 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
14304 instead of istarget "aarch64*-*-*".
14305 * gdb.arch/aarch64-fp.exp: Likewise.
14306 * gdb.base/float.exp: Likewise.
14307 * gdb.reverse/aarch64.exp: Likewise.
14308 * lib/gdb.exp (is_aarch64_target): New proc.
14310 2015-07-07 Yao Qi <yao.qi@linaro.org>
14312 * lib/gdb.exp (is_aarch32_target): New proc.
14313 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
14314 instead of "istarget "arm*-*-*"".
14315 * gdb.arch/arm-disp-step.exp: Likewise.
14316 * gdb.arch/thumb-bx-pc.exp: Likewise.
14317 * gdb.arch/thumb-prologue.exp: Likewise.
14318 * gdb.arch/thumb-singlestep.exp: Likewise.
14319 * gdb.base/disp-step-syscall.exp: Likewise.
14320 * gdb.base/float.exp: Likewise.
14322 2015-07-07 Yao Qi <yao.qi@linaro.org>
14324 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
14325 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
14327 2015-07-07 Yao Qi <yao.qi@linaro.org>
14329 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
14330 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
14332 * gdb.multi/multi-arch.exp: Likewise.
14334 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
14336 * gdb.python/py-lazy-string.exp: Add missing parentheses to
14339 2015-07-07 Yao Qi <yao.qi@linaro.org>
14341 * gdb.arch/thumb-singlestep.exp: Do one more single step.
14343 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
14345 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
14346 '[' and ']' characters.
14348 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
14350 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
14352 2015-06-29 Pedro Alves <palves@redhat.com>
14355 * gdb.threads/hand-call-new-thread.c: New file.
14356 * gdb.threads/hand-call-new-thread.c: New file.
14358 2015-06-26 Keith Seitz <keiths@redhat.com>
14359 Doug Evans <dje@google.com>
14362 * gdb.cp/var-tag-2.cc: New file.
14363 * gdb.cp/var-tag-3.cc: New file.
14364 * gdb.cp/var-tag-4.cc: New file.
14365 * gdb.cp/var-tag.cc: New file.
14366 * gdb.cp/var-tag.exp: New file.
14368 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
14370 * gdb.base/history-duplicates.exp: New test.
14372 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
14374 * gdb.base/completion.exp: Test the completion of the "focus"
14377 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14379 * gdb.arch/amd64-prologue-skip.S: New file.
14380 * gdb.arch/amd64-prologue-skip.exp: New file.
14382 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
14384 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
14385 is_address_zero_readable check.
14387 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
14389 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
14390 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
14392 2015-06-24 Yao Qi <yao.qi@linaro.org>
14394 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
14397 2015-06-24 Yao Qi <yao.qi@linaro.org>
14399 * lib/gdb.exp (supports_get_siginfo_type): New proc.
14400 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
14401 * gdb.base/siginfo-thread.exp: Likewise.
14403 2015-06-22 Yao Qi <yao.qi@linaro.org>
14405 * boards/remote-gdbserver-on-localhost.exp: Add comments.
14407 2015-06-22 Yao Qi <yao.qi@linaro.org>
14409 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
14411 (skip_hw_watchpoint_tests): Likewise.
14413 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
14415 * gdb.base/gdbinit-history.exp: Test the interaction between
14416 setting GDBHISTSIZE and setting the history size via .gdbinit.
14418 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
14421 * gdb.base/gdbhistsize-history.exp: New test.
14423 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
14425 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
14427 * gdb.base/readline.exp: Likewise.
14429 2015-06-17 Yao Qi <yao.qi@linaro.org>
14431 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
14434 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
14436 * gdb.base/gdbinit-history.exp: Add test case to check that
14437 an unlimited history file does not get truncated on exit.
14439 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14441 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
14442 (VECTOR): New macro. Use it...
14443 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
14444 ...for these typedefs.
14445 (int8, char1, int1, double1): New typedefs.
14446 (struct just_int2, struct two_int2): New structures.
14447 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
14448 (add_structvecs, add_singlevecs): New functions.
14449 (main): Call add_some_intvecs twice.
14450 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
14451 the compile and exit upon failure. Try compiling for the "native"
14452 architecture. Test inferior function calls with vector arguments
14453 and vector return value handling with "finish" and "return".
14455 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
14457 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
14458 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
14460 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
14462 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
14464 PR breakpoints/16465
14465 * gdb.mi/mi-dprintf-pending.c: New file.
14466 * gdb.mi/mi-dprintf-pending.exp: New test.
14467 * gdb.mi/mi-dprintf-pendshr.c: New file.
14469 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
14470 Mircea Gherzan <mircea.gherzan@intel.com>
14472 * gdb.arch/i386-mpx-map.c: New file.
14473 * gdb.arch/i386-mpx-map.exp: New File.
14475 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
14477 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
14478 * gdb.arch/i386-mpx.exp: Indentation fixed.
14480 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
14482 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
14483 function and improved indentation.
14484 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
14485 gdb_test_multiple. Added additional tests to skip the test.
14487 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
14489 * gdb.arch/i386-avx512.c: Change path in include file.
14490 * gdb.arch/i386-avx512.exp: Change include dir path
14492 * gdb.arch/i386-mpx.c: Change path in include file.
14493 * gdb.arch/i386-mpx.exp: Change include dir path compilation
14496 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
14498 * gdb.compile/compile-print.exp (compile print *vararray@3)
14499 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
14501 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14503 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
14504 (do not keep jit in memory): ... this.
14505 (expect 5): Change it to ...
14506 (expect no 5): ... this.
14508 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
14511 * gdb.mi/mi-detach.exp: New file.
14513 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14516 * gdb.arch/amd64-tailcall-self.S: New file.
14517 * gdb.arch/amd64-tailcall-self.c: New file.
14518 * gdb.arch/amd64-tailcall-self.exp: New file.
14520 2015-05-28 Don Breazeal <donb@codesourcery.com>
14522 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
14523 tests for remote targets by checking is_target_gdbserver.
14525 2015-05-27 Doug Evans <dje@google.com>
14527 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
14528 * gdb.dwarf2/opaque-type-lookup.c: New file.
14529 * gdb.dwarf2/opaque-type-lookup.exp: New file.
14531 2015-05-26 Doug Evans <dje@google.com>
14533 * gdb.cp/iostream.cc: New file.
14534 * gdb.cp/iostream.exp: New file.
14536 2015-05-26 Doug Evans <dje@google.com>
14538 * gdb.dwarf2/dw2-op-call.exp: Update.
14539 * gdb.dwarf2/dw4-sig-types.exp: Update.
14540 * gdb.dwarf2/implptr.exp: Update.
14541 * gdb.mi/mi-cmd-param-changed.exp: Update.
14543 2015-05-26 Doug Evans <dje@google.com>
14545 * gdb.python/py-lazy-string.c: New file.
14546 * gdb.python/py-lazy-string.exp: New file.
14547 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
14548 (main): Update. Add estring3.
14549 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
14550 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
14552 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
14553 Yao Qi <yao.qi@linaro.org>
14555 * gdb.reverse/aarch64.c: New.
14556 * gdb.reverse/aarch64.exp: New.
14558 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
14560 * lib/gdb.exp (supports_process_record): Return true for
14562 (supports_reverse): Likewise.
14564 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
14566 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
14567 Use with_test_prefix.
14569 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
14571 * gdb.base/completion.exp: Add test for completion of layout
14574 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
14576 * lib/gdb.exp (skip_tui_tests): New proc.
14577 * gdb.base/tui-layout.exp: Check skip_tui_tests.
14579 2015-05-19 Pedro Alves <palves@redhat.com>
14581 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
14582 Save the whole env array instead of just HOME. Unset HISTSIZE in
14583 the environment while testing. Restore whole environment
14586 2015-05-16 Doug Evans <xdje42@gmail.com>
14588 * gdb.guile/scm-ports.c: New file.
14589 * gdb.guile/scm-ports.exp: Add memory port tests.
14591 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14593 * gdb.compile/compile-print.c: New file.
14594 * gdb.compile/compile-print.exp: New file.
14596 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14598 * gdb.compile/compile-ops.exp: Cast param to void.
14599 * gdb.compile/compile.exp: Complete type for _gdb_expr.
14600 (compile code struct_object.selffield = &struct_object): Add xfail.
14602 2015-05-15 Joel Brobecker <brobecker@adacore.com>
14604 * gdb.ada/arr_enum_with_gap: New testcase.
14606 2015-05-15 Joel Brobecker <brobecker@adacore.com>
14608 * gdb.ada/byte_packed_arr: New testcase.
14610 2015-05-15 Joel Brobecker <brobecker@adacore.com>
14612 * gdb.ada/pckd_neg: New testcase.
14614 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
14617 * gdb.base/gdbinit-history.exp: New test.
14618 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
14619 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
14621 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
14623 * gdb.python/py-xmethods.cc: Enhance test case.
14624 * gdb.python/py-xmethods.exp: New tests.
14625 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
14627 (B_indexoper): Likewise.
14628 (global_dm_list) : Add new xmethod worker functions.
14630 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
14632 * gdb.base/coredump-filter.exp: Correctly unset
14633 "coredump_var_addr" array.
14635 2015-05-08 Pedro Alves <palves@redhat.com>
14637 * gdb.server/non-existing-program.exp: Unset spawn_id.
14639 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
14642 * gdb.python/py-xmethods.exp: Add tests.
14644 2015-05-08 Yao Qi <yao.qi@linaro.org>
14647 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
14648 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
14649 function set_coredump_filter, and remove remote_exec call.
14650 Remove argument ipid. Callers update.
14651 (top level): Don't get inferior's PID.
14653 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
14655 * gdb.base/watch_thread_num.exp: Skip test on targets without
14656 access watchpoints.
14658 2015-05-06 Pedro Alves <palves@redhat.com>
14661 * gdb.server/non-existing-program.exp: New file.
14663 2015-05-05 Joel Brobecker <brobecker@adacore.com>
14665 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
14667 2015-05-05 Joel Brobecker <brobecker@adacore.com>
14669 * gdb.ada/out_of_line_in_inlined: New testcase.
14671 2015-05-05 Joel Brobecker <brobecker@adacore.com>
14673 * gdb.ada/var_rec_arr: New testcase.
14675 2015-04-30 Yao Qi <yao.qi@linaro.org>
14677 * gdb.base/break-idempotent.exp: If
14678 skip_hw_watchpoint_multi_tests returns true, skip the tests
14679 on "rwatch" and "awatch".
14681 2015-04-30 Yao Qi <yao.qi@linaro.org>
14683 * gdb.base/relativedebug.exp: Invoke gdb command
14684 "info sharedlibrary", and if libc.so doesn't have debug info,
14687 2015-04-29 Doug Evans <dje@google.com>
14689 * gdb.python/py-xmethods.exp: Add ptype tests.
14690 * gdb.python/py-xmethods.py (E_method_char_worker): Add
14691 get_result_type method.
14693 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
14695 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
14696 the target does not support hardware watchpoints.
14698 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
14700 * gdb.base/break-always.exp: Abort testing if writing to memory
14703 2015-04-28 Doug Evans <dje@google.com>
14705 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
14706 * gdb.python/py-pp-registration.exp: ... here. New file.
14707 * gdb.python/py-pp-registration.c: New file.
14708 * gdb.python/py-pp-registration.py: New file.
14710 2015-04-28 Doug Evans <dje@google.com>
14712 * gdb.python/py-bad-printers.c: New file.
14713 * gdb.python/py-bad-printers.py: New file.
14714 * gdb.python/py-bad-printers.exp: New file.
14716 2015-04-28 Sasha Smundak <asmundak@google.com>
14718 * gdb.python/py-type.exp: New test.
14720 2015-04-28 Andy Wingo <wingo@igalia.com>
14722 * gdb.python/py-parameter.exp:
14723 * gdb.guile/scm-parameter.exp: Escape the path that we are
14724 matching against, as it might contain characters that are special
14725 to regular expressions.
14727 2015-04-27 Joel Brobecker <brobecker@adacore.com>
14729 * gdb.ada/rec_comp: New testcase.
14731 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
14733 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
14736 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
14738 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
14739 new tests for verilog output.
14741 2015-04-24 Yao Qi <yao.qi@linaro.org>
14743 * boards/remote-gdbserver-on-localhost.exp: New file.
14745 2015-04-23 Pedro Alves <palves@redhat.com>
14747 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
14748 $inferior_spawn_id instead of $inferior_spawn_id directly. On
14749 "end of file", remove $inferior_spawn_id from the indirect list.
14751 2015-04-23 Pedro Alves <palves@redhat.com>
14753 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
14755 2015-04-23 Pedro Alves <palves@redhat.com>
14757 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
14758 on $any_spawn_id instead of only on $gdb_spawn_id.
14760 2015-04-21 Pierre Muller <muller@sourceware.org>
14763 * lib/pascal.exp (gpc_compile): Add new option "class".
14764 (fpc_compile): Likewise.
14765 * gdb.pascal/case-insensitive-symbols.pas: New file.
14766 * gdb.pascal/case-insensitive-symbols.exp: New file.
14768 2015-04-20 Gary Benson <gbenson@redhat.com>
14770 * gdb.base/attach.exp: Fix three extended remote failures.
14772 2015-04-17 Gary Benson <gbenson@redhat.com>
14774 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
14775 the main executable over the remote protocol.
14777 2015-04-16 Pedro Alves <palves@redhat.com>
14779 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
14780 a new gdbserver if gdbserver_reconnect_p is set.
14782 2015-04-16 Pedro Alves <palves@redhat.com>
14784 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
14785 is set, don't exit gdbserver.
14787 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14789 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
14790 appropriate .insn, such that an older assembler can be used.
14791 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
14792 the z/Architecture instruction set on 31-bit targets as well.
14794 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
14796 * gdb.go/handcall.exp: Remove all logic related to the first
14797 breakpoint and rely on go_runto_main instead.
14798 * gdb.go/strings.exp: Likewise.
14799 * gdb.go/unsafe.exp: Likewise.
14800 * gdb.go/hello.exp: Likewise. Also rename the remaining
14801 breakpoint marker to "breakpoint 1".
14802 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
14803 * gdb.go/strings.go: Likewise.
14804 * gdb.go/unsafe.go: Likewise.
14805 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
14806 "set breakpoint 2 here" and rename the remaining breakpoint marker
14809 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
14811 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
14812 if itertools.imap is not present.
14813 * gdb.python/py-objfile.exp: Add parentheses.
14814 * gdb.python/py-type.exp: Same.
14815 * gdb.python/py-unwind-maint.py: Same.
14817 2015-04-15 Yao Qi <yao.qi@linaro.org>
14819 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
14820 of ":$ptr_size" and set its form explicitly.
14822 2015-04-15 Pedro Alves <palves@redhat.com>
14823 Yao Qi <yao.qi@linaro.org>
14825 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
14826 timeout by factor of 4.
14827 (test_regular_watch): Likewise.
14828 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
14829 * gdb.reverse/sigall-reverse.exp: Likewise.
14830 * gdb.reverse/until-precsave.exp: Likewise.
14831 * lib/gdb.exp (with_timeout_factor): New proc.
14832 (gdb_expect): Move some code to ...
14833 (get_largest_timeout): ... here. New procedure.
14835 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
14837 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
14839 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
14841 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
14842 to write to the .text section.
14844 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
14846 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
14847 Handle the case of targets that do not provide PID information.
14849 2015-04-13 Yao Qi <yao.qi@linaro.org>
14851 * lib/gdbserver-support.exp (gdb_exit): Catch exception
14852 and use expect instead of gdb_expect.
14854 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
14856 * gdb.base/coredump-filter.exp: Rename variable "addr" to
14857 "coredump_var_addr" to avoid naming conflict with other testcases.
14859 2015-04-10 Pedro Alves <palves@redhat.com>
14861 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
14862 gdb_test_sequence and gdb_assert.
14864 2015-04-10 Pedro Alves <palves@redhat.com>
14866 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
14867 test messages that don't include the breakpoint address.
14869 2015-04-10 Yao Qi <yao.qi@linaro.org>
14871 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
14872 false for some offset and width combinations which aren't
14873 supported by linux kernel.
14875 2015-04-10 Pedro Alves <palves@redhat.com>
14877 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
14878 procedure, factored out from ...
14879 (top level): ... here. Add "set displaced-stepping" testing axis.
14880 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
14881 parameter "displaced". Use it.
14882 (top level): Use foreach and add "set displaced-stepping" testing
14885 2015-04-10 Pedro Alves <palves@redhat.com>
14887 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
14889 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
14890 both the address of the instruction that triggers the watchpoint
14891 and the address of the instruction immediately after, and use
14892 those addresses for the test. Fix comment.
14894 2015-04-10 Pedro Alves <palves@redhat.com>
14896 * gdb.base/sigstep.exp (breakpoint_to_handler)
14897 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
14898 Test "backtrace" in handler.
14899 (breakpoint_over_handler): New parameter 'displaced'. Use it.
14900 (top level): Add new "displaced" test axis to
14901 breakpoint_to_handler, breakpoint_to_handler_entry and
14902 breakpoint_over_handler.
14904 2015-04-10 Pedro Alves <palves@redhat.com>
14907 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
14909 2015-04-10 Yao Qi <yao.qi@linaro.org>
14911 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
14912 (test_add_rn_pc): New function.
14913 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
14914 (top level): Invoke test_add_rn_pc.
14916 2015-04-10 Pedro Alves <palves@redhat.com>
14919 * gdb.base/step-over-no-symbols.exp: New file.
14921 2015-04-09 Andy Wingo <wingo@igalia.com>
14923 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
14924 after the Python tests.
14926 2015-04-08 Keith Seitz <keiths@redhat.com>
14929 * gdb.python/py-completion.exp: New tests for completion.
14930 * gdb.python/py-completion.py (CompleteLimit1): New class.
14931 (CompleteLimit2): Likewise.
14932 (CompleteLimit3): Likewise.
14933 (CompleteLimit4): Likewise.
14934 (CompleteLimit5): Likewise.
14935 (CompleteLimit6): Likewise.
14936 (CompleteLimit7): Likewise.
14938 2015-04-08 Pedro Alves <palves@redhat.com>
14942 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
14944 (main): Install it as SIGUSR1 handler.
14945 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
14946 parameter. Always use "setup" as prefix. Toggle "set
14947 displaced-stepping" off/on depending on global. Don't switch to
14949 (top level): Add displaced stepping "off/on" test axis. Update
14950 "setup" calls. Wrap each subtest with with_test_prefix. Test
14951 continuing with a queued signal in each thread.
14953 2015-04-08 Pedro Alves <palves@redhat.com>
14955 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
14956 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
14957 gdb_breakpoint instead of gdb_test that doesn't expect anything.
14958 Return early if running to main fails.
14959 * gdb.trace/while-stepping.exp: Likewise.
14961 2015-04-07 Pedro Alves <palves@redhat.com>
14963 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
14964 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
14965 interact with inferior program.
14967 2015-04-07 Pedro Alves <palves@redhat.com>
14969 * lib/gdb.exp (inferior_spawn_id): New global.
14970 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
14971 spawn id after processing the user code.
14972 (default_gdb_start): Set inferior_spawn_id.
14973 (send_inferior): New procedure.
14974 * lib/gdbserver-support.exp (gdbserver_start): Set
14976 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
14978 2015-04-07 Pedro Alves <palves@redhat.com>
14980 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
14981 * lib/gdbserver-support.exp (gdbserver_start): Make
14982 $server_spawn_id global.
14983 (gdbserver_start): Don't wait for gdbserver's spawn id with
14985 (close_gdbserver): New procedure.
14986 (gdb_exit): Rename the default version and reimplement.
14988 2015-04-07 Pedro Alves <palves@redhat.com>
14990 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
14991 append the substituted item, not the original item.
14993 2015-04-07 Pedro Alves <palves@redhat.com>
14995 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
14998 2015-04-07 Pedro Alves <palves@redhat.com>
15000 * gdb.base/interrupt.exp: Don't handle the case of the inferior
15001 output appearing once only.
15003 2015-04-07 Pedro Alves <palves@redhat.com>
15005 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
15006 that doesn't expect anything. Return early if running to main
15009 2015-04-07 Yao Qi <yao.qi@linaro.org>
15011 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
15012 (child_function): Call alarm.
15013 (main): Move call to alarm into the loop.
15014 * gdb.threads/non-stop-fair-events.exp: Build program with
15015 -DTIMEOUT=$timeout.
15017 2015-04-06 Doug Evans <xdje42@gmail.com>
15019 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
15020 Fix dest parameter to board_info.
15021 (fpc_compile): Ditto.
15022 (gdb_compile_pascal): Rename dest arg to destfile.
15024 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
15026 * gdb.ada/funcall_ref.exp: New file.
15027 * gdb.ada/funcall_ref/foo.adb: New file.
15029 2015-04-02 Yao Qi <yao.qi@linaro.org>
15031 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
15034 2015-04-02 Gary Benson <gbenson@redhat.com>
15036 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
15038 2015-04-01 Sasha Smundak <asmundak@google.com>
15040 * gdb.python/py-unwind-maint.c: New file.
15041 * gdb.python/py-unwind-maint.exp: New test.
15042 * gdb.python/py-unwind-maint.py: New file.
15043 * gdb.python/py-unwind.c: New file.
15044 * gdb.python/py-unwind.exp: New test.
15045 * gdb.python/py-unwind.py: New test.
15047 2015-04-01 Pedro Alves <palves@redhat.com>
15049 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
15050 to fail instead of non-existent $test.
15052 2015-04-01 Pedro Alves <palves@redhat.com>
15054 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
15055 GDBFLAGS if not empty.
15057 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
15059 * gdb.ada/complete.exp: Remove "multi_line".
15060 * gdb.ada/info_exc.exp: Remove "multi_line".
15061 * gdb.ada/packed_tagged.exp: Remove "multi_line".
15062 * gdb.ada/ptype_field.exp: Remove "multi_line".
15063 * gdb.ada/sym_print_name.exp: Remove "multi_line".
15064 * gdb.ada/tagged.exp: Remove "multi_line".
15065 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
15067 * gdb.btrace/delta.exp: Likewise.
15068 * gdb.btrace/exception.exp: Likewise.
15069 * gdb.btrace/function_call_history.exp: Likewise.
15070 * gdb.btrace/instruction_history.exp: Likewise.
15071 * gdb.btrace/nohist.exp: Likewise.
15072 * gdb.btrace/record_goto.exp: Likewise.
15073 * gdb.btrace/segv.exp: Likewise.
15074 * gdb.btrace/stepi.exp: Likewise.
15075 * gdb.btrace/tailcall.exp: Likewise.
15076 * gdb.btrace/unknown_functions.exp: Likewise.
15077 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
15078 * lib/gdb.exp: Add the "multi_line" helper.
15080 2015-04-01 Pedro Alves <palves@redhat.com>
15082 * gdb.threads/tid-reuse.c: New file.
15083 * gdb.threads/tid-reuse.exp: New file.
15085 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
15088 * gdb.base/coredump-filter.c: New file.
15089 * gdb.base/coredump-filter.exp: Likewise.
15091 2015-03-27 Petr Machata <pmachata@redhat.com>
15093 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
15094 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
15095 (Dwarf::assemble): Initialize them.
15096 (Dwarf::lines): New function.
15098 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
15100 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
15101 SYMBOL_PREFIX for x86_64-*-cygwin.
15103 2015-03-26 Andy Wingo <wingo@igalia.com>
15106 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
15107 const_value but not a location.
15108 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
15109 location defined in non-main CUs are visible.
15111 2015-03-26 Yao Qi <yao.qi@linaro.org>
15114 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
15115 Add a line number entry for the same line.
15116 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
15117 Add a line number entry for the same line.
15119 2015-03-26 Yao Qi <yao.qi@linaro.org>
15121 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
15123 (func): Likewise. Add .Lfunc_1 label.
15124 Use .Lfunc_1 label.
15125 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
15128 Use .Lfunc_1 label.
15130 2015-03-26 Yao Qi <yao.qi@linaro.org>
15132 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
15133 Call gdb_compile instead to compile each .s files without debug
15136 2015-03-26 Yao Qi <yao.qi@linaro.org>
15138 * gdb.base/savedregs.exp (process_saved_regs): Make
15139 "Saved registers:" optional in the pattern.
15141 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
15143 * gdb.btrace/next.exp: Merged into step.exp.
15144 * gdb.btrace/finish.exp: Merged into step.exp.
15145 * gdb.btrace/nexti.exp: Merged into stepi.exp.
15146 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
15147 "record goto" and checking the exact replay position.
15148 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
15149 check for "Recording format" in "info record" output.
15150 * gdb.btrace/record_goto.exp: Choose test file based on target.
15151 * gdb.btrace/x86-record_goto.S: Renamed into ...
15152 * gdb.btrace/x86_64-record_goto.S: ... this.
15153 * gdb.btrace/i686-record_goto.S: New.
15154 * gdb.btrace/x86-tailcall.S: Renamed into ...
15155 * gdb.btrace/x86_64-tailcall.S: ... this.
15156 * gdb.btrace/i686-tailcall.S: New.
15157 * gdb.btrace/x86-tailcall.c: Renamed into ...
15158 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
15159 separate statements. Update test.
15160 * gdb.btrace/delta.exp: Use record_goto.c as test file.
15161 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
15162 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
15163 * gdb.btrace/tailcall.exp: Choose test file based on target.
15164 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
15166 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
15168 * gdb.btrace/exception.exp: Increase BTS buffer size.
15170 2015-03-24 Pedro Alves <palves@redhat.com>
15172 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
15174 2015-03-24 Pedro Alves <palves@redhat.com>
15176 * gdb.threads/schedlock.exp (test_step): No longer expect that
15177 "set scheduler-locking step" with "next" over a function call runs
15180 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
15182 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
15184 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
15186 PR breakpoints/16466
15187 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
15188 * gdb.mi/mi-pending.c (thread_func): New function.
15189 (int main): Add threading support required.
15190 * gdb.mi/mi-pending.exp: Add tests for this issue.
15191 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
15192 (pendfunc2): Remove stdio dependency.
15193 * gdb.mi/mi-pendshr2.c: New file.
15195 2015-03-23 Keith Seitz <keiths@redhat.com>
15197 * gdb.linespec/keywords.c: New file.
15198 * gdb.linespec/keywords.exp: New file.
15200 2015-03-23 Keith Seitz <keiths@redhat.com>
15203 * gdb.dwarf2/staticvirtual.exp: New test.
15205 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
15207 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
15208 * README: Remove HP-UX and gdb.hp.
15210 * configure: Regenerate.
15211 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
15212 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
15213 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
15214 gdb.hp/gdb.defects/Makefile.
15215 * gdb.hp/Makefile.in: File deleted.
15216 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
15217 * gdb.hp/gdb.aCC/optimize.c: File deleted.
15218 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
15219 * gdb.hp/gdb.aCC/run.c: File deleted.
15220 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
15221 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
15222 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
15223 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
15224 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
15225 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
15226 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
15227 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
15228 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
15229 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
15230 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
15231 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
15232 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
15233 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
15234 * gdb.hp/gdb.base-hp/reg.s: File deleted.
15235 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
15236 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
15237 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
15238 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
15239 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
15240 * gdb.hp/gdb.compat/Makefile.in: File deleted.
15241 * gdb.hp/gdb.compat/average.c: File deleted.
15242 * gdb.hp/gdb.compat/sum.c: File deleted.
15243 * gdb.hp/gdb.compat/xdb.c: File deleted.
15244 * gdb.hp/gdb.compat/xdb0.c: File deleted.
15245 * gdb.hp/gdb.compat/xdb0.h: File deleted.
15246 * gdb.hp/gdb.compat/xdb1.c: File deleted.
15247 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
15248 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
15249 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
15250 * gdb.hp/gdb.defects/Makefile.in: File deleted.
15251 * gdb.hp/gdb.defects/bs14602.c: File deleted.
15252 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
15253 * gdb.hp/gdb.defects/solib-d.c: File deleted.
15254 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
15255 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
15256 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
15257 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
15258 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
15259 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
15260 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
15261 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
15262 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
15263 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
15264 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
15265 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
15266 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
15267 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
15268 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
15269 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
15270 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
15271 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
15272 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
15273 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
15274 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
15275 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
15276 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
15277 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
15278 * gdb.hp/tools/odump: File deleted.
15280 2015-03-19 Pedro Alves <palves@redhat.com>
15282 * gdb.threads/continue-pending-status.exp (saw_thread_2)
15283 (saw_thread_3): New globals.
15284 (top level): Increment them when an event for the corresponding
15286 (no thread starvation): New test.
15288 2015-03-19 Pedro Alves <palves@redhat.com>
15290 * gdb.threads/continue-pending-status.c: New file.
15291 * gdb.threads/continue-pending-status.exp: New file.
15293 2015-03-18 Pedro Alves <palves@redhat.com>
15295 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
15296 Use gdb_is_target_remote instead of is_remote. Use
15297 gdb_test_multiple instead of gdb_expect. Exit early if
15298 gdb_test_multiple hits its internal matches. Tighten stepi tests
15299 expected output. Fail on exit with any signal, instead of just
15302 2015-03-18 Yao Qi <yao.qi@linaro.org>
15305 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
15307 * gdb.base/catch-syscall.exp: Don't skip it on
15308 aarch64*-*-linux* target. Remove elements in all_syscalls.
15309 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
15311 (setup_all_syscalls): New proc.
15313 2015-03-16 Yao Qi <yao.qi@linaro.org>
15315 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
15316 (top level): Skip tests if valid_addr_p returns false for
15319 2015-03-11 Andy Wingo <wingo@igalia.com>
15321 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
15323 2015-03-11 Yao Qi <yao.qi@linaro.org>
15325 * gdb.base/catch-syscall.exp: Fix typo in comments.
15327 2015-03-11 Yao Qi <yao.qi@linaro.org>
15329 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
15331 2015-03-09 Pedro Alves <palves@redhat.com>
15333 * dg-extract-results.py: Delete.
15335 2015-03-09 Pedro Alves <palves@redhat.com>
15337 Merge dg-extract-results.sh from GCC upstream (r218843).
15339 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
15340 * dg-extract-results.sh: Use --text with grep to avoid issues with
15341 binary files. Fall back to cat -v, if that doesn't work.
15343 2015-03-05 Pedro Alves <palves@redhat.com>
15345 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
15347 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
15349 * lib/mi-support.exp (mi_expect_interrupt): Accept
15350 alternative event for when in all-stop mode.
15352 2015-03-04 Pedro Alves <palves@redhat.com>
15354 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
15356 2015-03-04 Mark Kettenis <kettenis@gnu.org>
15358 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
15360 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
15362 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
15363 regexps for GDB's current line display, accept a hex address
15364 preceding the line number.
15366 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
15368 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
15369 the 'arch1' variable for "s390*-linux*" targets.
15371 2015-03-04 Pedro Alves <palves@redhat.com>
15373 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
15374 (main): Pass missing retval argument to pthread_join call.
15376 2015-03-02 Pedro Alves <palves@redhat.com>
15378 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
15379 (top level): Call do_test with non-stop as well.
15381 2015-03-02 Pedro Alves <palves@redhat.com>
15383 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
15386 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
15388 * gdb.arch/s390-vregs.exp: New test.
15389 * gdb.arch/s390-vregs.S: New file.
15391 2015-02-27 Pedro Alves <palves@redhat.com>
15393 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
15394 call to catch_command_errors.
15395 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
15396 catch_command_errors.
15398 2015-02-27 Pedro Alves <palves@redhat.com>
15400 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
15401 "true" for boolean result.
15402 * gdb.gdb/selftest.exp (test_with_self): Also accept full
15405 2015-02-27 Pedro Alves <palves@redhat.com>
15407 * lib/unbuffer_output.c: New file.
15408 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
15409 (main): Call gdb_unbuffer_output.
15411 2015-02-27 Yao Qi <yao.qi@linaro.org>
15413 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
15416 2015-02-26 Doug Evans <dje@google.com>
15418 * gdb.cp/class2.cc (Dbase, D): New classes.
15419 (main): New local delta.
15420 * gdb.cp/class2.exp: Test printing delta.
15421 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
15422 (dynbar): New global.
15423 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
15425 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
15427 * gdb.compile/compile-ifunc.c: New file.
15428 * gdb.compile/compile-ifunc.exp: New file.
15430 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
15432 * gdb.base/structs.exp: Check for correct struct on finish.
15434 2015-02-26 Yao Qi <yao.qi@linaro.org>
15436 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
15439 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
15441 * gdb.arch/cordic.ko.bz2: New file.
15442 * gdb.arch/cordic.ko.debug.bz2: New file.
15443 * gdb.arch/ppc64-symtab-cordic.exp: New file.
15445 2015-02-25 Yao Qi <yao.qi@linaro.org>
15447 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
15448 aarch64*-*-* target.
15450 2015-02-23 Pedro Alves <palves@redhat.com>
15452 * lib/gdb.exp (delete_breakpoints): Rewrite using
15455 2015-02-23 Pedro Alves <palves@redhat.com>
15457 * gdb.base/info-os.c: Include stdlib.h.
15459 2015-02-22 Doug Evans <xdje42@gmail.com>
15462 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
15463 is read after symbols have been re-read.
15464 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
15465 * gdb.ada/exec_changed/second.adb (Second): Ditto.
15467 2015-02-21 Doug Evans <dje@google.com>
15469 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
15471 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15474 * gdb.arch/i386-biarch-core.core.bz2: New file.
15475 * gdb.arch/i386-biarch-core.exp: New file.
15477 2015-02-21 Pedro Alves <palves@redhat.com>
15479 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
15482 2015-02-20 Pedro Alves <palves@redhat.com>
15484 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
15487 2015-02-20 Pedro Alves <palves@redhat.com>
15489 * gdb.threads/multi-create-ns-info-thr.exp: New file.
15491 2015-02-20 Pedro Alves <palves@redhat.com>
15493 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
15494 clean_restart before gdb_target_supports_trace.
15496 2015-02-20 Pedro Alves <palves@redhat.com>
15499 * gdb.threads/clone-thread_db.c: New file.
15500 * gdb.threads/clone-thread_db.exp: New file.
15502 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
15504 PR breakpoints/16812
15505 * gdb.base/catch-gdb-caused-signals.c: New file.
15506 * gdb.base/catch-gdb-caused-signals.exp: New file.
15508 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
15510 * configure: Regenerated.
15511 * configure.ac: Use GDB_AC_TRANSFORM.
15512 * aclocal.m4: sinclude ../transform.m4.
15514 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
15516 * lib/dtrace.exp: New file.
15517 * gdb.base/dtrace-probe.exp: Likewise.
15518 * gdb.base/dtrace-probe.d: Likewise.
15519 * gdb.base/dtrace-probe.c: Likewise.
15520 * lib/pdtrace.in: Likewise.
15521 * configure.ac: Output variables with the transformed names of
15522 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
15523 * configure: Regenerated.
15525 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
15527 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
15528 expected message when trying to access $_probe_* convenience
15529 variables while not on a probe.
15531 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15533 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
15535 2015-02-11 Pedro Alves <pedro@codesourcery.com>
15537 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
15538 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
15540 2015-02-10 Doug Evans <xdje42@gmail.com>
15542 * lib/gdb.exp (gdb_load): Always return a result.
15544 2015-02-10 Pedro Alves <palves@redhat.com>
15546 * gdb.threads/signal-sigtrap.c: New file.
15547 * gdb.threads/signal-sigtrap.exp: New file.
15549 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
15551 * gdb.trace/no-attach-trace.c: New file.
15552 * gdb.trace/no-attach-trace.exp: New file.
15554 2015-02-09 Mark Wielaard <mjw@redhat.com>
15556 * gdb.dwarf2/atomic.c: New file.
15557 * gdb.dwarf2/atomic-type.exp: Likewise.
15559 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
15561 * gdb.btrace/buffer-size.exp: Update "info record" output.
15562 * gdb.btrace/delta.exp: Update "info record" output.
15563 * gdb.btrace/enable.exp: Update "info record" output.
15564 * gdb.btrace/finish.exp: Update "info record" output.
15565 * gdb.btrace/instruction_history.exp: Update "info record" output.
15566 * gdb.btrace/next.exp: Update "info record" output.
15567 * gdb.btrace/nexti.exp: Update "info record" output.
15568 * gdb.btrace/step.exp: Update "info record" output.
15569 * gdb.btrace/stepi.exp: Update "info record" output.
15570 * gdb.btrace/nohist.exp: Update "info record" output.
15572 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
15574 * gdb.btrace/buffer-size: New.
15576 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
15578 * gdb.btrace/delta.exp: Update "info record" output.
15579 * gdb.btrace/enable.exp: Update "info record" output.
15580 * gdb.btrace/finish.exp: Update "info record" output.
15581 * gdb.btrace/instruction_history.exp: Update "info record" output.
15582 * gdb.btrace/next.exp: Update "info record" output.
15583 * gdb.btrace/nexti.exp: Update "info record" output.
15584 * gdb.btrace/step.exp: Update "info record" output.
15585 * gdb.btrace/stepi.exp: Update "info record" output.
15586 * gdb.btrace/nohist.exp: Update "info record" output.
15588 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
15591 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
15593 2015-02-06 Pedro Alves <palves@redhat.com>
15595 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
15597 (seconds_left, again): New globals.
15598 (main): Wait seconds_left in a 1-second sleep loop instead of
15599 sleeping 180 seconds. If 'again' is set, reset the seconds
15601 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
15602 'again' in the inferior before detaching. Print the seconds left.
15603 (options): New global.
15604 (top level): Build program with -DTIMEOUT=$timeout.
15606 2015-02-06 Pedro Alves <palves@redhat.com>
15608 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
15609 determine how many seconds to pass to 'alarm'.
15610 * gdb.base/gdb-sigterm.exp (top level): Build program with
15611 -DTIMEOUT=$timeout.
15612 (do_test): Return success/failure indication. Add more verbose
15613 logging. Don't fail if 200 single steps are seen. Instead, fail
15614 when the test times out.
15615 (passes): New global.
15616 (top level): Break the testing loop if testing fails on any
15617 iteration. Use gdb_assert.
15619 2015-02-04 Don Breazeal <donb@codesourcery.com>
15621 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
15622 and initialize them.
15623 (ipc_cleanup): New function.
15624 (main): Don't declare shmid, semid, and msqid. Add a call to
15625 atexit so that we call ipc_cleanup on exit.
15627 2015-02-04 Pedro Alves <palves@redhat.com>
15629 * boards/native-extended-gdbserver.exp: Remove any target variant
15630 specifications from the board name before clearing the isremote
15631 flag from board_info.
15633 2015-01-31 Doug Evans <xdje42@gmail.com>
15635 * gdb.base/maint.exp <maint print type argc>: Update expected output.
15637 2015-01-31 Gary Benson <gbenson@redhat.com>
15639 * gdb.base/completion.exp: Disable completion limiting for
15640 existing tests. Add new tests to check completion limiting.
15641 * gdb.linespec/ls-errs.exp: Disable completion limiting.
15643 2015-01-31 Doug Evans <xdje42@gmail.com>
15645 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
15647 2015-01-31 Doug Evans <xdje42@gmail.com>
15649 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
15650 entries. Duplicate file section script entries.
15651 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
15652 inlined entries. Add test for safe-path rejection.
15653 * gdb.python/py-section-script.c: Add duplicate inlined section script
15654 entries. Duplicate file section script entries.
15655 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
15656 inlined entries. Add test for safe-path rejection.
15658 2015-01-29 Joel Brobecker <brobecker@adacore.com>
15660 * gdb.ada/disc_arr_bound: New testcase.
15662 2015-01-29 Joel Brobecker <brobecker@adacore.com>
15664 * gdb.ada/mi_var_array: New testcase.
15666 2015-01-27 Doug Evans <dje@google.com>
15668 * gdb.python/py-objfile.exp: Add tests for objfile.username.
15669 Add test for objfile.filename, objfile.username after objfile
15672 2015-01-26 Joel Brobecker <brobecker@adacore.com>
15674 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
15675 the second test to print the name attribute of value
15676 returned by the call to gdb.lookup_type, and adjust
15677 the expected output accordingly.
15679 2015-01-25 Mark Wielaard <mjw@redhat.com>
15681 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
15682 * gdb.base/disp-step-fork.c: Include unistd.h.
15683 * gdb.base/siginfo-obj.c: Include stdio.h.
15684 * gdb.base/siginfo-thread.c: Likewise.
15685 * gdb.mi/non-stop.c: Include unistd.h.
15686 * gdb.mi/nsthrexec.c: Include stdio.h.
15687 * gdb.mi/pthreads.c: Include unistd.h.
15688 * gdb.modula2/unbounded1.c (main): Declare returns int.
15689 * gdb.reverse/consecutive-reverse.c: Likewise.
15690 * gdb.threads/create-fail.c: Include unistd.h.
15691 * gdb.threads/killed.c: Likewise.
15692 * gdb.threads/linux-dp.c: Likewise.
15693 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
15694 * gdb.threads/non-ldr-exc-2.c: Likewise.
15695 * gdb.threads/non-ldr-exc-3.c: Likewise.
15696 * gdb.threads/non-ldr-exc-4.c: Likewise.
15697 * gdb.threads/pthreads.c: Include unistd.h.
15698 (main): Declare returns int.
15699 * gdb.threads/tls-main.c (foo): New declaration.
15700 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
15702 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
15704 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
15705 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
15707 2015-01-15 Mark Wielaard <mjw@redhat.com>
15709 * gdb.base/noreturn-return.c: New file.
15710 * gdb.base/noreturn-return.exp: New file.
15711 * gdb.base/noreturn-finish.c: New file.
15712 * gdb.base/noreturn-finish.exp: New file.
15714 2015-01-23 Pedro Alves <palves@redhat.com>
15716 * gdb.threads/continue-pending-after-query.c: New file.
15717 * gdb.threads/continue-pending-after-query.exp: New file.
15719 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
15720 Simon Marchi <simon.marchi@ericsson.com>
15722 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
15723 * gdb.base/valgrind-db-attach.exp: Same.
15724 * gdb.base/valgrind-infcall.exp: Same.
15725 * lib/mi-support.exp (default_mi_gdb_start): Same.
15726 * lib/prompt.exp (default_prompt_gdb_start): Same.
15727 * lib/gdb.exp (default_gdb_spawn): Same.
15728 (gdb_interact): New.
15731 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15733 * gdb.compile/compile.exp (pointer to jit function): New test.
15735 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
15737 * lib/gdb.exp (supports_process_record): Return true for
15739 (supports_reverse): Likewise.
15741 2015-01-15 Don Breazeal <donb@codesourcery.com>
15743 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
15744 instead of checking whether the target board is remote and
15745 use spawn_wait_for_attach instead of exec/sleep.
15746 * gdb.base/attach-twice.exp: Likewise.
15748 2015-01-15 Joel Brobecker <brobecker@adacore.com>
15750 * gdb.ada/var_arr_attrs: New testcase.
15752 2015-01-14 Pedro Alves <palves@redhat.com>
15753 Joel Brobecker <brobecker@adacore.com>
15756 * gdb.base/bp-cmds-execution-x-script.c: New file.
15757 * gdb.base/bp-cmds-execution-x-script.exp: New file.
15758 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
15760 2015-01-14 Pedro Alves <palves@redhat.com>
15763 * gdb.base/batch-preserve-term-settings.c: New file.
15764 * gdb.base/batch-preserve-term-settings.exp: New file.
15766 2015-01-13 Doug Evans <dje@google.com>
15768 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
15771 2015-01-13 Joel Brobecker <brobecker@adacore.com>
15773 * Makefile.in (clean mostlyclean): Do not delete *.py.
15775 2015-01-13 Joel Brobecker <brobecker@adacore.com>
15777 * gdb.python/py-lookup-type.exp: New file.
15779 2015-01-12 Pedro Alves <palves@redhat.com>
15781 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
15782 restore GDBFLAGS before returning.
15784 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15786 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
15787 is_amd64_regs_target and is_x86_like_target.
15789 2015-01-11 Doug Evans <xdje42@gmail.com>
15791 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
15792 is given without an explicit form.
15793 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
15795 * gdb.dwarf/corrupt.exp: Ditto.
15796 * gdb.dwarf2/enum-type.exp: Ditto.
15797 * gdb.trace/entry-values.exp: Ditto.
15798 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
15800 2015-01-11 Doug Evans <xdje42@gmail.com>
15803 * gdb.base/maint.exp: Remove references to "maint demangle".
15804 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
15805 Add tests for explicitly specifying language to demangle.
15806 * gdb.dlang/demangle.exp: Ditto.
15808 2015-01-09 Pedro Alves <palves@redhat.com>
15810 * gdb.threads/non-stop-fair-events.c: New file.
15811 * gdb.threads/non-stop-fair-events.exp: New file.
15813 2015-01-09 Pedro Alves <palves@redhat.com>
15815 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
15816 the global scope. Set a breakpoint after all threads are started
15817 rather than stepping over two source lines. Expect the prompt.
15818 * gdb.base/watch_thread_num.c (threads_started_barrier): New
15821 (main): Use threads_started_barrier to wait for all threads to
15822 start. Main thread no longer calls thread_function. Exit after
15824 (loop): New function.
15825 (thread_function): Wait on threads_started_barrier barrier. Call
15826 'loop' at each iteration.
15827 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
15828 threads have started, instead of hardcoding number of "next"
15829 steps. Use an access watchpoint instead of a write watchpoint.
15831 2015-01-09 Pedro Alves <palves@redhat.com>
15833 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
15834 (thread_func): Wait on barrier.
15835 (main): Wait for all threads to start before stopping GDB.
15836 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
15838 (thread1_func, thread2_func): Wait on barrier.
15839 (main): Wait for all threads to start before stopping GDB.
15840 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
15842 (thread1_func, thread2_func): Wait on barrier.
15843 (main): Wait for all threads to start before stopping GDB.
15845 2015-01-09 Pedro Alves <palves@redhat.com>
15847 * gdb.threads/attach-many-short-lived-threads.c: New file.
15848 * gdb.threads/attach-many-short-lived-threads.exp: New file.
15850 2014-01-09 Pedro Alves <palves@redhat.com>
15852 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
15853 instead of to thread 2.
15854 * gdb.threads/signal-command-multiple-signals-pending.c (main):
15855 Add barrier around each pthread_create call instead of around all
15857 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
15858 Set a break on thread_function and have the child threads hit it
15861 2015-01-09 Pedro Alves <palves@redhat.com>
15863 * lib/gdb.exp (can_spawn_for_attach): New procedure.
15864 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
15866 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
15867 checking whether the target board is remote.
15868 * gdb.multi/multi-attach.exp: Likewise.
15869 * gdb.python/py-sync-interp.exp: Likewise.
15870 * gdb.server/ext-attach.exp: Likewise.
15871 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
15872 tests that need to attach, instead of checking whether the target
15873 board is remote at the top of the file.
15875 2015-01-08 Yao Qi <yao@codesourcery.com>
15877 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
15879 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15881 Fix testcase compilation.
15882 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
15884 2015-01-06 Joel Brobecker <brobecker@adacore.com>
15886 * gdb.python/py-type.exp: Add a couple test about empty
15887 array creation, and negative-length array creation.
15889 2015-01-02 Doug Evans <xdje42@gmail.com>
15891 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
15893 2015-01-02 Doug Evans <dje@google.com>
15895 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
15897 2014-12-29 Yao Qi <yao@codesourcery.com>
15899 * gdb.trace/entry-values.exp: Update comments. Rename variable
15900 bar_call_foo to returned_from_foo.
15902 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
15905 * gdb.linespec/break-asm-file.c: New file.
15906 * gdb.linespec/break-asm-file.exp: New file.
15907 * gdb.linespec/break-asm-file0.s: New file.
15908 * gdb.linespec/break-asm-file1.s: New file.
15910 2014-12-18 Nigel Stephens <nigel@mips.com>
15911 Maciej W. Rozycki <macro@codesourcery.com>
15913 * gdb.base/float.exp: Handle the new output from "info float" on
15916 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
15918 Fix MinGW compilation.
15919 * gdb.compile/compile-ops.exp: Update untested message if
15920 !skip_compile_feature_tests.
15921 * gdb.compile/compile-setjmp.exp: Likewise.
15922 * gdb.compile/compile-tls.exp: Likewise.
15923 * gdb.compile/compile.exp: Likewise.
15924 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
15925 supported on this host".
15927 2014-12-16 Doug Evans <xdje42@gmail.com>
15929 * boards/stabs.exp: New file.
15931 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
15933 * gdb.base/completion.exp: Adjust to format changes of "maint
15934 print user-registers".
15936 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
15939 * gdb.arch/aarch64-fp.c: New file.
15940 * gdb.arch/aarch64-fp.exp: New file.
15942 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
15944 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
15945 r210637, r210913, r211666, r215400, r215817).
15947 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
15948 * dg-extract-results.py: New file.
15949 * dg-extract-results.sh: Use it if the environment seems
15952 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
15954 * dg-extract-results.py (parse_run): Handle warnings that
15955 are printed before a test harness is run.
15957 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
15959 * dg-extract-results.py (Named): Remove __cmp__ method.
15960 (output_variation): Use a key to sort variation.harnesses.
15962 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
15964 * dg-extract-results.py: For Python 3, force sys.stdout to
15965 handle surrogate escape sequences.
15966 (safe_open): New function.
15967 (output_segment, main): Use it.
15969 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
15971 * dg-extract-results.py (Prog.result_re): Include options
15974 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
15976 * dg-extract-results.py (output_variation): Always sort if
15979 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
15981 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
15982 as long as we get pagination notifications.
15984 2014-12-15 Jason Merrill <jason@redhat.com>
15986 * Makefile.in (check-gdb.%): Restore.
15987 * README: Mention it.
15989 2014-12-13 Joel Brobecker <brobecker@adacore.com>
15991 * gdb.ada/str_uninit: New testcase.
15993 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15996 * gdb.base/vla-stub-define.c: New file.
15997 * gdb.base/vla-stub.c: New file.
15998 * gdb.base/vla-stub.exp: New file.
16000 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
16001 Jan Kratochvil <jan.kratochvil@redhat.com>
16002 Tom Tromey <tromey@redhat.com>
16004 * configure.ac: Add gdb.compile/.
16005 * configure: Regenerate.
16006 * gdb.compile/Makefile.in: New file.
16007 * gdb.compile/compile-ops.exp: New file.
16008 * gdb.compile/compile-ops.c: New file.
16009 * gdb.compile/compile-tls.c: New file.
16010 * gdb.compile/compile-tls.exp: New file.
16011 * gdb.compile/compile-constvar.S: New file.
16012 * gdb.compile/compile-constvar.c: New file.
16013 * gdb.compile/compile-mod.c: New file.
16014 * gdb.compile/compile-nodebug.c: New file.
16015 * gdb.compile/compile-setjmp-mod.c: New file.
16016 * gdb.compile/compile-setjmp.c: New file.
16017 * gdb.compile/compile-setjmp.exp: New file.
16018 * gdb.compile/compile-shlib.c: New file.
16019 * gdb.compile/compile.c: New file.
16020 * gdb.compile/compile.exp: New file.
16021 * lib/gdb.exp (skip_compile_feature_tests): New proc.
16023 2014-12-12 Tom Tromey <tromey@redhat.com>
16025 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
16026 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
16028 2014-12-12 Doug Evans <dje@google.com>
16030 * lib/gdb-python.exp (get_python_valueof): New function.
16031 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
16033 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16035 * gdb.base/completion.exp: Add test for completion of "info
16038 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
16040 * gdb.base/func-ptrs.c: New file.
16041 * gdb.base/func-ptrs.exp: New file.
16043 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
16045 PR breakpoints/17012
16046 * gdb.base/dprintf-detach.c: New file.
16047 * gdb.base/dprintf-detach.exp: New file.
16049 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
16051 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
16052 * lib/gdb.exp (target_is_gdbserver): New procedure.
16054 2014-12-08 Doug Evans <dje@google.com>
16056 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
16058 2014-12-05 Yao Qi <yao@codesourcery.com>
16060 * gdb.guile/scm-error.exp: Remove the third argument to
16061 gdb_remote_download.
16062 * gdb.guile/scm-frame-args.exp: Likewise.
16063 * gdb.guile/scm-section-script.exp: Likewise.
16065 2014-12-05 Yao Qi <yao@codesourcery.com>
16067 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
16069 2014-12-04 Doug Evans <dje@google.com>
16071 * gdb.python/py-objfile.exp: Add tests for
16072 objfile.add_separate_debug_file.
16074 2014-12-04 Doug Evans <dje@google.com>
16076 * lib/gdb.exp (get_build_id): New function.
16077 (build_id_debug_filename_get): Rewrite to use it.
16078 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
16080 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
16082 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
16083 `method(long)', not just 0x0.
16084 * gdb.cp/nsalias.exp: Align code labels to 4.
16085 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
16086 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
16087 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
16088 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
16089 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
16090 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
16092 2014-12-02 Doug Evans <dje@google.com>
16095 * gdb.cp/anon-ns.cc: Move guts of this file to ...
16096 * gdb.cp/anon-ns2.cc: ... here. New file.
16097 * gdb.cp/anon-ns.exp: Update.
16099 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
16101 * gdb.python/py-events.py (inferior_call_handler): New.
16102 (register_changed_handler, memory_changed_handler): New.
16103 (test_events.invoke): Register new handlers.
16104 * gdb.python/py-events.exp: Add tests for inferior call,
16105 memory_changed and register_changed events.
16107 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
16109 * gdb.base/execl-update-breakpoints.exp: Specify the link address
16110 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
16111 if the linker doesn't understand this.
16113 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
16115 * gdb.python/python.exp: Change expected reply to help().
16117 2014-12-01 Yao Qi <yao@codesourcery.com>
16119 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
16120 AC_CONFIG_SUBDIRS(gdb.gdbtk).
16121 * configure: Re-generated.
16123 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
16125 * gdb.cp/chained-calls.cc: New file.
16126 * gdb.cp/chained-calls.exp: New file.
16127 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
16129 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
16131 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
16132 * gdb.dwarf2/symtab-producer.exp: Same.
16133 * gdb.gdb/python-interrupts.exp: Same.
16134 * gdb.gdb/python-selftest.exp: Same.
16135 * gdb.python/py-linetable.exp: Same.
16136 * gdb.python/py-type.exp: Same.
16137 * gdb.python/py-value-cc.exp: Same.
16138 * gdb.python/py-value.exp: Same.
16140 2014-11-28 Yao Qi <yao@codesourcery.com>
16142 * gdb.base/break-probes.exp: Match library name prefixed with
16145 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
16147 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
16148 test expected output. Add parentheses for the call to print.
16149 Remove L suffix from integers.
16151 2014-11-26 Doug Evans <dje@google.com>
16153 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
16155 2014-11-22 Yao Qi <yao@codesourcery.com>
16157 * gdb.trace/entry-values.c: Remove asms.
16158 (foo): Add foo_label.
16159 (bar): Add bar_label.
16160 * gdb.trace/entry-values.exp: Remove code computing foo's
16161 length and bar's length.
16162 (Dwarf::assemble): Invoke function_range for bar and use
16163 MACRO_AT_func for foo.
16165 2014-11-22 Yao Qi <yao@codesourcery.com>
16167 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
16168 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
16169 Use .Lgcc43_procstart instead of gcc43.
16171 2014-11-21 Joel Brobecker <brobecker@adacore.com>
16173 * gdb.ada/n_arr_bound: New testcase.
16175 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
16177 PR breakpoints/10737
16178 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
16179 test_catch_syscall_multi_arch.
16180 (test_catch_syscall_multi_arch): New function.
16182 2014-11-20 Doug Evans <xdje42@gmail.com>
16184 * gdb.base/maint.exp: Update expected output.
16186 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
16188 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
16189 4-byte instruction on S390.
16191 2014-11-19 Joel Brobecker <brobecker@adacore.com>
16193 * gdb.ada/arr_arr: New testcase.
16195 2014-11-19 Joel Brobecker <brobecker@adacore.com>
16197 * gdb.ada/pkd_arr_elem: New Testcase.
16199 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
16201 * gdb.reverse/break-precsave: Expect completion message for
16203 * gdb.reverse/consecutive-precsave.exp: Likewise.
16204 * gdb.reverse/finish-precsave.exp: Likewise.
16205 * gdb.reverse/i386-precsave.exp: Likewise.
16206 * gdb.reverse/machinestate-precsave.exp: Likewise.
16207 * gdb.reverse/sigall-precsave.exp: Likewise.
16208 * gdb.reverse/solib-precsave.exp: Likewise.
16209 * gdb.reverse/step-precsave.exp: Likewise.
16210 * gdb.reverse/until-precsave.exp: Likewise.
16211 * gdb.reverse/watch-precsave.exp: Likewise.
16213 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16215 * gdb.base/bp-permanent.c: Include unistd.h.
16216 * gdb.python/py-framefilter-mi.c (main): Add return type.
16217 * gdb.python/py-framefilter.c (main): Likewise.
16218 * gdb.trace/actions-changed.c (main): Likewise.
16220 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16222 * gdb.mi/until.c: Add eye-catchers.
16223 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
16226 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
16228 * gdb.base/condbreak.exp: Drop references to removed non-prototype
16229 function header variants in break1.c.
16230 * gdb.base/ena-dis-br.exp: Likewise.
16231 * gdb.base/hbreak2.exp: Likewise.
16232 * gdb.reverse/until-precsave.exp: Drop references to removed
16233 non-prototype function header variants in ur1.c.
16234 * gdb.reverse/until-reverse.exp: Likewise.
16236 2014-11-17 Petr Machata <pmachata@redhat.com>
16238 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
16239 ${_cu_offset_size} bytes abbrev offset.
16241 2014-11-15 Doug Evans <xdje42@gmail.com>
16244 * gdb.base/line-symtabs.exp: New file.
16245 * gdb.base/line-symtabs.c: New file.
16246 * gdb.base/line-symtabs.h: New file.
16248 2014-11-14 Yao Qi <yao@codesourcery.com>
16250 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
16251 (func): Add label func_label.
16252 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
16253 Replace low_pc and high_pc with MACRO_AT_range.
16254 Replace name, low_pc and high_pc with MACRO_AT_func.
16256 2014-11-14 Yao Qi <yao@codesourcery.com>
16258 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
16259 Replace name, low_pc and high_pc with MACRO_AT_func.
16261 2014-11-14 Yao Qi <yao@codesourcery.com>
16263 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
16264 produce debug information.
16265 * gdb.dwarf2/implptr-optimized-out.S: Removed.
16267 2014-11-14 Yao Qi <yao@codesourcery.com>
16269 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
16270 object and get function length.
16271 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
16272 with MACRO_AT_func.
16273 (top-level): Replace gdb_compile and clean_restart with
16274 prepare_for_testing.
16275 * gdb.dwarf2/main.c (main): Add label main_label.
16277 2014-11-14 Yao Qi <yao@codesourcery.com>
16279 * lib/dwarf.exp (function_range): New procedure.
16280 (Dwarf::_handle_macro_at_func): New procedure.
16281 (Dwarf::_handle_macro_at_range): New procedure.
16282 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
16284 2014-11-14 Yao Qi <yao@codesourcery.com>
16286 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
16287 (_handle_attribute): New procedure.
16289 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16291 * gdb.ada/cond_lang/foo.c (callme): Add return type.
16292 * gdb.base/call-sc.c (zed): Likewise.
16293 * gdb.base/checkpoint.c (main): Likewise.
16294 * gdb.base/dump.c (main): Likewise.
16295 * gdb.base/gcore.c (main): Likewise.
16296 * gdb.base/huge.c (main): Likewise.
16297 * gdb.base/multi-forks.c (main): Likewise.
16298 * gdb.base/pr10179-a.c (main): Likewise.
16299 * gdb.base/savedregs.c (main): Likewise.
16300 * gdb.base/sigaltstack.c (main): Likewise.
16301 * gdb.base/siginfo.c (main): Likewise.
16302 * gdb.base/structs.c (zed): Likewise.
16303 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
16304 * gdb.mi/mi-syn-frame.c (main): Likewise.
16305 * gdb.mi/until.c (foo, main): Likewise.
16306 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
16307 * gdb.base/solib-weak.c (foo): Declare.
16308 * gdb.base/attach-twice.c: Include stdio.h.
16309 * gdb.base/weaklib1.c: Likewise.
16310 * gdb.base/weaklib2.c: Likewise.
16311 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
16312 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
16314 * gdb.base/attach-pie-misread.c: Include stdlib.h.
16315 * gdb.mi/mi-exit-code.c: Likewise.
16316 * gdb.base/break-interp-lib.c: Include string.h.
16317 * gdb.base/coremaker.c: Likewise.
16318 * gdb.base/testenv.c: Likewise.
16319 * gdb.python/py-finish-breakpoint.c: Likewise.
16320 * gdb.base/inferior-died.c: Include sys/wait.h.
16321 * gdb.base/fileio.c: Include time.h.
16322 * gdb.base/async-shell.c: Include unistd.h.
16323 * gdb.base/dprintf-non-stop.c: Likewise.
16324 * gdb.base/info-os.c: Likewise.
16325 * gdb.mi/mi-console.c: Likewise.
16326 * gdb.mi/watch-nonstop.c: Likewise.
16327 * gdb.python/py-events.c: Likewise.
16328 * gdb.base/async.c (baz): Move up before its invocation.
16329 * gdb.base/code_elim2.c (my_global_func): Likewise.
16330 * gdb.base/skip-solib-lib.c (multiply): Likewise.
16331 * gdb.base/advance.c (func2): Likewise.
16333 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16335 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
16337 * gdb.base/annota3.c: Likewise.
16338 * gdb.base/async.c: Likewise.
16339 * gdb.base/average.c: Likewise.
16340 * gdb.base/call-ar-st.c: Likewise.
16341 * gdb.base/call-rt-st.c: Likewise.
16342 * gdb.base/call-sc.c: Likewise.
16343 * gdb.base/call-strs.c: Likewise.
16344 * gdb.base/ending-run.c: Likewise.
16345 * gdb.base/execd-prog.c: Likewise.
16346 * gdb.base/exprs.c: Likewise.
16347 * gdb.base/foll-exec.c: Likewise.
16348 * gdb.base/foll-fork.c: Likewise.
16349 * gdb.base/foll-vfork.c: Likewise.
16350 * gdb.base/funcargs.c: Likewise.
16351 * gdb.base/gcore.c: Likewise.
16352 * gdb.base/jump.c: Likewise.
16353 * gdb.base/langs0.c: Likewise.
16354 * gdb.base/langs1.c: Likewise.
16355 * gdb.base/langs2.c: Likewise.
16356 * gdb.base/mips_pro.c: Likewise.
16357 * gdb.base/nodebug.c: Likewise.
16358 * gdb.base/opaque0.c: Likewise.
16359 * gdb.base/opaque1.c: Likewise.
16360 * gdb.base/recurse.c: Likewise.
16361 * gdb.base/run.c: Likewise.
16362 * gdb.base/scope0.c: Likewise.
16363 * gdb.base/scope1.c: Likewise.
16364 * gdb.base/setshow.c: Likewise.
16365 * gdb.base/setvar.c: Likewise.
16366 * gdb.base/shmain.c: Likewise.
16367 * gdb.base/shr1.c: Likewise.
16368 * gdb.base/shr2.c: Likewise.
16369 * gdb.base/sigall.c: Likewise.
16370 * gdb.base/signals.c: Likewise.
16371 * gdb.base/so-indr-cl.c: Likewise.
16372 * gdb.base/solib2.c: Likewise.
16373 * gdb.base/structs.c: Likewise.
16374 * gdb.base/sum.c: Likewise.
16375 * gdb.base/vforked-prog.c: Likewise.
16376 * gdb.base/watchpoint.c: Likewise.
16377 * gdb.reverse/shr2.c: Likewise.
16378 * gdb.reverse/until-reverse.c: Likewise.
16379 * gdb.reverse/ur1.c: Likewise.
16380 * gdb.reverse/watch-reverse.c: Likewise.
16382 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16384 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
16386 * gdb.base/sepdebug.exp: Drop references to removed code.
16388 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16390 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
16391 variant. Preserve original line numbering.
16392 * gdb.base/list1.c: Likewise.
16394 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16396 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
16398 * gdb.base/break1.c: Likewise.
16399 * gdb.base/break.exp: Drop references to removed code.
16401 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16403 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
16406 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16408 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
16410 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16412 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
16413 logic into perform_all_tests() and invoke it with and without
16414 function header prototypes.
16415 (do_function_calls): Remove conditional XFAIL for PR 5318.
16416 (rerun_and_prepare): Remove duplicate code.
16417 (perform_all_tests): New. Main logic moved here.
16419 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16421 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
16422 code guarded by #ifdef NO_PROTOTYPES.
16423 (t_double_many_args): Likewise.
16424 (DEF_FUNC_MANY_ARGS_1): Likewise.
16425 (DEF_FUNC_VALUES_1): Likewise.
16426 (t_structs_ldc): Renamed from t_structs_fc in conditional code
16427 guarded by #ifdef PROTOTYPES.
16429 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16431 * gdb.mi/mi-console.c: Add eye-catcher.
16432 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
16433 instead of literal line number.
16435 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16437 * gdb.base/shr2.c: Add eye-catcher.
16438 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
16441 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16443 * gdb.base/jump.c: Add eye-catchers.
16444 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
16447 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16449 * gdb.base/execd-prog.c: Add eye-catchers.
16450 * gdb.base/foll-exec.c: Likewise.
16451 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
16454 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16456 * gdb.base/ending-run.c: Add eye-catchers.
16457 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
16458 literal line numbers.
16460 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16462 * gdb.base/call-rt-st.c: Add eye-catchers.
16463 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
16464 literal line numbers.
16466 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16468 * gdb.base/call-ar-st.c: Add eye-catchers.
16469 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
16470 literal line numbers.
16472 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16474 * gdb.base/average.c: Add eye-catchers.
16475 * gdb.base/sum.c: Likewise.
16476 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
16477 regexps dynamically.
16479 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
16481 * gdb.base/solib1.c: Add eye-catchers.
16482 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
16483 literal line numbers.
16485 2014-11-12 Pedro Alves <palves@redhat.com>
16487 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
16490 2014-11-12 Pedro Alves <palves@redhat.com>
16492 * gdb.arch/i386-bp_permanent.c: New file.
16493 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
16494 (srcfile): Set to i386-bp_permanent.c.
16495 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
16496 that stepi does not execute the 'leave' instruction, instead of
16497 testing it does execute.
16498 * gdb.base/bp-permanent.c: New file.
16499 * gdb.base/bp-permanent.exp: New file.
16501 2014-11-10 Doug Evans <xdje42@gmail.com>
16504 * gdb.base/symtab-search-order.exp: New file.
16505 * gdb.base/symtab-search-order.c: New file.
16506 * gdb.base/symtab-search-order-1.c: New file.
16507 * gdb.base/symtab-search-order-shlib-1.c: New file.
16509 2014-11-07 Pedro Alves <palves@redhat.com>
16512 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
16515 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
16518 * gdb.cp/pr17494.cc: New file.
16519 * gdb.cp/pr17494.exp: New file.
16521 2014-11-02 Yao Qi <yao@codesourcery.com>
16523 * gdb.python/python.exp: Get working directory and match the
16524 output of "set extended-prompt \\w " with it.
16526 2014-10-30 Doug Evans <dje@google.com>
16528 * gdb.python/py-objfile.exp: Add tests for setting random attributes
16530 * gdb.python/py-progspace.exp: Add tests for setting random attributes
16533 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
16535 * gdb.base/fullpath-expand.exp: Skip for a remote host.
16536 * gdb.base/realname-expand.exp: Likewise.
16537 * gdb.linespec/macro-relative.exp: Likewise.
16539 2014-10-29 Pedro Alves <palves@redhat.com>
16542 * gdb.threads/schedlock.c (some_function): New function.
16543 (call_function): New global.
16544 (MAYBE_CALL_SOME_FUNCTION): New macro.
16545 (thread_function): Call it.
16546 * gdb.threads/schedlock.exp (get_args): Add description parameter,
16547 and use it instead of a global counter. Adjust all callers.
16548 (get_current_thread): Use "find current thread" for test message
16549 here rather than having all callers pass down the same string.
16550 (goto_loop): New procedure, factored out from ...
16551 (my_continue): ... this.
16552 (step_ten_loops): Change parameter from test message to command to
16554 (list_count): Delete global.
16555 (check_result): New procedure, factored out from duplicate top
16557 (continue tests): Wrap in with_test_prefix.
16558 (test_step): New procedure, factored out from duplicate top level
16560 (top level): Test "step" in combination with all scheduler-locking
16561 modes. Test "next" in combination with all scheduler-locking
16562 modes, and in combination with stepping over a function call or
16564 * gdb.threads/next-bp-other-thread.c: New file.
16565 * gdb.threads/next-bp-other-thread.exp: New file.
16567 2014-10-29 Pedro Alves <palves@redhat.com>
16570 * gdb.python/python.exp: Test a multi-line command that spawns
16571 interactive Python.
16572 * gdb.base/multi-line-starts-subshell.exp: New file.
16574 2014-10-29 Yao Qi <yao@codesourcery.com>
16576 * gdb.base/fileio.exp: Make directories on host.
16578 2014-10-29 Yao Qi <yao@codesourcery.com>
16580 * gdb.base/fileio.c (test_write): Close the file.
16582 2014-10-28 Pedro Alves <palves@redhat.com>
16585 * gdb.base/sigstep.c (no_handler): New global.
16586 (main): If 'no_handler is true, set the signal handlers to
16588 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
16589 with_sw_watch and no_handler parameters. Handle them.
16590 (top level) <stepping over handler when stopped at a breakpoint
16591 test>: Add a test axis for testing with a software watchpoint, and
16592 another for testing with the signal handler set to SIG_IGN.
16593 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
16594 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
16596 2014-10-28 Pedro Alves <palves@redhat.com>
16599 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
16600 * gdb.base/sigstep.exp (other_handler_location): New global.
16601 (advance): Support stepping into the signal handler, and running
16602 commands while in the handler.
16603 (in_handler_map): New global.
16604 (top level): In the advance test, add combinations for getting
16605 into the handler with stepping commands, and for running commands
16606 in the handler. Add comment descripting the advancei tests.
16608 2014-10-28 Pedro Alves <palves@redhat.com>
16610 * gdb.base/sigstep.exp: Use build_executable instead of
16611 prepare_for_testing.
16612 (top level): Move code that starts GDB, runs to main and creates a
16614 (restart): ... this new procedure.
16615 (top level): Move backtrace from signal handler test to ...
16616 (validate_backtrace): ... this new procedure.
16617 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
16618 with_test_prefix. Always restart GDB.
16619 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
16620 with_test_prefix. Always restart GDB. No need to delete
16621 breakpoints after the test.
16622 (test_skip_handler): Remove prefix parameter.
16623 (skip_over_handler, breakpoint_to_handler)
16624 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
16625 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
16626 restart GDB. No need to delete breakpoints after the test.
16627 (top level): Use foreach to call the test procedures with
16628 different commands.
16630 2014-10-28 Pedro Alves <palves@redhat.com>
16632 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
16633 instead of GNATS numbers.
16634 * gdb.base/sigbpt.exp: Likewise.
16635 * gdb.base/siginfo.exp: Likewise.
16636 * gdb.base/sigstep.exp: Likewise.
16638 2014-10-27 Pedro Alves <palves@redhat.com>
16640 * gdb.base/sigstep.c (dummy): New global.
16641 (main): Issue a couple writes to the new global.
16642 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
16644 (skip_over_handler): Use test_skip_handler.
16645 (top level): Call skip_over_handler for stepi and nexti too.
16646 (breakpoint_over_handler): Use test_skip_handler.
16647 (top level): Call breakpoint_over_handler for stepi and nexti too.
16649 2014-10-27 Yao Qi <yao@codesourcery.com>
16651 * gdb.trace/tfile.c (adjust_function_address)
16652 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
16653 function descriptor.
16655 2014-10-24 Don Breazeal <donb@codesourcery.com>
16657 * gdb.base/foll-fork.exp (test_follow_fork,
16658 catch_fork_child_follow): Check for updated fork messages emitted
16660 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
16661 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
16662 vfork_and_exec_child_follow_through_step): Check for updated vfork
16663 messages emitted from infrun.c.
16665 2014-10-24 Pedro Alves <palves@redhat.com>
16667 * gdb.base/corefile.exp: Remove references to ultrix.
16668 * gdb.base/interrupt.exp: Likewise.
16669 * gdb.base/whatis.exp: Likewise.
16670 * gdb.gdb/selftest.exp: Likewise.
16671 * gdb.threads/manythreads.exp: Likewise.
16672 * gdb.threads/print-threads.exp: Likewise.
16673 * gdb.threads/pthreads.exp:: Likewise.
16674 * gdb.threads/schedlock.exp: Likewise.
16676 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
16678 * gdb.cp/non-trivial-retval.cc: Add a test case.
16679 * gdb.cp/non-trivial-retval.exp: Add a test.
16681 2014-10-20 Yao Qi <yao@codesourcery.com>
16683 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
16684 * gdb.python/py-objfile-script-gdb.py: New file.
16685 * gdb.python/py-objfile-script.exp: Update reference to
16686 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
16687 of remote_download. Remove the dest file.
16689 2014-10-20 Yao Qi <yao@codesourcery.com>
16691 * gdb.base/checkpoint.exp: Don't remove file copied on host.
16692 * gdb.base/step-line.exp: Likewise.
16693 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
16694 * gdb.dwarf2/dw2-basic.exp: Likewise.
16695 * gdb.dwarf2/dw2-compressed.exp: Likewise.
16696 * gdb.dwarf2/dw2-filename.exp: Likewise.
16697 * gdb.dwarf2/dw2-intercu.exp: Likewise.
16698 * gdb.dwarf2/dw2-intermix.exp: Likewise.
16699 * gdb.dwarf2/dw2-producer.exp: Likewise.
16700 * gdb.dwarf2/mac-fileno.exp: Likewise.
16701 * gdb.python/py-frame-args.exp: Likewise.
16702 * gdb.python/py-framefilter.exp: Likewise.
16703 * gdb.python/py-mi.exp: Likewise.
16704 * gdb.python/py-objfile-script.exp: Likewise
16705 * gdb.python/py-pp-integral.exp: Likewise.
16706 * gdb.python/py-pp-re-notag.exp: Likewise.
16707 * gdb.python/py-prettyprint.exp: Likewise.
16708 * gdb.python/py-section-script.exp: Likewise.
16709 * gdb.python/py-typeprint.exp: Likewise.
16710 * gdb.python/py-xmethods.exp: Likewise.
16711 * gdb.stabs/weird.exp: Likewise.
16712 * gdb.xml/tdesc-regs.exp: Likewise.
16714 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
16716 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
16717 (out_cu): Use addr_len for the size of addresses.
16718 (out_line): Likewise. Size DW_LNE_set_address instruction
16719 according to addr_len.
16720 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
16721 (FUNC): Add START_INSNS to definition.
16723 2014-10-18 Yao Qi <yao@codesourcery.com>
16725 * gdb.base/argv0-symlink.exp: Check argv[0] value if
16726 gdb_has_argv0 return true.
16727 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
16728 check [target_info exists noargs], check [gdb_has_argv0]
16730 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
16731 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
16734 2014-10-17 Doug Evans <dje@google.com>
16736 * gdb.python/py-events.exp: Update expected output for clear_objfiles
16738 * gdb.python/py-events.py: Add clear_objfiles event.
16740 2014-10-17 Doug Evans <dje@google.com>
16742 * gdb.python/py-objfile.exp: Test progspace attribute.
16744 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
16746 * gdb.guile/scm-breakpoint.exp: Do not assume any
16747 directory separators when matching source file paths.
16748 * gdb.python/py-breakpoint.exp: Likewise.
16749 * gdb.reverse/break-precsave.exp: Likewise.
16750 * gdb.reverse/break-reverse.exp: Likewise.
16751 * gdb.reverse/consecutive-precsave.exp: Likewise.
16752 * gdb.reverse/finish-precsave.exp: Likewise.
16753 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
16754 * gdb.reverse/finish-reverse.exp: Likewise.
16755 * gdb.reverse/i386-precsave.exp: Likewise.
16756 * gdb.reverse/i387-env-reverse.exp: Likewise.
16757 * gdb.reverse/i387-stack-reverse.exp: Likewise.
16758 * gdb.reverse/machinestate-precsave.exp: Likewise.
16759 * gdb.reverse/machinestate.exp: Likewise.
16760 * gdb.reverse/sigall-precsave.exp: Likewise.
16761 * gdb.reverse/solib-precsave.exp: Likewise.
16762 * gdb.reverse/step-precsave.exp: Likewise.
16763 * gdb.reverse/until-precsave.exp: Likewise.
16764 * gdb.reverse/watch-precsave.exp: Likewise.
16765 * gdb.reverse/watch-reverse.exp: Likewise.
16767 2014-10-17 Yao Qi <yao@codesourcery.com>
16769 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
16770 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
16772 2014-10-17 Pedro Alves <palves@redhat.com>
16775 * gdb.base/bg-execution-repeat.c: New file.
16776 * gdb.base/bg-execution-repeat.exp: New file.
16778 2014-10-17 Pedro Alves <palves@redhat.com>
16781 * gdb.base/continue-all-already-running.c: New file.
16782 * gdb.base/continue-all-already-running.exp: New file.
16784 2014-10-17 Pedro Alves <palves@redhat.com>
16787 * gdb.base/annota-input-while-running.c: New file.
16788 * gdb.base/annota-input-while-running.exp: New file.
16790 2014-10-17 Pedro Alves <palves@redhat.com>
16792 * gdb.base/callfuncs.exp: emove references to osf.
16793 * gdb.base/sigall.exp: Likewise.
16794 * gdb.gdb/selftest.exp: Likewise.
16795 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
16796 * gdb.mi/non-stop.c: Likewise.
16797 * gdb.mi/pthreads.c: Likewise.
16798 * gdb.reverse/sigall-precsave.exp: Likewise.
16799 * gdb.reverse/sigall-reverse.exp: Likewise.
16800 * gdb.threads/pthreads.c: Likewise.
16801 * gdb.threads/pthreads.exp: Likewise.
16803 2014-10-17 Yao Qi <yao@codesourcery.com>
16805 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
16806 check 'target_info exists noargs'.
16807 (test_command_prompt_position): Likewise.
16808 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
16810 (progvar_simple_while_test): Likewise.
16811 (progvar_complex_if_while_test): Likewise.
16812 (if_while_breakpoint_command_test): Likewise.
16813 (infrun_breakpoint_command_test): Likewise.
16814 (breakpoint_command_test): Likewise.
16815 (watchpoint_command_test): Likewise.
16816 (bp_deleted_in_command_test): Likewise.
16817 (temporary_breakpoint_commands): Likewise.
16819 2014-10-16 Yao Qi <yao@codesourcery.com>
16821 * gdb.base/remotetimeout.exp: Remove noargs checking.
16823 2014-10-15 Pedro Alves <palves@redhat.com>
16825 PR breakpoints/9649
16826 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
16827 * gdb.base/breakpoint-in-ro-region.exp
16828 (probe_target_hardware_step): New procedure.
16829 (top level): Probe hardware stepping and hardware breakpoint
16830 support. Test stepping through a read-only region, with both
16831 "breakpoint auto-hw" on and off and both "always-inserted" on and
16834 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
16836 * gdb.dlang/demangle.exp: Update for demangling changes.
16838 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
16840 * gdb.cp/non-trivial-retval.cc: Add new test cases.
16841 * gdb.cp/non-trivial-retval.exp: Add new tests.
16843 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
16847 * gdb.cp/non-trivial-retval.cc: New file.
16848 * gdb.cp/non-trivial-retval.exp: New file.
16850 2014-10-15 Yao Qi <yao@codesourcery.com>
16852 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
16855 2014-10-15 Yao Qi <yao@codesourcery.com>
16857 * gdb.python/py-symbol.exp: Match file base name if host is
16858 remote, otherwise match file name with dir name.
16859 * gdb.python/py-symtab.exp: Likewise.
16860 * gdb.python/python.exp: Likewise.
16862 2014-10-15 Yao Qi <yao@codesourcery.com>
16864 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
16866 * gdb.python/py-symtab.exp: Likewise.
16867 * gdb.python/python.exp: Remove trailing ".*". Fix typo
16870 2014-10-14 Joel Brobecker <brobecker@adacore.com>
16872 * gdb.ada/addr_arith: New testcase.
16874 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
16876 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
16877 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
16878 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
16879 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
16881 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
16883 * gdb.arch/stap-eval-lang-ada.S: Likewise.
16884 * gdb.arch/stap-eval-lang-ada.c: Likewise.
16885 * gdb.arch/stap-eval-lang-ada.exp: New file.
16887 2014-10-14 Yao Qi <yao@codesourcery.com>
16889 * gdb.mi/mi-var-child.c (nothing1): New function.
16890 (nothing2): New function.
16891 (do_children_tests): Set function pointers by nothing1 and
16893 * gdb.mi/mi-var-child.exp: Step over new added statements.
16894 Update test to match the new output.
16895 * gdb.mi/var-cmd.c (nothing1): New function.
16896 (nothing2): New function.
16897 (do_children_tests): Set function pointers by nothing1 and
16899 * gdb.mi/mi-var-display.exp: Update test to match output.
16900 Step to the line specified by $line_dct_nothing.
16901 Increase the number of lines to step.
16903 2014-10-14 Yao Qi <yao@codesourcery.com>
16905 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
16907 * gdb.mi/mi2-var-child.exp: Likewise.
16909 2014-10-13 Doug Evans <dje@google.com>
16911 * gdb.python/py-objfile.exp: Change name of file name test.
16913 2014-10-13 Doug Evans <dje@google.com>
16915 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
16916 from the start of the CU.
16918 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
16919 Yao Qi <yao@codesourcery.com>
16921 Fix "save breakpoints" for "catch" command.
16922 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
16923 Remove -nonewline. Match also the added "main" line.
16925 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16927 Fix "save breakpoints" for "disable $bpnum" command.
16928 * gdb.base/save-bp.c (main): Add label.
16929 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
16931 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16933 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
16935 2014-10-11 Yao Qi <yao@codesourcery.com>
16937 * gdb.server/server-kill.exp: Execute command
16938 "set remote trace-status-packet on" before "tstatus".
16940 2014-10-11 Yao Qi <yao@codesourcery.com>
16942 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
16943 (main): Call getppid.
16944 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
16945 and continue to it. Read variable "server_pid".
16947 2014-10-11 Yao Qi <yao@codesourcery.com>
16949 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
16951 2014-10-11 Yao Qi <yao@codesourcery.com>
16953 * gdb.threads/thread-find.exp: Don't execute command
16955 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
16956 * gdb.threads/linux-dp.exp: Don't check the condition
16957 $threads_created equals to zero.
16959 2014-10-10 Pedro Alves <palves@redhat.com>
16961 * gdb.base/bigcore.exp: Remove references to IRIX.
16962 * gdb.base/funcargs.exp: Likewise.
16963 * gdb.base/interrupt.exp: Likewise.
16964 * gdb.base/mips_pro.exp: Likewise.
16965 * gdb.base/nodebug.exp: Likewise.
16966 * gdb.base/setvar.exp: Likewise.
16967 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
16969 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16970 Pedro Alves <palves@redhat.com>
16973 * gdb.base/vdso-warning.c: New file.
16974 * gdb.base/vdso-warning.exp: New file.
16976 2014-10-02 Doug Evans <dje@google.com>
16978 * gdb.base/structs.c (main): Don't run forever.
16980 2014-10-02 Pedro Alves <palves@redhat.com>
16982 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
16983 (top level) <stop threads 1, stop threads 2>: Use it.
16985 2014-10-02 Pedro Alves <palves@redhat.com>
16987 * gdb.threads/break-while-running.exp (test): Add new
16988 'update_thread_list' argument. Skip "info threads" if false.
16989 (top level): Add new 'update_thread_list' axis.
16991 2014-10-02 Pedro Alves <palves@redhat.com>
16993 PR breakpoints/17431
16994 * gdb.base/execl-update-breakpoints.c: New file.
16995 * gdb.base/execl-update-breakpoints.exp: New file.
16997 2014-10-01 Pedro Alves <palves@redhat.com>
16999 * gdb.base/breakpoint-in-ro-region.c: New file.
17000 * gdb.base/breakpoint-in-ro-region.exp: New file.
17002 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
17004 * gdb.mi/mi-exit-code.exp: New file.
17005 * gdb.mi/mi-exit-code.c: New file.
17007 2014-09-30 Yao Qi <yao@codesourcery.com>
17009 * lib/prelink-support.exp (build_executable_own_libs): Error if
17010 the target isn't native.
17012 2014-09-30 Yao Qi <yao@codesourcery.com>
17014 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
17017 2014-09-22 Pedro Alves <palves@redhat.com>
17019 * gdb.threads/break-while-running.exp: New file.
17020 * gdb.threads/break-while-running.c: New file.
17022 2014-09-19 Yao Qi <yao@codesourcery.com>
17024 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
17025 Invoke test. Restart GDB with --readnow and invoke test again.
17027 2014-09-19 Yao Qi <yao@codesourcery.com>
17029 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
17030 proc set_breakpoint_on_gcd_function. Invoke
17031 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
17032 invoke set_breakpoint_on_gcd_function again.
17034 2014-09-18 Doug Evans <dje@google.com>
17036 * gdb.dwarf2/symtab-producer.exp: New file.
17038 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
17040 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
17041 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
17042 * gdb.base/global-var-nested-by-dso.c: Likewise.
17043 * gdb.base/global-var-nested-by-dso.exp: Likewise.
17045 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
17046 Pedro Alves <palves@redhat.com>
17048 * gdb.base/watch-bitfields.exp: Pass string other than test file
17049 name to prepare_for_testing.
17050 (watch): New procedure.
17051 (expect_watchpoint): Use with_test_prefix.
17052 (top level): Factor out tests to ...
17053 (test_watch_location, test_regular_watch): ... these new
17054 procedures, and use with_test_prefix and gdb_continue_to_end.
17056 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
17058 PR breakpoints/12526
17059 * gdb.base/watch-bitfields.exp: New file.
17060 * gdb.base/watch-bitfields.c: New file.
17062 2014-09-16 Pedro Alves <palves@redhat.com>
17064 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
17065 software and hardware addresses, not software address against
17068 2014-09-16 Pedro Alves <palves@redhat.com>
17070 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
17071 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
17073 2014-09-16 Pedro Alves <palves@redhat.com>
17075 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
17077 * gdb.base/a2-run.exp: Remove all code guarded by istarget
17078 "*-*-vxworks*" throughout.
17079 * gdb.base/break.exp: Likewise.
17080 * gdb.base/default.exp: Likewise.
17081 * gdb.base/scope.exp: Likewise.
17082 * gdb.base/sepdebug.exp: Likewise.
17083 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
17085 * gdb.base/run.c: Likewise.
17086 * gdb.base/sepdebug.c: Likewise.
17087 * gdb.hp/gdb.aCC/run.c: Likewise.
17088 * gdb.reverse/until-reverse.c: Likewise.
17089 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
17091 2014-09-16 Yao Qi <yao@codesourcery.com>
17093 * boards/local-remote-host-native.exp: New file.
17095 2014-09-14 Doug Evans <xdje42@gmail.com>
17097 * gdb.threads/queue-signal.c (thread_count): New variable.
17098 (thread_count_mutex, thread_count_condvar): New variables.
17099 (incr_thread_count, wait_all_threads_running): New functions.
17100 (main): Wait for all threads to be in their thread functions.
17102 2014-09-13 Doug Evans <xdje42@gmail.com>
17104 * gdb.threads/queue-signal.c: New file.
17105 * gdb.threads/queue-signal.exp: New file.
17107 2014-09-13 Doug Evans <xdje42@gmail.com>
17109 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
17110 be consistent with what default_gdb_init uses.
17111 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
17112 the plain text of the prompt. Add some logging printfs.
17113 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
17115 2014-09-12 Pedro Alves <palves@redhat.com>
17117 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
17118 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
17119 * gdb.arch/i386-size-overlap.exp: Likewise.
17120 * gdb.arch/i386-size.exp: Likewise.
17121 * gdb.arch/i386-unwind.exp: Likewise.
17122 * gdb.base/a2-run.exp: Likewise.
17123 * gdb.base/break.exp: Likewise.
17124 * gdb.base/charset.exp: Likewise.
17125 * gdb.base/chng-syms.exp: Likewise.
17126 * gdb.base/commands.exp: Likewise.
17127 * gdb.base/dbx.exp: Likewise.
17128 * gdb.base/find.exp: Likewise.
17129 * gdb.base/funcargs.exp: Likewise.
17130 * gdb.base/jit-simple.exp: Likewise.
17131 * gdb.base/reread.exp: Likewise.
17132 * gdb.base/sepdebug.exp: Likewise.
17133 * gdb.base/step-bt.exp: Likewise.
17134 * gdb.cp/mb-inline.exp: Likewise.
17135 * gdb.cp/mb-templates.exp: Likewise.
17136 * gdb.objc/basicclass.exp: Likewise.
17137 * gdb.threads/killed.exp: Likewise.
17139 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17142 * gdb.arch/powerpc-stackless.S: New file.
17143 * gdb.arch/powerpc-stackless.exp: New file.
17145 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
17147 * gdb.base/attach.c: Include unistd.h.
17148 (main): Call alarm. Add label postloop.
17149 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
17150 gdb_breakpoint, gdb_continue_to_breakpoint.
17151 (test_command_line_attach_run): Kill ${testpid} in one exit path.
17153 2014-09-11 Pedro Alves <palves@redhat.com>
17156 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
17157 * gdb.base/attach.exp (test_command_line_attach_run): New
17159 (top level): Call it.
17161 2014-09-11 Pedro Alves <palves@redhat.com>
17163 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
17164 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
17165 (do_command_attach_tests): Use spawn_wait_for_attach.
17166 * gdb.base/solib-overlap.exp: Likewise.
17167 * gdb.multi/multi-attach.exp: Likewise.
17168 * gdb.python/py-prompt.exp: Likewise.
17169 * gdb.python/py-sync-interp.exp: Likewise.
17170 * gdb.server/ext-attach.exp: Likewise.
17172 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
17174 * gdb.fortran/array-element.exp: Remove unexpected "continue"
17175 command in testcase. Simplify testcase.
17177 2014-09-10 Joel Brobecker <brobecker@adacore.com>
17179 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
17181 2014-09-10 Joel Brobecker <brobecker@adacore.com>
17183 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
17185 2014-09-10 Joel Brobecker <brobecker@adacore.com>
17187 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
17189 2014-09-10 Joel Brobecker <brobecker@adacore.com>
17191 * gdb.dwarf2/dynarr-ptr.c: New file.
17192 * gdb.dwarf2/dynarr-ptr.exp: New file.
17194 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17196 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
17197 of 30 rather than hardcoding 120 for a slow test case. Take the
17198 `gdb,timeout' target setting into account for this calculation.
17199 Don't extend the timeout for the test cases that don't need it.
17201 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17203 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
17204 a factor of 2 for a slow test case. Take the `gdb,timeout'
17205 target setting into account for this calculation.
17206 * gdb.reverse/until-precsave.exp: Increase the timeout by
17207 a factor of 15 and 3 respectively rather than adding 120
17208 for a pair of slow test cases. Take the `gdb,timeout'
17209 target setting into account for this calculation.
17211 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17213 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
17214 timeout, don't pass one down to gdb_expect.
17215 (gdb_expect): Rework timeout selection.
17217 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17219 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
17220 exception on timeout.
17221 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
17222 (gdbserver_start_extended): Catch any `gdbserver_start' error
17224 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
17225 * lib/mi-support.exp (mi_gdb_target_load): Catch any
17226 `gdbserver_gdb_load' error exceptions.
17228 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17230 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
17231 120 on waiting for the TCP socket to open.
17233 2014-09-09 Doug Evans <xdje42@gmail.com>
17235 * gdb.base/default.exp (show_conv_list): Add _caller_is,
17236 _caller_matches, _any_caller_is, _any_caller_matches.
17238 2014-09-09 Doug Evans <xdje42@gmail.com>
17240 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
17242 2014-09-09 Yao Qi <yao@codesourcery.com>
17244 * gdb.mi/mi-var-display.exp: Set print symbol off.
17246 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
17249 * gdb.base/commands.exp: Add tests to verify user-defined
17250 commands with empty bodies.
17251 * gdb.python/py-cmd.exp: Test that we don't show user-defined
17252 python commands in `show user command`.
17253 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
17254 scheme commands in `show user command`.
17256 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17259 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
17260 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
17261 * gdb.python/py-framefilter-invalidarg.exp: New file.
17262 * gdb.python/py-framefilter-invalidarg.py: New file.
17264 2014-09-06 Doug Evans <xdje42@gmail.com>
17267 * gdb.python/py-caller-is.c: New file.
17268 * gdb.python/py-caller-is.exp: New file.
17270 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
17273 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
17274 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
17276 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
17279 * gdb.fortran/print-formatted.exp: New file.
17280 * gdb.fortran/print-formatted.f90: Likewise.
17282 2014-09-03 Sasha Smundak <asmundak@google.com>
17284 * gdb.python/py-frame.exp: Test Frame.read_register.
17286 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
17289 * gdb.python/py-completion.exp: New file.
17290 * gdb.python/py-completion.py: Likewise.
17292 2014-08-28 Doug Evans <dje@google.com>
17294 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
17295 eax,etc. are live with values set by gdb and thus the compiler can't
17297 * gdb.arch/i386-pseudo.c (main): Ditto.
17299 2014-08-27 Doug Evans <dje@google.com>
17301 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
17303 2014-08-25 Doug Evans <dje@google.com>
17305 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
17308 2014-08-25 Doug Evans <dje@google.com>
17310 * gdb.threads/thread-execl.exp: #include <stdio.h>.
17312 2014-08-24 Yao Qi <yao@codesourcery.com>
17314 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
17316 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
17318 2014-08-22 Doug Evans <dje@google.com>
17321 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
17322 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
17323 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
17325 2014-08-22 Yao Qi <yao@codesourcery.com>
17327 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
17328 * gdb.python/py-finish-breakpoint2.exp: Likewise.
17329 * gdb.python/python.exp: Likewise. Use .py file on the host
17330 instead of the build.
17332 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17334 * gdb.threads/gcore-stale-thread.c: New file.
17335 * gdb.threads/gcore-stale-thread.exp: New file.
17337 2014-08-21 Pedro Alves <palves@redhat.com>
17339 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
17340 * gdb.base/gcore-relro-pie.exp: Likewise.
17341 * gdb.base/gcore-relro.exp: Likewise.
17342 * gdb.base/gcore.exp: Likewise.
17343 * gdb.base/print-symbol-loading.exp: Likewise.
17344 * gdb.threads/gcore-thread.exp: Likewise.
17345 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
17347 2014-08-20 Pedro Alves <palves@redhat.com>
17348 Jan Kratochvil <jan.kratochvil@redhat.com>
17350 * Makefile.in (EXTRA_RULES, CC): New variables, get from
17352 (EXPECT): Handle READ1 being set.
17353 (all): Depend on EXTRA_RULES.
17354 (check-read1, expect-read1, read1.so, read1): New rules.
17355 * README (Testsuite Parameters): Document the READ1 make variable.
17356 (Race detection): New section.
17357 * configure: Regenerate.
17358 * configure.ac: If build==host==target, and running under a
17359 GNU/glibc system, add read1 to the extra Makefile rules.
17360 (EXTRA_RULES): AC_SUBST it.
17361 * lib/read1.c: New file.
17363 2014-08-20 Joel Brobecker <brobecker@adacore.com>
17365 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
17366 the handling of variables declared as a typedef to an array
17367 which a DW_AT_data_location attribute.
17369 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
17370 Pedro Alves <palves@redhat.com>
17374 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
17377 2014-08-19 Pedro Alves <palves@redhat.com>
17379 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
17381 2014-08-19 Yao Qi <yao@codesourcery.com>
17383 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
17386 2014-08-18 David Blaikie <dblaikie@gmail.com>
17388 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
17390 2014-08-18 Joel Brobecker <brobecker@adacore.com>
17392 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
17393 attribute in array range.
17395 2014-08-18 Joel Brobecker <brobecker@adacore.com>
17397 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
17399 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
17402 * gdb.cp/pr17132.cc: New file.
17403 * gdb.cp/pr17132.exp: New file.
17405 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
17407 * gdb.python/py-xmethods.py (A_getarrayind)
17408 (E_method_char_worker.__call__, E_method_int_worker.__call__):
17409 Use 'print' with function call syntax.
17410 (E_method_matcher.match): Fix tab vs space indentation mixup.
17412 2014-08-15 Yao Qi <yao@codesourcery.com>
17414 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
17417 2014-08-15 Yao Qi <yao@codesourcery.com>
17419 * gdb.cp/casts.exp: Set print symbol off.
17420 * gdb.cp/class2.exp: Likewise.
17421 * gdb.cp/overload.exp: Likewise.
17422 * gdb.cp/templates.exp: Likewise.
17424 2014-08-11 Doug Evans <dje@google.com>
17426 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
17427 (test_load_shlib): Update.
17429 2014-08-09 Yao Qi <yao@codesourcery.com>
17431 * gdb.base/display.exp: Invoke is_address_zero_readable.
17432 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
17433 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
17434 * gdb.base/hbreak-unmapped.exp: Return if
17435 is_address_zero_readable returns true.
17436 * gdb.base/signest.exp: Likewise.
17437 * gdb.base/signull.exp: Likewise.
17438 * gdb.base/sigbpt.exp: Likewise.
17439 * gdb.guile/scm-disasm.exp: Do the test if
17440 is_address_zero_readable returns false.
17441 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
17442 * gdb.python/py-arch.exp: Likewise.
17443 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
17444 * lib/gdb.exp (is_address_zero_readable): New proc.
17446 2014-08-09 Yao Qi <yao@codesourcery.com>
17449 * gdb.mi/mi-var-display.exp: Make test messages unique.
17451 2014-08-04 Tom Tromey <tromey@redhat.com>
17453 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
17456 2014-08-04 Tom Tromey <tromey@redhat.com>
17458 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
17461 2014-08-01 Joel Brobecker <brobecker@adacore.com>
17463 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
17464 inner_vla_struct_object_size.
17465 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
17468 2014-07-30 Pedro Alves <palves@redhat.com>
17470 * gdb.threads/signal-command-handle-nopass.exp (test): Add
17473 2014-07-29 Yao Qi <yao@codesourcery.com>
17476 * gdb.base/until-nodebug.exp: New.
17478 2014-07-28 Doug Evans <xdje42@gmail.com>
17481 * gdb.guile/scm-parameter.exp: Add tests for trying to create
17482 previously existing parameter, and previously ambiguously spelled
17485 2014-07-28 Will Newton <will.newton@linaro.org>
17487 * gdb.base/varargs.exp: Remove KFAILs for ARM.
17489 2014-07-26 Ludovic Courtès <ludo@gnu.org>
17490 Doug Evans <xdje42@gmail.com>
17493 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
17495 2014-07-25 Pedro Alves <palves@redhat.com>
17497 * gdb.threads/signal-command-handle-nopass.c: New file.
17498 * gdb.threads/signal-command-handle-nopass.exp: New file.
17499 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
17500 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
17501 * gdb.threads/signal-delivered-right-thread.c: New file.
17502 * gdb.threads/signal-delivered-right-thread.exp: New file.
17504 2014-07-25 Pedro Alves <palves@redhat.com>
17506 * gdb.base/double-prompt-target-event-error.exp
17507 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
17509 (cancel_pagination_in_target_event): Rework double prompt
17511 * gdb.base/paginate-after-ctrl-c-running.exp
17512 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
17514 * gdb.base/paginate-bg-execution.exp
17515 (test_bg_execution_pagination_return)
17516 (test_bg_execution_pagination_cancel): Remove '-notransfer
17518 * gdb.base/paginate-execution-startup.exp
17519 (test_fg_execution_pagination_return)
17520 (test_fg_execution_pagination_cancel): Remove '-notransfer
17522 * gdb.base/paginate-inferior-exit.exp
17523 (test_paginate_inferior_exited): Remove '-notransfer <return>'
17525 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
17526 * lib/gdb.exp (pagination_prompt): Run text through
17528 (gdb_test_multiple): Match $pagination_prompt instead of
17530 (string_to_regexp): Move to lib/gdb-utils.exp.
17532 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
17534 * gdb.arch/amd64-entry-value-paramref.S: New file.
17535 * gdb.arch/amd64-entry-value-paramref.cc: New file.
17536 * gdb.arch/amd64-entry-value-paramref.exp: New file.
17537 * gdb.arch/amd64-optimout-repeat.S: New file.
17538 * gdb.arch/amd64-optimout-repeat.c: New file.
17539 * gdb.arch/amd64-optimout-repeat.exp: New file.
17541 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
17544 * gdb.base/statistics.exp: New file.
17546 2014-07-17 Doug Evans <dje@google.com>
17549 * gdb.base/maint.exp: Update testing of per-command stats.
17551 2014-07-16 Pedro Alves <palves@redhat.com>
17553 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
17554 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
17555 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
17556 (tfile_write_buf): New functions.
17557 (add_memory_block): Rewrite using the above.
17558 (adjust_function_address): New function.
17559 (FUNCTION_ADDRESS): New macro.
17560 (write_basic_trace_file): Remove short_x local, and use
17561 tfile_write_16. Change type of func_addr local to unsigned long
17562 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
17563 here. Cast argument of add_memory_block to char pointer.
17564 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
17565 (main): Remove parameters.
17566 * gdb.trace/tfile.exp: Remove nowarnings.
17568 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
17570 * gdb.base/debug-expr.exp: Test string evaluation with
17571 "debug expression" on.
17573 2014-07-15 Pedro Alves <palves@redhat.com>
17575 * gdb.base/reread.exp: Use clean_restart.
17577 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
17579 * gdb.arch/avr-flash-qualifer.c: New.
17580 * gdb.arch/avr-flash-qualifer.exp: New.
17582 2014-07-14 Pedro Alves <palves@redhat.com>
17584 * gdb.base/paginate-after-ctrl-c-running.c: New file.
17585 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
17587 2014-07-14 Pedro Alves <palves@redhat.com>
17589 * gdb.base/double-prompt-target-event-error.c: New file.
17590 * gdb.base/double-prompt-target-event-error.exp: New file.
17592 2014-07-14 Pedro Alves <palves@redhat.com>
17595 * gdb.base/paginate-inferior-exit.c: New file.
17596 * gdb.base/paginate-inferior-exit.exp: New file.
17598 2014-07-14 Pedro Alves <palves@redhat.com>
17601 * gdb.base/paginate-bg-execution.c: New file.
17602 * gdb.base/paginate-bg-execution.exp: New file.
17604 2014-07-14 Pedro Alves <palves@redhat.com>
17607 * gdb.base/paginate-execution-startup.c: New file.
17608 * gdb.base/paginate-execution-startup.exp: New file.
17609 * lib/gdb.exp (pagination_prompt): New global.
17610 (default_gdb_spawn): New procedure, factored out from
17612 (default_gdb_start): Adjust to call default_gdb_spawn.
17613 (gdb_spawn): New procedure.
17615 2014-07-14 Pedro Alves <palves@redhat.com>
17617 * lib/gdb.exp (gdb_assert): New procedure.
17618 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
17620 2014-07-14 Pedro Alves <palves@redhat.com>
17622 * gdb.base/execution-termios.c: New file.
17623 * gdb.base/execution-termios.exp: New file.
17625 2014-07-14 Tom Tromey <tromey@redhat.com>
17627 * gdb.cp/vla-cxx.cc: New file.
17628 * gdb.cp/vla-cxx.exp: New file.
17630 2014-07-14 Tom Tromey <tromey@redhat.com>
17632 * gdb.reverse/rerun-prec.c: New file.
17633 * gdb.reverse/rerun-prec.exp: New file.
17635 2014-07-12 Maciej W. Rozycki <macro@mips.com>
17636 Maciej W. Rozycki <macro@codesourcery.com>
17638 * lib/gdb-utils.exp: New file.
17639 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
17640 inline `gdb_init_command' processing.
17641 (gdb_start_cmd): Likewise.
17642 * lib/mi-support.exp (mi_run_cmd): Likewise.
17643 * README: Document `gdb_init_command' and `gdb_init_commands'.
17645 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17647 Fix false FAIL running under a very long directory name.
17648 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
17649 and "set print elements 10000". Twice.
17651 2014-07-11 Yao Qi <yao@codesourcery.com>
17653 * gdb.base/exprs.exp: "set print symbol off".
17655 2014-07-11 Pedro Alves <palves@redhat.com>
17657 * gdb.threads/kill.c: New file.
17658 * gdb.threads/kill.exp: New file.
17660 2014-07-10 Yao Qi <yao@codesourcery.com>
17662 * gdb.trace/tfile.c (write_basic_trace_file)
17663 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
17664 address written to trace file.
17666 2014-07-09 Pedro Alves <palves@redhat.com>
17668 * gdb.base/attach-wait-input.exp: New file.
17669 * gdb.base/attach-wait-input.c: New file.
17671 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
17673 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
17674 setting up test structures.
17675 (main): Call new test function.
17676 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
17677 test function, continue into test function and walk test
17680 2014-07-02 Yao Qi <yao@codesourcery.com>
17682 * gdb.trace/entry-values.c: Define labels 'foo_start' and
17683 'bar_start' at the beginning of functions 'foo' and 'bar'
17685 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
17686 instead of 'foo' and 'bar'.
17688 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
17690 * gdb.btrace/segv.exp: New.
17691 * gdb.btrace/segv.c: New.
17693 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
17695 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
17698 2014-06-30 Mark Wielaard <mjw@redhat.com>
17700 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
17701 vulture, vilify, villar): New volatile array constants.
17702 (vindictive, vegetation): New const volatile array constants.
17703 * gdb.base/volatile.exp: Test volatile and const volatile array
17706 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
17708 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
17709 target lacks support for awatch, rwatch, or hbreak.
17711 2014-06-27 Yao Qi <yao@codesourcery.com>
17713 * gdb.multi/dummy-frame-restore.exp: New.
17714 * gdb.multi/dummy-frame-restore.c: New.
17716 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
17718 * gdb.btrace/gcore.exp: New.
17720 2014-06-23 Pedro Alves <palves@redhat.com>
17722 * gdb.base/watchpoint-reuse-slot.c: New file.
17723 * gdb.base/watchpoint-reuse-slot.exp: New file.
17725 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
17727 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
17728 progspace's filename in 'info', 'enable' and 'disable' command
17731 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
17733 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
17734 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
17735 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
17737 2014-06-20 Gary Benson <gbenson@redhat.com>
17739 * gdb.arch/i386-avx.exp: Fix include file location.
17740 * gdb.arch/i386-sse.exp: Likewise.
17742 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
17744 * gdb.dlang/expression.exp: New file.
17746 2014-06-19 Pedro Alves <palves@redhat.com>
17748 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
17750 (top level): ... here. Iterate running tests under different
17751 scheduler-locking settings.
17753 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
17755 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
17756 to DW_FORM_addr and use non-zero addresses.
17758 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
17761 * gdb.python/py-xmethods.cc: Add global function call counters and
17762 increment them in their respective functions. Remove "cout"
17764 * gdb.python/py-xmethods.exp: Make tests check the global function
17765 call counters instead of depending on inferior IO.
17767 2014-06-18 Don Breazeal <donb@codesourcery.com>
17769 * gdb.base/foll-fork.exp (default_fork_parent_follow):
17771 (explicit_fork_parent_follow): Deleted procedure.
17772 (explicit_fork_child_follow): Deleted procedure.
17773 (test_follow_fork): New procedure.
17774 (do_fork_tests): Replace calls to deleted procedures with
17775 calls to test_follow_fork and reset GDB for subsequent
17778 2014-06-17 Yao Qi <yao@codesourcery.com>
17780 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
17783 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
17785 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
17786 Initialize ptr and S explicitly.
17787 (skip_type_update_when_not_use_rtti_test): Likewise.
17789 2014-06-16 Keith Seitz <keiths@redhat.com>
17792 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
17793 the inferior is started.
17795 2014-06-16 Pedro Alves <palves@redhat.com>
17797 * gdb.base/break-main-file-remove-fail.c: New file.
17798 * gdb.base/break-main-file-remove-fail.exp: New file.
17799 * gdb.base/break-unload-file.exp: Use build_executable instead of
17800 prepare_for_testing.
17801 (test_break): New parameter "initial_load". Handle it.
17802 (top level): Add initial_load cmdline/file axis.
17804 2014-06-12 Tom Tromey <tromey@redhat.com>
17806 * gdb.base/completion.exp: Don't use directory name in test.
17808 2014-06-09 Gary Benson <gbenson@redhat.com>
17810 * gdb.base/sigall.c [Functions to send signals]: Reorder to
17811 separate the always-available ANSI-standard signals from the
17812 signals that require checking.
17814 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
17818 2014-06-07 Keith Seitz <keiths@redhat.com>
17822 * gdb.cp/var-tag.cc: New file.
17823 * gdb.cp/var-tag.exp: New file.
17824 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
17825 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
17826 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
17827 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
17829 2014-06-06 Doug Evans <xdje42@gmail.com>
17831 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
17833 2014-06-06 Pedro Alves <palves@redhat.com>
17835 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
17836 in target debug output instead of looking at RSP packets,
17837 disabling the test on any target that uses hardware stepping.
17840 2014-06-06 Pedro Alves <palves@redhat.com>
17842 * gdb.base/break-unload-file.exp: Fix typo.
17844 2014-06-06 Yao Qi <yao@codesourcery.com>
17846 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
17847 from "jit_function" to "^jit_function".
17849 2014-06-06 Yao Qi <yao@codesourcery.com>
17851 * gdb.base/async.c (foo): Add one statement.
17852 * gdb.base/async.exp: Get the next instruction address and
17853 match the output of "nexti" by instruction address. Match
17854 the hex address in the output of "finish".
17856 2014-06-06 Gary Benson <gbenson@redhat.com>
17858 * gdb.base/call-signals.c: Remove preprocessor conditionals
17859 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
17860 SIGSEGV and SIGTERM.
17861 * gdb.base/sigall.c: Likewise.
17862 * gdb.base/unwindonsignal.c: Likewise.
17863 * gdb.reverse/sigall-reverse.c: Likewise.
17865 2014-06-06 Yao Qi <yao@codesourcery.com>
17867 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
17868 readable, skip the test.
17870 2014-06-06 Yao Qi <yao@codesourcery.com>
17872 * gdb.threads/staticthreads.c (thread_function): Move the line
17873 setting breakpoint on forward.
17874 * gdb.threads/staticthreads.exp: Update comments.
17876 2014-06-05 Ludovic Courtès <ludo@gnu.org>
17878 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
17879 "history-append! type error".
17881 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
17883 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
17884 erroneous dprintf expected input.
17886 2014-06-04 Doug Evans <xdje42@gmail.com>
17888 * gdb.guile/scm-generics.exp: Delete.
17890 2014-06-04 Doug Evans <xdje42@gmail.com>
17892 * gdb.guile/scm-breakpoint.exp: Update.
17893 Add tests for breakpoint registration.
17895 2014-06-04 Tom Tromey <tromey@redhat.com>
17897 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
17899 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
17900 inner_vla_struct, vla_union types. Initialize objects of those
17901 types and compute their sizes.
17903 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
17904 Hui Zhu <hui@codesourcery.com>
17906 * gdb.base/fileio.exp: Add test for shell not available as well as
17908 * gdb.base/fileio.c (test_system): Check for shell twice.
17910 2014-06-04 Yao Qi <yao@codesourcery.com>
17912 * gdb.base/auto-connect-native-target.exp: Remove redundant
17913 space from the regexp pattern.
17915 2014-06-04 Yao Qi <yao@codesourcery.com>
17917 * gdb.base/default.exp: Replace "child" with "native" in
17920 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
17922 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
17923 * gdb.python/py-xmethods.exp: New tests to test xmethods.
17924 * gdb.python/py-xmethods.py: Python script supporting the
17925 new testcase and tests.
17927 2014-06-03 Joel Brobecker <brobecker@adacore.com>
17928 Pedro Alves <palves@redhat.com>
17930 PR breakpoints/17000
17931 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
17932 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
17934 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
17936 * gdb.base/subst.exp: Add tests to verify partial path matching
17939 2014-06-03 Pedro Alves <palves@redhat.com>
17941 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
17942 target that doesn't use software single-stepping.
17944 2014-06-03 Pedro Alves <palves@redhat.com>
17946 PR breakpoints/17000
17947 * gdb.base/sss-bp-on-user-bp-2.c: New file.
17948 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
17950 2014-06-02 Doug Evans <xdje42@gmail.com>
17952 * gdb.guile/scm-parameter.exp: New file.
17954 2014-06-02 Doug Evans <xdje42@gmail.com>
17956 * gdb.guile/scm-cmd.c: New file.
17957 * gdb.guile/scm-cmd.exp: New file.
17959 2014-06-02 Doug Evans <xdje42@gmail.com>
17961 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
17962 pretty-printer lookup.
17963 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
17964 (make-pp_s-printer): Call it.
17965 (make-pretty-printer-from-dict): New function.
17966 (lookup-pretty-printer-maker-from-dict): New function.
17967 (*pretty-printer*): Simplify.
17968 (make-objfile-pp_s-printer): New function.
17969 (install-objfile-pretty-printers!): New function.
17970 (make-progspace-pp_s-printer): New function.
17971 (install-progspace-pretty-printers!): New function.
17972 * gdb.guile/scm-progspace.c: New file.
17973 * gdb.guile/scm-progspace.exp: New file.
17975 2014-06-02 Pedro Alves <palves@redhat.com>
17977 * gdb.base/dprintf-bp-same-addr.c: New file.
17978 * gdb.base/dprintf-bp-same-addr.exp: New file.
17980 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17982 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
17983 * gdb.arch/powerpc-power.s: Likewise.
17985 2014-06-02 Joel Brobecker <brobecker@adacore.com>
17987 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
17989 2014-06-01 Yao Qi <yao@codesourcery.com>
17991 * gdb.base/watchpoint.exp (test_watch_location): Check null
17992 pointer can be dereferenced. If not, do the test, otherwise
17995 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
17997 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
17999 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
18001 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
18003 * gdb.arch/amd64-invalid-stack-middle.S: New file.
18004 * gdb.arch/amd64-invalid-stack-middle.c: New file.
18005 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
18006 * gdb.arch/amd64-invalid-stack-top.c: New file.
18007 * gdb.arch/amd64-invalid-stack-top.exp: New file.
18009 2014-05-30 Pedro Alves <palves@redhat.com>
18011 PR breakpoints/17000
18012 * gdb.base/sss-bp-on-user-bp.c: New file.
18013 * gdb.base/sss-bp-on-user-bp.exp: New file.
18015 2014-05-30 David Blaikie <dblaikie@gmail.com>
18017 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
18018 gnu_inline semantics via attribute.
18019 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
18020 source explicitly specifies the required semantics.
18022 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
18024 * gdb.reverse/sigall-reverse.exp: Fix a typo.
18026 2014-05-29 Pedro Alves <palves@redhat.com>
18027 Tom Tromey <tromey@redhat.com>
18029 * gdb.base/async-shell.exp: Don't enable target-async.
18030 * gdb.base/async.exp
18031 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
18033 (top level): Don't test with "target-async".
18034 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
18035 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
18036 * gdb.base/inferior-died.exp: Don't enable target-async.
18037 * gdb.base/interrupt-noterm.exp: Likewise.
18038 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
18039 * gdb.mi/mi-nonstop-exit.exp: Likewise.
18040 * gdb.mi/mi-nonstop.exp: Likewise.
18041 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
18042 * gdb.mi/mi-nsintrall.exp: Likewise.
18043 * gdb.mi/mi-nsmoribund.exp: Likewise.
18044 * gdb.mi/mi-nsthrexec.exp: Likewise.
18045 * gdb.mi/mi-watch-nonstop.exp: Likewise.
18046 * gdb.multi/watchpoint-multi.exp: Adjust comment.
18047 * gdb.python/py-evsignal.exp: Don't enable target-async.
18048 * gdb.python/py-evthreads.exp: Likewise.
18049 * gdb.python/py-prompt.exp: Likewise.
18050 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
18051 * gdb.server/solib-list.exp: Don't enable target-async.
18052 * gdb.threads/thread-specific-bp.exp: Likewise.
18053 * lib/mi-support.exp: Adjust to use mi-async.
18055 2014-05-29 Pedro Alves <palves@redhat.com>
18058 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
18059 reason, even in sync mode.
18061 2014-05-29 Pedro Alves <palves@redhat.com>
18062 Hui Zhu <hui@codesourcery.com>
18065 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
18066 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
18067 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
18068 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
18070 2014-05-28 Joel Brobecker <brobecker@adacore.com>
18072 * config/monitor.exp (gdb_target_monitor): Replace use of
18073 "set remotebaud" by "set serial baud".
18075 2014-05-26 Andy Wingo <wingo@igalia.com>
18077 * gdb.guile/scm-breakpoint.exp:
18078 * gdb.guile/scm-gsmob.exp: Update to use plain old object
18079 properties instead of gdb-object-properties.
18081 2014-05-26 Yao Qi <yao@codesourcery.com>
18083 * gdb.server/no-thread-db.exp: Specify source file name
18084 explicitly when setting a breakpoint.
18086 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
18088 * gdb.btrace/vdso.c: New.
18089 * gdb.btrace/vdso.exp: New.
18091 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
18093 * gdb.base/gcore.exp (capture_command_output): Move ...
18094 * lib/gdb.exp (capture_command_output): ... here.
18096 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
18098 * gdb.btrace/data.exp: Test memory access during btrace replay.
18100 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
18102 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
18104 2014-05-21 Pedro Alves <palves@redhat.com>
18107 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
18108 (top level): Test that output related to execution commands is
18109 sent to the console with CLI commands, but not with MI commands.
18110 Test that breakpoint events are always mirrored to the console.
18111 Also expect the new source line to be output after a "next" in
18112 async mode too. Make it a pass/fail test.
18113 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
18115 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
18117 2014-05-21 Pedro Alves <palves@redhat.com>
18119 * gdb.base/list.exp (build_pattern, test_list): New procedures.
18120 Use them to test variations of "list" after reaching a breakpoint.
18121 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
18122 Test "list" with listsize 10 after reaching a breakpoint.
18123 * gdb.python/python.exp (decode_line current location line
18124 number): Adjust expected line number.
18126 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
18128 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
18129 behavior for $args, pass it directly to "run".
18131 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
18133 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
18136 2014-05-21 Pedro Alves <palves@redhat.com>
18138 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
18139 auto-connect-native-target off".
18140 * gdb.base/auto-connect-native-target.c: New file.
18141 * gdb.base/auto-connect-native-target.exp: New file.
18143 2014-05-21 Pedro Alves <palves@redhat.com>
18145 * gdb.base/default.exp: Test "target native" instead of "target
18148 2014-05-21 Mark Wielaard <mjw@redhat.com>
18150 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
18152 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
18154 Fix TLS access for -static -pthread.
18155 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
18156 <HAVE_TLS> (thread_function, main): Initialize it.
18157 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
18159 <$have_tls != "">: Check TLSVAR.
18161 2014-05-21 Pedro Alves <palves@redhat.com>
18163 * gdb.base/dcache-line-read-error.c: New.
18164 * gdb.base/dcache-line-read-error.exp: New.
18166 2014-05-20 Pedro Alves <palves@redhat.com>
18168 * gdb.base/compare-sections.c: New file.
18169 * gdb.base/compare-sections.exp: New file.
18171 2014-05-20 Pedro Alves <palves@redhat.com>
18173 * gdb.base/break-idempotent.c: New file.
18174 * gdb.base/break-idempotent.exp: New file.
18176 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
18178 * gdb.btrace/nohist.exp: New.
18180 2014-05-20 Yao Qi <yao@codesourcery.com>
18182 * lib/gdb.exp (gdb_init): Set timeout if test file is under
18183 gdb.reverse directory and gdb_reverse_timeout exists in board
18185 * README: Document gdb_reverse_timeout.
18187 2014-05-20 Yao Qi <yao@codesourcery.com>
18189 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
18190 'test_file_name'. Treat args as a string instead of a list.
18191 (gdb_init): Rename argument 'args' by 'test_file_name'.
18193 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
18195 * gdb.arch/powerpc-power.exp: New file.
18196 * gdb.arch/powerpc-power.s: New file.
18198 2014-05-16 Doug Evans <dje@google.com>
18200 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
18201 * gdb.base/completion.exp: Check that all expected files exist
18202 before doing file completion.
18204 2014-05-16 Doug Evans <dje@google.com>
18206 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
18208 (do_syscall_tests_without_xml): Update.
18210 2014-05-16 Pedro Alves <palves@redhat.com>
18212 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
18213 instead of "unknown output after running".
18215 2014-05-16 Yao Qi <yao@codesourcery.com>
18217 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
18218 file1.txt from host at the end.
18219 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
18221 2014-05-15 Doug Evans <dje@google.com>
18223 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
18224 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
18225 loading file. Add test for TU lookup.
18227 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
18229 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
18230 calling "-exec-arguments" or "set args" before running the
18233 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
18235 * lib/mi-support.exp (mi_expect_stop): Expect message for
18236 inferiors that exit with non-zero exit code.
18238 2014-05-14 Yao Qi <yao@codesourcery.com>
18240 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
18241 match absolute path on remote host.
18242 (test_file_list_exec_source_files): Remove "/" from the
18245 2014-05-14 Yao Qi <yao@codesourcery.com>
18247 * boards/local-remote-host-notty.exp (${board}_file): New
18250 2014-05-07 Kyle McMartin <kyle@redhat.com>
18252 Pushed by Joel Brobecker <brobecker@adacore.com>.
18253 * gdb.arch/aarch64-atomic-inst.c: New file.
18254 * gdb.arch/aarch64-atomic-inst.exp: New file.
18256 2014-05-07 Yao Qi <yao@codesourcery.com>
18258 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
18259 in current context" too.
18261 2014-05-05 Keith Seitz <keiths@redhat.com>
18263 * gdb.linespec/ls-dollar.exp: Add test for linespec
18264 file:convenience_variable.
18266 2014-05-05 Yao Qi <yao@codesourcery.com>
18268 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
18269 traceframes into tfile and ctf trace files. Read data from
18270 trace file and test collected data.
18271 (gdb_collect_locals_test): Likewise.
18272 (gdb_unavailable_registers_test): Likewise.
18273 (gdb_unavailable_floats): Likewise.
18274 (gdb_collect_globals_test): Likewise.
18275 (top-level): Append "ctf" to trace_file_targets if GDB
18278 2014-05-05 Yao Qi <yao@codesourcery.com>
18280 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
18282 (gdb_collect_args_test_1): ... it. New proc.
18283 (gdb_collect_locals_test): Move some code to ...
18284 (gdb_collect_locals_test_1): ... it. New proc.
18285 (gdb_unavailable_registers_test): Move some code to ...
18286 (gdb_unavailable_registers_test_1): ... it. New proc.
18287 (gdb_unavailable_floats): Move some code to ...
18288 (gdb_unavailable_floats_1): ... it. New proc.
18290 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
18292 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
18293 probes to test for bitness recognition.
18294 * gdb.arch/amd64-stap-optional-prefix.exp
18295 (test_probe_value_without_reg): New procedure.
18296 Add code to test for different kinds of bitness.
18298 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
18300 PR breakpoints/16889
18301 * gdb.arch/amd64-stap-optional-prefix.S: New file.
18302 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
18304 2014-05-01 Pedro Alves <palves@redhat.com>
18306 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
18307 gdb_file_cmd if no file is specified.
18308 * boards/native-extended-gdbserver.exp (gdb_load): Use the
18309 last_loaded_file to set the remote exec-file.
18311 2014-05-01 Pedro Alves <palves@redhat.com>
18313 * boards/local-remote-host.exp: New file.
18315 2014-05-01 Pedro Alves <palves@redhat.com>
18317 * boards/local-remote-host.exp: Rename to ...
18318 * boards/local-remote-host-notty.exp: ... this.
18320 2014-04-28 Joel Brobecker <brobecker@adacore.com>
18322 * gdb.ada/dyn_arrayidx: New testcase.
18324 2014-04-26 Yao Qi <yao@codesourcery.com>
18326 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
18327 and compute the length of function main. Save it in
18329 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
18330 (top-level): Use gdb_compile to compile objects into
18331 executable and restart GDB. Remove invocation to
18332 prepare_for_testing.
18334 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
18335 Pedro Alves <palves@redhat.com>
18338 * gdb.multi/multi-attach.c: New file.
18339 * gdb.multi/multi-attach.exp: New file.
18341 2014-04-25 Pedro Alves <palves@redhat.com>
18343 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
18345 (top level): Test that "set remote conditional-breakpoints-packet
18346 off" works as intended.
18347 * gdb.base/dprintf.exp: Test that "set remote
18348 breakpoint-commands-packet off" works as intended.
18349 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
18351 (top level): Call it.
18352 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
18353 remote fast-tracepoints-packet off" works as intended.
18354 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
18355 * lib/gdb.exp (gdb_is_target_remote): ... here.
18357 2014-04-24 David Blaikie <dblaikie@gmail.com>
18359 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
18360 ensure clang would not discard them.
18361 * gdb.base/gdbvars.c: Ditto.
18362 * gdb.base/memattr.c: Ditto.
18363 * gdb.base/whatis.c: Ditto.
18364 * gdb.python/py-prettyprint.c: Ditto.
18365 * gdb.trace/actions.c: Ditto.
18366 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
18367 ensure clang would not discard it.
18369 2014-04-24 David Blaikie <dblaikie@gmail.com>
18371 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
18372 clang to emit the full definition of type required by the test
18373 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
18375 2014-04-24 David Blaikie <dblaikie@gmail.com>
18377 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
18378 coax Clang into emitting the definition of the type.
18379 * gdb.cp/pr10728-x.h (y): Ditto.
18380 * gdb.cp/pr10728-y.cc (y): Ditto.
18382 2014-04-24 David Blaikie <dblaikie@gmail.com>
18384 * gdb.base/label.exp: XFAIL label related tests under Clang.
18385 * gdb.cp/cplabel.exp: Ditto.
18386 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
18387 under Clang those using labels.
18389 2014-04-25 Yao Qi <yao@codesourcery.com>
18391 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
18393 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
18394 partial_label and double_label.
18396 2014-04-24 David Blaikie <dblaikie@gmail.com>
18398 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
18400 2014-04-24 David Blaikie <dblaikie@gmail.com>
18402 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
18403 of the function to work across GCC and Clang.
18404 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
18405 pointer types (const void ** const V void **).
18407 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
18408 Walfred Tedeschi <walfred.tedeschi@intel.com>
18410 * Makefile.in (EXECUTABLES): Added i386-avx512.
18411 * gdb.arch/i386-avx512.c: New file.
18412 * gdb.arch/i386-avx512.exp: Likewise.
18414 2014-04-23 Keith Seitz <keiths@redhat.com>
18416 * lib/mi-support.exp (mi_list_breakpoints): Delete.
18417 (mi_make_breakpoint_table): New procedure.
18418 (mi_create_breakpoint): Use mi_make_breakpoint
18419 and return the result.
18420 (mi_make_breakpoint): New procedure.
18421 (mi_build_kv_pairs): New procedure.
18423 * gdb.mi/mi-break.exp: Remove unused globals,
18424 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
18425 All callers updated.
18426 * gdb.mi/mi-dprintf.exp: Use variable to track command
18428 Update all callers of mi_create_breakpoint and use
18429 mi_make_breakpoint_table.
18430 Remove any unused global variables.
18431 * gdb.mi/mi-nonstop.exp: Likewise.
18432 * gdb.mi/mi-nsintrall.exp: Likewise.
18433 * gdb.mi/mi-nsmoribund.exp: Likewise.
18434 * gdb.mi/mi-nsthrexec.exp: Likewise.
18435 * gdb.mi/mi-reverse.exp: Likewise.
18436 * gdb.mi/mi-simplerun.exp: Likewise.
18437 * gdb.mi/mi-stepn.exp: Likewise.
18438 * gdb.mi/mi-syn-frame.exp: Likewise.
18439 * gdb.mi/mi-until.exp: Likewise.
18440 * gdb.mi/mi-var-cp.exp: Likewise.
18441 * gdb.mi/mi-var-display.exp: Likewise.
18442 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
18443 * gdb.mi/mi2-var-child.exp: Likewise.
18444 * gdb.mi/mi-vla-c99.exp: Likewise.
18445 * lib/mi-support.exp: Likewise.
18447 From Ian Lance Taylor <iant@cygnus.com>:
18448 * lib/gdb.exp (parse_args): New procedure.
18450 2014-04-23 Pedro Alves <palves@redhat.com>
18452 * gdb.base/break-unload-file.c: New file.
18453 * gdb.base/break-unload-file.exp: New file.
18454 * gdb.base/sym-file-lib.c (baz): New function.
18455 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
18457 (load): Store the segment's mapped size.
18458 (unload): New function.
18459 (unload_shlib): New function.
18460 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
18461 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
18462 set a breakpoint at baz, and call it.
18463 * gdb.base/sym-file.exp: New tests for stale breakpoint
18466 2014-04-23 Pedro Alves <palves@redhat.com>
18468 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
18469 * gdb.base/hbreak-in-shr-unsupported.c: New file.
18470 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
18471 * gdb.base/hbreak-unmapped.c: New file.
18472 * gdb.base/hbreak-unmapped.exp: New file.
18473 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
18474 * lib/gdb.exp (gdb_is_target_remote): ... here.
18476 2014-04-22 Pedro Alves <palves@redhat.com>
18478 * gdb.base/consecutive-step-over.c: New file.
18479 * gdb.base/consecutive-step-over.exp: New file.
18481 2014-04-22 Pedro Alves <palves@redhat.com>
18483 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
18484 instead of send_gdb/gdb_expect.
18486 2014-04-22 Yao Qi <yao@codesourcery.com>
18488 * lib/trace-support.exp (generate_tracefile): New procedure.
18489 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
18491 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
18492 if generate_tracefile returns 1.
18494 2014-04-18 Tom Tromey <palves@redhat.com>
18495 Pedro alves <tromey@redhat.com>
18498 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
18499 with a backtrace limit.
18500 * gdb.python/py-frame-inline.exp: Test running to an inline
18501 function with a backtrace limit, and printing the newest frame.
18502 * gdb.python/py-frame-inline.c (main): Call f.
18504 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
18506 * gdb.java/jnpe.exp: Drop srcdir from untested path.
18508 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
18510 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
18511 Drop prefix from unsupported source file path.
18513 2014-04-17 Yao Qi <yao@codesourcery.com>
18515 * lib/gdb.exp (with_target_charset): New proc.
18516 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
18517 with_target_charset.
18518 (test_print_strings): Likewise.
18519 (test_repeat_bytes): Likewise.
18520 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
18523 2014-04-16 Keith Seitz <keiths@redhat.com>
18526 * gdb.dwarf2/corrupt.c: New file.
18527 * gdb.dwarf2/corrupt.exp: New file.
18529 2014-04-16 Keith Seitz <keiths@redhat.com>
18532 * gdb.cp/namelessclass.cc: New file.
18533 * gdb.cp/namelessclass.exp: New file.
18534 * gdb.cp/namelessclass.S: New file.
18536 2014-04-16 Doug Evans <dje@google.com>
18538 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
18540 (gdbserver_default_get_comm_port): New function.
18541 (gdbserver_start): Check if board file provided
18542 "gdbserver,get_comm_port" and use it if so.
18543 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
18544 (gdb,socketport): Set to "stdio".
18545 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
18546 (stdio_gdbserver_template): Delete.
18547 (${board}_get_remote_address): Update.
18548 (${board}_build_remote_cmd): Delete.
18549 (${board}_get_comm_port): New function.
18550 (${board}_spawn): Update.
18551 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
18553 (${board}_get_remote_address): Update.
18554 (${board}_get_comm_port): New function.
18556 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
18558 * gdb.base/memattr.exp: Improve regexps to handle memory regions
18559 appearing in any order.
18561 2014-04-15 Doug Evans <dje@google.com>
18563 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
18564 uninitialized value of "description".
18566 2014-04-15 Keith Seitz <keiths@redhat.com>
18568 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
18569 Remove unused globals.
18570 (test_running_the_program): Likewise.
18571 (test_controlled_execution): Likewise.
18572 (test_controlling_breakpoints): Likewise.
18573 (test_program_termination): Likewise.
18575 2014-04-15 Keith Seitz <keiths@redhat.com>
18577 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
18579 (test_rbreak_creation_and_listing): Likewise.
18580 (test_ignore_count): Likewise.
18581 (test_error): Likewise.
18583 2014-04-15 Pedro Alves <palves@redhat.com>
18585 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
18586 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
18588 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
18589 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
18590 to sym-file-loader.c.
18591 (struct library): Forward declare.
18592 (load_shlib, lookup_function): Change prototypes.
18593 (find_shstrtab, find_strtab, find_shdr, find_symtab)
18594 (translate_offset): Remove declarations.
18595 (get_text_addr): New declaration.
18596 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
18597 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
18599 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
18600 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
18601 here from sym-file-loader.h.
18602 (struct library): New structure.
18603 (load_shlib, lookup_function): Change prototypes and adjust to
18604 work with a struct library.
18605 (find_shstrtab, find_strtab, find_shdr, find_symtab)
18606 (translate_offset): Make static.
18607 (get_text_addr): New function.
18608 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
18610 2014-04-15 Pedro Alves <palves@redhat.com>
18612 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
18614 2014-04-15 Pedro Alves <palves@redhat.com>
18616 * gdb.base/sym-file-loader.c: Include <limits.h>.
18617 (SELF_LINK): New define.
18618 (get_origin): New function.
18619 (load_shlib): Use it.
18620 * gdb.base/sym-file.exp: Don't early return if the target is
18621 remote. Use runto_main, and issue fail is that fails. Use
18623 (shlib_name): Delete.
18624 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
18626 2014-04-15 Pedro Alves <palves@redhat.com>
18628 * gdb.base/sym-file.exp: Remove regex characters from test
18629 message. Don't refer to breakpoint numbers in test messages.
18631 2014-04-14 Keith Seitz <keiths@redhat.com>
18634 * gdb.cp/var-tag.cc: New file.
18635 * gdb.cp/var-tag.exp: New file.
18636 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
18637 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
18638 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
18639 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
18641 2014-04-14 Tom Tromey <tromey@redhat.com>
18643 * gdb.cp/classes.exp (test_enums): Handle underlying type.
18644 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
18646 * gdb.cp/enum-class.exp: New file.
18647 * gdb.cp/enum-class.cc: New file.
18649 2014-04-14 Tom Tromey <tromey@redhat.com>
18651 * gdb.dwarf2/enum-type.exp: New file.
18653 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18655 * gdb.mi/mi-vla-c99.exp: New file.
18656 * gdb.mi/vla.c: New file.
18658 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18660 * gdb.base/vla-datatypes.c: New file.
18661 * gdb.base/vla-datatypes.exp: New file.
18663 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18665 * gdb.base/vla-ptr.c: New file.
18666 * gdb.base/vla-ptr.exp: New file.
18668 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18670 * gdb.dwarf2/count.exp: New file.
18672 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
18674 * gdb.base/vla-sideeffect.c: New file.
18675 * gdb.base/vla-sideeffect.exp: New file.
18677 2014-04-14 David Blaikie <dblaikie@gmail.com>
18679 * gdb.mi/non-stop.c: Add return value for non-void function return
18681 * gdb.threads/staticthreads.c: Ditto.
18683 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
18684 Doug Evans <xdje42@gmail.com>
18686 * gdb.guile/scm-value.c: Improve test case.
18687 * gdb.guile/scm-value.exp: Add new test.
18689 2014-04-11 David Blaikie <dblaikie@gmail.com>
18691 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
18692 override Clang's default.
18694 2014-04-11 Joel Brobecker <brobecker@adacore.com>
18696 Revert the following changes (regressions):
18698 * gdb.base/vla-sideeffect.c: New file.
18699 * gdb.base/vla-sideeffect.exp: New file.
18701 * gdb.dwarf2/count.exp: New file.
18703 * gdb.base/vla-multi.c: New file.
18704 * gdb.base/vla-multi.exp: New file.
18706 * gdb.base/vla-ptr.c: New file.
18707 * gdb.base/vla-ptr.exp: New file.
18709 * gdb.base/vla-datatypes.c: New file.
18710 * gdb.base/vla-datatypes.exp: New file.
18712 * gdb.mi/mi-vla-c99.exp: New file.
18713 * gdb.mi/vla.c: New file.
18715 2014-04-11 Keith Seitz <keiths@redhat.com>
18718 * gdb.cp/cpsizeof.exp: New file.
18719 * gdb.cp/cpsizeof.cc: New file.
18721 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18723 * gdb.mi/mi-vla-c99.exp: New file.
18724 * gdb.mi/vla.c: New file.
18726 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18728 * gdb.base/vla-datatypes.c: New file.
18729 * gdb.base/vla-datatypes.exp: New file.
18731 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18733 * gdb.base/vla-ptr.c: New file.
18734 * gdb.base/vla-ptr.exp: New file.
18736 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18738 * gdb.base/vla-multi.c: New file.
18739 * gdb.base/vla-multi.exp: New file.
18741 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18743 * gdb.dwarf2/count.exp: New file.
18745 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
18747 * gdb.base/vla-sideeffect.c: New file.
18748 * gdb.base/vla-sideeffect.exp: New file.
18750 2014-04-11 Yao Qi <yao@codesourcery.com>
18752 * gdb.base/completion.exp: Check file exists before running tests
18753 on file completion.
18755 2014-04-10 Pedro Alves <palves@redhat.com>
18757 * gdb.base/cond-eval-mode.c: New file.
18758 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
18759 prepare_for_testing to build the new file. Check result of
18761 (test_break, test_watch): New procedures.
18762 (top level): Use them.
18764 2014-04-08 Pierre Muller <muller@sourceware.org>
18766 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
18767 Ctrl-V use for mingw hosts.
18769 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
18771 * gdb.python/py-value.c: Improve test case.
18772 * gdb.python/py-value.exp: Add new test.
18774 2014-04-07 David Blaikie <dblaikie@gmail.com>
18776 * lib/compiler.c: Identify the clang compiler.
18777 * lib/compiler.cc: Ditto.
18779 2014-04-03 Yao Qi <yao@codesourcery.com>
18781 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
18783 2014-04-01 Anton Blanchard <anton@samba.org>
18785 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
18788 2014-04-01 Anton Blanchard <anton@samba.org>
18790 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
18791 prepare_for_testing.
18793 2014-04-01 Anton Blanchard <anton@samba.org>
18795 * gdb.arch/ppc64-atomic-inst.c: Remove.
18796 * gdb.arch/ppc64-atomic-inst.S: New file.
18797 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
18799 2014-03-31 Doug Evans <dje@google.com>
18801 * gdb.base/print-symbol-loading-lib.c: New file.
18802 * gdb.base/print-symbol-loading-main.c: New file.
18803 * gdb.base/print-symbol-loading.exp: New file.
18805 2014-03-31 Yao Qi <yao@codesourcery.com>
18807 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
18809 2014-03-28 Joel Brobecker <brobecker@adacore.com>
18811 * gdb.ada/mi_dyn_arr: New testcase.
18813 2014-03-27 Doug Evans <dje@google.com>
18815 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
18817 2014-03-27 Yao Qi <yao@codesourcery.com>
18819 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
18820 if target is nios2-*-*.
18822 2014-03-26 Yao Qi <yao@codesourcery.com>
18824 * lib/gdb.exp (readline_is_used): New proc.
18825 * gdb.base/completion.exp: Move tests on command complete up.
18826 Skip the rest of tests if readline is not used.
18827 * gdb.ada/complete.exp: Skp the test if readline is not
18829 * gdb.base/filesym.exp: Likewise.
18830 * gdb.base/macscp.exp: Likewise.
18831 * gdb.base/readline-ask.exp: Likewise.
18832 * gdb.base/readline.exp: Likewise.
18833 * gdb.python/py-cmd.exp: Likewise.
18834 * gdb.trace/tfile.exp: Likewise.
18836 2014-03-26 Yao Qi <yao@codesourcery.com>
18838 * gdb.base/macscp.exp: Fix code format issues.
18840 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
18842 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
18843 * gdb.asm/powerpc64le.inc: New file.
18845 2014-03-25 Pedro Alves <palves@redhat.com>
18846 Doug Evans <dje@google.com>
18848 * gdb.base/source-execution.c: New file.
18849 * gdb.base/source-execution.exp: New file.
18850 * gdb.base/source-execution.gdb: New file.
18852 2014-03-24 Doug Evans <dje@google.com>
18854 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
18857 2014-03-24 Hui Zhu <hui@codesourcery.com>
18858 Pedro Alves <palves@redhat.com>
18860 PR breakpoints/16101
18861 * gdb.base/dprintf.exp: Use unsupported rather than changing the
18862 test pass/fail messages. Detect missing support for dprintf when
18863 breakpoints are actually inserted.
18864 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
18865 breakpoints are actually inserted.
18866 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
18869 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
18871 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
18873 2014-03-22 Doug Evans <xdje42@gmail.com>
18875 * gdb.python/python.exp (python not supported): Verify multi-line
18876 python command issues an error.
18877 * gdb.guile/guile.exp (guile not supported): Verify multi-line
18878 guile command issues an error.
18880 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
18882 * gdb.threads/thread-specific.exp: Handle the lack of usable
18883 $this_breakpoint and $this_thread.
18885 2014-03-21 Hui Zhu <hui@codesourcery.com>
18887 * gdb.base/attach.exp (do_command_attach_tests): New.
18889 2014-03-20 Tom Tromey <tromey@redhat.com>
18890 Pedro Alves <palves@redhat.com>
18893 * gdb.base/condbreak-call-false.c: New file.
18894 * gdb.base/condbreak-call-false.exp: New file.
18896 2014-03-20 Pedro Alves <palves@redhat.com>
18898 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
18900 (block_signals, unblock_signals): Delete.
18901 (child_function_2, main): Remove references to deleted variable
18904 2014-03-20 Pedro Alves <palves@redhat.com>
18906 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
18907 Use pthread_kill to signal thread 2.
18908 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18909 Adjust to make the test send itself a signal rather than using the
18910 host's "kill" command.
18912 2014-03-20 Pedro Alves <palves@redhat.com>
18914 * gdb.threads/multiple-step-overs.c: New file.
18915 * gdb.threads/multiple-step-overs.exp: New file.
18916 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
18917 Adjust expected infrun debug output.
18919 2014-03-20 Pedro Alves <palves@redhat.com>
18921 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
18922 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
18924 2014-03-20 Pedro Alves <palves@redhat.com>
18926 PR breakpoints/7143
18927 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
18928 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
18929 of gdb_test_multiple.
18930 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
18931 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
18933 2014-03-20 Pedro Alves <palves@redhat.com>
18935 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
18936 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
18938 2014-03-19 Pedro Alves <palves@redhat.com>
18940 * gdb.base/async.exp: Remove early return.
18942 2014-03-19 Pedro Alves <palves@redhat.com>
18944 * gdb.base/async.exp (step& tests): Pass explicit test messages.
18946 2014-03-19 Pedro Alves <palves@redhat.com>
18948 * gdb.base/async.exp (test_background): Expect \r\n after
18949 "completed." in the fail pattern.
18951 2014-03-19 Pedro Alves <palves@redhat.com>
18953 * gdb.base/async.exp (test_background): New procedure.
18954 Use it for all background execution command tests.
18956 2014-03-19 Pedro Alves <palves@redhat.com>
18958 * gdb.base/async.exp: Use prepare_for_testing.
18960 2014-03-19 Pedro Alves <palves@redhat.com>
18962 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
18965 2014-03-19 Pedro Alves <palves@redhat.com>
18967 * gdb.base/async.c (main): Add "jump here" and "until here" line
18969 * gdb.base/async.exp (jump_here): New global.
18970 (jump& test): Use it.
18971 (until_here): New global.
18972 (until& test): Use it.
18974 2014-03-19 Pedro Alves <palves@redhat.com>
18976 * gdb.base/async.exp: Don't frob gdb_protocol.
18978 2014-03-18 Doug Evans <xdje42@gmail.com>
18980 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
18981 Fix spelling of exec-done-display.
18983 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
18986 * gdb.base/gdb-sigterm.c: New file.
18987 * gdb.base/gdb-sigterm.exp: New file.
18989 2014-03-18 Pedro Alves <palves@redhat.com>
18992 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
18993 * lib/mi-support.exp (mi_expect_stop): Add special handling for
18996 2014-03-17 Joel Brobecker <brobecker@adacore.com>
18998 * gdb.ada/pckd_arr_ren: New testcase.
19000 2014-03-13 Doug Evans <xdje42@gmail.com>
19003 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
19004 collect after discarding symbols.
19006 2014-03-13 Ludovic Courtès <ludo@gnu.org>
19007 Doug Evans <xdje42@gmail.com>
19009 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
19010 to history survives a gc.
19012 2014-03-13 Pedro Alves <palves@redhat.com>
19014 * gdb.base/default.exp: Don't test "target procfs".
19016 2014-03-13 Pedro Alves <palves@redhat.com>
19018 * gdb.base/default.exp: Update "target child" and "target procfs"
19019 tests to not expect "Unix".
19021 2014-03-12 Tom Tromey <tromey@redhat.com>
19023 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
19024 New procs. Add target-async tests.
19025 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
19026 Add target-async tests.
19028 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19030 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
19031 'func_start' and 'func_end' for the beginning and end of the
19032 function code, respectively.
19033 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
19034 'func_end' instead of 'func' and 'main'.
19036 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19038 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
19039 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
19040 generate the debug info assembler source.
19042 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19044 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
19045 * gdb.dwarf2/arr-subrange.exp: Likewise.
19046 * gdb.dwarf2/dwz.exp: Likewise.
19047 * gdb.dwarf2/method-ptr.exp: Likewise.
19048 * gdb.dwarf2/missing-sig-type.exp: Likewise.
19049 * gdb.dwarf2/subrange.exp: Likewise.
19050 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
19051 * gdb.dwarf2/implptrpiece.exp: Likewise.
19052 * gdb.dwarf2/nostaticblock.exp: Likewise.
19054 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19056 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
19057 directory to absolute path name arguments.
19059 2014-03-10 Joel Brobecker <brobecker@adacore.com>
19061 * gdb.ada/tagged_access: New testcase.
19063 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
19065 * gdb.btrace/data.exp: Update expected output.
19067 2014-03-06 Yao Qi <yao@codesourcery.com>
19069 * gdb.trace/pr16508.exp: New file.
19071 2014-03-05 Pedro Alves <palves@redhat.com>
19074 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
19076 (top level): Adjust to use it. Add tests that exercise breakpoint
19077 interaction with the code-cache.
19079 2014-02-26 Ludovic Courtès <ludo@gnu.org>
19081 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
19082 test for 'history-append!'.
19084 2014-02-26 Joel Brobecker <brobecker@adacore.com>
19086 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
19087 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
19088 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
19089 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
19090 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
19091 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
19093 2014-02-26 Joel Brobecker <brobecker@adacore.com>
19095 * testsuite/gdb.python/py-pp-re-notag.c: New file.
19096 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
19097 * testsuite/gdb.python/py-pp-re-notag.p: New file.
19099 2014-02-26 Joel Brobecker <brobecker@adacore.com>
19101 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
19103 2014-02-26 Joel Brobecker <brobecker@adacore.com>
19105 * gdb.dwarf2/arr-stride.c: New file.
19106 * gdb.dwarf2/arr-stride.exp: New file.
19108 2014-02-26 Pedro Alves <palves@redhat.com>
19110 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
19111 that won't ever trigger. Make sure that GDB reports the correct
19112 breakpoint that caused the stop.
19114 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
19117 * gdb.base/auto-load-script: New file.
19118 * gdb.base/auto-load.c: New file.
19119 * gdb.base/auto-load.exp: New file.
19122 * gdb.base/auto-load.exp: Fix out-of-srctree run.
19124 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
19126 Fix dw2-icycle.exp -fsanitize=address GDB crash.
19127 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
19129 2014-02-24 Doug Evans <dje@google.com>
19131 * lib/gdb.exp (run_on_host): Log error output if program fails.
19133 2014-02-21 Pedro Alves <palves@redhat.com>
19135 * gdb.threads/step-after-sr-lock.c: Rename to ...
19136 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
19137 * gdb.threads/step-after-sr-lock.exp: Rename to ...
19138 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
19141 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
19144 * gdb.arch/amd64-stap-special-operands.exp: New file.
19145 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
19146 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
19147 * gdb.arch/amd64-stap-triplet.S: Likewise.
19148 * gdb.arch/amd64-stap-triplet.c: Likewise.
19150 2014-02-20 Joel Brobecker <brobecker@adacore.com>
19152 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
19153 in .section pseudo-op.
19155 2014-02-20 lin zuojian <manjian2006@gmail.com>
19156 Joel Brobecker <brobecker@adacore.com>
19157 Doug Evans <xdje42@gmail.com>
19160 * gdb.dwarf2/dw2-icycle.S: New file.
19161 * gdb.dwarf2/dw2-icycle.c: New file.
19162 * gdb.dwarf2/dw2-icycle.exp: New file.
19164 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
19166 * gdb.python/py-value-cc.cc: Improve test case to enable testing
19167 operations on gdb.Value objects.
19168 * gdb.python/py-value-cc.exp: Add new test to test operations on
19171 2014-02-18 Doug Evans <dje@google.com>
19173 * Makefile.in (TESTS): New variable.
19174 (expanded_tests, expanded_tests_or_none): New variables
19175 (check-single): Pass $(expanded_tests_or_none) to runtest.
19176 (check-parallel): Only run tests in $(TESTS) if non-empty.
19177 (check/no-matching-tests-found): New rule.
19178 * README: Document TESTS makefile variable.
19180 2014-02-18 Doug Evans <dje@google.com>
19182 * Makefile.in (check-parallel): rm -rf outputs temp.
19184 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19186 Fix "ERROR: no fileid for" in the testsuite.
19187 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
19189 2014-02-12 Doug Evans <dje@google.com>
19191 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
19192 (MISCELLANEOUS): New variable.
19193 (clean): rm -rf $(MISCELLANEOUS).
19194 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
19195 dwp live in the same directory as symlinks, with each symlink pointed
19196 to a differently named file in a different directory.
19198 2014-02-11 Doug Evans <dje@google.com>
19200 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
19201 of Tcl file commands.
19203 2014-02-10 Mark Kettenis <kettenis@gnu.org>
19205 * gdb.threads/step-after-sr-lock.exp: Avoid executing
19206 "kill -SIGUSR1 -1".
19208 2014-02-10 Joel Brobecker <brobecker@adacore.com>
19210 * gdb.ada/tick_length_array_enum_idx: New testcase.
19212 2014-02-10 Doug Evans <xdje42@gmail.com>
19214 * configure.ac (AC_OUTPUT): Add gdb.guile.
19215 * configure: Regenerate.
19216 * lib/gdb-guile.exp: New file.
19217 * lib/gdb.exp (get_target_charset): New function.
19218 * gdb.base/help.exp: Update expected output from "apropos apropos".
19219 * gdb.guile/Makefile.in: New file.
19220 * gdb.guile/guile.exp: New file.
19221 * gdb.guile/scm-arch.c: New file.
19222 * gdb.guile/scm-arch.exp: New file.
19223 * gdb.guile/scm-block.c: New file.
19224 * gdb.guile/scm-block.exp: New file.
19225 * gdb.guile/scm-breakpoint.c: New file.
19226 * gdb.guile/scm-breakpoint.exp: New file.
19227 * gdb.guile/scm-disasm.c: New file.
19228 * gdb.guile/scm-disasm.exp: New file.
19229 * gdb.guile/scm-equal.c: New file.
19230 * gdb.guile/scm-equal.exp: New file.
19231 * gdb.guile/scm-error.exp: New file.
19232 * gdb.guile/scm-error.scm: New file.
19233 * gdb.guile/scm-frame-args.c: New file.
19234 * gdb.guile/scm-frame-args.exp: New file.
19235 * gdb.guile/scm-frame-args.scm: New file.
19236 * gdb.guile/scm-frame-inline.c: New file.
19237 * gdb.guile/scm-frame-inline.exp: New file.
19238 * gdb.guile/scm-frame.c: New file.
19239 * gdb.guile/scm-frame.exp: New file.
19240 * gdb.guile/scm-generics.exp: New file.
19241 * gdb.guile/scm-gsmob.exp: New file.
19242 * gdb.guile/scm-iterator.c: New file.
19243 * gdb.guile/scm-iterator.exp: New file.
19244 * gdb.guile/scm-math.c: New file.
19245 * gdb.guile/scm-math.exp: New file.
19246 * gdb.guile/scm-objfile-script-gdb.in: New file.
19247 * gdb.guile/scm-objfile-script.c: New file.
19248 * gdb.guile/scm-objfile-script.exp: New file.
19249 * gdb.guile/scm-objfile.c: New file.
19250 * gdb.guile/scm-objfile.exp: New file.
19251 * gdb.guile/scm-ports.exp: New file.
19252 * gdb.guile/scm-pretty-print.c: New file.
19253 * gdb.guile/scm-pretty-print.exp: New file.
19254 * gdb.guile/scm-pretty-print.scm: New file.
19255 * gdb.guile/scm-section-script.c: New file.
19256 * gdb.guile/scm-section-script.exp: New file.
19257 * gdb.guile/scm-section-script.scm: New file.
19258 * gdb.guile/scm-symbol.c: New file.
19259 * gdb.guile/scm-symbol.exp: New file.
19260 * gdb.guile/scm-symtab-2.c: New file.
19261 * gdb.guile/scm-symtab.c: New file.
19262 * gdb.guile/scm-symtab.exp: New file.
19263 * gdb.guile/scm-type.c: New file.
19264 * gdb.guile/scm-type.exp: New file.
19265 * gdb.guile/scm-value-cc.cc: New file.
19266 * gdb.guile/scm-value-cc.exp: New file.
19267 * gdb.guile/scm-value.c: New file.
19268 * gdb.guile/scm-value.exp: New file.
19269 * gdb.guile/source2.scm: New file.
19270 * gdb.guile/types-module.cc: New file.
19271 * gdb.guile/types-module.exp: New file.
19273 2014-02-10 Yao Qi <yao@codesourcery.com>
19276 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
19277 * configure: Regenerated.
19278 * Makefile.in: New file.
19280 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
19282 * gdb.python/py-framefilter.exp: Fix typo.
19284 2014-02-08 Yao Qi <yao@codesourcery.com>
19286 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
19287 that no =breakpoint-modified is emitted when breakpoints are
19288 modified through MI commands.
19290 2014-02-07 Pedro Alves <pedro@codesourcery.com>
19291 Pedro Alves <palves@redhat.com>
19293 * gdb.threads/step-after-sr-lock.c: New file.
19294 * gdb.threads/step-after-sr-lock.exp: New file.
19296 2014-02-07 Pedro Alves <palves@redhat.com>
19298 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
19300 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
19302 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
19303 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
19305 2014-02-06 Doug Evans <xdje42@gmail.com>
19307 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
19310 * gdb.gdb/python-interrupts.exp: New file.
19312 2014-02-05 Yao Qi <yao@codesourcery.com>
19314 * gdb.trace/report.exp (use_collected_data): Test the output
19315 of "info threads" and "info inferiors".
19317 2014-02-05 Yao Qi <yao@codesourcery.com>
19321 2013-05-24 Yao Qi <yao@codesourcery.com>
19323 * gdb.trace/tfile.exp: Test inferior and thread.
19325 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
19327 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
19329 * gdb.base/step-bt.c: Call hello via function pointer to make
19330 sure its first instruction is executed on powerpc64le-linux.
19332 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
19334 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
19336 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
19338 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
19339 of the test patterns for use on little-endian systems.
19341 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
19343 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
19344 (decimal_vector): Fix for little-endian.
19346 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
19348 * gdb.arch/sparc-sysstep.exp: New file.
19349 * gdb.arch/sparc-sysstep.c: Likewise.
19351 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
19353 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19355 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
19357 2014-01-23 Tom Tromey <tromey@redhat.com>
19359 * gdb.ada/array_char_idx: New testcase.
19361 2014-01-23 Tom Tromey <tromey@redhat.com>
19364 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
19365 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
19368 2014-01-23 Tom Tromey <tromey@redhat.com>
19371 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
19372 string from an inferior frame.
19373 * gdb.python/py-framefilter-mi.exp: Update.
19375 2014-01-22 Doug Evans <dje@google.com>
19377 * gdb.server/server-mon.exp: Add tests for "set debug-format".
19379 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
19381 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
19383 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
19385 * gdb.trace/entry-values.exp: Remove excess space character from
19386 regex patterns. Handle s390 call instruction.
19388 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
19390 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
19391 define "*_start" label. Make "name" static.
19392 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
19393 ${name} by references to ${name}_start.
19395 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
19397 * gdb.base/info-macros.exp: Remove "debug" from the compile
19400 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
19402 * gdb.dlang/demangle.exp: New file.
19404 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
19406 * gdb.dlang/primitive-types.exp: New file.
19408 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
19410 * configure.ac: Create gdb.dlang/Makefile.
19411 * configure: Regenerate.
19412 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
19413 * gdb.dlang/Makefile.in: New file.
19414 * lib/d-support.exp: New file.
19415 * lib/gdb.exp (skip_d_tests): New proc.
19417 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19419 * gdb.btrace/delta.exp: Check reverse stepi.
19420 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
19421 * gdb.btrace/finish.exp: New.
19422 * gdb.btrace/next.exp: New.
19423 * gdb.btrace/nexti.exp: New.
19424 * gdb.btrace/record_goto.c: Add comments.
19425 * gdb.btrace/step.exp: New.
19426 * gdb.btrace/stepi.exp: New.
19427 * gdb.btrace/multi-thread-step.c: New.
19428 * gdb.btrace/multi-thread-step.exp: New.
19429 * gdb.btrace/rn-dl-bind.c: New.
19430 * gdb.btrace/rn-dl-bind.exp: New.
19431 * gdb.btrace/data.c: New.
19432 * gdb.btrace/data.exp: New.
19433 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
19435 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19437 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
19438 * gdb.btrace/exception.exp: Update.
19439 * gdb.btrace/instruction_history.exp: Update.
19440 * gdb.btrace/record_goto.exp: Update.
19441 * gdb.btrace/tailcall.exp: Update.
19442 * gdb.btrace/unknown_functions.exp: Update.
19443 * gdb.btrace/delta.exp: New.
19445 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19447 * gdb.btrace/record_goto.exp: Add backtrace test.
19448 * gdb.btrace/tailcall.exp: Add backtrace test.
19450 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19452 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
19453 * gdb.btrace/record_goto.c: New.
19454 * gdb.btrace/record_goto.exp: New.
19455 * gdb.btrace/x86-record_goto.S: New.
19457 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19459 * gdb.btrace/function_call_history.exp: Update tests.
19460 * gdb.btrace/instruction_history.exp: Update tests.
19462 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19464 * gdb.btrace/function_call_history.exp: Fix expected field
19465 order for "record function-call-history".
19466 Add new tests for "record function-call-history /c".
19467 * gdb.btrace/exception.cc: New.
19468 * gdb.btrace/exception.exp: New.
19469 * gdb.btrace/tailcall.exp: New.
19470 * gdb.btrace/x86-tailcall.S: New.
19471 * gdb.btrace/x86-tailcall.c: New.
19472 * gdb.btrace/unknown_functions.c: New.
19473 * gdb.btrace/unknown_functions.exp: New.
19474 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
19476 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19478 * gdb.btrace/instruction_history.exp: Update.
19479 * gdb.btrace/function_call_history.exp: Update.
19481 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19483 * gdb.btrace/function_call_history.exp: Fix expected function
19485 * gdb.btrace/instruction_history.exp: Initialize traced.
19486 Remove traced_functions.
19488 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19490 * gdb.btrace/function_call_history.exp: Update
19491 * gdb.btrace/instruction_history.exp: Update.
19493 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
19495 * gdb.btrace/enable.exp: Update expected text.
19497 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
19499 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
19502 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
19504 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
19506 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
19508 * lib/gdb.exp (supports_process_record): Return true for
19509 arm*-linux*. (supports_reverse): Likewise.
19511 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
19515 * gdb.python/py-type.c: Enhance test case.
19516 * gdb.python/py-value-cc.cc: Likewise
19517 * gdb.python/py-type.exp: Add new tests.
19518 * gdb.python/py-value-cc.exp: Likewise
19520 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
19521 Pedro Alves <palves@redhat.com>
19523 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
19524 Make "name" extern.
19525 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
19526 references to ${name}_start by references to ${name}.
19528 2014-01-10 Joel Brobecker <brobecker@adacore.com>
19530 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
19532 2014-01-10 Joel Brobecker <brobecker@adacore.com>
19534 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
19536 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
19537 Pedro Alves <palves@redhat.com>
19539 * gdb.mi/mi-info-os.exp: Connect to the target with
19540 mi_gdb_target_load.
19542 2014-01-08 Pedro Alves <palves@redhat.com>
19544 * gdb.threads/reconnect-signal.c: New file.
19545 * gdb.threads/reconnect-signal.exp: New file.
19547 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
19549 * gdb.base/source-dir.exp: New file.
19551 2014-01-07 Joel Brobecker <brobecker@adacore.com>
19553 * gdb.ada/mi_interface: New testcase.
19555 2014-01-07 Joel Brobecker <brobecker@adacore.com>
19557 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
19558 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
19559 gdb.ada/pp-rec-component/pck.ads: New files.
19561 2014-01-07 Joel Brobecker <brobecker@adacore.com>
19563 * gdb.python/py-pp-integral.c: New file.
19564 * gdb.python/py-pp-integral.py: New file.
19565 * gdb.python/py-pp-integral.exp: New file.
19567 For older changes see ChangeLog-1993-2013.
19569 ;; Local Variables:
19570 ;; mode: change-log
19573 ;; version-control: never
19576 Copyright 2014-2020 Free Software Foundation, Inc.
19577 Copying and distribution of this file, with or without modification,
19578 are permitted provided the copyright notice and this notice are preserved.