1 2020-07-03 Pedro Alves <palves@redhat.com>
3 * gdb.base/charset.c (init_string): Change all char parameters to
4 unsigned char parameters.
6 2020-07-03 Pedro Alves <palves@redhat.com>
8 * gdb.base/call-sc.exp (start_scalars_test): Use
9 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
10 * gdb.base/overlays.c: Remove references to PARAMS.
11 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
12 * gdb.base/reread.exp: Don't set 'prototypes' global.
13 * gdb.base/structs.exp (start_structs_test): Use
14 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
15 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
16 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
17 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
19 * gdb.base/varargs.exp: Don't set 'prototypes' global.
21 2020-07-03 Pedro Alves <palves@redhat.com>
23 * gdb.base/m32rovly.c: Delete.
24 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
26 2020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
28 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
29 of gdb_py_test_multiple.
30 * gdb.python/py-cmd.exp: Likewise.
31 * gdb.python/py-events.exp: Likewise.
32 * gdb.python/py-function.exp: Likewise.
33 * gdb.python/py-inferior.exp: Likewise.
34 * gdb.python/py-infthread.exp: Likewise.
35 * gdb.python/py-linetable.exp: Likewise.
36 * gdb.python/py-parameter.exp: Likewise.
37 * gdb.python/py-value.exp: Likewise.
39 2020-06-30 Tom de Vries <tdevries@suse.de>
42 * lib/future.exp (gdb_default_target_compile): Detect and handle
45 2020-06-29 Simon Marchi <simon.marchi@efficios.com>
47 * boards/simavr.exp (gdb_load): Catch errors when closing
48 previous connection. Close connection, wait for process and
49 unset simavr_spawn_id on failure.
51 2020-06-29 Tom de Vries <tdevries@suse.de>
53 * lib/gdb.exp (unknown): Make test-case unresolved.
55 2020-06-29 Tom de Vries <tdevries@suse.de>
58 * gdb.server/solib-list.exp: Verify that the symbol reload
59 confirmation question is asked.
61 2020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
63 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
64 have a input seq nr in each pass message.
65 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
66 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
67 * gdb.python/python.exp: Make test names unique,
68 use gdb_test_multiline instead of gdb_py_test_multiple,
70 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
72 2020-06-26 Nick Alcock <nick.alcock@oracle.com>
74 * configure.ac: Add --enable-libctf.
75 * aclocal.m4: sinclude ../config/enable.m4.
76 * Makefile.in (site.exp): Add enable_libctf to site.exp.
77 * lib/gdb.exp (skip_ctf_tests): Use it.
78 * gdb.base/ctf-constvars.exp: Error message tweak.
79 * gdb.base/ctf-ptype.exp: Likewise.
80 * configure: Regenerate.
82 2020-06-26 Gary Benson <gbenson@redhat.com>
84 * gdb.cp/try_catch.cc: Include string.h.
85 (main): Replace comparison against string literal with
86 strcmp, avoiding build failure with -Wstring-compare.
87 Add "marker test-complete".
88 * gdb.cp/try_catch.exp: Run the test to the above marker,
89 then verify that the value of "test" is still true.
91 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
93 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
95 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
97 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
99 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
101 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
102 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
103 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
104 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
105 * gdb.arch/riscv-tdesc-loading.exp: New file.
107 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
109 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
111 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
113 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
114 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
115 * gdb.arch/riscv-tdesc-regs.c: New file.
116 * gdb.arch/riscv-tdesc-regs.exp: New file.
118 2020-06-24 Pedro Alves <palves@redhat.com>
120 * gdb.arch/amd64-entry-value-paramref.exp: Use
121 prepare_for_testing_full and don't pass "c++" for the .S file
123 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
124 $options, since it's an assembly file. Remove -Wno-deprecated.
125 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
126 compiling C++ programs.
128 2020-06-24 Pedro Alves <palves@redhat.com>
130 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
131 Clang, add "-Wno-unknown-warning-option" to the options.
133 2020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
135 * gdb.xml/tdesc-reload.c: New file.
136 * gdb.xml/tdesc-reload.exp: New file.
137 * gdb.xml/maint-xml-dump-01.xml: New file.
138 * gdb.xml/maint-xml-dump-02.xml: New file.
139 * gdb.xml/maint-xml-dump.exp: New file.
141 2020-06-23 Sandra Loosemore <sandra@codesourcery.com>
143 * lib/completion-support.exp (test_gdb_completion_offers_commands):
144 Adjust for omitted commands when TUI is disabled.
146 2020-06-23 Gary Benson <gbenson@redhat.com>
147 Pedro Alves <palves@redhat.com>
149 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
150 * gdb.cp/nsimport.cc: Likewise.
151 * gdb.cp/nsnested.cc: Likewise.
152 * gdb.cp/nsnoimports.cc: Likewise.
153 * gdb.cp/nsusing.cc: Likewise.
154 * gdb.cp/smartp.cc: Likewise.
155 * gdb.python/py-pp-integral.c: Likewise.
156 * gdb.python/py-pp-re-notag.c: Likewise.
158 2020-06-23 Gary Benson <gbenson@redhat.com>
160 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
161 * gdb.cp/nsimport.cc: Likewise.
162 * gdb.cp/nsnested.cc: Likewise.
163 * gdb.cp/nsnoimports.cc: Likewise.
164 * gdb.cp/nsusing.cc: Likewise.
165 * gdb.cp/smartp.cc: Likewise.
166 * gdb.python/py-pp-integral.c: Likewise.
167 * gdb.python/py-pp-re-notag.c: Likewise.
169 2020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
171 * gdb.base/default-args.exp: New test.
172 * gdb.base/default-args.c: New file.
173 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
174 * gdb.base/default.exp: Update to new help text.
175 * gdb.base/help.exp: Likewise.
176 * gdb.base/page.exp: Likewise.
177 * gdb.base/style.exp: Likewise.
178 * gdb.guile/guile.exp: Likewise.
179 * gdb.python/python.exp: Likewise.
181 2020-06-22 Sandra Loosemore <sandra@codesourcery.com>
183 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
184 remote host. Fix search path syntax on Windows host.
186 2020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
188 * gdb.base/attach.exp: Test priority of 'exec-file' changed
189 over 'exec-file-mismatch'.
190 * gdb.base/attach.c: Mark should_exit volatile.
191 * gdb.base/attach2.c: Likewise. Add a comment explaining
192 why the sleep cannot be big.
193 * gdb.base/attach3.c: New file.
195 2020-06-20 Sandra Loosemore <sandra@codesourcery.com>
197 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
200 2020-06-20 Sandra Loosemore <sandra@codesourcery.com>
202 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
205 2020-06-19 Sandra Loosemore <sandra@codesourcery.com>
206 Hafiz Abid Qadeer <abidh@codesourcery.com>
208 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
209 file sent to remote host.
210 (top level): Allow int32_t as type of 32-bit register.
212 2020-06-19 Tom de Vries <tdevries@suse.de>
214 * lib/gdb.exp (gdb_note): New proc.
215 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
216 (gdb_default_target_compile): ... here. Only call
217 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
218 (use_gdb_compile): Change to array.
219 (toplevel): Update sets of use_gdb_compile to specify language.
220 Warn about default_target_compile override. Store dejagnu's version
221 of default_target_compile in dejagnu_default_target_compile.
223 2020-06-18 Tom de Vries <tdevries@suse.de>
225 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
226 (default_gdb_init): ... here.
228 2020-06-17 Sandra Loosemore <sandra@codesourcery.com>
230 Fix TUI support checks in gdb.tui tests.
232 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
233 just say UNSUPPORTED.
234 * gdb.tui/corefile-run.exp: Likewise.
235 * gdb.tui/empty.exp: Likewise.
236 * gdb.tui/list-before.exp: Likewise.
237 * gdb.tui/list.exp: Likewise.
238 * gdb.tui/main.exp: Likewise.
239 * gdb.tui/regs.exp: Likewise.
240 * gdb.tui/resize.exp: Likewise.
241 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
242 * gdb.tui/tui-layout-asm.exp: Likewise.
243 * gdb.tui/tui-missing-src.exp: Likewise.
244 * gdb.tui/winheight.exp: Likewise.
245 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
247 2020-06-17 Sandra Loosemore <sandra@codesourcery.com>
249 Fix TCL error in gdb.python/py-format-string.exp.
251 * gdb.python/py-format-string.exp: Move test for python support
252 earlier, out of function body.
254 2020-06-15 Simon Marchi <simon.marchi@efficios.com>
256 * gdb.base/index-cache-load-twice.c: New.
257 * gdb.base/index-cache-load-twice.exp: New.
259 2020-06-17 Keith Seitz <keiths@redhat.com>
261 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
262 when executing "gdb --configuration".
264 2020-06-17 Tom de Vries <tdevries@suse.de>
266 * lib/gdb.exp (gdb_tcl_unknown): New proc.
267 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
268 conditional on presence of gdb_tcl_unknown.
269 (gdb_finish): Make override undo conditional on presence of
272 2020-06-16 Tom Tromey <tom@tromey.com>
274 * gdb.python/tui-window.py (failwin): New function. Register it
275 as a TUI window type.
276 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
278 2020-06-16 Gary Benson <gbenson@redhat.com>
280 * gdb.python/py-nested-maps.c (create_map): Add missing return
282 (create_map_map): Likewise.
284 2020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
286 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
288 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
289 and use the already-defined 'options' variable.
291 2020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
292 Tom de Vries <tdevries@suse.de>
294 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
295 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
296 (gdb_setup_known_globals): New proc.
297 (gdb_cleanup_globals): New proc.
298 * lib/gdb.exp (load_lib): New override proc.
299 (gdb_stdin_log_init): Set var in_file as persistent global.
300 * lib/pascal.exp (gdb_stdin_log_init): Set vars
301 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
302 fpc_compiler as persistent global.
304 2020-06-12 Tom de Vries <tdevries@suse.de>
306 * lib/tuiterm.exp (spawn): Rename to ...
307 (tui_spawn): ... this.
308 (toplevel): Move rename of spawn ...
309 (gdb_init_tuiterm): ... here. New proc.
310 (gdb_finish_tuiterm): New proc.
311 * lib/gdb.exp (gdb_finish_hooks): New global var.
312 (gdb_finish): Handle gdb_finish_hooks.
313 (tuiterm_env): New proc.
314 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
316 * gdb.tui/basic.exp: Same.
317 * gdb.tui/corefile-run.exp: Same.
318 * gdb.tui/empty.exp: Same.
319 * gdb.tui/list-before.exp: Same.
320 * gdb.tui/list.exp: Same.
321 * gdb.tui/main.exp: Same.
322 * gdb.tui/new-layout.exp: Same.
323 * gdb.tui/regs.exp: Same.
324 * gdb.tui/resize.exp: Same.
325 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
326 * gdb.tui/tui-layout-asm.exp: Same.
327 * gdb.tui/tui-missing-src.exp: Same.
328 * gdb.tui/winheight.exp: Same.
330 2020-06-12 Tom de Vries <tdevries@suse.de>
333 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
334 (gdb_finish): Reinstall dejagnu's override of ::unknown.
336 2020-06-11 Tom Tromey <tom@tromey.com>
339 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
340 floating point tests.
342 2020-06-11 Keith Seitz <keiths@redhat.com>
345 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
347 Add new struct vla_typedef and union vla_typedef_union and
348 corresponding instantiation objects.
349 Initialize new objects.
350 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
351 and vla_typedef_union_object.
352 Fixup type for vla_struct_object.
354 2020-06-11 Tom de Vries <tdevries@suse.de>
356 * lib/gdb.exp (with_override): New proc, factored out of ...
357 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
359 2020-06-10 Tom de Vries <tdevries@suse.de>
361 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
363 2020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
365 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
366 parameter, update callers.
368 2020-06-04 Simon Marchi <simon.marchi@efficios.com>
370 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
371 * gdb.dwarf2/share-psymtabs-bt.c: New file.
372 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
374 2020-06-04 Tom de Vries <tdevries@suse.de>
376 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
378 2020-06-04 Tom de Vries <tdevries@suse.de>
380 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
383 2020-06-04 Tom de Vries <tdevries@suse.de>
385 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
387 2020-06-03 Tom de Vries <tdevries@suse.de>
390 * gdb.cp/breakpoint-locs-2.cc: New test.
391 * gdb.cp/breakpoint-locs.cc: New test.
392 * gdb.cp/breakpoint-locs.exp: New file.
393 * gdb.cp/breakpoint-locs.h: New test.
395 2020-06-03 Tom de Vries <tdevries@suse.de>
398 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
399 value of global verbose.
400 * gdb.base/jit-elf.exp: Same.
401 * gdb.base/jit-reader.exp: Same.
403 2020-06-02 Tom de Vries <tdevries@suse.de>
405 * gdb.dwarf2/multidictionary.exp: Don't use
406 gdb_spawn_with_cmdline_opts.
408 2020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
410 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
412 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
413 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
414 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
415 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
416 * gdb.dwarf2/dw2-inline-header.c: New file.
417 * gdb.dwarf2/dw2-inline-header.h: New file.
419 2020-05-30 Pedro Alves <palves@redhat.com>
421 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
422 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
424 2020-05-29 Gary Benson <gbenson@redhat.com>
426 * gdb.compile/compile-cplus.exp (additional_flags): Also
427 set when building with clang.
428 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
429 when building with clang.
431 2020-05-29 Gary Benson <gbenson@redhat.com>
433 * gdb.arch/i386-avx.exp (additional_flags): Also set when
435 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
437 2020-05-29 Gary Benson <gbenson@redhat.com>
439 * gdb.cp/koenig.exp (prepare_for_testing): Add
440 additional_flags=-Wno-unused-comparison.
441 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
443 2020-05-28 Gary Benson <gbenson@redhat.com>
445 * gdb.base/sigaltstack.c (catcher): Add default case to switch
448 2020-05-28 Gary Benson <gbenson@redhat.com>
450 * gdb.cp/classes.exp (prepare_for_testing): Add
451 additional_flags=-Wno-deprecated-register.
452 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
453 * gdb.cp/misc.exp: Likewise.
455 2020-05-28 Gary Benson <gbenson@redhat.com>
457 * gdb.linespec/cpls-ops.cc (dummy): New static global.
458 (test_op_new::operator new): Add return statement.
459 (test_op_new_array::operator new[]): Likewise.
461 2020-05-27 Pedro Alves <palves@redhat.com>
463 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
464 check. Use test_gdb_complete_unique instead of
465 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
466 test_gdb_complete_multiple instead of
467 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
469 2020-05-27 Luis Machado <luis.machado@linaro.org>
471 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
472 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
473 * gdb.arch/arm-disassembler-options.exp: Likewise.
474 * gdb.arch/arm-disp-step.exp: Likewise.
475 * gdb.arch/thumb-prologue.exp: Likewise.
476 * gdb.base/async.exp: Likewise.
477 * gdb.base/auxv.exp: Likewise.
478 * gdb.base/complex-parts.exp: Likewise.
479 * gdb.base/ena-dis-br.exp: Likewise.
480 * gdb.base/foll-exec.exp: Likewise.
481 * gdb.base/permissions.exp: Likewise.
482 * gdb.base/relocate.exp: Likewise.
483 * gdb.base/return2.exp: Likewise.
484 * gdb.base/sigbpt.exp: Likewise.
485 * gdb.base/siginfo-obj.exp: Likewise.
486 * gdb.cp/converts.exp: Likewise.
487 * gdb.cp/exceptprint.exp: Likewise.
488 * gdb.cp/inherit.exp: Likewise.
489 * gdb.cp/nsnoimports.exp: Likewise.
490 * gdb.cp/virtbase2.exp: Likewise.
491 * gdb.mi/mi-var-cmd.exp: Likewise.
492 * gdb.mi/var-cmd.c: Likewise.
494 2020-05-26 Tom Tromey <tromey@adacore.com>
496 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
498 2020-05-26 Tom Tromey <tromey@adacore.com>
500 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
501 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
503 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
506 2020-05-26 Christian Biesinger <cbiesinger@google.com>
508 * Makefile.in: Use = instead of == for the test command
511 2020-05-26 Tom de Vries <tdevries@suse.de>
513 * gdb.base/gold-gdb-index-2.c: New test.
514 * gdb.base/gold-gdb-index.c: New test.
515 * gdb.base/gold-gdb-index.exp: New file.
516 * gdb.base/gold-gdb-index.h: New test.
518 2020-05-25 Tom de Vries <tdevries@suse.de>
520 * boards/gold-gdb-index.exp: New file.
522 2020-05-25 Simon Marchi <simon.marchi@efficios.com>
524 * boards/simavr.exp: New file.
526 2020-05-25 Simon Marchi <simon.marchi@efficios.com>
528 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
529 * gdb.base/inferior-args.exp: New file.
530 * gdb.base/inferior-args.c: New file.
532 2020-05-25 Simon Marchi <simon.marchi@efficios.com>
534 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
535 inferior_args. Pass it to gdb_reload.
536 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
538 (gdb_reload): Add inferior_args argument.
539 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
540 pass it to gdbserver_run.
541 * boards/native-gdbserver.exp: Do not set noargs.
542 * boards/native-extended-gdbserver.exp (gdb_reload): Add
543 inferior_args argument.
544 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
545 * gdb.base/a2-run.exp: Check for use_gdb_stub.
546 * gdb.base/args.exp: Likewise.
548 2020-05-25 Tom de Vries <tdevries@suse.de>
550 * lib/gdb.exp (exec_is_pie): Add comment.
552 2020-05-25 Tom de Vries <tdevries@suse.de>
554 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
555 instead of $binfile in the untested message.
557 2020-05-25 Tom de Vries <tdevries@suse.de>
560 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
562 2020-05-25 Tom de Vries <tdevries@suse.de>
564 * boards/gold.exp: New file.
566 2020-05-23 Tom Tromey <tom@tromey.com>
568 * gdb.base/style.exp: Remove completion styling test.
569 * lib/gdb-utils.exp (style): Remove completion styles.
571 2020-05-23 Tom Tromey <tom@tromey.com>
573 * gdb.base/style.exp: Add completion styling test.
574 * lib/gdb-utils.exp (style): Add completion styles.
576 2020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
578 * gdb.base/annota1.exp: Update expected results.
579 * gdb.cp/annota2.exp: Update expected results, remove duplicate
581 * gdb.cp/annota3.exp: Update expected results.
583 2020-05-20 Simon Marchi <simon.marchi@efficios.com>
586 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
588 * gdb.base/coremaker.c (mmapdata): Likewise.
589 * gdb.base/jit-reader-host.c (main): Likewise.
590 * gdb.base/sym-file-loader.c (load): Likewise.
591 (load_shlib): Likewise.
593 2020-05-20 Tom Tromey <tromey@adacore.com>
595 * gdb.ada/array_char_idx.exp: Recognize initialized array.
597 2020-05-20 Tom de Vries <tdevries@suse.de>
600 * gdb.base/with-mf-inc.c: New test.
601 * gdb.base/with-mf-main.c: New test.
602 * gdb.base/with-mf.exp: New file.
604 2020-05-19 Tom Tromey <tromey@adacore.com>
606 * gdb.rust/simple.exp: Restore missing test result.
608 2020-05-19 Tom de Vries <tdevries@suse.de>
610 * gdb.base/gdb-caching-proc.exp: Fix typo.
612 2020-05-19 Tom Tromey <tromey@adacore.com>
614 * gdb.rust/simple.exp: Add some test descriptions.
615 (test_one_slice): Use with_test_prefix.
617 2020-05-18 Tom de Vries <tdevries@suse.de>
619 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
621 2020-05-17 Pedro Alves <palves@redhat.com>
624 * gdb.base/hw-sw-break-same-address.exp: New file.
626 2020-05-16 Pedro Alves <palves@redhat.com>
628 * gdb.multi/multi-re-run.exp (test_re_run): Switch
629 LAST_LOADED_FILE accordingly.
631 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
633 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
635 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
637 * gdb.base/help.exp: Test apropos and help for commands
638 having aliases. Fixed comments not starting with an
639 upper-case letter or not finishing with a dot.
641 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
643 * gdb.base/alias.exp: Update help output check.
645 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
647 * gdb.base/default.exp: Update output following fixes.
649 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
651 * gdb.base/alias.exp: Test aliases starting with a prefix of
654 2020-05-15 Gary Benson <gbenson@redhat.com>
656 * gdb.base/info-os.c (main): Add return statement.
657 * gdb.base/info_minsym.c (minsym_fun): Likewise.
658 * gdb.base/large-frame-2.c (func): Likewise.
659 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
660 * gdb.base/pr10179-b.c (foo2): Likewise.
661 * gdb.base/valgrind-disp-step.c (foo): Likewise.
662 * gdb.base/watch-cond.c (func): Likewise.
663 * gdb.multi/goodbye.c (verylongfun): Likewise.
664 * gdb.multi/hello.c (commonfun): Likewise.
665 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
666 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
667 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
669 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
670 * gdb.threads/interrupt-while-step-over.c (child_function):
672 * gdb.trace/actions-changed.c (end): Likewise.
674 2020-05-15 Gary Benson <gbenson@redhat.com>
676 * gdb.opencl/callfuncs.exp: Report when test skipped.
677 * gdb.opencl/convs_casts.exp: Likewise.
678 * gdb.opencl/datatypes.exp: Likewise.
679 * gdb.opencl/operators.exp: Likewise.
680 * gdb.opencl/vec_comps.exp: Likewise.
682 2020-05-15 Tom de Vries <tdevries@suse.de>
684 * gdb.base/align.exp.in: Rename to ...
685 * gdb.base/align.exp.tcl: ... this.
686 * gdb.base/align-c++.exp: Update.
687 * gdb.base/align-c.exp: Update.
688 * gdb.base/all-architectures.exp.in: Rename to ...
689 * gdb.base/all-architectures.exp: ... this.
690 * gdb.base/all-architectures-0.exp: Update.
691 * gdb.base/all-architectures-1.exp: Update.
692 * gdb.base/all-architectures-2.exp: Update.
693 * gdb.base/all-architectures-3.exp: Update.
694 * gdb.base/all-architectures-4.exp: Update.
695 * gdb.base/all-architectures-5.exp: Update.
696 * gdb.base/all-architectures-6.exp: Update.
697 * gdb.base/all-architectures-7.exp: Update.
698 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
699 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
700 * gdb.base/infcall-nested-structs-c++.exp: Update.
701 * gdb.base/infcall-nested-structs-c.exp: Update.
702 * gdb.base/info-types.exp.in: Rename to ...
703 * gdb.base/info-types.exp.tcl: ... this.
704 * gdb.base/info-types-c++.exp: Update.
705 * gdb.base/info-types-c.exp: Update.
706 * gdb.base/max-depth.exp.in: Rename to ...
707 * gdb.base/max-depth.exp.tcl: ... this.
708 * gdb.base/max-depth-c++.exp: Update.
709 * gdb.base/max-depth-c.exp: Update.
710 * gdb.cp/cpexprs.exp.in: Rename to ...
711 * gdb.cp/cpexprs.exp.tcl: ... this.
712 * gdb.cp/cpexprs-debug-types.exp: Update.
713 * gdb.cp/cpexprs.exp: Update.
714 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
715 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
716 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
717 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
718 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
719 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
720 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
721 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
722 * gdb.dwarf2/clang-debug-names-2.exp: Update.
723 * gdb.dwarf2/clang-debug-names.exp: Update.
725 2020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
727 * lib/check-test-names.exp: Remove code that prevents this file
728 loading when tests are run in parallel.
730 2020-05-15 Pedro Alves <palves@redhat.com>
732 * gdb.multi/multi-kill.exp (start_inferior): Remove
733 'testpid' parameter. Refer to namespace variable directly.
734 (testpid): Declare as namespace variable.
736 2020-05-15 Pedro Alves <palves@redhat.com>
738 * gdb.multi/multi-kill.exp: Wrap in namespace.
739 (start_inferior): Add TESTPID parameter. Use it instead of the
741 (top level): Define empty TESTPID array, and pass it down to
744 2020-05-14 Tom de Vries <tdevries@suse.de>
746 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
749 2020-05-14 Tom de Vries <tdevries@suse.de>
751 * gdb.base/align.exp: Split into ...
752 * gdb.base/align.exp.in: ...
753 * gdb.base/align-c++.exp: ...
754 * gdb.base/align-c.exp: ... these.
755 * gdb.base/infcall-nested-structs.exp: Split into ...
756 * gdb.base/infcall-nested-structs.exp.in: ...
757 * gdb.base/infcall-nested-structs-c++.exp: ...
758 * gdb.base/infcall-nested-structs-c.exp: ... these.
759 * gdb.base/info-types.exp: Split into ...
760 * gdb.base/info-types.exp.in: ...
761 * gdb.base/info-types-c++.exp: ...
762 * gdb.base/info-types-c.exp: ... these.
763 * gdb.base/max-depth.exp: Split into ...
764 * gdb.base/max-depth.exp.in: ...
765 * gdb.base/max-depth-c++.exp: ...
766 * gdb.base/max-depth-c.exp: ... these.
767 * gdb.cp/infcall-nodebug.exp: Split into ...
768 * gdb.cp/infcall-nodebug.exp.in: ...
769 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
770 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
771 * gdb.cp/infcall-nodebug-c-d0.exp: ...
772 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
774 2020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
775 Pedro Alves <palves@redhat.com>
777 * gdb.multi/multi-exit.c: New file.
778 * gdb.multi/multi-exit.exp: New file.
779 * gdb.multi/multi-kill.c: New file.
780 * gdb.multi/multi-kill.exp: New file.
782 2020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
784 * gdb.base/annota1.exp: Update the expected output.
785 * gdb.cp/annota2.exp: Ditto.
787 2020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
789 * lib/check-test-names.exp: Disable when testing is being run in
792 2020-05-12 Tom de Vries <tdevries@suse.de>
794 * gdb.base/jit-elf.exp: Fix string concat.
796 2020-05-12 Tom de Vries <tdevries@suse.de>
798 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
801 2020-05-12 Tom de Vries <tdevries@suse.de>
803 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
805 2020-05-12 Tom de Vries <tdevries@suse.de>
807 * gdb.ada/catch_ex.exp: Use with_test_prefix.
808 * gdb.ada/mi_catch_ex.exp: Same.
809 * gdb.ada/mi_catch_ex_hand.exp: Same.
811 2020-05-12 Tom de Vries <tdevries@suse.de>
813 * gdb.fortran/complex.exp: Use with_test_prefix.
815 2020-05-12 Tom de Vries <tdevries@suse.de>
817 * gdb.trace/passcount.exp: Fix test-names.
819 2020-05-12 Tom de Vries <tdevries@suse.de>
821 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
823 2020-05-12 Tom de Vries <tdevries@suse.de>
825 * gdb.gdb/complaints.exp: Use with_test_prefix.
826 * gdb.xml/tdesc-regs.exp: Same.
827 * gdb.opt/inline-locals.exp: Fix test name.
829 2020-05-12 Tom de Vries <tdevries@suse.de>
831 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
832 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
833 * gdb.dwarf2/implref-struct.exp: Same.
834 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
835 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
837 2020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
839 * gdb.base/jit-so.exp (one_jit_test): Change test name.
841 2020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
843 * lib/check-test-names.exp (all_test_names): New module variable.
844 (counts): Add 'duplicates' field.
845 (_check_duplicates): New procedure.
846 (check): Also check for duplicates.
847 (do_log_summary): Print duplicates count.
848 (do_reset_vars): Reset counter for duplicate test names, and
849 discard all know test names.
851 2020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
853 * lib/gdb.exp: Include check-test-names.exp library.
854 * lib/check-test-names.exp: New file.
856 2020-05-11 Tom de Vries <tdevries@suse.de>
858 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
860 2020-05-11 Keith Seitz <keiths@redhat.com>
862 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
864 2020-05-11 Tom de Vries <tdevries@suse.de>
866 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
867 * gdb.cp/cpexprs.exp.in: .. here.
868 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
871 2020-05-11 Keith Seitz <keiths@redhat.com>
873 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
875 * gdb.ada/arrayptr.exp: Likewise.
876 * gdb.ada/assign_arr.exp: Likewise.
877 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
878 * gdb.ada/bp_on_var.exp: Likewise.
879 * gdb.ada/call_pn.exp: Likewise.
880 * gdb.ada/complete.exp: Likewise.
881 * gdb.ada/fun_overload_menu.exp: Likewise.
882 * gdb.ada/funcall_param.exp: Likewise.
883 * gdb.ada/funcall_ref.exp: Likewise.
884 * gdb.ada/packed_array_assign.exp: Likewise.
885 * gdb.ada/same_component_name.exp: Likewise.
886 * gdb.ada/type_coercion.exp: Likewise.
887 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
888 * gdb.ada/variant_record_packed_array.exp: Likewise.
890 2020-05-11 Tom de Vries <tdevries@suse.de>
893 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
895 * gdb.dwarf2/clang-debug-names.exp: ... here.
896 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
897 clang-debug-names.exp.in.
898 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
899 * gdb.dwarf2/clang-debug-names-2.c: New test.
901 2020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
903 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
904 (fortran_runto_main): New Proc, fortran version of runto_main.
905 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
906 * gdb.fortran/array-bounds.exp: Likewise.
907 * gdb.fortran/array-slices.exp: Likewise.
908 * gdb.fortran/block-data.exp: Likewise.
909 * gdb.fortran/charset.exp: Likewise.
910 * gdb.fortran/common-block.exp: Likewise.
911 * gdb.fortran/complex.exp: Likewise.
912 * gdb.fortran/derived-type-function.exp: Likewise.
913 * gdb.fortran/derived-type.exp: Likewise.
914 * gdb.fortran/info-modules.exp: Likewise.
915 * gdb.fortran/info-types.exp: Likewise.
916 * gdb.fortran/intrinsics.exp: Likewise.
917 * gdb.fortran/library-module.exp: Likewise.
918 * gdb.fortran/logical.exp: Likewise.
919 * gdb.fortran/max-depth.exp: Likewise.
920 * gdb.fortran/module.exp: Likewise.
921 * gdb.fortran/multi-dim.exp: Likewise.
922 * gdb.fortran/nested-funcs.exp: Likewise.
923 * gdb.fortran/print-formatted.exp: Likewise.
924 * gdb.fortran/print_type.exp: Likewise.
925 * gdb.fortran/printing-types.exp: Likewise.
926 * gdb.fortran/ptr-indentation.exp: Likewise.
927 * gdb.fortran/ptype-on-functions.exp: Likewise.
928 * gdb.fortran/subarray.exp: Likewise.
929 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
930 * gdb.fortran/vla-datatypes.exp: Likewise.
931 * gdb.fortran/vla-history.exp: Likewise.
932 * gdb.fortran/vla-ptr-info.exp: Likewise.
933 * gdb.fortran/vla-ptype-sub.exp: Likewise.
934 * gdb.fortran/vla-ptype.exp: Likewise.
935 * gdb.fortran/vla-sizeof.exp: Likewise.
936 * gdb.fortran/vla-type.exp: Likewise.
937 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
938 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
939 * gdb.fortran/vla-value-sub.exp: Likewise.
940 * gdb.fortran/vla-value.exp: Likewise.
941 * gdb.fortran/whatis_type.exp: Likewise.
942 * gdb.mi/mi-var-child-f.exp: Likewise.
944 2020-05-09 Tom de Vries <tdevries@suse.de>
946 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
948 2020-05-08 Tom de Vries <tdevries@suse.de>
950 * gdb.dwarf2/clang-debug-names.c: New test.
951 * gdb.dwarf2/clang-debug-names.exp: New file.
953 2020-05-06 Simon Marchi <simon.marchi@efficios.com>
955 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
956 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
958 2020-05-06 Tom de Vries <tdevries@suse.de>
960 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
961 breakpoint is at a "recommended breakpoint location".
962 * gdb.reverse/consecutive-reverse.exp: Same.
964 2020-05-06 Tom de Vries <tdevries@suse.de>
966 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
969 2020-05-06 Tom de Vries <tdevries@suse.de>
971 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
973 2020-05-06 Tom de Vries <tdevries@suse.de>
975 * gdb.base/store.exp (check_set, up_set): Allowing missing location
978 2020-05-06 Tom de Vries <tdevries@suse.de>
980 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
983 2020-05-06 Tom de Vries <tdevries@suse.de>
985 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
988 2020-05-06 Tom de Vries <tdevries@suse.de>
990 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
992 * gdb.base/async.exp: ... here.
993 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
994 "recommended breakpoint location".
996 2020-05-06 Tom de Vries <tdevries@suse.de>
998 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
1000 2020-05-04 Tom de Vries <tdevries@suse.de>
1002 * gdb.base/async.exp: Check whether instruction addresses are a
1003 "recommended breakpoint location".
1005 2020-05-03 Tom Tromey <tom@tromey.com>
1007 * gdb.base/sepdebug.exp: Remove "catch" test.
1008 * gdb.base/break.exp: Remove "catch" test.
1009 * gdb.base/default.exp: Update expected output.
1011 2020-05-02 Tom de Vries <tdevries@suse.de>
1013 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
1014 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
1015 * gdb.arch/i386-mpx-map.exp: Same.
1016 * gdb.arch/i386-mpx-sigsegv.exp: Same.
1017 * gdb.arch/i386-mpx-simple_segv.exp: Same.
1018 * gdb.arch/i386-mpx.exp: Same.
1020 2020-05-02 Tom de Vries <tdevries@suse.de>
1022 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
1024 2020-05-01 Tom de Vries <tdevries@suse.de>
1026 * gdb.ada/operator_bp.exp: Allow more than required amount of
1029 2020-05-01 Tom de Vries <tdevries@suse.de>
1031 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
1033 2020-04-30 Hannes Domani <ssbssa@yahoo.de>
1036 * gdb.cp/stub-array-size.cc: New test.
1037 * gdb.cp/stub-array-size.exp: New file.
1038 * gdb.cp/stub-array-size.h: New test.
1039 * gdb.cp/stub-array-size2.cc: New test.
1041 2020-04-30 Hannes Domani <ssbssa@yahoo.de>
1043 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
1044 output to the new format.
1046 2020-04-29 Simon Marchi <simon.marchi@efficios.com>
1048 * gdb.base/break.exp: Use with_test_prefix.
1050 2020-04-29 Tom de Vries <tdevries@suse.de>
1052 * lib/gdb.exp (debug_types): New proc.
1053 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
1054 * gdb.python/py-symtab.exp: Same.
1056 2020-04-29 Hannes Domani <ssbssa@yahoo.de>
1059 * gdb.base/pretty-array.c: New test.
1060 * gdb.base/pretty-array.exp: New file.
1062 2020-04-29 Tom de Vries <tdevries@suse.de>
1065 * gdb.cp/cpexprs.exp: Adapt for inclusion.
1066 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
1067 and include cpexprs.exp.
1069 2020-04-28 Mark Williams <mark@myosotissp.com>
1072 * dw4-toplevel-types.exp: Test for top level types.
1073 * dw4-toplevel-types.cc: Test for top level types.
1075 2020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1077 * gdb.threads/stop-with-handle.exp: Fix typo in comment
1078 (theads -> threads).
1080 2020-04-28 Tom de Vries <tdevries@suse.de>
1082 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
1084 2020-04-28 Tom de Vries <tdevries@suse.de>
1086 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
1088 2020-04-28 Tom de Vries <tdevries@suse.de>
1090 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
1092 2020-04-28 Tom de Vries <tdevries@suse.de>
1094 * gdb.dwarf2/main-foo.c: New test.
1095 * gdb.dwarf2/struct-with-sig.exp: New file.
1097 2020-04-25 Tom de Vries <tdevries@suse.de>
1099 * boards/debug-types.exp: New file.
1101 2020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
1103 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
1105 2020-04-24 Tom Tromey <tom@tromey.com>
1108 * gdb.python/py-symbol.exp: Update expected results for
1110 * gdb.cp/print-demangle.exp: New file.
1111 * gdb.base/c-linkage-name.exp: Fix test.
1112 * gdb.guile/scm-symbol.exp: Update expected results for
1115 2020-04-24 Tom Tromey <tom@tromey.com>
1117 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
1118 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
1119 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
1122 2020-04-24 Tom de Vries <tdevries@suse.de>
1124 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
1127 2020-04-24 Tom Tromey <tromey@adacore.com>
1129 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
1131 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
1132 values. Update test for minimal encodings.
1133 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
1134 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
1135 values. Update test for minimal encodings.
1137 2020-04-24 Tom Tromey <tromey@adacore.com>
1140 * gdb.ada/variant.exp: Add Python checks.
1141 * gdb.rust/simple.exp: Add dynamic type checks.
1143 2020-04-24 Tom Tromey <tromey@adacore.com>
1145 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
1146 Make array type matching more lax.
1147 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
1148 * gdb.ada/mi_variant.exp: New file.
1149 * gdb.ada/mi_variant/pck.ads: New file.
1150 * gdb.ada/mi_variant/pkg.adb: New file.
1151 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
1152 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
1154 2020-04-24 Tom Tromey <tromey@adacore.com>
1156 * gdb.ada/variant.exp: Add dynamic field offset tests.
1157 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
1158 * gdb.ada/variant/pkg.adb: Add new variables.
1160 2020-04-24 Tom Tromey <tromey@adacore.com>
1162 * gdb.ada/variant.exp: New file
1163 * gdb.ada/variant/pkg.adb: New file
1164 * gdb.ada/variant/pck.adb: New file
1166 2020-04-24 Tom de Vries <tdevries@suse.de>
1168 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
1170 2020-04-24 Tom de Vries <tdevries@suse.de>
1172 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
1175 2020-04-24 Tom de Vries <tdevries@suse.de>
1177 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
1179 2020-04-24 Tom de Vries <tdevries@suse.de>
1181 * lib/gdb.exp (default_gdb_start): Handle eof.
1182 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
1184 * gdb.base/readnever.exp: Handle clean_restart failure.
1186 2020-04-23 Tom de Vries <tdevries@suse.de>
1188 * gdb.base/decl-before-def.exp: Run to main and print a again.
1190 2020-04-23 Tom de Vries <tdevries@suse.de>
1192 * gdb.base/decl-before-def-decl.c: New test.
1193 * gdb.base/decl-before-def-def.c: New test.
1194 * gdb.base/decl-before-def.exp: New file.
1196 2020-04-23 Tom de Vries <tdevries@suse.de>
1198 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
1200 2020-04-22 Tom de Vries <tdevries@suse.de>
1202 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
1204 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
1205 before $objsfile in the line line.
1207 2020-04-22 Tom de Vries <tdevries@suse.de>
1209 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
1211 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
1213 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
1214 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
1215 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
1216 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
1217 * gdb.base/jit-protocol.h: Update definitions to match all usage
1220 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
1222 * gdb.base: Rename all jit related test and source files.
1224 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
1226 * gdb.base/jit-reader.exp: Relax register output check.
1228 2020-04-22 Tom de Vries <tdevries@suse.de>
1231 * gdb.base/psym-external-decl-2.c: New test.
1232 * gdb.base/psym-external-decl.c: New test.
1233 * gdb.base/psym-external-decl.exp: New file.
1234 * gdb.threads/tls.exp: Add PR25807 kfail.
1236 2020-04-22 Tom de Vries <tdevries@suse.de>
1239 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
1240 in "info source" output.
1242 2020-04-22 Tom de Vries <tdevries@suse.de>
1245 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
1246 symtab for imported_unit.c.
1248 2020-04-21 Gary Benson <gbenson@redhat.com>
1250 * gdb.base/advance.c (func): New argument, to match call site.
1251 (func2, func3): Add return statements.
1253 2020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1255 * gdb.multi/run-only-second-inf.c: New file.
1256 * gdb.multi/run-only-second-inf.exp: New file.
1258 2020-04-21 Markus Metzger <markus.t.metzger@intel.com>
1260 * gdb.btrace/multi-inferior.c: New test.
1261 * gdb.btrace/multi-inferior.exp: New file.
1263 2020-04-21 Markus Metzger <markus.t.metzger@intel.com>
1265 * gdb.btrace/enable-new-thread.c: New test.
1266 * gdb.btrace/enable-new-thread.exp: New file.
1268 2020-04-21 Tom de Vries <tdevries@suse.de>
1271 * gdb.threads/killed-outside.c: New test.
1272 * gdb.threads/killed-outside.exp: New file.
1274 2020-04-20 Gary Benson <gbenson@redhat.com>
1276 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
1277 * gdb.base/nested-subp2.exp: Likewise.
1278 * gdb.base/nested-subp3.exp: Likewise.
1280 2020-04-20 Gary Benson <gbenson@redhat.com>
1282 * gdb.base/nested-subp1.exp: Disable test when using clang.
1283 * gdb.base/nested-subp2.exp: Likewise.
1284 * gdb.base/nested-subp3.exp: Likewise.
1286 2020-04-20 Gary Benson <gbenson@redhat.com>
1288 * gdb.cp/exception.cc: Fix compilation error with clang.
1290 2020-04-20 Gary Benson <gbenson@redhat.com>
1292 * gdb.trace/tspeed.c: Fix compilation error with clang.
1294 2020-04-20 Gary Benson <gbenson@redhat.com>
1296 * gdb.base/jit-main.c: Fix compilation error with clang.
1298 2020-04-17 Kamil Rytarowski <n54@gmx.com>
1300 * gdb.base/attach-twice.c: Include "sys/types.h".
1301 (PTRACE_ATTACH): Add fallback definition.
1302 (main): Pass `0' to the 4th argument of `ptrace'.
1304 2020-04-17 Kamil Rytarowski <n54@gmx.com>
1306 * gdb.base/fork-running-state.c: Include "signal.h".
1308 2020-04-17 Tom Tromey <tromey@adacore.com>
1310 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
1312 * gdb.btrace/cpu.exp: Update tests.
1313 * gdb.base/maint.exp: Update tests.
1314 * gdb.base/default.exp: Update tests.
1315 * gdb.base/completion.exp: Update tests.
1317 2020-04-16 Tom de Vries <tdevries@suse.de>
1320 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
1321 (ensure_gdb_index): and factor out and move ...
1322 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
1323 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
1325 2020-04-16 Tom de Vries <tdevries@suse.de>
1327 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
1330 2020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
1332 * gdb.base/many-completions.exp: New file.
1334 2020-04-14 Tom de Vries <tdevries@suse.de>
1337 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
1339 2020-04-14 Tom de Vries <tdevries@suse.de>
1342 * gdb.base/maint-expand-symbols-header-file.c: New test.
1343 * gdb.base/maint-expand-symbols-header-file.exp: New file.
1344 * gdb.base/maint-expand-symbols-header-file.h: New test.
1346 2020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
1348 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
1349 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
1351 (get_func_info): Delete.
1352 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
1353 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
1354 * lib/dwarf.exp (get_func_info): New function.
1356 2020-04-13 Tom de Vries <tdevries@suse.de>
1358 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
1359 to what find_gnatmake does.
1361 2020-04-10 Tom de Vries <tdevries@suse.de>
1363 * gdb.base/style.exp: Expect "Expanding full symbols" message for
1366 2020-04-10 Tom de Vries <tdevries@suse.de>
1369 * gdb.base/style.c: Add leading newlines.
1370 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
1371 Check listing of main's one-line body.
1373 2020-04-08 Tom de Vries <tdevries@suse.de>
1375 * lib/gdb.exp (psymtabs_p): New proc.
1376 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
1377 importing unit" unsupported if there are no partial symbols.
1379 2020-04-08 Tom de Vries <tdevries@suse.de>
1382 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
1384 2020-04-07 Tom de Vries <tdevries@suse.de>
1387 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
1389 2020-04-07 Tom de Vries <tdevries@suse.de>
1391 * gdb.base/check-psymtab.c: New test.
1392 * gdb.base/check-psymtab.exp: New file.
1394 2020-04-06 Tom Tromey <tromey@adacore.com>
1396 * gdb.ada/variant-record/proc.adb: New file.
1397 * gdb.ada/variant-record/value.adb: New file.
1398 * gdb.ada/variant-record/value.s: New file.
1399 * gdb.ada/variant-record.exp: New file.
1401 2020-04-03 Hannes Domani <ssbssa@yahoo.de>
1404 * gdb.cp/typed-enum.cc: New test.
1405 * gdb.cp/typed-enum.exp: New file.
1407 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
1409 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
1410 * gdb.dwarf2/dw2-inline-small-func.c: New file.
1411 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
1412 * gdb.dwarf2/dw2-inline-small-func.h: New file.
1413 * gdb.opt/inline-small-func.c: New file.
1414 * gdb.opt/inline-small-func.exp: New file.
1415 * gdb.opt/inline-small-func.h: New file.
1417 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
1419 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
1422 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
1424 * lib/dwarf.exp (function_range): Allow compiler options to be
1427 2020-04-02 Tom de Vries <tdevries@suse.de>
1429 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
1430 __attribute__((always_inline)).
1431 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
1433 2020-04-02 Tom de Vries <tdevries@suse.de>
1435 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
1436 (gdbserver_gdb_exit): ... here. Add timeout warning.
1437 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
1438 (connect_target_extended_remote): Append new server_spawn_id to
1440 (cleanup): New proc.
1441 (setup, <toplevel>): Call cleanup.
1443 2020-04-02 Tom de Vries <tdevries@suse.de>
1445 * gdb.base/main-psymtab.exp: New file.
1447 2020-04-02 Tom de Vries <tdevries@suse.de>
1449 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
1451 2020-04-01 Tom Tromey <tom@tromey.com>
1453 * gdb.base/complex-parts.exp: Add type tests.
1455 2020-04-01 Tom Tromey <tom@tromey.com>
1457 * gdb.base/complex-parts.exp: Add arithmetic tests.
1459 2020-04-01 Tom Tromey <tom@tromey.com>
1461 * gdb.compile/compile.exp: Update.
1462 * gdb.compile/compile-cplus.exp: Update.
1463 * gdb.base/varargs.exp: Update.
1464 * gdb.base/floatn.exp: Update.
1465 * gdb.base/endianity.exp: Update.
1466 * gdb.base/callfuncs.exp (do_function_calls): Update.
1467 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
1468 (complex_float_integral_args): Update.
1469 * gdb.base/complex.exp: Update.
1470 * gdb.base/complex-parts.exp: Update.
1472 2020-04-01 Tom Tromey <tromey@adacore.com>
1474 * gdb.rust/union.rs: New file.
1475 * gdb.rust/union.exp: New file.
1476 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
1478 * gdb.rust/simple.exp: Move union tests to union.exp.
1480 2020-04-01 Tom Tromey <tromey@adacore.com>
1482 * gdb.rust/simple.rs (main): Remove "y0".
1484 2020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1486 * gdb.multi/stop-all-on-exit.c: New test.
1487 * gdb.multi/stop-all-on-exit.exp: New file.
1489 2020-04-01 Hannes Domani <ssbssa@yahoo.de>
1492 * gdb.cp/misc.cc: Add integer reference variable.
1493 * gdb.cp/misc.exp: Add test.
1495 2020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1497 * gdb.server/stop-reply-no-thread.exp: Enhance the test
1498 scenario to cover execution until the end and also the case
1500 2020-03-31 Tom de Vries <tdevries@suse.de>
1502 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
1503 c. Use "maint info symtabs" to check symtab expansion.
1505 2020-03-30 Tom de Vries <tdevries@suse.de>
1507 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
1509 (verify_psymtab_expanded): Move ...
1510 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
1512 (readnow): New proc.
1514 2020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
1516 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
1519 2020-03-20 Tom Tromey <tromey@adacore.com>
1521 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
1523 2020-03-20 Tom Tromey <tromey@adacore.com>
1525 * gdb.ada/sub_variant/subv.adb: New file.
1526 * gdb.ada/sub_variant.exp: New file.
1528 2020-03-20 Tom de Vries <tdevries@suse.de>
1530 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
1532 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
1534 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
1536 * gdb.server/exit-multiple-threads.c: New file.
1537 * gdb.server/exit-multiple-threads.exp: New file.
1539 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
1541 * gdb.fortran/mixed-lang-stack.c: New file.
1542 * gdb.fortran/mixed-lang-stack.cpp: New file.
1543 * gdb.fortran/mixed-lang-stack.exp: New file.
1544 * gdb.fortran/mixed-lang-stack.f90: New file.
1546 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
1548 * gdb.linespec/cp-completion-aliases.cc: New file.
1549 * gdb.linespec/cp-completion-aliases.exp: New file.
1551 2020-03-19 Tom de Vries <tdevries@suse.de>
1553 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
1556 2020-03-18 Tom de Vries <tdevries@suse.de>
1558 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
1559 * gdb.dwarf2/break-inline-psymtab.c: New test.
1560 * gdb.dwarf2/break-inline-psymtab.exp: New file.
1562 2020-03-16 Tom de Vries <tdevries@suse.de>
1564 * lib/cache.exp (gdb_do_cache): Add and handle local variables
1565 cache_verify and cache_verify_proc.
1567 2020-03-15 Tom de Vries <tdevries@suse.de>
1569 * gdb.server/solib-list.exp: Handle
1570 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
1572 2020-03-15 Tom de Vries <tdevries@suse.de>
1574 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
1577 2020-03-14 Tom Tromey <tom@tromey.com>
1579 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
1581 2020-03-14 Tom de Vries <tdevries@suse.de>
1583 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
1585 2020-03-14 Tom de Vries <tdevries@suse.de>
1587 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
1588 result in line-by-line fashion.
1590 2020-03-14 Tom de Vries <tdevries@suse.de>
1592 * lib/gdb.exp (supports_statement_frontiers): New proc.
1593 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
1595 2020-03-14 Tom de Vries <tdevries@suse.de>
1597 * gdb.base/printcmds.exp: Add missing quoting for "print
1600 2020-03-13 Tom Tromey <tom@tromey.com>
1602 * gdb.base/printcmds.exp (test_print_strings): Add regression
1604 * gdb.base/printcmds.c (charptr): New typedef.
1605 (teststring2): New global.
1607 2020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
1609 * gdb.base/break-interp.exp: Use the tail of the filename, not the
1610 full path in the test name.
1611 (test_ld): Add some with_test_prefix blocks to make test names
1614 2020-03-13 Tom de Vries <tdevries@suse.de>
1616 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
1618 2020-03-13 Tom de Vries <tdevries@suse.de>
1620 * gdb.mi/mi-sym-info.exp: Make matching more precise.
1622 2020-03-13 Tom de Vries <tdevries@suse.de>
1625 * gdb.dwarf2/imported-unit.exp: Add test.
1627 2020-03-13 Tom de Vries <tdevries@suse.de>
1629 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
1630 (var1, var2): New variable.
1631 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
1634 2020-03-13 Tom de Vries <tdevries@suse.de>
1636 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
1637 (Term::command): Use prompt prefix.
1638 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
1639 * gdb.tui/tui-layout-asm-short-prog.exp: Use
1640 command_no_prompt_prefix instead of prefix.
1641 * gdb.tui/tui-layout-asm.exp: Same.
1643 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
1645 * gdb.base/break-interp.exp: Use foreach_with_prefix.
1647 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
1649 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
1650 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
1651 on" while stepping over the test instruction, match printed
1654 2020-03-12 Tom de Vries <tdevries@suse.de>
1656 * gdb.base/info-types.exp: Use exp_continue during matching of output
1659 2020-03-12 Tom de Vries <tdevries@suse.de>
1661 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
1663 2020-03-12 Tom de Vries <tdevries@suse.de>
1665 * gdb.fortran/module.exp: Use exp_continue during matching of output
1666 of "info variable -n".
1668 2020-03-12 Tom de Vries <tdevries@suse.de>
1670 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
1671 gdb.dwarf2/dw2-ranges-base.c.
1673 2020-03-12 Tom de Vries <tdevries@suse.de>
1675 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
1676 in presence of GLIBC debuginfo.
1678 2020-03-12 Tom de Vries <tdevries@suse.de>
1680 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
1683 2020-03-12 Tom de Vries <tdevries@suse.de>
1685 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
1688 2020-03-11 Simon Marchi <simon.marchi@efficios.com>
1690 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
1691 from Unix to Windows path.
1693 2020-03-11 Tom de Vries <tdevries@suse.de>
1695 * gdb.ada/minsyms.exp: Set language to ada.
1697 2020-03-11 Tom de Vries <tdevries@suse.de>
1699 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
1701 2020-03-11 Tom de Vries <tdevries@suse.de>
1703 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
1705 2020-03-11 Tom Tromey <tromey@adacore.com>
1707 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
1709 2020-03-11 Tom de Vries <tdevries@suse.de>
1711 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
1713 2020-03-11 Tom de Vries <tdevries@suse.de>
1715 * gdb.base/break-interp.exp: Limit verbose scope.
1717 2020-03-11 Tom de Vries <tdevries@suse.de>
1719 * gdb.fortran/logical.f90: Define variable with character type.
1720 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
1722 2020-03-11 Tom de Vries <tdevries@suse.de>
1724 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
1726 2020-03-11 Tom de Vries <tdevries@suse.de>
1728 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
1731 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
1732 Bernd Edlinger <bernd.edlinger@hotmail.de>
1734 * gdb.cp/step-and-next-inline.cc: New file.
1735 * gdb.cp/step-and-next-inline.exp: New file.
1736 * gdb.cp/step-and-next-inline.h: New file.
1737 * gdb.dwarf2/dw2-is-stmt.c: New file.
1738 * gdb.dwarf2/dw2-is-stmt.exp: New file.
1739 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
1740 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
1741 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
1743 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
1745 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
1746 is-stmt flag in the line table.
1748 2020-03-09 Tom de Vries <tdevries@suse.de>
1750 * lib/gdb.exp (cached_file): Create cache dir.
1752 2020-03-07 Tom de Vries <tdevries@suse.de>
1754 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
1755 * gdb.cp/rvalue-ref-params.exp: Same.
1757 2020-03-06 Tom de Vries <tdevries@suse.de>
1759 * lib/gdb.exp (tentative_rename, cached_file): New proc.
1760 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
1762 2020-03-06 Tom de Vries <tdevries@suse.de>
1764 * README: Fix "the the".
1765 * gdb.base/dprintf.exp: Same.
1767 2020-03-05 Tom de Vries <tdevries@suse.de>
1769 * gdb.base/maint.exp: Update "main print statistics" expected output.
1771 2020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1773 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
1774 (fortran_int8): Likewise.
1775 (fortran_real4): Likewise.
1776 (fortran_real8): Likewise.
1777 (fortran_complex4): Likewise.
1778 (fortran_logical4): Likewise.
1779 (fortran_character1): Likewise.
1781 2020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
1783 * gdb.fortran/logical.exp: Add tests that any non-zero value is
1786 2020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
1788 * gdb.base/printcmds.exp: Add test to verify printf of a
1789 variable holding an address.
1791 2020-03-03 Tom de Vries <tdevries@suse.de>
1793 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
1795 2020-03-03 Tom de Vries <tdevries@suse.de>
1797 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
1798 gdb_test_multiple call.
1800 2020-03-03 Tom de Vries <tdevries@suse.de>
1802 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
1803 gdb_test_multiple calls.
1805 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
1807 * gdb.base/default.exp: Remove test of 'set history filename'.
1808 * gdb.base/gdbinit-history.exp: Add tests for setting the history
1809 filename to the empty string.
1810 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
1813 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
1815 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
1818 2020-03-02 Pedro Alves <palves@redhat.com>
1819 Tom de Vries <tdevries@suse.de>
1821 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
1822 -prompt prefix, before user_code argument. Add -lbl option likewise.
1823 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
1824 (gdb_is_target_1): Add -prompt prefix and move to before user_code
1826 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
1827 have "\r\n" at start-of-line, instead of at end-of-line.
1829 2020-02-28 Simon Marchi <simon.marchi@efficios.com>
1831 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
1834 2020-02-28 Luis Machado <luis.machado@linaro.org>
1836 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
1839 2020-02-28 Luis Machado <luis.machado@linaro.org>
1841 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
1842 asm/ptrace.h and error.h.
1844 2020-02-28 Tom de Vries <tdevries@suse.de>
1846 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
1847 (struct wrapper, do_something, mundane/symada__cS): Move ...
1848 * gdb.base/c-linkage-name-2.c: ... here. New source file.
1849 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
1850 Update "print symada__cS before partial symtab expansion" regexp.
1851 Update breakpoint location. Flush symbol cache after expansion.
1853 2020-02-28 Luis Machado <luis.machado@linaro.org>
1855 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
1857 2020-02-27 Tom de Vries <tdevries@suse.de>
1859 * config/sid.exp: Remove unused globals.
1860 * gdb.base/attach.exp: Same.
1861 * gdb.base/catch-load.exp: Same.
1862 * gdb.base/dbx.exp: Same.
1863 * lib/gdb.exp: Same.
1864 * lib/mi-support.exp: Same.
1865 * lib/prompt.exp: Same.
1867 2020-02-27 Tom de Vries <tdevries@suse.de>
1869 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
1872 2020-02-26 Aaron Merey <amerey@redhat.com>
1874 * gdb.debuginfod: New directory for debuginfod tests.
1875 * gdb.debuginfod/main.c: New test file.
1876 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
1878 2020-02-26 Tom de Vries <tdevries@suse.de>
1881 * gdb.base/persistent-lang.cc: New test.
1882 * gdb.base/persistent-lang.exp: New file.
1884 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1886 * gdb.fortran/derived-type-striding.exp: Add a new test.
1887 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
1890 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1892 * gdb.base/cached-source-file.exp: Avoid source file paths in test
1895 2020-02-25 Tom de Vries <tdevries@suse.de>
1898 * gdb.go/methods.exp: Remove gcc/93866 xfail.
1900 2020-02-24 Tom de Vries <tdevries@suse.de>
1903 * gdb.base/info-locals-unused-static-var.c: New test.
1904 * gdb.base/info-locals-unused-static-var.exp: New file.
1906 2020-02-22 Tom Tromey <tom@tromey.com>
1908 * gdb.python/tui-window.exp: New file.
1909 * gdb.python/tui-window.py: New file.
1911 2020-02-22 Tom Tromey <tom@tromey.com>
1914 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
1917 2020-02-22 Tom Tromey <tom@tromey.com>
1919 * gdb.tui/new-layout.exp: Add sub-layout tests.
1921 2020-02-22 Tom Tromey <tom@tromey.com>
1923 * gdb.tui/new-layout.exp: New file.
1925 2020-02-22 Tom Tromey <tom@tromey.com>
1927 * gdb.rust/rust-style.rs: New file.
1928 * gdb.rust/rust-style.exp: New file.
1929 * gdb.base/style.exp: Test structure printing.
1930 * gdb.base/style.c (struct some_struct): New type.
1931 (enum etype): New type.
1932 (struct_value): New global.
1934 2020-02-21 Tom de Vries <tdevries@suse.de>
1937 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
1938 Remove blanket xfails. Use message argument for gdb_breakpoint.
1939 Make continuing to breakpoint test conditional on setting breakpoint.
1940 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
1941 DW_AT_name attribute. Add xfail for GCC PR93866.
1943 2020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
1945 * gdb.dwarf2/cpp-linkage-name.c: New file.
1946 * gdb.dwarf2/cpp-linkage-name.exp: New file.
1948 2020-02-21 Shahab Vahedi <shahab@synopsys.com>
1950 * lib/gdb.exp (gdb_wrapper_init): Reset
1951 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
1954 2020-02-20 Tom de Vries <tdevries@suse.de>
1957 * gdb.go/hello.exp: Copy ...
1958 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
1959 print of st to print value of global definition. Add xfail for GCC
1961 * gdb.go/hello.exp: Remove printing of st before definition.
1962 * gdb.go/hello.go: Copy ...
1963 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
1965 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
1967 2020-02-20 Tom de Vries <tdevries@suse.de>
1969 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
1970 (gdb_simple_compile): Handle compile_flags go by using .go extension
1972 * gdb.go/chan.exp: Use support_go_compile.
1973 * gdb.go/handcall.exp: Same.
1974 * gdb.go/hello.exp: Same.
1975 * gdb.go/integers.exp: Same.
1976 * gdb.go/max-depth.exp: Same.
1977 * gdb.go/methods.exp: Same.
1978 * gdb.go/package.exp: Same.
1979 * gdb.go/strings.exp: Same.
1980 * gdb.go/types.exp: Same.
1981 * gdb.go/unsafe.exp: Same.
1983 2020-02-19 Tom de Vries <tdevries@suse.de>
1985 * gdb.python/lib-types.exp: Make xfail more strict.
1987 2020-02-19 Tom de Vries <tdevries@suse.de>
1989 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
1991 2020-02-19 Doug Evans <dje@google.com>
1994 * gdb.rust/simple.exp: Add test.
1995 * gdb.rust/simple.rs: Add test.
1997 2020-02-19 Tom de Vries <tdevries@suse.de>
1999 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
2000 output line-by-line.
2002 2020-02-19 Tom de Vries <tdevries@suse.de>
2004 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
2006 2020-02-19 Tom de Vries <tdevries@suse.de>
2008 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
2011 2020-02-19 Tom de Vries <tdevries@suse.de>
2013 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
2014 (gdb_do_cache): Use gdb_do_cache_wrap.
2015 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
2017 2020-02-19 Tom de Vries <tdevries@suse.de>
2019 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
2022 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
2024 * gdb.base/printcmds.exp (test_print_enums): Update expected
2027 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
2029 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
2032 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
2034 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
2037 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
2039 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
2042 (enum flag_enum_without_zero): New enum.
2043 (flag_enum_without_zero): New variable.
2044 (enum not_flag_enum): New enum.
2045 (three_not_flag): New variable.
2046 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
2047 (test_print_enums): Add more tests for printing flag enums.
2049 2020-02-18 Tom de Vries <tdevries@suse.de>
2051 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
2052 (gdb_compile_ada): ... here.
2053 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
2054 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
2056 2020-02-14 Tom Tromey <tom@tromey.com>
2058 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
2060 * boards/gdbserver-base.exp: Update path to gdbserver.
2062 2020-02-13 Tom de Vries <tdevries@suse.de>
2064 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
2066 2020-02-13 Tom de Vries <tdevries@suse.de>
2068 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
2071 2020-02-13 Tom de Vries <tdevries@suse.de>
2073 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
2076 2020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
2079 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
2080 * gdb.base/cached-source-file.c: New file.
2081 * gdb.base/cached-source-file.exp: New file.
2083 2020-02-11 Tom de Vries <tdevries@suse.de>
2086 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
2088 2020-02-10 Tom de Vries <tdevries@suse.de>
2090 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
2092 2020-02-10 Maciej W. Rozycki <macro@wdc.com>
2094 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
2095 and $after_addr are both integers before making a comparison.
2097 2020-02-09 Tom de Vries <tdevries@suse.de>
2099 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
2100 command output and paste it into gdb.log. If any, paste catch message
2103 2020-02-07 Tom Tromey <tromey@adacore.com>
2105 PR breakpoints/24915:
2106 * gdb.base/annotate-symlink.exp: Use setup_xfail.
2108 2020-02-06 Shahab Vahedi <shahab@synopsys.com>
2110 * gdb.tui/tui-missing-src.exp: Add the "missing source
2111 file" test for the TUI.
2113 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
2115 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
2116 including a port number in the output.
2118 2020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
2120 * lib/fortran.exp (fortran_int4): Handle clang.
2121 (fortran_int8): Likewise.
2122 (fortran_real4): Likewise.
2123 (fortran_real8): Likewise.
2124 (fortran_complex4): Likewise.
2125 (fortran_logical4): Likewise.
2126 (fortran_character1): Likewise.
2128 2020-02-04 Tom de Vries <tdevries@suse.de>
2130 * README (Race detection): Add note.
2132 2020-02-04 Tom de Vries <tdevries@suse.de>
2134 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
2136 2020-02-04 Tom de Vries <tdevries@suse.de>
2138 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
2140 2020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2142 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
2143 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
2144 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
2146 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
2147 binary for blttar, bnetarl.
2148 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
2149 wait instruction. Delete ldmx test.
2150 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
2152 2020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2154 * gdb.fortran/array-bounds-high.exp: New file.
2155 * gdb.fortran/array-bounds-high.f90: New file.
2157 2020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
2159 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
2160 Replace #include of <sys/fcntl.h> by <fcntl.h>.
2162 2020-02-01 Tom de Vries <tdevries@suse.de>
2164 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
2166 2020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
2169 * gdb.tui/tui-layout-asm-short-prog.S: New file.
2170 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
2172 2020-01-29 Luis Machado <luis.machado@linaro.org>
2174 * gdb.arch/aarch64-brk-patterns.c: New source file.
2175 * gdb.arch/aarch64-brk-patterns.exp: New test.
2177 2020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2179 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
2181 * gdb.cp/pass-by-ref.exp: Ditto.
2183 2020-01-29 Tom de Vries <tdevries@suse.de>
2185 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
2186 * gdb.threads/watchpoint-fork-mt.c: Same.
2187 * gdb.threads/watchpoint-fork-parent.c: Same.
2188 * gdb.threads/watchpoint-fork-st.c: Same.
2189 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
2191 2020-01-27 Luis Machado <luis.machado@linaro.org>
2193 * gdb.base/step-over-syscall.exp (setup): Check if we're already
2194 sitting at a syscall instruction when we hit the syscall function's
2196 Check PC against one obtained with the x command.
2197 Validate syscall number.
2198 (step_over_syscall): Don't continue to the syscall instruction if
2199 we're already there.
2201 2020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2203 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
2205 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2207 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
2208 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
2210 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2212 * gdb.dwarf2/dw2-inline-stepping.c: New file.
2213 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
2215 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2217 * gdb.base/maint.exp: Update line table parsing test.
2218 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
2220 2020-01-24 Pedro Alves <palves@redhat.com>
2223 * gdb.multi/multi-re-run-1.c: New.
2224 * gdb.multi/multi-re-run-2.c: New.
2225 * gdb.multi/multi-re-run.exp: New.
2227 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2230 * gdb.server/server-kill-python.exp: New file.
2232 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2234 * gdb.server/multi-ui-errors.c: New file.
2235 * gdb.server/multi-ui-errors.exp: New file.
2237 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2240 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
2242 2020-01-19 Tom Tromey <tom@tromey.com>
2244 * gdb.tui/main.exp: Add check for plain "file".
2246 2020-01-16 Christian Biesinger <cbiesinger@google.com>
2248 * lib/gdb.exp: Fix spelling error (seperatelly).
2250 2020-01-14 Tom Tromey <tom@tromey.com>
2253 * gdb.python/python.exp: Test decode_line with empty string
2256 2020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
2258 * gdb.base/skip-inline.exp: Extend test.
2260 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
2262 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
2263 * gdb.dwarf2/dw2-bad-elf.c: New file.
2264 * gdb.dwarf2/dw2-bad-elf.exp: New file.
2266 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
2268 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
2271 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
2273 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
2276 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2278 * gdb.multi/multi-target.exp (setup): Factor out "info
2279 connections" and "info inferiors" tests to ...
2280 (test_info_inferiors): ... this new procedure.
2281 (top level): Run new "info-inferiors" tests.
2283 2020-01-10 Pedro Alves <palves@redhat.com>
2285 * gdb.server/bkpt-other-inferior.exp: New file.
2287 2020-01-10 Pedro Alves <palves@redhat.com>
2289 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
2291 * gdb.base/quit-live.exp: Likewise.
2292 * gdb.base/remote-exec-file.exp: Likewise.
2293 * gdb.guile/scm-progspace.exp: Likewise.
2294 * gdb.linespec/linespec.exp: Likewise.
2295 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2296 * gdb.mi/user-selected-context-sync.exp: Likewise.
2297 * gdb.multi/multi-target.exp (setup): Add "info connection" and
2298 "info inferiors" tests.
2299 * gdb.multi/remove-inferiors.exp: Adjust expected output of
2301 * gdb.multi/watchpoint-multi.exp: Likewise.
2302 * gdb.python/py-inferior.exp: Likewise.
2303 * gdb.server/extended-remote-restart.exp: Likewise.
2304 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
2306 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
2307 * gdb.trace/report.exp: Likewise.
2309 2020-01-10 Pedro Alves <palves@redhat.com>
2311 * gdb.multi/multi-target.c: New file.
2312 * gdb.multi/multi-target.exp: New file.
2313 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
2314 mode requested, but remote does not support non-stop".
2316 2020-01-10 Pedro Alves <palves@redhat.com>
2318 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
2319 disconnect before reconnecting.
2321 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2322 Pedro Alves <palves@redhat.com>
2324 * gdb.server/connect-without-multi-process.exp: Also test
2327 2020-01-10 Pedro Alves <palves@redhat.com>
2329 * gdb.base/remote-exec-file.exp: New file.
2331 2020-01-10 Pedro Alves <palves@redhat.com>
2333 * gdb.base/fork-running-state.exp (do_test): Adjust expected
2335 * gdb.threads/async.c: New.
2336 * gdb.threads/async.exp: New.
2337 * gdb.multi/tids-gid-reset.c: New.
2338 * gdb.multi/tids-gid-reset.exp: New.
2340 2020-01-10 George Barrett <bob@bob131.so>
2342 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
2343 to help in finding the image relocation offset.
2344 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
2345 options in arguments.
2346 (stap_test_no_debuginfo): Likewise.
2347 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
2349 (stap_test): Add null semaphore relocation test.
2351 2020-01-10 George Barrett <bob@bob131.so>
2353 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
2354 * gdb.base/stap-probe.exp: Likewise.
2355 (stap_test): Pass argument as an additional flag.
2356 (stap_test_no_debuginfo): Likewise.
2357 (stap_test): Check `info probes stap' output for semaphore
2358 addresses if the test binary is supposed to have them.
2360 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2362 * gdb.tui/basic.exp: Add more scrolling tests.
2364 2020-01-09 Tom Tromey <tom@tromey.com>
2367 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
2369 (Term::command, Term::resize): Update.
2370 * gdb.tui/basic.exp: Add scrolling test.
2372 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2374 * gdb.tui/tui-layout-asm.exp: New file.
2376 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2378 * lib/tuiterm.exp (Term::check_box_contents): New proc.
2380 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2382 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
2383 (Term::enter_tui): Use Term::prepare_for_tui.
2385 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2387 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
2390 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2392 * gdb.base/skip.exp: Fix race condition in test.
2394 2020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
2396 * gdb.base/backtrace.c: New file.
2397 * gdb.base/backtrace.exp: New file.
2399 2020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
2401 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
2403 2020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2405 * gdb.base/style.exp: Test that warnings are styled.
2407 2019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
2409 * gdb.base/line65535.exp: New file.
2410 * gdb.base/line65535.c: New file.
2412 2019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
2414 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
2415 * lib/gnat_debug_info_test.adb: New file.
2416 * gdb.ada/ptype_tagged_param.exp: Use
2417 gnat_runtime_has_debug_info, expect a different output if
2418 runtime does not have debug info.
2420 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
2422 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
2423 (another) quote in test name.
2425 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
2427 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
2428 Add quote in test name.
2430 2019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2432 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
2434 * gdb.cp/pass-by-ref.exp: Extend with more cases.
2435 * gdb.cp/pass-by-ref-2.cc: New file.
2436 * gdb.cp/pass-by-ref-2.exp: New file.
2438 2019-12-20 Tom Tromey <tom@tromey.com>
2440 * gdb.tui/list-before.exp: New file.
2442 2019-12-20 Tom Tromey <tom@tromey.com>
2444 * gdb.tui/list.exp: Check for source on initial listing.
2446 2019-12-11 Tom Tromey <tromey@adacore.com>
2448 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
2451 2019-12-18 Simon Marchi <simon.marchi@efficios.com>
2453 * gdb.base/default.exp: Update value of $_gdb_major.
2455 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
2457 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
2459 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
2461 * gdb.base/skip.exp: Whitespace fix.
2463 2019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2465 * gdb.base/skip-inline.c: New file.
2466 * gdb.base/skip-inline.exp: New file.
2468 2019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
2470 * gdb.base/jit-reader.exp (jit_reader_test): Rename
2471 jit_function_00 to jit_function_stack_mangle.
2472 * gdb.base/jithost.c (jit_function_t): Rename to...
2473 (jit_function_stack_mangle_t): ... this.
2474 (jit_function_add_t): New typedef.
2475 (jit_function_00_code): Rename to...
2476 (jit_function_stack_mangle_code): ... this, make static.
2477 (jit_function_add_code): New.
2478 (main): Generate "add" function and call it. Adjust to changes
2480 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
2481 (struct jithost_abi) <begin, end>: Remove fields.
2482 <object, function_stack_mangle, function_add>: New fields.
2483 * gdb.base/jitreader.c (struct reader_state) <code_begin,
2484 code_end>: Remove fields.
2485 <func_stack_mangle>: New field.
2486 (read_debug_info): Adjust to renaming, create block for "add"
2488 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
2490 2019-12-11 Tom Tromey <tom@tromey.com>
2492 * gdb.tui/resize.exp: Fix regexp.
2493 * gdb.tui/regs.exp: Fix regexps.
2494 * gdb.tui/main.exp: Fix regexp.
2496 2019-12-11 Tom Tromey <tom@tromey.com>
2498 * gdb.tui/resize.exp: Update.
2499 * gdb.tui/empty.exp (layouts): Update.
2501 2019-12-11 Tom Tromey <tom@tromey.com>
2503 * gdb.tui/regs.exp: Update.
2504 * gdb.tui/empty.exp (layouts): Update.
2505 * gdb.tui/basic.exp: Update.
2506 * lib/tuiterm.exp (_check_box): Don't check bottom border.
2508 2019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2510 * gdb.base/options.exp: Add -raw-values in the print completion list.
2511 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
2513 2019-12-10 Kevin Buettner <kevinb@redhat.com>
2515 * gdb.threads/omp-par-scope.c: New file.
2516 * gdb/threads/omp-par-scope.exp: New file.
2518 2019-12-10 Kevin Buettner <kevinb@redhat.com>
2520 * lib/gdb.exp (support_nested_function_tests): New proc.
2522 2019-12-10 Kevin Buettner <kevinb@redhat.com>
2524 * lib/gdb.exp (gdb_compile_openmp): New proc.
2525 (build_executable_from_specs): Add an "openmp" option.
2526 (gdb_compile_pthreads): Add non-executable case.
2528 2019-12-10 Tom Tromey <tromey@adacore.com>
2530 * gdb.ada/unchecked_union.exp: New file.
2531 * gdb.ada/unchecked_union/pck.adb: New file.
2532 * gdb.ada/unchecked_union/pck.ads: New file.
2533 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
2534 * gdb-utils.exp (string_to_regexp): Also quote "?".
2536 2019-12-10 George Barrett <bob@bob131.so>
2538 Test scripted probe breakpoints.
2539 * gdb.guile/scm-breakpoint.c (main): Add probe point.
2540 * gdb.python/py-breakpoint.c (main): Likewise.
2541 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
2543 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
2545 2019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2547 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
2548 an rvalue parameter.
2549 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
2552 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
2554 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
2557 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
2559 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
2560 broken version of GCC.
2562 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
2564 * gdb.fortran/info-modules.exp: Rewrite to make use of new
2565 sym-info-cmds library.
2566 * gdb.fortran/info-types.exp: Likewise.
2567 * lib/sym-info-cmds.exp: New file.
2569 2019-12-08 Tom de Vries <tdevries@suse.de>
2571 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
2573 2019-12-07 Keith Seitz <keiths@redhat.com>
2575 * gdb.base/corefile-buildid-shlib-shr.c: New file.
2576 * gdb.base/corefile-buildid-shlib.c: New file.
2577 * gdb.base/corefile-buildid.c: New file.
2578 * gdb.base/corefile-buildid.exp: New file.
2580 2019-12-06 Tom de Vries <tdevries@suse.de>
2582 * gdb.dwarf2/varval.exp: Add decl before def test.
2584 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2586 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
2588 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2590 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
2591 CV and reference conversion for overload resolution.
2592 * gdb.cp/rvalue-ref-overload.exp: Test it.
2594 2019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2596 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
2597 * gdb.base/frameapply.exp: Test faas without command.
2599 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2601 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
2603 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
2606 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2608 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
2609 casting to type with no kind specified.
2610 (test_basic_parsing_of_type_kinds): Additional tests for types
2611 with no kind specified, and add tests for single/double
2612 precision/complex types.
2614 2019-12-04 Tom Tromey <tromey@adacore.com>
2616 * gdb.base/endianity.c (struct other) <x>: New field.
2617 (main): Initialize it.
2618 * gdb.base/endianity.exp: Update.
2620 2019-12-04 Tom Tromey <tromey@adacore.com>
2622 * gdb.ada/scalar_storage/storage.adb: New file.
2623 * gdb.ada/scalar_storage/pck.adb: New file.
2624 * gdb.ada/scalar_storage/pck.ads: New file.
2625 * gdb.ada/scalar_storage.exp: New file.
2627 2019-12-04 Tom Tromey <tromey@adacore.com>
2629 * gdb.base/endianity.c (struct otherendian) <f>: New field.
2630 (main): Initialize it.
2631 * gdb.base/endianity.exp: Update.
2633 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2635 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
2637 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2639 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
2640 -symbol-info-module-functions and -symbol-info-module-variables.
2642 2019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
2644 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
2646 2019-12-01 Richard Bunt <richard.bunt@arm.com>
2647 Andrew Burgess <andrew.burgess@embecosm.com>
2649 * gdb.fortran/derived-type-striding.exp: New file.
2650 * gdb.fortran/derived-type-striding.f90: New file.
2651 * gdb.fortran/array-slices.exp: New file.
2652 * gdb.fortran/array-slices.f90: New file.
2654 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2656 * gdb.base/define.exp: Test . in command names.
2657 * gdb.base/setshow.exp: Update test, as . is now part of
2660 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2662 * gdb.base/define-prefix.exp: New file.
2664 2019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
2666 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
2668 (skip_btrace_pt_tests): Likewise.
2670 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
2672 * gdb.fortran/info-modules.exp: Compile source files in correct
2675 2019-11-27 Kevin Buettner <kevinb@redhat.com>
2677 * gdb.dwarf2/imported-unit.exp: New file.
2678 * gdb.dwarf2/imported-unit.c: New file.
2680 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
2682 * gdb.mi/mi-fortran-modules-2.f90: New file.
2683 * gdb.mi/mi-fortran-modules.exp: New file.
2684 * gdb.mi/mi-fortran-modules.f90: New file.
2686 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
2688 * gdb.mi/mi-sym-info-1.c: New file.
2689 * gdb.mi/mi-sym-info-2.c: New file.
2690 * gdb.mi/mi-sym-info.exp: New file.
2692 2019-11-22 Tom Tromey <tromey@adacore.com>
2694 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
2695 * gdb.ada/tasks/foo.adb: Add another stopping location.
2697 2019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
2699 * gdb.base/endianity.c: New test.
2700 * gdb.base/endianity.exp: New file.
2702 2019-11-21 Lukas Durfina <ldurfina@tachyum.com>
2704 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
2706 2019-11-21 Tom de Vries <tdevries@suse.de>
2709 * gdb.base/ui-redirect.exp: Test output of user-defined command.
2711 2019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
2713 * gdb.python/py-progspace.exp: Add missing parentheses on some
2716 2019-11-19 Tom Tromey <tom@tromey.com>
2718 * gdb.tui/winheight.exp: New file.
2720 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2722 * gdb.base/ctf-whatis.c: Delete.
2723 * gdb.base/ctf-whatis.exp: Delete.
2724 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
2726 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2728 * gdb.base/ctf-cvexpr.exp: Delete.
2729 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
2731 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2733 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
2734 the compiler. Clean up header comment a little.
2735 * gdb.base/ctf-ptype.exp: Likewise.
2736 * gdb.base/ctf-whatis.exp: Likewise.
2737 * lib/gdb.exp (skip_ctf_tests): New proc.
2739 2019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
2741 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
2742 * gdb.tui/corefile-run.exp: New file.
2744 2019-11-14 Tom Tromey <tromey@adacore.com>
2746 * gdb.base/gdbvars.exp (test_convenience_variables): Add
2749 2019-11-12 Tom Tromey <tom@tromey.com>
2751 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
2752 after any command. Expect prompt after WAIT_FOR is seen.
2753 (enter_tui): Enable resize messages.
2754 (command): Expect command in output.
2755 (get_line): Avoid error when cursor appears to be off-screen.
2756 (dump_screen): Include screen size in title.
2757 (_do_resize): New proc, from "resize".
2758 (resize): Rewrite. Do resize in two steps.
2759 * gdb.tui/empty.exp (layouts): Fix entries.
2760 (check_boxes): Remove xfail.
2761 (check_text): Dump screen on failure.
2763 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
2765 * gdb.python/py-symbol.exp: Add test for
2766 gdb.lookup_static_symbols.
2768 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
2770 * gdb.python/py-symbol.c: Declare and call function from new
2772 * gdb.python/py-symbol.exp: Compile both source files, and add new
2773 tests for gdb.lookup_static_symbol.
2774 * gdb.python/py-symbol-2.c: New file.
2776 2019-11-02 Tom de Vries <tdevries@suse.de>
2778 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
2779 * gdb.base/anon.exp: Same.
2780 * gdb.base/auto-connect-native-target.exp: Same.
2781 * gdb.base/call-ar-st.exp: Same.
2782 * gdb.base/catch-syscall.exp: Same.
2783 * gdb.base/commands.exp: Same.
2784 * gdb.base/default.exp: Same.
2785 * gdb.base/display.exp: Same.
2786 * gdb.base/float.exp: Same.
2787 * gdb.base/foll-fork.exp: Same.
2788 * gdb.base/help.exp: Same.
2789 * gdb.base/info-macros.exp: Same.
2790 * gdb.base/info-proc.exp: Same.
2791 * gdb.base/info-target.exp: Same.
2792 * gdb.base/long_long.exp: Same.
2793 * gdb.base/macscp.exp: Same.
2794 * gdb.base/memattr.exp: Same.
2795 * gdb.base/nofield.exp: Same.
2796 * gdb.base/pointers.exp: Same.
2797 * gdb.base/printcmds.exp: Same.
2798 * gdb.base/ptype.exp: Same.
2799 * gdb.base/restore.exp: Same.
2800 * gdb.base/return.exp: Same.
2801 * gdb.base/scope.exp: Same.
2802 * gdb.base/set-noassign.exp: Same.
2803 * gdb.base/setshow.exp: Same.
2804 * gdb.base/shlib-call.exp: Same.
2805 * gdb.base/signals.exp: Same.
2806 * gdb.base/sigstep.exp: Same.
2807 * gdb.base/skip.exp: Same.
2808 * gdb.base/solib-symbol.exp: Same.
2809 * gdb.base/stap-probe.exp: Same.
2810 * gdb.base/step-line.exp: Same.
2811 * gdb.base/step-test.exp: Same.
2812 * gdb.base/style.exp: Same.
2813 * gdb.base/varargs.exp: Same.
2814 * gdb.base/vla-datatypes.exp: Same.
2815 * gdb.base/vla-ptr.exp: Same.
2816 * gdb.base/vla-sideeffect.exp: Same.
2817 * gdb.base/volatile.exp: Same.
2818 * gdb.base/watch-cond-infcall.exp: Same.
2819 * gdb.base/watchpoint.exp: Same.
2821 2019-11-02 Tom de Vries <tdevries@suse.de>
2823 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
2824 * gdb.cp/cpexprs.exp: Same.
2825 * gdb.cp/except-multi-location.exp: Same.
2826 * gdb.cp/exceptprint.exp: Same.
2827 * gdb.cp/gdb2384.exp: Same.
2828 * gdb.cp/inherit.exp: Same.
2829 * gdb.cp/m-static.exp: Same.
2830 * gdb.cp/meth-typedefs.exp: Same.
2831 * gdb.cp/misc.exp: Same.
2832 * gdb.cp/namespace.exp: Same.
2833 * gdb.cp/non-trivial-retval.exp: Same.
2834 * gdb.cp/overload.exp: Same.
2835 * gdb.cp/pr17132.exp: Same.
2836 * gdb.cp/re-set-overloaded.exp: Same.
2837 * gdb.cp/rvalue-ref-types.exp: Same.
2838 * gdb.cp/templates.exp: Same.
2840 2019-11-01 Luis Machado <luis.machado@linaro.org>
2844 * gdb.arch/pr25124.S: New file.
2845 * gdb.arch/pr25124.exp: New file.
2847 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2849 * gdb.fortran/info-modules.exp: Update expected results, and add
2850 additional tests for 'info module functinos', and 'info module
2852 * gdb.fortran/info-types.exp: Update expected results.
2853 * gdb.fortran/info-types.f90: Extend testcase with additional
2854 module variables and functions.
2856 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2858 * gdb.fortran/info-modules.exp: New file.
2859 * gdb.fortran/info-types.exp: Build with new file.
2860 * gdb.fortran/info-types.f90: Include and use new module.
2861 * gdb.fortran/info-types-2.f90: New file.
2863 2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2865 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
2866 * gdb.base/settings.exp: Test all settings types using
2867 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
2868 that now verifies that the value of "maint show" is the same as
2869 returned by the settings functions. Test the type of the
2870 maintenance settings.
2871 * gdb.base/default.exp: Update show_conv_list.
2873 2019-10-31 Tom de Vries <tdevries@suse.de>
2875 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
2877 * gdb.arch/amd64-disp-step.exp: Same.
2878 * gdb.asm/asm-source.exp: Same.
2879 * gdb.btrace/buffer-size.exp: Same.
2880 * gdb.btrace/cpu.exp: Same.
2881 * gdb.btrace/enable.exp: Same.
2882 * gdb.dwarf2/count.exp: Same.
2883 * gdb.dwarf2/dw2-ranges-func.exp: Same.
2884 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
2885 * gdb.fortran/vla-datatypes.exp: Same.
2886 * gdb.fortran/vla-history.exp: Same.
2887 * gdb.fortran/vla-ptype.exp: Same.
2888 * gdb.fortran/vla-value.exp: Same.
2889 * gdb.fortran/whatis_type.exp: Same.
2890 * gdb.guile/guile.exp: Same.
2891 * gdb.multi/tids.exp: Same.
2892 * gdb.python/py-finish-breakpoint.exp: Same.
2893 * gdb.python/py-framefilter.exp: Same.
2894 * gdb.python/py-pp-registration.exp: Same.
2895 * gdb.python/py-xmethods.exp: Same.
2896 * gdb.python/python.exp: Same.
2897 * gdb.server/connect-with-no-symbol-file.exp: Same.
2898 * gdb.server/no-thread-db.exp: Same.
2899 * gdb.server/run-without-local-binary.exp: Same.
2900 * gdb.stabs/weird.exp: Same.
2901 * gdb.threads/attach-many-short-lived-threads.exp: Same.
2902 * gdb.threads/thread-find.exp: Same.
2903 * gdb.threads/tls-shared.exp: Same.
2904 * gdb.threads/tls.exp: Same.
2905 * gdb.threads/wp-replication.exp: Same.
2906 * gdb.trace/ax.exp: Same.
2907 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
2909 2019-10-31 Tom de Vries <tdevries@suse.de>
2911 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
2912 * gdb.ada/array_subscript_addr.exp: Same.
2913 * gdb.ada/arrayidx.exp: Same.
2914 * gdb.ada/arrayparam.exp: Same.
2915 * gdb.ada/arrayptr.exp: Same.
2916 * gdb.ada/boolean_expr.exp: Same.
2917 * gdb.ada/call_pn.exp: Same.
2918 * gdb.ada/complete.exp: Same.
2919 * gdb.ada/fixed_cmp.exp: Same.
2920 * gdb.ada/fun_addr.exp: Same.
2921 * gdb.ada/funcall_param.exp: Same.
2922 * gdb.ada/interface.exp: Same.
2923 * gdb.ada/mod_from_name.exp: Same.
2924 * gdb.ada/null_array.exp: Same.
2925 * gdb.ada/packed_array.exp: Same.
2926 * gdb.ada/packed_tagged.exp: Same.
2927 * gdb.ada/print_chars.exp: Same.
2928 * gdb.ada/print_pc.exp: Same.
2929 * gdb.ada/ptype_arith_binop.exp: Same.
2930 * gdb.ada/ptype_field.exp: Same.
2931 * gdb.ada/ptype_tagged_param.exp: Same.
2932 * gdb.ada/rec_return.exp: Same.
2933 * gdb.ada/ref_tick_size.exp: Same.
2934 * gdb.ada/str_ref_cmp.exp: Same.
2935 * gdb.ada/taft_type.exp: Same.
2936 * gdb.ada/tagged.exp: Same.
2937 * gdb.ada/type_coercion.exp: Same.
2938 * gdb.ada/uninitialized_vars.exp: Same.
2940 2019-10-30 Tom de Vries <tdevries@suse.de>
2942 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
2944 2019-10-26 Tom de Vries <tdevries@suse.de>
2946 * gdb.base/bigcore.c: Fix typos in comments.
2947 * gdb.base/ctf-ptype.c: Same.
2948 * gdb.base/long_long.c: Same.
2949 * gdb.dwarf2/dw2-op-out-param.S: Same.
2950 * gdb.python/py-evthreads.c: Same.
2951 * gdb.reverse/i387-stack-reverse.c: Same.
2952 * gdb.trace/tfile.c: Same.
2953 * lib/compiler.c: Same.
2954 * lib/compiler.cc: Same.
2956 2019-10-25 Tom de Vries <tdevries@suse.de>
2958 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
2959 gdb_test_multiple calls.
2960 * gdb.reverse/sigall-reverse.exp: Same.
2961 * gdb.reverse/solib-precsave.exp: Same.
2962 * gdb.reverse/solib-reverse.exp: Same.
2963 * gdb.reverse/until-precsave.exp: Same.
2964 * gdb.reverse/until-reverse.exp: Same.
2966 2019-10-24 Tom de Vries <tdevries@suse.de>
2968 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
2969 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
2970 kfail using -wrap pattern flag and convenience variable
2973 2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
2975 * gdb.python/py-progspace.exp: Add tests for the
2976 Progspace.block_for_pc method.
2978 2019-10-23 Tom Tromey <tom@tromey.com>
2980 * configure: Rebuild.
2981 * aclocal.m4: Use m4_include, not sinclude.
2983 2019-10-21 Tom de Vries <tdevries@suse.de>
2985 * gdb.base/infcall-nested-structs.c: Add
2986 __attribute__((noinline,noclone)) to all functions.
2987 (call_all): Add missing variable initialization. Simplify return value.
2988 (breakpt): Increment volatile variable, to prevent call from being
2990 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
2992 2019-10-17 Tom de Vries <tdevries@suse.de>
2994 * gdb.fortran/module.exp: Allow info variables to print info for files
2995 other than module.f90.
2997 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
2999 * gdb.fortran/module.exp: Extend with 'info variables' test.
3001 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
3003 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
3006 2019-10-16 Tom de Vries <tdevries@suse.de>
3009 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
3011 2019-10-16 Tom de Vries <tdevries@suse.de>
3014 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
3015 Add KFAIL for PR tdep/25096.
3017 2019-10-16 Tom de Vries <tdevries@suse.de>
3020 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
3022 2019-10-16 Tom de Vries <tdevries@suse.de>
3024 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
3027 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
3029 * gdb.mi/list-thread-groups-available.exp: Read entries one by
3030 one instead of increasing timeout.
3032 2019-10-13 Tom de Vries <tdevries@suse.de>
3035 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
3036 * gdb.reverse/sigall-reverse.exp: Same.
3037 * gdb.reverse/solib-precsave.exp: Same.
3038 * gdb.reverse/solib-reverse.exp: Same.
3039 * gdb.reverse/step-precsave.exp: Same.
3040 * gdb.reverse/until-precsave.exp: Same.
3041 * gdb.reverse/until-reverse.exp: Same.
3042 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
3044 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
3046 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
3047 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
3048 (cmp_struct_05_01, cmp_struct_static_02_01)
3049 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
3052 2019-10-10 Tom de Vries <tdevries@suse.de>
3055 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
3058 2019-10-09 Tom de Vries <tdevries@suse.de>
3061 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
3063 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
3065 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
3066 exceptions due to missing debug information.
3068 2019-10-07 Tom de Vries <tdevries@suse.de>
3070 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
3072 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
3074 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
3075 * gdb.base/annota1.exp: Update to use gdb_test_name.
3077 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
3079 * gdb.base/ctf-whatis.exp: New file.
3080 * gdb.base/ctf-whatis.c: New file.
3081 * gdb.base/ctf-ptype.exp: New file.
3082 * gdb.base/ctf-ptype.c: New file.
3083 * gdb.base/ctf-constvars.exp: New file.
3084 * gdb.base/ctf-constvars.c: New file.
3085 * gdb.base/ctf-cvexpr.exp: New file.
3087 2019-10-04 Tom de Vries <tdevries@suse.de>
3089 * gdb.cp/local-static.c (main): Move declaration of int i out of the
3092 2019-10-03 Tom Tromey <tom@tromey.com>
3095 * gdb.rust/simple.rs (Union2): New type.
3097 * gdb.rust/simple.exp: Add test.
3099 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3101 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
3102 nested function prefix.
3104 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
3105 Richard Bunt <richard.bunt@arm.com>
3106 Andrew Burgess <andrew.burgess@embecosm.com>
3108 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
3110 * gdb.fortran/nested-funcs.f90: Update expected results.
3111 * gdb.fortran/nested-funcs-2.exp: New file.
3112 * gdb.fortran/nested-funcs-2.f90: New file.
3114 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3116 * gdb.python/py-parameter.exp: Make test names unique.
3117 * gdb.python/py-template.exp: Likewise.
3118 * gdb.python/py-value.exp: Likewise.
3120 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3122 * gdb.base/break-interp.exp: Reduce test name duplication.
3123 * gdb.base/call-sc.exp: Likewise.
3124 * gdb.base/callfuncs.exp: Likewise.
3125 * gdb.base/charset.exp: Likewise.
3126 * gdb.base/dump.exp: Likewise.
3127 * gdb.base/ena-dis-br.exp: Likewise.
3128 * gdb.base/relational.exp: Likewise.
3129 * gdb.base/step-over-syscall.exp: Likewise.
3130 * gdb.base/structs.exp: Likewise.
3132 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3134 * gdb.linespec/explicit.exp: Make test names unique.
3135 * gdb.linespec/ls-errs.exp: Likewise.
3137 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3139 * gdb.reverse/break-precsave.exp: Make test names unique.
3140 * gdb.reverse/break-reverse.exp: Likewise.
3141 * gdb.reverse/finish-precsave.exp: Likewise.
3142 * gdb.reverse/finish-reverse.exp: Likewise.
3143 * gdb.reverse/machinestate-precsave.exp: Likewise.
3144 * gdb.reverse/machinestate.exp: Likewise.
3145 * gdb.reverse/readv-reverse.exp: Likewise.
3146 * gdb.reverse/recvmsg-reverse.exp: Likewise.
3147 * gdb.reverse/sigall-precsave.exp: Likewise.
3148 * gdb.reverse/sigall-reverse.exp: Likewise.
3149 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
3150 * gdb.reverse/watch-precsave.exp: Likewise.
3151 * gdb.reverse/watch-reverse.exp: Likewise.
3153 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3155 * gdb.threads/stop-with-handle.c: New file.
3156 * gdb.threads/stop-with-handle.exp: New file.
3158 2019-10-03 Tom de Vries <tdevries@suse.de>
3161 * gdb.base/list-missing-source.exp: Allowing the "Compilation
3162 directory" line to be missing.
3164 2019-10-03 Tom de Vries <tdevries@suse.de>
3167 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
3170 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
3172 * gdb.python/py-format-string.c (string.h): New include.
3173 (main): Fill a_struct_with_union.the_union.an_int with bytes of
3174 the same value, for endianness-independence.
3175 * gdb.python/py-format-string.exp (default_regexp_dict)
3176 (test_pretty_structs, test_format): Adjust expected output to the
3177 changed initialization.
3179 2019-10-02 Tom Tromey <tromey@adacore.com>
3181 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
3183 2019-10-02 Pedro Alves <palves@redhat.com>
3184 Andrew Burgess <andrew.burgess@embecosm.com>
3186 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
3188 (this_version_id) Use ATTRIBUTE_VISIBILITY.
3189 (get_version_1): Print this_version_id and its address.
3190 Add extern "C" wrappers around interface functions.
3191 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
3193 (this_version_id) Use ATTRIBUTE_VISIBILITY.
3194 (get_version_2): Print this_version_id and its address.
3195 Add extern "C" wrappers around interface functions.
3196 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
3197 <stddef.h> and "print-file-var.h".
3198 Add extern "C" wrappers around interface functions.
3199 [VERSION_ID_MAIN] (this_version_id): Define.
3200 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
3201 * gdb.base/print-file-var.h: Add some #defines to simplify setting
3202 up extern "C" blocks.
3203 * gdb.base/print-file-var.exp (test): New, factored out from top
3205 (top level): Test all combinations of attribute hidden or not,
3206 dlopen or not, and this_version_id symbol in main file or not.
3207 Compile tests as both C++ and C, make test names unique.
3209 2019-10-01 Tom Tromey <tom@tromey.com>
3211 * gdb.base/style.exp: Test "show logging filename".
3213 2019-10-01 Tom Tromey <tom@tromey.com>
3215 * lib/gdb-utils.exp (style): Handle "metadata" argument.
3216 * gdb.base/style.exp: Add metadata style test.
3218 2019-10-01 Tom Tromey <tom@tromey.com>
3220 * gdb.base/style.exp: Test "pwd".
3222 2019-10-01 Tom Tromey <tom@tromey.com>
3224 * gdb.base/style.exp: Update tests.
3226 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
3228 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
3230 (s1): Initialize fields 'four' and 'six' instead of 'three' and
3231 'five'. Use an all-ones bit pattern for each.
3232 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
3233 to its changed values.
3235 2019-09-30 Tom Tromey <tromey@adacore.com>
3237 * gdb.rust/traits.rs: Disable all warnings.
3239 2019-09-29 Tom de Vries <tdevries@suse.de>
3241 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
3243 2019-09-29 Tom de Vries <tdevries@suse.de>
3245 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
3247 2019-09-27 Tom de Vries <tdevries@suse.de>
3249 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
3251 2019-09-27 Tom de Vries <tdevries@suse.de>
3254 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
3256 2019-09-26 Tom Tromey <tromey@adacore.com>
3258 * gdb.ada/py_taft.exp: New file.
3259 * gdb.ada/py_taft/main.adb: New file.
3260 * gdb.ada/py_taft/pkg.adb: New file.
3261 * gdb.ada/py_taft/pkg.ads: New file.
3263 2019-09-24 Tom de Vries <tdevries@suse.de>
3266 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
3268 2019-09-22 Tom de Vries <tdevries@suse.de>
3270 * gdb.base/restore.exp: Allow register variables to be optimized out at
3273 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
3275 * gdb.arch/spu-info.exp: Remove file.
3276 * gdb.arch/spu-info.c: Remove file.
3277 * gdb.arch/spu-ls.exp: Remove file.
3278 * gdb.arch/spu-ls.c: Remove file.
3280 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
3281 * gdb.asm/spu.inc: Remove file.
3283 * gdb.base/dump.exp: Remove support for spu*-*-*.
3284 * gdb.base/stack-checking.exp: Likewise.
3285 * gdb.base/overlays.exp: Likewise.
3286 * gdb.base/ovlymgr.c: Likewise.
3287 * gdb.base/spu.ld: Remove file.
3289 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
3290 * gdb.cp/cpexprs.exp: Likewise.
3291 * gdb.cp/exception.exp: Likewise.
3292 * gdb.cp/gdb2495.exp: Likewise.
3293 * gdb.cp/mb-templates.exp: Likewise.
3294 * gdb.cp/pr9167.exp: Likewise.
3295 * gdb.cp/userdef.exp: Likewise.
3297 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
3299 * gdb.cell: Remove directory.
3300 * lib/cell.exp: Remove file.
3302 2019-09-19 Tom de Vries <tdevries@suse.de>
3304 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
3306 2019-09-19 Tom de Vries <tdevries@suse.de>
3308 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
3310 2019-09-19 Tom de Vries <tdevries@suse.de>
3312 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
3313 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
3314 (gdb_target_cmd): ... here.
3315 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
3318 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
3320 * gdb.base/source-dir.exp: Avoid having directory names in test
3323 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
3325 * gdb.base/source-dir.exp: Add extra test for mapped compilation
3328 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
3330 * gdb.base/list-missing-source.exp: New file.
3332 2019-09-14 Tom de Vries <tdevries@suse.de>
3335 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
3336 * lib/ada.exp (gnatmake_version_at_least): New proc.
3338 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
3340 * gdb.base/maint.exp: Use exec_has_index_section.
3342 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
3344 * gdb.base/maint.exp: Add test for 'maint info sections'.
3346 2019-09-12 Tom de Vries <tdevries@suse.de>
3348 * gdb.base/store.exp: Allow register variables to be optimized out at
3351 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3353 * gdb.ada/rdv_wait.exp: Update to new task names.
3354 * gdb.base/task_switch_in_core.exp: Likewise.
3355 * gdb.base/info_sources_base.c: Likewise.
3357 2019-09-10 Tom Tromey <tromey@adacore.com>
3359 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
3361 2019-09-10 Tom Tromey <tromey@adacore.com>
3363 * gdb.ada/dgopt.exp: New file.
3364 * gdb.ada/dgopt/x.adb: New file.
3366 2019-09-08 Tom Tromey <tom@tromey.com>
3368 * gdb.tui/resize.exp: Remove setup_xfail.
3369 * gdb.tui/regs.exp: Remove setup_xfail.
3370 * gdb.tui/basic.exp: Remove setup_xfail.
3372 2019-09-06 David Blaikie <dblaikie@gmail.com>
3374 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
3375 * gdb.cp/cplabel.exp: Ditto.
3376 * gdb.linespec/ls-errs.exp: Ditto.
3378 2019-09-05 Tom de Vries <tdevries@suse.de>
3380 * lib/gdb.exp (cmp_file_string): New proc.
3381 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
3382 runto_main. Verify save breakpoints output.
3384 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3386 * gdb.base/info-var.exp: Test info variables without running
3387 to main, to avoid expect's buffer overflow.
3389 2019-09-03 Tom Tromey <tromey@adacore.com>
3391 * gdb.ada/bias.exp: New file.
3392 * gdb.ada/bias/bias.adb: New file.
3393 * gdb.ada/print_chars.exp: Add regression test.
3394 * gdb.ada/print_chars/foo.adb (My_Character): New type.
3397 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
3399 * gdb.base/argv0-symlink.exp: Run only on native target
3402 2019-08-29 Tom de Vries <tdevries@suse.de>
3404 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
3406 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
3408 2019-08-28 Tom de Vries <tdevries@suse.de>
3410 * gdb.base/info-var.exp: Allow info variables to print info for files
3411 other than info-var-f1.c and info-var-f2.c.
3413 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
3415 * gdb.fortran/info-types.exp: Add module.
3416 * gdb.fortran/info-types.f90: Update expected results.
3418 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
3420 * gdb.fortran/info-types.exp: New file.
3421 * gdb.fortran/info-types.f90: New file.
3422 * lib/fortran.exp (fortran_character1): New proc.
3424 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
3426 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
3427 functions'. Reindent as needed.
3428 * gdb.base/info-var-f1.c: New file.
3429 * gdb.base/info-var-f2.c: New file.
3430 * gdb.base/info-var.exp: New file.
3431 * gdb.base/info-var.h: New file.
3433 2019-08-26 Tom de Vries <tdevries@suse.de>
3436 * gdb.cp/no-libstdcxx-probe.exp: New test.
3438 2019-08-26 Tom de Vries <tdevries@suse.de>
3440 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
3441 * tests need to be skipped.
3442 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
3443 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
3444 mi_skip_libstdcxx_probe_tests.
3446 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
3448 * gdb.python/py-xmethods.exp: Use raw strings when passing
3449 arguments to SimpleXMethodMatcher.
3451 2019-08-22 Tom de Vries <tdevries@suse.de>
3453 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
3456 2019-08-21 Pedro Alves <palves@redhat.com>
3458 * gdb.base/with.exp: Test "with" with no arguments.
3460 2019-08-21 Tom de Vries <tdevries@suse.de>
3462 * gdb.base/gdb-caching-proc.exp: Sort files.
3464 2019-08-20 Tom de Vries <tdevries@suse.de>
3466 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
3469 2019-08-16 Tom de Vries <tdevries@suse.de>
3471 * gdb.base/compare-sections.exp ("after run to main"): Allow
3472 mismatched read-only sections for PIE executables.
3474 2019-08-16 Tom Tromey <tom@tromey.com>
3476 * lib/tuiterm.exp (_csi_Z): New proc.
3477 * gdb.tui/basic.exp: Update window positions.
3478 * gdb.tui/empty.exp: Update window positions.
3480 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
3482 * gdb.base/examine-backward.exp: Correct regexp for
3483 "examine 3 bytes backward from ${address_zero}".
3485 2019-08-15 Tom Tromey <tom@tromey.com>
3487 * gdb.tui/empty.exp: Enable resizing tests.
3489 2019-08-15 Tom Tromey <tromey@adacore.com>
3491 * gdb.ada/char_enum.exp: Add regression tests.
3492 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
3494 (Char, Gchar): Update.
3495 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
3497 2019-08-15 Christian Biesinger <cbiesinger@google.com>
3499 * gdb.python/python.exp: Expect a leading underscore on
3500 GdbOutput{,Error}File.
3502 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
3504 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
3507 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
3509 * gdb.base/batch-preserve-term-settings.exp
3510 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
3512 2019-08-15 Christian Biesinger <cbiesinger@google.com>
3514 * lib/gdb.exp: When running on a mingw target, replace
3517 2019-08-14 Alan Hayward <alan.hayward@arm.com>
3519 * gdb.arch/aarch64-prologue.c: New test.
3520 * gdb.arch/aarch64-prologue.exp: New file.
3522 2019-08-13 Tom de Vries <tdevries@suse.de>
3524 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
3527 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
3529 * gdb.python/py-completion.exp: Download the .py file to the host
3530 and use its host pathname. Conditionalize tests that use
3531 tab completion and manipulate files on the build machine.
3532 * gdb.python/py-events.exp: Download the .py file to the host
3533 and use its host pathname.
3534 * gdb.python/py-evsignal.exp: Likewise.
3535 * gdb.python/py-evthreads.exp: Likewise.
3536 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
3538 * gdb.python/py-framefilter.exp: Download the .py file to the right
3539 place on the host. Match Windows pathname syntax.
3540 * gdb.python/py-mi-var-info-path-expression.exp: Download the
3541 .py file to the host and use its host pathname.
3542 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
3543 * gdb.python/py-objfile.exp: Expect a host pathname, not a
3544 build pathname. Skip symlink test on Windows host. Add missing
3545 newline at end of file.
3546 * gdb.python/py-pp-maint.exp: Download the .py file to the host
3547 and use its host pathname.
3548 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
3549 * gdb.python/py-section-script.exp: Use host location of binfile
3550 on safe-path. Use correct path separator on Windows host.
3551 Reorder alternatives in gdb_test_multiple to prevent matching
3552 the wrong alternative on success.
3553 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
3555 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
3557 * gdb.gdb/selftest.exp (test_with_self): Update test to now
3558 expect the GDB inferior to no longer immediately stop after
3559 being resumed with "signal SIGINT".
3561 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
3563 * gdb.linespec/break-ask.exp: Generalize regexps to match
3564 Windows pathnames too.
3566 2019-08-08 Tom de Vries <tdevries@suse.de>
3569 * lib/tuiterm.exp (_accept): Fix CSI regexp.
3571 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3573 * gdb.base/style.exp: Update tests for help doc new invariants.
3574 * gdb.base/help.exp: Likewise.
3576 2019-08-06 Tom Tromey <tom@tromey.com>
3578 * gdb.base/style.exp: Add disassemble test.
3579 * gdb.base/style.c (some_called_function): New function.
3582 2019-08-05 Christian Biesinger <cbiesinger@google.com>
3584 * gdb.python/py-block.exp: Test dictionary access on blocks.
3586 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
3589 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
3590 -list-thread-groups --available test when running under
3593 2019-08-05 Tom de Vries <tdevries@suse.de>
3596 * lib/gdb.exp (with_read1_timeout_factor): New proc.
3597 * gdb.base/help.exp: Use with_read1_timeout_factor.
3598 * gdb.base/info-macros.exp: Same.
3599 * gdb.cp/nested-types.exp: Same.
3601 2019-08-05 Tom de Vries <tdevries@suse.de>
3603 * lib/gdb.exp (version_at_least): Factor out of ...
3604 (tcl_version_at_least): ... here.
3605 (gdb_compile): Fail if pie results in non-PIE executable.
3606 (readelf_version, readelf_prints_pie): New proc.
3607 (exec_is_pie): Return -1 if unknown.
3609 2019-08-05 Tom de Vries <tdevries@suse.de>
3611 * lib/gdb.exp (tcl_version_at_least): Fix typo.
3613 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
3615 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
3617 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
3619 * lib/completion-support.exp (test_gdb_complete_none): Skip
3620 tab completion tests if no readline support.
3621 (test_gdb_complete_unique_re): Likewise.
3622 (test_gdb_complete_multiple): Likewise.
3624 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3626 * gdb.base/info_sources.exp: New file.
3627 * gdb.base/info_sources.c: New file.
3628 * gdb.base/info_sources_base.c: New file.
3630 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3632 * gdb.base/batch-exit-status.exp: Call test_exit_status with
3634 (test_exit_status): Add prefix argument.
3636 2019-08-01 Tom de Vries <tdevries@suse.de>
3639 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
3640 calling exp_continue for new thread and thread exited messages.
3642 2019-08-01 Tom de Vries <tdevries@suse.de>
3645 * gdb.base/structs.exp: Fix check-read1 timeout using
3647 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
3649 2019-08-01 Tom de Vries <tdevries@suse.de>
3652 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
3655 2019-08-01 Tom de Vries <tdevries@suse.de>
3658 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
3660 2019-07-30 Tom Tromey <tromey@adacore.com>
3662 * gdb.ada/display_nested.exp: New file.
3663 * gdb.ada/display_nested/foo.adb: New file.
3664 * gdb.ada/display_nested/pack.adb: New file.
3665 * gdb.ada/display_nested/pack.ads: New file.
3667 2019-07-30 Christian Biesinger <cbiesinger@google.com>
3669 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
3671 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
3673 2019-07-30 Tom de Vries <tdevries@suse.de>
3675 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
3678 2019-07-30 Tom de Vries <tdevries@suse.de>
3681 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
3682 (exec_is_pie): New proc.
3684 2019-07-29 Christian Biesinger <cbiesinger@google.com>
3686 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
3688 2019-07-29 Christian Biesinger <cbiesinger@google.com>
3690 * gdb.python/py-objfile.c: Add global and static vars.
3691 * gdb.python/py-objfile.exp: Test new functions Objfile.
3692 lookup_global_symbol and lookup_static_symbol.
3694 2019-07-29 Tom Tromey <tom@tromey.com>
3696 * lib/tuiterm.exp (Term::_csi_@): New proc.
3697 (Term::_csi_X): Don't move cursor.
3699 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3701 * gdb.base/options.exp: Update backtrace - completion to
3702 new option -frame-info.
3703 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
3704 Test new 'set print frame-info'. Test backtrace -frame-info
3705 overriding 'set print frame-info'.
3706 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
3707 Test new 'set print frame-info'.
3708 Verify consistency of backtrace with and without filters, with and
3709 without -no-filters.
3710 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
3713 2019-07-29 Tom de Vries <tdevries@suse.de>
3715 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
3718 2019-07-29 Tom de Vries <tdevries@suse.de>
3720 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
3721 is a substring of the first for "complete non-unique file name".
3723 2019-07-29 Tom de Vries <tdevries@suse.de>
3725 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
3728 2019-07-29 Tom de Vries <tdevries@suse.de>
3730 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
3731 Pass prompt_regexp parameter to gdb_test_multiple calls.
3733 2019-07-29 Tom de Vries <tdevries@suse.de>
3735 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
3736 print registers" regexps.
3738 2019-07-29 Tom de Vries <tdevries@suse.de>
3740 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
3742 2019-07-29 Tom de Vries <tdevries@suse.de>
3745 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
3746 (skip_python_tests_prompt): Add prompt_regexp argument to
3747 gdb_test_multiple calls.
3749 2019-07-27 Tom Tromey <tom@tromey.com>
3751 * gdb.tui/main.exp: New file.
3753 2019-07-27 Tom Tromey <tom@tromey.com>
3755 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
3757 * gdb.tui/empty.exp: New file.
3759 2019-07-27 Tom Tromey <tom@tromey.com>
3761 * lib/tuiterm.exp (spawn): New proc.
3762 (Term::resize): New proc.
3763 * gdb.tui/resize.exp: New file.
3765 2019-07-27 Tom Tromey <tom@tromey.com>
3767 * gdb.tui/list.exp: New file.
3769 2019-07-27 Tom Tromey <tom@tromey.com>
3771 * gdb.tui/regs.exp: New file.
3773 2019-07-27 Tom Tromey <tom@tromey.com>
3775 * gdb.tui/basic.exp: Add "layout split" test.
3777 2019-07-27 Tom Tromey <tom@tromey.com>
3779 * gdb.tui/basic.exp: Add "layout asm" test.
3781 2019-07-27 Tom Tromey <tom@tromey.com>
3783 * lib/tuiterm.exp: New file.
3784 * gdb.tui/basic.exp: New file.
3786 2019-07-27 Kevin Buettner <kevinb@redhat.com>
3788 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
3789 Enable tests associated with this flag. Adjust regex
3790 referencing "foo_low" to now refer to "foo_cold" instead.
3792 2019-07-27 Kevin Buettner <kevinb@redhat.com>
3794 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
3795 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
3796 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
3797 foo_cold. Revise comments to match.
3798 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
3799 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
3800 were wrapped into this proc; Call do_test in loop from outermost
3802 (foo_low): Rename all occurrences to "foo_cold".
3803 (backtrace from baz): New test.
3804 (x2/i foo_cold): New test.
3805 (info line *foo_cold): New test.
3807 2019-07-26 Tom de Vries <tdevries@suse.de>
3809 * gdb.arch/i386-pkru.exp: Fix unterminated string.
3811 2019-07-25 Tom de Vries <tdevries@suse.de>
3814 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
3815 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
3816 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
3817 (skip_libstdcxx_probe_tests): ... here.
3818 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
3820 2019-07-24 Tom de Vries <tdevries@suse.de>
3823 * gdb.objc/basicclass.m: Include stdio.h.
3824 * gdb.objc/nondebug.m: Same.
3825 * gdb.objc/objcdecode.m: Same.
3827 2019-07-24 Tom de Vries <tdevries@suse.de>
3830 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
3833 2019-07-24 Tom de Vries <tdevries@suse.de>
3836 * gdb.multi/tids.exp: Update error messages for info threads.
3838 2019-07-24 Tom de Vries <tdevries@suse.de>
3840 * gdb.base/info-types.exp: Allow info types to print info for more than
3843 2019-07-23 Tom de Vries <tdevries@suse.de>
3846 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
3847 gdb_spawn_with_cmdline_opts.
3849 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
3851 * gdb.arch/arm-cmse-sgstubs.c: New test.
3852 * gdb.arch/arm-cmse-sgstubs.exp: New file.
3854 2019-07-23 Tom de Vries <tdevries@suse.de>
3857 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
3858 issuing next command.
3860 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
3862 * gdb.ada/info_auto_lang.exp: Update expected results.
3863 * gdb.base/info-types.c: Add additional types to check.
3864 * gdb.base/info-types.exp: Update expected results.
3866 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
3868 * gdb.base/info-types.c: New file.
3869 * gdb.base/info-types.exp: New file.
3871 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
3873 * gdb.arch/riscv-bp-infcall.c: New file.
3874 * gdb.arch/riscv-bp-infcall.exp: New file.
3876 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
3878 PR breakpoints/24541
3879 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
3881 2019-07-14 Tom de Vries <tdevries@suse.de>
3884 * gdb.objc/basicclass.exp: Fix unterminated string.
3886 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
3887 Andrew Burgess <andrew.burgess@embecosm.com>
3889 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
3890 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
3892 * gdb.fortran/vla-value.exp: Print elements of an array with
3894 * gdb.fortran/vla.f90: Setup an array with negative bounds for
3897 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
3899 * gdb.base/options.exp (expect_string): Dequote strings in
3901 (test-string): Test strings with different quoting and reindent.
3903 2019-07-10 Tom Tromey <tromey@adacore.com>
3905 * gdb.ada/mi_ex_cond.exp: Update expected results.
3906 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
3907 * gdb.ada/mi_catch_ex.exp: Update expected results.
3908 * gdb.ada/mi_catch_assert.exp: Update expected results.
3909 * gdb.ada/catch_ex.exp (catch_exception_info)
3910 (catch_exception_entry, catch_assert_entry)
3911 (catch_unhandled_entry): Update.
3912 * gdb.ada/catch_assert_if.exp: Update expected results.
3914 2019-07-10 Richard Bunt <richard.bunt@arm.com>
3915 Stephen Roberts <stephen.roberts@arm.com>
3917 * gdb.base/define.exp: Restore original prompt.
3919 2019-07-09 Pedro Alves <palves@redhat.com>
3921 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
3922 breakpoints" output.
3923 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
3924 * gdb.python/py-breakpoint.exp: No longer expect that "catch
3925 throw" creates breakpoint.
3926 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
3927 'type="catchpoint"'.
3929 2019-07-09 Pedro Alves <palves@redhat.com>
3932 * gdb.cp/except-multi-location-lib.cc: New.
3933 * gdb.cp/except-multi-location-main.cc: New.
3934 * gdb.cp/except-multi-location.exp: New.
3936 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
3938 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
3939 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
3940 argument and update callers.
3942 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3944 * gdb.arch/amd64-break-on-asm-line.S: New file.
3945 * gdb.arch/amd64-break-on-asm-line.exp: New file.
3947 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3949 * gdb.base/printcmds.exp: Test printing C string and
3950 C wide string convenience vars without transiting via the inferior.
3951 Also make test names unique.
3953 2019-07-08 Alan Hayward <alan.hayward@arm.com>
3955 PR breakpoints/25011
3956 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
3958 2019-07-04 Pedro Alves <palves@redhat.com>
3960 * lib/gdb.exp (foreach_with_prefix): Don't return early if
3961 body returned ok(0), break(3) or continue(4).
3962 * gdb.testsuite/foreach_with_prefix.exp: New file.
3964 2019-07-04 Alan Hayward <alan.hayward@arm.com>
3966 * gdb.server/unittest.exp: Allow 0 unit tests to run.
3968 2019-07-03 Pedro Alves <palves@redhat.com>
3970 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
3973 2019-07-03 Pedro Alves <palves@redhat.com>
3976 * gdb.base/shell.exp: Load completion-support.exp.
3977 Adjust expected error output. Add completion tests.
3979 2019-07-03 Pedro Alves <palves@redhat.com>
3981 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
3984 2019-07-03 Pedro Alves <palves@redhat.com>
3986 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
3987 (expect_integer): Adjust to expect "-string".
3988 (expect_string): New.
3989 (all_options): Expect "-string".
3990 (test-flag, test-boolean): Adjust to expect "-string".
3991 (test-string): New proc.
3992 (top level): Call it.
3994 2019-07-03 Pedro Alves <palves@redhat.com>
3996 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
3997 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
3998 the expected output in the success.
4000 2019-07-03 Pedro Alves <palves@redhat.com>
4002 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
4003 Split one gdb_test_multiple call in two to avoid a race.
4005 2019-07-03 Pedro Alves <palves@redhat.com>
4007 * gdb.base/with.c: New file.
4008 * gdb.base/with.exp: New file.
4010 2019-07-03 Pedro Alves <palves@redhat.com>
4012 * gdb.base/settings.exp: Replace all references to "maint
4013 test-settings set" with references to "maint set test-settings",
4014 and all references to "maint test-settings show" with references
4015 to "maint show test-settings".
4017 2019-07-03 Pedro Alves <palves@redhat.com>
4019 * gdb.base/settings.exp (test-string): Adjust expected out when
4020 testing "maint test-settings show filename"
4022 2019-07-02 Pedro Alves <palves@redhat.com>
4024 * gdb.base/options.exp (test-info-threads): New procedure.
4025 (top level): Call it.
4027 2019-06-28 Tom Tromey <tromey@adacore.com>
4029 * gdb.dwarf2/ada-linkage-name.c: New file.
4030 * gdb.dwarf2/ada-linkage-name.exp: New file.
4032 2019-06-27 Tom Tromey <tromey@adacore.com>
4035 * gdb.cp/constexpr-field.exp: Use setup_xfail.
4037 2019-06-26 Tom de Vries <tdevries@suse.de>
4039 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
4041 2019-06-26 Tom de Vries <tdevries@suse.de>
4043 * gdb.base/index-cache.exp: Add back missing debug option.
4045 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4047 * gdb.base/alias.exp: Test non matching/non existing prefixes.
4049 2019-06-25 Tom de Vries <tdevries@suse.de>
4052 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
4054 2019-06-24 Tom de Vries <tdevries@suse.de>
4056 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
4058 2019-06-24 Tom de Vries <tdevries@suse.de>
4060 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
4061 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
4062 * gdb.trace/unavailable-dwarf-piece.exp: Same.
4064 2019-06-24 Tom de Vries <tdevries@suse.de>
4066 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
4068 2019-06-21 Tom de Vries <tdevries@suse.de>
4070 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
4072 2019-06-21 Tom de Vries <tdevries@suse.de>
4076 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
4079 2019-06-19 Tom Tromey <tromey@adacore.com>
4081 * gdb.ada/length_cond.exp: Add intro comment.
4083 2019-06-19 Tom Tromey <tromey@adacore.com>
4085 * gdb.ada/length_cond.exp: New file.
4086 * gdb.ada/length_cond/length_cond.adb: New file.
4087 * gdb.ada/length_cond/pck.adb: New file.
4088 * gdb.ada/length_cond/pck.ads: New file.
4090 2019-06-18 Tom de Vries <tdevries@suse.de>
4092 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
4094 2019-06-18 Tom Tromey <tromey@adacore.com>
4096 * gdb.base/list0.h: Add comment explaining control character.
4098 2019-06-18 Tom de Vries <tdevries@suse.de>
4100 * boards/fission.exp: Break up long debug_flags line.
4102 2019-06-16 Tom de Vries <tdevries@suse.de>
4105 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
4108 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
4111 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
4112 improve detection of bug gdb/24541.
4114 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
4117 * gdb.base/index-cache.exp (uses_readnow,
4118 expecting_index_cache_use): Define global variable.
4119 (test_cache_enabled_miss, test_cache_enabled_hit): Use
4120 expecting_index_cache_use.
4122 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
4123 Andrew Burgess <andrew.burgess@embecosm.com>
4125 * gdb.fortran/pointers.f90: New file.
4126 * gdb.fortran/print_type.exp: New file.
4127 * gdb.fortran/vla-ptype.exp: Adapt expected results.
4128 * gdb.fortran/vla-type.exp: Likewise.
4129 * gdb.fortran/vla-value.exp: Likewise.
4130 * gdb.mi/mi-vla-fortran.exp: Likewise.
4132 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
4134 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
4135 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
4136 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
4139 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
4141 * gdb.base/annota1.exp: Update expected results.
4142 * gdb.cp/annota2.exp: Likewise.
4143 * gdb.cp/annota3.exp: Likewise.
4145 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
4147 * gdb.base/style-logging.exp: Remove path from test name.
4149 2019-06-14 Tom Tromey <tromey@adacore.com>
4152 * gdb.base/style-logging.exp: New file.
4154 2019-06-14 Tom Tromey <tromey@adacore.com>
4156 * gdb.base/symfile-warn.exp: New file.
4157 * gdb.base/symfile-warn.c: New file.
4159 2019-06-14 Tom Tromey <tromey@adacore.com>
4161 * gdb.base/annotate-symlink.exp: New file.
4163 2019-06-14 Tom Tromey <tromey@adacore.com>
4165 * gdb.ada/set_wstr.exp: Add reassignment test.
4167 2019-06-14 Tom Tromey <tromey@adacore.com>
4169 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
4170 'unchecked_access and 'unrestricted_access as well.
4172 2019-06-14 Tom Tromey <tromey@adacore.com>
4175 * gdb.ada/vla.exp: Update tests.
4176 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
4179 2019-06-13 Pedro Alves <palves@redhat.com>
4181 * gdb.base/settings.exp (test-integer): Test junk after
4184 2019-06-13 Pedro Alves <palves@redhat.com>
4186 * gdb.base/options.exp (test-thread-apply): New.
4187 (top level): Call it.
4189 2019-06-13 Pedro Alves <palves@redhat.com>
4191 * gdb.base/options.exp (test-frame-apply): New.
4192 (top level): Test print commands with different "frame apply"
4195 2019-06-13 Pedro Alves <palves@redhat.com>
4197 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
4198 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
4199 'max_completions' parameter and handle it.
4200 (test_gdb_completion_offers_commands): New.
4202 2019-06-13 Pedro Alves <palves@redhat.com>
4204 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
4206 2019-06-13 Pedro Alves <palves@redhat.com>
4208 * gdb.base/options.exp (test-backtrace): New.
4209 (top level): Call it.
4211 2019-06-13 Pedro Alves <palves@redhat.com>
4213 * gdb.guile/scm-frame-args.exp: Use "set print
4214 raw-frame-arguments" instead of "set print raw frame-arguments".
4215 * gdb.python/py-frame-args.exp: Likewise.
4217 2019-06-13 Pedro Alves <palves@redhat.com>
4219 * gdb.compile/compile.exp: Adjust expected output to option
4222 2019-06-13 Pedro Alves <palves@redhat.com>
4224 * gdb.base/options.exp: Build executable.
4225 (test-print): New procedure.
4226 (top level): Call it, once for "print" and another for "compile
4229 2019-06-13 Pedro Alves <palves@redhat.com>
4231 * gdb.base/options.c: New file.
4232 * gdb.base/options.exp: New file.
4234 2019-06-13 Pedro Alves <palves@redhat.com>
4236 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
4237 that "o" is ambiguous.
4239 2019-06-13 Pedro Alves <palves@redhat.com>
4241 * gdb.base/settings.c: New file.
4242 * gdb.base/settings.exp: New file.
4244 2019-06-13 Pedro Alves <palves@redhat.com>
4246 * gdb.base/completion.exp: Fix comment typo.
4248 2019-06-13 Pedro Alves <palves@redhat.com>
4250 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
4253 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
4255 * gdb.fortran/block-data.f: New.
4256 * gdb.fortran/block-data.exp: New.
4258 2019-06-11 Tom de Vries <tdevries@suse.de>
4261 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
4264 2019-06-11 Tom de Vries <tdevries@suse.de>
4267 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
4269 2019-06-11 Tom de Vries <tdevries@suse.de>
4271 * boards/readnow.exp: New file.
4273 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
4275 * gdb.fortran/vla-sizeof.exp: Update expected results.
4277 2019-06-06 Amos Bird <amosbird@gmail.com>
4279 * gdb.base/annota1.exp (thread_switch): Add test for
4280 thread-exited annotation.
4282 2019-06-06 Tom Tromey <tromey@adacore.com>
4284 * gdb.base/maint.exp: Expect command started/finished output.
4286 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
4288 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
4290 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
4292 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
4294 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
4295 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
4296 * gdb.arch/riscv-unwind-long-insn.c: New file.
4297 * gdb.arch/riscv-unwind-long-insn.exp: New file.
4299 2019-06-04 Christian Biesinger <cbiesinger@google.com>
4301 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
4303 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4305 * lib/gdb.exp (help_list_trailer): New regexp variable
4306 factorizing the help trailer message.
4307 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
4308 arg to allow to better factorize various tests.
4309 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
4310 (test_prefix_command_help): Use help_list_trailer.
4311 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
4312 * gdb.guile/scm-cmd.exp: Likewise.
4313 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
4314 * gdb.base/help.exp: Use test_user_defined_class_help.
4315 * gdb.base/style.exp: Add tests for styling of help and apropos.
4316 * lib/gdb-utils.exp (style): Add title and highlight styles.
4318 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4320 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
4322 * gdb.base/default.exp: Update for new convenience variables.
4324 2019-05-29 Tom Tromey <tromey@adacore.com>
4326 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
4327 to "break complete ada" test case's regexp.
4329 2019-05-29 Tom Tromey <tromey@adacore.com>
4332 * gdb.cp/constexpr-field.exp: New file.
4333 * gdb.cp/constexpr-field.cc: New file.
4335 2019-05-29 Tom Tromey <tromey@adacore.com>
4337 * gdb.base/finish.exp (finish_no_print): New proc.
4338 (finish_tests): Call it.
4340 2019-05-24 Tom de Vries <tdevries@suse.de>
4342 * gdb.dwarf2/gdb-add-index.exp: New file.
4344 2019-05-22 Tom Tromey <tromey@adacore.com>
4346 * gdb.base/info-shared.exp (check_info_shared): Use "style".
4347 * gdb.base/style.exp: Use "style".
4348 * lib/gdb-utils.exp (style): New proc.
4350 2019-05-22 Tom de Vries <tdevries@suse.de>
4352 * gdb.base/align.exp: Require c++11.
4354 2019-05-22 Tom de Vries <tdevries@suse.de>
4357 * gdb.python/py-mi-var-info-path-expression.exp: Call
4358 mi_skip_python_tests to check if python is supported.
4360 2019-05-22 Alan Hayward <alan.hayward@arm.com>
4362 * gdb.arch/aarch64-pauth.c: New test.
4363 * gdb.arch/aarch64-pauth.exp: New file.
4365 2019-05-22 Alan Hayward <alan.hayward@arm.com>
4367 * README (Re-running Tests Outside The Testsuite): New section.
4369 2019-05-21 Tom de Vries <tdevries@suse.de>
4371 * gdb.arch/amd64-eval.exp: Require c++11.
4372 * gdb.base/max-depth.exp: Same.
4373 * gdb.compile/compile-cplus-array-decay.exp: Same.
4374 * gdb.cp/meth-typedefs.exp: Same.
4375 * gdb.cp/subtypes.exp: Same.
4376 * gdb.cp/temargs.exp: Same.
4378 2019-05-21 Alan Hayward <alan.hayward@arm.com>
4380 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
4382 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
4385 * gdb.fortran/complex.exp: Remove setup_kfail calls.
4386 * gdb.fortran/printing-types.exp: Add new test.
4387 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
4389 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
4392 2019-05-17 Alan Hayward <alan.hayward@arm.com>
4394 * README (Running the Testsuite): Change example.
4395 (Testsuite Parameters): Remove TRANSCRIPT.
4396 * lib/gdb.exp: Remove TRANSCRIPT check.
4398 2019-05-17 Alan Hayward <alan.hayward@arm.com>
4400 * README (Testsuite Parameters): Add replay logging to
4402 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
4403 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
4404 as a comma separated list.
4405 (gdb_debug_init): Override procedure.
4407 2019-05-17 Alan Hayward <alan.hayward@arm.com>
4409 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
4410 (gdb_write_cmd_file): New procedure.
4411 * lib/gdbserver-support.exp (gdbserver_start): Call
4412 gdbserver_write_cmd_file.
4413 (gdbserver_write_cmd_file): New procedure.
4415 2019-05-17 Alan Hayward <alan.hayward@arm.com>
4417 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
4418 (delete_breakpoints): Likewise.
4419 (gdb_run_cmd): Likewise.
4420 (gdb_start_cmd): Likewise.
4421 (gdb_starti_cmd): Likewise.
4422 (gdb_internal_error_resync): Likewise.
4423 (gdb_test_multiple): Likewise.
4424 (gdb_reinitialize_dir): Likewise.
4425 (default_gdb_exit): Likewise.
4426 (gdb_file_cmd): Mark kill as optional.
4427 (default_gdb_start): Call gdb_stdin_log_init.
4428 (send_gdb): Call gdb_stdin_log_write.
4429 (rerun_to_main): Mark Y as an answer.
4430 (gdb_stdin_log_init): New function.
4431 (gdb_stdin_log_write): Likewise.
4433 2019-05-17 Alan Hayward <alan.hayward@arm.com>
4435 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
4436 * gdb.base/debug-expr.exp: Likewise.
4437 * gdb.base/foll-fork.exp: Likewise.
4438 * gdb.base/foll-vfork.exp: Likewise.
4439 * gdb.base/fork-print-inferior-events.exp: Likewise.
4440 * gdb.base/gdb-sigterm.exp: Likewise.
4441 * gdb.base/gdbinit-history.exp: Likewise.
4442 * gdb.base/osabi.exp: Likewise.
4443 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
4444 * gdb.base/ui-redirect.exp: Likewise.
4445 * gdb.gdb/unittest.exp: Likewise.
4446 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
4447 * gdb.mi/mi-watch.exp: Likewise.
4448 * gdb.mi/new-ui-mi-sync.exp: Likewise.
4449 * gdb.mi/user-selected-context-sync.exp: Likewise.
4450 * gdb.python/python.exp: Disable debug test when debugging.
4451 * gdb.threads/check-libthread-db.exp: Disable when debugging.
4452 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4454 * gdb.threads/stepi-random-signal.exp: Likewise.
4456 2019-05-17 Alan Hayward <alan.hayward@arm.com>
4458 * Makefile.in: Pass through GDB_DEBUG.
4459 * README (Testsuite Parameters): Add GDB_DEBUG.
4460 (gdb,debug): Add board setting.
4461 * lib/gdb.exp (default_gdb_start): Start debugging.
4462 (gdb_debug_enabled): New procedure.
4463 (gdb_debug_init): Likewise.
4465 2019-05-17 Alan Hayward <alan.hayward@arm.com>
4467 * Makefile.in: Pass through GDB_DEBUG.
4468 * README (Testsuite Parameters): Add GDB_DEBUG.
4469 (gdb,debug): Add board setting.
4470 * lib/gdb.exp (default_gdb_start): Start debugging.
4471 (gdb_debug_enabled): New procedure.
4472 (gdb_debug_init): Likewise.
4474 2019-05-17 Alan Hayward <alan.hayward@arm.com>
4476 * gdb.base/ui-redirect.exp: Add debug redirect tests.
4478 2019-05-17 Alan Hayward <alan.hayward@arm.com>
4480 * gdb.base/ui-redirect.exp: Test redirection.
4482 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
4484 * gdb.mi/mi-complete.exp: New file.
4485 * gdb.mi/mi-complete.cc: Likewise.
4487 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
4489 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
4490 indexed and sliced arrays, and pointers to arrays.
4492 2019-05-14 Tom Tromey <tromey@adacore.com>
4494 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
4497 2019-05-14 Tom de Vries <tdevries@suse.de>
4499 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
4500 selection entry encoding.
4502 2019-05-10 Tom Tromey <tromey@adacore.com>
4504 * gdb.ada/info_exc.exp: Add "complete" test.
4506 2019-05-09 Tom de Vries <tdevries@suse.de>
4508 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
4511 2019-05-09 Tom de Vries <tdevries@suse.de>
4513 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
4516 2019-05-08 Joel Brobecker <brobecker@adacore.com>
4518 * gdb.ada/frame_arg_lang.exp: New testcase.
4519 * gdb.ada/frame_arg_lang/bla.adb: New file.
4520 * gdb.ada/frame_arg_lang/pck.ads: New file.
4521 * gdb.ada/frame_arg_lang/pck.adb: New file.
4522 * gdb.ada/frame_arg_lang/foo.c: New file.
4524 2019-05-08 Tom Tromey <tromey@adacore.com>
4526 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
4528 2019-05-08 Tom Tromey <tromey@adacore.com>
4530 * gdb.base/ptype-offsets.exp: Update tests.
4532 2019-05-08 Tom Tromey <tromey@adacore.com>
4534 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
4536 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
4539 2019-05-08 Tom Tromey <tromey@adacore.com>
4541 * gdb.ada/vla.exp: New file.
4542 * gdb.ada/vla/vla.adb: New file.
4544 2019-05-07 Tom de Vries <tdevries@suse.de>
4546 * gdb.base/index-cache.exp (ls_host): Fix return statement.
4548 2019-05-07 Tom de Vries <tdevries@suse.de>
4551 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
4554 2019-05-07 Tom de Vries <tdevries@suse.de>
4557 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
4558 .debug_aranges section.
4560 2019-05-07 Tom de Vries <tdevries@suse.de>
4563 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
4565 2019-05-06 Tom de Vries <tdevries@suse.de>
4567 * lib/gdb.exp (exec_has_index_section): New proc.
4568 * gdb.base/index-cache.exp: Handle case that binfile contains an index
4571 2019-05-04 Tom de Vries <tdevries@suse.de>
4573 * boards/cc-with-debug-names.exp: New file.
4575 2019-05-03 Tom Tromey <tromey@adacore.com>
4577 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
4578 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
4579 * gdb.ada/char_enum.exp: Add test.
4581 2019-05-03 Tom de Vries <tdevries@suse.de>
4583 * boards/cc-with-gdb-index.exp: New file.
4585 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
4587 * gdb.rust/simple.exp: Add new test case.
4588 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
4589 (main): Initialise an instance of the new struct.
4591 2019-05-01 Tom Tromey <tromey@adacore.com>
4593 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
4595 (NPR): New variable.
4596 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
4599 2019-05-01 Tom Tromey <tromey@adacore.com>
4601 * gdb.ada/packed_array_assign.exp: Add packed assignment
4604 2019-05-01 Tom de Vries <tdevries@suse.de>
4606 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
4608 2019-05-01 Tom de Vries <tdevries@suse.de>
4610 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
4612 2019-04-30 Ali Tamur <tamur@google.com>
4614 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
4616 2019-04-30 Tom Tromey <tromey@adacore.com>
4618 * lib/ada.exp (find_ada_tool): New proc.
4619 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
4620 * gdb.ada/catch_ex_std.exp: New file.
4621 * gdb.ada/catch_ex_std/foo.adb: New file.
4622 * gdb.ada/catch_ex_std/some_package.adb: New file.
4623 * gdb.ada/catch_ex_std/some_package.ads: New file.
4625 2019-04-30 Tom Tromey <tromey@adacore.com>
4628 * gdb.cp/temargs.cc: Add test code from PR.
4630 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4632 * gdb.fortran/vla-datatypes.exp: Update expected results.
4633 * gdb.fortran/vla-ptype.exp: Likewise.
4634 * gdb.fortran/vla-type.exp: Likewise.
4635 * gdb.fortran/vla-value.exp: Likewise.
4637 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4639 * gdb.fortran/ptr-indentation.exp: Update expected results.
4640 * gdb.fortran/ptype-on-functions.exp: Likewise.
4641 * gdb.fortran/vla-ptr-info.exp: Likewise.
4642 * gdb.fortran/vla-value.exp: Likewise.
4644 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4646 * gdb.fortran/ptype-on-functions.exp: New file.
4647 * gdb.fortran/ptype-on-functions.f90: New file.
4649 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4651 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
4654 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4656 * gdb.fortran/complex.exp: Expand.
4657 * gdb.fortran/complex.f: Renamed to...
4658 * gdb.fortran/complex.f90: ...this, and extended to add more
4661 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4663 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
4666 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
4667 Richard Bunt <richard.bunt@arm.com>
4669 * gdb.base/max-depth.c: New file.
4670 * gdb.base/max-depth.exp: New file.
4671 * gdb.python/py-nested-maps.c: New file.
4672 * gdb.python/py-nested-maps.exp: New file.
4673 * gdb.python/py-nested-maps.py: New file.
4674 * gdb.python/py-format-string.exp (test_max_depth): New proc.
4675 (test_all_common): Call test_max_depth.
4676 * gdb.fortran/max-depth.exp: New file.
4677 * gdb.fortran/max-depth.f90: New file.
4678 * gdb.go/max-depth.exp: New file.
4679 * gdb.go/max-depth.go: New file.
4680 * gdb.modula2/max-depth.exp: New file.
4681 * gdb.modula2/max-depth.c: New file.
4682 * lib/gdb.exp (get_print_expr_at_depths): New proc.
4684 2019-04-29 Tom de Vries <tdevries@suse.de>
4686 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
4688 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4690 * gdb.base/callexit.exp: Test may-call-functions off.
4692 2019-04-25 Keith Seitz <keiths@redhat.com>
4695 * gdb.cp/meth-typedefs.cc (incomplete_struct)
4696 (another_incomplete_struct, test_incomplete): New definitions.
4697 (main): Use new definitions.
4698 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
4701 2019-04-25 Ali Tamur <tamur@google.com>
4703 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
4705 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
4709 * gdb.base/coredump-filter-build-id.exp: New file.
4711 2019-04-25 Alan Hayward <alan.hayward@arm.com>
4713 * Makefile.in: Pass through GDBSERVER_DEBUG.
4714 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
4715 (gdbserver,debug): Add board setting.
4716 * gdb.trace/tspeed.exp: Skip when debugging.
4717 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
4718 * lib/gdbserver-support.exp: Likewise
4720 2019-04-24 Tom Tromey <tromey@adacore.com>
4722 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
4725 2019-04-24 Tom Tromey <tromey@adacore.com>
4727 * gdb.arch/amd64-eval.exp: Test bitfield return.
4728 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
4729 (class Foo) <return_bitfields>: New method.
4732 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
4734 * gdb.cp/many-args.cc: New file.
4735 * gdb.cp/many-args.exp: New file.
4737 2019-04-23 Tom de Vries <tdevries@suse.de>
4740 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
4742 2019-04-23 Alan Hayward <alan.hayward@arm.com>
4744 * gdb.trace/backtrace.exp: Use nopie flag.
4745 * gdb.trace/circ.exp: Likewise.
4746 * gdb.trace/collection.exp: Likewise.
4747 * gdb.trace/ftrace.exp: Likewise.
4748 * gdb.trace/mi-trace-unavailable.exp: Likewise.
4749 * gdb.trace/mi-traceframe-changed.exp: Likewise.
4750 * gdb.trace/qtro.exp: Likewise.
4751 * gdb.trace/read-memory.exp: Likewise.
4752 * gdb.trace/report.exp: Likewise.
4753 * gdb.trace/tfile.exp: Likewise.
4754 * gdb.trace/tfind.exp: Likewise.
4755 * gdb.trace/unavailable.exp: Likewise.
4757 2019-04-22 Pedro Alves <palves@redhat.com>
4759 * gdb.base/solib-probes-nosharedlibrary.c,
4760 gdb.base/solib-probes-nosharedlibrary.exp: New files.
4762 2019-04-19 Tom Tromey <tromey@adacore.com>
4764 * gdb.ada/ptype_union.c: New file.
4765 * gdb.ada/ptype_union.exp: New file.
4767 2019-04-19 Tom Tromey <tromey@adacore.com>
4770 * gdb.base/list0.h (foo): Add a control-l character.
4772 2019-04-18 Tom de Vries <tdevries@suse.de>
4775 * boards/local-board.exp: Set sysroot to "".
4777 2019-04-18 Tom de Vries <tdevries@suse.de>
4778 Pedro Alves <palves@redhat.com>
4781 * gdb.threads/vfork-follow-child-exec.c: New file.
4782 * gdb.threads/vfork-follow-child-exec.exp: New file.
4783 * gdb.threads/vfork-follow-child-exit.c: New file.
4784 * gdb.threads/vfork-follow-child-exit.exp: New file.
4786 2019-04-15 Leszek Swirski <leszeks@google.com>
4788 * gdb.arch/amd64-eval.cc: New file.
4789 * gdb.arch/amd64-eval.exp: New file.
4791 2019-04-11 Alan Hayward <alan.hayward@arm.com>
4793 * gdb.server/sysroot.c: New test.
4794 * gdb.server/sysroot.exp: New file.
4795 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
4798 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
4800 * gdb.base/align.exp: Extend test to cover structures containing
4803 2019-04-11 Tom de Vries <tdevries@suse.de>
4805 * boards/cc-with-dwz-m.exp: New file.
4806 * boards/cc-with-dwz.exp: New file.
4807 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
4809 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
4811 * gdb.base/start-cpp.exp: New file.
4812 * gdb.base/start-cpp.cc: New file.
4814 2019-04-08 Kevin Buettner <kevinb@redhat.com>
4816 * gdb.python/py-thrhandle.exp: Adjust tests to call
4817 thread_from_handle instead of thread_from_thread_handle.
4819 2019-04-08 Kevin Buettner <kevinb@redhat.com>
4821 * gdb.python/py-thrhandle.exp: Add tests for
4822 gdb.InferiorThread.handle.
4824 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
4826 * gdb.python/py-function.exp: Check calling helper function from
4828 * lib/gdb.exp (gdb_supported_languages): New proc.
4830 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
4832 * gdb.base/complex-parts.c: New file.
4833 * gdb.base/complex-parts.exp: New file.
4835 2019-04-01 Tom Tromey <tromey@adacore.com>
4838 * gdb.dwarf2/dw2-ranges-main.c: New file.
4839 * gdb.dwarf2/dw2-ranges-psym.c: New file.
4840 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
4842 2019-03-30 Simon Marchi <simark@simark.ca>
4844 * gdb.base/default.exp: Add values for $_gdb_major and
4847 2019-03-29 Tom Tromey <tromey@adacore.com>
4849 * gdb.base/help.exp: Tighten apropos regexp.
4851 2019-03-29 Keith Seitz <keiths@redhat.com>
4853 * gdb.fortran/array-bounds.exp: New file.
4854 * gdb.fortran/array-bounds.f90: New file.
4856 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4858 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
4860 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4862 * gdb.multi/hello.c (main): Increase alarm timer.
4864 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
4866 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
4867 factor when no hardware watchpoint support.
4869 2019-03-28 Alan Hayward <alan.hayward@arm.com>
4870 Pedro Alves <palves@redhat.com>
4872 * boards/local-board.exp: set sysroot to /.
4874 2019-03-27 Alan Hayward <alan.hayward@arm.com>
4876 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
4879 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
4881 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
4883 (make_container): Initialise new field.
4884 * gdb.python/py-prettyprint.exp: Add new tests.
4885 * gdb.python/py-prettyprint.py (class ContainerPrinter)
4886 <display_hint>: New method.
4888 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
4890 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
4891 gdb_continue_to_breakpoint more throughout this test.
4892 (run_lang_tests) Supply unique test names, and use
4895 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
4897 * gdb.base/finish-pretty.exp: Update expected results.
4898 * gdb.base/pretty-print.c: New file.
4899 * gdb.base/pretty-print.exp: New file.
4901 2019-03-25 Pedro Alves <palves@redhat.com>
4903 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
4904 move comments outside list. Append '-i "" eof' section.
4906 2019-03-22 Alan Hayward <alan.hayward@arm.com>
4909 * README: Add pie options.
4910 * gdb.base/break-interp.exp: Ensure pie is disabled.
4911 * gdb.base/dump.exp: Likewise.
4912 * lib/gdb.exp (gdb_compile): Add pie option.
4914 2019-03-19 Tom Tromey <tromey@adacore.com>
4916 * gdb.mi/mi2-cli-display.c: New file.
4917 * gdb.mi/mi2-cli-display.exp: New file.
4919 2019-03-18 Joel Brobecker <brobecker@adacore.com>
4920 Tom Tromey <tromey@adacore.com>
4922 * gdb.ada/ptype_array/pck.adb: New file.
4923 * gdb.ada/ptype_array/pck.ads: New file.
4924 * gdb.ada/ptype_array/foo.adb: New file.
4925 * gdb.ada/ptype_array.exp: New file.
4927 2019-03-14 Tom Tromey <tromey@adacore.com>
4929 * gdb.base/style.exp: Add "set style sources" test.
4931 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
4933 * mi-breakpoint-location-ena-dis.exp: Rename to ...
4934 * mi-breakpoint-multiple-locations.exp: ... this.
4935 (make_breakpoints_pattern): New proc.
4936 (do_test): Add mi_version parameter, test -break-insert,
4937 -break-info and =breakpoint-created.
4939 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
4941 * config/default.exp: Remove 'load_lib gdb.exp'.
4942 * config/monitor.exp: Likewise.
4943 * config/sid.exp: Likewise.
4944 * config/sim.exp: Likewise.
4945 * config/slite.exp: Likewise.
4946 * config/unix.exp: Likewise.
4947 * gdb.base/default.exp: Remove unhelpful comment.
4949 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4951 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
4953 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4955 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
4957 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4959 * gdb.fortran/type-kinds.exp: Update expected results.
4961 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4963 * gdb.fortran/type-kinds.exp: Test new integer type kind.
4965 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4967 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
4969 (test_basic_parsing_of_type_kinds): Expand types tested.
4970 (test_parsing_invalid_type_kinds): New function.
4972 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4974 * gdb.fortran/intrinsics.exp: New file.
4975 * gdb.fortran/intrinsics.f90: New file.
4976 * gdb.fortran/type-kinds.exp: New file.
4978 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4980 * gdb.fortran/dot-ops.exp: New file.
4982 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4984 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
4985 Check upper and lower case logical literals.
4987 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4989 * gdb.fortran/types.exp (test_float_literal_types_accepted):
4990 Remove duplicate tests.
4992 2019-03-06 Alan Hayward <alan.hayward@arm.com>
4994 * lib/gdb.exp (builtin_cd): rename of cd.
4995 (cd): Override builtin.
4997 2019-03-06 Richard Bunt <richard.bunt@arm.com>
4999 * gdb.fortran/function-calls.exp: New file.
5000 * gdb.fortran/function-calls.f90: New test.
5002 2019-03-04 Richard Bunt <richard.bunt@arm.com>
5004 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
5005 on user program standard output.
5006 * gdb.fortran/short-circuit-argument-list.f90: Record function
5009 2019-02-28 Alan Hayward <alan.hayward@arm.com>
5011 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
5014 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5017 * gdb.base/interrupt-daemon-attach.c,
5018 gdb.base/interrupt-daemon-attach.exp: New test.
5020 2019-02-27 Pedro Alves <palves@redhat.com>
5022 * gdb.base/page.exp: Add tests for "set width/height -1".
5024 2019-02-27 Pedro Alves <palves@redhat.com>
5026 * gdb.base/page.exp: Add tests for "set/show width/height" with
5029 2019-02-27 Tom Tromey <tromey@adacore.com>
5031 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
5033 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
5036 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
5038 * gdb.base/align.exp: Extend to compile in both C and C++, and add
5039 tests for structs with static members.
5041 2019-02-26 Tom Tromey <tromey@adacore.com>
5043 * gdb.python/py-value.exp (test_value_from_buffer): Check for
5044 ValueError, not TypeError.
5046 2019-02-26 Kevin Buettner <kevinb@redhat.com>
5048 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
5049 call from main program.
5051 2019-02-23 Joel Brobecker <brobecker@adacore.com>
5053 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
5054 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
5055 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
5056 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
5057 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
5059 2019-02-22 Keith Seitz <keiths@redhat.com>
5062 * gdb.base/symlink-sourcefile.c: New file.
5063 * gdb.base/symlink-sourcefile.exp: New file.
5065 2019-02-20 Tom Tromey <tom@tromey.com>
5067 * gdb.base/info_qt.exp: Update.
5069 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
5071 * gdb.base/source.exp: Move "error in sourced script" code to
5073 * gdb.base/source-error.gdb: Move contents to
5074 source-error-1.gdb. Add new code to source source-error-1.gdb.
5075 * gdb.base/source-error-1.gdb: New file, from previous
5078 2019-02-17 Tom Tromey <tom@tromey.com>
5080 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
5082 * gdb.base/style.c (SOME_MACRO): New macro.
5084 2019-02-17 Tom Tromey <tom@tromey.com>
5086 * gdb.base/style.exp: Add line-wrapping tests.
5087 * gdb.base/page.exp: Add test for quitting during pagination.
5089 2019-02-17 Joel Brobecker <brobecker@adacore.com>
5091 * gdb.ada/big_packed_array: New testcase.
5092 * gdb.ada/homonym.exp: Fix incorrect expected output for
5093 "break <homonym__get_value>" test.
5095 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
5097 PR breakpoints/21870
5098 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
5099 and prepare_for_testing. Add comment.
5100 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
5101 redundant cleanup call. Clean up comment.
5103 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
5105 PR breakpoints/21870
5106 * gdb.arch/aarch64-dbreg-contents.exp: New file.
5107 * gdb.arch/aarch64-dbreg-contents.c: New file.
5109 2019-02-10 Joel Brobecker <brobecker@adacore.com>
5111 * gdb.ada/mi_ref_changeable: New testcase.
5113 2019-02-07 Alan Hayward <alan.hayward@arm.com>
5115 * gdb.base/attach.exp: Add double attach test.
5117 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
5119 * lib/gdb.exp (default_gdb_start): Don't match pagination
5121 (gdb_init): Set stty_init.
5123 2019-01-27 Tom Tromey <tom@tromey.com>
5125 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
5128 2019-01-24 Alan Hayward <alan.hayward@arm.com>
5130 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
5132 (struct struct_static_02_02): Likewise.
5133 (struct struct_static_02_03): Likewise.
5134 (struct struct_static_02_04): Likewise.
5135 (struct struct_static_04_01): Likewise.
5136 (struct struct_static_04_02): Likewise.
5137 (struct struct_static_04_03): Likewise.
5138 (struct struct_static_04_04): Likewise.
5139 (struct struct_static_06_01): Likewise.
5140 (struct struct_static_06_02): Likewise.
5141 (struct struct_static_06_03): Likewise.
5142 (struct struct_static_06_04): Likewise.
5143 (cmp_struct_static_02_01): Likewise.
5144 (cmp_struct_static_02_02): Likewise.
5145 (cmp_struct_static_02_03): Likewise.
5146 (cmp_struct_static_02_04): Likewise.
5147 (cmp_struct_static_04_01): Likewise.
5148 (cmp_struct_static_04_02): Likewise.
5149 (cmp_struct_static_04_03): Likewise.
5150 (cmp_struct_static_04_04): Likewise.
5151 (cmp_struct_static_06_01): Likewise.
5152 (cmp_struct_static_06_02): Likewise.
5153 (cmp_struct_static_06_03): Likewise.
5154 (cmp_struct_static_06_04): Likewise.
5155 (call_all): Test new structs.
5156 * gdb.base/infcall-nested-structs.exp: Likewise.
5158 2019-01-21 Alan Hayward <alan.hayward@arm.com>
5159 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
5161 2019-01-21 Alan Hayward <alan.hayward@arm.com>
5162 * gdb.base/stack-protector.c: New test.
5163 * gdb.base/stack-protector.exp: New file.
5164 * gdb.cp/ovldbreak.exp: Only allow a single break line.
5165 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
5167 (gdb_compile): Remove stack protector for GCC and prevent
5170 2019-01-16 Keith Seitz <keiths@redhat.com>
5173 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
5175 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5177 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
5179 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
5181 * gdb.arch/powerpc-vector-regs.c: New file.
5182 * gdb.arch/powerpc-vector-regs.exp: New file.
5184 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5186 * gdb.arch/altivec-regs.exp: Fix the list passed to
5187 gdb_expect_list when testing "info vector".
5189 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
5191 * gdb.base/style.exp: Don't include path in testname.
5193 2019-01-10 Keith Seitz <keiths@redhat.com>
5197 * gdb.dwarf2/multidictionary.exp: New file.
5199 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
5201 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
5202 (test_gnuv3_style_demangling): ... this.
5203 (test_lucid_style_demangling): Remove.
5204 (test_arm_style_demangling): Remove.
5205 (test_hp_style_demangling): Remove.
5206 (do_tests): Remove calls to the above.
5208 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5210 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
5213 2019-01-06 Tom Tromey <tom@tromey.com>
5216 * gdb.dwarf2/typedef-void-finish.exp: New file.
5218 2018-12-28 Tom Tromey <tom@tromey.com>
5219 Simon Marchi <simark@simark.ca>
5221 * gdb.base/jit-exec.exp: New file.
5222 * gdb.base/jit-exec.c: New file.
5223 * gdb.base/jit-execd.c: New file.
5225 2018-12-28 Tom Tromey <tom@tromey.com>
5227 * gdb.base/style.exp: Update test to check for address styling.
5229 2018-12-28 Tom Tromey <tom@tromey.com>
5231 * gdb.base/style.exp: Add test for styling of "Reading symbols"
5234 2018-12-28 Tom Tromey <tom@tromey.com>
5236 * gdb.base/style.exp: Add test for version number styling.
5238 2018-12-28 Tom Tromey <tom@tromey.com>
5240 * gdb.base/style.exp: Add test for print_address_symbolic.
5242 2018-12-28 Tom Tromey <tom@tromey.com>
5244 * gdb.base/style.exp: Add test for breakpoint setting.
5246 2018-12-28 Tom Tromey <tom@tromey.com>
5248 * gdb.base/style.exp: Add test for variable names.
5250 2018-12-28 Tom Tromey <tom@tromey.com>
5252 * gdb.base/style.exp: New file.
5253 * gdb.base/style.c: New file.
5255 2018-12-28 Tom Tromey <tom@tromey.com>
5257 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
5259 * gdb.base/readline.exp (operate_and_get_next): Save and restore
5260 the TERM environment variable.
5262 2018-12-27 Tom Tromey <tom@tromey.com>
5264 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
5267 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
5269 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
5270 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
5272 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5274 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
5275 Filename a.adb changed to bp_fun_addr.adb.
5276 gdb.ada/bp_fun_addr.exp: Update test accordingly.
5278 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
5280 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
5281 non-PIE executables.
5282 * README: Mention the gdb,nopie_flag board setting.
5283 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
5285 * gdb.arch/amd64-entry-value.exp: Likewise.
5286 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
5287 * gdb.arch/i386-float.exp: Likewise.
5288 * gdb.arch/i386-signal.exp: Likewise.
5289 * gdb.mi/mi-reg-undefined.exp: Likewise.
5291 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
5294 * gdb.base/info-os.exp: Check return for unknown "info os" type.
5296 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5298 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
5299 Update order of results accordingly.
5301 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
5303 * gdb.base/annota1.exp: Update a test regexp.
5305 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
5307 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
5309 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5311 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
5312 (reuse_time): Initialize to REUSE_TIME_CAP.
5313 (check_rc): New function.
5314 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
5315 Check pthread_create rc.
5316 (spawner_thread_func): Check pthread_create and pthread_join rc.
5318 2018-12-08 Pedro Alves <palves@redhat.com>
5320 * gdb.base/list.exp (test_forward_search): Rename to ...
5321 (test_forward_reverse_search): ... this. Also test reverse-search
5322 and the forward-search alias.
5324 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
5326 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
5327 local timeout variable before return, and remove all local timeout
5329 (gdb_load): Likewise.
5331 2018-12-01 Tom de Vries <tdevries@suse.de>
5333 * gdb.base/gdb-caching-proc.exp: New file.
5335 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
5337 * Makefile.in (TIMESTAMP): New variable.
5338 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
5340 (check-single-racy): Likewise.
5341 (check/%.exp): Likewise.
5342 (check-racy/%.exp): Likewise.
5343 (workers/%.worker): Likewise.
5344 (build-perf): Likewise.
5345 (check-perf): Likewise.
5346 * README: Describe new "TS" and "TS_FORMAT" variables.
5347 * print-ts.py: New file.
5349 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
5352 * gdb.python/python.exp: Test command repetition after
5355 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
5357 * gdb.opt/inline-break.exp: Add test that info breakpoint output
5358 is correctly aligned.
5360 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5362 * gdb.ada/info_auto_lang.exp: New testcase.
5363 * gdb.ada/info_auto_lang/global_pack.ads: New file.
5364 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
5365 * gdb.ada/info_auto_lang/some_c.c: New file.
5367 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5369 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
5370 FUNC_lang language syntax.
5372 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5374 * gdb.base/info_minsym.c: New file.
5375 * gdb.base/info_minsym.exp: New file.
5377 2018-11-19 Tom Tromey <tom@tromey.com>
5380 * gdb.rust/simple.exp: Add ptype test. Update expected output.
5381 * gdb.rust/expr.exp: Update expected output. Change one test.
5383 2018-11-19 Tom Tromey <tom@tromey.com>
5385 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
5387 2018-11-19 Pedro Alves <palves@redhat.com>
5389 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
5390 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
5391 see the expected warning.
5393 2018-11-16 Alan Hayward <alan.hayward@arm.com>
5396 * gdb.cp/infcall-nodebug-lib.c: New test.
5397 * gdb.cp/infcall-nodebug-main.c: New test.
5398 * gdb.cp/infcall-nodebug.exp: New file.
5400 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
5402 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
5405 2018-11-09 Tom de Vries <tdevries@suse.de>
5407 * gdb.base/msym-lang.c: New test.
5408 * gdb.base/msym-lang.exp: New file.
5409 * gdb.base/msym-lang-main.c: New test.
5411 2018-11-08 Tom Tromey <tom@tromey.com>
5415 * gdb.base/warning.exp: New file.
5417 2018-11-08 Jan Beulich <jbeulich@suse.com>
5419 * testsuite/gdb.arch/i386-avx512.c,
5420 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
5422 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
5424 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
5427 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
5429 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
5430 * gdb.dwarf2/missing-type-name.exp: New file.
5432 2018-11-06 Tom de Vries <tdevries@suse.de>
5434 * gdb.base/many-headers.c: New test.
5435 * gdb.base/many-headers.exp: New file.
5437 2018-11-06 Jim Wilson <jimw@sifive.com>
5439 * gdb.base/code_elim.exp: For riscv, set additional_flags
5440 to include -msmall-data-limit=0.
5442 2018-11-01 Joel Brobecker <brobecker@adacore.com>
5444 * gdb.ada/watch_minus_l: New testcase.
5446 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
5448 * gdb.arch/aix-sighandle.c: New file.
5449 * gdb.arch/aix-sighandle.exp: New file.
5451 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5453 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
5454 registers being unions.
5456 2018-10-31 Tom de Vries <tdevries@suse.de>
5458 * lib/valgrind.exp: New file.
5459 (vgdb_start, vgdb_stop): New procs, factored out of ...
5460 * gdb.base/valgrind-bt.exp: ... here, ...
5461 * gdb.base/valgrind-disp-step.exp: ... here and ...
5462 * gdb.base/valgrind-infcall.exp: ... here.
5464 2018-10-31 Tom de Vries <tdevries@suse.de>
5466 * lib/gdb.exp (get_valueof): Don't output read value in test name.
5468 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5470 * gdb.dwarf2/void-type.c: New file.
5471 * gdb.dwarf2/void-type.exp: New file.
5473 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5475 * gdb.base/info_qt.c: New file.
5476 * gdb.base/info_qt.exp: New file.
5478 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5480 * gdb.arch/powerpc-htm-regs.c: New file.
5481 * gdb.arch/powerpc-htm-regs.exp: New file.
5483 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5485 * gdb.arch/powerpc-tar.c: New file.
5486 * gdb.arch/powerpc-tar.exp: New file.
5488 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5490 * gdb.arch/powerpc-ppr-dscr.c: New file.
5491 * gdb.arch/powerpc-ppr-dscr.exp: New file.
5493 2018-10-25 Tom de Vries <tdevries@suse.de>
5495 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
5497 2018-10-24 Tom de Vries <tdevries@suse.de>
5499 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
5500 longer exists error.
5502 2018-10-24 Tom de Vries <tdevries@suse.de>
5504 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
5506 2018-10-24 Tom de Vries <tdevries@suse.de>
5508 * gdb.base/valgrind-db-attach.exp: Handle removed support for
5509 --db-attach in valgrind.
5511 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
5513 * gdb.arch/riscv-reg-aliases.c: New file.
5514 * gdb.arch/riscv-reg-aliases.exp: New file.
5516 2018-10-19 Alan Hayward <alan.hayward@arm.com>
5518 * gdb.python/py-cmd.exp: Check for gdb_prompt.
5520 2018-10-19 Alan Hayward <alan.hayward@arm.com>
5522 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
5524 2018-10-19 Alan Hayward <alan.hayward@arm.com>
5526 * gdb.cp/ovldbreak.exp: Fix regexps.
5528 2018-10-19 Alan Hayward <alan.hayward@arm.com>
5530 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
5532 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
5535 * gdb.base/restore.exp: New test to check if "restore" with an
5536 invalid file doesn't segfault.
5538 2018-10-18 Tom de Vries <tdevries@suse.de>
5540 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
5541 * gdb.ada/excep_handle.exp: Same.
5542 * gdb.ada/mi_string_access.exp: Same.
5543 * gdb.ada/mi_var_union.exp: Same.
5544 * gdb.arch/arc-analyze-prologue.exp: Same.
5545 * gdb.arch/arc-decode-insn.exp: Same.
5546 * gdb.base/readnever.exp: Same.
5547 * gdb.fortran/printing-types.exp: Same.
5548 * gdb.guile/scm-lazy-string.exp: Same.
5550 2018-10-16 Tom de Vries <tdevries@suse.de>
5553 * gdb.base/catch-follow-exec.c: Add copyright notice.
5554 * gdb.base/catch-follow-exec.exp: Rewrite to use
5555 gdb_spawn_with_cmdline_opts. Require gdb-native.
5557 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
5559 * gdb.trace/actions-changed.exp: Check for arch support.
5560 * gdb.trace/actions.exp: Likewise.
5561 * gdb.trace/ax.exp: Likewise.
5562 * gdb.trace/backtrace.exp: Likewise.
5563 * gdb.trace/change-loc.exp: Likewise.
5564 * gdb.trace/deltrace.exp: Likewise.
5565 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
5566 * gdb.trace/ftrace.exp: Likewise.
5567 * gdb.trace/infotrace.exp: Check for arch support.
5568 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
5569 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
5570 * gdb.trace/mi-tsv-changed.exp: Likewise.
5571 * gdb.trace/packetlen.exp: Likewise.
5572 * gdb.trace/passc-dyn.exp: Likewise.
5573 * gdb.trace/passcount.exp: Likewise.
5574 * gdb.trace/pending.exp: Likewise.
5575 * gdb.trace/range-stepping.exp: Check for shlib support.
5576 * gdb.trace/report.exp: Check for arch support.
5577 * gdb.trace/save-trace.exp: Likewise.
5578 * gdb.trace/signal.exp: Check for signal support.
5579 * gdb.trace/tfind.exp: Check for arch support.
5580 * gdb.trace/trace-break.exp: Check for arch and shlib support.
5581 * gdb.trace/trace-common.h: Add comment.
5582 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
5583 * gdb.trace/trace-enable-disable.exp: Likewise.
5584 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
5585 * gdb.trace/tracecmd.exp: Check for arch support.
5586 * gdb.trace/tspeed.exp: Check for shlib and target support.
5587 * gdb.trace/tstatus.exp: Check for arch support.
5588 * gdb.trace/tsv.exp: Likewise.
5589 * gdb.trace/while-dyn.exp: Likewise.
5590 * gdb.trace/while-stepping.exp: Likewise.
5591 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
5593 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
5595 * gdb.trace/tspeed.exp: Remove nowarnings.
5596 (prepare_for_trace_test): Declare "global ipalib".
5597 * gdb.trace/tspeed.c: Include unistd.h.
5598 (main): Remove superfluous printf argument.
5600 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
5602 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
5603 directory prefix on the filename.
5605 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
5607 * gdb.gdb/unittest.exp: Update expected message informing that
5608 selftests have been disabled.
5609 * gdb.server/unittest.exp: Likewise.
5611 2018-10-09 Tom de Vries <tdevries@suse.de>
5613 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
5616 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
5619 * gdb.cp/virtbase2.cc: New file.
5620 * gdb.cp/virtbase2.exp: New file.
5622 2018-10-06 Tom Tromey <tom@tromey.com>
5625 * gdb.python/py-inferior.exp: Add architecture test.
5627 2018-10-06 Tom Tromey <tom@tromey.com>
5629 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
5630 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
5632 2018-10-06 Tom Tromey <tom@tromey.com>
5634 * gdb.python/py-breakpoint.exp (check_last_event): Check location
5635 of a "throw" catchpoint.
5637 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
5639 * gdb.base/info-proc.exp: Update string expected from "help info
5642 2018-10-04 Tom Tromey <tom@tromey.com>
5644 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
5645 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
5646 (test_initial_complaints, test_empty_complaints): Update.
5647 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
5649 2018-10-04 Tom Tromey <tom@tromey.com>
5652 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
5653 * lib/gdb.exp (gdb_file_cmd): Update.
5654 * gdb.stabs/weird.exp (print_weird_var): Update.
5655 * gdb.server/solib-list.exp: Update.
5656 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
5657 * gdb.mi/mi-cli.exp: Update.
5658 * gdb.linespec/linespec.exp: Update.
5659 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
5660 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
5661 * gdb.cp/cp-relocate.exp: Update.
5662 * gdb.base/sym-file.exp: Update.
5663 * gdb.base/relocate.exp: Update.
5664 * gdb.base/readnever.exp: Update.
5665 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5666 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
5667 * gdb.base/dbx.exp (gdb_file_cmd): Update.
5668 * gdb.base/code_elim.exp: Update.
5669 * gdb.base/break-unload-file.exp (test_break): Update.
5670 * gdb.base/break-interp.exp (test_attach_gdb): Update.
5671 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
5673 * gdb.base/attach.exp (do_attach_tests): Update.
5674 * gdb.base/sepdebug.exp: Update.
5675 * gdb.python/py-section-script.exp: Update.
5677 2018-10-04 Tom Tromey <tom@tromey.com>
5680 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
5681 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
5684 2018-10-04 Tom Tromey <tom@tromey.com>
5686 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
5687 set width and height to 0.
5688 (test_command_line_attach_run): Use -quiet.
5690 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
5692 * lib/gdb.exp (skip_ifunc_tests): New.
5693 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
5694 other compile failures.
5695 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
5697 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
5699 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
5700 is_amd64_regs_target.
5702 2018-10-01 Alan Hayward <alan.hayward@arm.com>
5704 * gdb.arch/aarch64-sighandler-regs.c: New test.
5705 * gdb.arch/aarch64-sighandler-regs.exp: New file.
5706 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
5708 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
5710 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
5713 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
5715 * gdb.base/frame-selection.exp: New file.
5716 * gdb.base/frame-selection.c: New file.
5718 2018-09-27 Alan Hayward <alan.hayward@arm.com>
5720 * gdb.threads/check-libthread-db.c (thread_routine): Use a
5724 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
5726 * gdb.base/large-frame-1.c: New file.
5727 * gdb.base/large-frame-2.c: New file.
5728 * gdb.base/large-frame.exp: New file.
5729 * gdb.base/large-frame.h: New file.
5731 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
5734 * gdb.base/write_mem.exp: New test.
5735 * gdb.base/write_mem.c: Likewise.
5737 2018-09-23 Tom Tromey <tom@tromey.com>
5740 * gdb.python/py-parameter.exp: Add test for parameter that throws
5743 2018-09-23 Tom Tromey <tom@tromey.com>
5746 * gdb.python/py-template.exp (test_template_arg): Add test for
5747 negative template argument number.
5749 2018-09-23 Tom Tromey <tom@tromey.com>
5752 * gdb.python/python.exp: Add test for post_event error.
5754 2018-09-23 Tom Tromey <tom@tromey.com>
5757 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
5758 convert pointers to int and long.
5760 2018-09-23 Tom Tromey <tom@tromey.com>
5763 * gdb.python/py-value.exp (test_value_numeric_ops): Add
5764 signed-ness conversion tests.
5766 2018-09-23 Tom Tromey <tom@tromey.com>
5769 * gdb.python/py-value.exp (test_float_conversion): New proc.
5772 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
5774 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
5776 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
5778 * gdb.base/complete-empty.exp: Skip tab-completion tests if
5780 * gdb.base/utf8-identifiers.exp: Likewise.
5781 * gdb.cp/cpcompletion.exp: Likewise.
5782 * gdb.linespec/cpcompletion.exp: Likewise.
5783 * gdb.linespec/cpls-abi-tag.exp: Likewise.
5784 * gdb.linespec/cpls-ops.exp: Likewise.
5786 2018-09-19 Richard Bunt <richard.bunt@arm.com>
5787 Chris January <chris.january@arm.com>
5789 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
5790 * gdb.fortran/short-circuit-argument-list.exp: New file.
5791 * gdb.fortran/short-circuit-argument-list.f90: New test.
5793 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
5795 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
5796 "arch=" keyword when executing "-stack-list-frames".
5798 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
5800 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
5801 "arch=" keyword when executing "-stack-list-frames".
5803 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
5805 * gdb.ada/complete.exp: Expect for "@" when doing "complete
5808 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
5811 * gdb.python/python.exp: Test gdb.execute("show commands").
5813 2018-09-16 Tom Tromey <tom@tromey.com>
5815 * gdb.base/new-ui.exp (do_execution_tests): Update.
5816 * gdb.base/dbx.exp (test_breakpoints): Update.
5818 2018-09-14 Alan Hayward <alan.hayward@arm.com>
5820 * lib/gdb.exp (gdb_simple_compile): Add proc.
5821 (is_elf_target): Use gdb_simple_compile.
5822 (skip_altivec_tests): Likewise.
5823 (skip_vsx_tests): Likewise.
5824 (skip_tsx_tests): Likewise.
5825 (skip_btrace_tests): Likewise.
5826 (skip_btrace_pt_tests): Likewise.
5827 (gdb_can_simple_compile): Likewise.
5828 (gdb_has_argv0): Likewise.
5829 (gdb_target_symbol_prefix): Likewise.
5830 (target_supports_scheduler_locking): Likewise.
5832 2018-09-13 Tom Tromey <tom@tromey.com>
5834 * Makefile.in (TAGS): Recognize proc_with_prefix and
5837 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
5839 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
5842 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
5844 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
5845 and a few other Inferior properties when the Inferior is no
5848 2018-09-13 Tom Tromey <tom@tromey.com>
5851 * gdb.rust/simple.exp: Add test for enum field access error.
5853 2018-09-13 Tom Tromey <tom@tromey.com>
5856 * gdb.rust/simple.rs (EmptyEnum): New type.
5858 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
5860 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
5862 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
5863 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
5864 * gdb.python/py-symtab.exp: Update test printing an objfile.
5866 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
5868 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
5871 2018-09-12 Alan Hayward <alan.hayward@arm.com>
5873 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
5874 (support_complex_tests): Use gdb_can_simple_compile.
5875 (is_ilp32_target): Likewise.
5876 (is_lp64_target): Likewise.
5877 (is_64_target): Likewise.
5878 (is_amd64_regs_target): Likewise.
5879 (is_aarch32_target): Likewise.
5880 (gdb_int128_helper): Likewise.
5882 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5884 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
5886 2018-09-10 Jerome Guitton <guitton@adacore.com>
5888 * gdb.ada/same_component_name: Add test for case of tagged record
5889 with variable-length fields.
5891 2018-09-10 Xavier Roirand <roirand@adacore.com>
5893 * gdb.ada/access_to_unbounded_array.exp: New testcase.
5894 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
5895 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
5896 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
5898 2018-09-10 Xavier Roirand <roirand@adacore.com>
5900 * gdb.ada/mi_string_access.exp: New testcase.
5901 * gdb.ada/mi_string_access/bar.adb: New file.
5902 * gdb.ada/mi_string_access/pck.adb: New file.
5903 * gdb.ada/mi_string_access/pck.asd: New file.
5905 2018-09-10 Xavier Roirand <roirand@adacore.com>
5907 * gdb.ada/mi_var_union.exp: New testcase.
5908 * gdb.ada/mi_var_union/bar.adb: New file.
5909 * gdb.ada/mi_var_union/pck.adb: New file.
5910 * gdb.ada/mi_var_union/pck.asd: New file.
5912 2018-09-08 Tom Tromey <tom@tromey.com>
5914 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
5916 2018-09-08 Tom Tromey <tom@tromey.com>
5919 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
5920 (register_pretty_printers): Register new printer.
5921 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
5923 * gdb.python/py-prettyprint.c (int_type3): New typedef.
5924 (an_int_type3): New global.
5926 2018-09-08 Joel Brobecker <brobecker@adacore.com>
5928 * gdb.ada/expr_with_funcall: New testcase.
5930 2018-09-08 Joel Brobecker <brobecker@adacore.com>
5932 * gdb.ada/packed_array_assign: New testcase.
5934 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
5936 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
5937 names, and add test prefixes to make test names unique.
5939 2018-09-05 Tom de Vries <tdevries@suse.de>
5941 * gdb.dwarf2/varval.exp: Add test.
5943 2018-09-04 Gary Benson <gbenson@redhat.com>
5945 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
5946 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
5948 2018-08-31 Tom Tromey <tom@tromey.com>
5950 * gdb.rust/simple.rs: Rename second variable "v".
5952 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
5954 * gdb.base/funcargs.c (use_a): New function.
5955 (recurse): Call use_a.
5957 2018-08-29 Keith Seitz <keiths@redhat.com>
5959 * gdb.compile/compile-cplus-anonymous.cc: New file.
5960 * gdb.compile/compile-cplus-anonymous.exp: New file.
5961 * gdb.compile/compile-cplus-array-decay.cc: New file.
5962 * gdb.compile/compile-cplus-array-decay.exp: New file.
5963 * gdb.compile/compile-cplus-inherit.cc: New file.
5964 * gdb.compile/compile-cplus-inherit.exp: New file.
5965 * gdb.compile/compile-cplus-member.cc: New file.
5966 * gdb.compile/compile-cplus-member.exp: New file.
5967 * gdb.compile/compile-cplus-method.cc: New file.
5968 * gdb.compile/compile-cplus-method.exp: New file.
5969 * gdb.compile/compile-cplus-mod.c: "New" file.
5970 * gdb.compile/compile-cplus-namespace.cc: New file.
5971 * gdb.compile/compile-cplus-namespace.exp: New file.
5972 * gdb.compile/compile-cplus-nested.cc: New file.
5973 * gdb.compile/compile-cplus-nested.exp: New file.
5974 * gdb.compile/compile-cplus-print.c: "New" file.
5975 * gdb.compile/compile-cplus-print.exp: "New" file.
5976 * gdb.compile/compile-cplus-virtual.cc: New file.
5977 * gdb.compile/compile-cplus-virtual.exp: New file.
5978 * gdb.compile/compile-cplus.c: "New" file.
5979 * gdb.compile/compile-cplus.exp: "New" file.
5980 * lib/compile-support.exp: New file.
5982 2018-08-16 Gary Benson <gbenson@redhat.com>
5985 * gdb.base/batch-exit-status.exp: New file.
5986 * gdb.base/batch-exit-status.good-commands: Likewise.
5987 * gdb.base/batch-exit-status.bad-commands: Likewise.
5989 2018-08-29 Alan Hayward <alan.hayward@arm.com>
5991 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
5992 (struct struct02): Likewise.
5993 (struct struct03): Likewise.
5994 (struct struct04): Likewise.
5995 (struct struct_01_01): New struct.
5996 (struct struct_01_02): Likewise.
5997 (struct struct_01_03): Likewise.
5998 (struct struct_01_04): Likewise.
5999 (struct struct_02_01): Likewise.
6000 (struct struct_02_02): Likewise.
6001 (struct struct_02_03): Likewise.
6002 (struct struct_02_04): Likewise.
6003 (struct struct_04_01): Likewise.
6004 (struct struct_04_02): Likewise.
6005 (struct struct_04_03): Likewise.
6006 (struct struct_04_04): Likewise.
6007 (struct struct_05_01): Likewise.
6008 (struct struct_05_02): Likewise.
6009 (struct struct_05_03): Likewise.
6010 (struct struct_05_04): Likewise.
6011 (cmp_struct01): Remove function.
6012 (cmp_struct02): Likewise.
6013 (cmp_struct03): Likewise.
6014 (cmp_struct04): Likewise.
6015 (cmp_struct_01_01): Add Function.
6016 (cmp_struct_01_02): Likewise.
6017 (cmp_struct_01_03): Likewise.
6018 (cmp_struct_01_04): Likewise.
6019 (cmp_struct_02_01): Likewise.
6020 (cmp_struct_02_02): Likewise.
6021 (cmp_struct_02_03): Likewise.
6022 (cmp_struct_02_04): Likewise.
6023 (cmp_struct_04_01): Likewise.
6024 (cmp_struct_04_02): Likewise.
6025 (cmp_struct_04_03): Likewise.
6026 (cmp_struct_04_04): Likewise.
6027 (cmp_struct_05_01): Likewise.
6028 (cmp_struct_05_02): Likewise.
6029 (cmp_struct_05_03): Likewise.
6030 (cmp_struct_05_04): Likewise.
6031 (call_all): Add new structs.
6032 * gdb.base/infcall-nested-structs.exp: Likewise.
6034 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
6036 * gdb.python/py-framefilter-mi.exp: Update regexp to
6037 check for "arch" field in frame output.
6039 2018-08-23 Kevin Buettner <kevinb@redhat.com>
6041 * gdb.dwarf2/dw2-ranges-func.c: New file.
6042 * gdb.dwarf2/dw2-ranges-func.exp: New file.
6044 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
6046 * gdb.base/term.exp: Compare terminal settings with values from
6048 * gdb.base/term.c: Get and set terminal settings.
6050 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
6052 * lib/mi-support.exp (mi_expect_stop): Update regexp to
6053 accommodate new "arch" field in frame output.
6054 * gdb.mi/mi-return.exp: Likewise.
6055 * gdb.mi/mi-stack.exp: Likewise.
6056 * gdb.mi/mi-syn-frame.exp: Likewise.
6057 * gdb.mi/user-selected-context-sync.exp: Likewise.
6059 2018-08-19 Michael Spang <spang@google.com>
6062 * gdb.base/gcore-tls-pie.c: New file.
6063 * gdb.base/gcore-tls-pie.exp: New file.
6065 2018-08-18 Kevin Buettner <kevinb@redhat.com>
6067 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
6068 * gdb.dwarf2/varval.c: New file.
6069 * gdb.dwarf2/varval.exp: New file.
6071 2018-08-17 Alan Hayward <alan.hayward@arm.com>
6074 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
6076 2018-08-16 Keith Seitz <keiths@redhat.com>
6078 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
6079 tests expected to pass.
6081 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
6083 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
6084 -data-disassemble -a.
6085 (test_disassembly_bogus_args): Likewise.
6087 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
6089 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
6091 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
6093 * gdb.base/vla-optimized-out.exp: Add new test.
6095 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
6097 * gdb.base/vla-optimized-out-o3.exp: Delete.
6098 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
6099 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
6102 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
6105 * gdb.server/extended-remote-restart.c: New file.
6106 * gdb.server/extended-remote-restart.exp: New file.
6108 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
6110 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
6111 "set variable index = 42".
6113 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
6115 * boards/index-cache-gdb.exp: New file.
6116 * gdb.dwarf2/index-cache.exp: New file.
6117 * gdb.dwarf2/index-cache.c: New file.
6118 * gdb.base/maint.exp: Check if we are using the index cache.
6120 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6122 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
6125 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6127 * dg-extract-results.sh: Move to toplevel contrib.
6128 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
6129 * Makefile.in (check-parallel-racy): Likewise.
6131 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
6133 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
6134 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
6135 tests if the target supports scheduler locking.
6137 2018-08-04 Tom de Vries <tdevries@suse.de>
6139 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
6141 2018-08-02 Tom Tromey <tom@tromey.com>
6144 * gdb.cp/temargs.exp: Test "info address" of a template
6147 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
6149 * gdb.python/py-mi-var-info-path-expression.c: New file.
6150 * gdb.python/py-mi-var-info-path-expression.py: New file.
6151 * gdb.python/py-mi-var-info-path-expression.exp: New file.
6153 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
6155 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
6156 error after "cannot resolve name" string.
6158 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
6160 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
6162 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
6164 2018-07-28 Tom de Vries <tdevries@suse.de>
6166 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
6168 2018-07-26 Tom de Vries <tdevries@suse.de>
6170 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
6172 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
6174 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
6177 2018-07-26 Tom de Vries <tdevries@suse.de>
6179 PR breakpoints/23366
6180 * gdb.base/catch-follow-exec.c: New test.
6181 * gdb.base/catch-follow-exec.exp: New file.
6183 2018-07-25 Tom de Vries <tdevries@suse.de>
6185 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
6186 vla-optimized-out.c.
6188 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
6190 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
6191 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
6193 2018-07-20 Tom de Vries <tdevries@suse.de>
6195 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
6197 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
6199 2018-07-19 Tom de Vries <tdevries@suse.de>
6201 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
6204 2018-07-18 Tom de Vries <tdevries@suse.de>
6206 * gdb.base/vla-optimized-out.c: New test.
6207 * gdb.base/vla-optimized-out.exp: New file.
6209 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
6211 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
6212 message "No address associated with hostname" when gdbserver
6213 cannot resolve the hostname.
6215 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6217 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
6218 Add some test prefixes to make tests unique.
6220 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6222 * gdb.base/frameapply.c: New file.
6223 * gdb.base/frameapply.exp: New file.
6225 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6227 * gdb.base/skip.exp: Update expected error message.
6229 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
6230 Jan Kratochvil <jan.kratochvil@redhat.com>
6231 Paul Fertser <fercerpav@gmail.com>
6232 Tsutomu Seki <sekiriki@gmail.com>
6234 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
6236 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
6238 * boards/native-gdbserver.exp: Likewise.
6239 * gdb.server/run-without-local-binary.exp: Improve regexp used
6240 for detecting when a remote debugging connection succeeds.
6241 * gdb.server/server-connect.exp: New file.
6242 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
6243 Do not prefix the port number with ":".
6244 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
6245 support for detecting and using it. Add '$debughost_gdbserver'
6246 to the list of arguments used to start gdbserver. Handle case
6247 when gdbserver cannot resolve a network name.
6249 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
6252 * gdb.base/ptype-offsets.cc (struct static_member): New
6254 (main) <stmember>: New variable.
6255 * gdb.base/ptype-offsets.exp: Add test for printing a struct
6256 with a static member in it.
6258 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
6260 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
6261 watchpoints enabled and disabled.
6263 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6265 * gdb.base/examine-backward.exp: Still run tests around address
6266 0x0, even if address 0x0 is not readable. Update the pattern for
6267 matching address 0x0 in expected output.
6269 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
6271 * gdb.base/share-env-with-gdbserver.c (main): Add call to
6274 2018-07-04 Tom de Vries <tdevries@suse.de>
6276 * gdb.dwarf2/dw2-error.exp: Update expected error message.
6278 2018-07-02 Maciej W. Rozycki <macro@mips.com>
6281 * gdb.arch/mips-disassembler-options.exp: New test.
6282 * gdb.arch/mips-disassembler-options.s: New test source.
6284 2018-06-29 Pedro Alves <palves@redhat.com>
6286 * gdb.threads/names.exp: Adjust expected "info threads" output.
6288 2018-06-29 Pedro Alves <palves@redhat.com>
6290 * gdb.opt/inline-break.exp (line number, address): Add "info
6293 2018-06-29 Pedro Alves <palves@redhat.com>
6295 * gdb.opt/inline-break.c (func1): Add "break here" marker.
6296 * gdb.opt/inline-break.exp: Test setting breakpoints by line
6297 number and address and running to them.
6299 2018-06-29 Richard Bunt <richard.bunt@arm.com>
6301 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
6303 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6305 * lib/compiler.c: Remove executable permission flag.
6307 2018-06-28 Richard Bunt <richard.bunt@arm.com>
6309 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
6311 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
6313 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
6315 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
6317 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
6319 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
6320 address argument is omitted.
6322 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
6324 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
6326 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
6329 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
6330 * gdb.base/infoline-reloc-main-from-zero.c: New file.
6332 2018-06-26 Tom Tromey <tom@tromey.com>
6335 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
6336 * gdb.rust/simple.rs (struct SimpleLayout): New.
6338 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
6340 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
6341 "info registers" output.
6343 2018-06-21 Richard Bunt <richard.bunt@arm.com>
6345 * gdb.base/watchpoint-hw-attach.c: New test.
6346 * gdb.base/watchpoint-hw-attach.exp: New file.
6348 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
6350 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
6352 * boards/dwarf4-gdb-index.exp: Likewise.
6353 * boards/fission-dwp.exp: Likewise.
6355 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
6357 * gdb.base/float128.exp: Add comment and improved fail message
6358 to the failure case of "print large128" test.
6360 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
6362 * configure.ac: Remove AC_PREREQ.
6363 * configure: Re-generate.
6365 2018-06-19 Pedro Alves <palves@redhat.com>
6367 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
6368 (func_extern_caller): New.
6369 (main): Call func_extern_caller.
6370 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
6373 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
6376 * gdb.cp/typedef-base.cc: New file.
6377 * gdb.cp/typedef-base.exp: New file.
6379 2018-06-18 Tom de Vries <tdevries@suse.de>
6381 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
6383 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
6384 Richard Bunt <Richard.Bunt@arm.com>
6386 * gdb.threads/attach-slow-waitpid.c: New file.
6387 * gdb.threads/attach-slow-waitpid.exp: New file.
6388 * gdb.threads/slow-waitpid.c: New file.
6390 2018-06-14 Pedro Alves <palves@redhat.com>
6392 * gdb.base/fork-running-state.c: Include <errno.h>.
6393 (exit_if_relative_exits): New.
6394 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
6396 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
6399 2018-06-14 Tom de Vries <tdevries@suse.de>
6402 * gdb.base/finish-pretty.c: New test.
6403 * gdb.base/finish-pretty.exp: New file.
6405 2018-06-14 Pedro Alves <palves@redhat.com>
6407 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
6408 gdb's expected startup output.
6410 2018-06-14 Pedro Alves <palves@redhat.com>
6412 * lib/selftest-support.exp (selftest_setup): Remove inlined
6415 2018-06-14 Tom de Vries <tdevries@suse.de>
6417 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
6418 matching of breakpoint printing.
6420 2018-06-13 Tom de Vries <tdevries@suse.de>
6423 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
6424 (fork_child): ... here, and ...
6425 (fork_parent): ... here.
6427 2018-06-12 Tom de Vries <tdevries@suse.de>
6429 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
6431 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
6432 Stephen Roberts <stephen.roberts@arm.com>
6434 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
6435 rewrite test to describe action performed, rather than possible
6438 2018-06-08 Gary Benson <gbenson@redhat.com>
6440 * gdb.threads/check-libthread-db.exp: New file.
6441 * gdb.threads/check-libthread-db.c: Likewise.
6443 2018-06-05 Tom Tromey <tom@tromey.com>
6445 * gdb.base/default.exp: Update expected "show version" output.
6447 2018-06-05 Tom Tromey <tom@tromey.com>
6450 * gdb.cp/static-print-quit.exp: Update.
6451 * lib/gdb.exp (pagination_prompt): Update.
6452 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
6453 * gdb.python/python.exp: Update.
6455 2018-06-04 Joel Brobecker <brobecker@adacore.com>
6457 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
6459 2018-06-01 Joel Brobecker <brobecker@adacore.com>
6461 * gdb.ada/bp_fun_addr: New testcase.
6463 2018-06-01 Tom Tromey <tom@tromey.com>
6465 * gdb.xml/tdesc-regs.exp (load_description): Update expected
6467 * gdb.dwarf2/method-ptr.exp: Set language to C++.
6468 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
6469 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
6470 * gdb.base/maint.exp (maint_pass_if): Update.
6472 2018-05-31 Maciej W. Rozycki <macro@mips.com>
6474 * gdb.base/endian.exp: New test.
6475 * gdb.base/endian.c: New test source.
6477 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
6480 * gdb.base/bt-selected-frame.c: New file.
6481 * gdb.base/bt-selected-frame.exp: New file.
6482 * lib/gdb.exp (get_current_frame_number): New function.
6484 2018-05-24 Maciej W. Rozycki <macro@mips.com>
6485 Pedro Alves <palves@redhat.com>
6487 * gdb.threads/tls-core.c: Include <stdlib.h>
6488 (thread_proc): Call `abort'.
6489 * gdb.threads/tls-core.exp: Generate a core with core_find too.
6490 (tls_core_test): New procedure, bits factored out from ...
6491 (top level): ... here. Test both native cores and gcore cores.
6493 2018-05-23 Tom Tromey <tom@tromey.com>
6495 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
6497 2018-05-23 Tom Tromey <tom@tromey.com>
6499 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
6501 (test_short_complaints): Likewise.
6502 (test_empty_complaints): Likewise.
6503 (test_initial_complaints): Update.
6505 2018-05-23 Tom Tromey <tom@tromey.com>
6507 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
6509 2018-05-23 Tom Tromey <tom@tromey.com>
6511 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
6512 (test_short_complaints): Update.
6514 2018-05-22 Pedro Alves <palves@redhat.com>
6516 * gdb.base/remote.exp: Only gdb_start after compiling the
6517 testcase. Issue "disconnect" before testing "set remote" command
6518 defaults. Issue clean_restart before running to main.
6520 2018-05-22 Pedro Alves <palves@redhat.com>
6522 * gdb.base/remote.exp: Adjust expected output of "show remote
6523 memory-write-packet-size". Add tests for "set remote
6524 memory-write-packet-size 0" and "set remote
6525 memory-write-packet-size fixed/limit".
6527 2018-05-22 Pedro Alves <palves@redhat.com>
6530 * gdb.base/utf8-identifiers.c: New file.
6531 * gdb.base/utf8-identifiers.exp: New file.
6533 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
6535 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
6537 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
6539 * gdb.arch/powerpc-vsx-gcore.exp: New file.
6541 2018-05-18 Tom Tromey <tom@tromey.com>
6543 * gdb.base/ptype-offsets.exp: Update.
6545 2018-05-17 Keith Seitz <keiths@redhat.com>
6547 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
6548 in expected breakpoint stop locations.
6549 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
6550 move to proper scope to test variable values.
6551 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
6552 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
6554 (main): Call not_inline_func3.
6555 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
6556 inline_func1, inline_func2, and inline_func3. Test that when each
6557 breakpoint is hit, GDB properly reports both the stop location
6558 and the backtrace. Repeat tests for temporary breakpoints.
6560 2018-05-15 Maciej W. Rozycki <macro@mips.com>
6562 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
6563 rather then trying to access it in determining whether the PID
6564 of `gdbserver' could have been retrieved.
6566 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
6568 * gdb.arch/amd64-init-x87-values.S: New file.
6569 * gdb.arch/amd64-init-x87-values.exp: New file.
6571 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6573 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
6575 2018-05-04 Tom Tromey <tom@tromey.com>
6578 * gdb.python/python.exp: Test multi-line execute.
6580 2018-05-04 Tom Tromey <tom@tromey.com>
6583 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
6585 2018-05-04 Tom Tromey <tom@tromey.com>
6588 * gdb.base/define.exp: Test defining a user command inside a user
6590 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
6592 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6593 Pedro Alves <palves@redhat.com>
6595 PR breakpoints/19806 and support for PR external/20207.
6596 * gdb.base/watchpoint-unaligned.c: New file.
6597 * gdb.base/watchpoint-unaligned.exp: New file.
6599 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
6601 * gdb.base/maint.exp: Make test names unique, use
6602 test_prefix_command_help to test 'help maint info', and remove
6603 repeated test of 'help maint'.
6605 2018-05-04 Tom Tromey <tom@tromey.com>
6608 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
6611 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
6613 * gdb.base/maint.exp: Process output from 'maint print registers'
6616 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
6618 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
6621 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
6623 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
6626 2018-05-02 Pedro Alves <palves@redhat.com>
6628 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
6629 to_log_command renames.
6630 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
6632 2018-05-02 Tom Tromey <tom@tromey.com>
6634 * gdb.python/py-parameter.exp: Set test message.
6636 2018-05-02 Tom Tromey <tom@tromey.com>
6639 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
6640 PARAM_ZUINTEGER_UNLIMITED tests.
6642 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
6645 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
6648 2018-04-30 Tom Tromey <tom@tromey.com>
6650 * gdb.python/py-type.exp: Check align attribute.
6651 * gdb.python/py-type.c: New "aligncheck" global.
6653 2018-04-30 Tom Tromey <tom@tromey.com>
6656 * gdb.dwarf2/dw2-align.exp: New file.
6657 * gdb.cp/align.exp: New file.
6658 * gdb.base/align.exp: New file.
6659 * lib/gdb.exp (gdb_int128_helper): New proc.
6660 (has_int128_c, has_int128_cxx): New caching procs.
6662 2018-04-27 Tom Tromey <tom@tromey.com>
6665 * gdb.rust/simple.exp: Add inclusive range tests.
6667 2018-04-26 Pedro Alves <palves@redhat.com>
6669 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
6670 ifunc breakpoint locations correctly of ifunc breakpoints set
6671 while the program resolves the ifunc.
6673 2018-04-26 Pedro Alves <palves@redhat.com>
6675 * gdb.base/gnu-ifunc-final.c: New file.
6676 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
6677 * gdb.base/gnu-ifunc.exp (executable): Delete.
6678 (staticexecutable): Adjust.
6679 (lib_opts, exec_opts): Delete.
6680 (make_binsuffix, build, set-break): New procedures.
6681 (misc_tests): New, with tests factored out from the top level.
6682 (top level): Test different combinations of ifunc resolver name,
6683 resolver with and with debug info, and ifunc target with and
6684 without debug info. Wrap static tests with with_target_prefix.
6686 2018-04-26 Pedro Alves <palves@redhat.com>
6688 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
6689 return type" warnings.
6691 2018-04-25 Pedro Alves <palves@redhat.com>
6693 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
6695 * gdb.base/kill-after-signal.exp: Likewise.
6696 * gdb.threads/kill.exp: Likewise.
6698 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6699 Sergio Durigan Junior <sergiodj@redhat.com>
6700 Pedro Alves <palves@redhat.com>
6702 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
6703 regexps to expect for '[Inferior ... detached]' as well.
6704 * gdb.base/attach.exp: Likewise.
6705 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
6706 "gdb_continue_to_end".
6707 (test_catch_syscall_with_wrong_args): Likewise.
6708 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
6709 ']'. Don't set 'verbose' on.
6710 * gdb.base/foll-vfork.exp: Likewise.
6711 * gdb.base/fork-print-inferior-events.c: New file.
6712 * gdb.base/fork-print-inferior-events.exp: New file.
6713 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
6714 '[Inferior ... has been killed]' message.
6715 * gdb.base/kill-after-signal.exp: Likewise.
6716 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
6718 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
6720 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
6721 regexps to expect for '[Inferior ... detached]' as well.
6722 * gdb.threads/process-dies-while-detaching.exp: Likewise.
6724 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
6727 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
6729 2018-04-22 Rajendra SY <rajendra.sy@gmail.com>
6732 * gdb.base/break-probes.exp: Pass shlib_load to
6733 prepare_for_testing. Set normal_bp to r_debug_state if target is
6736 2018-04-19 Richard Bunt <richard.bunt@arm.com>
6738 * gdb.threads/multiple-successive-infcall.c: New test.
6739 * gdb.threads/multiple-successive-infcall.exp: New file.
6741 2018-04-17 Tom Tromey <tom@tromey.com>
6743 * gdb.rust/simple.rs (Union): New type.
6744 (main): New local "u".
6745 * gdb.rust/simple.exp (test_one_slice): Add new test case.
6747 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6749 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
6750 number information in output of "whereis" command.
6751 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
6753 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6755 * gdb.ada/info_types.exp: Adjust expected output to the line
6756 numbers now printed by "info var/func/type".
6757 * gdb.base/completion.exp: Likewise.
6758 * gdb.base/included.exp: Likewise.
6759 * gdb.cp/cp-relocate.exp: Likewise.
6760 * gdb.cp/cplusfuncs.exp: Likewise.
6761 * gdb.cp/namespace.exp: Likewise.
6762 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
6764 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
6766 * gdb.btrace/cpu.exp: New.
6768 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
6770 * gdb.base/step-indirect-call-thunk.exp: New.
6771 * gdb.base/step-indirect-call-thunk.c: New.
6772 * gdb.reverse/step-indirect-call-thunk.exp: New.
6773 * gdb.reverse/step-indirect-call-thunk.c: New.
6775 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
6777 * gdb.base/pie-fork.c: New file.
6778 * gdb.base/pie-fork.exp: New file.
6780 2018-04-11 Tom Tromey <tom@tromey.com>
6782 * gdb.rust/simple.exp: Add test for ".." struct initializer.
6784 2018-04-10 Pedro Alves <palves@redhat.com>
6786 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
6787 exits. Instead loop running forever.
6788 (fork_parent): Run forever too.
6790 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
6792 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
6793 mi_continue_to_line.
6794 * gdb.mi/mi-stack.c (callee4): Add comment.
6796 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
6798 * gdb.mi/mi-stack.exp: Fix indentation.
6800 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
6803 * gdb.arch/amd64-osabi.exp: New file.
6805 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
6808 * gdb.base/osabi.exp: New file.
6810 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
6812 * gdb.cp/static-typedef-print.exp: New file.
6813 * gdb.cp/static-typedef-print.cc: New file.
6815 2018-03-27 Joel Brobecker <brobecker@adacore.com>
6817 * gdb.ada/varsize_limit: New testcase.
6819 2018-03-27 Joel Brobecker <brobecker@adacore.com>
6821 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
6823 * gdb.ada/notcplusplus: New testcase.
6825 * gdb.base/c-linkage-name.c: New file.
6826 * gdb.base/c-linkage-name.exp: New testcase.
6828 2018-03-26 Tom Tromey <tom@tromey.com>
6830 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
6831 * gdb.python/py-framefilter.py (name_error): New global.
6832 (ErrorInName.function): Use name_error.
6834 2018-03-26 Tom Tromey <tom@tromey.com>
6837 * gdb.python/py-framefilter.exp: Add "bt hide" test.
6839 2018-03-23 Keith Seitz <keiths@redhat.com>
6842 * gdb.cp/subtypes.exp: New file.
6843 * gdb.cp/subtypes.h: New file.
6844 * gdb.cp/subtypes.cc: New file.
6845 * gdb.cp/subtypes-2.cc: New file.
6847 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
6849 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
6850 (done): Call '_exit' not 'exit' to avoid atexit handlers.
6851 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
6852 -nostartfiles when compiling the test. Confirm that all registers
6853 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
6855 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
6857 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
6858 option, syntax was wrong anyway.
6859 * gdb.arch/arm-disp-step.exp: Likewise.
6860 * gdb.arch/sparc64-regs.exp: Likewise.
6861 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
6862 option, syntax was wrong anyway, switch to use
6863 prepare_for_testing.
6864 * gdb.arch/i386-disp-step.exp: Likewise.
6866 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
6868 * gdb.ada/exec_changed.exp: Replace "target_info exists
6869 use_gdb_stub" by "use_gdb_stub".
6870 * gdb.ada/start.exp: Likewise.
6871 * gdb.base/async-shell.exp: Likewise.
6872 * gdb.base/attach-pie-misread.exp: Likewise.
6873 * gdb.base/attach-wait-input.exp: Likewise.
6874 * gdb.base/break-entry.exp: Likewise.
6875 * gdb.base/break-interp.exp: Likewise.
6876 * gdb.base/dprintf-detach.exp: Likewise.
6877 * gdb.base/nostdlib.exp: Likewise.
6878 * gdb.base/solib-nodir.exp: Likewise.
6879 * gdb.base/statistics.exp: Likewise.
6880 * gdb.base/testenv.exp: Likewise.
6881 * gdb.mi/mi-exec-run.exp: Likewise.
6882 * gdb.mi/mi-start.exp: Likewise.
6883 * gdb.multi/dummy-frame-restore.exp: Likewise.
6884 * gdb.multi/multi-arch-exec.exp: Likewise.
6885 * gdb.multi/multi-arch.exp: Likewise.
6886 * gdb.multi/tids.exp: Likewise.
6887 * gdb.multi/watchpoint-multi.exp: Likewise.
6888 * gdb.python/py-events.exp: Likewise.
6889 * gdb.threads/attach-into-signal.exp: Likewise.
6890 * gdb.threads/attach-stopped.exp: Likewise.
6891 * gdb.threads/threadapply.exp: Likewise.
6892 * lib/selftest-support.exp: Likewise.
6894 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
6896 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
6898 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
6900 * gdb.perf/template-breakpoints.cc: New file.
6901 * gdb.perf/template-breakpoints.exp: New file.
6902 * gdb.perf/template-breakpoints.py: New file.
6904 2018-03-19 Tom Tromey <tom@tromey.com>
6906 * gdb.rust/simple.rs (main): Add local variables field1, field2,
6908 * gdb.rust/simple.exp: Test bare identifier form of struct
6911 2018-03-19 Tom Tromey <tom@tromey.com>
6913 * gdb.gdb/observer.exp: Remove.
6915 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6917 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
6918 "qualified" option when setting breakpoints.
6919 * gdb.trace/backtrace.exp: Likewise.
6920 * gdb.trace/circ.exp: Likewise.
6921 * gdb.trace/collection.exp: Likewise.
6922 * gdb.trace/disconnected-tracing.exp: Likewise.
6923 * gdb.trace/ftrace-lock.exp: Likewise.
6924 * gdb.trace/ftrace.exp: Likewise.
6925 * gdb.trace/infotrace.exp: Likewise.
6926 * gdb.trace/packetlen.exp: Likewise.
6927 * gdb.trace/passc-dyn.exp: Likewise.
6928 * gdb.trace/qtro.exp: Likewise.
6929 * gdb.trace/read-memory.exp: Likewise.
6930 * gdb.trace/report.exp: Likewise.
6931 * gdb.trace/signal.exp: Likewise.
6932 * gdb.trace/status-stop.exp: Likewise.
6933 * gdb.trace/strace.exp: Likewise.
6934 * gdb.trace/tfind.exp: Likewise.
6935 * gdb.trace/trace-break.exp: Likewise.
6936 * gdb.trace/trace-condition.exp: Likewise.
6937 * gdb.trace/trace-mt.exp: Likewise.
6938 * gdb.trace/tstatus.exp: Likewise.
6939 * gdb.trace/tsv.exp: Likewise.
6940 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
6941 * gdb.trace/unavailable.exp: Likewise.
6942 * gdb.trace/while-dyn.exp: Likewise.
6944 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6946 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
6947 that libinproctrace is copied to the target.
6949 2018-03-14 Tom Tromey <tom@tromey.com>
6952 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
6954 * gdb.base/wchar.exp: Likewise.
6956 2018-03-14 Tom Tromey <tom@tromey.com>
6959 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
6962 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
6965 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
6966 "target" to remote_exec.
6968 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
6971 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
6972 ${board}_upload): Remove.
6974 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
6976 * gdb.cp/watch-cp.cc: New test.
6977 * gdb.cp/watch-cp.exp: New file.
6979 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6981 * gdb.base/infcall-nested-structs.exp: New file.
6982 * gdb.base/infcall-nested-structs.c: New file.
6983 * gdb.base/float.exp: Add riscv support.
6985 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
6987 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
6988 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
6990 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
6992 * gdb.server/abspath.exp: New file.
6993 * lib/gdb.exp (with_cwd): New procedure.
6995 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
6997 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
6999 (gdb_is_target_remote_prompt): New proc.
7000 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
7001 (gdb_is_target_native): Pass prompt parameter to
7004 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
7006 * gdb.base/load-command.c: New file.
7007 * gdb.base/load-command.exp: New file.
7008 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
7009 (gdb_is_target_1): ...this, and generalize for other targets
7011 (gdb_is_target_remote): Use gdb_is_target_1.
7012 (gdb_is_target_native): use gdb_is_target_1.
7014 2018-02-26 Tom Tromey <tom@tromey.com>
7017 * gdb.python/py-framefilter.exp: Update test.
7019 2018-02-26 Tom Tromey <tom@tromey.com>
7021 * gdb.dwarf2/variant.c: New file.
7022 * gdb.dwarf2/variant.exp: New file.
7024 2018-02-26 Tom Tromey <tom@tromey.com>
7026 * gdb.rust/simple.exp: Accept more possible results in enum test.
7028 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
7030 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
7033 2018-02-23 Maciej W. Rozycki <macro@mips.com>
7035 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
7036 name of a variable: $actual_linejj -> $actual_line.
7038 2018-02-21 John Baldwin <jhb@FreeBSD.org>
7040 * gdb.arch/amd64-i386-address.exp: Fix a typo.
7042 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
7044 * gdb.btrace/buffer-size.exp: Do not force BTS.
7046 2018-02-14 Pedro Alves <palves@redhat.com>
7048 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
7051 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
7053 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
7056 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
7058 * gdb.cp/m-static.exp: Check type of optimized out static
7061 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
7063 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
7064 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
7066 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
7067 Leszek Swirski <leszeks@google.com>
7069 * gdb.python/py-prettyprint.c
7070 (struct to_string_returns_value_inner,
7071 struct to_string_returns_value_wrapper): New.
7072 (main): Add tsrvw variable.
7073 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
7074 ToStringReturnsValueWrapper): New classes.
7075 (register_pretty_printers): Register new pretty-printers.
7076 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
7077 recursive pretty printer.
7078 * gdb.python/py-mi.exp: Likewise.
7080 2018-02-01 Leszek Swirski <leszeks@google.com>
7082 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
7083 functions with the same name as an include file are parsed
7086 2018-02-01 Yao Qi <yao.qi@linaro.org>
7088 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
7091 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
7093 * gdb.arch/powerpc-prologue-frame.s: New file.
7094 * gdb.arch/powerpc-prologue-frame.c: Likewise.
7095 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
7097 2018-01-31 Joel Brobecker <brobecker@adacore.com>
7099 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
7101 2018-01-30 Pedro Alves <palves@redhat.com>
7104 * gdb.base/interrupt-daemon.c: New.
7105 * gdb.base/interrupt-daemon.exp: New.
7106 * gdb.multi/multi-term-settings.c: New.
7107 * gdb.multi/multi-term-settings.exp: New.
7109 2018-01-30 Joel Brobecker <brobecker@adacore.com>
7111 * gdb.base/break.exp: Save the location where the breakpoint
7112 on break.c:47 was actually inserted when debugging the version
7113 compiled at -O2 and use it in the expected output of the "info
7114 break" test performed soon after.
7116 2018-01-22 Pedro Alves <palves@redhat.com>
7117 Sergio Durigan Junior <sergiodj@redhat.com>
7119 * gdb.base/whatis.exp: Add tests for 'set print object on' +
7120 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
7122 2018-01-22 Joel Brobecker <brobecker@adacore.com>
7124 * gdb.base/break-include.c, gdb.base/break-include.inc,
7125 gdb.base/break-include.exp: New files.
7126 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
7127 line number now being the actual line number where the breakpoint
7129 * gdb.mi/mi-break.exp: Likewise.
7130 * gdb.mi/mi-reverse.exp: Likewise.
7131 * gdb.mi/mi-simplerun.exp: Ditto.
7133 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
7135 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
7137 * gdb.mi/mi-var-create-rtti.exp: Likewise.
7139 2018-01-21 Don Breazeal <donb@codesourcery.com>
7140 Andrew Burgess <andrew.burgess@embecosm.com>
7142 * gdb.mi/basics.c: Add new global.
7143 * gdb.mi/mi-frame-regs.exp: New file.
7144 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
7147 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
7149 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
7150 non-parameter, and on an unknown symbol.
7152 2018-01-19 Tom Tromey <tom@tromey.com>
7154 * gdb.rust/modules.rs (TWENTY_THREE): New global.
7155 * gdb.rust/modules.exp: Add ::-qualified lookup test.
7157 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7159 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
7160 setrlimit and chdir to int.
7162 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7164 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
7166 (my_tend): Likewise.
7167 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
7168 rationale of avoiding FP- and vector instructions.
7170 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
7172 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
7173 "info reg" with "\[ \t\]*".
7174 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
7176 * gdb.arch/s390-multiarch.exp: Ditto.
7177 * gdb.base/pc-fp.exp: Ditto.
7178 * gdb.reverse/i386-precsave.exp: Ditto.
7179 * gdb.reverse/i386-reverse.exp: Ditto.
7180 * gdb.reverse/i387-env-reverse.exp: Ditto.
7181 * gdb.reverse/i387-stack-reverse.exp: Ditto.
7183 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
7185 * lib/gdb.exp (gdb_compile): Re-enable use of
7186 universal_compile_options for languages other than Rust.
7188 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
7190 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
7192 2018-01-17 Mike Gulick <mgulick@mathworks.com>
7195 * gdb.base/solib-vanish.exp: New.
7196 * gdb.base/solib-vanish-main.c: New.
7197 * gdb.base/solib-vanish-lib1.c: New.
7198 * gdb.base/solib-vanish-lib2.c: New.
7200 2018-01-17 Yao Qi <yao.qi@linaro.org>
7202 * gdb.compile/compile.exp: Match the address printed for
7203 frame in the output of command "bt".
7205 2018-01-15 Tom Tromey <tom@tromey.com>
7207 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
7210 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
7212 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
7214 (prepare): Return 0 on error, 1 on success.
7216 2018-01-12 Pedro Alves <palves@redhat.com>
7218 * gdb.base/continue-after-aborted-step-over.c: New.
7219 * gdb.base/continue-after-aborted-step-over.exp: New.
7221 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
7223 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
7224 options when not creating an executable.
7226 2018-01-11 Pedro Alves <palves@redhat.com>
7229 * gdb.server/stop-reply-no-thread.c: New file.
7230 * gdb.server/stop-reply-no-thread.exp: New file.
7232 2018-01-10 Pedro Alves <palves@redhat.com>
7235 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
7236 functions too. Test setting breakpoints and printing C functions
7237 with no debug info too.
7238 * gdb.ada/bp_c_mixed_case/qux.c: New file.
7240 2018-01-10 Pedro Alves <palves@redhat.com>
7243 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
7246 2018-01-10 Pedro Alves <palves@redhat.com>
7249 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
7251 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
7253 * gdb.server/unittest.exp: Match the output in non-development
7256 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
7258 * gdb.gdb/unittest.exp: Match output in non-development mode.
7260 2018-01-08 Joel Brobecker <brobecker@adacore.com>
7262 * gdb.ada/access_tagged_param.exp: Relax expected output
7263 for value of "ObjL" in "continue" to pck.inspect breakpoint
7266 2018-01-08 Joel Brobecker <brobecker@adacore.com>
7268 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
7269 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
7271 2018-01-05 Pedro Alves <palves@redhat.com>
7274 * gdb.base/libsegfault.exp: New.
7276 2018-01-05 Joel Brobecker <brobecker@adacore.com>
7279 * gdb.ada/access_tagged_param.exp: New file.
7280 * gdb.ada/access_tagged_param/foo.adb: New file.
7282 2018-01-05 Pedro Alves <palves@redhat.com>
7285 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
7286 exercise lower case too, and to exercise both full matching and
7289 2018-01-05 Joel Brobecker <brobecker@adacore.com>
7291 * gdb.ada/rename_subscript_param: New testcase.
7293 2018-01-05 Jerome Guitton <guitton@adacore.com>
7295 * gdb.ada/arr_acc_idx_w_gap: New testcase.
7297 2018-01-05 Joel Brobecker <brobecker@adacore.com>
7299 * gdb.ada/convvar_comp: New testcase.
7301 2018-01-05 Xavier Roirand <roirand@adacore.com>
7303 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
7304 (My_Table): New global variable.
7305 * testsuite/gdb.ada/array_char_idx.exp: Add test.
7307 2018-01-04 Joel Brobecker <brobecker@adacore.com>
7310 * gdb.ada/maint_with_ada: New testcase.
7312 2018-01-04 Joel Brobecker <brobecker@adacore.com>
7315 * gdb.ada/bp_c_mixed_case: New testcase.
7317 2018-01-04 Joel Brobecker <brobecker@adacore.com>
7320 * gdb.ada/complete.exp: Add "complete break ada" test.
7322 2018-01-04 Joel Brobecker <brobecker@adacore.com>
7325 * gdb.ada/info_addr_mixed_case: New testcase.
7327 2018-01-03 Xavier Roirand <roirand@adacore.com>
7329 * gdb.ada/excep_handle.exp: New testcase.
7330 * gdb.ada/excep_handle/foo.adb: New file.
7331 * gdb.ada/excep_handle/pck.ads: New file.
7333 2018-01-03 Joel Brobecker <brobecker@adacore.com>
7335 * gdb.base/step-line.c: Add extra empty line in copyright header.
7336 * gdb.base/step-line.inp: Likewise.
7338 2018-01-02 Joel Brobecker <brobecker@adacore.com>
7340 * gdb.ada/dyn_stride.exp: Add slice test.
7342 2018-01-02 Joel Brobecker <brobecker@adacore.com>
7344 * gdb.ada/dyn_stride: New testcase.
7346 2017-12-27 Stafford Horne <shorne@gmail.com>
7348 * gdb.xml/extra-regs.xml: Add example foo reggroup.
7349 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
7351 2017-12-27 Stafford Horne <shorne@gmail.com>
7353 * gdb.base/reggroups.c: New file.
7354 * gdb.base/reggroups.exp: New file.
7356 2017-12-18 Joel Brobecker <brobecker@adacore.com>
7358 * gdb.dwarf2/ada-valprint-error.c: New file.
7359 * gdb.dwarf2/ada-valprint-error.exp: New file.
7361 2017-12-18 Joel Brobecker <brobecker@adacore.com>
7363 * gdb.ada/assign_arr: New testcase.
7365 2017-12-18 Xavier Roirand <roirand@adacore.com>
7367 * gdb.ada/funcall_ptr: New testcase.
7369 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
7372 * gdb.base/ptype-offsets.cc: New file.
7373 * gdb.base/ptype-offsets.exp: New file.
7375 2017-12-15 Yao Qi <yao.qi@linaro.org>
7377 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
7380 2017-12-15 Xavier Roirand <roirand@adacore.com>
7382 * gdb.ada/same_component_name: New testcase.
7384 2017-12-14 Joel Brobecker <brobecker@adacore.com>
7386 * gdb.ada/str_binop_equal: New testcase.
7388 2017-12-14 Joel Brobecker <brobecker@adacore.com>
7390 * gdb.ada/task_switch_in_core: New testcase.
7392 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
7394 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
7395 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
7396 call test_bkpt_qualified.
7397 (test_bkpt_qualified): New proc.
7399 2017-12-13 Pedro Alves <palves@redhat.com>
7401 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
7402 Tighten regexp by matching with an anchor.
7404 2017-12-13 Pedro Alves <palves@redhat.com>
7406 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
7407 ("expression with namespace"): New set of tests.
7408 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
7409 (Nested::Test_NS::qux): New.
7410 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
7411 defaults to 'start_quote_char' and 'end_quote_char' parameters.
7413 2017-12-13 Joel Brobecker <brobecker@adacore.com>
7415 * gdb.base/server-del-break.c: New file.
7416 * gdb.base/server-del-break.exp: New file.
7418 2017-12-12 Stafford Horne <shorne@gmail.com>
7420 * gdb.xml/tdesc-regs.exp: Add or1k support.
7422 2017-12-12 Stafford Horne <shorne@gmail.com>
7424 * gdb.base/bp-permanent.c: Define nop of or1k.
7426 2017-12-11 Joel Brobecker <brobecker@adacore.com>
7428 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
7429 output with components being reordered.
7431 2017-12-11 Joel Brobecker <brobecker@adacore.com>
7433 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
7434 output with components being reordered.
7436 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7437 Pedro Alves <palves@redhat.com>
7439 * gdb.base/maint.exp (check for .gdb_index): Check also for
7441 * gdb.dlang/watch-loc.c (.debug_aranges): New.
7442 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
7443 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
7444 (.gdb_index used after symbol reloading): Support also .debug_names.
7445 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
7447 2017-12-08 Yao Qi <yao.qi@linaro.org>
7449 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
7450 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
7452 2017-12-08 Yao Qi <yao.qi@linaro.org>
7454 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
7455 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
7457 2017-12-08 Yao Qi <yao.qi@linaro.org>
7459 * gdb.arch/aarch64-tagged-pointer.c: New file.
7460 * gdb.arch/aarch64-tagged-pointer.exp: New file.
7462 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
7464 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
7467 2017-12-07 Keith Seitz <keiths@redhat.com>
7469 PR breakpoints/22569
7470 * gdb.linespec/ls-errs.exp: Change expected result of "break
7471 -source this file has spaces.c -line 3".
7472 Check that an explicit source file followed by whitespace is
7473 identified as an invalid explicit location.
7475 2017-12-07 Keith Seitz <keiths@redhat.com>
7477 * gdb.cp/nested-types.cc: New file.
7478 * gdb.cp/nested-types.exp: New file.
7479 * lib/cp-support.exp: Load data-structures.exp library.
7480 (debug_cp_test_ptype_class): New global.
7481 (cp_ptype_class_verbose, next_line): New procedures.
7482 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
7483 Add and document new return value.
7484 Switch the list of lines to a queue.
7485 Add support for new `type' key for nested type definitions.
7486 Add debugging/troubleshooting messages.
7487 * lib/data-structures.exp: New file.
7489 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
7491 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
7492 with proc_with_prefix, don't use with_test_prefix.
7494 2017-12-07 Tom Tromey <tom@tromey.com>
7496 * gdb.base/break.exp: Add test for empty "commands".
7498 2017-12-07 Yao Qi <yao.qi@linaro.org>
7500 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
7501 malloc and catch syscall.
7503 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
7505 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
7506 tests for explicit locations.
7508 2017-12-06 Pedro Alves <palves@redhat.com>
7510 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
7511 force-disabling XML descriptions.
7513 2017-12-04 Pedro Alves <palves@redhat.com>
7516 * gdb.arch/amd64-disp-step-avx.S: New file.
7517 * gdb.arch/amd64-disp-step-avx.exp: New file.
7519 2017-12-03 Pedro Alves <palves@redhat.com>
7521 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
7523 (parent_function): Print distinct messages when waitpid fails, or
7524 the child exits with a signal, or the child exits for an unhandled
7526 * gdb.threads/process-dies-while-detaching.exp
7527 (detach_and_expect_exit): New 'inf_output_re' parameter and use
7528 it. Wait for both inferior output and GDB's prompt. Use an
7529 indirect spawn id list.
7530 (do_detach): New parameter 'child_exit'. Use it to compute
7531 expected inferior output.
7532 (test_detach, test_detach_watch, test_detach_killed_outside):
7533 Adjust to pass down the expected child exit kind.
7535 2017-12-01 Joel Brobecker <brobecker@adacore.com>
7536 Sergio Durigan Junior <sergiodj@redhat.com>
7537 Pedro Alves <palves@redhat.com>
7539 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
7541 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
7543 * gdb.base/relocate.exp: Add tests to guarantee that arguments
7544 to 'symbol-file' and 'add-symbol-file' can be
7545 position-independent.
7547 2017-12-01 Yao Qi <yao.qi@linaro.org>
7549 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
7550 the URL in copyright header.
7551 * gdb.arch/aarch64-fp.exp: Likewise.
7552 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
7553 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
7554 * gdb.base/expand-psymtabs.exp: Likewise.
7555 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
7556 * gdb.fortran/common-block.exp: Likewise.
7557 * gdb.fortran/common-block.f90: Likewise.
7558 * gdb.fortran/logical.exp: Likewise.
7559 * gdb.fortran/vla-datatypes.f90: Likewise.
7560 * gdb.fortran/vla-sub.f90: Likewise.
7562 2017-11-30 Joel Brobecker <brobecker@adacore.com>
7564 * gdb.ada/repeat_dyn: New testcase.
7566 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
7568 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
7569 Update for changed thread numbering.
7570 * gdb.cell/bt.exp: Update for changed GDB output.
7572 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
7574 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
7575 setting isremote by hand.
7576 * boards/dwarf4-gdb-index.exp: Likewise.
7577 * boards/fission.exp: Likewise.
7578 * boards/stabs.exp: Likewise.
7580 2017-11-30 Pedro Alves <palves@redhat.com>
7582 * gdb.linespec/cpls-ops.exp
7583 (check_explicit_skips_function_argument): Extract the underlying
7584 type of size_t instead of hardcoding it.
7586 2017-11-29 Pedro Alves <palves@redhat.com>
7589 * gdb.linespec/cpls-abi-tag.cc: New file.
7590 * gdb.linespec/cpls-abi-tag.exp: New file.
7592 2017-11-29 Pedro Alves <palves@redhat.com>
7594 * gdb.base/langs.exp: Use -qualified.
7595 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
7597 * gdb.cp/namespace.exp: Use -qualified.
7598 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
7599 (overload-3, template-overload, template-ret-type, const-overload)
7600 (const-overload-quoted, anon-ns, ambiguous-prefix): New
7602 (test_driver): Call them.
7603 * gdb.cp/save-bp-qualified.cc: New.
7604 * gdb.cp/save-bp-qualified.exp: New.
7605 * gdb.linespec/explicit.exp: Test -qualified.
7606 * lib/completion-support.exp (completion::explicit_opts_list): Add
7608 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
7610 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
7612 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
7614 2017-11-29 Tom Tromey <tom@tromey.com>
7616 * gdb.base/relocate.exp: Update invalid argument test.
7617 Add new tests for invalid arguments.
7619 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
7621 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
7623 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
7625 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
7627 * gdb.cp/breakpoint.cc (bar): Set return type to void.
7628 * gdb.cp/psymtab-parameter.cc (func): Likewise.
7629 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
7631 * gdb.cp/shadow.cc (B.func): Return 0.
7633 2017-11-27 Joel Brobecker <brobecker@adacore.com>
7635 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
7636 expected output in gdb_expect call to allow the exception
7637 message to be present as well. Fix syntax confusion to avoid
7638 TCL thinking that exception_name is an array.
7640 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
7642 * gdb.arch/spu-info.c: Include <unistd.h>.
7643 (do_signal_test): Fix broken calls to write.
7644 * gdb.arch/spu-info.exp: Use prepare_for_testing.
7645 Fix checks for empty mailboxes. Update signal tests for corrected
7646 do_signal_test routine. Allow nonzero event status.
7647 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
7648 * gdb.cell/arch.exp: Use standard_output_file.
7649 * gdb.cell/break.exp: Likewise.
7650 * gdb.cell/bt.exp: Likewise.
7651 * gdb.cell/core.exp: Likewise.
7652 * gdb.cell/dwarfaddr.exp: Likewise.
7653 * gdb.cell/ea-cache.exp: Likewise.
7654 * gdb.cell/ea-standalone.exp: Likewise.
7655 * gdb.cell/f-regs.exp: Likewise.
7656 * gdb.cell/fork.exp: Likewise.
7657 * gdb.cell/gcore.exp: Likewise.
7658 * gdb.cell/mem-access.exp: Likewise.
7659 * gdb.cell/ptype.exp: Likewise.
7660 * gdb.cell/registers.exp: Likewise.
7661 * gdb.cell/sizeof.exp: Likewise.
7662 * gdb.cell/solib-symbol.exp: Likewise.
7663 * gdb.cell/solib.exp: Likewise.
7665 2017-11-25 Pedro Alves <palves@redhat.com>
7667 * gdb.base/complete-empty.exp: New file.
7668 * gdb.base/completion.exp: Adjust.
7670 2017-11-25 Pedro Alves <palves@redhat.com>
7672 * gdb.linespec/cpls-ops.cc: New file.
7673 * gdb.linespec/cpls-ops.exp: New file.
7674 * lib/completion-support.exp (test_complete_prefix_range_re): New,
7675 factored out from ...
7676 (test_complete_prefix_range): ... this.
7678 2017-11-24 Pedro Alves <palves@redhat.com>
7680 * gdb.linespec/cpcompletion.exp: New file.
7681 * gdb.linespec/cpls-hyphen.cc: New file.
7682 * gdb.linespec/cpls.cc: New file.
7683 * gdb.linespec/cpls2.cc: New file.
7684 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
7685 test to use test_gdb_complete_unique. Add label completion,
7686 keyword completion and explicit location completion tests.
7687 * lib/completion-support.exp: New file.
7689 2017-11-24 Joel Brobecker <brobecker@adacore.com>
7691 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
7692 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
7693 when hitting an exception catchpoint.
7695 2017-11-22 Yao Qi <yao.qi@linaro.org>
7697 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
7699 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
7701 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
7702 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
7703 * gdb.dwarf2/info-locals-optimized-out.c: New file.
7705 2017-11-22 Yao Qi <yao.qi@linaro.org>
7707 * gdb.base/info-os.exp: Pass pthreads.
7708 * gdb.multi/multi-attach.exp: Likewise.
7710 2017-11-22 Yao Qi <yao.qi@linaro.org>
7712 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
7715 2017-11-22 Yao Qi <yao.qi@linaro.org>
7717 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
7718 * gdb.base/break-interp.exp: Likewise.
7719 * gdb.base/jit-attach-pie.exp: Likewise.
7721 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
7723 * gdb.base/float128.c (large128): New variable.
7724 * gdb.base/float128.exp: Add test to print largest __float128 value.
7726 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
7728 * gdb.arch/vsx-regs.exp: Update register content checks.
7730 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
7732 * gdb.arch/ppc-longdouble.exp: New file.
7733 * gdb.arch/ppc-longdouble.c: Likewise.
7735 2017-11-21 Pedro Alves <palves@redhat.com>
7737 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
7739 2017-11-20 Pedro Alves <palves@redhat.com>
7741 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
7742 (long_double_typedef): New typedefs.
7743 Use DEF on double and long double.
7744 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
7746 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
7747 and 'long_double_ptr_same_size' locals. Use them to decide
7748 whether cast from array/function to float is valid/invalid.
7750 2017-11-17 Tom Tromey <tom@tromey.com>
7752 * gdb.rust/traits.rs: New file.
7753 * gdb.rust/traits.exp: New file.
7755 2017-11-17 Joel Brobecker <brobecker@adacore.com>
7757 * gdb.ada/minsyms: New testcase.
7759 2017-11-16 Pedro Alves <palves@redhat.com>
7761 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
7762 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
7764 2017-11-16 Pedro Alves <palves@redhat.com>
7766 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
7767 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
7769 2017-11-16 Pedro Alves <palves@redhat.com>
7771 * gdb.server/reconnect-ctrl-c.c: New file.
7772 * gdb.server/reconnect-ctrl-c.exp: New file.
7774 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
7776 * gdb.python/py-rbreak.exp: New file.
7777 * gdb.python/py-rbreak.c: New file.
7778 * gdb.python/py-rbreak-func2.c: New file.
7780 2017-11-16 Pedro Alves <palves@redhat.com>
7782 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
7784 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
7787 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
7789 * gdb.tui/completionn.exp (test_tab_completion): Add space in
7792 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
7794 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
7797 2017-11-09 Pedro Alves <palves@redhat.com>
7799 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
7800 factored out from ...
7801 (top level): ... here, and adjusted to avoid expecting beyond the
7802 prompt in a single gdb_test_multiple.
7804 2017-11-09 Pedro Alves <palves@redhat.com>
7806 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
7808 * gdb.server/ext-attach.exp ("kill" test): Likewise.
7809 * gdb.server/ext-restart.exp ("kill" test): Likewise.
7810 * gdb.server/ext-run.exp ("kill" test): Likewise.
7811 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
7813 2017-11-09 Pedro Alves <palves@redhat.com>
7815 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
7816 match till end of line.
7818 2017-11-09 Pedro Alves <palves@redhat.com>
7820 * gdb.base/memattr.exp: Tighten regexes to match the end line.
7822 2017-11-09 Pedro Alves <palves@redhat.com>
7824 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
7825 New procedures, factored out from ...
7826 (top level): ... here, and adjusted to avoid expecting beyond the
7829 2017-11-09 Pedro Alves <palves@redhat.com>
7831 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
7832 output. Fix '?' match.
7834 2017-11-08 Joel Brobecker <brobecker@adacore.com>
7836 * gdb.ada/scoped_watch: New testcase.
7837 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
7838 which is actually correct.
7839 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
7840 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
7842 2017-11-08 Pedro Alves <palves@redhat.com>
7844 * gdb.gdb/complaints.exp (test_initial_complaints)
7845 (test_serial_complaints, test_short_complaints): Call
7846 complaint_internal instead of complaint.
7848 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
7850 * gdb.threads/tls-core.c: New file.
7851 * gdb.threads/tls-core.exp: Likewise.
7853 2017-11-08 Pedro Alves <palves@redhat.com>
7855 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
7856 (p Exported_Capitalized): New test.
7857 (p exported_capitalized): New test.
7859 2017-11-07 Pedro Alves <palves@redhat.com>
7861 * gdb.cp/ena-dis-br-range.exp: Add more tests.
7863 2017-11-07 Pedro Alves <palves@redhat.com>
7865 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
7866 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
7867 (disable_invalid, disable_inverted, disable_negative): New
7869 ("bad numbers"): New set of tests.
7871 2017-11-07 Pedro Alves <palves@redhat.com>
7873 * gdb.cp/ena-dis-br-range.exp: Add tests.
7875 2017-11-07 Pedro Alves <palves@redhat.com>
7877 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
7879 2017-11-07 Xavier Roirand <roirand@adacore.com>
7880 Pedro Alves <palves@redhat.com>
7882 * gdb.base/ena-dis-br.exp: Add reference to
7883 gdb.cp/ena-dis-br-range.exp.
7884 * gdb.cp/ena-dis-br-range.exp: New file.
7885 * gdb.cp/ena-dis-br-range.cc: New file.
7887 2017-11-06 Pedro Alves <palves@redhat.com>
7889 * gdb.base/attach-non-pgrp-leader.c: New.
7890 * gdb.base/attach-non-pgrp-leader.exp: New.
7892 2017-11-06 Pedro Alves <palves@redhat.com>
7894 * configure.ac: No longer check for termio.h and sgtty.h.
7895 * configure: Regenerate.
7896 * remote-utils.c: Include termios.h instead of gdb_termios.h.
7897 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
7898 Remove termio and sgtty code.
7900 2017-11-03 Yao Qi <yao.qi@linaro.org>
7902 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
7905 2017-11-03 Yao Qi <yao.qi@linaro.org>
7907 * gdb.python/py-thrhandle.exp: Skip it if python is not
7910 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
7912 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
7913 as a breakpoint command.
7915 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
7918 * gdb.python/py-infthread.exp: Test calling
7919 InferiorThread.inferior () multiple times in a row.
7921 2017-10-27 Keith Seitz <keiths@redhat.com>
7923 * gdb.opt/inline-break.exp (break_info_1): New procedure.
7924 Test "info break" for every inlined function breakpoint.
7926 2017-10-27 Yao Qi <yao.qi@linaro.org>
7928 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
7930 2017-10-26 Patrick Frants <osscontribute@gmail.com>
7932 * gdb.cp/classes.exp (test_static_members): Test printing
7934 * gdb.cp/classes.c (struct Inner, struct Outer): New.
7935 (Inner::instance, Outer::instance): New.
7937 2017-10-24 Pedro Alves <palves@redhat.com>
7939 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
7940 extra console" test in two stages.
7942 2017-10-24 Pedro Alves <palves@redhat.com>
7944 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
7946 2017-10-24 Pedro Alves <palves@redhat.com>
7948 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
7951 2017-10-24 Pedro Alves <palves@redhat.com>
7953 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
7954 $attempt" and "stoppedtry $stoppedtry" test prefixes.
7956 2017-10-24 Pedro Alves <palves@redhat.com>
7958 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
7959 parameter and handle it. Don't output read value in test name.
7961 2017-10-24 Pedro Alves <palves@redhat.com>
7963 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
7966 2017-10-24 Pedro Alves <palves@redhat.com>
7968 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
7969 include the unstable output directory name in the test's name.
7970 (initial_setup_simple) <'set args'>: Use custom test name.
7972 2017-10-24 Pedro Alves <palves@redhat.com>
7974 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
7975 with explicit test name.
7977 2017-10-20 Pedro Alves <palves@redhat.com>
7979 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
7980 'wait -i'. Use gdb_assert and remote_close.
7982 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
7984 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
7985 number from variable rather than hard-coded.
7987 2017-10-19 Pedro Alves <palves@redhat.com>
7989 * gdb.base/long-inferior-output.c: New file.
7990 * gdb.base/long-inferior-output.exp: New file.
7992 2017-11-18 Keith Seitz <keiths@redhat.com>
7994 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
7997 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
7998 Add additional user-defined conversion operator tests.
8000 2017-10-17 Pedro Alves <palves@redhat.com>
8002 * boards/native-stdio-gdbserver.exp: Load "local-board".
8004 2017-10-17 Pedro Alves <palves@redhat.com>
8006 * gdb.base/quit-live.c: New file.
8007 * gdb.base/quit-live.exp: New file.
8009 2017-10-16 Keith Seitz <keiths@redhat.com>
8011 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
8012 (class_with_protected_typedef, class_with_private_typedef)
8013 (struct_with_public_typedef, struct_with_protected_typedef)
8014 (struct_with_private_typedef): New classes/structs.
8015 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
8016 typedefs and access specifiers.
8018 2017-10-16 Pedro Alves <palves@redhat.com>
8019 Simon Marchi <simon.marchi@polymtl.ca>
8021 * README (Local vs Remote vs Native): New section.
8022 * boards/local-board.exp: New file, with bits factored out from
8024 * boards/native-extended-gdbserver.exp: ... here. Load
8026 * boards/native-gdbserver.exp: Load "local-board".
8027 (${board}_spawn, ${board}_exec): Delete.
8028 * boards/native-stdio-gdbserver.exp: Most contents factored out to
8030 * boards/stdio-gdbserver-base.exp: ... this new file.
8031 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
8032 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
8034 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
8035 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
8036 stdio_gdbserver_command.
8037 (${board}_get_remote_address, ${board}_get_comm_port)
8038 (${board}_download, ${board}_upload): Delete.
8039 (get_target_remote_pipe_cmd): New.
8041 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
8043 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
8044 test_bkpt_deletion, test_bkpt_cond_and_cmds,
8045 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
8046 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
8047 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
8048 remove with_test_prefix.
8050 2017-10-13 Pedro Alves <palves@redhat.com>
8052 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
8053 * gdb.base/annota1.exp: Use it instead of is_remote.
8054 * gdb.base/annota3.exp: Use it instead of is_remote.
8055 * gdb.cp/annota2.exp: Use it instead of is_remote.
8056 * gdb.cp/annota3.exp: Use it instead of is_remote.
8057 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
8059 2017-10-13 Pedro Alves <palves@redhat.com>
8061 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
8062 (test_num_test_vars, run_and_count_vars, find_env)
8063 (test_set_unset_env, test_inherit_env_var): New procedures.
8064 (top level): Use them.
8066 2017-10-13 Pedro Alves <palves@redhat.com>
8068 * lib/selftest-support.exp (selftest_setup): Extend comments, and
8069 also skip on stub-like targets.
8071 2017-10-13 Pedro Alves <palves@redhat.com>
8074 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
8075 (top level): Move some tests to ...
8076 (test_not_found): ... this new procedure.
8077 (top level): Call it.
8079 2017-10-13 Pedro Alves <palves@redhat.com>
8081 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
8082 expect different "info terminal" output if testing with a
8085 2017-10-13 Pedro Alves <palves@redhat.com>
8086 Simon Marchi <simon.marchi@polymtl.ca>
8089 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
8091 2017-10-13 Pedro Alves <palves@redhat.com>
8093 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
8096 2017-10-13 Pedro Alves <palves@redhat.com>
8098 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
8101 2017-10-13 Pedro Alves <palves@redhat.com>
8103 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
8106 2017-10-13 Pedro Alves <palves@redhat.com>
8108 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
8110 (corefile_test_attach): Likewise. Check can_spawn_for_attach
8111 instead of is_remote.
8113 2017-10-13 Pedro Alves <palves@redhat.com>
8115 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
8116 (top level): Add comment.
8118 2017-10-13 Pedro Alves <palves@redhat.com>
8120 * gdb.base/remote.exp (top level): Fix comment typo and add
8123 2017-10-13 Pedro Alves <palves@redhat.com>
8124 Simon Marchi <simon.marchi@polymtl.ca>
8126 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
8127 calls and add comments. Skip test if use_gdb_stub is set.
8128 (top level): Use "set cwd" command instead of "cd" command.
8130 2017-10-13 Pedro Alves <palves@redhat.com>
8132 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
8133 is_remote target check.
8135 2017-10-13 Pedro Alves <palves@redhat.com>
8137 * gdb.base/scope.exp: Use build_executable + clean_restart +
8138 gdb_file_cmd instead of prepare_for_testing and no longer skip
8139 "before run" tests on is_remote target boards. Update comments.
8140 * boards/native-extended-gdbserver.exp
8141 (extended_gdbserver_load_last_file): New, factored out from ...
8142 (gdb_load): ... this. Move further below and add comment.
8143 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
8145 2017-10-12 Pedro Alves <palves@redhat.com>
8147 * gdb.base/attach.exp: Remove references to gdb64.
8148 * gdb.base/dbx.exp: Remove references to gdb64.
8150 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
8151 Pedro Alves <palves@redhat.com>
8153 * gdb.base/label.exp: Remove is_remote target check.
8155 2017-10-12 Pedro Alves <palves@redhat.com>
8157 * gdb.base/auvx.exp (coredir): Update comment.
8158 (top level) <core_works>: Use "set cwd" command instead of "cd"
8161 2017-10-12 Pedro Alves <palves@redhat.com>
8162 Simon Marchi <simon.marchi@polymtl.ca>
8164 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
8167 2017-10-12 Pedro Alves <palves@redhat.com>
8168 Simon Marchi <simon.marchi@polymtl.ca>
8170 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
8171 Instead skip if there's any gdb_protocol set.
8173 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
8174 Pedro Alves <palves@redhat.com>
8176 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
8178 2017-10-12 Pedro Alves <palves@redhat.com>
8179 Simon Marchi <simon.marchi@polymtl.ca>
8181 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
8182 instead of on dejagnu remote boards.
8184 2017-10-12 Pedro Alves <palves@redhat.com>
8185 Simon Marchi <simon.marchi@polymtl.ca>
8187 * gdb.base/inferior-died.exp: Remove is_remote and isnative
8188 checks. Use build_executable + clean_restart instead of
8189 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
8190 of enabling non-stop after starting gdb.
8192 2017-10-12 Pedro Alves <palves@redhat.com>
8194 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
8195 * gdb.threads/non-ldr-exc-2.exp: Ditto.
8196 * gdb.threads/non-ldr-exc-3.exp: Ditto.
8197 * gdb.threads/non-ldr-exc-4.exp: Ditto.
8199 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
8201 * gdb.arch/arc-tdesc-cpu.exp: New file.
8202 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
8204 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
8206 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
8208 2017-10-10 Pedro Alves <palves@redhat.com>
8210 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
8213 2017-10-10 Pedro Alves <palves@redhat.com>
8215 * lib/selftest-support.exp (selftest_setup): Update for
8216 captured_command_loop's prototype change.
8218 2017-10-09 Pedro Alves <palves@redhat.com>
8220 Test both arch1=>arch2 and arch2=>arch1.
8222 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
8223 (srcfile2, binfile2, march1, march2): Remove globals. Largely
8225 (append_arch1_options, append_arch2_options, append_arch_options)
8226 (build_executables): New procedures.
8227 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
8229 (top level): Add new 'first_arch' testing axis.
8231 2017-10-09 Pedro Alves <palves@redhat.com>
8233 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
8235 (thread_start, all_started): New functions.
8236 (main): Spawn new thread and wait until it is scheduled.
8237 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
8239 (do_test): Add 'selected_thread' parameter. Run to all_started
8240 instead of main. Explicitly set the breakpoint at main. Switch
8241 to the SELECTED_THREAD thread.
8242 (top level): Test handling the exec event with either the main
8243 thread or the second thread selected.
8245 2017-10-09 Pedro Alves <palves@redhat.com>
8247 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
8248 logic. Move STOP marker after the value checks.
8249 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
8252 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
8254 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
8256 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
8258 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
8259 integer-to-dfp conversion.
8260 * gdb.base/dfp-test.exp: Likewise.
8262 2017-10-04 Pedro Alves <palves@redhat.com>
8264 * gdb.multi/hangout.c: Include <unistd.h>.
8265 (hangout_loop): New function.
8266 (main): Call alarm. Call hangout_loop in a loop.
8267 * gdb.multi/hello.c: Include <unistd.h>.
8268 (hello_loop): New function.
8269 (main): Call alarm. Call hangout_loop in a loop.
8270 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
8271 inferior with the other selected.
8273 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
8275 * gdb.mi/list-thread-groups-available.exp: New file.
8276 * gdb.mi/list-thread-groups-available.c: New file.
8278 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
8280 * gdb.base/set-cwd.exp: Make it available on
8281 native-extended-gdbserver.
8283 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
8285 * gdb.base/set-cwd.c: New file.
8286 * gdb.base/set-cwd.exp: Likewise.
8288 2017-10-02 Tom Tromey <tom@tromey.com>
8291 * gdb.rust/simple.rs (main): New variable "fslice".
8292 * gdb.rust/simple.exp: Add slice tests. Update string tests.
8294 2017-10-02 Tom Tromey <tom@tromey.com>
8296 * gdb.rust/simple.exp: Test ptype of a slice.
8298 2017-10-02 Tom Tromey <tom@tromey.com>
8300 * gdb.rust/simple.exp: Test index of slice.
8302 2017-09-27 Tom Tromey <tom@tromey.com>
8304 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
8306 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
8307 Pedro Alves <palves@redhat.com>
8309 * gdb.base/compare-sections.exp (get value of read-only section): Read
8311 (corrupt read-only section): Likewise and don't set written if patching
8314 2017-09-21 Kevin Buettner <kevinb@redhat.com>
8316 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
8319 2017-09-20 Pedro Alves <palves@redhat.com>
8321 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
8322 symbol names in gdb's output.
8323 * gdb.cp/overload.exp ("list all overloads"): Likewise.
8325 2017-09-20 Pedro Alves <palves@redhat.com>
8327 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
8329 (test_list_ambiguous_symbol): ... this and add a symbol name
8331 (test_list_ambiguous_function): Reimplement on top of
8332 test_list_ambiguous_symbol and also test listing ambiguous
8334 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
8335 (ambiguous_fun): ... this.
8336 (ambiguous_var): New.
8337 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
8338 (ambiguous_fun): ... this.
8339 (ambiguous_var): New.
8341 2017-09-19 John Baldwin <jhb@FreeBSD.org>
8343 * gdb.base/starti.c: New file.
8344 * gdb.base/starti.exp: New file.
8345 * lib/gdb.exp (gdb_starti_cmd): New procedure.
8347 2017-09-14 Pedro Alves <palves@redhat.com>
8349 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
8350 (top level): Use it instead of runto.
8352 2017-09-11 Tom Tromey <tom@tromey.com>
8354 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
8356 2017-09-11 Tom Tromey <tom@tromey.com>
8358 * gdb.python/py-infthread.exp: Add tests for new_thread event.
8359 * gdb.python/py-inferior.exp: Add tests for new inferior events.
8361 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
8363 * gdb.fortran/printing-types.exp: New file.
8364 * gdb.fortran/printing-types.exp: New file.
8366 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
8368 * gdb.fortran/vla-ptype.exp: Fix typos.
8369 * gdb.fortran/vla-value.exp: Same.
8371 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
8373 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
8374 * gdb.mi/mi-var-child-f.exp: Likewise.
8375 * gdb.mi/mi-vla-fortran.exp: Likewise.
8377 2017-09-08 Frank Penczek <frank.penczek@intel.com>
8378 Christoph Weinmann <christoph.t.weinmann@intel.com>
8379 Bernhard Heckel <bernhard.heckel@intel.com>
8381 * gdb.fortran/ptr-indentation.f90: New file.
8382 * gdb.fortran/ptr-indentation.exp: New file.
8384 2017-09-05 Tom Tromey <tom@tromey.com>
8387 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
8389 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
8391 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
8393 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8395 * gdb.threads/tls-nodebug-pie.c: New file.
8396 * gdb.threads/tls-nodebug-pie.exp: New file.
8398 2017-09-05 Tom Tromey <tom@tromey.com>
8400 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
8403 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
8405 * gdb.multi/multi-arch-exec.exp: Test with different
8406 "follow-exec-mode" settings.
8407 (do_test): New procedure.
8409 2017-09-04 Pedro Alves <palves@redhat.com>
8411 * gdb.base/func-static.c (S::method const, S::method volatile)
8412 (S::method volatile const): New methods.
8413 (c_s, v_s, cv_s): New instances.
8414 (main): Call method() on them.
8415 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
8416 (cannot_resolve): New procedure.
8417 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
8418 print-quote-unquoted columns.
8419 (do_test): Test printing each scope too.
8421 2017-09-04 Pedro Alves <palves@redhat.com>
8423 * gdb.base/local-static.exp: Also test with
8424 class::method::variable wholly quoted.
8425 * gdb.cp/m-static.exp (class::method::variable): Remove test.
8427 2017-09-04 Pedro Alves <palves@redhat.com>
8429 * gdb.base/local-static.c: New.
8430 * gdb.base/local-static.cc: New.
8431 * gdb.base/local-static.exp: New.
8433 2017-09-04 Pedro Alves <palves@redhat.com>
8435 * gdb.asm/asm-source.exp: Add casts to int.
8436 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
8437 (dataglobal64_1, dataglobal64_2): New globals.
8438 * gdb.base/nodebug.exp: Test different expressions involving the
8439 new globals, with print, whatis and ptype. Add casts to int.
8440 * gdb.base/solib-display.exp: Add casts to int.
8441 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
8442 * gdb.cp/m-static.exp: Add cast to int.
8443 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
8444 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
8445 tls variable with no debug info without a cast. Test with a cast
8447 * gdb.trace/entry-values.exp: Add casts.
8449 2017-09-04 Pedro Alves <palves@redhat.com>
8451 * gdb.base/nodebug.exp: Test that ptype's error about functions
8452 with unknown return type includes the function name too.
8454 2017-09-04 Pedro Alves <palves@redhat.com>
8456 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
8457 return type of munmap in infcall.
8458 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
8459 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
8460 type of ftell in infcall.
8461 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
8462 type of getpid in infcall.
8463 * gdb.base/infcall-exec.exp: Cast return type of execlp in
8465 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
8466 Bail on failure to extract the pid.
8467 * gdb.base/nodebug.c: #include <stdint.h>.
8468 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
8470 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
8471 Change expected output of print/whatis/ptype with functions with
8472 no debug info. Test all supported languages. Call
8473 test_call_promotion.
8474 * gdb.compile/compile.exp: Adjust expected output to expect
8476 * gdb.threads/siginfo-threads.exp: Likewise.
8478 2017-09-04 Pedro Alves <palves@redhat.com>
8480 * gdb.base/callfuncs.exp (do_function_calls): New parameter
8481 "prototypes". Test calling float functions via prototyped and
8482 unprototyped function pointers.
8483 (perform_all_tests): New parameter "prototypes". Pass it down.
8484 (top level): Pass down "prototypes" parameter to
8487 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
8489 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
8490 Test with nested loops.
8492 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
8494 * gdb.base/commands.exp: Call the new procedures.
8495 (loop_break_test, loop_continue_test): New procedures.
8497 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
8499 * gdb.base/commands.exp: Call new procedure.
8500 (define_if_without_arg_test): New procedure.
8502 2017-09-04 Pedro Alves <palves@redhat.com>
8504 * gdb.base/list-ambiguous.exp: New file.
8505 * gdb.base/list-ambiguous0.c: New file.
8506 * gdb.base/list-ambiguous1.c: New file.
8507 * gdb.base/list.exp (test_list_range): Adjust expected output.
8509 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
8511 * gdb.base/share-env-with-gdbserver.c: New file.
8512 * gdb.base/share-env-with-gdbserver.exp: Likewise.
8514 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
8516 * gdb.base/commands.exp (gdbvar_simple_if_test,
8517 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
8518 progvar_simple_if_test, progvar_simple_while_test,
8519 progvar_complex_if_while_test, user_defined_command_test,
8520 user_defined_command_args_eval,
8521 user_defined_command_args_stack_test,
8522 user_defined_command_manyargs_test, bp_deleted_in_command_test,
8523 temporary_breakpoint_commands,
8524 gdb_test_no_prompt, redefine_hook_test,
8525 redefine_backtrace_test): Remove "global gdb_prompt".
8527 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
8529 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
8530 New proc, call it from toplevel.
8532 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
8535 * gdb.server/normal.c: New file, copied from gdb.base.
8536 * gdb.server/run-without-local-binary.exp: New file.
8538 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
8540 * gdb.arch/sparc64-adi.exp: New file.
8541 * gdb.arch/sparc64-adi.c: New file.
8543 2017-08-22 Pedro Alves <palves@redhat.com>
8545 * gdb.cp/overload.exp (line_range_pattern): New procedure.
8546 (top level): Add "list all overloads" tests.
8548 2017-08-22 Tom Tromey <tom@tromey.com>
8550 * gdb.gdb/xfullpath.exp: Remove.
8552 2017-08-21 Pedro Alves <palves@redhat.com>
8555 * gdb.base/symbol-alias.c: New.
8556 * gdb.base/symbol-alias2.c: New.
8557 * gdb.base/symbol-alias.exp: New.
8559 2017-08-21 Pedro Alves <palves@redhat.com>
8561 * gdb.base/dfp-test.c
8562 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
8563 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
8564 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
8565 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
8566 * gdb.base/whatis-ptype-typedefs.c: New.
8567 * gdb.base/whatis-ptype-typedefs.exp: New.
8568 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
8569 (an_int, an_int_type, an_int_type2): New globals.
8570 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
8571 involving typedefs and cast expressions.
8572 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
8573 (lookup_typedefs_function): New.
8574 (typedefs_pretty_printers_dict): New.
8575 (top level): Register lookup_typedefs_function in
8576 gdb.pretty_printers.
8578 2017-08-18 Yao Qi <yao.qi@linaro.org>
8580 * gdb.server/unittest.exp: New.
8582 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
8585 * gdb.base/environ.exp: Add test to check if 'unset environment'
8588 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
8590 * lib/gdb.exp (universal_compile_options): New caching proc.
8591 (gdb_compile): Suppress GCC's coloring of messages.
8593 2017-08-14 Tom Tromey <tom@tromey.com>
8596 * gdb.base/printcmds.exp (test_radices): New function.
8597 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
8598 * gdb.base/sizeof.exp (check_valueof): Use p/d.
8599 * lib/gdb.exp (get_integer_valueof): Use p/d.
8601 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
8603 * lib/gdb.exp (get_valueof): Don't capture end-of-line
8606 2017-08-05 Tom Tromey <tom@tromey.com>
8608 * gdb.rust/simple.exp: Allow String to appear in a different
8611 2017-07-26 Yao Qi <yao.qi@linaro.org>
8613 * gdb.gdb/unittest.exp: Invoke command
8614 "maintenance check xml-descriptions".
8616 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8618 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
8620 (hex128): Drop erroneous calculation of parameters.
8622 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
8624 * gdb.python/py-unwind.exp: Disable stack protection when
8627 2017-07-20 Pedro Alves <palves@redhat.com>
8629 * gdb.base/default.exp (set language): Adjust expected output.
8631 2017-07-20 Pedro Alves <palves@redhat.com>
8633 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
8634 (test_minsym): ... this, and make static.
8635 (get_pck__foo__bar__minsym): Rename to ...
8636 (get_test_minsym): ... this.
8637 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
8638 symbol names and comments.
8639 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
8640 (get_test_minsym): ... this.
8641 (pck__foo__bar__minsym__2): Rename to ...
8642 (test_minsym): ... this.
8645 2017-07-17 Pedro Alves <palves@redhat.com>
8647 * gdb.base/completion.exp: Adjust expected output.
8648 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
8649 the completer works.
8651 2017-07-17 Pedro Alves <palves@redhat.com>
8653 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
8655 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
8657 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
8659 2017-07-14 Tom Tromey <tom@tromey.com>
8662 * gdb.rust/simple.exp: Add tests.
8664 2017-07-14 Tom Tromey <tom@tromey.com>
8666 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
8668 2017-07-14 Pedro Alves <palves@redhat.com>
8670 * gdb.linespec/base/one/thefile.cc (z1): New function.
8671 * gdb.linespec/base/two/thefile.cc (z2): New function.
8672 * gdb.linespec/linespec.exp: Add tests.
8674 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
8676 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
8677 to mi_create_breakpoint.
8679 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
8681 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
8682 mi_create_breakpoint.
8684 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
8686 * gdb.dlang/demangle.exp: Update for demangling changes.
8688 2017-07-09 Tom Tromey <tom@tromey.com>
8690 * gdb.dwarf2/shortpiece.exp: New file.
8692 2017-07-06 David Blaikie <dblaikie@gmail.com>
8694 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
8695 built from fissiont-multi-cu{1,2}.c.
8696 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
8697 except putting 'main' and 'func' in separate CUs in the same DWO file.
8698 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
8700 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
8703 2017-07-06 Pedro Alves <palves@redhat.com>
8705 * gdb.python/py-unwind.exp: Test flushregs.
8707 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
8710 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
8711 tests for alias commands and trailing whitespace.
8713 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
8716 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
8719 2017-06-29 Pedro Alves <palves@redhat.com>
8721 * gdb.base/printcmds.exp: Add tests.
8723 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
8726 * gdb.base/reread-readsym.exp: New file.
8727 * gdb.base/reread-readsym.c: New file.
8729 2017-06-21 Kevin Buettner <kevinb@redhat.com>
8731 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
8734 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
8736 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
8738 * gdb.arch/powerpc-power9.s: Likewise.
8740 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
8742 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
8743 on 32-bit x86 targets. Exploit is_*_target macros where
8746 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8748 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
8751 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8753 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
8754 located in one or more DWARF pieces.
8756 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8758 * lib/gdb.exp (get_endianness): New proc.
8759 * gdb.arch/aarch64-fp.exp: Use it.
8760 * gdb.arch/altivec-regs.exp: Likewise.
8761 * gdb.arch/e500-regs.exp: Likewise.
8762 * gdb.arch/vsx-regs.exp: Likewise.
8763 * gdb.base/dump.exp: Likewise.
8764 * gdb.base/funcargs.exp: Likewise.
8765 * gdb.base/gnu_vector.exp: Likewise.
8766 * gdb.dwarf2/formdata16.exp: Likewise.
8767 * gdb.dwarf2/implptrpiece.exp: Likewise.
8768 * gdb.dwarf2/nonvar-access.exp: Likewise.
8769 * gdb.python/py-inferior.exp: Likewise.
8770 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
8772 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8775 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
8776 stack value pieces are taken from the LSB end.
8778 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8780 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
8781 variable at nonzero offset.
8783 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8785 * gdb.dwarf2/var-access.c: New file.
8786 * gdb.dwarf2/var-access.exp: New test.
8787 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
8789 2017-06-12 Tom Tromey <tom@tromey.com>
8791 * gdb.dwarf2/formdata16.exp: Add tests.
8793 2017-06-12 Tom Tromey <tom@tromey.com>
8795 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
8797 2017-06-12 Tom Tromey <tom@tromey.com>
8800 * gdb.reverse/i386-sse-reverse.exp: Update tests.
8801 * gdb.arch/vsx-regs.exp: Update tests.
8802 * gdb.arch/s390-vregs.exp (hex128): New proc.
8804 * gdb.arch/altivec-regs.exp: Update tests.
8806 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
8808 * gdb.base/startup-with-shell.c: New file.
8809 * gdb.base/startup-with-shell.exp: Likewise.
8811 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
8813 * gdb.server/non-existing-program.exp: Update regex in order to
8814 reflect the fact that gdbserver is now using fork_inferior (with a
8815 shell) to startup the inferior.
8817 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
8819 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
8820 support function calls from GDB.
8822 2017-05-21 Tom Tromey <tom@tromey.com>
8825 * gdb.rust/unsized.exp: New file.
8826 * gdb.rust/unsized.rs: New file.
8828 2017-05-19 Tom Tromey <tom@tromey.com>
8831 * gdb.rust/watch.exp: New file.
8832 * gdb.rust/watch.rs: New file.
8834 2017-05-18 Tom Tromey <tom@tromey.com>
8836 * gdb.rust/simple.exp: Allow Box to be qualified.
8838 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
8840 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
8842 2017-05-18 Pedro Alves <palves@redhat.com>
8844 * gdb.base/fileio.c (test_write, test_read, test_close)
8845 (test_fstat): Don't print 'ret' in the fail path.
8847 2017-05-18 Pedro Alves <palves@redhat.com>
8849 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
8850 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
8851 (test_system, test_rename, test_unlink, test_time): Change
8853 * gdb.base/fileio.exp (stop_msg): Adjust.
8855 2017-05-18 Pedro Alves <palves@redhat.com>
8857 * gdb.base/fileio.c (null_str): New global.
8858 (test_stat): Use it.
8859 * gdb.base/fileio.exp: Remove nowarnings.
8861 2017-05-17 Yao Qi <yao.qi@linaro.org>
8863 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
8865 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
8867 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
8869 (top-level): Invoke test_set_inferior_tty.
8871 2017-05-04 Pedro Alves <palves@redhat.com>
8873 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
8874 Add parens to print call for Python 3.
8876 2017-05-03 Keith Seitz <keiths@redhat.com>
8878 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
8881 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8883 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
8886 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8888 * gdb.python/py-record-btrace.exp: Remove test for
8889 gdb.BtraceInstruction.error.
8891 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8893 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
8895 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8897 * gdb.python/py-record-btrace-threads.c: New file.
8898 * gdb.python/py-record-btrace-threads.exp: New file.
8900 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
8903 * gdb.base/environ.exp: Make test available in all architectures.
8904 Move bits related to "info program" testing to
8905 gdb.base/info-program.exp. Rewrite tests to use the two new
8906 procedures mentione below.
8907 (test_set_show_env_var) New procedure.
8908 (test_set_show_env_var_equal): Likewise.
8909 * gdb.base/info-program.exp: New file.
8911 2017-04-27 Keith Seitz <keiths@redhat.com>
8913 * gdb.cp/oranking.cc (test15): New function.
8914 (main): Call test15 and declare additional variables for testing.
8915 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
8916 "p foo101('abc')" tests.
8917 Add tests for cv qualifier overloads.
8918 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
8919 "lvalue reference overload" test.
8920 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
8921 "print value of f1 on Child&& in f2" test.
8923 2017-04-19 Pedro Alves <palves@redhat.com>
8925 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
8927 (top level): Call it.
8928 * lib/gdb.exp (gdb_define_cmd): New procedure.
8930 2017-04-12 Pedro Alves <palves@redhat.com>
8933 * gdb.cp/wide_char_types.c: Include <wchar.h>.
8934 (wchar): New global.
8935 * gdb.cp/wide_char_types.exp (wide_char_types_program)
8936 (do_test_wide_char, wide_char_types_no_program, top level): Add
8939 2017-04-12 Pedro Alves <palves@redhat.com>
8942 * gdb.cp/wide_char_types.c: New file.
8943 * gdb.cp/wide_char_types.exp: New file.
8945 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
8948 * gdb.trace/tsv.exp: Add test for "tsave -r".
8950 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
8952 * gdb.dlang/watch-loc.c: New file.
8953 * gdb.dlang/watch-loc.exp: New file.
8955 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8957 * gdb.python/py-section-script.exp (sepdebug): New testcases.
8959 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
8961 * gdb.arch/arc-analyze-prologue.S: New file.
8962 * gdb.arch/arc-analyze-prologue.exp: Likewise.
8964 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
8966 * gdb.arch/arc-decode-insn.S: New file.
8967 * gdb.arch/arc-decode-insn.exp: Likewise.
8969 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
8972 * gdb.arch/sparc64-regs.exp: New file.
8973 * gdb.arch/sparc64-regs.S: Likewise.
8975 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
8977 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
8978 and memory view on Python 3.
8980 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
8981 Keith Seitz <keiths@redhat.com>
8984 * gdb.cp/demangle.exp: Add rvalue reference tests.
8985 * gdb.cp/rvalue-ref-casts.cc: New file.
8986 * gdb.cp/rvalue-ref-casts.exp: New file.
8987 * gdb.cp/rvalue-ref-overload.cc: New file.
8988 * gdb.cp/rvalue-ref-overload.exp: New file.
8989 * gdb.cp/rvalue-ref-params.cc: New file.
8990 * gdb.cp/rvalue-ref-params.exp: New file.
8991 * gdb.cp/rvalue-ref-sizeof.cc: New file.
8992 * gdb.cp/rvalue-ref-sizeof.exp: New file.
8993 * gdb.cp/rvalue-ref-types.cc: New file.
8994 * gdb.cp/rvalue-ref-types.exp: New file.
8995 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
8996 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
8998 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9000 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
9003 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9005 * lib/mi-support.exp (mi_gdb_test): Add additional message
9006 for unexpected output.
9008 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
9010 * gdb.base/examine-backward.c (Barrier): New character array
9011 constant, to ensure that TestStrings is preceded by a string
9014 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9016 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
9017 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
9018 and implicit pointer into such a location.
9020 2017-03-16 Doug Evans <dje@google.com>
9022 * gdb.python/py-lazy-string (pointer): Really add new typedef.
9024 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
9026 * gdb.cp/m-static.exp: Fix expectation for prototype of
9027 test5.single_constructor and single_constructor::single_constructor.
9029 2017-03-16 Doug Evans <dje@google.com>
9031 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
9032 * gdb.guile/scm-lazy-string.c: New file.
9033 * gdb.guile/scm-value.exp: Move lazy string tests to ...
9034 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
9035 for pointer, array, typedef lazy strings.
9037 2017-03-16 Doug Evans <dje@google.com>
9039 PR python/17728, python/18439, python/18779
9040 * gdb.python/py-value.c (main) Delete locals sptr, sn.
9041 * gdb.python/py-lazy-string.c (pointer): New typedef.
9042 (main): New locals ptr, array, typedef_ptr.
9043 * gdb.python/py-value.exp: Move lazy string tests to ...
9044 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
9045 array, typedef lazy strings.
9047 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
9049 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
9050 Add optional 'test' parameter.
9052 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
9054 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
9055 Skip for versions of DejaGnu < 1.5.
9057 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
9059 * lib/gdb.exp (dejagnu_version): New proc.
9060 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
9061 Use dejagnu_version.
9063 2017-03-10 Keith Seitz <keiths@redhat.com>
9066 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
9067 type from destructor regexps.
9068 Add a branch which actually passes the test.
9069 Adjust "ptype t5i" test names.
9071 2017-03-08 Pedro Alves <palves@redhat.com>
9073 * gdb.base/step-over-exit.exp: Add explicit test message.
9075 2017-03-08 Pedro Alves <palves@redhat.com>
9078 * gdb.threads/interrupt-while-step-over.c: New file.
9079 * gdb.threads/interrupt-while-step-over.exp: New file.
9081 2017-03-08 Pedro Alves <palves@redhat.com>
9083 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
9084 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
9086 2017-03-08 Pedro Alves <palves@redhat.com>
9088 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
9089 PKRU as not supported as a PASS.
9091 2017-03-08 Pedro Alves <palves@redhat.com>
9093 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
9094 prefix instead of $binfile1/$binfile2.
9095 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
9097 * gdb.python/py-completion.exp: Use "load python file" as test
9098 messages instead of unstable path names.
9100 2017-03-08 Pedro Alves <palves@redhat.com>
9101 Jan Kratochvil <jan.kratochvil@redhat.com>
9104 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
9106 (top level): Call it.
9108 2017-03-08 Pedro Alves <palves@redhat.com>
9111 * gdb.tui/tui-nl-filtered-output.exp: New file.
9113 2017-03-08 Pedro Alves <palves@redhat.com>
9115 * gdb.base/completion.exp: Move TUI completion tests to ...
9116 * gdb.tui/completion.exp: ... this new file.
9118 2017-03-08 Pedro Alves <palves@redhat.com>
9120 * gdb.base/tui-disasm-long-lines.c,
9121 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
9122 gdb.base/tui-layout.exp: Move to ...
9123 * gdb.tui/: ... this new directory.
9125 2017-03-07 Pedro Alves <palves@redhat.com>
9127 * gdb.base/tui-layout.c: New file.
9128 * gdb.base/tui-layout.exp: New file.
9130 2017-03-07 Pedro Alves <palves@redhat.com>
9132 * gdb.base/tui-layout.c: Rename to ...
9133 * gdb.base/tui-disasm-long-lines.c: ... this.
9134 * gdb.base/tui-layout.exp: Rename to ...
9135 * gdb.base/tui-disasm-long-lines.exp: ... this.
9137 2017-03-07 Pedro Alves <palves@redhat.com>
9139 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
9141 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
9143 * i386-mpx-call.c: New file.
9144 * i386-mpx-call.exp: New file.
9146 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
9148 * gdb.arch/powerpc-power.exp: Delete test.
9149 * gdb.arch/powerpc-power.s: Likewise.
9150 * gdb.disasm/disassembler-options.exp: New test.
9151 * gdb.arch/powerpc-altivec.exp: Likewise.
9152 * gdb.arch/powerpc-altivec.s: Likewise.
9153 * gdb.arch/powerpc-altivec2.exp: Likewise.
9154 * gdb.arch/powerpc-altivec2.s: Likewise.
9155 * gdb.arch/powerpc-altivec3.exp: Likewise.
9156 * gdb.arch/powerpc-altivec3.s: Likewise.
9157 * gdb.arch/powerpc-power7.exp: Likewise.
9158 * gdb.arch/powerpc-power7.s: Likewise.
9159 * gdb.arch/powerpc-power8.exp: Likewise.
9160 * gdb.arch/powerpc-power8.s: Likewise.
9161 * gdb.arch/powerpc-power9.exp: Likewise.
9162 * gdb.arch/powerpc-power9.s: Likewise.
9163 * gdb.arch/powerpc-vsx.exp: Likewise.
9164 * gdb.arch/powerpc-vsx.s: Likewise.
9165 * gdb.arch/powerpc-vsx2.exp: Likewise.
9166 * gdb.arch/powerpc-vsx2.s: Likewise.
9167 * gdb.arch/powerpc-vsx3.exp: Likewise.
9168 * gdb.arch/powerpc-vsx3.s: Likewise.
9169 * gdb.arch/arm-disassembler-options.exp: Likewise.
9170 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
9171 * gdb.arch/s390-disassembler-options.exp: Likewise.
9173 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
9175 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
9176 (check_supported_features): ... this. Changed return type to void.
9177 (supports_rdseed): New static global.
9178 (rdseed): Check supports_rdseed.
9179 (initialize): Call check_supported_features.
9181 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9183 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
9184 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
9186 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
9187 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
9189 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9191 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
9194 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9196 * gdb.dwarf2/formdata16.c: New file.
9197 * gdb.dwarf2/formdata16.exp: New file.
9198 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
9200 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9202 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
9203 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
9204 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
9205 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
9208 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9210 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
9212 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
9215 * gdb.base/maint.exp: Add testcases for when the commands do
9218 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
9220 * gdb.cp/chained-calls.exp: Use p instead of P.
9222 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
9224 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
9225 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
9227 2017-02-14 Tom Tromey <tom@tromey.com>
9230 * gdb.python/py-events.exp: Add before_prompt event tests.
9232 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
9234 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
9236 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
9238 * gdb.linespec/explicit.c (my_unique_function_name): New function.
9239 (main): Call my_unique_function_name.
9240 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
9241 completion of patterns with a single match.
9242 Add missing -re switches to gdb_test_multiple calls.
9244 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
9246 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
9247 return if core file is not recognized.
9249 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
9251 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
9254 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
9256 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
9259 2017-02-10 Tom Tromey <tom@tromey.com>
9261 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
9263 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
9266 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
9268 2017-02-08 Jerome Guitton <guitton@adacore.com>
9270 * gdb.base/define.exp: Add test for command abbreviations
9273 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
9275 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
9276 * gdb.reverse/insn-reverse-x86.c: New file.
9278 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
9281 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
9283 2017-02-03 Tom Tromey <tom@tromey.com>
9286 * gdb.rust/simple.exp: Add new tests.
9288 2017-02-02 Pedro Alves <palves@redhat.com>
9290 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
9293 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
9295 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
9296 taking a 2-byte value out of a 4-byte DWARF implicit value on
9298 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
9299 logic. Add test cases for DW_OP_implicit.
9301 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9303 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
9305 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9307 * gdb.btrace/enable.exp: Call gdb_exit before
9308 skip_gdbserver_tests.
9310 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9312 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
9315 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9317 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
9318 the test is skipped.
9319 * gdb.btrace/data.exp: Likewise.
9320 * gdb.btrace/delta.exp: Likewise.
9321 * gdb.btrace/dlopen.exp: Likewise.
9322 * gdb.btrace/enable-running.exp: Likewise.
9323 * gdb.btrace/enable.exp: Likewise.
9324 * gdb.btrace/exception.exp: Likewise.
9325 * gdb.btrace/function_call_history.exp: Likewise.
9326 * gdb.btrace/gcore.exp: Likewise.
9327 * gdb.btrace/instruction_history.exp: Likewise.
9328 * gdb.btrace/multi-thread-step.exp: Likewise.
9329 * gdb.btrace/nohist.exp: Likewise.
9330 * gdb.btrace/non-stop.exp: Likewise.
9331 * gdb.btrace/reconnect.exp: Likewise.
9332 * gdb.btrace/record_goto-step.exp: Likewise.
9333 * gdb.btrace/record_goto.exp: Likewise.
9334 * gdb.btrace/rn-dl-bind.exp: Likewise.
9335 * gdb.btrace/segv.exp: Likewise.
9336 * gdb.btrace/step.exp: Likewise.
9337 * gdb.btrace/stepi.exp: Likewise.
9338 * gdb.btrace/tailcall-only.exp: Likewise.
9339 * gdb.btrace/tailcall.exp: Likewise.
9340 * gdb.btrace/tsx.exp: Likewise.
9341 * gdb.btrace/unknown_functions.exp: Likewise.
9342 * gdb.btrace/vdso.exp: Likewise.
9344 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9346 * gdb.btrace/enable-running.c: New.
9347 * gdb.btrace/enable-running.exp: New.
9349 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
9351 * gdb.arch/amd64-gs_base.c: New file.
9352 * gdb.arch/amd64-gs_base.exp: New file.
9354 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
9356 * lib/memory.exp: Remove spurious empty newlines.
9358 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
9360 * gdb.python/py-bad-printers.exp: Load python file using "source".
9361 * gdb.python/py-events.exp: Likewise.
9362 * gdb.python/py-evsignal.exp: Likewise.
9363 * gdb.python/py-evthreads.exp: Likewise.
9364 * gdb.python/py-frame-args.exp: Likewise.
9365 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
9366 * gdb.python/py-framefilter-mi.exp: Likewise.
9367 * gdb.python/py-framefilter.exp: Likewise.
9368 * gdb.python/py-mi.exp: Likewise.
9369 * gdb.python/py-pp-maint.exp: Likewise.
9370 * gdb.python/py-pp-registration.exp: Likewise.
9371 * gdb.python/py-prettyprint.exp: Likewise.
9372 (run_lang_tests): Likewise.
9373 * gdb.python/py-typeprint.exp: Likewise.
9375 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
9377 * lib/memory.exp: New file.
9378 * lib/gdb.exp: Load memory.exp.
9379 * gdb.base/memattr.exp (delete_memory): Move proc to
9380 lib/memory.exp and rename to delete_memory_regions.
9381 Replace delete_memory with delete_memory_regions.
9382 Cleanup memory regions before tests.
9383 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
9386 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
9388 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
9390 (initialize): New function conditionally defined.
9391 (testcases): Move within conditional block.
9392 (main): Call initialize.
9393 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
9394 of gdb.reverse/insn-reverse.c.
9395 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
9396 gdb.reverse/insn-reverse.c.
9398 2017-01-26 Yao Qi <yao.qi@linaro.org>
9400 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
9401 disassemble on address 0.
9403 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
9404 Yao Qi <yao.qi@linaro.org>
9406 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
9407 * gdb.dwarf2/implptr-64bit.S: Remove.
9408 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
9409 variables in caller's context. Add DW_OP_implicit_value.
9411 2017-01-25 Yao Qi <yao.qi@linaro.org>
9413 * lib/dwarf.exp (Dwarf::_location): Handle
9414 DW_OP_GNU_implicit_pointer with proper size.
9416 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
9418 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
9419 and add untested calls.
9421 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
9423 * gdb.python/python.exp: Check line number against what GDB thinks
9424 the line number is for func1.
9426 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
9428 * gdb.dlang/debug-expr.exp: New file.
9430 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
9432 Fix test names for the following files:
9434 * gdb.ada/exec_changed.exp
9435 * gdb.ada/info_types.exp
9436 * gdb.arch/aarch64-atomic-inst.exp
9437 * gdb.arch/aarch64-fp.exp
9438 * gdb.arch/altivec-abi.exp
9439 * gdb.arch/altivec-regs.exp
9440 * gdb.arch/amd64-byte.exp
9441 * gdb.arch/amd64-disp-step.exp
9442 * gdb.arch/amd64-dword.exp
9443 * gdb.arch/amd64-entry-value-inline.exp
9444 * gdb.arch/amd64-entry-value-param.exp
9445 * gdb.arch/amd64-entry-value-paramref.exp
9446 * gdb.arch/amd64-entry-value.exp
9447 * gdb.arch/amd64-i386-address.exp
9448 * gdb.arch/amd64-invalid-stack-middle.exp
9449 * gdb.arch/amd64-invalid-stack-top.exp
9450 * gdb.arch/amd64-optimout-repeat.exp
9451 * gdb.arch/amd64-prologue-skip.exp
9452 * gdb.arch/amd64-prologue-xmm.exp
9453 * gdb.arch/amd64-stap-special-operands.exp
9454 * gdb.arch/amd64-stap-wrong-subexp.exp
9455 * gdb.arch/amd64-tailcall-cxx.exp
9456 * gdb.arch/amd64-tailcall-noret.exp
9457 * gdb.arch/amd64-tailcall-ret.exp
9458 * gdb.arch/amd64-tailcall-self.exp
9459 * gdb.arch/amd64-word.exp
9460 * gdb.arch/arm-bl-branch-dest.exp
9461 * gdb.arch/arm-disp-step.exp
9462 * gdb.arch/arm-neon.exp
9463 * gdb.arch/arm-single-step-kernel-helper.exp
9464 * gdb.arch/avr-flash-qualifier.exp
9465 * gdb.arch/disp-step-insn-reloc.exp
9466 * gdb.arch/e500-abi.exp
9467 * gdb.arch/e500-regs.exp
9468 * gdb.arch/ftrace-insn-reloc.exp
9469 * gdb.arch/i386-avx512.exp
9470 * gdb.arch/i386-bp_permanent.exp
9471 * gdb.arch/i386-byte.exp
9472 * gdb.arch/i386-cfi-notcurrent.exp
9473 * gdb.arch/i386-disp-step.exp
9474 * gdb.arch/i386-dr3-watch.exp
9475 * gdb.arch/i386-float.exp
9476 * gdb.arch/i386-gnu-cfi.exp
9477 * gdb.arch/i386-mpx-map.exp
9478 * gdb.arch/i386-mpx-sigsegv.exp
9479 * gdb.arch/i386-mpx-simple_segv.exp
9480 * gdb.arch/i386-mpx.exp
9481 * gdb.arch/i386-permbkpt.exp
9482 * gdb.arch/i386-prologue.exp
9483 * gdb.arch/i386-signal.exp
9484 * gdb.arch/i386-size-overlap.exp
9485 * gdb.arch/i386-unwind.exp
9486 * gdb.arch/i386-word.exp
9487 * gdb.arch/mips-fcr.exp
9488 * gdb.arch/powerpc-d128-regs.exp
9489 * gdb.arch/powerpc-stackless.exp
9490 * gdb.arch/ppc64-atomic-inst.exp
9491 * gdb.arch/s390-stackless.exp
9492 * gdb.arch/s390-tdbregs.exp
9493 * gdb.arch/s390-vregs.exp
9494 * gdb.arch/sparc-sysstep.exp
9495 * gdb.arch/thumb-bx-pc.exp
9496 * gdb.arch/thumb-singlestep.exp
9497 * gdb.arch/thumb2-it.exp
9498 * gdb.arch/vsx-regs.exp
9499 * gdb.asm/asm-source.exp
9500 * gdb.base/a2-run.exp
9501 * gdb.base/advance.exp
9502 * gdb.base/all-bin.exp
9505 * gdb.base/arithmet.exp
9506 * gdb.base/async-shell.exp
9507 * gdb.base/async.exp
9508 * gdb.base/attach-pie-noexec.exp
9509 * gdb.base/attach-twice.exp
9510 * gdb.base/auto-load.exp
9512 * gdb.base/bitfields.exp
9513 * gdb.base/break-always.exp
9514 * gdb.base/break-caller-line.exp
9515 * gdb.base/break-entry.exp
9516 * gdb.base/break-inline.exp
9517 * gdb.base/break-on-linker-gcd-function.exp
9518 * gdb.base/break-probes.exp
9519 * gdb.base/break.exp
9520 * gdb.base/breakpoint-shadow.exp
9521 * gdb.base/call-ar-st.exp
9522 * gdb.base/call-sc.exp
9523 * gdb.base/call-signal-resume.exp
9524 * gdb.base/call-strs.exp
9525 * gdb.base/callfuncs.exp
9526 * gdb.base/catch-fork-static.exp
9527 * gdb.base/catch-gdb-caused-signals.exp
9528 * gdb.base/catch-load.exp
9529 * gdb.base/catch-signal-fork.exp
9530 * gdb.base/catch-signal.exp
9531 * gdb.base/catch-syscall.exp
9532 * gdb.base/charset.exp
9533 * gdb.base/checkpoint.exp
9534 * gdb.base/chng-syms.exp
9535 * gdb.base/code-expr.exp
9536 * gdb.base/code_elim.exp
9537 * gdb.base/commands.exp
9538 * gdb.base/completion.exp
9539 * gdb.base/complex.exp
9540 * gdb.base/cond-expr.exp
9541 * gdb.base/condbreak.exp
9542 * gdb.base/consecutive.exp
9543 * gdb.base/continue-all-already-running.exp
9544 * gdb.base/coredump-filter.exp
9545 * gdb.base/corefile.exp
9547 * gdb.base/debug-expr.exp
9548 * gdb.base/define.exp
9550 * gdb.base/disabled-location.exp
9551 * gdb.base/disasm-end-cu.exp
9552 * gdb.base/disasm-optim.exp
9553 * gdb.base/display.exp
9554 * gdb.base/duplicate-bp.exp
9555 * gdb.base/ena-dis-br.exp
9556 * gdb.base/ending-run.exp
9557 * gdb.base/enumval.exp
9558 * gdb.base/environ.exp
9559 * gdb.base/eu-strip-infcall.exp
9560 * gdb.base/eval-avoid-side-effects.exp
9561 * gdb.base/eval-skip.exp
9562 * gdb.base/exitsignal.exp
9563 * gdb.base/expand-psymtabs.exp
9564 * gdb.base/filesym.exp
9565 * gdb.base/find-unmapped.exp
9566 * gdb.base/finish.exp
9567 * gdb.base/float.exp
9568 * gdb.base/foll-exec-mode.exp
9569 * gdb.base/foll-exec.exp
9570 * gdb.base/foll-fork.exp
9571 * gdb.base/fortran-sym-case.exp
9572 * gdb.base/freebpcmd.exp
9573 * gdb.base/func-ptr.exp
9574 * gdb.base/func-ptrs.exp
9575 * gdb.base/funcargs.exp
9576 * gdb.base/gcore-buffer-overflow.exp
9577 * gdb.base/gcore-relro-pie.exp
9578 * gdb.base/gcore-relro.exp
9579 * gdb.base/gcore.exp
9580 * gdb.base/gdb1090.exp
9581 * gdb.base/gdb11530.exp
9582 * gdb.base/gdb11531.exp
9583 * gdb.base/gdb1821.exp
9584 * gdb.base/gdbindex-stabs.exp
9585 * gdb.base/gdbvars.exp
9586 * gdb.base/hbreak.exp
9587 * gdb.base/hbreak2.exp
9588 * gdb.base/included.exp
9589 * gdb.base/infcall-input.exp
9590 * gdb.base/inferior-died.exp
9591 * gdb.base/infnan.exp
9592 * gdb.base/info-macros.exp
9593 * gdb.base/info-os.exp
9594 * gdb.base/info-proc.exp
9595 * gdb.base/info-shared.exp
9596 * gdb.base/info-target.exp
9597 * gdb.base/infoline.exp
9598 * gdb.base/interp.exp
9599 * gdb.base/interrupt.exp
9600 * gdb.base/jit-reader.exp
9601 * gdb.base/jit-simple.exp
9602 * gdb.base/kill-after-signal.exp
9603 * gdb.base/kill-detach-inferiors-cmd.exp
9604 * gdb.base/label.exp
9605 * gdb.base/langs.exp
9606 * gdb.base/ldbl_e308.exp
9607 * gdb.base/line-symtabs.exp
9608 * gdb.base/linespecs.exp
9610 * gdb.base/long_long.exp
9611 * gdb.base/longest-types.exp
9612 * gdb.base/maint.exp
9613 * gdb.base/max-value-size.exp
9614 * gdb.base/memattr.exp
9615 * gdb.base/mips_pro.exp
9616 * gdb.base/morestack.exp
9617 * gdb.base/moribund-step.exp
9618 * gdb.base/multi-forks.exp
9619 * gdb.base/nested-addr.exp
9620 * gdb.base/nextoverexit.exp
9621 * gdb.base/noreturn-finish.exp
9622 * gdb.base/noreturn-return.exp
9623 * gdb.base/nostdlib.exp
9624 * gdb.base/offsets.exp
9625 * gdb.base/opaque.exp
9626 * gdb.base/pc-fp.exp
9627 * gdb.base/permissions.exp
9628 * gdb.base/print-symbol-loading.exp
9629 * gdb.base/prologue-include.exp
9630 * gdb.base/psymtab.exp
9631 * gdb.base/ptype.exp
9632 * gdb.base/random-signal.exp
9633 * gdb.base/randomize.exp
9634 * gdb.base/range-stepping.exp
9635 * gdb.base/readline-ask.exp
9636 * gdb.base/recpar.exp
9637 * gdb.base/recurse.exp
9638 * gdb.base/relational.exp
9639 * gdb.base/restore.exp
9640 * gdb.base/return-nodebug.exp
9641 * gdb.base/return.exp
9642 * gdb.base/run-after-attach.exp
9643 * gdb.base/save-bp.exp
9644 * gdb.base/scope.exp
9645 * gdb.base/sect-cmd.exp
9646 * gdb.base/set-lang-auto.exp
9647 * gdb.base/set-noassign.exp
9648 * gdb.base/setvar.exp
9649 * gdb.base/sigall.exp
9650 * gdb.base/sigbpt.exp
9651 * gdb.base/siginfo-addr.exp
9652 * gdb.base/siginfo-infcall.exp
9653 * gdb.base/siginfo-obj.exp
9654 * gdb.base/siginfo.exp
9655 * gdb.base/signals-state-child.exp
9656 * gdb.base/signest.exp
9657 * gdb.base/sigstep.exp
9658 * gdb.base/sizeof.exp
9660 * gdb.base/solib-corrupted.exp
9661 * gdb.base/solib-nodir.exp
9662 * gdb.base/solib-search.exp
9663 * gdb.base/stack-checking.exp
9664 * gdb.base/stale-infcall.exp
9665 * gdb.base/stap-probe.exp
9666 * gdb.base/start.exp
9667 * gdb.base/step-break.exp
9668 * gdb.base/step-bt.exp
9669 * gdb.base/step-line.exp
9670 * gdb.base/step-over-exit.exp
9671 * gdb.base/step-over-syscall.exp
9672 * gdb.base/step-resume-infcall.exp
9673 * gdb.base/step-test.exp
9674 * gdb.base/store.exp
9675 * gdb.base/structs3.exp
9676 * gdb.base/sym-file.exp
9677 * gdb.base/symbol-without-target_section.exp
9679 * gdb.base/testenv.exp
9680 * gdb.base/ui-redirect.exp
9681 * gdb.base/until.exp
9682 * gdb.base/unwindonsignal.exp
9683 * gdb.base/value-double-free.exp
9684 * gdb.base/vla-datatypes.exp
9685 * gdb.base/vla-ptr.exp
9686 * gdb.base/vla-sideeffect.exp
9687 * gdb.base/volatile.exp
9688 * gdb.base/watch-cond-infcall.exp
9689 * gdb.base/watch-cond.exp
9690 * gdb.base/watch-non-mem.exp
9691 * gdb.base/watch-read.exp
9692 * gdb.base/watch-vfork.exp
9693 * gdb.base/watchpoint-cond-gone.exp
9694 * gdb.base/watchpoint-delete.exp
9695 * gdb.base/watchpoint-hw-hit-once.exp
9696 * gdb.base/watchpoint-hw.exp
9697 * gdb.base/watchpoint-stops-at-right-insn.exp
9698 * gdb.base/watchpoints.exp
9699 * gdb.base/wchar.exp
9700 * gdb.base/whatis-exp.exp
9701 * gdb.btrace/buffer-size.exp
9702 * gdb.btrace/data.exp
9703 * gdb.btrace/delta.exp
9704 * gdb.btrace/dlopen.exp
9705 * gdb.btrace/enable.exp
9706 * gdb.btrace/exception.exp
9707 * gdb.btrace/function_call_history.exp
9708 * gdb.btrace/gcore.exp
9709 * gdb.btrace/instruction_history.exp
9710 * gdb.btrace/nohist.exp
9711 * gdb.btrace/reconnect.exp
9712 * gdb.btrace/record_goto-step.exp
9713 * gdb.btrace/record_goto.exp
9714 * gdb.btrace/rn-dl-bind.exp
9715 * gdb.btrace/segv.exp
9716 * gdb.btrace/step.exp
9717 * gdb.btrace/stepi.exp
9718 * gdb.btrace/tailcall-only.exp
9719 * gdb.btrace/tailcall.exp
9720 * gdb.btrace/tsx.exp
9721 * gdb.btrace/unknown_functions.exp
9722 * gdb.btrace/vdso.exp
9723 * gdb.compile/compile-ifunc.exp
9724 * gdb.compile/compile-ops.exp
9725 * gdb.compile/compile-print.exp
9726 * gdb.compile/compile-setjmp.exp
9727 * gdb.cp/abstract-origin.exp
9728 * gdb.cp/ambiguous.exp
9729 * gdb.cp/annota2.exp
9730 * gdb.cp/annota3.exp
9731 * gdb.cp/anon-ns.exp
9732 * gdb.cp/anon-struct.exp
9733 * gdb.cp/anon-union.exp
9734 * gdb.cp/arg-reference.exp
9735 * gdb.cp/baseenum.exp
9737 * gdb.cp/breakpoint.exp
9738 * gdb.cp/bs15503.exp
9741 * gdb.cp/chained-calls.exp
9743 * gdb.cp/classes.exp
9744 * gdb.cp/cmpd-minsyms.exp
9745 * gdb.cp/converts.exp
9746 * gdb.cp/cp-relocate.exp
9747 * gdb.cp/cpcompletion.exp
9748 * gdb.cp/cpexprs.exp
9749 * gdb.cp/cplabel.exp
9750 * gdb.cp/cplusfuncs.exp
9751 * gdb.cp/cpsizeof.exp
9753 * gdb.cp/derivation.exp
9754 * gdb.cp/destrprint.exp
9755 * gdb.cp/dispcxx.exp
9756 * gdb.cp/enum-class.exp
9757 * gdb.cp/exception.exp
9758 * gdb.cp/exceptprint.exp
9759 * gdb.cp/expand-psymtabs-cxx.exp
9760 * gdb.cp/expand-sals.exp
9761 * gdb.cp/extern-c.exp
9762 * gdb.cp/filename.exp
9763 * gdb.cp/formatted-ref.exp
9764 * gdb.cp/fpointer.exp
9765 * gdb.cp/gdb1355.exp
9766 * gdb.cp/gdb2495.exp
9768 * gdb.cp/impl-this.exp
9769 * gdb.cp/infcall-dlopen.exp
9770 * gdb.cp/inherit.exp
9771 * gdb.cp/iostream.exp
9775 * gdb.cp/m-static.exp
9776 * gdb.cp/mb-ctor.exp
9777 * gdb.cp/mb-inline.exp
9778 * gdb.cp/mb-templates.exp
9779 * gdb.cp/member-name.exp
9780 * gdb.cp/member-ptr.exp
9781 * gdb.cp/meth-typedefs.exp
9783 * gdb.cp/method2.exp
9784 * gdb.cp/minsym-fallback.exp
9786 * gdb.cp/namelessclass.exp
9787 * gdb.cp/namespace-enum.exp
9788 * gdb.cp/namespace-nested-import.exp
9789 * gdb.cp/namespace.exp
9790 * gdb.cp/nextoverthrow.exp
9791 * gdb.cp/no-dmgl-verbose.exp
9792 * gdb.cp/non-trivial-retval.exp
9793 * gdb.cp/noparam.exp
9795 * gdb.cp/nsimport.exp
9796 * gdb.cp/nsnested.exp
9797 * gdb.cp/nsnoimports.exp
9798 * gdb.cp/nsrecurs.exp
9799 * gdb.cp/nsstress.exp
9800 * gdb.cp/nsusing.exp
9801 * gdb.cp/operator.exp
9802 * gdb.cp/oranking.exp
9803 * gdb.cp/overload-const.exp
9804 * gdb.cp/overload.exp
9805 * gdb.cp/ovldbreak.exp
9807 * gdb.cp/paren-type.exp
9808 * gdb.cp/parse-lang.exp
9809 * gdb.cp/pass-by-ref.exp
9810 * gdb.cp/pr-1023.exp
9811 * gdb.cp/pr-1210.exp
9813 * gdb.cp/pr10687.exp
9814 * gdb.cp/pr12028.exp
9815 * gdb.cp/pr17132.exp
9816 * gdb.cp/pr17494.exp
9820 * gdb.cp/printmethod.exp
9822 * gdb.cp/psymtab-parameter.exp
9823 * gdb.cp/ptype-cv-cp.exp
9824 * gdb.cp/ptype-flags.exp
9825 * gdb.cp/re-set-overloaded.exp
9826 * gdb.cp/ref-types.exp
9828 * gdb.cp/scope-err.exp
9831 * gdb.cp/static-method.exp
9832 * gdb.cp/static-print-quit.exp
9833 * gdb.cp/temargs.exp
9834 * gdb.cp/templates.exp
9835 * gdb.cp/try_catch.exp
9836 * gdb.cp/typedef-operator.exp
9838 * gdb.cp/userdef.exp
9839 * gdb.cp/using-crash.exp
9840 * gdb.cp/var-tag.exp
9841 * gdb.cp/virtbase.exp
9842 * gdb.cp/virtfunc.exp
9843 * gdb.cp/virtfunc2.exp
9844 * gdb.cp/vla-cxx.exp
9845 * gdb.disasm/t01_mov.exp
9846 * gdb.disasm/t02_mova.exp
9847 * gdb.disasm/t03_add.exp
9848 * gdb.disasm/t04_sub.exp
9849 * gdb.disasm/t05_cmp.exp
9850 * gdb.disasm/t06_ari2.exp
9851 * gdb.disasm/t07_ari3.exp
9852 * gdb.disasm/t08_or.exp
9853 * gdb.disasm/t09_xor.exp
9854 * gdb.disasm/t10_and.exp
9855 * gdb.disasm/t11_logs.exp
9856 * gdb.disasm/t12_bit.exp
9857 * gdb.disasm/t13_otr.exp
9858 * gdb.dlang/circular.exp
9859 * gdb.dwarf2/arr-stride.exp
9860 * gdb.dwarf2/arr-subrange.exp
9861 * gdb.dwarf2/atomic-type.exp
9862 * gdb.dwarf2/bad-regnum.exp
9863 * gdb.dwarf2/bitfield-parent-optimized-out.exp
9864 * gdb.dwarf2/callframecfa.exp
9865 * gdb.dwarf2/clztest.exp
9866 * gdb.dwarf2/corrupt.exp
9867 * gdb.dwarf2/data-loc.exp
9868 * gdb.dwarf2/dup-psym.exp
9869 * gdb.dwarf2/dw2-anon-mptr.exp
9870 * gdb.dwarf2/dw2-anonymous-func.exp
9871 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
9872 * gdb.dwarf2/dw2-bad-unresolved.exp
9873 * gdb.dwarf2/dw2-basic.exp
9874 * gdb.dwarf2/dw2-canonicalize-type.exp
9875 * gdb.dwarf2/dw2-case-insensitive.exp
9876 * gdb.dwarf2/dw2-common-block.exp
9877 * gdb.dwarf2/dw2-compdir-oldgcc.exp
9878 * gdb.dwarf2/dw2-compressed.exp
9879 * gdb.dwarf2/dw2-const.exp
9880 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
9881 * gdb.dwarf2/dw2-cu-size.exp
9882 * gdb.dwarf2/dw2-dup-frame.exp
9883 * gdb.dwarf2/dw2-entry-value.exp
9884 * gdb.dwarf2/dw2-icycle.exp
9885 * gdb.dwarf2/dw2-ifort-parameter.exp
9886 * gdb.dwarf2/dw2-inline-break.exp
9887 * gdb.dwarf2/dw2-inline-param.exp
9888 * gdb.dwarf2/dw2-intercu.exp
9889 * gdb.dwarf2/dw2-intermix.exp
9890 * gdb.dwarf2/dw2-lexical-block-bare.exp
9891 * gdb.dwarf2/dw2-linkage-name-trust.exp
9892 * gdb.dwarf2/dw2-minsym-in-cu.exp
9893 * gdb.dwarf2/dw2-noloc.exp
9894 * gdb.dwarf2/dw2-op-call.exp
9895 * gdb.dwarf2/dw2-op-out-param.exp
9896 * gdb.dwarf2/dw2-opt-structptr.exp
9897 * gdb.dwarf2/dw2-param-error.exp
9898 * gdb.dwarf2/dw2-producer.exp
9899 * gdb.dwarf2/dw2-ranges-base.exp
9900 * gdb.dwarf2/dw2-ref-missing-frame.exp
9901 * gdb.dwarf2/dw2-reg-undefined.exp
9902 * gdb.dwarf2/dw2-regno-invalid.exp
9903 * gdb.dwarf2/dw2-restore.exp
9904 * gdb.dwarf2/dw2-restrict.exp
9905 * gdb.dwarf2/dw2-single-line-discriminators.exp
9906 * gdb.dwarf2/dw2-strp.exp
9907 * gdb.dwarf2/dw2-undefined-ret-addr.exp
9908 * gdb.dwarf2/dw2-unresolved.exp
9909 * gdb.dwarf2/dw2-var-zero-addr.exp
9910 * gdb.dwarf2/dw4-sig-types.exp
9911 * gdb.dwarf2/dwz.exp
9912 * gdb.dwarf2/dynarr-ptr.exp
9913 * gdb.dwarf2/enum-type.exp
9914 * gdb.dwarf2/gdb-index.exp
9915 * gdb.dwarf2/implptr-64bit.exp
9916 * gdb.dwarf2/implptr-optimized-out.exp
9917 * gdb.dwarf2/implptr.exp
9918 * gdb.dwarf2/implref-array.exp
9919 * gdb.dwarf2/implref-const.exp
9920 * gdb.dwarf2/implref-global.exp
9921 * gdb.dwarf2/implref-struct.exp
9922 * gdb.dwarf2/mac-fileno.exp
9923 * gdb.dwarf2/main-subprogram.exp
9924 * gdb.dwarf2/member-ptr-forwardref.exp
9925 * gdb.dwarf2/method-ptr.exp
9926 * gdb.dwarf2/missing-sig-type.exp
9927 * gdb.dwarf2/nonvar-access.exp
9928 * gdb.dwarf2/opaque-type-lookup.exp
9929 * gdb.dwarf2/pieces-optimized-out.exp
9930 * gdb.dwarf2/pieces.exp
9931 * gdb.dwarf2/pr10770.exp
9932 * gdb.dwarf2/pr13961.exp
9933 * gdb.dwarf2/staticvirtual.exp
9934 * gdb.dwarf2/subrange.exp
9935 * gdb.dwarf2/symtab-producer.exp
9936 * gdb.dwarf2/trace-crash.exp
9937 * gdb.dwarf2/typeddwarf.exp
9938 * gdb.dwarf2/valop.exp
9939 * gdb.dwarf2/watch-notconst.exp
9940 * gdb.fortran/array-element.exp
9941 * gdb.fortran/charset.exp
9942 * gdb.fortran/common-block.exp
9943 * gdb.fortran/complex.exp
9944 * gdb.fortran/derived-type-function.exp
9945 * gdb.fortran/derived-type.exp
9946 * gdb.fortran/logical.exp
9947 * gdb.fortran/module.exp
9948 * gdb.fortran/multi-dim.exp
9949 * gdb.fortran/nested-funcs.exp
9950 * gdb.fortran/print-formatted.exp
9951 * gdb.fortran/subarray.exp
9952 * gdb.fortran/vla-alloc-assoc.exp
9953 * gdb.fortran/vla-datatypes.exp
9954 * gdb.fortran/vla-history.exp
9955 * gdb.fortran/vla-ptr-info.exp
9956 * gdb.fortran/vla-ptype-sub.exp
9957 * gdb.fortran/vla-ptype.exp
9958 * gdb.fortran/vla-sizeof.exp
9959 * gdb.fortran/vla-type.exp
9960 * gdb.fortran/vla-value-sub-arbitrary.exp
9961 * gdb.fortran/vla-value-sub-finish.exp
9962 * gdb.fortran/vla-value-sub.exp
9963 * gdb.fortran/vla-value.exp
9964 * gdb.fortran/whatis_type.exp
9966 * gdb.go/handcall.exp
9968 * gdb.go/integers.exp
9969 * gdb.go/methods.exp
9970 * gdb.go/package.exp
9971 * gdb.go/strings.exp
9974 * gdb.guile/scm-arch.exp
9975 * gdb.guile/scm-block.exp
9976 * gdb.guile/scm-breakpoint.exp
9977 * gdb.guile/scm-cmd.exp
9978 * gdb.guile/scm-disasm.exp
9979 * gdb.guile/scm-equal.exp
9980 * gdb.guile/scm-frame-args.exp
9981 * gdb.guile/scm-frame-inline.exp
9982 * gdb.guile/scm-frame.exp
9983 * gdb.guile/scm-iterator.exp
9984 * gdb.guile/scm-math.exp
9985 * gdb.guile/scm-objfile.exp
9986 * gdb.guile/scm-ports.exp
9987 * gdb.guile/scm-symbol.exp
9988 * gdb.guile/scm-symtab.exp
9989 * gdb.guile/scm-value-cc.exp
9990 * gdb.guile/types-module.exp
9991 * gdb.linespec/break-ask.exp
9992 * gdb.linespec/cpexplicit.exp
9993 * gdb.linespec/explicit.exp
9994 * gdb.linespec/keywords.exp
9995 * gdb.linespec/linespec.exp
9996 * gdb.linespec/ls-dollar.exp
9997 * gdb.linespec/ls-errs.exp
9998 * gdb.linespec/skip-two.exp
9999 * gdb.linespec/thread.exp
10000 * gdb.mi/mi-async.exp
10001 * gdb.mi/mi-basics.exp
10002 * gdb.mi/mi-break.exp
10003 * gdb.mi/mi-catch-load.exp
10004 * gdb.mi/mi-cli.exp
10005 * gdb.mi/mi-cmd-param-changed.exp
10006 * gdb.mi/mi-console.exp
10007 * gdb.mi/mi-detach.exp
10008 * gdb.mi/mi-disassemble.exp
10009 * gdb.mi/mi-eval.exp
10010 * gdb.mi/mi-file-transfer.exp
10011 * gdb.mi/mi-file.exp
10012 * gdb.mi/mi-fill-memory.exp
10013 * gdb.mi/mi-inheritance-syntax-error.exp
10014 * gdb.mi/mi-linespec-err-cp.exp
10015 * gdb.mi/mi-logging.exp
10016 * gdb.mi/mi-memory-changed.exp
10017 * gdb.mi/mi-read-memory.exp
10018 * gdb.mi/mi-record-changed.exp
10019 * gdb.mi/mi-reg-undefined.exp
10020 * gdb.mi/mi-regs.exp
10021 * gdb.mi/mi-return.exp
10022 * gdb.mi/mi-reverse.exp
10023 * gdb.mi/mi-simplerun.exp
10024 * gdb.mi/mi-solib.exp
10025 * gdb.mi/mi-stack.exp
10026 * gdb.mi/mi-stepi.exp
10027 * gdb.mi/mi-syn-frame.exp
10028 * gdb.mi/mi-until.exp
10029 * gdb.mi/mi-var-block.exp
10030 * gdb.mi/mi-var-child.exp
10031 * gdb.mi/mi-var-cmd.exp
10032 * gdb.mi/mi-var-cp.exp
10033 * gdb.mi/mi-var-display.exp
10034 * gdb.mi/mi-var-invalidate.exp
10035 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
10036 * gdb.mi/mi-vla-fortran.exp
10037 * gdb.mi/mi-watch.exp
10038 * gdb.mi/mi2-var-child.exp
10039 * gdb.mi/user-selected-context-sync.exp
10040 * gdb.modula2/unbounded-array.exp
10041 * gdb.multi/dummy-frame-restore.exp
10042 * gdb.multi/multi-arch-exec.exp
10043 * gdb.multi/multi-arch.exp
10044 * gdb.multi/tids.exp
10045 * gdb.multi/watchpoint-multi.exp
10046 * gdb.opencl/callfuncs.exp
10047 * gdb.opencl/convs_casts.exp
10048 * gdb.opencl/datatypes.exp
10049 * gdb.opencl/operators.exp
10050 * gdb.opencl/vec_comps.exp
10051 * gdb.opt/clobbered-registers-O2.exp
10052 * gdb.opt/inline-break.exp
10053 * gdb.opt/inline-bt.exp
10054 * gdb.opt/inline-cmds.exp
10055 * gdb.opt/inline-locals.exp
10056 * gdb.pascal/case-insensitive-symbols.exp
10057 * gdb.pascal/floats.exp
10058 * gdb.pascal/gdb11492.exp
10059 * gdb.python/lib-types.exp
10060 * gdb.python/py-arch.exp
10061 * gdb.python/py-as-string.exp
10062 * gdb.python/py-bad-printers.exp
10063 * gdb.python/py-block.exp
10064 * gdb.python/py-breakpoint-create-fail.exp
10065 * gdb.python/py-breakpoint.exp
10066 * gdb.python/py-caller-is.exp
10067 * gdb.python/py-cmd.exp
10068 * gdb.python/py-explore-cc.exp
10069 * gdb.python/py-explore.exp
10070 * gdb.python/py-finish-breakpoint.exp
10071 * gdb.python/py-finish-breakpoint2.exp
10072 * gdb.python/py-frame-args.exp
10073 * gdb.python/py-frame-inline.exp
10074 * gdb.python/py-frame.exp
10075 * gdb.python/py-framefilter-mi.exp
10076 * gdb.python/py-infthread.exp
10077 * gdb.python/py-lazy-string.exp
10078 * gdb.python/py-linetable.exp
10079 * gdb.python/py-mi-events.exp
10080 * gdb.python/py-mi-objfile.exp
10081 * gdb.python/py-mi.exp
10082 * gdb.python/py-objfile.exp
10083 * gdb.python/py-pp-integral.exp
10084 * gdb.python/py-pp-maint.exp
10085 * gdb.python/py-pp-re-notag.exp
10086 * gdb.python/py-pp-registration.exp
10087 * gdb.python/py-recurse-unwind.exp
10088 * gdb.python/py-strfns.exp
10089 * gdb.python/py-symbol.exp
10090 * gdb.python/py-symtab.exp
10091 * gdb.python/py-sync-interp.exp
10092 * gdb.python/py-typeprint.exp
10093 * gdb.python/py-unwind-maint.exp
10094 * gdb.python/py-unwind.exp
10095 * gdb.python/py-value-cc.exp
10096 * gdb.python/py-xmethods.exp
10097 * gdb.reverse/amd64-tailcall-reverse.exp
10098 * gdb.reverse/break-precsave.exp
10099 * gdb.reverse/break-reverse.exp
10100 * gdb.reverse/consecutive-precsave.exp
10101 * gdb.reverse/consecutive-reverse.exp
10102 * gdb.reverse/finish-precsave.exp
10103 * gdb.reverse/finish-reverse-bkpt.exp
10104 * gdb.reverse/finish-reverse.exp
10105 * gdb.reverse/fstatat-reverse.exp
10106 * gdb.reverse/getresuid-reverse.exp
10107 * gdb.reverse/i386-precsave.exp
10108 * gdb.reverse/i386-reverse.exp
10109 * gdb.reverse/i386-sse-reverse.exp
10110 * gdb.reverse/i387-env-reverse.exp
10111 * gdb.reverse/i387-stack-reverse.exp
10112 * gdb.reverse/insn-reverse.exp
10113 * gdb.reverse/machinestate-precsave.exp
10114 * gdb.reverse/machinestate.exp
10115 * gdb.reverse/next-reverse-bkpt-over-sr.exp
10116 * gdb.reverse/pipe-reverse.exp
10117 * gdb.reverse/readv-reverse.exp
10118 * gdb.reverse/recvmsg-reverse.exp
10119 * gdb.reverse/rerun-prec.exp
10120 * gdb.reverse/s390-mvcle.exp
10121 * gdb.reverse/step-precsave.exp
10122 * gdb.reverse/step-reverse.exp
10123 * gdb.reverse/time-reverse.exp
10124 * gdb.reverse/until-precsave.exp
10125 * gdb.reverse/until-reverse.exp
10126 * gdb.reverse/waitpid-reverse.exp
10127 * gdb.reverse/watch-precsave.exp
10128 * gdb.reverse/watch-reverse.exp
10129 * gdb.rust/generics.exp
10130 * gdb.rust/methods.exp
10131 * gdb.rust/modules.exp
10132 * gdb.rust/simple.exp
10133 * gdb.server/connect-with-no-symbol-file.exp
10134 * gdb.server/ext-attach.exp
10135 * gdb.server/ext-restart.exp
10136 * gdb.server/ext-wrapper.exp
10137 * gdb.server/file-transfer.exp
10138 * gdb.server/server-exec-info.exp
10139 * gdb.server/server-kill.exp
10140 * gdb.server/server-mon.exp
10141 * gdb.server/wrapper.exp
10142 * gdb.stabs/exclfwd.exp
10143 * gdb.stabs/gdb11479.exp
10144 * gdb.threads/clone-new-thread-event.exp
10145 * gdb.threads/corethreads.exp
10146 * gdb.threads/current-lwp-dead.exp
10147 * gdb.threads/dlopen-libpthread.exp
10148 * gdb.threads/gcore-thread.exp
10149 * gdb.threads/sigstep-threads.exp
10150 * gdb.threads/watchpoint-fork.exp
10151 * gdb.trace/actions-changed.exp
10152 * gdb.trace/backtrace.exp
10153 * gdb.trace/change-loc.exp
10154 * gdb.trace/circ.exp
10155 * gdb.trace/collection.exp
10156 * gdb.trace/disconnected-tracing.exp
10157 * gdb.trace/ftrace.exp
10158 * gdb.trace/mi-trace-frame-collected.exp
10159 * gdb.trace/mi-trace-unavailable.exp
10160 * gdb.trace/mi-traceframe-changed.exp
10161 * gdb.trace/mi-tsv-changed.exp
10162 * gdb.trace/no-attach-trace.exp
10163 * gdb.trace/passc-dyn.exp
10164 * gdb.trace/qtro.exp
10165 * gdb.trace/range-stepping.exp
10166 * gdb.trace/read-memory.exp
10167 * gdb.trace/save-trace.exp
10168 * gdb.trace/signal.exp
10169 * gdb.trace/status-stop.exp
10170 * gdb.trace/tfile.exp
10171 * gdb.trace/trace-break.exp
10172 * gdb.trace/trace-buffer-size.exp
10173 * gdb.trace/trace-condition.exp
10174 * gdb.trace/tracefile-pseudo-reg.exp
10175 * gdb.trace/tstatus.exp
10176 * gdb.trace/unavailable.exp
10177 * gdb.trace/while-dyn.exp
10178 * gdb.trace/while-stepping.exp
10180 2016-12-22 Doug Evans <xdje42@gmail.com>
10182 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
10185 2016-12-19 Yao Qi <yao.qi@linaro.org>
10187 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
10188 (test_with_self): Don't call do_steps_and_nexts, and remove
10189 code about stepping into xmalloc.
10191 2016-12-09 Yao Qi <yao.qi@linaro.org>
10193 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
10195 2016-12-09 Yao Qi <yao.qi@linaro.org>
10197 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
10199 2016-12-09 Pedro Alves <palves@redhat.com>
10201 * gdb.base/all-architectures-0.exp: New file.
10202 * gdb.base/all-architectures-1.exp: New file.
10203 * gdb.base/all-architectures-2.exp: New file.
10204 * gdb.base/all-architectures-3.exp: New file.
10205 * gdb.base/all-architectures-4.exp: New file.
10206 * gdb.base/all-architectures-5.exp: New file.
10207 * gdb.base/all-architectures-6.exp: New file.
10208 * gdb.base/all-architectures-7.exp: New file.
10209 * gdb.base/all-architectures.exp.in: New file.
10211 2016-12-09 Yao Qi <yao.qi@linaro.org>
10213 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
10215 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
10217 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
10219 Remove useless pattern-matching code.
10221 2016-12-02 Pedro Alves <palves@redhat.com>
10223 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
10225 (top level): Call it.
10227 2016-12-02 Pedro Alves <palves@redhat.com>
10229 * gdb.base/commands.exp (user_defined_command_args_stack_test):
10231 (top level): Call it.
10233 2016-12-02 Pedro Alves <palves@redhat.com>
10236 * gdb.base/commands.exp (user_defined_command_args_eval): New
10238 (top level): Call it.
10240 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
10242 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
10245 2016-12-02 Tom Tromey <tom@tromey.com>
10247 * gdb.dwarf2/main-subprogram.c: New file.
10248 * gdb.dwarf2/main-subprogram.exp: New file.
10250 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
10252 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
10253 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
10254 gdb_test_no_output for a couple of cases.
10255 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
10257 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
10259 Fix test names and standardize compilation error messages throughout
10260 the following files:
10262 * gdb.ada/start.exp
10263 * gdb.arch/alpha-step.exp
10264 * gdb.arch/e500-prologue.exp
10265 * gdb.arch/ftrace-insn-reloc.exp
10266 * gdb.arch/gdb1291.exp
10267 * gdb.arch/gdb1431.exp
10268 * gdb.arch/gdb1558.exp
10269 * gdb.arch/i386-dr3-watch.exp
10270 * gdb.arch/i386-sse-stack-align.exp
10271 * gdb.arch/ia64-breakpoint-shadow.exp
10272 * gdb.arch/pa-nullify.exp
10273 * gdb.arch/powerpc-aix-prologue.exp
10274 * gdb.arch/thumb-bx-pc.exp
10275 * gdb.base/annota1.exp
10276 * gdb.base/annota3.exp
10277 * gdb.base/arrayidx.exp
10278 * gdb.base/assign.exp
10279 * gdb.base/attach.exp
10280 * gdb.base/auxv.exp
10281 * gdb.base/bang.exp
10282 * gdb.base/bfp-test.exp
10283 * gdb.base/bigcore.exp
10284 * gdb.base/bitfields2.exp
10285 * gdb.base/break-fun-addr.exp
10286 * gdb.base/break-probes.exp
10287 * gdb.base/call-rt-st.exp
10288 * gdb.base/callexit.exp
10289 * gdb.base/catch-fork-kill.exp
10290 * gdb.base/charset.exp
10291 * gdb.base/checkpoint.exp
10292 * gdb.base/comprdebug.exp
10293 * gdb.base/constvars.exp
10294 * gdb.base/coredump-filter.exp
10295 * gdb.base/cursal.exp
10296 * gdb.base/cvexpr.exp
10297 * gdb.base/detach.exp
10298 * gdb.base/display.exp
10299 * gdb.base/dmsym.exp
10300 * gdb.base/dprintf-pending.exp
10301 * gdb.base/dso2dso.exp
10302 * gdb.base/dtrace-probe.exp
10303 * gdb.base/dump.exp
10304 * gdb.base/enum_cond.exp
10305 * gdb.base/exe-lock.exp
10306 * gdb.base/exec-invalid-sysroot.exp
10307 * gdb.base/execl-update-breakpoints.exp
10308 * gdb.base/exprs.exp
10309 * gdb.base/fileio.exp
10310 * gdb.base/find.exp
10311 * gdb.base/finish.exp
10312 * gdb.base/fixsection.exp
10313 * gdb.base/foll-vfork.exp
10314 * gdb.base/frame-args.exp
10315 * gdb.base/gcore.exp
10316 * gdb.base/gdb1250.exp
10317 * gdb.base/global-var-nested-by-dso.exp
10318 * gdb.base/gnu-ifunc.exp
10319 * gdb.base/hashline1.exp
10320 * gdb.base/hashline2.exp
10321 * gdb.base/hashline3.exp
10322 * gdb.base/hbreak-in-shr-unsupported.exp
10323 * gdb.base/huge.exp
10324 * gdb.base/infcall-input.exp
10325 * gdb.base/info-fun.exp
10326 * gdb.base/info-shared.exp
10327 * gdb.base/jit-simple.exp
10328 * gdb.base/jit-so.exp
10330 * gdb.base/jump.exp
10331 * gdb.base/label.exp
10332 * gdb.base/lineinc.exp
10333 * gdb.base/logical.exp
10334 * gdb.base/longjmp.exp
10335 * gdb.base/macscp.exp
10336 * gdb.base/miscexprs.exp
10337 * gdb.base/new-ui-echo.exp
10338 * gdb.base/new-ui-pending-input.exp
10339 * gdb.base/new-ui.exp
10340 * gdb.base/nodebug.exp
10341 * gdb.base/nofield.exp
10342 * gdb.base/offsets.exp
10343 * gdb.base/overlays.exp
10344 * gdb.base/pending.exp
10345 * gdb.base/pointers.exp
10346 * gdb.base/pr11022.exp
10347 * gdb.base/printcmds.exp
10348 * gdb.base/prologue.exp
10349 * gdb.base/ptr-typedef.exp
10350 * gdb.base/realname-expand.exp
10351 * gdb.base/relativedebug.exp
10352 * gdb.base/relocate.exp
10353 * gdb.base/remote.exp
10354 * gdb.base/reread.exp
10355 * gdb.base/return2.exp
10356 * gdb.base/savedregs.exp
10358 * gdb.base/sepdebug.exp
10359 * gdb.base/sepsymtab.exp
10360 * gdb.base/set-inferior-tty.exp
10361 * gdb.base/setshow.exp
10362 * gdb.base/shlib-call.exp
10363 * gdb.base/sigaltstack.exp
10364 * gdb.base/siginfo-addr.exp
10365 * gdb.base/signals.exp
10366 * gdb.base/signull.exp
10367 * gdb.base/sigrepeat.exp
10368 * gdb.base/so-impl-ld.exp
10369 * gdb.base/solib-display.exp
10370 * gdb.base/solib-overlap.exp
10371 * gdb.base/solib-search.exp
10372 * gdb.base/solib-symbol.exp
10373 * gdb.base/structs.exp
10374 * gdb.base/structs2.exp
10375 * gdb.base/symtab-search-order.exp
10376 * gdb.base/twice.exp
10377 * gdb.base/unload.exp
10378 * gdb.base/varargs.exp
10379 * gdb.base/watchpoint-solib.exp
10380 * gdb.base/watchpoint.exp
10381 * gdb.base/whatis.exp
10382 * gdb.base/wrong_frame_bt_full.exp
10383 * gdb.btrace/dlopen.exp
10384 * gdb.cell/ea-standalone.exp
10385 * gdb.cell/ea-test.exp
10386 * gdb.cp/dispcxx.exp
10387 * gdb.cp/gdb2384.exp
10388 * gdb.cp/method2.exp
10389 * gdb.cp/nextoverthrow.exp
10390 * gdb.cp/pr10728.exp
10391 * gdb.disasm/am33.exp
10392 * gdb.disasm/h8300s.exp
10393 * gdb.disasm/mn10300.exp
10394 * gdb.disasm/sh3.exp
10395 * gdb.dwarf2/dw2-dir-file-name.exp
10396 * gdb.fortran/complex.exp
10397 * gdb.fortran/library-module.exp
10398 * gdb.guile/scm-pretty-print.exp
10399 * gdb.guile/scm-symbol.exp
10400 * gdb.guile/scm-type.exp
10401 * gdb.guile/scm-value.exp
10402 * gdb.linespec/linespec.exp
10403 * gdb.mi/gdb701.exp
10404 * gdb.mi/gdb792.exp
10405 * gdb.mi/mi-breakpoint-changed.exp
10406 * gdb.mi/mi-dprintf-pending.exp
10407 * gdb.mi/mi-dprintf.exp
10408 * gdb.mi/mi-exit-code.exp
10409 * gdb.mi/mi-pending.exp
10410 * gdb.mi/mi-solib.exp
10411 * gdb.mi/new-ui-mi-sync.exp
10412 * gdb.mi/pr11022.exp
10413 * gdb.mi/user-selected-context-sync.exp
10414 * gdb.opt/solib-intra-step.exp
10415 * gdb.python/py-events.exp
10416 * gdb.python/py-finish-breakpoint.exp
10417 * gdb.python/py-mi.exp
10418 * gdb.python/py-prettyprint.exp
10419 * gdb.python/py-shared.exp
10420 * gdb.python/py-symbol.exp
10421 * gdb.python/py-template.exp
10422 * gdb.python/py-type.exp
10423 * gdb.python/py-value.exp
10424 * gdb.reverse/solib-precsave.exp
10425 * gdb.reverse/solib-reverse.exp
10426 * gdb.server/solib-list.exp
10427 * gdb.stabs/weird.exp
10428 * gdb.threads/reconnect-signal.exp
10429 * gdb.threads/stepi-random-signal.exp
10430 * gdb.trace/actions.exp
10432 * gdb.trace/backtrace.exp
10433 * gdb.trace/change-loc.exp
10434 * gdb.trace/deltrace.exp
10435 * gdb.trace/ftrace-lock.exp
10436 * gdb.trace/ftrace.exp
10437 * gdb.trace/infotrace.exp
10438 * gdb.trace/mi-tracepoint-changed.exp
10439 * gdb.trace/packetlen.exp
10440 * gdb.trace/passcount.exp
10441 * gdb.trace/pending.exp
10442 * gdb.trace/range-stepping.exp
10443 * gdb.trace/report.exp
10444 * gdb.trace/stap-trace.exp
10445 * gdb.trace/tfind.exp
10446 * gdb.trace/trace-break.exp
10447 * gdb.trace/trace-condition.exp
10448 * gdb.trace/trace-enable-disable.exp
10449 * gdb.trace/trace-mt.exp
10450 * gdb.trace/tracecmd.exp
10451 * gdb.trace/tspeed.exp
10452 * gdb.trace/tsv.exp
10455 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
10457 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
10458 with gdb_test_no_output.
10459 Use command as test name.
10461 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
10463 Fix test names starting with uppercase throughout the files.
10465 * gdb.ada/assign_1.exp
10466 * gdb.ada/boolean_expr.exp
10467 * gdb.base/arrayidx.exp
10469 * gdb.base/gcore-buffer-overflow.exp
10470 * gdb.base/testenv.exp
10471 * gdb.compile/compile.exp
10472 * gdb.python/py-framefilter-invalidarg.exp
10473 * gdb.python/py-framefilter.exp
10475 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
10477 Fix test names starting with uppercase throughout the files.
10479 * gdb.ada/array_return.exp
10480 * gdb.ada/expr_delims.exp
10481 * gdb.ada/mi_dyn_arr.exp
10482 * gdb.ada/mi_interface.exp
10483 * gdb.ada/mi_var_array.exp
10484 * gdb.ada/watch_arg.exp
10485 * gdb.arch/alpha-step.exp
10486 * gdb.arch/altivec-regs.exp
10487 * gdb.arch/e500-regs.exp
10488 * gdb.arch/powerpc-d128-regs.exp
10489 * gdb.base/arrayidx.exp
10490 * gdb.base/break.exp
10491 * gdb.base/checkpoint.exp
10492 * gdb.base/debug-expr.exp
10493 * gdb.base/dmsym.exp
10494 * gdb.base/radix.exp
10495 * gdb.base/sepdebug.exp
10496 * gdb.base/testenv.exp
10497 * gdb.base/watch_thread_num.exp
10498 * gdb.base/watchpoint-cond-gone.exp
10499 * gdb.cell/break.exp
10500 * gdb.cell/ea-cache.exp
10501 * gdb.compile/compile.exp
10502 * gdb.cp/gdb2495.exp
10503 * gdb.gdb/selftest.exp
10504 * gdb.gdb/xfullpath.exp
10506 * gdb.go/integers.exp
10507 * gdb.objc/basicclass.exp
10508 * gdb.pascal/hello.exp
10509 * gdb.pascal/integers.exp
10510 * gdb.python/py-breakpoint.exp
10511 * gdb.python/py-cmd.exp
10512 * gdb.python/py-linetable.exp
10513 * gdb.python/py-xmethods.exp
10514 * gdb.python/python.exp
10515 * gdb.reverse/consecutive-precsave.exp
10516 * gdb.reverse/finish-precsave.exp
10517 * gdb.reverse/i386-precsave.exp
10518 * gdb.reverse/machinestate-precsave.exp
10519 * gdb.reverse/sigall-precsave.exp
10520 * gdb.reverse/solib-precsave.exp
10521 * gdb.reverse/step-precsave.exp
10522 * gdb.reverse/until-precsave.exp
10523 * gdb.reverse/watch-precsave.exp
10524 * gdb.threads/leader-exit.exp
10525 * gdb.threads/pthreads.exp
10526 * gdb.threads/wp-replication.exp
10527 * gdb.trace/actions.exp
10528 * gdb.trace/mi-tsv-changed.exp
10529 * gdb.trace/tsv.exp
10531 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
10533 Fix test names starting with uppercase throughout the files.
10535 * gdb.arch/i386-bp_permanent.exp
10536 * gdb.arch/i386-gnu-cfi.exp
10537 * gdb.base/disasm-end-cu.exp
10538 * gdb.base/macscp.exp
10539 * gdb.base/pending.exp
10540 * gdb.base/watch_thread_num.exp
10541 * gdb.cp/exception.exp
10542 * gdb.cp/gdb2495.exp
10544 * gdb.python/py-evsignal.exp
10545 * gdb.python/python.exp
10546 * gdb.trace/tracecmd.exp
10548 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
10550 Fix test names starting with uppercase throughout the files.
10552 * gdb.base/charset.exp
10553 * gdb.base/eval.exp
10554 * gdb.base/multi-forks.exp
10555 * gdb.guile/scm-progspace.exp
10556 * gdb.opencl/datatypes.exp
10557 * gdb.python/py-block.exp
10558 * gdb.python/py-function.exp
10559 * gdb.python/py-symbol.exp
10560 * gdb.python/py-symtab.exp
10561 * gdb.python/py-xmethods.exp
10562 * gdb.reverse/break-precsave.exp
10563 * gdb.reverse/break-reverse.exp
10564 * gdb.reverse/consecutive-precsave.exp
10565 * gdb.reverse/consecutive-reverse.exp
10566 * gdb.reverse/finish-precsave.exp
10567 * gdb.reverse/finish-reverse-bkpt.exp
10568 * gdb.reverse/finish-reverse.exp
10569 * gdb.reverse/fstatat-reverse.exp
10570 * gdb.reverse/getresuid-reverse.exp
10571 * gdb.reverse/i386-precsave.exp
10572 * gdb.reverse/i386-reverse.exp
10573 * gdb.reverse/i386-sse-reverse.exp
10574 * gdb.reverse/i387-stack-reverse.exp
10575 * gdb.reverse/insn-reverse.exp
10576 * gdb.reverse/machinestate-precsave.exp
10577 * gdb.reverse/machinestate.exp
10578 * gdb.reverse/next-reverse-bkpt-over-sr.exp
10579 * gdb.reverse/pipe-reverse.exp
10580 * gdb.reverse/readv-reverse.exp
10581 * gdb.reverse/recvmsg-reverse.exp
10582 * gdb.reverse/rerun-prec.exp
10583 * gdb.reverse/s390-mvcle.exp
10584 * gdb.reverse/sigall-precsave.exp
10585 * gdb.reverse/sigall-reverse.exp
10586 * gdb.reverse/solib-precsave.exp
10587 * gdb.reverse/solib-reverse.exp
10588 * gdb.reverse/step-precsave.exp
10589 * gdb.reverse/step-reverse.exp
10590 * gdb.reverse/time-reverse.exp
10591 * gdb.reverse/until-precsave.exp
10592 * gdb.reverse/until-reverse.exp
10593 * gdb.reverse/waitpid-reverse.exp
10594 * gdb.reverse/watch-precsave.exp
10595 * gdb.reverse/watch-reverse.exp
10597 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
10599 Fix test names starting with uppercase throughout the files.
10601 * gdb.arch/i386-mpx-simple_segv.exp
10602 * gdb.arch/i386-mpx.exp
10603 * gdb.arch/i386-permbkpt.exp
10604 * gdb.arch/pa-nullify.exp
10605 * gdb.arch/powerpc-d128-regs.exp
10606 * gdb.arch/vsx-regs.exp
10607 * gdb.base/bfp-test.exp
10608 * gdb.base/break.exp
10609 * gdb.base/breakpoint-shadow.exp
10610 * gdb.base/callfuncs.exp
10611 * gdb.base/charset.exp
10612 * gdb.base/commands.exp
10613 * gdb.base/completion.exp
10614 * gdb.base/dfp-test.exp
10615 * gdb.base/echo.exp
10616 * gdb.base/ending-run.exp
10617 * gdb.base/eval.exp
10618 * gdb.base/expand-psymtabs.exp
10619 * gdb.base/float128.exp
10620 * gdb.base/floatn.exp
10621 * gdb.base/foll-exec-mode.exp
10622 * gdb.base/gdb1056.exp
10623 * gdb.base/gdb11531.exp
10624 * gdb.base/kill-after-signal.exp
10625 * gdb.base/multi-forks.exp
10626 * gdb.base/overlays.exp
10627 * gdb.base/pending.exp
10628 * gdb.base/sepdebug.exp
10629 * gdb.base/testenv.exp
10630 * gdb.base/valgrind-db-attach.exp
10631 * gdb.base/watch_thread_num.exp
10632 * gdb.base/watchpoint-cond-gone.exp
10633 * gdb.base/watchpoint.exp
10634 * gdb.base/watchpoints.exp
10635 * gdb.cp/arg-reference.exp
10636 * gdb.cp/baseenum.exp
10637 * gdb.cp/operator.exp
10638 * gdb.cp/shadow.exp
10639 * gdb.dwarf2/dw2-op-out-param.exp
10640 * gdb.dwarf2/dw2-reg-undefined.exp
10643 * gdb.go/integers.exp
10644 * gdb.go/methods.exp
10645 * gdb.go/package.exp
10646 * gdb.guile/scm-parameter.exp
10647 * gdb.guile/scm-progspace.exp
10648 * gdb.guile/scm-value.exp
10649 * gdb.mi/mi-pending.exp
10650 * gdb.mi/user-selected-context-sync.exp
10651 * gdb.multi/multi-attach.exp
10652 * gdb.multi/tids.exp
10653 * gdb.opt/clobbered-registers-O2.exp
10654 * gdb.pascal/floats.exp
10655 * gdb.pascal/integers.exp
10656 * gdb.python/py-block.exp
10657 * gdb.python/py-events.exp
10658 * gdb.python/py-parameter.exp
10659 * gdb.python/py-symbol.exp
10660 * gdb.python/py-symtab.exp
10661 * gdb.python/py-type.exp
10662 * gdb.python/py-value.exp
10663 * gdb.python/py-xmethods.exp
10664 * gdb.python/python.exp
10665 * gdb.reverse/break-precsave.exp
10666 * gdb.reverse/consecutive-precsave.exp
10667 * gdb.reverse/finish-precsave.exp
10668 * gdb.reverse/i386-precsave.exp
10669 * gdb.reverse/machinestate-precsave.exp
10670 * gdb.reverse/sigall-precsave.exp
10671 * gdb.reverse/solib-precsave.exp
10672 * gdb.reverse/step-precsave.exp
10673 * gdb.reverse/until-precsave.exp
10674 * gdb.reverse/watch-precsave.exp
10675 * gdb.server/ext-attach.exp
10676 * gdb.server/ext-restart.exp
10677 * gdb.server/ext-run.exp
10678 * gdb.server/ext-wrapper.exp
10679 * gdb.stabs/gdb11479.exp
10680 * gdb.stabs/weird.exp
10681 * gdb.threads/attach-many-short-lived-threads.exp
10682 * gdb.threads/kill.exp
10683 * gdb.threads/watchpoint-fork.exp
10685 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
10687 Fix test names starting with uppercase throughout all the files below.
10689 * gdb.ada/array_return.exp
10690 * gdb.ada/catch_ex.exp
10691 * gdb.ada/info_exc.exp
10692 * gdb.ada/mi_catch_ex.exp
10693 * gdb.ada/mi_dyn_arr.exp
10694 * gdb.ada/mi_ex_cond.exp
10695 * gdb.ada/mi_exc_info.exp
10696 * gdb.ada/mi_interface.exp
10697 * gdb.ada/mi_task_arg.exp
10698 * gdb.ada/mi_task_info.exp
10699 * gdb.ada/mi_var_array.exp
10700 * gdb.arch/alpha-step.exp
10701 * gdb.arch/amd64-disp-step.exp
10702 * gdb.arch/arm-disp-step.exp
10703 * gdb.arch/disp-step-insn-reloc.exp
10704 * gdb.arch/e500-prologue.exp
10705 * gdb.arch/ftrace-insn-reloc.exp
10706 * gdb.arch/gdb1558.exp
10707 * gdb.arch/i386-bp_permanent.exp
10708 * gdb.arch/i386-disp-step.exp
10709 * gdb.arch/i386-float.exp
10710 * gdb.arch/i386-gnu-cfi.exp
10711 * gdb.arch/ia64-breakpoint-shadow.exp
10712 * gdb.arch/mips16-thunks.exp
10713 * gdb.arch/pa-nullify.exp
10714 * gdb.arch/powerpc-aix-prologue.exp
10715 * gdb.arch/powerpc-power.exp
10716 * gdb.arch/ppc-dfp.exp
10717 * gdb.arch/s390-tdbregs.exp
10718 * gdb.arch/spu-info.exp
10719 * gdb.arch/spu-ls.exp
10720 * gdb.arch/thumb-bx-pc.exp
10721 * gdb.base/advance.exp
10722 * gdb.base/annota-input-while-running.exp
10723 * gdb.base/arrayidx.exp
10724 * gdb.base/asmlabel.exp
10725 * gdb.base/async.exp
10726 * gdb.base/attach-wait-input.exp
10727 * gdb.base/auto-connect-native-target.exp
10728 * gdb.base/batch-preserve-term-settings.exp
10729 * gdb.base/bfp-test.exp
10730 * gdb.base/bigcore.exp
10731 * gdb.base/bp-permanent.exp
10732 * gdb.base/break-always.exp
10733 * gdb.base/break-fun-addr.exp
10734 * gdb.base/break-idempotent.exp
10735 * gdb.base/break-main-file-remove-fail.exp
10736 * gdb.base/break-probes.exp
10737 * gdb.base/break-unload-file.exp
10738 * gdb.base/break.exp
10739 * gdb.base/call-ar-st.exp
10740 * gdb.base/call-rt-st.exp
10741 * gdb.base/call-sc.exp
10742 * gdb.base/call-signal-resume.exp
10743 * gdb.base/call-strs.exp
10744 * gdb.base/callexit.exp
10745 * gdb.base/callfuncs.exp
10746 * gdb.base/catch-gdb-caused-signals.exp
10747 * gdb.base/catch-signal-siginfo-cond.exp
10748 * gdb.base/catch-syscall.exp
10749 * gdb.base/compare-sections.exp
10750 * gdb.base/cond-eval-mode.exp
10751 * gdb.base/condbreak-call-false.exp
10752 * gdb.base/consecutive-step-over.exp
10753 * gdb.base/cursal.exp
10754 * gdb.base/disabled-location.exp
10755 * gdb.base/disasm-end-cu.exp
10756 * gdb.base/display.exp
10757 * gdb.base/double-prompt-target-event-error.exp
10758 * gdb.base/dprintf-bp-same-addr.exp
10759 * gdb.base/dprintf-detach.exp
10760 * gdb.base/dprintf-next.exp
10761 * gdb.base/dprintf-non-stop.exp
10762 * gdb.base/dprintf-pending.exp
10763 * gdb.base/dso2dso.exp
10764 * gdb.base/ending-run.exp
10765 * gdb.base/enum_cond.exp
10766 * gdb.base/examine-backward.exp
10767 * gdb.base/exe-lock.exp
10768 * gdb.base/exec-invalid-sysroot.exp
10769 * gdb.base/execl-update-breakpoints.exp
10770 * gdb.base/execution-termios.exp
10771 * gdb.base/fileio.exp
10772 * gdb.base/fixsection.exp
10773 * gdb.base/foll-exec-mode.exp
10774 * gdb.base/foll-exec.exp
10775 * gdb.base/fork-running-state.exp
10776 * gdb.base/frame-args.exp
10777 * gdb.base/fullpath-expand.exp
10778 * gdb.base/func-ptr.exp
10779 * gdb.base/gcore-relro-pie.exp
10780 * gdb.base/gdb1090.exp
10781 * gdb.base/gdb1555.exp
10782 * gdb.base/global-var-nested-by-dso.exp
10783 * gdb.base/gnu-ifunc.exp
10784 * gdb.base/hbreak-in-shr-unsupported.exp
10785 * gdb.base/hbreak-unmapped.exp
10786 * gdb.base/hook-stop.exp
10787 * gdb.base/infcall-input.exp
10788 * gdb.base/info-fun.exp
10789 * gdb.base/info-shared.exp
10790 * gdb.base/interrupt-noterm.exp
10791 * gdb.base/jit-so.exp
10793 * gdb.base/line-symtabs.exp
10794 * gdb.base/list.exp
10795 * gdb.base/longjmp.exp
10796 * gdb.base/macscp.exp
10797 * gdb.base/max-value-size.exp
10798 * gdb.base/nodebug.exp
10799 * gdb.base/nofield.exp
10800 * gdb.base/overlays.exp
10801 * gdb.base/paginate-after-ctrl-c-running.exp
10802 * gdb.base/paginate-bg-execution.exp
10803 * gdb.base/paginate-inferior-exit.exp
10804 * gdb.base/pending.exp
10805 * gdb.base/pr11022.exp
10806 * gdb.base/printcmds.exp
10807 * gdb.base/ptr-typedef.exp
10808 * gdb.base/ptype.exp
10809 * gdb.base/randomize.exp
10810 * gdb.base/range-stepping.exp
10811 * gdb.base/realname-expand.exp
10812 * gdb.base/relativedebug.exp
10813 * gdb.base/remote.exp
10814 * gdb.base/savedregs.exp
10815 * gdb.base/sepdebug.exp
10816 * gdb.base/set-noassign.exp
10817 * gdb.base/shlib-call.exp
10818 * gdb.base/shreloc.exp
10819 * gdb.base/sigaltstack.exp
10820 * gdb.base/sigbpt.exp
10821 * gdb.base/siginfo-addr.exp
10822 * gdb.base/siginfo-obj.exp
10823 * gdb.base/siginfo-thread.exp
10824 * gdb.base/signest.exp
10825 * gdb.base/signull.exp
10826 * gdb.base/sigrepeat.exp
10827 * gdb.base/skip.exp
10828 * gdb.base/so-impl-ld.exp
10829 * gdb.base/solib-corrupted.exp
10830 * gdb.base/solib-disc.exp
10831 * gdb.base/solib-display.exp
10832 * gdb.base/solib-overlap.exp
10833 * gdb.base/solib-search.exp
10834 * gdb.base/solib-symbol.exp
10835 * gdb.base/source-execution.exp
10836 * gdb.base/sss-bp-on-user-bp-2.exp
10837 * gdb.base/sss-bp-on-user-bp.exp
10838 * gdb.base/stack-checking.exp
10839 * gdb.base/stale-infcall.exp
10840 * gdb.base/step-break.exp
10841 * gdb.base/step-line.exp
10842 * gdb.base/step-over-exit.exp
10843 * gdb.base/step-test.exp
10844 * gdb.base/structs.exp
10845 * gdb.base/sym-file.exp
10846 * gdb.base/symtab-search-order.exp
10847 * gdb.base/term.exp
10848 * gdb.base/type-opaque.exp
10849 * gdb.base/unload.exp
10850 * gdb.base/until-nodebug.exp
10851 * gdb.base/until.exp
10852 * gdb.base/unwindonsignal.exp
10853 * gdb.base/watch-cond.exp
10854 * gdb.base/watch-non-mem.exp
10855 * gdb.base/watch_thread_num.exp
10856 * gdb.base/watchpoint-reuse-slot.exp
10857 * gdb.base/watchpoint-solib.exp
10858 * gdb.base/watchpoint.exp
10859 * gdb.btrace/dlopen.exp
10860 * gdb.cell/arch.exp
10861 * gdb.cell/break.exp
10863 * gdb.cell/core.exp
10864 * gdb.cell/data.exp
10865 * gdb.cell/dwarfaddr.exp
10866 * gdb.cell/ea-cache.exp
10867 * gdb.cell/ea-standalone.exp
10868 * gdb.cell/ea-test.exp
10869 * gdb.cell/f-regs.exp
10870 * gdb.cell/fork.exp
10871 * gdb.cell/gcore.exp
10872 * gdb.cell/mem-access.exp
10873 * gdb.cell/ptype.exp
10874 * gdb.cell/registers.exp
10875 * gdb.cell/sizeof.exp
10876 * gdb.cell/solib-symbol.exp
10877 * gdb.cell/solib.exp
10878 * gdb.compile/compile-tls.exp
10879 * gdb.cp/exception.exp
10880 * gdb.cp/gdb2495.exp
10882 * gdb.cp/mb-inline.exp
10883 * gdb.cp/mb-templates.exp
10884 * gdb.cp/pr10687.exp
10885 * gdb.cp/pr9167.exp
10886 * gdb.cp/scope-err.exp
10887 * gdb.cp/templates.exp
10888 * gdb.cp/virtfunc.exp
10889 * gdb.dwarf2/dw2-dir-file-name.exp
10890 * gdb.dwarf2/dw2-single-line-discriminators.exp
10891 * gdb.fortran/complex.exp
10892 * gdb.fortran/library-module.exp
10893 * gdb.guile/guile.exp
10894 * gdb.guile/scm-cmd.exp
10895 * gdb.guile/scm-frame-inline.exp
10896 * gdb.guile/scm-objfile.exp
10897 * gdb.guile/scm-pretty-print.exp
10898 * gdb.guile/scm-symbol.exp
10899 * gdb.guile/scm-type.exp
10900 * gdb.guile/scm-value.exp
10901 * gdb.linespec/keywords.exp
10902 * gdb.linespec/ls-errs.exp
10903 * gdb.linespec/macro-relative.exp
10904 * gdb.linespec/thread.exp
10905 * gdb.mi/mi-breakpoint-changed.exp
10906 * gdb.mi/mi-dprintf-pending.exp
10907 * gdb.mi/mi-fullname-deleted.exp
10908 * gdb.mi/mi-logging.exp
10909 * gdb.mi/mi-pending.exp
10910 * gdb.mi/mi-solib.exp
10911 * gdb.mi/new-ui-mi-sync.exp
10912 * gdb.mi/user-selected-context-sync.exp
10913 * gdb.multi/dummy-frame-restore.exp
10914 * gdb.multi/multi-arch-exec.exp
10915 * gdb.multi/remove-inferiors.exp
10916 * gdb.multi/watchpoint-multi-exit.exp
10917 * gdb.opt/solib-intra-step.exp
10918 * gdb.perf/backtrace.exp
10919 * gdb.perf/single-step.exp
10920 * gdb.perf/skip-command.exp
10921 * gdb.perf/skip-prologue.exp
10922 * gdb.perf/solib.exp
10923 * gdb.python/lib-types.exp
10924 * gdb.python/py-as-string.exp
10925 * gdb.python/py-bad-printers.exp
10926 * gdb.python/py-block.exp
10927 * gdb.python/py-breakpoint.exp
10928 * gdb.python/py-cmd.exp
10929 * gdb.python/py-events.exp
10930 * gdb.python/py-evthreads.exp
10931 * gdb.python/py-finish-breakpoint.exp
10932 * gdb.python/py-finish-breakpoint2.exp
10933 * gdb.python/py-frame-inline.exp
10934 * gdb.python/py-frame.exp
10935 * gdb.python/py-inferior.exp
10936 * gdb.python/py-infthread.exp
10937 * gdb.python/py-mi.exp
10938 * gdb.python/py-objfile.exp
10939 * gdb.python/py-pp-maint.exp
10940 * gdb.python/py-pp-registration.exp
10941 * gdb.python/py-prettyprint.exp
10942 * gdb.python/py-recurse-unwind.exp
10943 * gdb.python/py-shared.exp
10944 * gdb.python/py-symbol.exp
10945 * gdb.python/py-symtab.exp
10946 * gdb.python/py-template.exp
10947 * gdb.python/py-type.exp
10948 * gdb.python/py-unwind-maint.exp
10949 * gdb.python/py-unwind.exp
10950 * gdb.python/py-value.exp
10951 * gdb.python/python.exp
10952 * gdb.reverse/finish-reverse-bkpt.exp
10953 * gdb.reverse/insn-reverse.exp
10954 * gdb.reverse/next-reverse-bkpt-over-sr.exp
10955 * gdb.reverse/solib-precsave.exp
10956 * gdb.reverse/solib-reverse.exp
10957 * gdb.stabs/gdb11479.exp
10958 * gdb.stabs/weird.exp
10959 * gdb.threads/fork-child-threads.exp
10960 * gdb.threads/fork-plus-threads.exp
10961 * gdb.threads/fork-thread-pending.exp
10962 * gdb.threads/forking-threads-plus-breakpoint.exp
10963 * gdb.threads/hand-call-in-threads.exp
10964 * gdb.threads/interrupted-hand-call.exp
10965 * gdb.threads/linux-dp.exp
10966 * gdb.threads/local-watch-wrong-thread.exp
10967 * gdb.threads/next-while-other-thread-longjmps.exp
10968 * gdb.threads/non-ldr-exit.exp
10969 * gdb.threads/pending-step.exp
10970 * gdb.threads/print-threads.exp
10971 * gdb.threads/process-dies-while-detaching.exp
10972 * gdb.threads/process-dies-while-handling-bp.exp
10973 * gdb.threads/pthreads.exp
10974 * gdb.threads/queue-signal.exp
10975 * gdb.threads/reconnect-signal.exp
10976 * gdb.threads/signal-command-handle-nopass.exp
10977 * gdb.threads/signal-command-multiple-signals-pending.exp
10978 * gdb.threads/signal-delivered-right-thread.exp
10979 * gdb.threads/signal-sigtrap.exp
10980 * gdb.threads/sigthread.exp
10981 * gdb.threads/staticthreads.exp
10982 * gdb.threads/stepi-random-signal.exp
10983 * gdb.threads/thread-unwindonsignal.exp
10984 * gdb.threads/thread_check.exp
10985 * gdb.threads/thread_events.exp
10986 * gdb.threads/tid-reuse.exp
10987 * gdb.threads/tls-nodebug.exp
10988 * gdb.threads/tls-shared.exp
10989 * gdb.threads/tls-so_extern.exp
10990 * gdb.threads/tls.exp
10991 * gdb.threads/wp-replication.exp
10992 * gdb.trace/actions-changed.exp
10993 * gdb.trace/actions.exp
10994 * gdb.trace/backtrace.exp
10995 * gdb.trace/change-loc.exp
10996 * gdb.trace/collection.exp
10997 * gdb.trace/deltrace.exp
10998 * gdb.trace/disconnected-tracing.exp
10999 * gdb.trace/entry-values.exp
11000 * gdb.trace/ftrace-lock.exp
11001 * gdb.trace/ftrace.exp
11002 * gdb.trace/infotrace.exp
11003 * gdb.trace/mi-trace-frame-collected.exp
11004 * gdb.trace/mi-trace-unavailable.exp
11005 * gdb.trace/mi-traceframe-changed.exp
11006 * gdb.trace/mi-tracepoint-changed.exp
11007 * gdb.trace/mi-tsv-changed.exp
11008 * gdb.trace/no-attach-trace.exp
11009 * gdb.trace/packetlen.exp
11010 * gdb.trace/passc-dyn.exp
11011 * gdb.trace/passcount.exp
11012 * gdb.trace/pending.exp
11013 * gdb.trace/pr16508.exp
11014 * gdb.trace/qtro.exp
11015 * gdb.trace/range-stepping.exp
11016 * gdb.trace/read-memory.exp
11017 * gdb.trace/report.exp
11018 * gdb.trace/save-trace.exp
11019 * gdb.trace/signal.exp
11020 * gdb.trace/stap-trace.exp
11021 * gdb.trace/status-stop.exp
11022 * gdb.trace/strace.exp
11023 * gdb.trace/tfile.exp
11024 * gdb.trace/tfind.exp
11025 * gdb.trace/trace-break.exp
11026 * gdb.trace/trace-condition.exp
11027 * gdb.trace/trace-enable-disable.exp
11028 * gdb.trace/trace-mt.exp
11029 * gdb.trace/tracecmd.exp
11030 * gdb.trace/tracefile-pseudo-reg.exp
11031 * gdb.trace/tspeed.exp
11032 * gdb.trace/tstatus.exp
11033 * gdb.trace/tsv.exp
11034 * gdb.trace/unavailable.exp
11035 * gdb.trace/while-dyn.exp
11036 * gdb.trace/while-stepping.exp
11037 * lib/gdb-guile.exp
11039 * lib/mi-support.exp
11042 * lib/prelink-support.exp
11043 * lib/selftest-support.exp
11045 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
11047 * Makefile.in: Include disable-implicit-rules.mk.
11049 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11051 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
11052 non-byte-aligned bit fields.
11054 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11057 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
11058 respects the DW_AT_data_bit_offset attribute.
11060 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
11062 * gdb.base/default.exp: Fix output of "set language".
11064 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
11066 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
11067 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
11069 * configure.ac: Remove checks for the make program.
11070 * configure: Re-generate.
11072 2016-11-16 Kevin Buettner <kevinb@redhat.com>
11074 * gdb.python/py-recurse-unwind.c (main): Add loop.
11075 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
11076 to read_register() and gdb.parse_and_eval(). Make each code
11077 call a separate case that can be individually tested.
11078 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
11079 proc. Call cont_and_backtrace for each of the code paths that
11080 we want to test in the unwinder.
11082 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
11084 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
11085 the definition of struct S.
11087 2016-11-11 Catherine Moore <clm@codesourcery.com>
11089 * gdb.base/dump.exp: Identify verilog format dump tests as such.
11091 2016-11-09 Pedro Alves <palves@redhat.com>
11093 * gdb.base/commands.exp (runto_or_return): New procedure.
11094 (gdbvar_simple_if_test, gdbvar_simple_while_test)
11095 (gdbvar_complex_if_while_test, progvar_simple_if_test)
11096 (progvar_simple_while_test, progvar_complex_if_while_test)
11097 (if_while_breakpoint_command_test)
11098 (infrun_breakpoint_command_test, breakpoint_command_test)
11099 (user_defined_command_test, watchpoint_command_test)
11100 (test_command_prompt_position, redefine_hook_test)
11101 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
11102 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
11103 multi_line_input and multi_line. Remove gdb_expect and
11104 gdb_stop_suppressing_tests uses.
11105 * lib/gdb.exp (valnum_re): New global.
11106 (multi_line_input): New procedure.
11108 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
11110 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
11112 (test_setup): Define with proc_with_prefix.
11113 (test_cli_inferior): Likewise.
11114 (test_cli_thread): Likewise.
11115 (test_cli_frame): Likewise.
11116 (test_cli_select_frame): Likewise.
11117 (test_cli_up_down): Likewise.
11118 (test_mi_thread_select): Likewise.
11119 (test_mi_stack_select_frame): Likewise.
11120 (test_cli_in_mi_inferior): Likewise.
11121 (test_cli_in_mi_thread): Likewise.
11122 (test_cli_in_mi_frame): Likewise.
11123 (top level): Do not use with_test_prefix_procname.
11125 2016-11-09 Pedro Alves <palves@redhat.com>
11127 * gdb.base/commands.exp (gdbvar_simple_if_test)
11128 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
11129 (progvar_simple_if_test, progvar_simple_while_test)
11130 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
11131 (infrun_breakpoint_command_test, breakpoint_command_test)
11132 (user_defined_command_test, watchpoint_command_test)
11133 (test_command_prompt_position, deprecated_command_test)
11134 (bp_deleted_in_command, temporary_breakpoint_commands)
11135 (stray_arg0_test, source_file_with_indented_comment)
11136 (recursive_source_test, if_commands_test)
11137 (error_clears_commands_left, redefine_hook_test)
11138 (redefine_backtrace_test): Use proc_with_prefix.
11139 * lib/gdb.exp (proc_with_prefix): New proc.
11141 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
11143 * gdb.base/tui-layout.c: New file.
11144 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
11145 disassembly window contains very long lines.
11147 2016-11-08 Tom Tromey <tom@tromey.com>
11149 * gdb.python/py-value.exp (test_value_creation): Make "long" test
11150 depend on Python 2.
11152 2016-11-08 Tom Tromey <tom@tromey.com>
11154 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
11157 2016-10-29 Manish Goregaokar <manish@mozilla.com>
11159 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
11161 2016-10-27 Manish Goregaokar <manish@mozilla.com>
11163 * gdb.rust/simple.rs: Add test for univariant enums without
11164 discriminants and for encoded struct-like enums.
11166 2016-10-28 Pedro Alves <palves@redhat.com>
11168 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
11169 gdb_test_multiple, tighten regexps and match symtabs and line
11170 tables incrementally.
11172 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
11174 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
11177 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
11179 * gdb.base/exec-invalid-sysroot.exp: New file.
11181 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11183 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
11185 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11187 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
11189 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
11191 * gdb.base/killed-outside.exp: Remove $options from a call to
11192 `prepare_for_testing'.
11194 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
11196 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
11197 Change test message.
11199 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
11201 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
11204 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
11206 * gdb.trace/mi-trace-save.exp: New file.
11208 2016-10-13 Yao Qi <yao.qi@linaro.org>
11210 * gdb.base/code_elim.exp (get_var_address): Remove.
11211 * gdb.base/relocate.exp: Likewise.
11212 * gdb.base/shreloc.exp: Likewise.
11213 * lib/gdb.exp (get_var_address): New.
11215 2016-10-13 Yao Qi <yao.qi@linaro.org>
11217 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
11218 floating point tests if $skip_float_test is false.
11220 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
11222 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
11223 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
11225 Add 1 to argc so we guarantee distinct initial/modified argc values.
11227 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11229 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
11231 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11233 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
11234 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
11235 * gdb.arch/vsx-regs.exp: Likewise.
11237 2016-10-07 Yao Qi <yao.qi@linaro.org>
11239 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
11241 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
11243 * gdb.python/python.exp: Test decode_line("*0").
11245 2016-10-06 Doug Evans <dje@google.com>
11247 * gdb.python/py-value.exp (test_value_creation): Add test for large
11248 unsigned 64-bit value.
11250 2016-10-06 Tom Tromey <tom@tromey.com>
11252 * gdb.compile/compile.exp: Change java tests to rust.
11253 * gdb.base/setshow.exp: Change java tests to rust.
11254 * gdb.base/default.exp: Remove java from language list.
11255 * README (Examples): Update language example.
11256 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
11258 * lib/gdb.exp (skip_java_tests): Remove.
11259 * lib/java.exp: Remove.
11260 * gdb.java: Remove.
11262 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
11264 * gdb.arch/mips-fcr.exp: New test.
11265 * gdb.arch/mips-fcr.c: Source for the new test.
11267 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
11269 * gdb.base/solib-disc.exp: Use `standard_output_file'
11272 2016-10-06 Pedro Alves <palves@redhat.com>
11274 * gdb.base/jit-simple-dl.c: New file.
11275 * gdb.base/jit-simple-jit.c: New file, factored out from ...
11276 * gdb.base/jit-simple.c: ... this.
11277 * gdb.base/jit-simple.exp (jit_run): Delete.
11278 (build_jit): New proc.
11279 (jit_test_reread): Recompile either the main program or the shared
11280 library, depending on what is being tested. Skip changing address
11281 if caller wants to. Compare before/after addresses. If testing
11282 standalone, explicitly load the binary. Test "maint info
11284 (top level): Add "standalone vs shared lib" and "change address"
11285 vs "same address" axes.
11287 2016-10-06 Pedro Alves <palves@redhat.com>
11289 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
11292 (jit_test_reread): Use with_test_prefix. Reload the main binary
11293 explicitly. Compare the before/after addresses of the JIT
11296 2016-08-15 Doug Evans <dje@google.com>
11298 * gdb.xml/extra-regs.xml: Update, end field now required, default type
11299 for single bitfields is bool.
11300 * gdb.xml/tdesc-regs.exp: Ditto.
11302 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11304 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
11306 2016-10-05 Yao Qi <yao.qi@linaro.org>
11308 * lib/gdb.exp (support_complex_tests): Return zero if
11309 gdb_skip_float_test return true.
11311 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
11312 Simon Marchi <simon.marchi@ericsson.com>
11315 * gdb.mi/user-selected-context-sync.exp: New file.
11316 * gdb.mi/user-selected-context-sync.c: New file.
11318 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
11319 Simon Marchi <simon.marchi@ericsson.com>
11322 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
11323 =thread-select-event check.
11325 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
11327 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
11328 the compulsory L operand changes.
11329 * gdb.arch/powerpc-power.s: Likewise.
11331 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11333 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
11334 * gdb.base/jit-attach-pie.c: New file.
11335 * gdb.base/jit-attach-pie.exp: New file.
11337 2016-09-28 Pedro Alves <palves@redhat.com>
11339 * gdb.base/infcall-input.c: New file.
11340 * gdb.base/infcall-input.exp: New file.
11342 2016-09-22 Yao Qi <yao.qi@linaro.org>
11344 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
11345 (gdb_exit): Rename it to ...
11346 (gdbserver_gdb_exit): ... Close GDBserver.
11347 (gdb_exit): New proc, call gdbserver_gdb_exit.
11348 (mi_gdb_exit): Likewise.
11350 2016-09-22 Yao Qi <yao.qi@linaro.org>
11352 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
11354 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
11355 Remove duplication.
11357 2016-09-22 Yao Qi <yao.qi@linaro.org>
11359 * lib/gdbserver-support.exp: Check the existence of
11360 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
11362 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
11364 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
11366 2016-09-21 Tom Tromey <tom@tromey.com>
11369 * gdb.base/quit.exp: New file.
11371 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
11373 * .gitignore: New file.
11375 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
11377 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
11380 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11382 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
11384 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11386 * gdb.cp/casts.cc (decltype): Move it ...
11387 (main): ... with its call to ...
11388 * gdb.cp/casts03.cc: ... a new file.
11389 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
11391 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11393 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
11395 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
11397 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
11398 and sync up the test with tests in gas/testsuite/gas/ppc.
11399 * gdb.arch/powerpc-power.exp: Likewise.
11401 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11403 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
11405 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
11406 Jan Kratochvil <jan.kratochvil@redhat.com>
11408 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
11409 make m1's definition to be different from m2's. Use 'dummy' as an
11410 argument for probe 'two'.
11412 2016-09-10 Jon Beniston <jon@beniston.com>
11414 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
11417 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
11419 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
11420 variable declaration.
11421 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
11422 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
11423 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
11424 received HWCAP as its argument.
11426 2016-09-06 Pedro Alves <palves@redhat.com>
11428 * gdb.base/new-ui-pending-input.c: New file.
11429 * gdb.base/new-ui-pending-input.exp: New file.
11430 * gdb.exp (clear_gdb_spawn_id): New procedure.
11431 (with_spawn_id): Check whether gdb_spawn_id exists before
11432 referencing it. If gdb_spawn_id didn't exist on entry, clear it
11435 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
11437 * gdb.base/float128.c: New file.
11438 * gdb.base/float128.exp: Likewise.
11439 * gdb.base/floatn.c: Likewise.
11440 * gdb.base/floatn.exp: Likewise.
11442 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
11444 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
11446 2016-09-05 Pedro Alves <palves@redhat.com>
11449 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
11450 unwinders are immediately called as side effect of "source" or
11451 "disable unwinder" commands.
11452 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
11454 2016-09-02 Yao Qi <yao.qi@linaro.org>
11456 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
11457 is true and $type is "float" or "double".
11459 2016-09-02 Yao Qi <yao.qi@linaro.org>
11461 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
11463 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
11464 * gdb.base/call-rt-st.exp: Likewise.
11465 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
11466 return value instead of gdb,skip_float_test.
11467 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
11468 (do_function_calls): Use its return value instead of
11469 gdb,skip_float_test.
11470 * gdb.base/finish.exp: Likewise.
11471 * gdb.base/funcargs.exp: Likewise.
11472 * gdb.base/return.exp: Likewise.
11473 * gdb.base/return2.exp: Likewise.
11474 * gdb.base/varargs.exp: Likewise.
11475 * lib/gdb.exp (gdb_skip_float_test): Change it to
11476 gdb_caching_proc. Detect the broken ptrace on arm-linux.
11478 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
11480 * gdb.multi/tids.exp: Test "thread apply all".
11482 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11484 * gdb.base/default.exp (tty): Remove.
11486 2016-08-24 Kevin Buettner <kevinb@redhat.com>
11488 * gdb.python/py-recurse-unwind.c: New file.
11489 * gdb.python/py-recurse-unwind.py: New file.
11490 * gdb.python/py-recurse-unwind.exp: New file.
11492 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
11494 * gdb.base/set-inferior-tty.exp: New file.
11495 * gdb.base/set-inferior-tty.c: New file.
11497 2016-08-23 Pedro Alves <palves@redhat.com>
11500 * gdb.base/new-ui-echo.c: New file.
11501 * gdb.base/new-ui-echo.exp: New file.
11503 2016-08-23 Yao Qi <yao.qi@linaro.org>
11505 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
11507 * gdb.server/connect-without-multi-process.exp (do_test):
11510 2016-08-23 Yao Qi <yao.qi@linaro.org>
11512 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
11513 standalone_txt. Delete gdb_txt and standalone_txt on host
11514 and target. Spawn the binary on target. Copy files from
11517 2016-08-22 Pedro Alves <palves@redhat.com>
11520 * gdb.base/vdso-warning.exp: Test core dumps too. Use
11521 with_test_prefix. Factor out bits to ...
11522 (test_no_vdso): ... this new procedure.
11524 2016-08-19 Carl Love <cel@us.ibm.com>
11526 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
11527 maintaining separate logic for constructing the output path.
11528 * gdb.arch/powerpc-d128-regs.exp: Likewise.
11529 * gdb.arch/ppc-dfp.exp: Likewise.
11530 * gdb.arch/ppc-fp.exp: Likewise.
11531 * gdb.arch/vsx-regs.exp: Likewise.
11532 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
11533 binprefix for generating the additional binary files.
11535 2016-08-19 Pedro Alves <palves@redhat.com>
11537 * gdb.trace/mi-trace-frame-collected.exp
11538 (test_trace_frame_collected): On x32, expect two registers.
11540 2016-08-18 Carl Love <cel@us.ibm.com>
11542 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
11543 and sync up the test with tests in gas/testsuite/gas/ppc.
11544 * gdb.arch/powerpc-power.exp: Likewise.
11546 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
11548 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
11549 expected error message.
11551 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
11553 * gdb.multi/remove-inferiors.exp: New file.
11554 * gdb.multi/remove-inferiors.c: New file.
11556 2016-08-12 Yao Qi <yao.qi@linaro.org>
11558 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
11561 2016-08-10 Pedro Alves <palves@redhat.com>
11564 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
11567 2016-08-09 Pedro Alves <palves@redhat.com>
11568 Simon Marchi <simon.marchi@ericsson.com>
11571 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
11572 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
11574 2016-08-09 Pedro Alves <palves@redhat.com>
11577 * gdb.mi/mi-cmd-error.exp: New file.
11579 2016-08-09 Pedro Alves <palves@redhat.com>
11582 * gdb.base/signals-state-child.c: New file.
11583 * gdb.base/signals-state-child.exp: New file.
11584 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
11586 2016-08-09 Pedro Alves <palves@redhat.com>
11588 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
11590 2016-08-03 Tom Tromey <tom@tromey.com>
11593 * gdb.python/py-frame-inline.exp: Add Frame.function test.
11595 2016-08-01 Yao Qi <yao.qi@linaro.org>
11597 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
11598 variable mode to "multi-process" if $multi_process is 1, otherwise
11599 set it to "single-process".
11601 2016-08-01 Yao Qi <yao.qi@linaro.org>
11603 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
11604 * gdb.cp/cpexprs.exp: Likewise.
11605 * gdb.cp/m-static.exp: Likewise.
11607 2016-07-26 Tom Tromey <tom@tromey.com>
11610 * gdb.threads/tls.exp (check_thread_local): Add python symbol
11613 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
11615 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
11616 selecting assembly source files.
11617 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
11618 assembly source files.
11619 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
11620 assembly source files.
11621 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
11622 selecting assembly source files.
11624 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
11626 * gdb.base/new-ui.exp (do_test_invalid_args): New
11629 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
11631 * gdb.btrace/reconnect.c: New file.
11632 * gdb.btrace/reconnect.exp: New file.
11634 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
11636 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
11637 to test_catch_syscall_group.
11638 (test_catch_syscall_group): New.
11640 2016-07-21 Tom Tromey <tom@tromey.com>
11642 * gdb.rust/simple.rs (main): Use empty struct expression.
11643 * gdb.rust/simple.exp: Add tests for empty struct expression.
11645 2016-07-21 Yao Qi <yao.qi@linaro.org>
11647 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
11648 if gdb_skip_xml_test is true on some targets.
11650 2016-07-21 Yao Qi <yao.qi@linaro.org>
11652 * gdb.server/solib-list.exp: Unset last_loaded_file.
11654 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11656 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
11657 "step into captured_main (args)".
11659 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11661 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
11663 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11665 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
11667 2016-07-19 Pedro Alves <palves@redhat.com>
11669 * gdb.opt/inline-break.exp: Remove optimize=-O2.
11670 * gdb.opt/inline-bt.exp: Likewise.
11671 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
11672 additional_flags=-Winline.
11673 * gdb.opt/inline-locals.exp: Likewise.
11674 * gdb.opt/inline-markers.c (ATTR): Define.
11675 (inlined_fn): Use it.
11677 2016-07-19 Yao Qi <yao.qi@linaro.org>
11679 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
11680 (test_with_self): Remove some code. Remove argument executable.
11681 (top-level): Use do_self_tests.
11683 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
11684 Don Breazeal <donb@codesourcery.com>
11686 * gdb.base/maint.exp: Escape paths used in regular expressions.
11687 * gdb.stabs/weird.exp: Likewise.
11689 2016-07-13 Tom Tromey <tom@tromey.com>
11691 PR python/15620, PR python/18620:
11692 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
11693 (test_bkpt_events): New procs.
11695 2016-07-13 Tom Tromey <tom@tromey.com>
11698 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
11700 (test_watchpoints): Likewise.
11701 (test_bkpt_pending): New proc.
11703 2016-07-13 Tom Tromey <tom@tromey.com>
11706 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
11709 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11711 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
11712 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
11713 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
11715 (g): Rename g_end_lbl to g_label.
11716 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
11717 low_pc and high_pc.
11718 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
11720 2016-07-12 Tom Tromey <tom@tromey.com>
11723 * gdb.python/py-unwind-maint.exp: Update tests.
11725 2016-07-12 Yao Qi <yao.qi@linaro.org>
11727 * lib/selftest-support.exp (selftest_setup): Match the output
11728 when captured_main is inlined.
11730 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
11732 * gdb.fortran/derived-types.exp (result_line, result_line_2):
11734 (print this%a, print this%b, print this): New tests.
11735 * gdb.fortran/derived-types.f90 (this): New object and
11738 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
11740 * gdb.ada/arraydim.exp: Remove extra directory level in build
11743 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
11745 * lib/ada.exp: Remove extra directory level in build directory.
11746 * gdb.ada/cond_lang.exp: Likewise.
11747 * gdb.ada/exec_changed.exp: Likewise.
11748 * gdb.ada/lang_switch.exp: Likewise.
11750 2016-07-06 Manish Goregaokar <manish@mozilla.com>
11752 * simple.rs: Add test for raw pointer subscripting.
11753 * simple.exp: Add test expectations.
11755 2016-07-05 Yao Qi <yao.qi@linaro.org>
11757 * gdb.mi/mi-reverse.exp: Match =record-started output.
11759 2016-07-01 Pedro Alves <palves@redhat.com>
11761 * gdb.base/jit-reader.exp (info_registers_current_frame): New
11763 (jit_reader_test): Test the jit reader's unwinder.
11764 * gdb.base/jithost.c (jit_function_00_code): New global.
11765 (main): Use memcpy to fill in the mmapped code, instead of poking
11766 bytes manually here.
11767 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
11769 (read_debug_info): Save the function's range.
11770 (read_sp): New function.
11771 (unwind_frame): Use it. Also unwind RBP.
11772 (get_frame_id): Use read_sp.
11773 (gdb_init_reader): Use calloc instead of malloc.
11774 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
11775 parameter. Use gdb_test_multiple.
11777 2016-07-01 Pedro Alves <palves@redhat.com>
11778 Antoine Tremblay <antoine.tremblay@ericsson.com>
11780 * gdb.threads/process-dies-while-detaching.c: New file.
11781 * gdb.threads/process-dies-while-detaching.exp: New file.
11783 2016-07-01 Pedro Alves <palves@redhat.com>
11785 * gdb.multi/watchpoint-multi-exit.c: New file.
11786 * gdb.multi/watchpoint-multi-exit.exp: New file.
11788 2016-06-30 Pedro Alves <palves@redhat.com>
11790 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
11791 unset inferior_spawn_id.
11793 2016-06-30 Pedro Alves <palves@redhat.com>
11795 * lib/mi-support.exp (default_mi_gdb_start): Declare global
11796 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
11798 2016-06-29 Yao Qi <yao.qi@linaro.org>
11800 * gdb.base/return.c: Add copyright header.
11802 2016-06-29 Tom Tromey <tom@tromey.com>
11805 * gdb.python/py-framefilter.exp: Add tests for setting priority
11806 and disabling of non-existent frame filter.
11808 2016-06-29 Yao Qi <yao.qi@linaro.org>
11810 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
11813 2016-06-28 Yao Qi <yao.qi@linaro.org>
11815 * gdb.base/catch-syscall.exp: Remove check on isnative and target
11816 triplets. Start gdb, execute catch syscall, and continue. Check
11817 gdb's output to determine catch syscall is supported.
11819 2016-06-27 Manish Goregaokar <manish@mozilla.com>
11821 * gdb.rust/simple.rs: Add test for returning unit in a function.
11822 * gdb.rust/simple.exp: Add expectation for functions returning
11825 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
11827 * gdb.python/py-breakpoint-create-fail.c,
11828 gdb.python/py-breakpoint-create-fail.exp,
11829 gdb.python/py-breakpoint-create-fail.py: New testcase.
11831 2016-06-25 Manish Goregaokar <manish@mozilla.com>
11834 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
11835 * gdb.rust/simple.exp: Add test expectations for new NonZero
11838 2016-06-24 David Taylor <dtaylor@emc.com>
11840 * gdb.base/offsets.exp: New file.
11841 * gdb.base/offsets.c: New file.
11843 2016-06-23 Tom Tromey <tom@tromey.com>
11846 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
11847 before any filters are loaded.
11849 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
11851 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
11852 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
11854 * gdb.fortran/derived-type-function.exp: New file.
11855 * gdb.fortran/derived-type-function.f90: New file.
11858 2016-06-21 Pedro Alves <palves@redhat.com>
11860 * gdb.base/new-ui.exp: New file.
11861 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
11862 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
11863 (with_spawn_id): New procedure.
11865 2016-06-21 Pedro Alves <palves@redhat.com>
11867 * gdb.mi/mi-exec-run.exp: New file.
11869 2016-06-21 Pedro Alves <palves@redhat.com>
11871 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
11872 breakpoint command's output on the main UI.
11873 (test_break): New procedure, factored out from calls in the top
11875 (top level): Use foreach_with_prefix to test MI as main UI and as
11878 2016-06-21 Pedro Alves <palves@redhat.com>
11880 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
11881 (test_awatch_creation_and_listing)
11882 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
11883 Remove 'type' parameter.
11884 (test_watchpoint_all): New parameter mi_mode. Remove
11886 (top level): Use foreach_with_prefix, and add main/separate UI MI
11889 2016-06-21 Pedro Alves <palves@redhat.com>
11891 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
11892 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
11893 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
11894 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
11895 (gdb_main_spawn_id, mi_spawn_id): Declare and
11897 (mi_create_inferior_pty): New procedure,
11898 factored out from default_mi_gdb_start.
11899 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
11901 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
11902 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
11903 Use mi_create_inferior_pty.
11904 (mi_gdb_start): Use eval to pass down args list.
11906 2016-06-21 Pedro Alves <palves@redhat.com>
11908 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
11909 * gdb.opt/inline-cmds.exp: Add MI tests.
11911 2016-06-21 Pedro Alves <palves@redhat.com>
11913 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
11915 2016-06-21 Pedro Alves <palves@redhat.com>
11917 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
11918 (top level): Use it instead of mi_execute_to.
11920 2016-06-21 Pedro Alves <palves@redhat.com>
11922 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
11923 (cont_handler_str): New.
11924 (signal_stop_handler): Set stop_handler_str instead of printing to
11926 (continue_handler): Set cont_handler_str instead of printing to
11928 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
11929 mi_send_resuming_command. Print stop_handler_str and
11930 cont_handler_str instead of expecting the python events print
11933 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
11935 * gdb.base/jit-reader.exp: New file.
11936 * gdb.base/jithost.c: New file.
11937 * gdb.base/jithost.h: New file.
11938 * gdb.base/jitreader.c : New file.
11939 * gdb.base/jit-protocol.h: New file.
11941 2016-06-17 Yao Qi <yao.qi@linaro.org>
11943 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
11944 parameters follow_fork and detach_on_fork. Set follow-fork-mode
11945 and detach-on-fork. Adjust tests.
11946 (top level): Invoke break_cond_on_syscall with combinations of
11947 syscall, follow-fork-mode and detach-on-fork.
11949 2016-06-17 Yao Qi <yao.qi@linaro.org>
11951 * gdb.base/step-over-exit.c: New.
11952 * gdb.base/step-over-exit.exp: New.
11954 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
11956 * gdb.base/float.exp: Add target check for nds32*-*-*.
11957 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
11959 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
11961 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
11962 for unsupported target features.
11963 * gdb.base/call-rt-st.exp: Likewise.
11964 * gdb.base/call-sc.exp: Likewise.
11965 * gdb.base/call-signal-resume.exp: Likewise.
11966 * gdb.base/call-strs.exp: Likewise.
11967 * gdb.base/callexit.exp: Likewise.
11968 * gdb.base/callfuncs.exp: Likewise.
11969 * gdb.base/nodebug.exp: Likewise.
11970 * gdb.base/printcmds.exp: Likewise.
11971 * gdb.base/ptype.exp: Likewise.
11972 * gdb.base/structs.exp: Likewise.
11973 * gdb.base/unwindonsignal.exp: Likewise.
11974 * gdb.cp/gdb2495.exp: Likewise.
11975 * gdb.cp/templates.exp: Likewise.
11976 * gdb.cp/virtfunc.exp: Likewise.
11977 * gdb.threads/hand-call-in-threads.exp: Likewise.
11978 * gdb.threads/interrupted-hand-call.exp: Likewise.
11979 * gdb.threads/thread-unwindonsignal.exp: Likewise.
11981 2016-06-10 Tom Tromey <tom@tromey.com>
11984 * gdb.rust/expr.exp: Add test for integer constant larger than
11987 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
11989 * gdb.fortran/nested-funcs.exp: New.
11990 * gdb.fortran/nested-funcs.f90: New.
11992 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
11994 * gdb.base/examine-backward.c: New file.
11995 * gdb.base/examine-backward.exp: New file.
11997 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
11999 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
12002 2016-06-02 Tom Tromey <tom@tromey.com>
12005 * gdb.python/py-shared.exp: Add solib_name test.
12007 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
12009 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
12011 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
12014 * gdb.dwarf2/implref.exp: Rename to...
12015 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
12016 * gdb.dwarf2/implref-array.c: New file.
12017 * gdb.dwarf2/implref-array.exp: Likewise.
12018 * gdb.dwarf2/implref-global.c: Likewise.
12019 * gdb.dwarf2/implref-global.exp: Likewise.
12020 * gdb.dwarf2/implref-struct.c: Likewise.
12021 * gdb.dwarf2/implref-struct.exp: Likewise.
12023 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12025 * gdb.trace/trace-condition.exp: Add 64bit tests.
12027 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12029 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
12031 (main): Adapt to 8 to 64 bits types.
12032 * gdb.trace/trace-condition.exp: Add new tests.
12034 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12036 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
12038 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12040 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
12041 Move condition tests...
12042 * gdb.trace/trace-condition.exp: Here.
12044 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12046 * gdb.trace/trace-condition.exp: Add counter-case tests.
12048 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12051 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
12052 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
12054 2016-05-27 Pedro Alves <palves@redhat.com>
12056 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
12058 (top level): Call it, and bail out of DejaGnu is known to be bad.
12060 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
12062 * gdb.base/whatis.c: Extend the test case.
12063 * gdb.base/whatis.exp: Add additional tests.
12065 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12067 * gdb.fortran/type.f90: Add pointer variable.
12068 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
12070 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12072 * gdb.fortran/vla-type.exp: Fix testcase name.
12074 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12076 * gdb.fortran/vla-type.exp: Access elements in nested structs.
12078 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12080 * gdb.fortran/type.f90: Add nested structures.
12081 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
12082 * gdb.fortran/derived-type.exp: Adapt expected output.
12083 * gdb.fortran/vla-type.exp: Adapt expected output.
12085 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12087 * gdb.fortran/whatis_type.exp: Adapt expected output.
12089 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12091 * gdb.fortran/print_type.exp: Fix expected output.
12092 * gdb.fortran/whatis_type.exp: Fix expected output.
12094 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12096 * gdb.fortran/whatis_type.exp: Use multi_line.
12098 2016-05-24 Tom Tromey <tom@tromey.com>
12101 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
12102 use value as an index.
12104 2016-05-23 Tom Tromey <tom@tromey.com>
12107 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
12108 no-breakpoint case.
12110 2016-05-24 Pedro Alves <palves@redhat.com>
12113 * gdb.threads/clone-attach-detach.c: New file.
12114 * gdb.threads/clone-attach-detach.exp: New file.
12116 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
12118 * gdb.base/annota-input-while-running.exp: Fix syntax error.
12120 2016-05-23 Tom Tromey <tom@tromey.com>
12122 PR python/19438, PR python/18393:
12123 * gdb.python/py-progspace.exp: Add "dir" test.
12124 * gdb.python/py-objfile.exp: Add "dir" test.
12126 2016-05-23 Yao Qi <yao.qi@linaro.org>
12128 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
12129 * gdb.arch/thumb2-it.exp: Likewise.
12131 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
12133 * gdb.mi/mi-threads-interrupt.c: New file.
12134 * gdb.mi/mi-threads-interrupt.exp: New file.
12136 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
12139 * gdb.mi/mi-async-run.exp: New file.
12140 * gdb.mi/mi-async-run.c: New file.
12142 2016-05-17 Tom Tromey <tom@tromey.com>
12143 Manish Goregaokar <manishsmail@gmail.com>
12145 * lib/rust-support.exp: New file.
12146 * lib/gdb.exp (skip_rust_tests): New proc.
12147 (build_executable_from_specs): Handle rust.
12148 * lib/future.exp (gdb_find_rustc): New proc.
12149 (gdb_default_target_compile): Handle rust.
12150 * gdb.rust/expr.exp: New file.
12151 * gdb.rust/generics.exp: New file.
12152 * gdb.rust/generics.rs: New file.
12153 * gdb.rust/methods.exp: New file.
12154 * gdb.rust/methods.rs: New file.
12155 * gdb.rust/modules.exp: New file.
12156 * gdb.rust/modules.rs: New file.
12157 * gdb.rust/simple.exp: New file.
12158 * gdb.rust/simple.rs: New file.
12160 2016-05-17 Tom Tromey <tom@tromey.com>
12162 * gdb.base/default.exp (set language): Add rust.
12164 2016-05-17 Tom Tromey <tom@tromey.com>
12166 * gdb.gdb/unittest.exp: New file.
12168 2016-05-16 Yao Qi <yao.qi@linaro.org>
12170 * gdb.base/batch-preserve-term-settings.exp: Remove variable
12171 shell_prompt. Update shell_prompt_re.
12173 2016-05-12 Doug Evans <dje@google.com>
12176 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
12177 $options when building executable.
12178 * gdb.dwarf2/fission-loclists-pie.S: New file.
12179 * gdb.dwarf2/fission-loclists-pie.exp: New file.
12181 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
12183 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
12184 of [is_remote target],
12186 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
12188 * lib/gdb.exp (use_gdb_stub): New procedure.
12190 2016-05-03 Yunlian Jiang <yunlian@google.com>
12191 Doug Evans <dje@google.com>
12194 * gdb.dwarf2/dwp-sepdebug.c: New file.
12195 * gdb.dwarf2/dwp-sepdebug.exp: New file.
12197 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
12199 * gdb.base/detach.exp: Remove is_remote check.
12201 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
12203 * gdb.base/annota-input-while-running.exp: Don't check for
12204 [is_remote target]. Enable annotations after running to main.
12205 Remove unused "set test..." line.
12207 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
12209 * gdb.trace/trace-enable-disable.exp: New file.
12210 * gdb.trace/trace-enable-disable.c: New file.
12212 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
12214 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
12215 use it in info sharedlibrary test.
12216 * gdb.trace/ftrace-lock.exp: Likewise.
12217 * gdb.trace/ftrace.exp: Likewise.
12218 * gdb.trace/range-stepping.exp: Likewise.
12219 * gdb.trace/trace-break.exp: Likewise.
12220 * gdb.trace/trace-condition.exp: Likewise.
12221 * gdb.trace/trace-mt.exp: Likewise.
12223 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
12225 * lib/gdb.exp (gdb_load_shlibs): Rename to...
12226 (gdb_load_shlib): ... this.
12227 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
12229 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
12230 * gdb.base/ctxobj.exp: Likewise.
12231 * gdb.base/dprintf-pending.exp: Likewise.
12232 * gdb.base/dso2dso.exp: Likewise.
12233 * gdb.base/fixsection.exp: Likewise.
12234 * gdb.base/gcore-relro.exp: Likewise.
12235 * gdb.base/gdb1555.exp: Likewise.
12236 * gdb.base/global-var-nested-by-dso.exp: Likewise.
12237 * gdb.base/gnu-ifunc.exp: Likewise.
12238 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
12239 * gdb.base/jit-so.exp (one_jit_test): Likewise.
12240 * gdb.base/pending.exp: Likewise.
12241 * gdb.base/print-file-var.exp: Likewise.
12242 * gdb.base/print-symbol-loading.exp: Likewise.
12243 * gdb.base/shlib-call.exp: Likewise.
12244 * gdb.base/shreloc.exp: Likewise.
12245 * gdb.base/so-impl-ld.exp: Likewise.
12246 * gdb.base/solib-disc.exp: Likewise.
12247 * gdb.base/solib-nodir.exp: Likewise.
12248 * gdb.base/solib-overlap.exp: Likewise.
12249 * gdb.base/solib-symbol.exp: Likewise.
12250 * gdb.base/solib-weak.exp (do_test): Likewise.
12251 * gdb.base/sym-file.exp: Likewise.
12252 * gdb.base/symtab-search-order.exp: Likewise.
12253 * gdb.base/type-opaque.exp: Likewise.
12254 * gdb.base/unload.exp: Likewise.
12255 * gdb.base/watchpoint-solib.exp: Likewise.
12256 * gdb.compile/compile.exp: Likewise.
12257 * gdb.cp/gdb2384.exp: Likewise.
12258 * gdb.cp/infcall-dlopen.exp: Likewise.
12259 * gdb.cp/re-set-overloaded.exp: Likewise.
12260 * gdb.fortran/library-module.exp: Likewise.
12261 * gdb.opt/solib-intra-step.exp: Likewise.
12262 * gdb.python/py-finish-breakpoint.exp: Likewise.
12263 * gdb.python/py-shared.exp: Likewise.
12264 * gdb.reverse/solib-precsave.exp: Likewise.
12265 * gdb.reverse/solib-reverse.exp: Likewise.
12266 * gdb.server/solib-list.exp: Likewise.
12267 * gdb.threads/dlopen-libpthread.exp: Likewise.
12268 * gdb.threads/tls-shared.exp: Likewise.
12269 * gdb.threads/tls-so_extern.exp: Likewise.
12270 * gdb.trace/change-loc.exp: Likewise.
12271 * gdb.trace/ftrace-lock.exp: Likewise.
12272 * gdb.trace/ftrace.exp: Likewise.
12273 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
12274 * gdb.trace/pending.exp: Likewise.
12275 * gdb.trace/range-stepping.exp: Likewise.
12276 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
12277 (strace_info_marker): Likewise.
12278 (strace_probe_marker): Likewise.
12279 (strace_trace_on_same_addr): Likewise.
12280 (strace_trace_on_diff_addr): Likewise.
12281 * gdb.trace/trace-break.exp: Likewise.
12282 * gdb.trace/trace-condition.exp: Likewise.
12283 * gdb.trace/trace-mt.exp: Likewise.
12285 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
12287 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
12288 result of gdb_remote_download.
12289 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
12290 * gdb.base/dso2dso.exp: Likewise.
12291 * gdb.base/global-var-nested-by-dso.exp: Likewise.
12292 * gdb.base/print-file-var.exp: Likewise.
12293 * gdb.base/shlib-call.exp: Likewise.
12294 * gdb.base/shreloc.exp: Likewise.
12295 * gdb.base/solib-overlap.exp: Likewise.
12296 * gdb.base/solib-weak.exp (do_test): Likewise.
12297 * gdb.base/unload.exp: Likewise.
12299 2016-04-27 Yao Qi <yao.qi@linaro.org>
12301 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
12304 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
12306 * vla-type.exp: Print structure from toplevel.
12308 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
12310 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
12312 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
12315 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
12317 * gdb.fortran/vla-type.f90: New file.
12318 * gdb.fortran/vla-type.exp: New file.
12320 2016-04-25 Yao Qi <yao.qi@linaro.org>
12322 * gdb.base/branch-to-self.c: New file.
12323 * gdb.base/branch-to-self.exp: New file.
12325 2016-04-22 Yao Qi <yao.qi@linaro.org>
12327 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
12330 2016-04-22 Yao Qi <yao.qi@linaro.org>
12332 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
12333 * gdb.base/annota3.exp: Likewise.
12335 2016-04-22 Yao Qi <yao.qi@linaro.org>
12337 * gdb.reverse/step-precsave.exp: Do one step and test program
12338 stops in "callee" and do multiple steps until program goes out
12340 * gdb.reverse/step-reverse.exp: Likewise.
12342 2016-04-22 Yao Qi <yao.qi@linaro.org>
12344 * gdb.trace/signal.exp: Also pass if
12345 $tracepoint_hits($i) > $iterations.
12347 2016-04-22 Yao Qi <yao.qi@linaro.org>
12349 * gdb.trace/signal.c: New file.
12350 * gdb.trace/signal.exp: New file.
12352 2016-04-19 Doug Evans <xdje42@gmail.com>
12354 * gdb.base/bad-file.exp: New file.
12356 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
12358 * gdb.dwarf2/implref.exp: New file.
12360 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
12362 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
12363 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
12364 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
12365 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
12366 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
12367 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
12368 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
12369 * lib/fortran.exp (fortran_int4): New procedure.
12370 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
12371 (fortran_logical4): Likewise.
12373 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
12375 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
12377 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
12379 * lib/compiler.c: Add Intel specific preprocessor macros.
12380 * lib/compiler.cc: Likewise.
12382 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
12384 * gdb.server/connect-with-no-symbol-file.c: New file.
12385 * gdb.server/connect-with-no-symbol-file.exp: New file.
12387 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
12389 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
12391 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
12393 * boards/gdbserver-base.exp (${board}_download): Copy source file to
12394 standard output directory.
12396 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
12398 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
12400 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
12402 * gdb.btrace/instruction_history.c (loop): Add declaration.
12404 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
12406 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
12408 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
12410 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
12411 parentheses to print.
12412 (continue_handler): Likewise.
12414 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
12416 * gdb.server/solib-list.exp: Remove is_remote check.
12417 Pass shlib= to gdb_compile. Don't link shared library with
12418 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
12419 Run binary filename through "readlink -f" on the target.
12421 2016-04-08 Pedro Alves <palves@redhat.com>
12423 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
12424 interpreter filename as argument to gdbserver_spawn.
12425 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
12426 Return empty if $last_loaded_file does not exist.
12428 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12430 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
12431 * gdb.base/jit-main.c: Use exit after usage.
12433 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12435 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
12436 GDBHISTSIZE prior to the tests.
12437 * gdb.base/gdbinit-history.exp: Likewise.
12439 2016-04-07 Pedro Alves <palves@redhat.com>
12441 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
12442 instead of build_executable. Use gdb_load_shlibs.
12444 2016-04-07 Yao Qi <yao.qi@linaro.org>
12446 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
12447 Execute "si" command.
12449 2016-04-07 Yao Qi <yao.qi@linaro.org>
12451 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
12452 number instead of the comments on some line.
12454 2016-04-06 Don Breazeal <donb@codesourcery.com>
12456 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
12457 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
12459 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
12461 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
12462 standard_output_file. Remove unused binfile variable.
12464 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
12466 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
12467 * gdb.python/py-mi-objfile.exp: Match "list main" output
12470 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
12472 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
12475 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
12477 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
12479 * gdb.trace/ftrace.exp: Likewise.
12480 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
12482 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
12483 (gdb_load_shlibs): Copy libraries to test directory when testing
12484 natively. Only set solib-search-path if testing remotely.
12485 * lib/mi-support.exp (mi_load_shlibs): Likewise.
12487 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
12489 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
12490 gdb_download. Use it even if the target is not remote.
12491 * gdb.base/jit.exp (compile_jit_test): Likewise.
12492 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
12493 output directory if the destination board is local, otherwise use
12494 the standard remote_download from DejaGnu.
12495 (gdb_download): Remove.
12496 (gdb_load_shlibs): Use gdb_remote_download instead of
12498 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
12499 Use gdb_remote_download instead of gdb_download. Use it even if
12500 the target is not remote.
12501 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
12502 instead of gdb_download.
12504 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
12506 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
12507 (test_insert_delete_modify): Call mi_load_shlibs before trying to
12510 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
12513 * gdb.base/printcmds.exp: Add artificial arrays tests.
12515 2016-03-31 Pedro Alves <palves@redhat.com>
12518 * gdb.base/jit-main.c: Include unistd.h.
12519 (ATTACH): Define to 0 if not already defined.
12520 (wait_for_gdb, mypid): New globals.
12521 (WAIT_FOR_GDB): New macro.
12522 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
12523 some breakpoint locations.
12524 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
12526 (one_jit_test): Add REATTACH parameter, and handle it. Use
12527 continue_to_test_location.
12528 (top level): Test attach, and adjusts calls to one_jit_test.
12530 2016-03-31 Pedro Alves <palves@redhat.com>
12533 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
12534 BINSUFFIX parameter, and handle it.
12535 (top level): Adjust calls compile_jit_test.
12537 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
12540 * gdb.python/py-mi-events-gdb.py: New file.
12541 * gdb.python/py-mi-events.c: New file.
12542 * gdb.python/py-mi-events.exp: New file.
12544 2016-03-30 Yao Qi <yao.qi@linaro.org>
12546 * gdb.reverse/until-precsave.exp: Match function name only.
12547 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
12548 Move malloc to a condition block.
12549 * gdb.reverse/until-reverse.exp: Match function name only.
12551 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
12553 * gdb.trace/ftrace.exp: Set arg0exp for s390.
12554 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
12555 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
12556 variable for GPR 0 instead of assuming it is register 0.
12557 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
12558 * lib/trace-support.exp: Add s390 registers.
12560 2016-03-29 Yao Qi <yao.qi@linaro.org>
12562 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
12564 2016-03-24 Yao Qi <yao.qi@linaro.org>
12566 * gdb.reverse/break-reverse.exp: Add quotation mark in the
12569 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12571 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
12572 maintaining separate logic for constructing the output path.
12574 2016-03-16 Don Breazeal <donb@codesourcery.com>
12576 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
12577 Retry fork and waitpid on interrupted system call errors.
12578 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
12579 Use with_timeout_factor to increase timeout by factor of 10.
12581 2016-03-15 Don Breazeal <donb@codesourcery.com>
12583 * gdb.cp/scope-err.cc: New test program.
12584 * gdb.cp/scope-err.exp: New test script.
12585 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
12586 lines and "set breakpoint here" comment.
12587 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
12588 Fixed some whitespace and format issues.
12589 * gdb.mi/mi-linespec-err-cp.cc: New test program.
12590 * gdb.mi/mi-linespec-err-cp.exp: New test script.
12592 2016-03-15 Doug Evans <dje@google.com>
12594 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
12595 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
12596 All callers updated. Add tests for enums, mixed flags register.
12598 2016-03-15 Doug Evans <dje@google.com>
12600 * gdb.base/skip.c (main): Call test_skip_file_and_function.
12601 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
12603 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
12605 * gdb.base/default.exp: Add $_as_string to the list of expected
12606 convenience functions.
12608 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
12610 * gdb.base/maint.exp: New tests for 'maint info line-table'.
12612 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
12614 * gdb.python/py-as-string.exp: New file.
12615 * gdb.python/py-as-string.c: New file.
12617 2016-03-09 Pedro Alves <palves@redhat.com>
12619 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
12620 signal" -> "Thread NN received signal" output change.
12621 * gdb.threads/ia64-sigill.exp: Likewise.
12622 * gdb.threads/linux-dp.exp: Likewise.
12623 * gdb.threads/manythreads.exp: Likewise.
12624 * gdb.threads/pending-step.exp: Likewise.
12625 * gdb.threads/print-threads.exp: Likewise.
12626 * gdb.threads/sigstep-threads.exp: Likewise.
12627 * gdb.threads/staticthreads.exp: Likewise.
12628 * gdb.threads/tls.exp: Likewise.
12630 2016-03-09 Pedro Alves <palves@redhat.com>
12632 * gdb.base/command-line-input.exp: New file.
12634 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12636 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
12637 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
12638 * gdb.trace/pending.exp: Accept leading dot before function name.
12639 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
12640 * lib/trace-support.exp: Set registers for ppc.
12642 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12644 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
12645 use it for disassembly; accept .main in addition to main in backtrace.
12647 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
12648 Marcin Kościelnicki <koriakin@0x04.net>
12650 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
12651 (gdb_recursion_test_ptr): New global variable.
12652 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
12653 gdb_recursion_test.
12654 (gdb_c_test): Ditto.
12656 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12658 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
12661 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12663 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
12664 (bar): Add bar_start_lbl label.
12665 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
12666 of foo/bar for emitting DWARF and tracing.
12668 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
12670 * analyze-racy-logs.py: Set executable bit.
12672 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
12674 * Makefile.in (DEFAULT_RACY_ITER): New variable.
12675 (CHECK_TARGET_TMP): Likewise.
12676 (check-single-racy): New rule.
12677 (check-parallel-racy): Likewise.
12678 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
12679 (do-check-parallel-racy): New rule.
12680 (check-racy/%.exp): Likewise.
12681 * README (Racy testcases): New section.
12682 * analyze-racy-logs.py: New file.
12684 2016-03-03 Doug Evans <dje@google.com>
12686 * gdb.base/skip.exp: Use with_test_prefix.
12688 2016-03-03 Yao Qi <yao.qi@linaro.org>
12690 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
12691 Invoke step_over_syscall "clone" and break_cond_on_syscall
12693 * gdb.base/step-over-clone.c: New file.
12695 2016-03-03 Yao Qi <yao.qi@linaro.org>
12697 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
12700 2016-03-03 Yao Qi <yao.qi@linaro.org>
12702 * gdb.base/disp-step-fork.c: Rename to ...
12703 * gdb.base/step-over-fork.c: ... it. New file.
12704 * gdb.base/disp-step-vfork.c: Rename to ...
12705 * gdb.base/step-over-vfork.c: ... it. New file.
12706 * gdb.base/disp-step-syscall.exp: Rename to ...
12707 * gdb.base/step-over-syscall.exp: ... it. New file.
12708 (disp_step_cross_syscall): Rename to ...
12709 (step_over_syscall): ... it.
12711 2016-03-03 Yao Qi <yao.qi@linaro.org>
12713 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
12714 If target supports condition evaluation on target, invoke
12715 break_cond_on_syscall for fork and vfork.
12717 2016-03-03 Yao Qi <yao.qi@linaro.org>
12719 * gdb.base/disp-step-syscall.exp: Don't invoke
12720 support_displaced_stepping.
12721 (disp_step_cross_syscall): Test with displaced stepping off and
12724 2016-03-03 Yao Qi <yao.qi@linaro.org>
12726 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
12729 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
12732 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12734 * gdb.fortran/vla-history.exp: Remove breakpoint.
12736 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12738 * gdb.fortran/vla-history.exp: Lookup array elements and printing
12741 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12743 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
12746 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12748 * gdb.mi/vla.f90: Nullify pointer after declaration.
12750 2016-03-01 Pedro Alves <palves@redhat.com>
12752 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
12754 2016-03-01 Pedro Alves <palves@redhat.com>
12756 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
12757 before anything else.
12758 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
12760 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
12761 before anything else.
12762 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
12764 2016-03-01 Pedro Alves <palves@redhat.com>
12766 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
12768 2016-03-01 Yao Qi <yao.qi@linaro.org>
12770 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
12771 prepare_for_testing.
12773 2016-03-01 Yao Qi <yao.qi@linaro.org>
12775 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
12777 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
12779 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
12780 manually constructing the output path.
12782 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
12784 * gdb.arch/s390-stackless.S: New.
12785 * gdb.arch/s390-stackless.exp: New.
12787 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
12789 * gdb.dlang/circular.c: New file.
12790 * gdb.dlang/circular.exp: New file.
12792 2016-02-26 Yao Qi <yao.qi@linaro.org>
12794 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
12795 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
12796 (testcases): Update.
12798 2016-02-26 Yao Qi <yao.qi@linaro.org>
12800 * gdb.reverse/aarch64.c: Rename to ...
12801 * gdb.reverse/insn-reverse.c: ... it.
12802 * gdb.reverse/aarch64.exp: Rename to ...
12803 * gdb.reverse/insn-reverse.exp: ... it.
12805 2016-02-26 Yao Qi <yao.qi@linaro.org>
12807 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
12808 (testcase_ftype): New.
12809 (testcases): New array.
12810 (n_testcases): New.
12811 (main): Call each element in testcases.
12812 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
12813 (read_testcase): New.
12814 Do the tests in a loop.
12816 2016-02-25 Yao Qi <yao.qi@linaro.org>
12818 * gdb.base/branches.c: Remove.
12820 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
12823 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
12825 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
12827 * gdb.trace/ftrace.exp: Remove unnecessary target check.
12829 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
12831 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
12832 change x86_64 call_insn to 'callq'.
12834 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
12836 * gdb.trace/tfile-avx.c: Move to...
12837 * gdb.trace/tracefile-pseudo-reg.c: Here.
12838 * gdb.trace/tfile-avx.exp: Move to...
12839 * gdb.trace/tracefile-pseudo-reg.exp: Here.
12841 2016-02-24 Gary Benson <gbenson@redhat.com>
12843 * gdb.base/attach-pie-noexec.exp: Do not expect an error
12846 2016-02-23 Doug Evans <dje@google.com>
12848 * gdb.base/skip.c (test_skip): New function.
12849 (end_test_skip_file_and_function): New function.
12850 (test_skip_file_and_function): New function.
12851 * gdb.base/skip1.c (test_skip): New function.
12852 (skip1_test_skip_file_and_function): New function.
12853 * gdb.base/skip.exp: Add tests for new skip options.
12854 * gdb.base/skip-solib.exp: Update expected output.
12855 * gdb.perf/skip-command.cc: New file.
12856 * gdb.perf/skip-command.exp: New file.
12857 * gdb.perf/skip-command.py: New file.
12859 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
12861 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
12862 info registers pattern.
12864 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
12866 * lib/future.exp: Add D support.
12867 (gdb_find_gdc): New proc.
12868 (gdb_default_target_compile): Add D support.
12870 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
12872 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
12874 (trace_speed_test): Determine the iteration count for a time
12875 between 15..30 seconds.
12877 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
12879 * gdb.arch/i386-mpx-sigsegv.c: New file.
12880 * gdb.arch/i386-mpx-sigsegv.exp: New file.
12881 * gdb.arch/i386-mpx-simple_segv.c: New file.
12882 * gdb.arch/i386-mpx-simple_segv.exp: New file.
12884 2016-02-18 Yao Qi <yao.qi@linaro.org>
12886 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
12887 Don't call setup_kfail.
12889 2016-02-18 Yao Qi <yao.qi@linaro.org>
12891 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
12892 Set "set breakpoint condition-evaluation" per $cond_bp_target.
12894 2016-02-16 Doug Evans <dje@google.com>
12896 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
12897 * gdb.base/skip1.c: Ditto.
12898 * gdb.base/skip.exp: Whitespace cleanup.
12900 2016-02-16 Don Breazeal <donb@codesourcery.com>
12903 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
12904 Remove kfail for PR remote/19496.
12906 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
12908 * lib/gdb.exp (standard_temp_file): Return a path specific to
12909 the runtest invocation.
12911 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
12913 * gdb.trace/save-trace.exp: Change relative path to be in the
12914 standard output directory.
12916 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12918 * gdb.arch/i386-prologue.c: Add missing prototypes.
12920 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12922 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
12923 * gdb.arch/i386-prologue.exp: Likewise.
12924 * gdb.arch/i386-size.exp: Likewise.
12926 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
12928 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
12929 define object file path.
12930 * gdb.btrace/gcore.exp: Use standard_output_file to define core
12932 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
12933 standard_output_file to define binfile.
12935 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12937 Fix compatibility with recent gfortran-5.3.1.
12938 * gdb.fortran/vla-history.exp (print vla1 allocated)
12939 (print vla2 allocated, print $2, print $3): Remove
12940 (print $4): Rename to ...
12941 (print $2): ... here.
12942 (print $9): Rename to ...
12943 (print $5): ... here.
12944 (print $10): Rename to ...
12945 (print $6): ... here.
12946 * gdb.fortran/vla.f90: Add pvla initialization.
12948 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12950 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
12952 * gdb.fortran/vla-value-sub.exp: Likewise.
12954 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
12956 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
12958 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
12960 * i386-biarch-core.exp: Define corefile using
12961 standard_output_file.
12963 2016-02-12 Yao Qi <yao.qi@linaro.org>
12965 * gdb.arch/arm-single-step-kernel-helper.c: New.
12966 * gdb.arch/arm-single-step-kernel-helper.exp: New.
12968 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
12970 * gdb.btrace/tailcall-only.exp: New.
12971 * gdb.btrace/tailcall-only.c: New.
12972 * gdb.btrace/x86_64-tailcall-only.S: New.
12973 * gdb.btrace/i686-tailcall-only.S: New.
12975 2016-02-11 Pedro Alves <palves@redhat.com>
12977 * README (Parallel testing): Add missing double quotes.
12979 2016-02-11 Pedro Alves <palves@redhat.com>
12981 * README (Parallel testing): New section.
12982 (GDB_PARALLEL): Rewrite.
12983 (FORCE_PARALLEL): Document.
12985 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
12987 * gdb.trace/tfile-avx.c: New test.
12988 * gdb.trace/tfile-avx.exp: New test.
12990 2016-02-09 Keith Seitz <keiths@redhat.com>
12992 PR breakpoints/19546
12993 * gdb.base/infcall-exec.c: New file.
12994 * gdb.base/infcall-exec2.c: New file.
12995 * gdb.base/infcall-exec.exp: New file.
12997 2016-02-09 Keith Seitz <keiths@redhat.com>
12999 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
13000 (toplevel): Call test_bkpt_address.
13002 2016-02-09 Keith Seitz <keiths@redhat.com>
13005 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
13006 (toplevel): Call test_bkpt_address.
13008 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
13010 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
13012 * configure: Regenerate.
13014 2016-02-09 Pedro Alves <palves@redhat.com>
13016 PR breakpoints/19548
13017 * gdb.base/execl-update-breakpoints.c (some_function): New
13020 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
13021 Tighten expected GDB output.
13023 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
13025 * Makefile.in (ALL_SUBDIRS): Remove.
13026 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
13027 (distclean maintainer-clean realclean): Likewise.
13028 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
13029 * configure: Regenerate.
13030 * gdb.ada/Makefile.in: Delete.
13031 * gdb.arch/Makefile.in: Likewise.
13032 * gdb.asm/Makefile.in: Likewise.
13033 * gdb.base/Makefile.in: Likewise.
13034 * gdb.btrace/Makefile.in: Likewise.
13035 * gdb.cell/Makefile.in: Likewise.
13036 * gdb.compile/Makefile.in: Likewise.
13037 * gdb.cp/Makefile.in: Likewise.
13038 * gdb.disasm/Makefile.in: Likewise.
13039 * gdb.dlang/Makefile.in: Likewise.
13040 * gdb.dwarf2/Makefile.in: Likewise.
13041 * gdb.fortran/Makefile.in: Likewise.
13042 * gdb.gdb/Makefile.in: Likewise.
13043 * gdb.go/Makefile.in: Likewise.
13044 * gdb.guile/Makefile.in: Likewise.
13045 * gdb.java/Makefile.in: Likewise.
13046 * gdb.linespec/Makefile.in: Likewise.
13047 * gdb.mi/Makefile.in: Likewise.
13048 * gdb.modula2/Makefile.in: Likewise.
13049 * gdb.multi/Makefile.in: Likewise.
13050 * gdb.objc/Makefile.in: Likewise.
13051 * gdb.opencl/Makefile.in: Likewise.
13052 * gdb.opt/Makefile.in: Likewise.
13053 * gdb.pascal/Makefile.in: Likewise.
13054 * gdb.perf/Makefile.in: Likewise.
13055 * gdb.python/Makefile.in: Likewise.
13056 * gdb.reverse/Makefile.in: Likewise.
13057 * gdb.server/Makefile.in: Likewise.
13058 * gdb.stabs/Makefile.in: Likewise.
13059 * gdb.threads/Makefile.in: Likewise.
13060 * gdb.trace/Makefile.in: Likewise.
13061 * gdb.xml/Makefile.in: Likewise.
13062 * lib/gdb.exp (make_gdb_parallel_path): Add check for
13064 (standard_output_file): Remove check for GDB_PARALLEL, always
13065 return path in outputs/$subdir/$testname.
13067 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
13069 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
13070 (site.exp): Assign abs_srcdir to tcl's srcdir.
13072 2016-02-04 Yao Qi <yao.qi@linaro.org>
13074 * gdb.base/foll-exec-mode.c: Include limits.h.
13075 (main): Add parameters argc and argv. Get directory from
13077 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
13079 * gdb.base/foll-exec.c: Include limits.h.
13080 (main): Add parameters argc and argv.
13081 Get directory from argv[0].
13082 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
13083 Adjust tests on the number of lines as source code changed.
13084 * gdb.base/foll-vfork-exit.c: Include limits.h.
13085 (main): Add one line of statement before vfork.
13086 * gdb.base/foll-vfork.c: Include limits.h and string.h.
13087 (main): Add parameters argc and argv. Get directory from
13089 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
13090 (setup_gdb): Set tbreak to skip some source lines.
13091 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
13092 (main): Add parameters argc and argv. Get directory from
13094 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
13096 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
13097 (main): Add parameters argc and argv. Get directory from
13099 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
13102 2016-02-01 Doug Evans <dje@google.com>
13104 * gdb.base/skip.exp: Clean up multiple references to same test name.
13106 2016-02-01 Pedro Alves <palves@redhat.com>
13109 * gdb.threads/forking-threads-plus-breakpoint.exp
13110 (displaced_stepping_supported): New global.
13111 (probe_displaced_stepping_support): New procedure.
13112 (do_test): Add 'displaced' parameter, and use it.
13113 (top level): Check for displaced stepping support. Add displaced
13114 stepping on/off testing axis.
13116 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
13118 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
13119 pointer. Don't perform further tests on the unassociated pointer
13120 if the first test fails.
13122 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
13124 * gdb.base/max-value-size.c: New file.
13125 * gdb.base/max-value-size.exp: New file.
13126 * gdb.base/huge.exp: Disable max-value-size for this test.
13128 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
13130 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
13132 2016-01-28 Yao Qi <yao.qi@linaro.org>
13134 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
13136 2016-01-25 Pedro Alves <palves@redhat.com>
13139 * gdb.base/fork-running-state.c: New file.
13140 * gdb.base/fork-running-state.exp: New file.
13142 2016-01-25 Pedro Alves <palves@redhat.com>
13145 * gdb.base/catch-fork-kill.c: New file.
13146 * gdb.base/catch-fork-kill.exp: New file.
13148 2016-01-25 Pedro Alves <palves@redhat.com>
13150 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
13151 Delete, moved to lib/gdb.exp.
13152 * gdb.threads/forking-threads-plus-breakpoint.exp
13153 (foreach_with_prefix): Likewise.
13154 * gdb.threads/process-dies-while-handling-bp.exp
13155 (foreach_with_prefix): Likewise.
13156 * lib/gdb.exp (foreach_with_prefix): New procedure.
13158 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
13160 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
13161 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
13163 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
13165 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
13168 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13169 Pedro Alves <palves@redhat.com>
13171 Fix testsuite compatibility with Guile.
13172 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
13175 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13177 Fix testsuite compatibility with Guile.
13178 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
13179 (thread 1): New test for backtrace through signal handler.
13181 2016-01-22 Yao Qi <yao.qi@linaro.org>
13184 * gdb.base/multi-forks.c: Include
13185 ../lib/unbuffer_output.c
13186 (main): Call gdb_unbuffer_output.
13188 2016-01-21 Doug Evans <dje@google.com>
13190 * lib/ada.exp (gdb_compile_ada): Fix typo.
13192 2016-01-21 Joel Brobecker <brobecker@adacore.com>
13194 * gdb.base/break-fun-addr.exp: New file.
13195 * gdb.base/break-fun-addr1.c: New file.
13196 * gdb.base/break-fun-addr2.c: New file.
13198 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
13200 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
13201 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
13204 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
13206 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
13207 when GDB can not set the vector return value. Add more comments
13210 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
13212 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
13215 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
13217 * Makefile.in (DO_RUNTEST): Add --status and update usages.
13219 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
13221 * Makefile.in (check-single): Pass --status to runtest.
13222 (check/%.exp): Likewise.
13224 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
13226 * Makefile.in (check-parallel): Propagate return code from make
13229 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
13231 * gdb.trace/ftrace.exp: Fix expected message on continue.
13232 * gdb.trace/pending.exp: Fix expected message on continue.
13233 * gdb.trace/trace-break.exp: Fix expected message on continue.
13235 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
13237 * lib/gdb.exp (gdb_test): Remove unused global references.
13239 2016-01-18 Pedro Alves <palves@redhat.com>
13241 * gdb.base/async-shell.exp: Adjust expected output.
13242 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
13243 * gdb.base/siginfo-thread.exp: Adjust expected output.
13244 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
13245 * gdb.java/jnpe.exp: Adjust expected output.
13246 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
13247 * gdb.threads/continue-pending-status.exp: Adjust expected output.
13248 * gdb.threads/leader-exit.exp: Adjust expected output.
13249 * gdb.threads/manythreads.exp: Adjust expected output.
13250 * gdb.threads/pthreads.exp: Adjust expected output.
13251 * gdb.threads/schedlock.exp: Adjust expected output.
13252 * gdb.threads/siginfo-threads.exp: Adjust expected output.
13253 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
13255 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
13257 * gdb.threads/sigthread.exp: Adjust expected output.
13258 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
13260 2016-01-18 Yao Qi <yao.qi@linaro.org>
13262 * gdb.guile/scm-section-script.c: Replace @progbits with
13264 * gdb.python/py-section-script.c: Likewise.
13266 2016-01-15 Pedro Alves <palves@redhat.com>
13268 * gdb.multi/tids.exp: Test star wildcard ranges.
13270 2016-01-15 Pedro Alves <palves@redhat.com>
13272 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
13273 command from "thread apply" invocation.
13274 (thr_apply_info_thr_invalid): Default the expected output to the
13276 (top level): Add tests that use convenience variables. Add tests
13277 for "thread apply" with a valid TID list, but missing the command.
13279 2016-01-13 Pedro Alves <palves@redhat.com>
13281 * gdb.base/default.exp: Expect $_gthread as well.
13282 * gdb.multi/tids.exp: Test $_gthread.
13283 * gdb.threads/thread-specific.exp: Test $_gthread.
13285 2016-01-13 Pedro Alves <palves@redhat.com>
13287 * gdb.multi/tids.exp: Test "info threads -gid".
13289 2016-01-13 Pedro Alves <palves@redhat.com>
13291 * gdb.multi/tids.exp: Test InferiorThread.global_num and
13293 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
13295 2016-01-07 Pedro Alves <palves@redhat.com>
13297 * gdb.base/break.exp: Adjust to output changes.
13298 * gdb.base/hbreak2.exp: Likewise.
13299 * gdb.base/sepdebug.exp: Likewise.
13300 * gdb.base/watch_thread_num.exp: Likewise.
13301 * gdb.linespec/keywords.exp: Likewise.
13302 * gdb.multi/info-threads.exp: Likewise.
13303 * gdb.threads/thread-find.exp: Likewise.
13304 * gdb.multi/tids.c: New file.
13305 * gdb.multi/tids.exp: New file.
13307 2016-01-13 Pedro Alves <palves@redhat.com>
13309 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
13311 2016-01-13 Pedro Alves <palves@redhat.com>
13313 * gdb.base/default.exp: Expect $_inferior as well.
13314 * gdb.multi/base.exp: Test $_inferior.
13316 2016-01-13 Pedro Alves <palves@redhat.com>
13318 PR breakpoints/19388
13319 * gdb.base/catch-signal-siginfo-cond.c: New file.
13320 * gdb.base/catch-signal-siginfo-cond.exp: New file.
13322 2016-01-12 Josh Stone <jistone@redhat.com>
13323 Philippe Waroquiers <philippe.waroquiers@skynet.be>
13325 * gdb.base/catch-syscall.c (do_execve): New variable.
13326 (main): Conditionally trigger an execve.
13327 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
13328 (test_catch_syscall_execve): New, check entry/return across execve.
13329 (do_syscall_tests): Call test_catch_syscall_execve.
13331 2016-01-12 Pedro Alves <palves@redhat.com>
13333 * gdb.base/random-signal.exp (do_test): New procedure, with body
13334 of testcase moved in.
13336 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13337 Pedro Alves <palves@redhat.com>
13339 * gdb.base/funcargs.exp (finish from indirectly called function):
13340 Reintroduce the case for 'First'.
13342 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13343 Pedro Alves <palves@redhat.com>
13345 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
13346 (tcatch_vfork_then_child_follow_exec)
13347 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
13350 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13352 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
13353 and repeats to unlimited.
13354 * gdb.python/py-value.exp: Likewise.
13355 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
13356 and repeats to unlimited.
13358 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13360 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
13361 and reordering the functions.
13362 * gdb.multi/hangout.c: Likewise.
13363 * gdb.multi/hello.c: Likewise.
13365 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
13367 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
13369 (SingleStatisticTestResult.report): Use dict.keys instead of
13372 2016-01-06 Pedro Alves <palves@redhat.com>
13374 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
13376 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
13378 * gdb.btrace/dlopen.exp: New.
13379 * gdb.btrace/dlopen.c: New.
13380 * gdb.btrace/dlopen-dso.c: New.
13382 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
13384 * lib/gdb.exp (gdb_test): Update comments to clarify that the
13385 PATTERN argument is optional.
13387 2015-12-24 Joel Brobecker <brobecker@adacore.com>
13389 * lib/ada.exp (target_compile_ada_from_dir): New function.
13390 (gdb_compile_ada): Reimplement avoiding the use of project files.
13391 * gdb.ada/gnat_ada.gpr: Delete.
13392 * gdb.ada/cond_lang.exp: Adjust test to make path before
13394 * gdb.ada/small_reg_param.exp: Likewise.
13396 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
13398 * gdb.base/foll-vork.exp: Remove HP-UX special case.
13400 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
13402 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
13405 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
13407 * gdb.base/break.exp: Remove dead code.
13408 * gdb.base/sepdebug.exp: Likewise.
13410 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
13412 * gdb.asm/asm-source.exp: Remove HP-UX references.
13413 * gdb.base/annota1.exp: Likewise.
13414 * gdb.base/annota3.exp: Likewise.
13415 * gdb.base/attach.exp: Likewise.
13416 * gdb.base/bigcore.exp: Likewise.
13417 * gdb.base/break.exp: Likewise.
13418 * gdb.base/call-ar-st.exp: Likewise.
13419 * gdb.base/callfuncs.exp: Likewise.
13420 * gdb.base/catch-fork-static.exp: Likewise.
13421 * gdb.base/display.exp: Likewise.
13422 * gdb.base/foll-exec-mode.exp: Likewise.
13423 * gdb.base/foll-exec.exp: Likewise.
13424 * gdb.base/foll-fork.exp: Likewise.
13425 * gdb.base/foll-vfork.exp: Likewise.
13426 * gdb.base/funcargs.exp: Likewise.
13427 * gdb.base/hbreak2.exp: Likewise.
13428 * gdb.base/inferior-died.exp: Likewise.
13429 * gdb.base/interrupt.exp: Likewise.
13430 * gdb.base/multi-forks.exp: Likewise.
13431 * gdb.base/nodebug.exp: Likewise.
13432 * gdb.base/sepdebug.exp: Likewise.
13433 * gdb.base/solib1.c: Likewise.
13434 * gdb.base/step-test.exp: Likewise.
13435 * gdb.mi/non-stop.c: Likewise.
13436 * gdb.mi/pthreads.c: Likewise.
13437 * gdb.multi/bkpt-multi-exec.ex: Likewise.
13438 * gdb.threads/pthreads.c: Likewise.
13439 * gdb.threads/staticthreads.exp: Likewise.
13440 * lib/future.exp: Likewise.
13441 * lib/gdb.exp: Likewise.
13442 * gdb.base/so-indr-cl.c: Remove.
13443 * gdb.base/so-indr-cl.exp: Likewise.
13444 * gdb.base/solib.c: Likewise.
13445 * gdb.base/solib.exp: Likewise.
13446 * gdb.base/solib2.c: Likewise.
13448 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
13450 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
13451 * gdb.base/call-ar-st.exp: Likewise.
13452 * gdb.base/callfuncs.exp: Likewise.
13453 * gdb.base/condbreak.exp: Likewise.
13454 * gdb.base/constvars.exp: Likewise.
13455 * gdb.base/hbreak2.exp: Likewise.
13456 * gdb.base/langs.exp: Likewise.
13457 * gdb.base/list.exp: Likewise.
13458 * gdb.base/long_long.exp: Likewise.
13459 * gdb.base/ptype.exp: Likewise.
13460 * gdb.base/scope.exp: Likewise.
13461 * gdb.base/signals.exp: Likewise.
13462 * gdb.base/so-impl-ld.exp: Likewise.
13463 * gdb.base/varargs.exp: Likewise.
13464 * gdb.base/volatile.exp: Likewise.
13465 * gdb.base/whatis.exp: Likewise.
13466 * gdb.cp/cplusfuncs.exp: Likewise.
13467 * gdb.cp/inherit.exp: Likewise.
13468 * gdb.cp/local.exp: Likewise.
13469 * gdb.cp/member-ptr.exp: Likewise.
13470 * gdb.cp/method.exp: Likewise.
13471 * gdb.cp/overload.exp: Likewise.
13472 * gdb.cp/templates.exp: Likewise.
13473 * gdb.stabs/weird.exp: Likewise.
13474 * lib/compiler.c: Likewise.
13475 * lib/compiler.cc: Likewise.
13476 * lib/cp-support.exp: Likewise.
13477 * lib/gdb.exp: Likewise.
13479 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
13481 * configure.ac: Remove HP-UX case.
13482 * configure: Regenerate.
13484 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
13486 * lib/gdb.exp (gdb_compile): Add function doc.
13488 2015-12-17 Pedro Alves <palves@redhat.com>
13491 * gdb.multi/info-threads.exp: New file.
13493 2015-12-15 Yao Qi <yao.qi@linaro.org>
13495 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
13498 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13500 * gdb.base/history-duplicates.exp: Skip if no readline support.
13502 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13504 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
13506 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13508 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
13510 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13512 * gdb.base/completion.exp: Skip tests that interrupt GDB with
13513 ctrl-C if nointerrupts target property is set.
13514 * gdb.base/double-prompt-target-event-error.exp: Likewise.
13515 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
13516 * gdb.base/paginate-bg-execution.exp: Likewise.
13517 * gdb.base/paginate-execution-startup.exp: Likewise.
13518 * gdb.base/random-signal.exp: Likewise.
13519 * gdb.base/range-stepping.exp: Likewise.
13520 * gdb.cp/annota2.exp: Likewise.
13521 * gdb.cp/annota3.exp: Likewise.
13522 * gdb.gdb/selftest.exp: Likewise.
13523 * gdb.threads/continue-pending-status.exp: Likewise.
13524 * gdb.threads/leader-exit.exp: Likewise.
13525 * gdb.threads/manythreads.exp: Likewise.
13526 * gdb.threads/pthreads.exp: Likewise.
13527 * gdb.threads/schedlock.exp: Likewise.
13528 * gdb.threads/sigthread.exp: Likewise.
13530 2015-12-11 Don Breazeal <donb@codesourcery.com>
13532 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
13534 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
13535 * gdb.base/foll-exec.exp (main): Enable for target remote.
13536 * gdb.base/foll-fork.exp (main): Likewise.
13537 * gdb.base/foll-vfork.exp (main): Likewise.
13538 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
13539 (proc continue_to_exit_bp_loc): Use clean_restart.
13540 * gdb.base/pie-execl.exp (main): Disable for target remote.
13541 * gdb.base/watch-vfork.exp (main): Enable for target remote.
13542 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
13543 * gdb.threads/execl.exp (main): Likewise.
13544 * gdb.threads/fork-child-threads.exp (main): Likewise.
13545 * gdb.threads/fork-plus-threads.exp (main): Disable for target
13547 * gdb.threads/fork-thread-pending.exp (main): Enable for target
13549 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
13550 pid.tid style ptids, instead of just tid.
13551 * gdb.threads/thread-execl.exp (main): Enable for target remote.
13552 * gdb.threads/watchpoint-fork.exp (main): Likewise.
13553 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
13554 ptids, instead of just tid.
13556 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
13558 * gdb.base/list.exp (test_list_forward): Add end of file error
13560 (test_repeat_list_command): Add end of file error test.
13561 (test_list_backwards): Add beginning of file error test.
13563 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
13565 * gdb.base/list.exp (test_list_invalid_args): New function,
13566 defined, and called.
13568 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
13570 * gdb.base/list.exp (test_list): Make test names unique.
13572 2015-12-11 Yao Qi <yao.qi@linaro.org>
13574 * gdb.base/coremaker2.c: Remove.
13576 2015-12-10 Pedro Alves <palves@redhat.com>
13578 * gdb.multi/base.exp: Remove stale "spaces" references.
13580 2015-12-10 Pedro Alves <palves@redhat.com>
13582 * gdb.multi/base.exp: Don't use nowarnings.
13583 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
13584 * gdb.multi/hangout.c: Include stdio.h.
13585 * gdb.multi/hello.c: Include stdlib.h.
13586 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
13587 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
13588 * gdb.multi/multi-arch.exp: Don't use nowarnings.
13590 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
13592 * gdb.dwarf2/dw2-ranges-base.c: New file.
13593 * gdb.dwarf2/dw2-ranges-base.exp: New file.
13594 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
13595 support additional line table, and debug ranges generation.
13596 (Dwarf::ranges): New function, generate .debug_ranges.
13597 (Dwarf::lines): Support generating simple line table programs.
13598 (Dwarf::assemble): Initialise new namespace variables.
13600 2015-12-09 Kevin Buettner <kevinb@redhat.com>
13602 * gdb.base/async.exp (proc test_background): Add case for
13603 asynchronous execution not supported.
13605 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
13607 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
13608 format and change test names to make them unique.
13610 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
13611 Pedro Alves <pedro@redhat.com>
13614 Add checking of floatformats setup on x86_64 hosts.
13615 * gdb.arch/i386-float.S (main): Load bigval and smallval.
13616 (smallval, bigval): New labels/constants.
13617 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
13618 float" after loading bigval and smallval.
13620 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
13622 * gdb.ada/fun_overload_menu.exp: New testcase.
13623 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
13625 2015-12-04 Josh Stone <jistone@redhat.com>
13627 * gdb.base/catch-fork-static.exp: New.
13629 2015-12-03 Yao Qi <yao.qi@linaro.org>
13631 * gdb.base/sizeof.c: Don't include stdio.h and
13632 ../lib/unbuffer_output.c.
13633 (main): New variable 'size' and 'value'. Remove printf and
13634 gdb_unbuffer_output. Assign return value to size and value.
13635 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
13637 (check_sizeof): Check the result by printing variable 'size'.
13638 (check_valueof): Check the result by printing variable 'value'.
13640 2015-12-01 Yao Qi <yao.qi@linaro.org>
13642 * gdb.base/disp-step-syscall.exp: Define syscall instruction
13643 for aarch64*-*-linux* target.
13645 2015-11-30 Pedro Alves <palves@redhat.com>
13647 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
13649 2015-11-30 Pedro Alves <palves@redhat.com>
13651 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
13652 Handle non-stop mode vCont replies.
13654 2015-11-30 Pedro Alves <palves@redhat.com>
13656 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
13657 prepare_for_testing. Start gdb with "set non-stop on" appended to
13658 GDBFLAGS. Lax expected stop output.
13660 2015-11-27 Yao Qi <yao.qi@linaro.org>
13662 * gdb.arch/arm-neon.exp: New.
13663 * gdb.arch/arm-neon.c: New.
13665 2015-11-27 Yao Qi <yao.qi@linaro.org>
13667 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
13669 2015-11-27 Yao Qi <yao.qi@linaro.org>
13671 * gdb.cp/annota2.exp: Allow multiple occurrences of the
13672 frames-invalid annotation.
13674 2015-11-27 Yao Qi <yao.qi@linaro.org>
13676 * gdb.cp/annota2.exp: Use ${frames_invalid}.
13678 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
13680 * gdb.threads/names.exp: New file.
13681 * gdb.threads/names.c: New file.
13682 * README: Mention gdb,no_thread_names.
13684 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
13687 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
13690 2015-11-24 Pedro Alves <palves@redhat.com>
13693 * gdb.base/display.exp: Expect displays to be sorted in ascending
13694 order. Use multi_line.
13695 * gdb.base/solib-display.exp: Likewise.
13697 2015-11-24 Pedro Alves <palves@redhat.com>
13700 * gdb.base/display.exp: Expect displays to be sorted in ascending
13701 order. Use multi_line.
13702 * gdb.base/solib-display.exp: Likewise.
13704 2015-11-24 Pedro Alves <palves@redhat.com>
13707 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
13708 threads in ascending order.
13709 * gdb.base/foll-fork.exp: Likewise.
13710 * gdb.base/foll-vfork.exp: Likewise.
13711 * gdb.base/multi-forks.exp: Likewise.
13712 * gdb.mi/mi-nonstop.exp: Likewise.
13713 * gdb.mi/mi-nsintrall.exp: Likewise.
13714 * gdb.multi/base.exp: Likewise.
13715 * gdb.multi/multi-arch.exp: Likewise.
13716 * gdb.python/py-inferior.exp: Likewise.
13717 * gdb.threads/break-while-running.exp: Likewise.
13718 * gdb.threads/execl.exp: Likewise.
13719 * gdb.threads/gcore-thread.exp: Likewise.
13720 * gdb.threads/info-threads-cur-sal.exp: Likewise.
13721 * gdb.threads/kill.exp: Likewise.
13722 * gdb.threads/linux-dp.exp: Likewise.
13723 * gdb.threads/multiple-step-overs.exp: Likewise.
13724 * gdb.threads/next-bp-other-thread.exp: Likewise.
13725 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
13726 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
13727 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
13728 * gdb.threads/thread-find.exp: Likewise.
13729 * gdb.threads/tls.exp: Likewise.
13730 * lib/mi-support.exp (mi_reverse_list): Delete.
13731 (mi_check_thread_states): No longer reverse list.
13733 2015-11-24 Pedro Alves <palves@redhat.com>
13735 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
13738 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
13740 * gdb.trace/actions.c: Include trace-common.h.
13741 (main): Add a location for a fast tracepoint.
13742 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
13743 the normal tracepoints.
13744 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
13746 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
13748 * save-trace.exp: Factor out code to these...
13749 (gdb_save_tracepoints): New.
13750 (gdb_load_tracepoints): New.
13751 (do_save_load_test): New.
13753 2015-11-23 Kevin Buettner <kevinb@redhat.com>
13755 * gdb.base/asmlabel.exp: New test.
13756 * gdb.base/asmlabel.c: New test case.
13758 2015-11-23 Joel Brobecker <brobecker@adacore.com>
13760 * gdb.base/wrong_frame_bt_full-main.c: New file.
13761 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
13762 * gdb.base/wrong_frame_bt_full.exp: New file.
13764 2015-11-23 Joel Brobecker <brobecker@adacore.com>
13766 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
13768 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
13770 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
13771 pstate register when comparing registers values in
13772 sparc64-*-linux-gnu targets to avoid spurious differences.
13774 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
13776 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
13778 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
13780 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
13781 as type argument to gdb_compile.
13782 * gdb.base/nested-subp2.exp: Likewise.
13783 * gdb.base/nested-subp3.exp: Likewise.
13785 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
13787 * lib/dwarf.exp (_note): Fix left shift of negative value.
13788 * gdb.trace/trace-condition.exp: Likewise.
13790 2015-11-13 Yao Qi <yao.qi@linaro.org>
13792 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
13793 comments about d10v.
13794 (test_scalar_returns): Likewise.
13795 * gdb.base/d10v.ld: Remove.
13796 * gdb.base/overlays.exp: Remove the target triplet checking for
13798 * gdb.base/structs.exp (test_struct_returns): Remove the
13799 comments about d10v.
13800 (test_struct_calls): Likewise.
13802 2015-11-13 Yao Qi <yao.qi@linaro.org>
13804 * gdb.base/gnu_vector.exp: Check the return value by "p res".
13805 * gdb.base/gnu_vector.c: Don't include stdio.h.
13806 (main): Don't print res and call add_some_intvecs.
13808 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
13810 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
13813 (func4): Use FAST_TRACEPOINT_LABEL.
13814 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
13817 (thread_function): Use FAST_TRACEPOINT_LABEL.
13818 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
13820 (marker): Use FAST_TRACEPOINT_LABEL.
13821 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
13822 (pendfunc1): Remove.
13823 (pendfunc): Use FAST_TRACEPOINT_LABEL.
13824 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
13826 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
13827 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
13830 (marker): Use FAST_TRACEPOINT_LABEL.
13831 * gdb.trace/trace-common.h: New header.
13832 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
13835 (marker): Use FAST_TRACEPOINT_LABEL.
13836 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
13838 (thread_function): Use FAST_TRACEPOINT_LABEL.
13840 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
13842 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
13844 * gdb.trace/change-loc.exp: Use global pcreg definition.
13845 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
13846 * gdb.trace/entry-values.exp: Use global spreg definition, add $
13848 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
13849 * gdb.trace/pending.exp: Likewise.
13850 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
13851 * gdb.trace/trace-break.exp: Likewise.
13852 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
13854 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
13855 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
13857 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
13859 2015-11-09 Joel Brobecker <brobecker@adacore.com>
13861 * gdb.ada/fin_fun_out: New testcase.
13863 2015-11-07 Kevin Buettner <kevinb@redhat.com>
13865 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
13866 value associated with DW_AT_byte_size.
13867 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
13868 constants for DW_AT_byte_size, DW_AT_lower_bound, and
13871 2015-11-07 Kevin Buettner <kevinb@redhat.com>
13873 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
13874 (gdb_target_symbol_prefix_flags): Define in terms of _asm
13876 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
13877 gdb.dwarf2/dw2-canonicalize-type.exp,
13878 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
13879 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
13880 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
13881 provided by gdb_target_symbol_prefix_flags_asm.
13882 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
13883 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
13884 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
13885 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
13886 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
13887 macros where needed). Use this macro for symbols which require
13888 the prefix provided by SYMBOL_PREFIX.
13890 2015-11-05 Kevin Buettner <kevinb@redhat.com>
13892 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
13894 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
13895 representing expressions, of more than one list element.
13896 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
13897 to prepend linker symbol prefix to f.
13898 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
13899 table_1 and table_2.
13900 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
13901 Likewise, for f and g.
13902 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
13904 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
13906 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
13907 table_1_ptr and table_2_ptr.
13909 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13910 Joel Brobecker <brobecker@adacore.com>
13912 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
13914 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
13916 * gdb.reverse/s390-mvcle.c: New test.
13917 * gdb.reverse/s390-mvcle.exp: New file.
13918 * lib/gdb.exp: Enable reverse tests on s390*-linux.
13920 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
13922 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
13924 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
13926 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
13928 * gdb.reverse/getresuid-reverse.exp: Likewise.
13929 * gdb.reverse/pipe-reverse.exp: Likewise.
13930 * gdb.reverse/readv-reverse.exp: Likewise.
13931 * gdb.reverse/recvmsg-reverse.exp: Likewise.
13932 * gdb.reverse/time-reverse.exp: Likewise.
13933 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
13935 2015-10-30 Yao Qi <yao.qi@linaro.org>
13937 * gdb.threads/wp-replication.c (watch_count_done): Remove.
13938 (empty_cycle): Remove.
13939 (main): Don't call empty_cycle. Don't use watch_count_done.
13940 * gdb.threads/wp-replication.exp: Don't set breakpoint on
13941 empty_cycle. Rewrite the code counting HW watchpoints.
13943 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
13945 * gdb.reverse/fstatat-reverse.c: New test.
13946 * gdb.reverse/fstatat-reverse.exp: New file.
13947 * gdb.reverse/getresuid-reverse.c: New test.
13948 * gdb.reverse/getresuid-reverse.exp: New file.
13949 * gdb.reverse/pipe-reverse.c: New test.
13950 * gdb.reverse/pipe-reverse.exp: New file.
13951 * gdb.reverse/readv-reverse.c: New test.
13952 * gdb.reverse/readv-reverse.exp: New file.
13953 * gdb.reverse/recvmsg-reverse.c: New test.
13954 * gdb.reverse/recvmsg-reverse.exp: New file.
13955 * gdb.reverse/time-reverse.c: New test.
13956 * gdb.reverse/time-reverse.exp: New file.
13957 * gdb.reverse/waitpid-reverse.c: New test.
13958 * gdb.reverse/waitpid-reverse.exp: New file.
13960 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
13962 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
13964 2015-10-26 Doug Evans <dje@google.com>
13967 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
13968 * gdb.dwarf2/bad-regnum.c: New file.
13969 * gdb.dwarf2/bad-regnum.exp: New file.
13971 2015-10-26 Doug Evans <dje@google.com>
13974 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
13977 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13979 * gdb.compile/compile.exp (compile code globalvar): Update expectation
13980 for a change by "Mention language in compile error message".
13982 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
13985 * gdb.python/py-type.c (C::a_method): New.
13986 (C::a_const_method): New.
13987 (C::a_static_method): New.
13989 * gdb.python/py-type.exp (test_fields): Test getting fields
13990 from function and method.
13992 2015-10-21 Keven Boell <keven.boell@intel.com>
13994 * gdb.fortran/vla-alloc-assoc.exp: New file.
13995 * gdb.fortran/vla-datatypes.exp: New file.
13996 * gdb.fortran/vla-datatypes.f90: New file.
13997 * gdb.fortran/vla-history.exp: New file.
13998 * gdb.fortran/vla-ptype-sub.exp: New file.
13999 * gdb.fortran/vla-ptype.exp: New file.
14000 * gdb.fortran/vla-sizeof.exp: New file.
14001 * gdb.fortran/vla-sub.f90: New file.
14002 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
14003 * gdb.fortran/vla-value-sub-finish.exp: New file.
14004 * gdb.fortran/vla-value-sub.exp: New file.
14005 * gdb.fortran/vla-value.exp: New file.
14006 * gdb.fortran/vla-ptr-info.exp: New file.
14007 * gdb.mi/mi-vla-fortran.exp: New file.
14008 * gdb.mi/vla.f90: New file.
14010 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
14012 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
14013 of hardwired timeout value.
14015 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14016 Pedro Alves <palves@redhat.com>
14018 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
14019 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
14021 2015-10-19 Josh Stone <jistone@redhat.com>
14023 * gdb.base/catch-syscall.c: Include <sched.h>.
14024 (unknown_syscall): New variable.
14025 (main): Trigger a vfork and an unknown syscall.
14026 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
14027 (unknown_syscall_number): Likewise.
14028 (check_call_to_syscall): Accept an optional syscall pattern.
14029 (check_return_from_syscall): Likewise.
14030 (check_continue): Likewise.
14031 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
14032 (test_catch_syscall_skipping_return): New test toggling off 'catch
14033 syscall' to step over the syscall return, then toggling back on.
14034 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
14035 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
14036 (do_syscall_tests): Call test_catch_syscall_without_args and
14037 test_catch_syscall_mid_vfork.
14038 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
14039 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
14041 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
14043 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
14044 print g_vE): Add new pass patterns.
14045 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
14046 print various symbol names for vptr fields.
14048 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
14050 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
14053 2015-10-12 Yao Qi <yao.qi@linaro.org>
14055 * gdb.arch/disp-step-insn-reloc.exp: New test case.
14057 2015-10-12 Yao Qi <yao.qi@linaro.org>
14059 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
14060 is aarch64*-*-linux*.
14062 2015-10-12 Yao Qi <yao.qi@linaro.org>
14064 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
14065 (can_relocate_bcond_true): ... it.
14066 (can_relocate_bcond_false): New function.
14068 (can_relocate_bl): Likewise.
14069 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
14072 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
14074 * gdb.base/nested-addr.c: New file.
14075 * gdb.base/nested-addr.exp: New testcase.
14077 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
14079 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
14080 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
14081 its output. Ignore the output of "record goto begin" and instead
14082 check that GDB is replaying.
14084 2015-10-09 Pedro Alves <palves@redhat.com>
14086 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
14087 (top level): Use it in the run with no args test.
14089 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
14091 * gdb.dlang/properties.exp: New file.
14093 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
14095 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
14096 whether or not address 0x1000 is mapped on the target.
14098 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
14100 * gdb.python/py-type.exp: Do not run tests if binaries fail to
14103 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
14105 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
14106 instruction-history test.
14108 2015-09-28 Doug Evans <dje@google.com>
14110 * gdb.base/gcore.c (array_func): Add reference to static_array.
14112 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
14114 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
14117 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
14119 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
14120 short or char as base type.
14122 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
14124 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
14125 to allow any size enum.
14127 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
14129 * gdb.ada/array_ptr_renaming.exp: New testcase.
14130 * gdb.ada/array_ptr_renaming/foo.adb: New file.
14131 * gdb.ada/array_ptr_renaming/pack.ads: New file.
14133 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
14135 * gdb.trace/ftrace-lock.c: New file.
14136 * gdb.trace/ftrace-lock.exp: New file.
14138 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
14140 * gdb.arch/insn-reloc.c: New file.
14141 * gdb.arch/ftrace-insn-reloc.exp: New file.
14143 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
14145 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
14147 * gdb.trace/pendshr1.c (pendfunc): Likewise.
14148 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
14149 * gdb.trace/range-stepping.c: Likewise.
14150 * gdb.trace/trace-break.c: Likewise.
14151 * gdb.trace/trace-mt.c (thread_function): Likewise.
14152 * gdb.trace/ftrace.c (marker): Likewise.
14153 * gdb.trace/trace-condition.c (marker): Likewise.
14154 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
14155 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
14158 2015-09-18 Doug Evans <xdje42@gmail.com>
14160 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
14161 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
14163 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14165 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
14168 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14170 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
14171 the pending breakpoint. Remove timeout override for "Run till
14172 MI pending breakpoint on pendfunc3 on thread 2" test.
14174 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14176 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
14179 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14181 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
14182 in breakpoint filename pattern.
14184 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14186 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
14188 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14190 * gdb.linespec/explicit.exp: Check for readline support for
14191 tab-completion tests. Fix obvious typo.
14193 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
14195 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
14198 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
14200 * gdb.btrace/non-stop.c: New.
14201 * gdb.btrace/non-stop.exp: New.
14203 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
14204 Yao Qi <yao.qi@linaro.org>
14206 * gdb.trace/trace-condition.c: New file.
14207 * gdb.trace/trace-condition.exp: New file.
14209 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
14211 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
14212 for testing bytecode compilation.
14214 2015-09-16 Pedro Alves <palves@redhat.com>
14215 Sandra Loosemore <sandra@codesourcery.com>
14217 * gdb.threads/non-stop-fair-events.c (timeout): New global.
14218 (SECONDS): Redefine.
14219 (main): Call pthread_kill and alarm early.
14220 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
14222 (test): If the target can't hardware step and doesn't support
14223 displaced stepping, increase the timeout.
14225 2015-09-16 Pedro Alves <palves@redhat.com>
14227 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
14228 (enable_debug): New procedures.
14229 (test): Use them. Bail out if waiting for threads fails.
14230 (top level): Bail out if a test fails.
14232 2015-09-16 Yao Qi <yao.qi@linaro.org>
14234 * gdb.asm/asm-source.exp: Set asm-arch for
14235 aarch64*-*-* target.
14236 * gdb.asm/aarch64.inc: New file.
14238 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
14240 * gdb.ada/array_of_variable_length.exp: New testcase.
14241 * gdb.ada/array_of_variable_length/foo.adb: New file.
14242 * gdb.ada/array_of_variable_length/pck.adb: New file.
14243 * gdb.ada/array_of_variable_length/pck.ads: New file.
14245 2015-09-15 Doug Evans <dje@google.com>
14247 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
14248 of function static local variable.
14250 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
14252 * gdb.threads/tls-so_extern.exp: New test file.
14253 * gdb.threads/tls-so_extern.c: New test file.
14254 * gdb.threads/tls-so_extern_main.c: New test file.
14256 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14258 * gdb.opt/solib-intra-step-lib.c: New file.
14259 * gdb.opt/solib-intra-step-main.c: New file.
14260 * gdb.opt/solib-intra-step.exp: New file.
14262 2015-09-15 Pedro Alves <palves@redhat.com>
14264 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
14265 gdb_continue_to_breakpoint instead of gdb_test_multiple.
14267 2015-09-14 Pedro Alves <palves@redhat.com>
14269 * gdb.base/hook-stop-continue.c: Delete.
14270 * gdb.base/hook-stop-continue.exp: Delete.
14271 * gdb.base/hook-stop-frame.c: Delete.
14272 * gdb.base/hook-stop-frame.exp: Delete.
14273 * gdb.base/hook-stop.c: New file.
14274 * gdb.base/hook-stop.exp: New file.
14276 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
14278 * gdb.ada/access_to_packed_array.exp: New testcase.
14279 * gdb.ada/access_to_packed_array/foo.adb: New file.
14280 * gdb.ada/access_to_packed_array/pack.adb: New file.
14281 * gdb.ada/access_to_packed_array/pack.ads: New file.
14283 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
14285 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
14288 2015-09-11 Don Breazeal <donb@codesourcery.com>
14290 * gdb.base/foll-exec.c: Add copyright header. Fix
14292 * gdb.base/foll-exec.exp (zap_session): Delete proc.
14293 (do_exec_tests): Use clean_restart in place of zap_session,
14294 and for test initialization. Fix formatting issues. Use
14295 fail in place of perror.
14296 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
14297 an expect statement to match an expression with output from
14298 the program under debug.
14299 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
14300 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
14301 * gdb.threads/non-ldr-exc-2.exp: Likewise.
14302 * gdb.threads/non-ldr-exc-3.exp: Likewise.
14303 * gdb.threads/non-ldr-exc-4.exp: Likewise.
14305 2015-09-09 Doug Evans <dje@google.com>
14307 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
14309 2015-09-09 Doug Evans <dje@google.com>
14311 * gdb.base/pie-execl.exp: Fix result test of build_executable.
14313 2015-09-09 Doug Evans <dje@google.com>
14315 * gdb.base/savedregs.exp: Fix typo.
14317 2015-09-09 Pedro Alves <palves@redhat.com>
14319 * gdb.mi/mi-cli.exp: Add CLI finish tests.
14321 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
14323 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
14324 command actually switches threads. Give up on remaining
14325 tests if target fails to stop at breakpoint.
14327 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
14329 * gdb.ada/funcall_char.exp: New testcase.
14330 * gdb.ada/funcall_char/foo.adb: New file.
14332 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
14334 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
14335 expected outputs. Add two testcases for completing ambiguous
14337 * gdb.ada/complete/aux_pck.adb: New file.
14338 * gdb.ada/complete/aux_pck.ads: New file.
14339 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
14340 Ambiguous_Func functions.
14341 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
14342 * gdb.ada/complete/pck.adb: Likewise.
14344 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
14346 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
14347 failures to run the test program under GDB.
14349 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
14351 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
14354 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
14356 * gdb.base/run-after-attach.exp: New test file.
14357 * gdb.base/run-after-attach.c: New test file.
14359 2015-08-26 Don Breazeal <donb@codesourcery.com>
14361 * gdb.base/foll-exec-2.c: New test program.
14362 * gdb.base/foll-exec-2.exp: New test.
14364 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
14366 * gdb.base/nested-subp1.exp: New file.
14367 * gdb.base/nested-subp1.c: New file.
14368 * gdb.base/nested-subp2.exp: New file.
14369 * gdb.base/nested-subp2.c: New file.
14370 * gdb.base/nested-subp3.exp: New file.
14371 * gdb.base/nested-subp3.c: New file.
14373 2015-08-24 Pedro Alves <palves@redhat.com>
14375 * gdb.server/connect-without-multi-process.c: New file.
14376 * gdb.server/connect-without-multi-process.exp: New file.
14378 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
14380 * gdb.opt/inline-markers.c: Make z int.
14382 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
14384 * gdb.opt/inline-markers.c: Make z volatile.
14386 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
14388 * gdb.opt/inline-bt.c: New volatile global z.
14389 * gdb.opt/inline-cmds.c: Likewise.
14390 * gdb.opt/inline-locals.c: Likewise.
14391 * gdb.opt/inline-markers.c: New extern global z.
14393 (inline_fn): Likewise.
14395 2015-08-24 Pedro Alves <palves@redhat.com>
14397 * config/m32r-stub.exp: Remove file.
14398 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
14399 * gdb.base/call-rt-st.exp: Likewise.
14400 * gdb.base/call-strs.exp: Likewise.
14401 * gdb.base/default.exp: Remove references to h8300-*-hms and
14403 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
14405 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14407 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
14408 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
14409 and "return" use KFAIL when GDB can not read/write the vector
14412 2015-08-21 Gary Benson <gbenson@redhat.com>
14414 * gdb.trace/pending.exp: Cope with remote transfer warnings.
14416 2015-08-20 Pedro Alves <palves@redhat.com>
14418 * gdb.server/solib-list.exp: No longer expect an interior stop in
14421 2015-08-20 Pedro Alves <palves@redhat.com>
14423 * gdb.server/connect-stopped-target.c: New file.
14424 * gdb.server/connect-stopped-target.exp: New file.
14426 2015-08-20 Pedro Alves <palves@redhat.com>
14428 * gdb.dwarf2/comp-unit-lang.exp: New file.
14429 * gdb.dwarf2/comp-unit-lang.c: New file.
14431 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
14433 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
14434 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
14436 2015-08-19 Kevin Buettner <kevinb@redhat.com>
14438 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
14439 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
14441 2015-08-18 Doug Evans <dje@google.com>
14442 Adrian Sendroiu <adrian.sendroiu@freescale.com>
14444 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
14445 skip_python_tests. New arg prompt_regexp.
14446 (skip_python_tests): New function.
14447 * lib/mi-support.exp (mi_skip_python_tests): New function.
14448 * gdb.python/py-mi-objfile-gdb.py: New file.
14449 * gdb.python/py-mi-objfile.c: New file.
14450 * gdb.python/py-mi-objfile.exp: New file.
14452 2015-08-17 Keith Seitz <keiths@redhat.com>
14454 * gdb.linespec/explicit.exp: Move strace test from here ...
14455 * gdb.trace/strace.exp: ... to here.
14457 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
14459 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
14460 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
14462 2015-08-14 Doug Evans <xdje42@gmail.com>
14464 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
14465 inferior before selecting a new file.
14467 2015-08-14 Doug Evans <xdje42@gmail.com>
14469 * gdb.mi/mi-disassemble.exp: Update.
14470 * gdb.base/disasm-optim.S: New file.
14471 * gdb.base/disasm-optim.c: New file.
14472 * gdb.base/disasm-optim.h: New file.
14473 * gdb.base/disasm-optim.exp: New file.
14475 2015-08-14 Keith Seitz <keiths@redhat.com>
14477 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
14480 2015-08-13 Joel Brobecker <brobecker@adacore.com>
14482 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
14484 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
14486 * gdb.ada/fun_renaming.exp: New testcase.
14487 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
14488 * gdb.ada/fun_renaming/pack.adb: New file.
14489 * gdb.ada/fun_renaming/pack.ads: New file.
14491 2015-08-12 Keith Seitz <keiths@redhat.com>
14493 * gdb.base/dso2dso.exp: Pass basename of source file in call to
14494 gdb_get_line_number.
14496 2015-08-12 Joel Brobecker <brobecker@adacore.com>
14498 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
14499 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
14500 gdb.base/dso2dso.exp: New files.
14502 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
14503 Pedro Alves <palves@redhat.com>
14504 Keith Seitz <keiths@redhat.com>
14506 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
14509 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
14511 * gdb.base/gdbhistsize-history.exp
14512 (test_histsize_history_setting): Use save_vars.
14513 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
14515 (test_no_truncation_of_unlimited_history_file): Use save_vars.
14516 * gdb.base/readline.exp: Use save_vars.
14518 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
14520 * lib/gdb.exp (save_vars): New proc.
14522 2015-08-11 Keith Seitz <keiths@redhat.com>
14524 * gdb.base/help.exp: Update help_breakpoint_text.
14526 2015-08-11 Keith Seitz <keiths@redhat.com>
14528 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
14529 (at toplevel): Call test_explicit_breakpoints.
14530 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
14532 * lib/mi-support.exp (mi_make_breakpoint): Add support for
14533 breakpoint conditions, "-cond".
14535 2015-08-11 Keith Seitz <keiths@redhat.com>
14537 * gdb.linespec/3explicit.c: New file.
14538 * gdb.linespec/cpexplicit.cc: New file.
14539 * gdb.linespec/cpexplicit.exp: New file.
14540 * gdb.linespec/explicit.c: New file.
14541 * gdb.linespec/explicit.exp: New file.
14542 * gdb.linespec/explicit2.c: New file.
14543 * gdb.linespec/ls-errs.exp: Add explicit location tests.
14544 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
14545 before using in the matching pattern.
14546 Clarify that `prefix' is a regular expression.
14548 2015-08-11 Keith Seitz <keiths@redhat.com>
14550 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
14552 Add tests for missing ",FMT" and ",".
14554 2015-08-10 Doug Evans <dje@google.com>
14555 Keith Seitz <keiths@redhat.com>
14558 * gdb.base/completion.exp: Add location completer tests.
14560 2015-08-07 Pedro Alves <palves@redhat.com>
14562 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
14564 (top level): Run do_test with and without displaced stepping.
14566 2015-08-07 Pedro Alves <palves@redhat.com>
14568 * gdb.base/valgrind-disp-step.c: New file.
14569 * gdb.base/valgrind-disp-step.exp: New file.
14571 2015-08-07 Pedro Alves <palves@redhat.com>
14573 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
14575 (main): Add alarm. Run an infinite loop instead of calling
14577 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
14579 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
14581 (main): Add alarm. Run an infinite loop instead of calling
14583 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
14586 2015-08-07 Pedro Alves <palves@redhat.com>
14588 * gdb.base/checkpoint-ns.exp: New file.
14589 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
14592 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
14594 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
14595 * gdb.btrace/instruction_history.exp: Update.
14596 * gdb.btrace/tsx.exp: New.
14597 * gdb.btrace/tsx.c: New.
14599 2015-08-06 Pedro Alves <palves@redhat.com>
14601 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
14603 * gdb.reverse/until-precsave.exp: Bump timeouts.
14605 2015-08-06 Pedro Alves <palves@redhat.com>
14607 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
14609 2015-08-06 Pedro Alves <palves@redhat.com>
14612 * gdb.threads/process-dies-while-handling-bp.c: New file.
14613 * gdb.threads/process-dies-while-handling-bp.exp: New file.
14615 2015-08-06 Pedro Alves <palves@redhat.com>
14617 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
14618 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
14620 2015-08-05 Pedro Alves <palves@redhat.com>
14622 * gdb.threads/next-while-other-thread-longjmps.c: New file.
14623 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
14625 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
14627 * gdb.base/bp-permanent.exp: Report test as unsupported if
14628 the target cannot stop at the permanent breakpoint.
14630 2015-08-03 Doug Evans <dje@google.com>
14632 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
14635 2015-08-03 Doug Evans <dje@google.com>
14637 * Makefile.in (workers/%.worker, build-perf): New rule.
14638 (GDB_PERFTEST_MODE): New variable.
14639 (check-perf): Use it.
14640 (clean): Clean up gdb.perf parallel build subdirs.
14641 * lib/build-piece.exp: New file.
14642 * lib/gdb.exp (make_gdb_parallel_path): New function
14643 (standard_output_file, standard_temp_file): Call it.
14644 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
14646 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
14648 2015-08-03 Doug Evans <dje@google.com>
14650 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
14651 (LOG_FILE_NAME): New global.
14652 (TextReporter.__init__): Initialize self.txt_sum.
14653 (TextReporter.report): Add support for multiple data-points.
14654 Move report to perftest.sum, put raw data in perftest.log.
14655 (TextReporter.start): Open sum and log files.
14656 (TextReporter.end): Close sum and log files.
14657 * gdb.perf/lib/perftest/testresult.py
14658 (SingleStatisticTestResult.record): Handle multiple data-points.
14660 2015-07-31 Pedro Alves <palves@redhat.com>
14662 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
14663 Use spawn_id_get_pid. Wait for spawn id after eof. Use
14664 kill_wait_spawned_process instead of explicit "kill -9".
14665 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
14666 returning a spawn id instead of a pid. Use spawn_id_get_pid and
14667 kill_wait_spawned_process.
14668 * gdb.base/attach-twice.exp: Likewise.
14669 * gdb.base/attach.exp: Likewise.
14670 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
14672 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
14673 returning a spawn id instead of a pid. Use spawn_id_get_pid and
14674 kill_wait_spawned_process.
14675 * gdb.base/valgrind-infcall.exp: Likewise.
14676 * gdb.multi/multi-attach.exp: Likewise.
14677 * gdb.python/py-prompt.exp: Likewise.
14678 * gdb.python/py-sync-interp.exp: Likewise.
14679 * gdb.server/ext-attach.exp: Likewise.
14680 * gdb.threads/attach-into-signal.exp (corefunc): Use
14681 spawn_wait_for_attach, spawn_id_get_pid and
14682 kill_wait_spawned_process.
14683 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
14684 spawn_wait_for_attach returning a spawn id instead of a pid. Use
14685 spawn_id_get_pid and kill_wait_spawned_process.
14686 * gdb.threads/attach-stopped.exp (corefunc): Use
14687 spawn_wait_for_attach, spawn_id_get_pid and
14688 kill_wait_spawned_process.
14689 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
14690 Use spawn_id_get_pid. Wait for spawn id after eof. Use
14691 kill_wait_spawned_process instead of explicit "kill -9".
14692 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
14693 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
14694 (spawn_wait_for_attach): Use spawn instead of exec to spawn
14695 processes. Don't map cygwin/windows pids here. Now returns a
14698 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
14700 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
14701 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
14704 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
14706 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
14708 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
14711 2014-05-21 Mark Wielaard <mjw@redhat.com>
14713 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
14715 2015-07-30 Pedro Alves <palves@redhat.com>
14717 * linux-low.c (handle_extended_wait): Set the child's last
14718 reported status to TARGET_WAITKIND_STOPPED.
14720 2015-07-30 Pedro Alves <palves@redhat.com>
14723 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
14724 only shows inferior 1.
14726 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
14727 Pedro Alves <palves@redhat.com>
14730 * gdb.threads/fork-plus-threads.c: New file.
14731 * gdb.threads/fork-plus-threads.exp: New file.
14733 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14735 * gdb.base/batch-preserve-term-settings.exp
14736 (test_terminal_settings_preserved_after_cli_exit): Use
14739 2015-07-29 Pedro Alves <palves@redhat.com>
14740 Don Breazeal <donb@codesourcery.com>
14742 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
14743 output from both inferior_spawn_id and gdb_spawn_id.
14745 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
14747 * gdb.threads/attach-into-signal.exp (corefunc): Use
14748 with_test_prefix on nested loops, uniquefying the test messages.
14750 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
14752 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
14755 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14757 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
14759 (test_terminal_settings_preserved_after_sigterm): New test.
14761 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14763 * gdb.base/batch-preserve-term-settings.exp
14764 (test_terminal_settings_preserved_after_cli_exit): New test.
14766 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14768 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
14769 manipulation of saved_gdbflags.
14770 (test_terminal_settings_preserved): Remove global declaration of
14771 the unused variable pagination_prompt. Remove manipulation of
14772 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
14775 2015-07-29 Pedro Alves <palves@redhat.com>
14777 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
14779 2015-07-29 Pedro Alves <palves@redhat.com>
14781 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
14784 2015-07-29 Pedro Alves <palves@redhat.com>
14786 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
14787 (main): Call gdb_unbuffer_output.
14788 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
14789 (main): Call gdb_unbuffer_output.
14790 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
14791 (main): Call gdb_unbuffer_output.
14792 * gdb.base/call-strs.exp: Adjust to step over the
14793 gdb_unbuffer_output call.
14794 * gdb.base/catch-gdb-caused-signals.c: Include
14795 "../lib/unbuffer_output.c".
14796 (main): Call gdb_unbuffer_output.
14797 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
14798 (main): Call gdb_unbuffer_output.
14799 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
14800 (main): Call gdb_unbuffer_output.
14801 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
14802 (main): Call gdb_unbuffer_output.
14803 * gdb.base/shlib-call.exp: Adjust to step over the
14804 gdb_unbuffer_output call.
14805 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
14806 (main): Call gdb_unbuffer_output.
14807 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
14808 (main): Call gdb_unbuffer_output.
14809 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
14810 (main): Rename to ...
14812 (main): Reimplement.
14813 * gdb.base/varargs.exp: Run to test instead of to main.
14814 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
14815 (main): Call gdb_unbuffer_output.
14817 2015-07-29 Pedro Alves <palves@redhat.com>
14819 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
14820 factore out from mi_continue_dprintf. For call-style dprintfs,
14821 expect dprintf output out of $inferior_spawn_id.
14822 (mi_continue_dprintf): Use mi_expect_dprintf.
14823 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
14824 (main): Call gdb_unbuffer_output.
14826 2015-07-29 Pedro Alves <palves@redhat.com>
14828 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
14829 (default_mi_gdb_start): Set inferior_spawn_id instead of
14830 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
14832 (mi_gdb_test): Always expect inferior output from both
14833 $inferior_spawn_id and $gdb_spawn_id.
14835 2015-07-29 Pedro Alves <palves@redhat.com>
14837 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
14838 send_inferior and $inferior_spawn_id.
14840 2015-07-29 Pedro Alves <palves@redhat.com>
14842 * gdb.gdb/complaints.exp (test_initial_complaints)
14843 (test_serial_complaints, test_short_complaints): Use
14845 (test_empty_complaint): Handle $inferior_spawn_id !=
14848 2015-07-29 Pedro Alves <palves@redhat.com>
14850 * gdb.base/varargs.exp: Use gdb_test_stdio.
14852 2015-07-29 Pedro Alves <palves@redhat.com>
14854 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
14856 2015-07-29 Pedro Alves <palves@redhat.com>
14858 * gdb.base/ending-run.exp: Use gdb_test_stdio.
14860 2015-07-29 Pedro Alves <palves@redhat.com>
14862 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
14863 parameter into two new parameters, "inf_result" and "gdb_result".
14864 Expect inferior output and gdb output from $inferior_spawn_id and
14865 $gdb_spawn_id, respectively. Adjust all callers.
14867 2015-07-29 Pedro Alves <palves@redhat.com>
14869 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
14870 of gdb_test_sequence.
14872 2015-07-29 Pedro Alves <palves@redhat.com>
14874 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
14875 (saw_spurious_output): Expect inferior output from
14876 $inferior_spawn_id. Use gdb_test_stdio.
14878 2015-07-29 Pedro Alves <palves@redhat.com>
14880 * gdb.base/dprintf.exp: Use standard_testfile. Change
14881 prepare_for_testing call.
14882 (srcfile): Don't set.
14883 (restart): New procedure.
14884 (test_dprintf): New procecure, use to continue over dprintfs.
14885 (test_call, test_agent): New procedures, tests moved here.
14886 Restart gdb and recreate dprintfs. Adjust expected output.
14888 2015-07-29 Pedro Alves <palves@redhat.com>
14890 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
14892 2015-07-29 Pedro Alves <palves@redhat.com>
14894 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
14896 2015-07-29 Pedro Alves <palves@redhat.com>
14898 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
14901 2015-07-29 Pedro Alves <palves@redhat.com>
14903 * lib/gdb.exp (gdb_test_stdio): New procedure.
14905 2015-07-29 Pedro Alves <palves@redhat.com>
14907 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
14909 2015-07-29 Pedro Alves <palves@redhat.com>
14911 * gdb.base/call-signal-resume.exp: Remove check for
14912 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
14913 * gdb.base/unwindonsignal.exp: Likewise.
14914 * gdb.base/call-signals.c (gen_signal): Remove printf call.
14915 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
14917 2015-07-29 Pedro Alves <palves@redhat.com>
14919 * gdb.base/siginfo-addr.c (pass): New function.
14920 (handler): Call it iff si_addr is correct.
14921 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
14922 Set a breakpoint at "pass" and continue to it.
14924 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
14926 * gdb.python/py-objfile.exp: Make some tests have unique names.
14927 * gdb.python/py-pp-registration.exp: Likewise.
14929 2015-07-28 Pedro Alves <palves@redhat.com>
14931 * gdb.server/server-exec-info.exp: Issue a "disconnect".
14933 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
14935 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
14937 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
14939 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
14941 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
14943 * gdb.base/gdb-sigterm-2.exp: New test.
14945 2015-07-25 Doug Evans <xdje42@gmail.com>
14948 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
14949 (workers/%.worker, build-perf): New rule.
14950 (GDB_PERFTEST_MODE): New variable.
14951 (check-perf): Use it.
14952 (clean): Clean up gdb.perf parallel build subdirs.
14953 * lib/build-piece.exp: New file.
14954 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
14955 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
14957 (standard_temp_file): Ditto.
14958 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
14961 2015-07-24 Doug Evans <dje@google.com>
14963 * gdb.perf/lib/perftest/utils.py: New file.
14964 * gdb.perf/gm-hello.cc: New file.
14965 * gdb.perf/gm-pervasive-typedef.cc: New file.
14966 * gdb.perf/gm-pervasive-typedef.h: New file.
14967 * gdb.perf/gm-std.cc: New file.
14968 * gdb.perf/gm-std.h: New file.
14969 * gdb.perf/gm-use-cerr.cc: New file.
14970 * gdb.perf/gm-utils.h: New file.
14971 * gdb.perf/gmonster-null-lookup.py: New file.
14972 * gdb.perf/gmonster-pervasive-typedef.py: New file.
14973 * gdb.perf/gmonster-print-cerr.py: New file.
14974 * gdb.perf/gmonster-ptype-string.py: New file.
14975 * gdb.perf/gmonster-runto-main.py: New file.
14976 * gdb.perf/gmonster-select-file.py: New file.
14977 * gdb.perf/gmonster1-null-lookup.exp: New file.
14978 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
14979 * gdb.perf/gmonster1-print-cerr.exp: New file.
14980 * gdb.perf/gmonster1-ptype-string.exp: New file.
14981 * gdb.perf/gmonster1-runto-main.exp: New file.
14982 * gdb.perf/gmonster1-select-file.exp: New file.
14983 * gdb.perf/gmonster1.cc: New file.
14984 * gdb.perf/gmonster1.exp: New file.
14985 * gdb.perf/gmonster2-null-lookup.exp: New file.
14986 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
14987 * gdb.perf/gmonster2-print-cerr.exp: New file.
14988 * gdb.perf/gmonster2-ptype-string.exp: New file.
14989 * gdb.perf/gmonster2-runto-main.exp: New file.
14990 * gdb.perf/gmonster2-select-file.exp: New file.
14991 * gdb.perf/gmonster2.cc: New file.
14992 * gdb.perf/gmonster2.exp: New file.
14994 2015-07-24 Doug Evans <dje@google.com>
14996 * gdb.perf/README: New file.
14997 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
14998 * lib/gen-perf-test.exp: New file.
15000 2015-07-24 Doug Evans <dje@google.com>
15002 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
15003 (PerfTest::startup): New function.
15004 (PerfTest::run): Return result of calling body.
15005 (PerfTest::assemble): Rewrite.
15006 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
15007 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
15008 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
15009 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
15010 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
15012 2015-07-24 Doug Evans <dje@google.com>
15014 * lib/gdb.exp (clean_restart): Make executable optional.
15016 2015-07-24 Doug Evans <dje@google.com>
15018 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
15019 compiler_info references.
15020 * gdb.cp/temargs.exp: Ditto.
15021 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
15022 (get_compiler_info): Early exit if already computed. Set compiler_info
15023 to "unknown" if there was a problem.
15024 (test_compiler_info): Add function comment. Call get_compiler_info.
15026 2015-07-24 Doug Evans <dje@google.com>
15028 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
15029 (workers/%.worker, build-perf): New rule.
15030 (GDB_PERFTEST_MODE): New variable.
15031 (check-perf): Use it.
15032 (clean): Clean up gdb.perf parallel build subdirs.
15033 * lib/build-piece.exp: New file.
15034 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
15035 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
15037 (standard_temp_file): Ditto.
15038 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
15041 2015-07-24 Doug Evans <dje@google.com>
15043 * lib/future.exp (gdb_default_target_compile): New option
15045 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
15048 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
15050 * gdb.base/catch-syscall.exp: Call gdb_exit before
15053 2015-07-24 Pedro Alves <palves@redhat.com>
15055 * gdb.python/py-events.exp: Accept output between the stop event
15057 * gdb.python/py-evsignal.exp: Likewise.
15058 * gdb.python/py-evthreads.exp: Likewise.
15060 2015-07-24 Pedro Alves <palves@redhat.com>
15063 * gdb.threads/non-ldr-exit.c: New file.
15064 * gdb.threads/non-ldr-exit.exp: New file.
15066 2015-07-24 Yao Qi <yao.qi@linaro.org>
15068 * gdb.server/ext-wrapper.exp: Test --wrapper option when
15069 restarting process.
15071 2015-07-24 Yao Qi <yao.qi@linaro.org>
15073 * gdb.server/ext-restart.exp: New file.
15075 2015-07-24 Yao Qi <yao.qi@linaro.org>
15077 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
15079 * gdb.server/ext-wrapper.exp: New file.
15081 2015-07-23 Doug Evans <dje@google.com>
15083 * gdb.dwarf2/dw2-dummy-cu.S: New file.
15084 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
15086 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
15088 * gdb.ada/var_arr_typedef.exp: New testcase.
15089 * gdb.ada/var_arr_typedef/pack.adb: New file.
15090 * gdb.ada/var_arr_typedef/pack.ads: New file.
15091 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
15093 2015-07-20 Joel Brobecker <brobecker@adacore.com>
15095 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
15097 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15099 * gdb.arch/i386-biarch-core.exp: Replace istarget
15100 by "complete set gnutarget". Remove expectation for the "core-file"
15103 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15105 Revert the previous commit:
15106 Tests for validate symbol file using build-id.
15108 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
15110 Tests for validate symbol file using build-id.
15111 * gdb.base/solib-mismatch-lib.c: New file.
15112 * gdb.base/solib-mismatch-libmod.c: New file.
15113 * gdb.base/solib-mismatch.c: New file.
15114 * gdb.base/solib-mismatch.exp: New file.
15116 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
15118 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
15120 * gdb.base/sigbpt.exp (stepi_out): Likewise.
15121 * gdb.base/siginfo.exp: Likewise.
15122 * gdb.base/sigstep.exp (advance, advancei): Likewise.
15124 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
15126 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
15128 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
15130 * gdb.trace/range-stepping.exp: Check that the target supports
15133 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
15135 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
15137 2015-07-14 Pedro Alves <palves@redhat.com>
15139 * gdb.base/killed-outside.exp: New file.
15140 * gdb.base/killed-outside.c: New file.
15142 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15144 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
15146 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
15148 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
15150 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
15151 infcall tests instead of setting up for KFAIL.
15153 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
15155 * gdb.btrace/record_goto-step.exp: New.
15157 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15160 * gdb.compile/compile.c (struct struct_type): Add volatile to
15162 * gdb.compile/compile.exp
15163 (compile code struct_object.selffield = &struct_object): Skip further
15164 struct_object tests if this one xfails.
15166 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
15169 * gdb.trace/ax.exp: Add test.
15171 2015-07-07 Yao Qi <yao.qi@linaro.org>
15173 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
15174 instead of istarget "aarch64*-*-*".
15175 * gdb.arch/aarch64-fp.exp: Likewise.
15176 * gdb.base/float.exp: Likewise.
15177 * gdb.reverse/aarch64.exp: Likewise.
15178 * lib/gdb.exp (is_aarch64_target): New proc.
15180 2015-07-07 Yao Qi <yao.qi@linaro.org>
15182 * lib/gdb.exp (is_aarch32_target): New proc.
15183 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
15184 instead of "istarget "arm*-*-*"".
15185 * gdb.arch/arm-disp-step.exp: Likewise.
15186 * gdb.arch/thumb-bx-pc.exp: Likewise.
15187 * gdb.arch/thumb-prologue.exp: Likewise.
15188 * gdb.arch/thumb-singlestep.exp: Likewise.
15189 * gdb.base/disp-step-syscall.exp: Likewise.
15190 * gdb.base/float.exp: Likewise.
15192 2015-07-07 Yao Qi <yao.qi@linaro.org>
15194 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
15195 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
15197 2015-07-07 Yao Qi <yao.qi@linaro.org>
15199 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
15200 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
15202 * gdb.multi/multi-arch.exp: Likewise.
15204 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
15206 * gdb.python/py-lazy-string.exp: Add missing parentheses to
15209 2015-07-07 Yao Qi <yao.qi@linaro.org>
15211 * gdb.arch/thumb-singlestep.exp: Do one more single step.
15213 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
15215 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
15216 '[' and ']' characters.
15218 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
15220 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
15222 2015-06-29 Pedro Alves <palves@redhat.com>
15225 * gdb.threads/hand-call-new-thread.c: New file.
15226 * gdb.threads/hand-call-new-thread.c: New file.
15228 2015-06-26 Keith Seitz <keiths@redhat.com>
15229 Doug Evans <dje@google.com>
15232 * gdb.cp/var-tag-2.cc: New file.
15233 * gdb.cp/var-tag-3.cc: New file.
15234 * gdb.cp/var-tag-4.cc: New file.
15235 * gdb.cp/var-tag.cc: New file.
15236 * gdb.cp/var-tag.exp: New file.
15238 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
15240 * gdb.base/history-duplicates.exp: New test.
15242 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
15244 * gdb.base/completion.exp: Test the completion of the "focus"
15247 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
15249 * gdb.arch/amd64-prologue-skip.S: New file.
15250 * gdb.arch/amd64-prologue-skip.exp: New file.
15252 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
15254 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
15255 is_address_zero_readable check.
15257 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
15259 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
15260 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
15262 2015-06-24 Yao Qi <yao.qi@linaro.org>
15264 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
15267 2015-06-24 Yao Qi <yao.qi@linaro.org>
15269 * lib/gdb.exp (supports_get_siginfo_type): New proc.
15270 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
15271 * gdb.base/siginfo-thread.exp: Likewise.
15273 2015-06-22 Yao Qi <yao.qi@linaro.org>
15275 * boards/remote-gdbserver-on-localhost.exp: Add comments.
15277 2015-06-22 Yao Qi <yao.qi@linaro.org>
15279 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
15281 (skip_hw_watchpoint_tests): Likewise.
15283 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
15285 * gdb.base/gdbinit-history.exp: Test the interaction between
15286 setting GDBHISTSIZE and setting the history size via .gdbinit.
15288 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
15291 * gdb.base/gdbhistsize-history.exp: New test.
15293 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
15295 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
15297 * gdb.base/readline.exp: Likewise.
15299 2015-06-17 Yao Qi <yao.qi@linaro.org>
15301 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
15304 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
15306 * gdb.base/gdbinit-history.exp: Add test case to check that
15307 an unlimited history file does not get truncated on exit.
15309 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15311 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
15312 (VECTOR): New macro. Use it...
15313 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
15314 ...for these typedefs.
15315 (int8, char1, int1, double1): New typedefs.
15316 (struct just_int2, struct two_int2): New structures.
15317 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
15318 (add_structvecs, add_singlevecs): New functions.
15319 (main): Call add_some_intvecs twice.
15320 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
15321 the compile and exit upon failure. Try compiling for the "native"
15322 architecture. Test inferior function calls with vector arguments
15323 and vector return value handling with "finish" and "return".
15325 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
15327 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
15328 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
15330 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
15332 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
15334 PR breakpoints/16465
15335 * gdb.mi/mi-dprintf-pending.c: New file.
15336 * gdb.mi/mi-dprintf-pending.exp: New test.
15337 * gdb.mi/mi-dprintf-pendshr.c: New file.
15339 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
15340 Mircea Gherzan <mircea.gherzan@intel.com>
15342 * gdb.arch/i386-mpx-map.c: New file.
15343 * gdb.arch/i386-mpx-map.exp: New File.
15345 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
15347 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
15348 * gdb.arch/i386-mpx.exp: Indentation fixed.
15350 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
15352 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
15353 function and improved indentation.
15354 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
15355 gdb_test_multiple. Added additional tests to skip the test.
15357 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
15359 * gdb.arch/i386-avx512.c: Change path in include file.
15360 * gdb.arch/i386-avx512.exp: Change include dir path
15362 * gdb.arch/i386-mpx.c: Change path in include file.
15363 * gdb.arch/i386-mpx.exp: Change include dir path compilation
15366 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
15368 * gdb.compile/compile-print.exp (compile print *vararray@3)
15369 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
15371 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
15373 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
15374 (do not keep jit in memory): ... this.
15375 (expect 5): Change it to ...
15376 (expect no 5): ... this.
15378 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
15381 * gdb.mi/mi-detach.exp: New file.
15383 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
15386 * gdb.arch/amd64-tailcall-self.S: New file.
15387 * gdb.arch/amd64-tailcall-self.c: New file.
15388 * gdb.arch/amd64-tailcall-self.exp: New file.
15390 2015-05-28 Don Breazeal <donb@codesourcery.com>
15392 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
15393 tests for remote targets by checking is_target_gdbserver.
15395 2015-05-27 Doug Evans <dje@google.com>
15397 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
15398 * gdb.dwarf2/opaque-type-lookup.c: New file.
15399 * gdb.dwarf2/opaque-type-lookup.exp: New file.
15401 2015-05-26 Doug Evans <dje@google.com>
15403 * gdb.cp/iostream.cc: New file.
15404 * gdb.cp/iostream.exp: New file.
15406 2015-05-26 Doug Evans <dje@google.com>
15408 * gdb.dwarf2/dw2-op-call.exp: Update.
15409 * gdb.dwarf2/dw4-sig-types.exp: Update.
15410 * gdb.dwarf2/implptr.exp: Update.
15411 * gdb.mi/mi-cmd-param-changed.exp: Update.
15413 2015-05-26 Doug Evans <dje@google.com>
15415 * gdb.python/py-lazy-string.c: New file.
15416 * gdb.python/py-lazy-string.exp: New file.
15417 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
15418 (main): Update. Add estring3.
15419 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
15420 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
15422 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
15423 Yao Qi <yao.qi@linaro.org>
15425 * gdb.reverse/aarch64.c: New.
15426 * gdb.reverse/aarch64.exp: New.
15428 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
15430 * lib/gdb.exp (supports_process_record): Return true for
15432 (supports_reverse): Likewise.
15434 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
15436 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
15437 Use with_test_prefix.
15439 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
15441 * gdb.base/completion.exp: Add test for completion of layout
15444 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
15446 * lib/gdb.exp (skip_tui_tests): New proc.
15447 * gdb.base/tui-layout.exp: Check skip_tui_tests.
15449 2015-05-19 Pedro Alves <palves@redhat.com>
15451 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
15452 Save the whole env array instead of just HOME. Unset HISTSIZE in
15453 the environment while testing. Restore whole environment
15456 2015-05-16 Doug Evans <xdje42@gmail.com>
15458 * gdb.guile/scm-ports.c: New file.
15459 * gdb.guile/scm-ports.exp: Add memory port tests.
15461 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15463 * gdb.compile/compile-print.c: New file.
15464 * gdb.compile/compile-print.exp: New file.
15466 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15468 * gdb.compile/compile-ops.exp: Cast param to void.
15469 * gdb.compile/compile.exp: Complete type for _gdb_expr.
15470 (compile code struct_object.selffield = &struct_object): Add xfail.
15472 2015-05-15 Joel Brobecker <brobecker@adacore.com>
15474 * gdb.ada/arr_enum_with_gap: New testcase.
15476 2015-05-15 Joel Brobecker <brobecker@adacore.com>
15478 * gdb.ada/byte_packed_arr: New testcase.
15480 2015-05-15 Joel Brobecker <brobecker@adacore.com>
15482 * gdb.ada/pckd_neg: New testcase.
15484 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
15487 * gdb.base/gdbinit-history.exp: New test.
15488 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
15489 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
15491 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
15493 * gdb.python/py-xmethods.cc: Enhance test case.
15494 * gdb.python/py-xmethods.exp: New tests.
15495 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
15497 (B_indexoper): Likewise.
15498 (global_dm_list) : Add new xmethod worker functions.
15500 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
15502 * gdb.base/coredump-filter.exp: Correctly unset
15503 "coredump_var_addr" array.
15505 2015-05-08 Pedro Alves <palves@redhat.com>
15507 * gdb.server/non-existing-program.exp: Unset spawn_id.
15509 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
15512 * gdb.python/py-xmethods.exp: Add tests.
15514 2015-05-08 Yao Qi <yao.qi@linaro.org>
15517 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
15518 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
15519 function set_coredump_filter, and remove remote_exec call.
15520 Remove argument ipid. Callers update.
15521 (top level): Don't get inferior's PID.
15523 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
15525 * gdb.base/watch_thread_num.exp: Skip test on targets without
15526 access watchpoints.
15528 2015-05-06 Pedro Alves <palves@redhat.com>
15531 * gdb.server/non-existing-program.exp: New file.
15533 2015-05-05 Joel Brobecker <brobecker@adacore.com>
15535 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
15537 2015-05-05 Joel Brobecker <brobecker@adacore.com>
15539 * gdb.ada/out_of_line_in_inlined: New testcase.
15541 2015-05-05 Joel Brobecker <brobecker@adacore.com>
15543 * gdb.ada/var_rec_arr: New testcase.
15545 2015-04-30 Yao Qi <yao.qi@linaro.org>
15547 * gdb.base/break-idempotent.exp: If
15548 skip_hw_watchpoint_multi_tests returns true, skip the tests
15549 on "rwatch" and "awatch".
15551 2015-04-30 Yao Qi <yao.qi@linaro.org>
15553 * gdb.base/relativedebug.exp: Invoke gdb command
15554 "info sharedlibrary", and if libc.so doesn't have debug info,
15557 2015-04-29 Doug Evans <dje@google.com>
15559 * gdb.python/py-xmethods.exp: Add ptype tests.
15560 * gdb.python/py-xmethods.py (E_method_char_worker): Add
15561 get_result_type method.
15563 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
15565 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
15566 the target does not support hardware watchpoints.
15568 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
15570 * gdb.base/break-always.exp: Abort testing if writing to memory
15573 2015-04-28 Doug Evans <dje@google.com>
15575 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
15576 * gdb.python/py-pp-registration.exp: ... here. New file.
15577 * gdb.python/py-pp-registration.c: New file.
15578 * gdb.python/py-pp-registration.py: New file.
15580 2015-04-28 Doug Evans <dje@google.com>
15582 * gdb.python/py-bad-printers.c: New file.
15583 * gdb.python/py-bad-printers.py: New file.
15584 * gdb.python/py-bad-printers.exp: New file.
15586 2015-04-28 Sasha Smundak <asmundak@google.com>
15588 * gdb.python/py-type.exp: New test.
15590 2015-04-28 Andy Wingo <wingo@igalia.com>
15592 * gdb.python/py-parameter.exp:
15593 * gdb.guile/scm-parameter.exp: Escape the path that we are
15594 matching against, as it might contain characters that are special
15595 to regular expressions.
15597 2015-04-27 Joel Brobecker <brobecker@adacore.com>
15599 * gdb.ada/rec_comp: New testcase.
15601 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
15603 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
15606 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
15608 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
15609 new tests for verilog output.
15611 2015-04-24 Yao Qi <yao.qi@linaro.org>
15613 * boards/remote-gdbserver-on-localhost.exp: New file.
15615 2015-04-23 Pedro Alves <palves@redhat.com>
15617 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
15618 $inferior_spawn_id instead of $inferior_spawn_id directly. On
15619 "end of file", remove $inferior_spawn_id from the indirect list.
15621 2015-04-23 Pedro Alves <palves@redhat.com>
15623 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
15625 2015-04-23 Pedro Alves <palves@redhat.com>
15627 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
15628 on $any_spawn_id instead of only on $gdb_spawn_id.
15630 2015-04-21 Pierre Muller <muller@sourceware.org>
15633 * lib/pascal.exp (gpc_compile): Add new option "class".
15634 (fpc_compile): Likewise.
15635 * gdb.pascal/case-insensitive-symbols.pas: New file.
15636 * gdb.pascal/case-insensitive-symbols.exp: New file.
15638 2015-04-20 Gary Benson <gbenson@redhat.com>
15640 * gdb.base/attach.exp: Fix three extended remote failures.
15642 2015-04-17 Gary Benson <gbenson@redhat.com>
15644 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
15645 the main executable over the remote protocol.
15647 2015-04-16 Pedro Alves <palves@redhat.com>
15649 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
15650 a new gdbserver if gdbserver_reconnect_p is set.
15652 2015-04-16 Pedro Alves <palves@redhat.com>
15654 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
15655 is set, don't exit gdbserver.
15657 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
15659 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
15660 appropriate .insn, such that an older assembler can be used.
15661 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
15662 the z/Architecture instruction set on 31-bit targets as well.
15664 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
15666 * gdb.go/handcall.exp: Remove all logic related to the first
15667 breakpoint and rely on go_runto_main instead.
15668 * gdb.go/strings.exp: Likewise.
15669 * gdb.go/unsafe.exp: Likewise.
15670 * gdb.go/hello.exp: Likewise. Also rename the remaining
15671 breakpoint marker to "breakpoint 1".
15672 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
15673 * gdb.go/strings.go: Likewise.
15674 * gdb.go/unsafe.go: Likewise.
15675 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
15676 "set breakpoint 2 here" and rename the remaining breakpoint marker
15679 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
15681 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
15682 if itertools.imap is not present.
15683 * gdb.python/py-objfile.exp: Add parentheses.
15684 * gdb.python/py-type.exp: Same.
15685 * gdb.python/py-unwind-maint.py: Same.
15687 2015-04-15 Yao Qi <yao.qi@linaro.org>
15689 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
15690 of ":$ptr_size" and set its form explicitly.
15692 2015-04-15 Pedro Alves <palves@redhat.com>
15693 Yao Qi <yao.qi@linaro.org>
15695 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
15696 timeout by factor of 4.
15697 (test_regular_watch): Likewise.
15698 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
15699 * gdb.reverse/sigall-reverse.exp: Likewise.
15700 * gdb.reverse/until-precsave.exp: Likewise.
15701 * lib/gdb.exp (with_timeout_factor): New proc.
15702 (gdb_expect): Move some code to ...
15703 (get_largest_timeout): ... here. New procedure.
15705 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
15707 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
15709 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
15711 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
15712 to write to the .text section.
15714 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
15716 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
15717 Handle the case of targets that do not provide PID information.
15719 2015-04-13 Yao Qi <yao.qi@linaro.org>
15721 * lib/gdbserver-support.exp (gdb_exit): Catch exception
15722 and use expect instead of gdb_expect.
15724 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
15726 * gdb.base/coredump-filter.exp: Rename variable "addr" to
15727 "coredump_var_addr" to avoid naming conflict with other testcases.
15729 2015-04-10 Pedro Alves <palves@redhat.com>
15731 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
15732 gdb_test_sequence and gdb_assert.
15734 2015-04-10 Pedro Alves <palves@redhat.com>
15736 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
15737 test messages that don't include the breakpoint address.
15739 2015-04-10 Yao Qi <yao.qi@linaro.org>
15741 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
15742 false for some offset and width combinations which aren't
15743 supported by linux kernel.
15745 2015-04-10 Pedro Alves <palves@redhat.com>
15747 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
15748 procedure, factored out from ...
15749 (top level): ... here. Add "set displaced-stepping" testing axis.
15750 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
15751 parameter "displaced". Use it.
15752 (top level): Use foreach and add "set displaced-stepping" testing
15755 2015-04-10 Pedro Alves <palves@redhat.com>
15757 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
15759 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
15760 both the address of the instruction that triggers the watchpoint
15761 and the address of the instruction immediately after, and use
15762 those addresses for the test. Fix comment.
15764 2015-04-10 Pedro Alves <palves@redhat.com>
15766 * gdb.base/sigstep.exp (breakpoint_to_handler)
15767 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
15768 Test "backtrace" in handler.
15769 (breakpoint_over_handler): New parameter 'displaced'. Use it.
15770 (top level): Add new "displaced" test axis to
15771 breakpoint_to_handler, breakpoint_to_handler_entry and
15772 breakpoint_over_handler.
15774 2015-04-10 Pedro Alves <palves@redhat.com>
15777 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
15779 2015-04-10 Yao Qi <yao.qi@linaro.org>
15781 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
15782 (test_add_rn_pc): New function.
15783 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
15784 (top level): Invoke test_add_rn_pc.
15786 2015-04-10 Pedro Alves <palves@redhat.com>
15789 * gdb.base/step-over-no-symbols.exp: New file.
15791 2015-04-09 Andy Wingo <wingo@igalia.com>
15793 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
15794 after the Python tests.
15796 2015-04-08 Keith Seitz <keiths@redhat.com>
15799 * gdb.python/py-completion.exp: New tests for completion.
15800 * gdb.python/py-completion.py (CompleteLimit1): New class.
15801 (CompleteLimit2): Likewise.
15802 (CompleteLimit3): Likewise.
15803 (CompleteLimit4): Likewise.
15804 (CompleteLimit5): Likewise.
15805 (CompleteLimit6): Likewise.
15806 (CompleteLimit7): Likewise.
15808 2015-04-08 Pedro Alves <palves@redhat.com>
15812 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
15814 (main): Install it as SIGUSR1 handler.
15815 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
15816 parameter. Always use "setup" as prefix. Toggle "set
15817 displaced-stepping" off/on depending on global. Don't switch to
15819 (top level): Add displaced stepping "off/on" test axis. Update
15820 "setup" calls. Wrap each subtest with with_test_prefix. Test
15821 continuing with a queued signal in each thread.
15823 2015-04-08 Pedro Alves <palves@redhat.com>
15825 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
15826 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
15827 gdb_breakpoint instead of gdb_test that doesn't expect anything.
15828 Return early if running to main fails.
15829 * gdb.trace/while-stepping.exp: Likewise.
15831 2015-04-07 Pedro Alves <palves@redhat.com>
15833 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
15834 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
15835 interact with inferior program.
15837 2015-04-07 Pedro Alves <palves@redhat.com>
15839 * lib/gdb.exp (inferior_spawn_id): New global.
15840 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
15841 spawn id after processing the user code.
15842 (default_gdb_start): Set inferior_spawn_id.
15843 (send_inferior): New procedure.
15844 * lib/gdbserver-support.exp (gdbserver_start): Set
15846 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
15848 2015-04-07 Pedro Alves <palves@redhat.com>
15850 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
15851 * lib/gdbserver-support.exp (gdbserver_start): Make
15852 $server_spawn_id global.
15853 (gdbserver_start): Don't wait for gdbserver's spawn id with
15855 (close_gdbserver): New procedure.
15856 (gdb_exit): Rename the default version and reimplement.
15858 2015-04-07 Pedro Alves <palves@redhat.com>
15860 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
15861 append the substituted item, not the original item.
15863 2015-04-07 Pedro Alves <palves@redhat.com>
15865 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
15868 2015-04-07 Pedro Alves <palves@redhat.com>
15870 * gdb.base/interrupt.exp: Don't handle the case of the inferior
15871 output appearing once only.
15873 2015-04-07 Pedro Alves <palves@redhat.com>
15875 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
15876 that doesn't expect anything. Return early if running to main
15879 2015-04-07 Yao Qi <yao.qi@linaro.org>
15881 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
15882 (child_function): Call alarm.
15883 (main): Move call to alarm into the loop.
15884 * gdb.threads/non-stop-fair-events.exp: Build program with
15885 -DTIMEOUT=$timeout.
15887 2015-04-06 Doug Evans <xdje42@gmail.com>
15889 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
15890 Fix dest parameter to board_info.
15891 (fpc_compile): Ditto.
15892 (gdb_compile_pascal): Rename dest arg to destfile.
15894 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
15896 * gdb.ada/funcall_ref.exp: New file.
15897 * gdb.ada/funcall_ref/foo.adb: New file.
15899 2015-04-02 Yao Qi <yao.qi@linaro.org>
15901 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
15904 2015-04-02 Gary Benson <gbenson@redhat.com>
15906 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
15908 2015-04-01 Sasha Smundak <asmundak@google.com>
15910 * gdb.python/py-unwind-maint.c: New file.
15911 * gdb.python/py-unwind-maint.exp: New test.
15912 * gdb.python/py-unwind-maint.py: New file.
15913 * gdb.python/py-unwind.c: New file.
15914 * gdb.python/py-unwind.exp: New test.
15915 * gdb.python/py-unwind.py: New test.
15917 2015-04-01 Pedro Alves <palves@redhat.com>
15919 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
15920 to fail instead of non-existent $test.
15922 2015-04-01 Pedro Alves <palves@redhat.com>
15924 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
15925 GDBFLAGS if not empty.
15927 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
15929 * gdb.ada/complete.exp: Remove "multi_line".
15930 * gdb.ada/info_exc.exp: Remove "multi_line".
15931 * gdb.ada/packed_tagged.exp: Remove "multi_line".
15932 * gdb.ada/ptype_field.exp: Remove "multi_line".
15933 * gdb.ada/sym_print_name.exp: Remove "multi_line".
15934 * gdb.ada/tagged.exp: Remove "multi_line".
15935 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
15937 * gdb.btrace/delta.exp: Likewise.
15938 * gdb.btrace/exception.exp: Likewise.
15939 * gdb.btrace/function_call_history.exp: Likewise.
15940 * gdb.btrace/instruction_history.exp: Likewise.
15941 * gdb.btrace/nohist.exp: Likewise.
15942 * gdb.btrace/record_goto.exp: Likewise.
15943 * gdb.btrace/segv.exp: Likewise.
15944 * gdb.btrace/stepi.exp: Likewise.
15945 * gdb.btrace/tailcall.exp: Likewise.
15946 * gdb.btrace/unknown_functions.exp: Likewise.
15947 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
15948 * lib/gdb.exp: Add the "multi_line" helper.
15950 2015-04-01 Pedro Alves <palves@redhat.com>
15952 * gdb.threads/tid-reuse.c: New file.
15953 * gdb.threads/tid-reuse.exp: New file.
15955 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
15958 * gdb.base/coredump-filter.c: New file.
15959 * gdb.base/coredump-filter.exp: Likewise.
15961 2015-03-27 Petr Machata <pmachata@redhat.com>
15963 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
15964 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
15965 (Dwarf::assemble): Initialize them.
15966 (Dwarf::lines): New function.
15968 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
15970 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
15971 SYMBOL_PREFIX for x86_64-*-cygwin.
15973 2015-03-26 Andy Wingo <wingo@igalia.com>
15976 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
15977 const_value but not a location.
15978 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
15979 location defined in non-main CUs are visible.
15981 2015-03-26 Yao Qi <yao.qi@linaro.org>
15984 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
15985 Add a line number entry for the same line.
15986 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
15987 Add a line number entry for the same line.
15989 2015-03-26 Yao Qi <yao.qi@linaro.org>
15991 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
15993 (func): Likewise. Add .Lfunc_1 label.
15994 Use .Lfunc_1 label.
15995 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
15998 Use .Lfunc_1 label.
16000 2015-03-26 Yao Qi <yao.qi@linaro.org>
16002 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
16003 Call gdb_compile instead to compile each .s files without debug
16006 2015-03-26 Yao Qi <yao.qi@linaro.org>
16008 * gdb.base/savedregs.exp (process_saved_regs): Make
16009 "Saved registers:" optional in the pattern.
16011 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
16013 * gdb.btrace/next.exp: Merged into step.exp.
16014 * gdb.btrace/finish.exp: Merged into step.exp.
16015 * gdb.btrace/nexti.exp: Merged into stepi.exp.
16016 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
16017 "record goto" and checking the exact replay position.
16018 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
16019 check for "Recording format" in "info record" output.
16020 * gdb.btrace/record_goto.exp: Choose test file based on target.
16021 * gdb.btrace/x86-record_goto.S: Renamed into ...
16022 * gdb.btrace/x86_64-record_goto.S: ... this.
16023 * gdb.btrace/i686-record_goto.S: New.
16024 * gdb.btrace/x86-tailcall.S: Renamed into ...
16025 * gdb.btrace/x86_64-tailcall.S: ... this.
16026 * gdb.btrace/i686-tailcall.S: New.
16027 * gdb.btrace/x86-tailcall.c: Renamed into ...
16028 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
16029 separate statements. Update test.
16030 * gdb.btrace/delta.exp: Use record_goto.c as test file.
16031 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
16032 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
16033 * gdb.btrace/tailcall.exp: Choose test file based on target.
16034 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
16036 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
16038 * gdb.btrace/exception.exp: Increase BTS buffer size.
16040 2015-03-24 Pedro Alves <palves@redhat.com>
16042 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
16044 2015-03-24 Pedro Alves <palves@redhat.com>
16046 * gdb.threads/schedlock.exp (test_step): No longer expect that
16047 "set scheduler-locking step" with "next" over a function call runs
16050 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16052 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
16054 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16056 PR breakpoints/16466
16057 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
16058 * gdb.mi/mi-pending.c (thread_func): New function.
16059 (int main): Add threading support required.
16060 * gdb.mi/mi-pending.exp: Add tests for this issue.
16061 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
16062 (pendfunc2): Remove stdio dependency.
16063 * gdb.mi/mi-pendshr2.c: New file.
16065 2015-03-23 Keith Seitz <keiths@redhat.com>
16067 * gdb.linespec/keywords.c: New file.
16068 * gdb.linespec/keywords.exp: New file.
16070 2015-03-23 Keith Seitz <keiths@redhat.com>
16073 * gdb.dwarf2/staticvirtual.exp: New test.
16075 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
16077 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
16078 * README: Remove HP-UX and gdb.hp.
16080 * configure: Regenerate.
16081 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
16082 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
16083 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
16084 gdb.hp/gdb.defects/Makefile.
16085 * gdb.hp/Makefile.in: File deleted.
16086 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
16087 * gdb.hp/gdb.aCC/optimize.c: File deleted.
16088 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
16089 * gdb.hp/gdb.aCC/run.c: File deleted.
16090 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
16091 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
16092 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
16093 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
16094 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
16095 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
16096 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
16097 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
16098 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
16099 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
16100 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
16101 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
16102 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
16103 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
16104 * gdb.hp/gdb.base-hp/reg.s: File deleted.
16105 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
16106 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
16107 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
16108 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
16109 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
16110 * gdb.hp/gdb.compat/Makefile.in: File deleted.
16111 * gdb.hp/gdb.compat/average.c: File deleted.
16112 * gdb.hp/gdb.compat/sum.c: File deleted.
16113 * gdb.hp/gdb.compat/xdb.c: File deleted.
16114 * gdb.hp/gdb.compat/xdb0.c: File deleted.
16115 * gdb.hp/gdb.compat/xdb0.h: File deleted.
16116 * gdb.hp/gdb.compat/xdb1.c: File deleted.
16117 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
16118 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
16119 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
16120 * gdb.hp/gdb.defects/Makefile.in: File deleted.
16121 * gdb.hp/gdb.defects/bs14602.c: File deleted.
16122 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
16123 * gdb.hp/gdb.defects/solib-d.c: File deleted.
16124 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
16125 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
16126 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
16127 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
16128 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
16129 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
16130 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
16131 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
16132 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
16133 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
16134 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
16135 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
16136 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
16137 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
16138 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
16139 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
16140 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
16141 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
16142 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
16143 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
16144 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
16145 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
16146 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
16147 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
16148 * gdb.hp/tools/odump: File deleted.
16150 2015-03-19 Pedro Alves <palves@redhat.com>
16152 * gdb.threads/continue-pending-status.exp (saw_thread_2)
16153 (saw_thread_3): New globals.
16154 (top level): Increment them when an event for the corresponding
16156 (no thread starvation): New test.
16158 2015-03-19 Pedro Alves <palves@redhat.com>
16160 * gdb.threads/continue-pending-status.c: New file.
16161 * gdb.threads/continue-pending-status.exp: New file.
16163 2015-03-18 Pedro Alves <palves@redhat.com>
16165 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
16166 Use gdb_is_target_remote instead of is_remote. Use
16167 gdb_test_multiple instead of gdb_expect. Exit early if
16168 gdb_test_multiple hits its internal matches. Tighten stepi tests
16169 expected output. Fail on exit with any signal, instead of just
16172 2015-03-18 Yao Qi <yao.qi@linaro.org>
16175 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
16177 * gdb.base/catch-syscall.exp: Don't skip it on
16178 aarch64*-*-linux* target. Remove elements in all_syscalls.
16179 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
16181 (setup_all_syscalls): New proc.
16183 2015-03-16 Yao Qi <yao.qi@linaro.org>
16185 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
16186 (top level): Skip tests if valid_addr_p returns false for
16189 2015-03-11 Andy Wingo <wingo@igalia.com>
16191 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
16193 2015-03-11 Yao Qi <yao.qi@linaro.org>
16195 * gdb.base/catch-syscall.exp: Fix typo in comments.
16197 2015-03-11 Yao Qi <yao.qi@linaro.org>
16199 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
16201 2015-03-09 Pedro Alves <palves@redhat.com>
16203 * dg-extract-results.py: Delete.
16205 2015-03-09 Pedro Alves <palves@redhat.com>
16207 Merge dg-extract-results.sh from GCC upstream (r218843).
16209 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
16210 * dg-extract-results.sh: Use --text with grep to avoid issues with
16211 binary files. Fall back to cat -v, if that doesn't work.
16213 2015-03-05 Pedro Alves <palves@redhat.com>
16215 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
16217 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
16219 * lib/mi-support.exp (mi_expect_interrupt): Accept
16220 alternative event for when in all-stop mode.
16222 2015-03-04 Pedro Alves <palves@redhat.com>
16224 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
16226 2015-03-04 Mark Kettenis <kettenis@gnu.org>
16228 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
16230 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
16232 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
16233 regexps for GDB's current line display, accept a hex address
16234 preceding the line number.
16236 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
16238 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
16239 the 'arch1' variable for "s390*-linux*" targets.
16241 2015-03-04 Pedro Alves <palves@redhat.com>
16243 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
16244 (main): Pass missing retval argument to pthread_join call.
16246 2015-03-02 Pedro Alves <palves@redhat.com>
16248 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
16249 (top level): Call do_test with non-stop as well.
16251 2015-03-02 Pedro Alves <palves@redhat.com>
16253 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
16256 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
16258 * gdb.arch/s390-vregs.exp: New test.
16259 * gdb.arch/s390-vregs.S: New file.
16261 2015-02-27 Pedro Alves <palves@redhat.com>
16263 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
16264 call to catch_command_errors.
16265 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
16266 catch_command_errors.
16268 2015-02-27 Pedro Alves <palves@redhat.com>
16270 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
16271 "true" for boolean result.
16272 * gdb.gdb/selftest.exp (test_with_self): Also accept full
16275 2015-02-27 Pedro Alves <palves@redhat.com>
16277 * lib/unbuffer_output.c: New file.
16278 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
16279 (main): Call gdb_unbuffer_output.
16281 2015-02-27 Yao Qi <yao.qi@linaro.org>
16283 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
16286 2015-02-26 Doug Evans <dje@google.com>
16288 * gdb.cp/class2.cc (Dbase, D): New classes.
16289 (main): New local delta.
16290 * gdb.cp/class2.exp: Test printing delta.
16291 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
16292 (dynbar): New global.
16293 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
16295 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
16297 * gdb.compile/compile-ifunc.c: New file.
16298 * gdb.compile/compile-ifunc.exp: New file.
16300 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
16302 * gdb.base/structs.exp: Check for correct struct on finish.
16304 2015-02-26 Yao Qi <yao.qi@linaro.org>
16306 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
16309 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
16311 * gdb.arch/cordic.ko.bz2: New file.
16312 * gdb.arch/cordic.ko.debug.bz2: New file.
16313 * gdb.arch/ppc64-symtab-cordic.exp: New file.
16315 2015-02-25 Yao Qi <yao.qi@linaro.org>
16317 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
16318 aarch64*-*-* target.
16320 2015-02-23 Pedro Alves <palves@redhat.com>
16322 * lib/gdb.exp (delete_breakpoints): Rewrite using
16325 2015-02-23 Pedro Alves <palves@redhat.com>
16327 * gdb.base/info-os.c: Include stdlib.h.
16329 2015-02-22 Doug Evans <xdje42@gmail.com>
16332 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
16333 is read after symbols have been re-read.
16334 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
16335 * gdb.ada/exec_changed/second.adb (Second): Ditto.
16337 2015-02-21 Doug Evans <dje@google.com>
16339 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
16341 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16344 * gdb.arch/i386-biarch-core.core.bz2: New file.
16345 * gdb.arch/i386-biarch-core.exp: New file.
16347 2015-02-21 Pedro Alves <palves@redhat.com>
16349 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
16352 2015-02-20 Pedro Alves <palves@redhat.com>
16354 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
16357 2015-02-20 Pedro Alves <palves@redhat.com>
16359 * gdb.threads/multi-create-ns-info-thr.exp: New file.
16361 2015-02-20 Pedro Alves <palves@redhat.com>
16363 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
16364 clean_restart before gdb_target_supports_trace.
16366 2015-02-20 Pedro Alves <palves@redhat.com>
16369 * gdb.threads/clone-thread_db.c: New file.
16370 * gdb.threads/clone-thread_db.exp: New file.
16372 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
16374 PR breakpoints/16812
16375 * gdb.base/catch-gdb-caused-signals.c: New file.
16376 * gdb.base/catch-gdb-caused-signals.exp: New file.
16378 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
16380 * configure: Regenerated.
16381 * configure.ac: Use GDB_AC_TRANSFORM.
16382 * aclocal.m4: sinclude ../transform.m4.
16384 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
16386 * lib/dtrace.exp: New file.
16387 * gdb.base/dtrace-probe.exp: Likewise.
16388 * gdb.base/dtrace-probe.d: Likewise.
16389 * gdb.base/dtrace-probe.c: Likewise.
16390 * lib/pdtrace.in: Likewise.
16391 * configure.ac: Output variables with the transformed names of
16392 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
16393 * configure: Regenerated.
16395 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
16397 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
16398 expected message when trying to access $_probe_* convenience
16399 variables while not on a probe.
16401 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16403 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
16405 2015-02-11 Pedro Alves <pedro@codesourcery.com>
16407 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
16408 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
16410 2015-02-10 Doug Evans <xdje42@gmail.com>
16412 * lib/gdb.exp (gdb_load): Always return a result.
16414 2015-02-10 Pedro Alves <palves@redhat.com>
16416 * gdb.threads/signal-sigtrap.c: New file.
16417 * gdb.threads/signal-sigtrap.exp: New file.
16419 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
16421 * gdb.trace/no-attach-trace.c: New file.
16422 * gdb.trace/no-attach-trace.exp: New file.
16424 2015-02-09 Mark Wielaard <mjw@redhat.com>
16426 * gdb.dwarf2/atomic.c: New file.
16427 * gdb.dwarf2/atomic-type.exp: Likewise.
16429 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
16431 * gdb.btrace/buffer-size.exp: Update "info record" output.
16432 * gdb.btrace/delta.exp: Update "info record" output.
16433 * gdb.btrace/enable.exp: Update "info record" output.
16434 * gdb.btrace/finish.exp: Update "info record" output.
16435 * gdb.btrace/instruction_history.exp: Update "info record" output.
16436 * gdb.btrace/next.exp: Update "info record" output.
16437 * gdb.btrace/nexti.exp: Update "info record" output.
16438 * gdb.btrace/step.exp: Update "info record" output.
16439 * gdb.btrace/stepi.exp: Update "info record" output.
16440 * gdb.btrace/nohist.exp: Update "info record" output.
16442 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
16444 * gdb.btrace/buffer-size: New.
16446 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
16448 * gdb.btrace/delta.exp: Update "info record" output.
16449 * gdb.btrace/enable.exp: Update "info record" output.
16450 * gdb.btrace/finish.exp: Update "info record" output.
16451 * gdb.btrace/instruction_history.exp: Update "info record" output.
16452 * gdb.btrace/next.exp: Update "info record" output.
16453 * gdb.btrace/nexti.exp: Update "info record" output.
16454 * gdb.btrace/step.exp: Update "info record" output.
16455 * gdb.btrace/stepi.exp: Update "info record" output.
16456 * gdb.btrace/nohist.exp: Update "info record" output.
16458 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
16461 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
16463 2015-02-06 Pedro Alves <palves@redhat.com>
16465 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
16467 (seconds_left, again): New globals.
16468 (main): Wait seconds_left in a 1-second sleep loop instead of
16469 sleeping 180 seconds. If 'again' is set, reset the seconds
16471 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
16472 'again' in the inferior before detaching. Print the seconds left.
16473 (options): New global.
16474 (top level): Build program with -DTIMEOUT=$timeout.
16476 2015-02-06 Pedro Alves <palves@redhat.com>
16478 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
16479 determine how many seconds to pass to 'alarm'.
16480 * gdb.base/gdb-sigterm.exp (top level): Build program with
16481 -DTIMEOUT=$timeout.
16482 (do_test): Return success/failure indication. Add more verbose
16483 logging. Don't fail if 200 single steps are seen. Instead, fail
16484 when the test times out.
16485 (passes): New global.
16486 (top level): Break the testing loop if testing fails on any
16487 iteration. Use gdb_assert.
16489 2015-02-04 Don Breazeal <donb@codesourcery.com>
16491 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
16492 and initialize them.
16493 (ipc_cleanup): New function.
16494 (main): Don't declare shmid, semid, and msqid. Add a call to
16495 atexit so that we call ipc_cleanup on exit.
16497 2015-02-04 Pedro Alves <palves@redhat.com>
16499 * boards/native-extended-gdbserver.exp: Remove any target variant
16500 specifications from the board name before clearing the isremote
16501 flag from board_info.
16503 2015-01-31 Doug Evans <xdje42@gmail.com>
16505 * gdb.base/maint.exp <maint print type argc>: Update expected output.
16507 2015-01-31 Gary Benson <gbenson@redhat.com>
16509 * gdb.base/completion.exp: Disable completion limiting for
16510 existing tests. Add new tests to check completion limiting.
16511 * gdb.linespec/ls-errs.exp: Disable completion limiting.
16513 2015-01-31 Doug Evans <xdje42@gmail.com>
16515 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
16517 2015-01-31 Doug Evans <xdje42@gmail.com>
16519 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
16520 entries. Duplicate file section script entries.
16521 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
16522 inlined entries. Add test for safe-path rejection.
16523 * gdb.python/py-section-script.c: Add duplicate inlined section script
16524 entries. Duplicate file section script entries.
16525 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
16526 inlined entries. Add test for safe-path rejection.
16528 2015-01-29 Joel Brobecker <brobecker@adacore.com>
16530 * gdb.ada/disc_arr_bound: New testcase.
16532 2015-01-29 Joel Brobecker <brobecker@adacore.com>
16534 * gdb.ada/mi_var_array: New testcase.
16536 2015-01-27 Doug Evans <dje@google.com>
16538 * gdb.python/py-objfile.exp: Add tests for objfile.username.
16539 Add test for objfile.filename, objfile.username after objfile
16542 2015-01-26 Joel Brobecker <brobecker@adacore.com>
16544 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
16545 the second test to print the name attribute of value
16546 returned by the call to gdb.lookup_type, and adjust
16547 the expected output accordingly.
16549 2015-01-25 Mark Wielaard <mjw@redhat.com>
16551 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
16552 * gdb.base/disp-step-fork.c: Include unistd.h.
16553 * gdb.base/siginfo-obj.c: Include stdio.h.
16554 * gdb.base/siginfo-thread.c: Likewise.
16555 * gdb.mi/non-stop.c: Include unistd.h.
16556 * gdb.mi/nsthrexec.c: Include stdio.h.
16557 * gdb.mi/pthreads.c: Include unistd.h.
16558 * gdb.modula2/unbounded1.c (main): Declare returns int.
16559 * gdb.reverse/consecutive-reverse.c: Likewise.
16560 * gdb.threads/create-fail.c: Include unistd.h.
16561 * gdb.threads/killed.c: Likewise.
16562 * gdb.threads/linux-dp.c: Likewise.
16563 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
16564 * gdb.threads/non-ldr-exc-2.c: Likewise.
16565 * gdb.threads/non-ldr-exc-3.c: Likewise.
16566 * gdb.threads/non-ldr-exc-4.c: Likewise.
16567 * gdb.threads/pthreads.c: Include unistd.h.
16568 (main): Declare returns int.
16569 * gdb.threads/tls-main.c (foo): New declaration.
16570 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
16572 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
16574 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
16575 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
16577 2015-01-15 Mark Wielaard <mjw@redhat.com>
16579 * gdb.base/noreturn-return.c: New file.
16580 * gdb.base/noreturn-return.exp: New file.
16581 * gdb.base/noreturn-finish.c: New file.
16582 * gdb.base/noreturn-finish.exp: New file.
16584 2015-01-23 Pedro Alves <palves@redhat.com>
16586 * gdb.threads/continue-pending-after-query.c: New file.
16587 * gdb.threads/continue-pending-after-query.exp: New file.
16589 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
16590 Simon Marchi <simon.marchi@ericsson.com>
16592 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
16593 * gdb.base/valgrind-db-attach.exp: Same.
16594 * gdb.base/valgrind-infcall.exp: Same.
16595 * lib/mi-support.exp (default_mi_gdb_start): Same.
16596 * lib/prompt.exp (default_prompt_gdb_start): Same.
16597 * lib/gdb.exp (default_gdb_spawn): Same.
16598 (gdb_interact): New.
16601 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16603 * gdb.compile/compile.exp (pointer to jit function): New test.
16605 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
16607 * lib/gdb.exp (supports_process_record): Return true for
16609 (supports_reverse): Likewise.
16611 2015-01-15 Don Breazeal <donb@codesourcery.com>
16613 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
16614 instead of checking whether the target board is remote and
16615 use spawn_wait_for_attach instead of exec/sleep.
16616 * gdb.base/attach-twice.exp: Likewise.
16618 2015-01-15 Joel Brobecker <brobecker@adacore.com>
16620 * gdb.ada/var_arr_attrs: New testcase.
16622 2015-01-14 Pedro Alves <palves@redhat.com>
16623 Joel Brobecker <brobecker@adacore.com>
16626 * gdb.base/bp-cmds-execution-x-script.c: New file.
16627 * gdb.base/bp-cmds-execution-x-script.exp: New file.
16628 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
16630 2015-01-14 Pedro Alves <palves@redhat.com>
16633 * gdb.base/batch-preserve-term-settings.c: New file.
16634 * gdb.base/batch-preserve-term-settings.exp: New file.
16636 2015-01-13 Doug Evans <dje@google.com>
16638 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
16641 2015-01-13 Joel Brobecker <brobecker@adacore.com>
16643 * Makefile.in (clean mostlyclean): Do not delete *.py.
16645 2015-01-13 Joel Brobecker <brobecker@adacore.com>
16647 * gdb.python/py-lookup-type.exp: New file.
16649 2015-01-12 Pedro Alves <palves@redhat.com>
16651 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
16652 restore GDBFLAGS before returning.
16654 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16656 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
16657 is_amd64_regs_target and is_x86_like_target.
16659 2015-01-11 Doug Evans <xdje42@gmail.com>
16661 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
16662 is given without an explicit form.
16663 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
16665 * gdb.dwarf/corrupt.exp: Ditto.
16666 * gdb.dwarf2/enum-type.exp: Ditto.
16667 * gdb.trace/entry-values.exp: Ditto.
16668 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
16670 2015-01-11 Doug Evans <xdje42@gmail.com>
16673 * gdb.base/maint.exp: Remove references to "maint demangle".
16674 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
16675 Add tests for explicitly specifying language to demangle.
16676 * gdb.dlang/demangle.exp: Ditto.
16678 2015-01-09 Pedro Alves <palves@redhat.com>
16680 * gdb.threads/non-stop-fair-events.c: New file.
16681 * gdb.threads/non-stop-fair-events.exp: New file.
16683 2015-01-09 Pedro Alves <palves@redhat.com>
16685 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
16686 the global scope. Set a breakpoint after all threads are started
16687 rather than stepping over two source lines. Expect the prompt.
16688 * gdb.base/watch_thread_num.c (threads_started_barrier): New
16691 (main): Use threads_started_barrier to wait for all threads to
16692 start. Main thread no longer calls thread_function. Exit after
16694 (loop): New function.
16695 (thread_function): Wait on threads_started_barrier barrier. Call
16696 'loop' at each iteration.
16697 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
16698 threads have started, instead of hardcoding number of "next"
16699 steps. Use an access watchpoint instead of a write watchpoint.
16701 2015-01-09 Pedro Alves <palves@redhat.com>
16703 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
16704 (thread_func): Wait on barrier.
16705 (main): Wait for all threads to start before stopping GDB.
16706 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
16708 (thread1_func, thread2_func): Wait on barrier.
16709 (main): Wait for all threads to start before stopping GDB.
16710 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
16712 (thread1_func, thread2_func): Wait on barrier.
16713 (main): Wait for all threads to start before stopping GDB.
16715 2015-01-09 Pedro Alves <palves@redhat.com>
16717 * gdb.threads/attach-many-short-lived-threads.c: New file.
16718 * gdb.threads/attach-many-short-lived-threads.exp: New file.
16720 2014-01-09 Pedro Alves <palves@redhat.com>
16722 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
16723 instead of to thread 2.
16724 * gdb.threads/signal-command-multiple-signals-pending.c (main):
16725 Add barrier around each pthread_create call instead of around all
16727 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
16728 Set a break on thread_function and have the child threads hit it
16731 2015-01-09 Pedro Alves <palves@redhat.com>
16733 * lib/gdb.exp (can_spawn_for_attach): New procedure.
16734 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
16736 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
16737 checking whether the target board is remote.
16738 * gdb.multi/multi-attach.exp: Likewise.
16739 * gdb.python/py-sync-interp.exp: Likewise.
16740 * gdb.server/ext-attach.exp: Likewise.
16741 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
16742 tests that need to attach, instead of checking whether the target
16743 board is remote at the top of the file.
16745 2015-01-08 Yao Qi <yao@codesourcery.com>
16747 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
16749 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16751 Fix testcase compilation.
16752 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
16754 2015-01-06 Joel Brobecker <brobecker@adacore.com>
16756 * gdb.python/py-type.exp: Add a couple test about empty
16757 array creation, and negative-length array creation.
16759 2015-01-02 Doug Evans <xdje42@gmail.com>
16761 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
16763 2015-01-02 Doug Evans <dje@google.com>
16765 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
16767 2014-12-29 Yao Qi <yao@codesourcery.com>
16769 * gdb.trace/entry-values.exp: Update comments. Rename variable
16770 bar_call_foo to returned_from_foo.
16772 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
16775 * gdb.linespec/break-asm-file.c: New file.
16776 * gdb.linespec/break-asm-file.exp: New file.
16777 * gdb.linespec/break-asm-file0.s: New file.
16778 * gdb.linespec/break-asm-file1.s: New file.
16780 2014-12-18 Nigel Stephens <nigel@mips.com>
16781 Maciej W. Rozycki <macro@codesourcery.com>
16783 * gdb.base/float.exp: Handle the new output from "info float" on
16786 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
16788 Fix MinGW compilation.
16789 * gdb.compile/compile-ops.exp: Update untested message if
16790 !skip_compile_feature_tests.
16791 * gdb.compile/compile-setjmp.exp: Likewise.
16792 * gdb.compile/compile-tls.exp: Likewise.
16793 * gdb.compile/compile.exp: Likewise.
16794 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
16795 supported on this host".
16797 2014-12-16 Doug Evans <xdje42@gmail.com>
16799 * boards/stabs.exp: New file.
16801 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
16803 * gdb.base/completion.exp: Adjust to format changes of "maint
16804 print user-registers".
16806 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
16809 * gdb.arch/aarch64-fp.c: New file.
16810 * gdb.arch/aarch64-fp.exp: New file.
16812 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
16814 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
16815 r210637, r210913, r211666, r215400, r215817).
16817 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
16818 * dg-extract-results.py: New file.
16819 * dg-extract-results.sh: Use it if the environment seems
16822 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
16824 * dg-extract-results.py (parse_run): Handle warnings that
16825 are printed before a test harness is run.
16827 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
16829 * dg-extract-results.py (Named): Remove __cmp__ method.
16830 (output_variation): Use a key to sort variation.harnesses.
16832 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
16834 * dg-extract-results.py: For Python 3, force sys.stdout to
16835 handle surrogate escape sequences.
16836 (safe_open): New function.
16837 (output_segment, main): Use it.
16839 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
16841 * dg-extract-results.py (Prog.result_re): Include options
16844 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
16846 * dg-extract-results.py (output_variation): Always sort if
16849 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
16851 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
16852 as long as we get pagination notifications.
16854 2014-12-15 Jason Merrill <jason@redhat.com>
16856 * Makefile.in (check-gdb.%): Restore.
16857 * README: Mention it.
16859 2014-12-13 Joel Brobecker <brobecker@adacore.com>
16861 * gdb.ada/str_uninit: New testcase.
16863 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
16866 * gdb.base/vla-stub-define.c: New file.
16867 * gdb.base/vla-stub.c: New file.
16868 * gdb.base/vla-stub.exp: New file.
16870 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
16871 Jan Kratochvil <jan.kratochvil@redhat.com>
16872 Tom Tromey <tromey@redhat.com>
16874 * configure.ac: Add gdb.compile/.
16875 * configure: Regenerate.
16876 * gdb.compile/Makefile.in: New file.
16877 * gdb.compile/compile-ops.exp: New file.
16878 * gdb.compile/compile-ops.c: New file.
16879 * gdb.compile/compile-tls.c: New file.
16880 * gdb.compile/compile-tls.exp: New file.
16881 * gdb.compile/compile-constvar.S: New file.
16882 * gdb.compile/compile-constvar.c: New file.
16883 * gdb.compile/compile-mod.c: New file.
16884 * gdb.compile/compile-nodebug.c: New file.
16885 * gdb.compile/compile-setjmp-mod.c: New file.
16886 * gdb.compile/compile-setjmp.c: New file.
16887 * gdb.compile/compile-setjmp.exp: New file.
16888 * gdb.compile/compile-shlib.c: New file.
16889 * gdb.compile/compile.c: New file.
16890 * gdb.compile/compile.exp: New file.
16891 * lib/gdb.exp (skip_compile_feature_tests): New proc.
16893 2014-12-12 Tom Tromey <tromey@redhat.com>
16895 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
16896 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
16898 2014-12-12 Doug Evans <dje@google.com>
16900 * lib/gdb-python.exp (get_python_valueof): New function.
16901 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
16903 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16905 * gdb.base/completion.exp: Add test for completion of "info
16908 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
16910 * gdb.base/func-ptrs.c: New file.
16911 * gdb.base/func-ptrs.exp: New file.
16913 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
16915 PR breakpoints/17012
16916 * gdb.base/dprintf-detach.c: New file.
16917 * gdb.base/dprintf-detach.exp: New file.
16919 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
16921 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
16922 * lib/gdb.exp (target_is_gdbserver): New procedure.
16924 2014-12-08 Doug Evans <dje@google.com>
16926 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
16928 2014-12-05 Yao Qi <yao@codesourcery.com>
16930 * gdb.guile/scm-error.exp: Remove the third argument to
16931 gdb_remote_download.
16932 * gdb.guile/scm-frame-args.exp: Likewise.
16933 * gdb.guile/scm-section-script.exp: Likewise.
16935 2014-12-05 Yao Qi <yao@codesourcery.com>
16937 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
16939 2014-12-04 Doug Evans <dje@google.com>
16941 * gdb.python/py-objfile.exp: Add tests for
16942 objfile.add_separate_debug_file.
16944 2014-12-04 Doug Evans <dje@google.com>
16946 * lib/gdb.exp (get_build_id): New function.
16947 (build_id_debug_filename_get): Rewrite to use it.
16948 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
16950 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
16952 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
16953 `method(long)', not just 0x0.
16954 * gdb.cp/nsalias.exp: Align code labels to 4.
16955 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
16956 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
16957 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
16958 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
16959 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
16960 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
16962 2014-12-02 Doug Evans <dje@google.com>
16965 * gdb.cp/anon-ns.cc: Move guts of this file to ...
16966 * gdb.cp/anon-ns2.cc: ... here. New file.
16967 * gdb.cp/anon-ns.exp: Update.
16969 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
16971 * gdb.python/py-events.py (inferior_call_handler): New.
16972 (register_changed_handler, memory_changed_handler): New.
16973 (test_events.invoke): Register new handlers.
16974 * gdb.python/py-events.exp: Add tests for inferior call,
16975 memory_changed and register_changed events.
16977 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
16979 * gdb.base/execl-update-breakpoints.exp: Specify the link address
16980 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
16981 if the linker doesn't understand this.
16983 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
16985 * gdb.python/python.exp: Change expected reply to help().
16987 2014-12-01 Yao Qi <yao@codesourcery.com>
16989 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
16990 AC_CONFIG_SUBDIRS(gdb.gdbtk).
16991 * configure: Re-generated.
16993 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
16995 * gdb.cp/chained-calls.cc: New file.
16996 * gdb.cp/chained-calls.exp: New file.
16997 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
16999 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
17001 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
17002 * gdb.dwarf2/symtab-producer.exp: Same.
17003 * gdb.gdb/python-interrupts.exp: Same.
17004 * gdb.gdb/python-selftest.exp: Same.
17005 * gdb.python/py-linetable.exp: Same.
17006 * gdb.python/py-type.exp: Same.
17007 * gdb.python/py-value-cc.exp: Same.
17008 * gdb.python/py-value.exp: Same.
17010 2014-11-28 Yao Qi <yao@codesourcery.com>
17012 * gdb.base/break-probes.exp: Match library name prefixed with
17015 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
17017 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
17018 test expected output. Add parentheses for the call to print.
17019 Remove L suffix from integers.
17021 2014-11-26 Doug Evans <dje@google.com>
17023 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
17025 2014-11-22 Yao Qi <yao@codesourcery.com>
17027 * gdb.trace/entry-values.c: Remove asms.
17028 (foo): Add foo_label.
17029 (bar): Add bar_label.
17030 * gdb.trace/entry-values.exp: Remove code computing foo's
17031 length and bar's length.
17032 (Dwarf::assemble): Invoke function_range for bar and use
17033 MACRO_AT_func for foo.
17035 2014-11-22 Yao Qi <yao@codesourcery.com>
17037 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
17038 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
17039 Use .Lgcc43_procstart instead of gcc43.
17041 2014-11-21 Joel Brobecker <brobecker@adacore.com>
17043 * gdb.ada/n_arr_bound: New testcase.
17045 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
17047 PR breakpoints/10737
17048 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
17049 test_catch_syscall_multi_arch.
17050 (test_catch_syscall_multi_arch): New function.
17052 2014-11-20 Doug Evans <xdje42@gmail.com>
17054 * gdb.base/maint.exp: Update expected output.
17056 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
17058 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
17059 4-byte instruction on S390.
17061 2014-11-19 Joel Brobecker <brobecker@adacore.com>
17063 * gdb.ada/arr_arr: New testcase.
17065 2014-11-19 Joel Brobecker <brobecker@adacore.com>
17067 * gdb.ada/pkd_arr_elem: New Testcase.
17069 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
17071 * gdb.reverse/break-precsave: Expect completion message for
17073 * gdb.reverse/consecutive-precsave.exp: Likewise.
17074 * gdb.reverse/finish-precsave.exp: Likewise.
17075 * gdb.reverse/i386-precsave.exp: Likewise.
17076 * gdb.reverse/machinestate-precsave.exp: Likewise.
17077 * gdb.reverse/sigall-precsave.exp: Likewise.
17078 * gdb.reverse/solib-precsave.exp: Likewise.
17079 * gdb.reverse/step-precsave.exp: Likewise.
17080 * gdb.reverse/until-precsave.exp: Likewise.
17081 * gdb.reverse/watch-precsave.exp: Likewise.
17083 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17085 * gdb.base/bp-permanent.c: Include unistd.h.
17086 * gdb.python/py-framefilter-mi.c (main): Add return type.
17087 * gdb.python/py-framefilter.c (main): Likewise.
17088 * gdb.trace/actions-changed.c (main): Likewise.
17090 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17092 * gdb.mi/until.c: Add eye-catchers.
17093 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
17096 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17098 * gdb.base/condbreak.exp: Drop references to removed non-prototype
17099 function header variants in break1.c.
17100 * gdb.base/ena-dis-br.exp: Likewise.
17101 * gdb.base/hbreak2.exp: Likewise.
17102 * gdb.reverse/until-precsave.exp: Drop references to removed
17103 non-prototype function header variants in ur1.c.
17104 * gdb.reverse/until-reverse.exp: Likewise.
17106 2014-11-17 Petr Machata <pmachata@redhat.com>
17108 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
17109 ${_cu_offset_size} bytes abbrev offset.
17111 2014-11-15 Doug Evans <xdje42@gmail.com>
17114 * gdb.base/line-symtabs.exp: New file.
17115 * gdb.base/line-symtabs.c: New file.
17116 * gdb.base/line-symtabs.h: New file.
17118 2014-11-14 Yao Qi <yao@codesourcery.com>
17120 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
17121 (func): Add label func_label.
17122 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
17123 Replace low_pc and high_pc with MACRO_AT_range.
17124 Replace name, low_pc and high_pc with MACRO_AT_func.
17126 2014-11-14 Yao Qi <yao@codesourcery.com>
17128 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
17129 Replace name, low_pc and high_pc with MACRO_AT_func.
17131 2014-11-14 Yao Qi <yao@codesourcery.com>
17133 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
17134 produce debug information.
17135 * gdb.dwarf2/implptr-optimized-out.S: Removed.
17137 2014-11-14 Yao Qi <yao@codesourcery.com>
17139 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
17140 object and get function length.
17141 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
17142 with MACRO_AT_func.
17143 (top-level): Replace gdb_compile and clean_restart with
17144 prepare_for_testing.
17145 * gdb.dwarf2/main.c (main): Add label main_label.
17147 2014-11-14 Yao Qi <yao@codesourcery.com>
17149 * lib/dwarf.exp (function_range): New procedure.
17150 (Dwarf::_handle_macro_at_func): New procedure.
17151 (Dwarf::_handle_macro_at_range): New procedure.
17152 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
17154 2014-11-14 Yao Qi <yao@codesourcery.com>
17156 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
17157 (_handle_attribute): New procedure.
17159 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17161 * gdb.ada/cond_lang/foo.c (callme): Add return type.
17162 * gdb.base/call-sc.c (zed): Likewise.
17163 * gdb.base/checkpoint.c (main): Likewise.
17164 * gdb.base/dump.c (main): Likewise.
17165 * gdb.base/gcore.c (main): Likewise.
17166 * gdb.base/huge.c (main): Likewise.
17167 * gdb.base/multi-forks.c (main): Likewise.
17168 * gdb.base/pr10179-a.c (main): Likewise.
17169 * gdb.base/savedregs.c (main): Likewise.
17170 * gdb.base/sigaltstack.c (main): Likewise.
17171 * gdb.base/siginfo.c (main): Likewise.
17172 * gdb.base/structs.c (zed): Likewise.
17173 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
17174 * gdb.mi/mi-syn-frame.c (main): Likewise.
17175 * gdb.mi/until.c (foo, main): Likewise.
17176 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
17177 * gdb.base/solib-weak.c (foo): Declare.
17178 * gdb.base/attach-twice.c: Include stdio.h.
17179 * gdb.base/weaklib1.c: Likewise.
17180 * gdb.base/weaklib2.c: Likewise.
17181 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
17182 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
17184 * gdb.base/attach-pie-misread.c: Include stdlib.h.
17185 * gdb.mi/mi-exit-code.c: Likewise.
17186 * gdb.base/break-interp-lib.c: Include string.h.
17187 * gdb.base/coremaker.c: Likewise.
17188 * gdb.base/testenv.c: Likewise.
17189 * gdb.python/py-finish-breakpoint.c: Likewise.
17190 * gdb.base/inferior-died.c: Include sys/wait.h.
17191 * gdb.base/fileio.c: Include time.h.
17192 * gdb.base/async-shell.c: Include unistd.h.
17193 * gdb.base/dprintf-non-stop.c: Likewise.
17194 * gdb.base/info-os.c: Likewise.
17195 * gdb.mi/mi-console.c: Likewise.
17196 * gdb.mi/watch-nonstop.c: Likewise.
17197 * gdb.python/py-events.c: Likewise.
17198 * gdb.base/async.c (baz): Move up before its invocation.
17199 * gdb.base/code_elim2.c (my_global_func): Likewise.
17200 * gdb.base/skip-solib-lib.c (multiply): Likewise.
17201 * gdb.base/advance.c (func2): Likewise.
17203 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17205 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
17207 * gdb.base/annota3.c: Likewise.
17208 * gdb.base/async.c: Likewise.
17209 * gdb.base/average.c: Likewise.
17210 * gdb.base/call-ar-st.c: Likewise.
17211 * gdb.base/call-rt-st.c: Likewise.
17212 * gdb.base/call-sc.c: Likewise.
17213 * gdb.base/call-strs.c: Likewise.
17214 * gdb.base/ending-run.c: Likewise.
17215 * gdb.base/execd-prog.c: Likewise.
17216 * gdb.base/exprs.c: Likewise.
17217 * gdb.base/foll-exec.c: Likewise.
17218 * gdb.base/foll-fork.c: Likewise.
17219 * gdb.base/foll-vfork.c: Likewise.
17220 * gdb.base/funcargs.c: Likewise.
17221 * gdb.base/gcore.c: Likewise.
17222 * gdb.base/jump.c: Likewise.
17223 * gdb.base/langs0.c: Likewise.
17224 * gdb.base/langs1.c: Likewise.
17225 * gdb.base/langs2.c: Likewise.
17226 * gdb.base/mips_pro.c: Likewise.
17227 * gdb.base/nodebug.c: Likewise.
17228 * gdb.base/opaque0.c: Likewise.
17229 * gdb.base/opaque1.c: Likewise.
17230 * gdb.base/recurse.c: Likewise.
17231 * gdb.base/run.c: Likewise.
17232 * gdb.base/scope0.c: Likewise.
17233 * gdb.base/scope1.c: Likewise.
17234 * gdb.base/setshow.c: Likewise.
17235 * gdb.base/setvar.c: Likewise.
17236 * gdb.base/shmain.c: Likewise.
17237 * gdb.base/shr1.c: Likewise.
17238 * gdb.base/shr2.c: Likewise.
17239 * gdb.base/sigall.c: Likewise.
17240 * gdb.base/signals.c: Likewise.
17241 * gdb.base/so-indr-cl.c: Likewise.
17242 * gdb.base/solib2.c: Likewise.
17243 * gdb.base/structs.c: Likewise.
17244 * gdb.base/sum.c: Likewise.
17245 * gdb.base/vforked-prog.c: Likewise.
17246 * gdb.base/watchpoint.c: Likewise.
17247 * gdb.reverse/shr2.c: Likewise.
17248 * gdb.reverse/until-reverse.c: Likewise.
17249 * gdb.reverse/ur1.c: Likewise.
17250 * gdb.reverse/watch-reverse.c: Likewise.
17252 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17254 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
17256 * gdb.base/sepdebug.exp: Drop references to removed code.
17258 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17260 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
17261 variant. Preserve original line numbering.
17262 * gdb.base/list1.c: Likewise.
17264 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17266 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
17268 * gdb.base/break1.c: Likewise.
17269 * gdb.base/break.exp: Drop references to removed code.
17271 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17273 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
17276 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17278 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
17280 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17282 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
17283 logic into perform_all_tests() and invoke it with and without
17284 function header prototypes.
17285 (do_function_calls): Remove conditional XFAIL for PR 5318.
17286 (rerun_and_prepare): Remove duplicate code.
17287 (perform_all_tests): New. Main logic moved here.
17289 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17291 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
17292 code guarded by #ifdef NO_PROTOTYPES.
17293 (t_double_many_args): Likewise.
17294 (DEF_FUNC_MANY_ARGS_1): Likewise.
17295 (DEF_FUNC_VALUES_1): Likewise.
17296 (t_structs_ldc): Renamed from t_structs_fc in conditional code
17297 guarded by #ifdef PROTOTYPES.
17299 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17301 * gdb.mi/mi-console.c: Add eye-catcher.
17302 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
17303 instead of literal line number.
17305 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17307 * gdb.base/shr2.c: Add eye-catcher.
17308 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
17311 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17313 * gdb.base/jump.c: Add eye-catchers.
17314 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
17317 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17319 * gdb.base/execd-prog.c: Add eye-catchers.
17320 * gdb.base/foll-exec.c: Likewise.
17321 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
17324 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17326 * gdb.base/ending-run.c: Add eye-catchers.
17327 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
17328 literal line numbers.
17330 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17332 * gdb.base/call-rt-st.c: Add eye-catchers.
17333 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
17334 literal line numbers.
17336 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17338 * gdb.base/call-ar-st.c: Add eye-catchers.
17339 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
17340 literal line numbers.
17342 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17344 * gdb.base/average.c: Add eye-catchers.
17345 * gdb.base/sum.c: Likewise.
17346 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
17347 regexps dynamically.
17349 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17351 * gdb.base/solib1.c: Add eye-catchers.
17352 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
17353 literal line numbers.
17355 2014-11-12 Pedro Alves <palves@redhat.com>
17357 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
17360 2014-11-12 Pedro Alves <palves@redhat.com>
17362 * gdb.arch/i386-bp_permanent.c: New file.
17363 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
17364 (srcfile): Set to i386-bp_permanent.c.
17365 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
17366 that stepi does not execute the 'leave' instruction, instead of
17367 testing it does execute.
17368 * gdb.base/bp-permanent.c: New file.
17369 * gdb.base/bp-permanent.exp: New file.
17371 2014-11-10 Doug Evans <xdje42@gmail.com>
17374 * gdb.base/symtab-search-order.exp: New file.
17375 * gdb.base/symtab-search-order.c: New file.
17376 * gdb.base/symtab-search-order-1.c: New file.
17377 * gdb.base/symtab-search-order-shlib-1.c: New file.
17379 2014-11-07 Pedro Alves <palves@redhat.com>
17382 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
17385 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
17388 * gdb.cp/pr17494.cc: New file.
17389 * gdb.cp/pr17494.exp: New file.
17391 2014-11-02 Yao Qi <yao@codesourcery.com>
17393 * gdb.python/python.exp: Get working directory and match the
17394 output of "set extended-prompt \\w " with it.
17396 2014-10-30 Doug Evans <dje@google.com>
17398 * gdb.python/py-objfile.exp: Add tests for setting random attributes
17400 * gdb.python/py-progspace.exp: Add tests for setting random attributes
17403 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
17405 * gdb.base/fullpath-expand.exp: Skip for a remote host.
17406 * gdb.base/realname-expand.exp: Likewise.
17407 * gdb.linespec/macro-relative.exp: Likewise.
17409 2014-10-29 Pedro Alves <palves@redhat.com>
17412 * gdb.threads/schedlock.c (some_function): New function.
17413 (call_function): New global.
17414 (MAYBE_CALL_SOME_FUNCTION): New macro.
17415 (thread_function): Call it.
17416 * gdb.threads/schedlock.exp (get_args): Add description parameter,
17417 and use it instead of a global counter. Adjust all callers.
17418 (get_current_thread): Use "find current thread" for test message
17419 here rather than having all callers pass down the same string.
17420 (goto_loop): New procedure, factored out from ...
17421 (my_continue): ... this.
17422 (step_ten_loops): Change parameter from test message to command to
17424 (list_count): Delete global.
17425 (check_result): New procedure, factored out from duplicate top
17427 (continue tests): Wrap in with_test_prefix.
17428 (test_step): New procedure, factored out from duplicate top level
17430 (top level): Test "step" in combination with all scheduler-locking
17431 modes. Test "next" in combination with all scheduler-locking
17432 modes, and in combination with stepping over a function call or
17434 * gdb.threads/next-bp-other-thread.c: New file.
17435 * gdb.threads/next-bp-other-thread.exp: New file.
17437 2014-10-29 Pedro Alves <palves@redhat.com>
17440 * gdb.python/python.exp: Test a multi-line command that spawns
17441 interactive Python.
17442 * gdb.base/multi-line-starts-subshell.exp: New file.
17444 2014-10-29 Yao Qi <yao@codesourcery.com>
17446 * gdb.base/fileio.exp: Make directories on host.
17448 2014-10-29 Yao Qi <yao@codesourcery.com>
17450 * gdb.base/fileio.c (test_write): Close the file.
17452 2014-10-28 Pedro Alves <palves@redhat.com>
17455 * gdb.base/sigstep.c (no_handler): New global.
17456 (main): If 'no_handler is true, set the signal handlers to
17458 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
17459 with_sw_watch and no_handler parameters. Handle them.
17460 (top level) <stepping over handler when stopped at a breakpoint
17461 test>: Add a test axis for testing with a software watchpoint, and
17462 another for testing with the signal handler set to SIG_IGN.
17463 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
17464 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
17466 2014-10-28 Pedro Alves <palves@redhat.com>
17469 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
17470 * gdb.base/sigstep.exp (other_handler_location): New global.
17471 (advance): Support stepping into the signal handler, and running
17472 commands while in the handler.
17473 (in_handler_map): New global.
17474 (top level): In the advance test, add combinations for getting
17475 into the handler with stepping commands, and for running commands
17476 in the handler. Add comment descripting the advancei tests.
17478 2014-10-28 Pedro Alves <palves@redhat.com>
17480 * gdb.base/sigstep.exp: Use build_executable instead of
17481 prepare_for_testing.
17482 (top level): Move code that starts GDB, runs to main and creates a
17484 (restart): ... this new procedure.
17485 (top level): Move backtrace from signal handler test to ...
17486 (validate_backtrace): ... this new procedure.
17487 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
17488 with_test_prefix. Always restart GDB.
17489 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
17490 with_test_prefix. Always restart GDB. No need to delete
17491 breakpoints after the test.
17492 (test_skip_handler): Remove prefix parameter.
17493 (skip_over_handler, breakpoint_to_handler)
17494 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
17495 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
17496 restart GDB. No need to delete breakpoints after the test.
17497 (top level): Use foreach to call the test procedures with
17498 different commands.
17500 2014-10-28 Pedro Alves <palves@redhat.com>
17502 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
17503 instead of GNATS numbers.
17504 * gdb.base/sigbpt.exp: Likewise.
17505 * gdb.base/siginfo.exp: Likewise.
17506 * gdb.base/sigstep.exp: Likewise.
17508 2014-10-27 Pedro Alves <palves@redhat.com>
17510 * gdb.base/sigstep.c (dummy): New global.
17511 (main): Issue a couple writes to the new global.
17512 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
17514 (skip_over_handler): Use test_skip_handler.
17515 (top level): Call skip_over_handler for stepi and nexti too.
17516 (breakpoint_over_handler): Use test_skip_handler.
17517 (top level): Call breakpoint_over_handler for stepi and nexti too.
17519 2014-10-27 Yao Qi <yao@codesourcery.com>
17521 * gdb.trace/tfile.c (adjust_function_address)
17522 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
17523 function descriptor.
17525 2014-10-24 Don Breazeal <donb@codesourcery.com>
17527 * gdb.base/foll-fork.exp (test_follow_fork,
17528 catch_fork_child_follow): Check for updated fork messages emitted
17530 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
17531 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
17532 vfork_and_exec_child_follow_through_step): Check for updated vfork
17533 messages emitted from infrun.c.
17535 2014-10-24 Pedro Alves <palves@redhat.com>
17537 * gdb.base/corefile.exp: Remove references to ultrix.
17538 * gdb.base/interrupt.exp: Likewise.
17539 * gdb.base/whatis.exp: Likewise.
17540 * gdb.gdb/selftest.exp: Likewise.
17541 * gdb.threads/manythreads.exp: Likewise.
17542 * gdb.threads/print-threads.exp: Likewise.
17543 * gdb.threads/pthreads.exp:: Likewise.
17544 * gdb.threads/schedlock.exp: Likewise.
17546 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
17548 * gdb.cp/non-trivial-retval.cc: Add a test case.
17549 * gdb.cp/non-trivial-retval.exp: Add a test.
17551 2014-10-20 Yao Qi <yao@codesourcery.com>
17553 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
17554 * gdb.python/py-objfile-script-gdb.py: New file.
17555 * gdb.python/py-objfile-script.exp: Update reference to
17556 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
17557 of remote_download. Remove the dest file.
17559 2014-10-20 Yao Qi <yao@codesourcery.com>
17561 * gdb.base/checkpoint.exp: Don't remove file copied on host.
17562 * gdb.base/step-line.exp: Likewise.
17563 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
17564 * gdb.dwarf2/dw2-basic.exp: Likewise.
17565 * gdb.dwarf2/dw2-compressed.exp: Likewise.
17566 * gdb.dwarf2/dw2-filename.exp: Likewise.
17567 * gdb.dwarf2/dw2-intercu.exp: Likewise.
17568 * gdb.dwarf2/dw2-intermix.exp: Likewise.
17569 * gdb.dwarf2/dw2-producer.exp: Likewise.
17570 * gdb.dwarf2/mac-fileno.exp: Likewise.
17571 * gdb.python/py-frame-args.exp: Likewise.
17572 * gdb.python/py-framefilter.exp: Likewise.
17573 * gdb.python/py-mi.exp: Likewise.
17574 * gdb.python/py-objfile-script.exp: Likewise
17575 * gdb.python/py-pp-integral.exp: Likewise.
17576 * gdb.python/py-pp-re-notag.exp: Likewise.
17577 * gdb.python/py-prettyprint.exp: Likewise.
17578 * gdb.python/py-section-script.exp: Likewise.
17579 * gdb.python/py-typeprint.exp: Likewise.
17580 * gdb.python/py-xmethods.exp: Likewise.
17581 * gdb.stabs/weird.exp: Likewise.
17582 * gdb.xml/tdesc-regs.exp: Likewise.
17584 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
17586 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
17587 (out_cu): Use addr_len for the size of addresses.
17588 (out_line): Likewise. Size DW_LNE_set_address instruction
17589 according to addr_len.
17590 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
17591 (FUNC): Add START_INSNS to definition.
17593 2014-10-18 Yao Qi <yao@codesourcery.com>
17595 * gdb.base/argv0-symlink.exp: Check argv[0] value if
17596 gdb_has_argv0 return true.
17597 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
17598 check [target_info exists noargs], check [gdb_has_argv0]
17600 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
17601 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
17604 2014-10-17 Doug Evans <dje@google.com>
17606 * gdb.python/py-events.exp: Update expected output for clear_objfiles
17608 * gdb.python/py-events.py: Add clear_objfiles event.
17610 2014-10-17 Doug Evans <dje@google.com>
17612 * gdb.python/py-objfile.exp: Test progspace attribute.
17614 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
17616 * gdb.guile/scm-breakpoint.exp: Do not assume any
17617 directory separators when matching source file paths.
17618 * gdb.python/py-breakpoint.exp: Likewise.
17619 * gdb.reverse/break-precsave.exp: Likewise.
17620 * gdb.reverse/break-reverse.exp: Likewise.
17621 * gdb.reverse/consecutive-precsave.exp: Likewise.
17622 * gdb.reverse/finish-precsave.exp: Likewise.
17623 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
17624 * gdb.reverse/finish-reverse.exp: Likewise.
17625 * gdb.reverse/i386-precsave.exp: Likewise.
17626 * gdb.reverse/i387-env-reverse.exp: Likewise.
17627 * gdb.reverse/i387-stack-reverse.exp: Likewise.
17628 * gdb.reverse/machinestate-precsave.exp: Likewise.
17629 * gdb.reverse/machinestate.exp: Likewise.
17630 * gdb.reverse/sigall-precsave.exp: Likewise.
17631 * gdb.reverse/solib-precsave.exp: Likewise.
17632 * gdb.reverse/step-precsave.exp: Likewise.
17633 * gdb.reverse/until-precsave.exp: Likewise.
17634 * gdb.reverse/watch-precsave.exp: Likewise.
17635 * gdb.reverse/watch-reverse.exp: Likewise.
17637 2014-10-17 Yao Qi <yao@codesourcery.com>
17639 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
17640 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
17642 2014-10-17 Pedro Alves <palves@redhat.com>
17645 * gdb.base/bg-execution-repeat.c: New file.
17646 * gdb.base/bg-execution-repeat.exp: New file.
17648 2014-10-17 Pedro Alves <palves@redhat.com>
17651 * gdb.base/continue-all-already-running.c: New file.
17652 * gdb.base/continue-all-already-running.exp: New file.
17654 2014-10-17 Pedro Alves <palves@redhat.com>
17657 * gdb.base/annota-input-while-running.c: New file.
17658 * gdb.base/annota-input-while-running.exp: New file.
17660 2014-10-17 Pedro Alves <palves@redhat.com>
17662 * gdb.base/callfuncs.exp: emove references to osf.
17663 * gdb.base/sigall.exp: Likewise.
17664 * gdb.gdb/selftest.exp: Likewise.
17665 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
17666 * gdb.mi/non-stop.c: Likewise.
17667 * gdb.mi/pthreads.c: Likewise.
17668 * gdb.reverse/sigall-precsave.exp: Likewise.
17669 * gdb.reverse/sigall-reverse.exp: Likewise.
17670 * gdb.threads/pthreads.c: Likewise.
17671 * gdb.threads/pthreads.exp: Likewise.
17673 2014-10-17 Yao Qi <yao@codesourcery.com>
17675 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
17676 check 'target_info exists noargs'.
17677 (test_command_prompt_position): Likewise.
17678 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
17680 (progvar_simple_while_test): Likewise.
17681 (progvar_complex_if_while_test): Likewise.
17682 (if_while_breakpoint_command_test): Likewise.
17683 (infrun_breakpoint_command_test): Likewise.
17684 (breakpoint_command_test): Likewise.
17685 (watchpoint_command_test): Likewise.
17686 (bp_deleted_in_command_test): Likewise.
17687 (temporary_breakpoint_commands): Likewise.
17689 2014-10-16 Yao Qi <yao@codesourcery.com>
17691 * gdb.base/remotetimeout.exp: Remove noargs checking.
17693 2014-10-15 Pedro Alves <palves@redhat.com>
17695 PR breakpoints/9649
17696 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
17697 * gdb.base/breakpoint-in-ro-region.exp
17698 (probe_target_hardware_step): New procedure.
17699 (top level): Probe hardware stepping and hardware breakpoint
17700 support. Test stepping through a read-only region, with both
17701 "breakpoint auto-hw" on and off and both "always-inserted" on and
17704 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
17706 * gdb.dlang/demangle.exp: Update for demangling changes.
17708 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
17710 * gdb.cp/non-trivial-retval.cc: Add new test cases.
17711 * gdb.cp/non-trivial-retval.exp: Add new tests.
17713 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
17717 * gdb.cp/non-trivial-retval.cc: New file.
17718 * gdb.cp/non-trivial-retval.exp: New file.
17720 2014-10-15 Yao Qi <yao@codesourcery.com>
17722 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
17725 2014-10-15 Yao Qi <yao@codesourcery.com>
17727 * gdb.python/py-symbol.exp: Match file base name if host is
17728 remote, otherwise match file name with dir name.
17729 * gdb.python/py-symtab.exp: Likewise.
17730 * gdb.python/python.exp: Likewise.
17732 2014-10-15 Yao Qi <yao@codesourcery.com>
17734 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
17736 * gdb.python/py-symtab.exp: Likewise.
17737 * gdb.python/python.exp: Remove trailing ".*". Fix typo
17740 2014-10-14 Joel Brobecker <brobecker@adacore.com>
17742 * gdb.ada/addr_arith: New testcase.
17744 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
17746 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
17747 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
17748 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
17749 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
17751 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
17753 * gdb.arch/stap-eval-lang-ada.S: Likewise.
17754 * gdb.arch/stap-eval-lang-ada.c: Likewise.
17755 * gdb.arch/stap-eval-lang-ada.exp: New file.
17757 2014-10-14 Yao Qi <yao@codesourcery.com>
17759 * gdb.mi/mi-var-child.c (nothing1): New function.
17760 (nothing2): New function.
17761 (do_children_tests): Set function pointers by nothing1 and
17763 * gdb.mi/mi-var-child.exp: Step over new added statements.
17764 Update test to match the new output.
17765 * gdb.mi/var-cmd.c (nothing1): New function.
17766 (nothing2): New function.
17767 (do_children_tests): Set function pointers by nothing1 and
17769 * gdb.mi/mi-var-display.exp: Update test to match output.
17770 Step to the line specified by $line_dct_nothing.
17771 Increase the number of lines to step.
17773 2014-10-14 Yao Qi <yao@codesourcery.com>
17775 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
17777 * gdb.mi/mi2-var-child.exp: Likewise.
17779 2014-10-13 Doug Evans <dje@google.com>
17781 * gdb.python/py-objfile.exp: Change name of file name test.
17783 2014-10-13 Doug Evans <dje@google.com>
17785 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
17786 from the start of the CU.
17788 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
17789 Yao Qi <yao@codesourcery.com>
17791 Fix "save breakpoints" for "catch" command.
17792 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
17793 Remove -nonewline. Match also the added "main" line.
17795 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
17797 Fix "save breakpoints" for "disable $bpnum" command.
17798 * gdb.base/save-bp.c (main): Add label.
17799 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
17801 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
17803 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
17805 2014-10-11 Yao Qi <yao@codesourcery.com>
17807 * gdb.server/server-kill.exp: Execute command
17808 "set remote trace-status-packet on" before "tstatus".
17810 2014-10-11 Yao Qi <yao@codesourcery.com>
17812 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
17813 (main): Call getppid.
17814 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
17815 and continue to it. Read variable "server_pid".
17817 2014-10-11 Yao Qi <yao@codesourcery.com>
17819 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
17821 2014-10-11 Yao Qi <yao@codesourcery.com>
17823 * gdb.threads/thread-find.exp: Don't execute command
17825 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
17826 * gdb.threads/linux-dp.exp: Don't check the condition
17827 $threads_created equals to zero.
17829 2014-10-10 Pedro Alves <palves@redhat.com>
17831 * gdb.base/bigcore.exp: Remove references to IRIX.
17832 * gdb.base/funcargs.exp: Likewise.
17833 * gdb.base/interrupt.exp: Likewise.
17834 * gdb.base/mips_pro.exp: Likewise.
17835 * gdb.base/nodebug.exp: Likewise.
17836 * gdb.base/setvar.exp: Likewise.
17837 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
17839 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
17840 Pedro Alves <palves@redhat.com>
17843 * gdb.base/vdso-warning.c: New file.
17844 * gdb.base/vdso-warning.exp: New file.
17846 2014-10-02 Doug Evans <dje@google.com>
17848 * gdb.base/structs.c (main): Don't run forever.
17850 2014-10-02 Pedro Alves <palves@redhat.com>
17852 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
17853 (top level) <stop threads 1, stop threads 2>: Use it.
17855 2014-10-02 Pedro Alves <palves@redhat.com>
17857 * gdb.threads/break-while-running.exp (test): Add new
17858 'update_thread_list' argument. Skip "info threads" if false.
17859 (top level): Add new 'update_thread_list' axis.
17861 2014-10-02 Pedro Alves <palves@redhat.com>
17863 PR breakpoints/17431
17864 * gdb.base/execl-update-breakpoints.c: New file.
17865 * gdb.base/execl-update-breakpoints.exp: New file.
17867 2014-10-01 Pedro Alves <palves@redhat.com>
17869 * gdb.base/breakpoint-in-ro-region.c: New file.
17870 * gdb.base/breakpoint-in-ro-region.exp: New file.
17872 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
17874 * gdb.mi/mi-exit-code.exp: New file.
17875 * gdb.mi/mi-exit-code.c: New file.
17877 2014-09-30 Yao Qi <yao@codesourcery.com>
17879 * lib/prelink-support.exp (build_executable_own_libs): Error if
17880 the target isn't native.
17882 2014-09-30 Yao Qi <yao@codesourcery.com>
17884 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
17887 2014-09-22 Pedro Alves <palves@redhat.com>
17889 * gdb.threads/break-while-running.exp: New file.
17890 * gdb.threads/break-while-running.c: New file.
17892 2014-09-19 Yao Qi <yao@codesourcery.com>
17894 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
17895 Invoke test. Restart GDB with --readnow and invoke test again.
17897 2014-09-19 Yao Qi <yao@codesourcery.com>
17899 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
17900 proc set_breakpoint_on_gcd_function. Invoke
17901 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
17902 invoke set_breakpoint_on_gcd_function again.
17904 2014-09-18 Doug Evans <dje@google.com>
17906 * gdb.dwarf2/symtab-producer.exp: New file.
17908 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
17910 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
17911 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
17912 * gdb.base/global-var-nested-by-dso.c: Likewise.
17913 * gdb.base/global-var-nested-by-dso.exp: Likewise.
17915 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
17916 Pedro Alves <palves@redhat.com>
17918 * gdb.base/watch-bitfields.exp: Pass string other than test file
17919 name to prepare_for_testing.
17920 (watch): New procedure.
17921 (expect_watchpoint): Use with_test_prefix.
17922 (top level): Factor out tests to ...
17923 (test_watch_location, test_regular_watch): ... these new
17924 procedures, and use with_test_prefix and gdb_continue_to_end.
17926 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
17928 PR breakpoints/12526
17929 * gdb.base/watch-bitfields.exp: New file.
17930 * gdb.base/watch-bitfields.c: New file.
17932 2014-09-16 Pedro Alves <palves@redhat.com>
17934 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
17935 software and hardware addresses, not software address against
17938 2014-09-16 Pedro Alves <palves@redhat.com>
17940 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
17941 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
17943 2014-09-16 Pedro Alves <palves@redhat.com>
17945 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
17947 * gdb.base/a2-run.exp: Remove all code guarded by istarget
17948 "*-*-vxworks*" throughout.
17949 * gdb.base/break.exp: Likewise.
17950 * gdb.base/default.exp: Likewise.
17951 * gdb.base/scope.exp: Likewise.
17952 * gdb.base/sepdebug.exp: Likewise.
17953 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
17955 * gdb.base/run.c: Likewise.
17956 * gdb.base/sepdebug.c: Likewise.
17957 * gdb.hp/gdb.aCC/run.c: Likewise.
17958 * gdb.reverse/until-reverse.c: Likewise.
17959 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
17961 2014-09-16 Yao Qi <yao@codesourcery.com>
17963 * boards/local-remote-host-native.exp: New file.
17965 2014-09-14 Doug Evans <xdje42@gmail.com>
17967 * gdb.threads/queue-signal.c (thread_count): New variable.
17968 (thread_count_mutex, thread_count_condvar): New variables.
17969 (incr_thread_count, wait_all_threads_running): New functions.
17970 (main): Wait for all threads to be in their thread functions.
17972 2014-09-13 Doug Evans <xdje42@gmail.com>
17974 * gdb.threads/queue-signal.c: New file.
17975 * gdb.threads/queue-signal.exp: New file.
17977 2014-09-13 Doug Evans <xdje42@gmail.com>
17979 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
17980 be consistent with what default_gdb_init uses.
17981 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
17982 the plain text of the prompt. Add some logging printfs.
17983 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
17985 2014-09-12 Pedro Alves <palves@redhat.com>
17987 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
17988 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
17989 * gdb.arch/i386-size-overlap.exp: Likewise.
17990 * gdb.arch/i386-size.exp: Likewise.
17991 * gdb.arch/i386-unwind.exp: Likewise.
17992 * gdb.base/a2-run.exp: Likewise.
17993 * gdb.base/break.exp: Likewise.
17994 * gdb.base/charset.exp: Likewise.
17995 * gdb.base/chng-syms.exp: Likewise.
17996 * gdb.base/commands.exp: Likewise.
17997 * gdb.base/dbx.exp: Likewise.
17998 * gdb.base/find.exp: Likewise.
17999 * gdb.base/funcargs.exp: Likewise.
18000 * gdb.base/jit-simple.exp: Likewise.
18001 * gdb.base/reread.exp: Likewise.
18002 * gdb.base/sepdebug.exp: Likewise.
18003 * gdb.base/step-bt.exp: Likewise.
18004 * gdb.cp/mb-inline.exp: Likewise.
18005 * gdb.cp/mb-templates.exp: Likewise.
18006 * gdb.objc/basicclass.exp: Likewise.
18007 * gdb.threads/killed.exp: Likewise.
18009 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18012 * gdb.arch/powerpc-stackless.S: New file.
18013 * gdb.arch/powerpc-stackless.exp: New file.
18015 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
18017 * gdb.base/attach.c: Include unistd.h.
18018 (main): Call alarm. Add label postloop.
18019 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
18020 gdb_breakpoint, gdb_continue_to_breakpoint.
18021 (test_command_line_attach_run): Kill ${testpid} in one exit path.
18023 2014-09-11 Pedro Alves <palves@redhat.com>
18026 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
18027 * gdb.base/attach.exp (test_command_line_attach_run): New
18029 (top level): Call it.
18031 2014-09-11 Pedro Alves <palves@redhat.com>
18033 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
18034 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
18035 (do_command_attach_tests): Use spawn_wait_for_attach.
18036 * gdb.base/solib-overlap.exp: Likewise.
18037 * gdb.multi/multi-attach.exp: Likewise.
18038 * gdb.python/py-prompt.exp: Likewise.
18039 * gdb.python/py-sync-interp.exp: Likewise.
18040 * gdb.server/ext-attach.exp: Likewise.
18042 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
18044 * gdb.fortran/array-element.exp: Remove unexpected "continue"
18045 command in testcase. Simplify testcase.
18047 2014-09-10 Joel Brobecker <brobecker@adacore.com>
18049 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
18051 2014-09-10 Joel Brobecker <brobecker@adacore.com>
18053 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
18055 2014-09-10 Joel Brobecker <brobecker@adacore.com>
18057 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
18059 2014-09-10 Joel Brobecker <brobecker@adacore.com>
18061 * gdb.dwarf2/dynarr-ptr.c: New file.
18062 * gdb.dwarf2/dynarr-ptr.exp: New file.
18064 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18066 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
18067 of 30 rather than hardcoding 120 for a slow test case. Take the
18068 `gdb,timeout' target setting into account for this calculation.
18069 Don't extend the timeout for the test cases that don't need it.
18071 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18073 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
18074 a factor of 2 for a slow test case. Take the `gdb,timeout'
18075 target setting into account for this calculation.
18076 * gdb.reverse/until-precsave.exp: Increase the timeout by
18077 a factor of 15 and 3 respectively rather than adding 120
18078 for a pair of slow test cases. Take the `gdb,timeout'
18079 target setting into account for this calculation.
18081 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18083 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
18084 timeout, don't pass one down to gdb_expect.
18085 (gdb_expect): Rework timeout selection.
18087 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18089 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
18090 exception on timeout.
18091 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
18092 (gdbserver_start_extended): Catch any `gdbserver_start' error
18094 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
18095 * lib/mi-support.exp (mi_gdb_target_load): Catch any
18096 `gdbserver_gdb_load' error exceptions.
18098 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18100 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
18101 120 on waiting for the TCP socket to open.
18103 2014-09-09 Doug Evans <xdje42@gmail.com>
18105 * gdb.base/default.exp (show_conv_list): Add _caller_is,
18106 _caller_matches, _any_caller_is, _any_caller_matches.
18108 2014-09-09 Doug Evans <xdje42@gmail.com>
18110 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
18112 2014-09-09 Yao Qi <yao@codesourcery.com>
18114 * gdb.mi/mi-var-display.exp: Set print symbol off.
18116 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
18119 * gdb.base/commands.exp: Add tests to verify user-defined
18120 commands with empty bodies.
18121 * gdb.python/py-cmd.exp: Test that we don't show user-defined
18122 python commands in `show user command`.
18123 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
18124 scheme commands in `show user command`.
18126 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18129 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
18130 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
18131 * gdb.python/py-framefilter-invalidarg.exp: New file.
18132 * gdb.python/py-framefilter-invalidarg.py: New file.
18134 2014-09-06 Doug Evans <xdje42@gmail.com>
18137 * gdb.python/py-caller-is.c: New file.
18138 * gdb.python/py-caller-is.exp: New file.
18140 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
18143 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
18144 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
18146 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
18149 * gdb.fortran/print-formatted.exp: New file.
18150 * gdb.fortran/print-formatted.f90: Likewise.
18152 2014-09-03 Sasha Smundak <asmundak@google.com>
18154 * gdb.python/py-frame.exp: Test Frame.read_register.
18156 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
18159 * gdb.python/py-completion.exp: New file.
18160 * gdb.python/py-completion.py: Likewise.
18162 2014-08-28 Doug Evans <dje@google.com>
18164 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
18165 eax,etc. are live with values set by gdb and thus the compiler can't
18167 * gdb.arch/i386-pseudo.c (main): Ditto.
18169 2014-08-27 Doug Evans <dje@google.com>
18171 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
18173 2014-08-25 Doug Evans <dje@google.com>
18175 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
18178 2014-08-25 Doug Evans <dje@google.com>
18180 * gdb.threads/thread-execl.exp: #include <stdio.h>.
18182 2014-08-24 Yao Qi <yao@codesourcery.com>
18184 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
18186 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
18188 2014-08-22 Doug Evans <dje@google.com>
18191 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
18192 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
18193 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
18195 2014-08-22 Yao Qi <yao@codesourcery.com>
18197 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
18198 * gdb.python/py-finish-breakpoint2.exp: Likewise.
18199 * gdb.python/python.exp: Likewise. Use .py file on the host
18200 instead of the build.
18202 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
18204 * gdb.threads/gcore-stale-thread.c: New file.
18205 * gdb.threads/gcore-stale-thread.exp: New file.
18207 2014-08-21 Pedro Alves <palves@redhat.com>
18209 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
18210 * gdb.base/gcore-relro-pie.exp: Likewise.
18211 * gdb.base/gcore-relro.exp: Likewise.
18212 * gdb.base/gcore.exp: Likewise.
18213 * gdb.base/print-symbol-loading.exp: Likewise.
18214 * gdb.threads/gcore-thread.exp: Likewise.
18215 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
18217 2014-08-20 Pedro Alves <palves@redhat.com>
18218 Jan Kratochvil <jan.kratochvil@redhat.com>
18220 * Makefile.in (EXTRA_RULES, CC): New variables, get from
18222 (EXPECT): Handle READ1 being set.
18223 (all): Depend on EXTRA_RULES.
18224 (check-read1, expect-read1, read1.so, read1): New rules.
18225 * README (Testsuite Parameters): Document the READ1 make variable.
18226 (Race detection): New section.
18227 * configure: Regenerate.
18228 * configure.ac: If build==host==target, and running under a
18229 GNU/glibc system, add read1 to the extra Makefile rules.
18230 (EXTRA_RULES): AC_SUBST it.
18231 * lib/read1.c: New file.
18233 2014-08-20 Joel Brobecker <brobecker@adacore.com>
18235 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
18236 the handling of variables declared as a typedef to an array
18237 which a DW_AT_data_location attribute.
18239 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
18240 Pedro Alves <palves@redhat.com>
18244 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
18247 2014-08-19 Pedro Alves <palves@redhat.com>
18249 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
18251 2014-08-19 Yao Qi <yao@codesourcery.com>
18253 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
18256 2014-08-18 David Blaikie <dblaikie@gmail.com>
18258 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
18260 2014-08-18 Joel Brobecker <brobecker@adacore.com>
18262 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
18263 attribute in array range.
18265 2014-08-18 Joel Brobecker <brobecker@adacore.com>
18267 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
18269 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
18272 * gdb.cp/pr17132.cc: New file.
18273 * gdb.cp/pr17132.exp: New file.
18275 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
18277 * gdb.python/py-xmethods.py (A_getarrayind)
18278 (E_method_char_worker.__call__, E_method_int_worker.__call__):
18279 Use 'print' with function call syntax.
18280 (E_method_matcher.match): Fix tab vs space indentation mixup.
18282 2014-08-15 Yao Qi <yao@codesourcery.com>
18284 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
18287 2014-08-15 Yao Qi <yao@codesourcery.com>
18289 * gdb.cp/casts.exp: Set print symbol off.
18290 * gdb.cp/class2.exp: Likewise.
18291 * gdb.cp/overload.exp: Likewise.
18292 * gdb.cp/templates.exp: Likewise.
18294 2014-08-11 Doug Evans <dje@google.com>
18296 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
18297 (test_load_shlib): Update.
18299 2014-08-09 Yao Qi <yao@codesourcery.com>
18301 * gdb.base/display.exp: Invoke is_address_zero_readable.
18302 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
18303 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
18304 * gdb.base/hbreak-unmapped.exp: Return if
18305 is_address_zero_readable returns true.
18306 * gdb.base/signest.exp: Likewise.
18307 * gdb.base/signull.exp: Likewise.
18308 * gdb.base/sigbpt.exp: Likewise.
18309 * gdb.guile/scm-disasm.exp: Do the test if
18310 is_address_zero_readable returns false.
18311 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
18312 * gdb.python/py-arch.exp: Likewise.
18313 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
18314 * lib/gdb.exp (is_address_zero_readable): New proc.
18316 2014-08-09 Yao Qi <yao@codesourcery.com>
18319 * gdb.mi/mi-var-display.exp: Make test messages unique.
18321 2014-08-04 Tom Tromey <tromey@redhat.com>
18323 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
18326 2014-08-04 Tom Tromey <tromey@redhat.com>
18328 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
18331 2014-08-01 Joel Brobecker <brobecker@adacore.com>
18333 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
18334 inner_vla_struct_object_size.
18335 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
18338 2014-07-30 Pedro Alves <palves@redhat.com>
18340 * gdb.threads/signal-command-handle-nopass.exp (test): Add
18343 2014-07-29 Yao Qi <yao@codesourcery.com>
18346 * gdb.base/until-nodebug.exp: New.
18348 2014-07-28 Doug Evans <xdje42@gmail.com>
18351 * gdb.guile/scm-parameter.exp: Add tests for trying to create
18352 previously existing parameter, and previously ambiguously spelled
18355 2014-07-28 Will Newton <will.newton@linaro.org>
18357 * gdb.base/varargs.exp: Remove KFAILs for ARM.
18359 2014-07-26 Ludovic Courtès <ludo@gnu.org>
18360 Doug Evans <xdje42@gmail.com>
18363 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
18365 2014-07-25 Pedro Alves <palves@redhat.com>
18367 * gdb.threads/signal-command-handle-nopass.c: New file.
18368 * gdb.threads/signal-command-handle-nopass.exp: New file.
18369 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
18370 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
18371 * gdb.threads/signal-delivered-right-thread.c: New file.
18372 * gdb.threads/signal-delivered-right-thread.exp: New file.
18374 2014-07-25 Pedro Alves <palves@redhat.com>
18376 * gdb.base/double-prompt-target-event-error.exp
18377 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
18379 (cancel_pagination_in_target_event): Rework double prompt
18381 * gdb.base/paginate-after-ctrl-c-running.exp
18382 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
18384 * gdb.base/paginate-bg-execution.exp
18385 (test_bg_execution_pagination_return)
18386 (test_bg_execution_pagination_cancel): Remove '-notransfer
18388 * gdb.base/paginate-execution-startup.exp
18389 (test_fg_execution_pagination_return)
18390 (test_fg_execution_pagination_cancel): Remove '-notransfer
18392 * gdb.base/paginate-inferior-exit.exp
18393 (test_paginate_inferior_exited): Remove '-notransfer <return>'
18395 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
18396 * lib/gdb.exp (pagination_prompt): Run text through
18398 (gdb_test_multiple): Match $pagination_prompt instead of
18400 (string_to_regexp): Move to lib/gdb-utils.exp.
18402 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
18404 * gdb.arch/amd64-entry-value-paramref.S: New file.
18405 * gdb.arch/amd64-entry-value-paramref.cc: New file.
18406 * gdb.arch/amd64-entry-value-paramref.exp: New file.
18407 * gdb.arch/amd64-optimout-repeat.S: New file.
18408 * gdb.arch/amd64-optimout-repeat.c: New file.
18409 * gdb.arch/amd64-optimout-repeat.exp: New file.
18411 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
18414 * gdb.base/statistics.exp: New file.
18416 2014-07-17 Doug Evans <dje@google.com>
18419 * gdb.base/maint.exp: Update testing of per-command stats.
18421 2014-07-16 Pedro Alves <palves@redhat.com>
18423 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
18424 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
18425 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
18426 (tfile_write_buf): New functions.
18427 (add_memory_block): Rewrite using the above.
18428 (adjust_function_address): New function.
18429 (FUNCTION_ADDRESS): New macro.
18430 (write_basic_trace_file): Remove short_x local, and use
18431 tfile_write_16. Change type of func_addr local to unsigned long
18432 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
18433 here. Cast argument of add_memory_block to char pointer.
18434 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
18435 (main): Remove parameters.
18436 * gdb.trace/tfile.exp: Remove nowarnings.
18438 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
18440 * gdb.base/debug-expr.exp: Test string evaluation with
18441 "debug expression" on.
18443 2014-07-15 Pedro Alves <palves@redhat.com>
18445 * gdb.base/reread.exp: Use clean_restart.
18447 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
18449 * gdb.arch/avr-flash-qualifer.c: New.
18450 * gdb.arch/avr-flash-qualifer.exp: New.
18452 2014-07-14 Pedro Alves <palves@redhat.com>
18454 * gdb.base/paginate-after-ctrl-c-running.c: New file.
18455 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
18457 2014-07-14 Pedro Alves <palves@redhat.com>
18459 * gdb.base/double-prompt-target-event-error.c: New file.
18460 * gdb.base/double-prompt-target-event-error.exp: New file.
18462 2014-07-14 Pedro Alves <palves@redhat.com>
18465 * gdb.base/paginate-inferior-exit.c: New file.
18466 * gdb.base/paginate-inferior-exit.exp: New file.
18468 2014-07-14 Pedro Alves <palves@redhat.com>
18471 * gdb.base/paginate-bg-execution.c: New file.
18472 * gdb.base/paginate-bg-execution.exp: New file.
18474 2014-07-14 Pedro Alves <palves@redhat.com>
18477 * gdb.base/paginate-execution-startup.c: New file.
18478 * gdb.base/paginate-execution-startup.exp: New file.
18479 * lib/gdb.exp (pagination_prompt): New global.
18480 (default_gdb_spawn): New procedure, factored out from
18482 (default_gdb_start): Adjust to call default_gdb_spawn.
18483 (gdb_spawn): New procedure.
18485 2014-07-14 Pedro Alves <palves@redhat.com>
18487 * lib/gdb.exp (gdb_assert): New procedure.
18488 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
18490 2014-07-14 Pedro Alves <palves@redhat.com>
18492 * gdb.base/execution-termios.c: New file.
18493 * gdb.base/execution-termios.exp: New file.
18495 2014-07-14 Tom Tromey <tromey@redhat.com>
18497 * gdb.cp/vla-cxx.cc: New file.
18498 * gdb.cp/vla-cxx.exp: New file.
18500 2014-07-14 Tom Tromey <tromey@redhat.com>
18502 * gdb.reverse/rerun-prec.c: New file.
18503 * gdb.reverse/rerun-prec.exp: New file.
18505 2014-07-12 Maciej W. Rozycki <macro@mips.com>
18506 Maciej W. Rozycki <macro@codesourcery.com>
18508 * lib/gdb-utils.exp: New file.
18509 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
18510 inline `gdb_init_command' processing.
18511 (gdb_start_cmd): Likewise.
18512 * lib/mi-support.exp (mi_run_cmd): Likewise.
18513 * README: Document `gdb_init_command' and `gdb_init_commands'.
18515 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
18517 Fix false FAIL running under a very long directory name.
18518 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
18519 and "set print elements 10000". Twice.
18521 2014-07-11 Yao Qi <yao@codesourcery.com>
18523 * gdb.base/exprs.exp: "set print symbol off".
18525 2014-07-11 Pedro Alves <palves@redhat.com>
18527 * gdb.threads/kill.c: New file.
18528 * gdb.threads/kill.exp: New file.
18530 2014-07-10 Yao Qi <yao@codesourcery.com>
18532 * gdb.trace/tfile.c (write_basic_trace_file)
18533 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
18534 address written to trace file.
18536 2014-07-09 Pedro Alves <palves@redhat.com>
18538 * gdb.base/attach-wait-input.exp: New file.
18539 * gdb.base/attach-wait-input.c: New file.
18541 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
18543 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
18544 setting up test structures.
18545 (main): Call new test function.
18546 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
18547 test function, continue into test function and walk test
18550 2014-07-02 Yao Qi <yao@codesourcery.com>
18552 * gdb.trace/entry-values.c: Define labels 'foo_start' and
18553 'bar_start' at the beginning of functions 'foo' and 'bar'
18555 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
18556 instead of 'foo' and 'bar'.
18558 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
18560 * gdb.btrace/segv.exp: New.
18561 * gdb.btrace/segv.c: New.
18563 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
18565 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
18568 2014-06-30 Mark Wielaard <mjw@redhat.com>
18570 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
18571 vulture, vilify, villar): New volatile array constants.
18572 (vindictive, vegetation): New const volatile array constants.
18573 * gdb.base/volatile.exp: Test volatile and const volatile array
18576 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
18578 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
18579 target lacks support for awatch, rwatch, or hbreak.
18581 2014-06-27 Yao Qi <yao@codesourcery.com>
18583 * gdb.multi/dummy-frame-restore.exp: New.
18584 * gdb.multi/dummy-frame-restore.c: New.
18586 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
18588 * gdb.btrace/gcore.exp: New.
18590 2014-06-23 Pedro Alves <palves@redhat.com>
18592 * gdb.base/watchpoint-reuse-slot.c: New file.
18593 * gdb.base/watchpoint-reuse-slot.exp: New file.
18595 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
18597 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
18598 progspace's filename in 'info', 'enable' and 'disable' command
18601 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
18603 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
18604 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
18605 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
18607 2014-06-20 Gary Benson <gbenson@redhat.com>
18609 * gdb.arch/i386-avx.exp: Fix include file location.
18610 * gdb.arch/i386-sse.exp: Likewise.
18612 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
18614 * gdb.dlang/expression.exp: New file.
18616 2014-06-19 Pedro Alves <palves@redhat.com>
18618 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
18620 (top level): ... here. Iterate running tests under different
18621 scheduler-locking settings.
18623 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
18625 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
18626 to DW_FORM_addr and use non-zero addresses.
18628 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
18631 * gdb.python/py-xmethods.cc: Add global function call counters and
18632 increment them in their respective functions. Remove "cout"
18634 * gdb.python/py-xmethods.exp: Make tests check the global function
18635 call counters instead of depending on inferior IO.
18637 2014-06-18 Don Breazeal <donb@codesourcery.com>
18639 * gdb.base/foll-fork.exp (default_fork_parent_follow):
18641 (explicit_fork_parent_follow): Deleted procedure.
18642 (explicit_fork_child_follow): Deleted procedure.
18643 (test_follow_fork): New procedure.
18644 (do_fork_tests): Replace calls to deleted procedures with
18645 calls to test_follow_fork and reset GDB for subsequent
18648 2014-06-17 Yao Qi <yao@codesourcery.com>
18650 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
18653 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
18655 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
18656 Initialize ptr and S explicitly.
18657 (skip_type_update_when_not_use_rtti_test): Likewise.
18659 2014-06-16 Keith Seitz <keiths@redhat.com>
18662 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
18663 the inferior is started.
18665 2014-06-16 Pedro Alves <palves@redhat.com>
18667 * gdb.base/break-main-file-remove-fail.c: New file.
18668 * gdb.base/break-main-file-remove-fail.exp: New file.
18669 * gdb.base/break-unload-file.exp: Use build_executable instead of
18670 prepare_for_testing.
18671 (test_break): New parameter "initial_load". Handle it.
18672 (top level): Add initial_load cmdline/file axis.
18674 2014-06-12 Tom Tromey <tromey@redhat.com>
18676 * gdb.base/completion.exp: Don't use directory name in test.
18678 2014-06-09 Gary Benson <gbenson@redhat.com>
18680 * gdb.base/sigall.c [Functions to send signals]: Reorder to
18681 separate the always-available ANSI-standard signals from the
18682 signals that require checking.
18684 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
18688 2014-06-07 Keith Seitz <keiths@redhat.com>
18692 * gdb.cp/var-tag.cc: New file.
18693 * gdb.cp/var-tag.exp: New file.
18694 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
18695 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
18696 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
18697 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
18699 2014-06-06 Doug Evans <xdje42@gmail.com>
18701 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
18703 2014-06-06 Pedro Alves <palves@redhat.com>
18705 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
18706 in target debug output instead of looking at RSP packets,
18707 disabling the test on any target that uses hardware stepping.
18710 2014-06-06 Pedro Alves <palves@redhat.com>
18712 * gdb.base/break-unload-file.exp: Fix typo.
18714 2014-06-06 Yao Qi <yao@codesourcery.com>
18716 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
18717 from "jit_function" to "^jit_function".
18719 2014-06-06 Yao Qi <yao@codesourcery.com>
18721 * gdb.base/async.c (foo): Add one statement.
18722 * gdb.base/async.exp: Get the next instruction address and
18723 match the output of "nexti" by instruction address. Match
18724 the hex address in the output of "finish".
18726 2014-06-06 Gary Benson <gbenson@redhat.com>
18728 * gdb.base/call-signals.c: Remove preprocessor conditionals
18729 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
18730 SIGSEGV and SIGTERM.
18731 * gdb.base/sigall.c: Likewise.
18732 * gdb.base/unwindonsignal.c: Likewise.
18733 * gdb.reverse/sigall-reverse.c: Likewise.
18735 2014-06-06 Yao Qi <yao@codesourcery.com>
18737 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
18738 readable, skip the test.
18740 2014-06-06 Yao Qi <yao@codesourcery.com>
18742 * gdb.threads/staticthreads.c (thread_function): Move the line
18743 setting breakpoint on forward.
18744 * gdb.threads/staticthreads.exp: Update comments.
18746 2014-06-05 Ludovic Courtès <ludo@gnu.org>
18748 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
18749 "history-append! type error".
18751 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
18753 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
18754 erroneous dprintf expected input.
18756 2014-06-04 Doug Evans <xdje42@gmail.com>
18758 * gdb.guile/scm-generics.exp: Delete.
18760 2014-06-04 Doug Evans <xdje42@gmail.com>
18762 * gdb.guile/scm-breakpoint.exp: Update.
18763 Add tests for breakpoint registration.
18765 2014-06-04 Tom Tromey <tromey@redhat.com>
18767 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
18769 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
18770 inner_vla_struct, vla_union types. Initialize objects of those
18771 types and compute their sizes.
18773 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
18774 Hui Zhu <hui@codesourcery.com>
18776 * gdb.base/fileio.exp: Add test for shell not available as well as
18778 * gdb.base/fileio.c (test_system): Check for shell twice.
18780 2014-06-04 Yao Qi <yao@codesourcery.com>
18782 * gdb.base/auto-connect-native-target.exp: Remove redundant
18783 space from the regexp pattern.
18785 2014-06-04 Yao Qi <yao@codesourcery.com>
18787 * gdb.base/default.exp: Replace "child" with "native" in
18790 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
18792 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
18793 * gdb.python/py-xmethods.exp: New tests to test xmethods.
18794 * gdb.python/py-xmethods.py: Python script supporting the
18795 new testcase and tests.
18797 2014-06-03 Joel Brobecker <brobecker@adacore.com>
18798 Pedro Alves <palves@redhat.com>
18800 PR breakpoints/17000
18801 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
18802 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
18804 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
18806 * gdb.base/subst.exp: Add tests to verify partial path matching
18809 2014-06-03 Pedro Alves <palves@redhat.com>
18811 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
18812 target that doesn't use software single-stepping.
18814 2014-06-03 Pedro Alves <palves@redhat.com>
18816 PR breakpoints/17000
18817 * gdb.base/sss-bp-on-user-bp-2.c: New file.
18818 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
18820 2014-06-02 Doug Evans <xdje42@gmail.com>
18822 * gdb.guile/scm-parameter.exp: New file.
18824 2014-06-02 Doug Evans <xdje42@gmail.com>
18826 * gdb.guile/scm-cmd.c: New file.
18827 * gdb.guile/scm-cmd.exp: New file.
18829 2014-06-02 Doug Evans <xdje42@gmail.com>
18831 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
18832 pretty-printer lookup.
18833 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
18834 (make-pp_s-printer): Call it.
18835 (make-pretty-printer-from-dict): New function.
18836 (lookup-pretty-printer-maker-from-dict): New function.
18837 (*pretty-printer*): Simplify.
18838 (make-objfile-pp_s-printer): New function.
18839 (install-objfile-pretty-printers!): New function.
18840 (make-progspace-pp_s-printer): New function.
18841 (install-progspace-pretty-printers!): New function.
18842 * gdb.guile/scm-progspace.c: New file.
18843 * gdb.guile/scm-progspace.exp: New file.
18845 2014-06-02 Pedro Alves <palves@redhat.com>
18847 * gdb.base/dprintf-bp-same-addr.c: New file.
18848 * gdb.base/dprintf-bp-same-addr.exp: New file.
18850 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18852 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
18853 * gdb.arch/powerpc-power.s: Likewise.
18855 2014-06-02 Joel Brobecker <brobecker@adacore.com>
18857 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
18859 2014-06-01 Yao Qi <yao@codesourcery.com>
18861 * gdb.base/watchpoint.exp (test_watch_location): Check null
18862 pointer can be dereferenced. If not, do the test, otherwise
18865 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
18867 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
18869 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
18871 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
18873 * gdb.arch/amd64-invalid-stack-middle.S: New file.
18874 * gdb.arch/amd64-invalid-stack-middle.c: New file.
18875 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
18876 * gdb.arch/amd64-invalid-stack-top.c: New file.
18877 * gdb.arch/amd64-invalid-stack-top.exp: New file.
18879 2014-05-30 Pedro Alves <palves@redhat.com>
18881 PR breakpoints/17000
18882 * gdb.base/sss-bp-on-user-bp.c: New file.
18883 * gdb.base/sss-bp-on-user-bp.exp: New file.
18885 2014-05-30 David Blaikie <dblaikie@gmail.com>
18887 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
18888 gnu_inline semantics via attribute.
18889 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
18890 source explicitly specifies the required semantics.
18892 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
18894 * gdb.reverse/sigall-reverse.exp: Fix a typo.
18896 2014-05-29 Pedro Alves <palves@redhat.com>
18897 Tom Tromey <tromey@redhat.com>
18899 * gdb.base/async-shell.exp: Don't enable target-async.
18900 * gdb.base/async.exp
18901 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
18903 (top level): Don't test with "target-async".
18904 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
18905 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
18906 * gdb.base/inferior-died.exp: Don't enable target-async.
18907 * gdb.base/interrupt-noterm.exp: Likewise.
18908 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
18909 * gdb.mi/mi-nonstop-exit.exp: Likewise.
18910 * gdb.mi/mi-nonstop.exp: Likewise.
18911 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
18912 * gdb.mi/mi-nsintrall.exp: Likewise.
18913 * gdb.mi/mi-nsmoribund.exp: Likewise.
18914 * gdb.mi/mi-nsthrexec.exp: Likewise.
18915 * gdb.mi/mi-watch-nonstop.exp: Likewise.
18916 * gdb.multi/watchpoint-multi.exp: Adjust comment.
18917 * gdb.python/py-evsignal.exp: Don't enable target-async.
18918 * gdb.python/py-evthreads.exp: Likewise.
18919 * gdb.python/py-prompt.exp: Likewise.
18920 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
18921 * gdb.server/solib-list.exp: Don't enable target-async.
18922 * gdb.threads/thread-specific-bp.exp: Likewise.
18923 * lib/mi-support.exp: Adjust to use mi-async.
18925 2014-05-29 Pedro Alves <palves@redhat.com>
18928 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
18929 reason, even in sync mode.
18931 2014-05-29 Pedro Alves <palves@redhat.com>
18932 Hui Zhu <hui@codesourcery.com>
18935 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
18936 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
18937 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
18938 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
18940 2014-05-28 Joel Brobecker <brobecker@adacore.com>
18942 * config/monitor.exp (gdb_target_monitor): Replace use of
18943 "set remotebaud" by "set serial baud".
18945 2014-05-26 Andy Wingo <wingo@igalia.com>
18947 * gdb.guile/scm-breakpoint.exp:
18948 * gdb.guile/scm-gsmob.exp: Update to use plain old object
18949 properties instead of gdb-object-properties.
18951 2014-05-26 Yao Qi <yao@codesourcery.com>
18953 * gdb.server/no-thread-db.exp: Specify source file name
18954 explicitly when setting a breakpoint.
18956 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
18958 * gdb.btrace/vdso.c: New.
18959 * gdb.btrace/vdso.exp: New.
18961 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
18963 * gdb.base/gcore.exp (capture_command_output): Move ...
18964 * lib/gdb.exp (capture_command_output): ... here.
18966 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
18968 * gdb.btrace/data.exp: Test memory access during btrace replay.
18970 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
18972 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
18974 2014-05-21 Pedro Alves <palves@redhat.com>
18977 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
18978 (top level): Test that output related to execution commands is
18979 sent to the console with CLI commands, but not with MI commands.
18980 Test that breakpoint events are always mirrored to the console.
18981 Also expect the new source line to be output after a "next" in
18982 async mode too. Make it a pass/fail test.
18983 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
18985 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
18987 2014-05-21 Pedro Alves <palves@redhat.com>
18989 * gdb.base/list.exp (build_pattern, test_list): New procedures.
18990 Use them to test variations of "list" after reaching a breakpoint.
18991 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
18992 Test "list" with listsize 10 after reaching a breakpoint.
18993 * gdb.python/python.exp (decode_line current location line
18994 number): Adjust expected line number.
18996 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
18998 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
18999 behavior for $args, pass it directly to "run".
19001 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
19003 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
19006 2014-05-21 Pedro Alves <palves@redhat.com>
19008 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
19009 auto-connect-native-target off".
19010 * gdb.base/auto-connect-native-target.c: New file.
19011 * gdb.base/auto-connect-native-target.exp: New file.
19013 2014-05-21 Pedro Alves <palves@redhat.com>
19015 * gdb.base/default.exp: Test "target native" instead of "target
19018 2014-05-21 Mark Wielaard <mjw@redhat.com>
19020 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
19022 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19024 Fix TLS access for -static -pthread.
19025 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
19026 <HAVE_TLS> (thread_function, main): Initialize it.
19027 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
19029 <$have_tls != "">: Check TLSVAR.
19031 2014-05-21 Pedro Alves <palves@redhat.com>
19033 * gdb.base/dcache-line-read-error.c: New.
19034 * gdb.base/dcache-line-read-error.exp: New.
19036 2014-05-20 Pedro Alves <palves@redhat.com>
19038 * gdb.base/compare-sections.c: New file.
19039 * gdb.base/compare-sections.exp: New file.
19041 2014-05-20 Pedro Alves <palves@redhat.com>
19043 * gdb.base/break-idempotent.c: New file.
19044 * gdb.base/break-idempotent.exp: New file.
19046 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
19048 * gdb.btrace/nohist.exp: New.
19050 2014-05-20 Yao Qi <yao@codesourcery.com>
19052 * lib/gdb.exp (gdb_init): Set timeout if test file is under
19053 gdb.reverse directory and gdb_reverse_timeout exists in board
19055 * README: Document gdb_reverse_timeout.
19057 2014-05-20 Yao Qi <yao@codesourcery.com>
19059 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
19060 'test_file_name'. Treat args as a string instead of a list.
19061 (gdb_init): Rename argument 'args' by 'test_file_name'.
19063 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
19065 * gdb.arch/powerpc-power.exp: New file.
19066 * gdb.arch/powerpc-power.s: New file.
19068 2014-05-16 Doug Evans <dje@google.com>
19070 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
19071 * gdb.base/completion.exp: Check that all expected files exist
19072 before doing file completion.
19074 2014-05-16 Doug Evans <dje@google.com>
19076 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
19078 (do_syscall_tests_without_xml): Update.
19080 2014-05-16 Pedro Alves <palves@redhat.com>
19082 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
19083 instead of "unknown output after running".
19085 2014-05-16 Yao Qi <yao@codesourcery.com>
19087 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
19088 file1.txt from host at the end.
19089 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
19091 2014-05-15 Doug Evans <dje@google.com>
19093 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
19094 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
19095 loading file. Add test for TU lookup.
19097 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
19099 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
19100 calling "-exec-arguments" or "set args" before running the
19103 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
19105 * lib/mi-support.exp (mi_expect_stop): Expect message for
19106 inferiors that exit with non-zero exit code.
19108 2014-05-14 Yao Qi <yao@codesourcery.com>
19110 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
19111 match absolute path on remote host.
19112 (test_file_list_exec_source_files): Remove "/" from the
19115 2014-05-14 Yao Qi <yao@codesourcery.com>
19117 * boards/local-remote-host-notty.exp (${board}_file): New
19120 2014-05-07 Kyle McMartin <kyle@redhat.com>
19122 Pushed by Joel Brobecker <brobecker@adacore.com>.
19123 * gdb.arch/aarch64-atomic-inst.c: New file.
19124 * gdb.arch/aarch64-atomic-inst.exp: New file.
19126 2014-05-07 Yao Qi <yao@codesourcery.com>
19128 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
19129 in current context" too.
19131 2014-05-05 Keith Seitz <keiths@redhat.com>
19133 * gdb.linespec/ls-dollar.exp: Add test for linespec
19134 file:convenience_variable.
19136 2014-05-05 Yao Qi <yao@codesourcery.com>
19138 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
19139 traceframes into tfile and ctf trace files. Read data from
19140 trace file and test collected data.
19141 (gdb_collect_locals_test): Likewise.
19142 (gdb_unavailable_registers_test): Likewise.
19143 (gdb_unavailable_floats): Likewise.
19144 (gdb_collect_globals_test): Likewise.
19145 (top-level): Append "ctf" to trace_file_targets if GDB
19148 2014-05-05 Yao Qi <yao@codesourcery.com>
19150 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
19152 (gdb_collect_args_test_1): ... it. New proc.
19153 (gdb_collect_locals_test): Move some code to ...
19154 (gdb_collect_locals_test_1): ... it. New proc.
19155 (gdb_unavailable_registers_test): Move some code to ...
19156 (gdb_unavailable_registers_test_1): ... it. New proc.
19157 (gdb_unavailable_floats): Move some code to ...
19158 (gdb_unavailable_floats_1): ... it. New proc.
19160 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
19162 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
19163 probes to test for bitness recognition.
19164 * gdb.arch/amd64-stap-optional-prefix.exp
19165 (test_probe_value_without_reg): New procedure.
19166 Add code to test for different kinds of bitness.
19168 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
19170 PR breakpoints/16889
19171 * gdb.arch/amd64-stap-optional-prefix.S: New file.
19172 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
19174 2014-05-01 Pedro Alves <palves@redhat.com>
19176 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
19177 gdb_file_cmd if no file is specified.
19178 * boards/native-extended-gdbserver.exp (gdb_load): Use the
19179 last_loaded_file to set the remote exec-file.
19181 2014-05-01 Pedro Alves <palves@redhat.com>
19183 * boards/local-remote-host.exp: New file.
19185 2014-05-01 Pedro Alves <palves@redhat.com>
19187 * boards/local-remote-host.exp: Rename to ...
19188 * boards/local-remote-host-notty.exp: ... this.
19190 2014-04-28 Joel Brobecker <brobecker@adacore.com>
19192 * gdb.ada/dyn_arrayidx: New testcase.
19194 2014-04-26 Yao Qi <yao@codesourcery.com>
19196 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
19197 and compute the length of function main. Save it in
19199 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
19200 (top-level): Use gdb_compile to compile objects into
19201 executable and restart GDB. Remove invocation to
19202 prepare_for_testing.
19204 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
19205 Pedro Alves <palves@redhat.com>
19208 * gdb.multi/multi-attach.c: New file.
19209 * gdb.multi/multi-attach.exp: New file.
19211 2014-04-25 Pedro Alves <palves@redhat.com>
19213 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
19215 (top level): Test that "set remote conditional-breakpoints-packet
19216 off" works as intended.
19217 * gdb.base/dprintf.exp: Test that "set remote
19218 breakpoint-commands-packet off" works as intended.
19219 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
19221 (top level): Call it.
19222 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
19223 remote fast-tracepoints-packet off" works as intended.
19224 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
19225 * lib/gdb.exp (gdb_is_target_remote): ... here.
19227 2014-04-24 David Blaikie <dblaikie@gmail.com>
19229 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
19230 ensure clang would not discard them.
19231 * gdb.base/gdbvars.c: Ditto.
19232 * gdb.base/memattr.c: Ditto.
19233 * gdb.base/whatis.c: Ditto.
19234 * gdb.python/py-prettyprint.c: Ditto.
19235 * gdb.trace/actions.c: Ditto.
19236 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
19237 ensure clang would not discard it.
19239 2014-04-24 David Blaikie <dblaikie@gmail.com>
19241 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
19242 clang to emit the full definition of type required by the test
19243 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
19245 2014-04-24 David Blaikie <dblaikie@gmail.com>
19247 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
19248 coax Clang into emitting the definition of the type.
19249 * gdb.cp/pr10728-x.h (y): Ditto.
19250 * gdb.cp/pr10728-y.cc (y): Ditto.
19252 2014-04-24 David Blaikie <dblaikie@gmail.com>
19254 * gdb.base/label.exp: XFAIL label related tests under Clang.
19255 * gdb.cp/cplabel.exp: Ditto.
19256 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
19257 under Clang those using labels.
19259 2014-04-25 Yao Qi <yao@codesourcery.com>
19261 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
19263 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
19264 partial_label and double_label.
19266 2014-04-24 David Blaikie <dblaikie@gmail.com>
19268 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
19270 2014-04-24 David Blaikie <dblaikie@gmail.com>
19272 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
19273 of the function to work across GCC and Clang.
19274 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
19275 pointer types (const void ** const V void **).
19277 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
19278 Walfred Tedeschi <walfred.tedeschi@intel.com>
19280 * Makefile.in (EXECUTABLES): Added i386-avx512.
19281 * gdb.arch/i386-avx512.c: New file.
19282 * gdb.arch/i386-avx512.exp: Likewise.
19284 2014-04-23 Keith Seitz <keiths@redhat.com>
19286 * lib/mi-support.exp (mi_list_breakpoints): Delete.
19287 (mi_make_breakpoint_table): New procedure.
19288 (mi_create_breakpoint): Use mi_make_breakpoint
19289 and return the result.
19290 (mi_make_breakpoint): New procedure.
19291 (mi_build_kv_pairs): New procedure.
19293 * gdb.mi/mi-break.exp: Remove unused globals,
19294 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
19295 All callers updated.
19296 * gdb.mi/mi-dprintf.exp: Use variable to track command
19298 Update all callers of mi_create_breakpoint and use
19299 mi_make_breakpoint_table.
19300 Remove any unused global variables.
19301 * gdb.mi/mi-nonstop.exp: Likewise.
19302 * gdb.mi/mi-nsintrall.exp: Likewise.
19303 * gdb.mi/mi-nsmoribund.exp: Likewise.
19304 * gdb.mi/mi-nsthrexec.exp: Likewise.
19305 * gdb.mi/mi-reverse.exp: Likewise.
19306 * gdb.mi/mi-simplerun.exp: Likewise.
19307 * gdb.mi/mi-stepn.exp: Likewise.
19308 * gdb.mi/mi-syn-frame.exp: Likewise.
19309 * gdb.mi/mi-until.exp: Likewise.
19310 * gdb.mi/mi-var-cp.exp: Likewise.
19311 * gdb.mi/mi-var-display.exp: Likewise.
19312 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
19313 * gdb.mi/mi2-var-child.exp: Likewise.
19314 * gdb.mi/mi-vla-c99.exp: Likewise.
19315 * lib/mi-support.exp: Likewise.
19317 From Ian Lance Taylor <iant@cygnus.com>:
19318 * lib/gdb.exp (parse_args): New procedure.
19320 2014-04-23 Pedro Alves <palves@redhat.com>
19322 * gdb.base/break-unload-file.c: New file.
19323 * gdb.base/break-unload-file.exp: New file.
19324 * gdb.base/sym-file-lib.c (baz): New function.
19325 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
19327 (load): Store the segment's mapped size.
19328 (unload): New function.
19329 (unload_shlib): New function.
19330 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
19331 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
19332 set a breakpoint at baz, and call it.
19333 * gdb.base/sym-file.exp: New tests for stale breakpoint
19336 2014-04-23 Pedro Alves <palves@redhat.com>
19338 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
19339 * gdb.base/hbreak-in-shr-unsupported.c: New file.
19340 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
19341 * gdb.base/hbreak-unmapped.c: New file.
19342 * gdb.base/hbreak-unmapped.exp: New file.
19343 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
19344 * lib/gdb.exp (gdb_is_target_remote): ... here.
19346 2014-04-22 Pedro Alves <palves@redhat.com>
19348 * gdb.base/consecutive-step-over.c: New file.
19349 * gdb.base/consecutive-step-over.exp: New file.
19351 2014-04-22 Pedro Alves <palves@redhat.com>
19353 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
19354 instead of send_gdb/gdb_expect.
19356 2014-04-22 Yao Qi <yao@codesourcery.com>
19358 * lib/trace-support.exp (generate_tracefile): New procedure.
19359 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
19361 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
19362 if generate_tracefile returns 1.
19364 2014-04-18 Tom Tromey <palves@redhat.com>
19365 Pedro alves <tromey@redhat.com>
19368 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
19369 with a backtrace limit.
19370 * gdb.python/py-frame-inline.exp: Test running to an inline
19371 function with a backtrace limit, and printing the newest frame.
19372 * gdb.python/py-frame-inline.c (main): Call f.
19374 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
19376 * gdb.java/jnpe.exp: Drop srcdir from untested path.
19378 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
19380 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
19381 Drop prefix from unsupported source file path.
19383 2014-04-17 Yao Qi <yao@codesourcery.com>
19385 * lib/gdb.exp (with_target_charset): New proc.
19386 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
19387 with_target_charset.
19388 (test_print_strings): Likewise.
19389 (test_repeat_bytes): Likewise.
19390 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
19393 2014-04-16 Keith Seitz <keiths@redhat.com>
19396 * gdb.dwarf2/corrupt.c: New file.
19397 * gdb.dwarf2/corrupt.exp: New file.
19399 2014-04-16 Keith Seitz <keiths@redhat.com>
19402 * gdb.cp/namelessclass.cc: New file.
19403 * gdb.cp/namelessclass.exp: New file.
19404 * gdb.cp/namelessclass.S: New file.
19406 2014-04-16 Doug Evans <dje@google.com>
19408 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
19410 (gdbserver_default_get_comm_port): New function.
19411 (gdbserver_start): Check if board file provided
19412 "gdbserver,get_comm_port" and use it if so.
19413 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
19414 (gdb,socketport): Set to "stdio".
19415 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
19416 (stdio_gdbserver_template): Delete.
19417 (${board}_get_remote_address): Update.
19418 (${board}_build_remote_cmd): Delete.
19419 (${board}_get_comm_port): New function.
19420 (${board}_spawn): Update.
19421 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
19423 (${board}_get_remote_address): Update.
19424 (${board}_get_comm_port): New function.
19426 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
19428 * gdb.base/memattr.exp: Improve regexps to handle memory regions
19429 appearing in any order.
19431 2014-04-15 Doug Evans <dje@google.com>
19433 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
19434 uninitialized value of "description".
19436 2014-04-15 Keith Seitz <keiths@redhat.com>
19438 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
19439 Remove unused globals.
19440 (test_running_the_program): Likewise.
19441 (test_controlled_execution): Likewise.
19442 (test_controlling_breakpoints): Likewise.
19443 (test_program_termination): Likewise.
19445 2014-04-15 Keith Seitz <keiths@redhat.com>
19447 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
19449 (test_rbreak_creation_and_listing): Likewise.
19450 (test_ignore_count): Likewise.
19451 (test_error): Likewise.
19453 2014-04-15 Pedro Alves <palves@redhat.com>
19455 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
19456 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
19458 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
19459 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
19460 to sym-file-loader.c.
19461 (struct library): Forward declare.
19462 (load_shlib, lookup_function): Change prototypes.
19463 (find_shstrtab, find_strtab, find_shdr, find_symtab)
19464 (translate_offset): Remove declarations.
19465 (get_text_addr): New declaration.
19466 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
19467 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
19469 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
19470 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
19471 here from sym-file-loader.h.
19472 (struct library): New structure.
19473 (load_shlib, lookup_function): Change prototypes and adjust to
19474 work with a struct library.
19475 (find_shstrtab, find_strtab, find_shdr, find_symtab)
19476 (translate_offset): Make static.
19477 (get_text_addr): New function.
19478 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
19480 2014-04-15 Pedro Alves <palves@redhat.com>
19482 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
19484 2014-04-15 Pedro Alves <palves@redhat.com>
19486 * gdb.base/sym-file-loader.c: Include <limits.h>.
19487 (SELF_LINK): New define.
19488 (get_origin): New function.
19489 (load_shlib): Use it.
19490 * gdb.base/sym-file.exp: Don't early return if the target is
19491 remote. Use runto_main, and issue fail is that fails. Use
19493 (shlib_name): Delete.
19494 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
19496 2014-04-15 Pedro Alves <palves@redhat.com>
19498 * gdb.base/sym-file.exp: Remove regex characters from test
19499 message. Don't refer to breakpoint numbers in test messages.
19501 2014-04-14 Keith Seitz <keiths@redhat.com>
19504 * gdb.cp/var-tag.cc: New file.
19505 * gdb.cp/var-tag.exp: New file.
19506 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
19507 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
19508 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
19509 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
19511 2014-04-14 Tom Tromey <tromey@redhat.com>
19513 * gdb.cp/classes.exp (test_enums): Handle underlying type.
19514 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
19516 * gdb.cp/enum-class.exp: New file.
19517 * gdb.cp/enum-class.cc: New file.
19519 2014-04-14 Tom Tromey <tromey@redhat.com>
19521 * gdb.dwarf2/enum-type.exp: New file.
19523 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19525 * gdb.mi/mi-vla-c99.exp: New file.
19526 * gdb.mi/vla.c: New file.
19528 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19530 * gdb.base/vla-datatypes.c: New file.
19531 * gdb.base/vla-datatypes.exp: New file.
19533 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19535 * gdb.base/vla-ptr.c: New file.
19536 * gdb.base/vla-ptr.exp: New file.
19538 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19540 * gdb.dwarf2/count.exp: New file.
19542 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19544 * gdb.base/vla-sideeffect.c: New file.
19545 * gdb.base/vla-sideeffect.exp: New file.
19547 2014-04-14 David Blaikie <dblaikie@gmail.com>
19549 * gdb.mi/non-stop.c: Add return value for non-void function return
19551 * gdb.threads/staticthreads.c: Ditto.
19553 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
19554 Doug Evans <xdje42@gmail.com>
19556 * gdb.guile/scm-value.c: Improve test case.
19557 * gdb.guile/scm-value.exp: Add new test.
19559 2014-04-11 David Blaikie <dblaikie@gmail.com>
19561 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
19562 override Clang's default.
19564 2014-04-11 Joel Brobecker <brobecker@adacore.com>
19566 Revert the following changes (regressions):
19568 * gdb.base/vla-sideeffect.c: New file.
19569 * gdb.base/vla-sideeffect.exp: New file.
19571 * gdb.dwarf2/count.exp: New file.
19573 * gdb.base/vla-multi.c: New file.
19574 * gdb.base/vla-multi.exp: New file.
19576 * gdb.base/vla-ptr.c: New file.
19577 * gdb.base/vla-ptr.exp: New file.
19579 * gdb.base/vla-datatypes.c: New file.
19580 * gdb.base/vla-datatypes.exp: New file.
19582 * gdb.mi/mi-vla-c99.exp: New file.
19583 * gdb.mi/vla.c: New file.
19585 2014-04-11 Keith Seitz <keiths@redhat.com>
19588 * gdb.cp/cpsizeof.exp: New file.
19589 * gdb.cp/cpsizeof.cc: New file.
19591 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19593 * gdb.mi/mi-vla-c99.exp: New file.
19594 * gdb.mi/vla.c: New file.
19596 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19598 * gdb.base/vla-datatypes.c: New file.
19599 * gdb.base/vla-datatypes.exp: New file.
19601 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19603 * gdb.base/vla-ptr.c: New file.
19604 * gdb.base/vla-ptr.exp: New file.
19606 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19608 * gdb.base/vla-multi.c: New file.
19609 * gdb.base/vla-multi.exp: New file.
19611 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19613 * gdb.dwarf2/count.exp: New file.
19615 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19617 * gdb.base/vla-sideeffect.c: New file.
19618 * gdb.base/vla-sideeffect.exp: New file.
19620 2014-04-11 Yao Qi <yao@codesourcery.com>
19622 * gdb.base/completion.exp: Check file exists before running tests
19623 on file completion.
19625 2014-04-10 Pedro Alves <palves@redhat.com>
19627 * gdb.base/cond-eval-mode.c: New file.
19628 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
19629 prepare_for_testing to build the new file. Check result of
19631 (test_break, test_watch): New procedures.
19632 (top level): Use them.
19634 2014-04-08 Pierre Muller <muller@sourceware.org>
19636 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
19637 Ctrl-V use for mingw hosts.
19639 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
19641 * gdb.python/py-value.c: Improve test case.
19642 * gdb.python/py-value.exp: Add new test.
19644 2014-04-07 David Blaikie <dblaikie@gmail.com>
19646 * lib/compiler.c: Identify the clang compiler.
19647 * lib/compiler.cc: Ditto.
19649 2014-04-03 Yao Qi <yao@codesourcery.com>
19651 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
19653 2014-04-01 Anton Blanchard <anton@samba.org>
19655 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
19658 2014-04-01 Anton Blanchard <anton@samba.org>
19660 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
19661 prepare_for_testing.
19663 2014-04-01 Anton Blanchard <anton@samba.org>
19665 * gdb.arch/ppc64-atomic-inst.c: Remove.
19666 * gdb.arch/ppc64-atomic-inst.S: New file.
19667 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
19669 2014-03-31 Doug Evans <dje@google.com>
19671 * gdb.base/print-symbol-loading-lib.c: New file.
19672 * gdb.base/print-symbol-loading-main.c: New file.
19673 * gdb.base/print-symbol-loading.exp: New file.
19675 2014-03-31 Yao Qi <yao@codesourcery.com>
19677 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
19679 2014-03-28 Joel Brobecker <brobecker@adacore.com>
19681 * gdb.ada/mi_dyn_arr: New testcase.
19683 2014-03-27 Doug Evans <dje@google.com>
19685 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
19687 2014-03-27 Yao Qi <yao@codesourcery.com>
19689 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
19690 if target is nios2-*-*.
19692 2014-03-26 Yao Qi <yao@codesourcery.com>
19694 * lib/gdb.exp (readline_is_used): New proc.
19695 * gdb.base/completion.exp: Move tests on command complete up.
19696 Skip the rest of tests if readline is not used.
19697 * gdb.ada/complete.exp: Skp the test if readline is not
19699 * gdb.base/filesym.exp: Likewise.
19700 * gdb.base/macscp.exp: Likewise.
19701 * gdb.base/readline-ask.exp: Likewise.
19702 * gdb.base/readline.exp: Likewise.
19703 * gdb.python/py-cmd.exp: Likewise.
19704 * gdb.trace/tfile.exp: Likewise.
19706 2014-03-26 Yao Qi <yao@codesourcery.com>
19708 * gdb.base/macscp.exp: Fix code format issues.
19710 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
19712 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
19713 * gdb.asm/powerpc64le.inc: New file.
19715 2014-03-25 Pedro Alves <palves@redhat.com>
19716 Doug Evans <dje@google.com>
19718 * gdb.base/source-execution.c: New file.
19719 * gdb.base/source-execution.exp: New file.
19720 * gdb.base/source-execution.gdb: New file.
19722 2014-03-24 Doug Evans <dje@google.com>
19724 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
19727 2014-03-24 Hui Zhu <hui@codesourcery.com>
19728 Pedro Alves <palves@redhat.com>
19730 PR breakpoints/16101
19731 * gdb.base/dprintf.exp: Use unsupported rather than changing the
19732 test pass/fail messages. Detect missing support for dprintf when
19733 breakpoints are actually inserted.
19734 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
19735 breakpoints are actually inserted.
19736 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
19739 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
19741 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
19743 2014-03-22 Doug Evans <xdje42@gmail.com>
19745 * gdb.python/python.exp (python not supported): Verify multi-line
19746 python command issues an error.
19747 * gdb.guile/guile.exp (guile not supported): Verify multi-line
19748 guile command issues an error.
19750 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
19752 * gdb.threads/thread-specific.exp: Handle the lack of usable
19753 $this_breakpoint and $this_thread.
19755 2014-03-21 Hui Zhu <hui@codesourcery.com>
19757 * gdb.base/attach.exp (do_command_attach_tests): New.
19759 2014-03-20 Tom Tromey <tromey@redhat.com>
19760 Pedro Alves <palves@redhat.com>
19763 * gdb.base/condbreak-call-false.c: New file.
19764 * gdb.base/condbreak-call-false.exp: New file.
19766 2014-03-20 Pedro Alves <palves@redhat.com>
19768 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
19770 (block_signals, unblock_signals): Delete.
19771 (child_function_2, main): Remove references to deleted variable
19774 2014-03-20 Pedro Alves <palves@redhat.com>
19776 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
19777 Use pthread_kill to signal thread 2.
19778 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
19779 Adjust to make the test send itself a signal rather than using the
19780 host's "kill" command.
19782 2014-03-20 Pedro Alves <palves@redhat.com>
19784 * gdb.threads/multiple-step-overs.c: New file.
19785 * gdb.threads/multiple-step-overs.exp: New file.
19786 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
19787 Adjust expected infrun debug output.
19789 2014-03-20 Pedro Alves <palves@redhat.com>
19791 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
19792 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
19794 2014-03-20 Pedro Alves <palves@redhat.com>
19796 PR breakpoints/7143
19797 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
19798 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
19799 of gdb_test_multiple.
19800 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
19801 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
19803 2014-03-20 Pedro Alves <palves@redhat.com>
19805 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
19806 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
19808 2014-03-19 Pedro Alves <palves@redhat.com>
19810 * gdb.base/async.exp: Remove early return.
19812 2014-03-19 Pedro Alves <palves@redhat.com>
19814 * gdb.base/async.exp (step& tests): Pass explicit test messages.
19816 2014-03-19 Pedro Alves <palves@redhat.com>
19818 * gdb.base/async.exp (test_background): Expect \r\n after
19819 "completed." in the fail pattern.
19821 2014-03-19 Pedro Alves <palves@redhat.com>
19823 * gdb.base/async.exp (test_background): New procedure.
19824 Use it for all background execution command tests.
19826 2014-03-19 Pedro Alves <palves@redhat.com>
19828 * gdb.base/async.exp: Use prepare_for_testing.
19830 2014-03-19 Pedro Alves <palves@redhat.com>
19832 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
19835 2014-03-19 Pedro Alves <palves@redhat.com>
19837 * gdb.base/async.c (main): Add "jump here" and "until here" line
19839 * gdb.base/async.exp (jump_here): New global.
19840 (jump& test): Use it.
19841 (until_here): New global.
19842 (until& test): Use it.
19844 2014-03-19 Pedro Alves <palves@redhat.com>
19846 * gdb.base/async.exp: Don't frob gdb_protocol.
19848 2014-03-18 Doug Evans <xdje42@gmail.com>
19850 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
19851 Fix spelling of exec-done-display.
19853 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
19856 * gdb.base/gdb-sigterm.c: New file.
19857 * gdb.base/gdb-sigterm.exp: New file.
19859 2014-03-18 Pedro Alves <palves@redhat.com>
19862 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
19863 * lib/mi-support.exp (mi_expect_stop): Add special handling for
19866 2014-03-17 Joel Brobecker <brobecker@adacore.com>
19868 * gdb.ada/pckd_arr_ren: New testcase.
19870 2014-03-13 Doug Evans <xdje42@gmail.com>
19873 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
19874 collect after discarding symbols.
19876 2014-03-13 Ludovic Courtès <ludo@gnu.org>
19877 Doug Evans <xdje42@gmail.com>
19879 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
19880 to history survives a gc.
19882 2014-03-13 Pedro Alves <palves@redhat.com>
19884 * gdb.base/default.exp: Don't test "target procfs".
19886 2014-03-13 Pedro Alves <palves@redhat.com>
19888 * gdb.base/default.exp: Update "target child" and "target procfs"
19889 tests to not expect "Unix".
19891 2014-03-12 Tom Tromey <tromey@redhat.com>
19893 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
19894 New procs. Add target-async tests.
19895 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
19896 Add target-async tests.
19898 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19900 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
19901 'func_start' and 'func_end' for the beginning and end of the
19902 function code, respectively.
19903 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
19904 'func_end' instead of 'func' and 'main'.
19906 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19908 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
19909 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
19910 generate the debug info assembler source.
19912 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19914 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
19915 * gdb.dwarf2/arr-subrange.exp: Likewise.
19916 * gdb.dwarf2/dwz.exp: Likewise.
19917 * gdb.dwarf2/method-ptr.exp: Likewise.
19918 * gdb.dwarf2/missing-sig-type.exp: Likewise.
19919 * gdb.dwarf2/subrange.exp: Likewise.
19920 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
19921 * gdb.dwarf2/implptrpiece.exp: Likewise.
19922 * gdb.dwarf2/nostaticblock.exp: Likewise.
19924 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19926 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
19927 directory to absolute path name arguments.
19929 2014-03-10 Joel Brobecker <brobecker@adacore.com>
19931 * gdb.ada/tagged_access: New testcase.
19933 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
19935 * gdb.btrace/data.exp: Update expected output.
19937 2014-03-06 Yao Qi <yao@codesourcery.com>
19939 * gdb.trace/pr16508.exp: New file.
19941 2014-03-05 Pedro Alves <palves@redhat.com>
19944 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
19946 (top level): Adjust to use it. Add tests that exercise breakpoint
19947 interaction with the code-cache.
19949 2014-02-26 Ludovic Courtès <ludo@gnu.org>
19951 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
19952 test for 'history-append!'.
19954 2014-02-26 Joel Brobecker <brobecker@adacore.com>
19956 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
19957 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
19958 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
19959 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
19960 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
19961 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
19963 2014-02-26 Joel Brobecker <brobecker@adacore.com>
19965 * testsuite/gdb.python/py-pp-re-notag.c: New file.
19966 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
19967 * testsuite/gdb.python/py-pp-re-notag.p: New file.
19969 2014-02-26 Joel Brobecker <brobecker@adacore.com>
19971 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
19973 2014-02-26 Joel Brobecker <brobecker@adacore.com>
19975 * gdb.dwarf2/arr-stride.c: New file.
19976 * gdb.dwarf2/arr-stride.exp: New file.
19978 2014-02-26 Pedro Alves <palves@redhat.com>
19980 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
19981 that won't ever trigger. Make sure that GDB reports the correct
19982 breakpoint that caused the stop.
19984 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
19987 * gdb.base/auto-load-script: New file.
19988 * gdb.base/auto-load.c: New file.
19989 * gdb.base/auto-load.exp: New file.
19992 * gdb.base/auto-load.exp: Fix out-of-srctree run.
19994 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
19996 Fix dw2-icycle.exp -fsanitize=address GDB crash.
19997 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
19999 2014-02-24 Doug Evans <dje@google.com>
20001 * lib/gdb.exp (run_on_host): Log error output if program fails.
20003 2014-02-21 Pedro Alves <palves@redhat.com>
20005 * gdb.threads/step-after-sr-lock.c: Rename to ...
20006 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
20007 * gdb.threads/step-after-sr-lock.exp: Rename to ...
20008 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
20011 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
20014 * gdb.arch/amd64-stap-special-operands.exp: New file.
20015 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
20016 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
20017 * gdb.arch/amd64-stap-triplet.S: Likewise.
20018 * gdb.arch/amd64-stap-triplet.c: Likewise.
20020 2014-02-20 Joel Brobecker <brobecker@adacore.com>
20022 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
20023 in .section pseudo-op.
20025 2014-02-20 lin zuojian <manjian2006@gmail.com>
20026 Joel Brobecker <brobecker@adacore.com>
20027 Doug Evans <xdje42@gmail.com>
20030 * gdb.dwarf2/dw2-icycle.S: New file.
20031 * gdb.dwarf2/dw2-icycle.c: New file.
20032 * gdb.dwarf2/dw2-icycle.exp: New file.
20034 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
20036 * gdb.python/py-value-cc.cc: Improve test case to enable testing
20037 operations on gdb.Value objects.
20038 * gdb.python/py-value-cc.exp: Add new test to test operations on
20041 2014-02-18 Doug Evans <dje@google.com>
20043 * Makefile.in (TESTS): New variable.
20044 (expanded_tests, expanded_tests_or_none): New variables
20045 (check-single): Pass $(expanded_tests_or_none) to runtest.
20046 (check-parallel): Only run tests in $(TESTS) if non-empty.
20047 (check/no-matching-tests-found): New rule.
20048 * README: Document TESTS makefile variable.
20050 2014-02-18 Doug Evans <dje@google.com>
20052 * Makefile.in (check-parallel): rm -rf outputs temp.
20054 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
20056 Fix "ERROR: no fileid for" in the testsuite.
20057 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
20059 2014-02-12 Doug Evans <dje@google.com>
20061 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
20062 (MISCELLANEOUS): New variable.
20063 (clean): rm -rf $(MISCELLANEOUS).
20064 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
20065 dwp live in the same directory as symlinks, with each symlink pointed
20066 to a differently named file in a different directory.
20068 2014-02-11 Doug Evans <dje@google.com>
20070 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
20071 of Tcl file commands.
20073 2014-02-10 Mark Kettenis <kettenis@gnu.org>
20075 * gdb.threads/step-after-sr-lock.exp: Avoid executing
20076 "kill -SIGUSR1 -1".
20078 2014-02-10 Joel Brobecker <brobecker@adacore.com>
20080 * gdb.ada/tick_length_array_enum_idx: New testcase.
20082 2014-02-10 Doug Evans <xdje42@gmail.com>
20084 * configure.ac (AC_OUTPUT): Add gdb.guile.
20085 * configure: Regenerate.
20086 * lib/gdb-guile.exp: New file.
20087 * lib/gdb.exp (get_target_charset): New function.
20088 * gdb.base/help.exp: Update expected output from "apropos apropos".
20089 * gdb.guile/Makefile.in: New file.
20090 * gdb.guile/guile.exp: New file.
20091 * gdb.guile/scm-arch.c: New file.
20092 * gdb.guile/scm-arch.exp: New file.
20093 * gdb.guile/scm-block.c: New file.
20094 * gdb.guile/scm-block.exp: New file.
20095 * gdb.guile/scm-breakpoint.c: New file.
20096 * gdb.guile/scm-breakpoint.exp: New file.
20097 * gdb.guile/scm-disasm.c: New file.
20098 * gdb.guile/scm-disasm.exp: New file.
20099 * gdb.guile/scm-equal.c: New file.
20100 * gdb.guile/scm-equal.exp: New file.
20101 * gdb.guile/scm-error.exp: New file.
20102 * gdb.guile/scm-error.scm: New file.
20103 * gdb.guile/scm-frame-args.c: New file.
20104 * gdb.guile/scm-frame-args.exp: New file.
20105 * gdb.guile/scm-frame-args.scm: New file.
20106 * gdb.guile/scm-frame-inline.c: New file.
20107 * gdb.guile/scm-frame-inline.exp: New file.
20108 * gdb.guile/scm-frame.c: New file.
20109 * gdb.guile/scm-frame.exp: New file.
20110 * gdb.guile/scm-generics.exp: New file.
20111 * gdb.guile/scm-gsmob.exp: New file.
20112 * gdb.guile/scm-iterator.c: New file.
20113 * gdb.guile/scm-iterator.exp: New file.
20114 * gdb.guile/scm-math.c: New file.
20115 * gdb.guile/scm-math.exp: New file.
20116 * gdb.guile/scm-objfile-script-gdb.in: New file.
20117 * gdb.guile/scm-objfile-script.c: New file.
20118 * gdb.guile/scm-objfile-script.exp: New file.
20119 * gdb.guile/scm-objfile.c: New file.
20120 * gdb.guile/scm-objfile.exp: New file.
20121 * gdb.guile/scm-ports.exp: New file.
20122 * gdb.guile/scm-pretty-print.c: New file.
20123 * gdb.guile/scm-pretty-print.exp: New file.
20124 * gdb.guile/scm-pretty-print.scm: New file.
20125 * gdb.guile/scm-section-script.c: New file.
20126 * gdb.guile/scm-section-script.exp: New file.
20127 * gdb.guile/scm-section-script.scm: New file.
20128 * gdb.guile/scm-symbol.c: New file.
20129 * gdb.guile/scm-symbol.exp: New file.
20130 * gdb.guile/scm-symtab-2.c: New file.
20131 * gdb.guile/scm-symtab.c: New file.
20132 * gdb.guile/scm-symtab.exp: New file.
20133 * gdb.guile/scm-type.c: New file.
20134 * gdb.guile/scm-type.exp: New file.
20135 * gdb.guile/scm-value-cc.cc: New file.
20136 * gdb.guile/scm-value-cc.exp: New file.
20137 * gdb.guile/scm-value.c: New file.
20138 * gdb.guile/scm-value.exp: New file.
20139 * gdb.guile/source2.scm: New file.
20140 * gdb.guile/types-module.cc: New file.
20141 * gdb.guile/types-module.exp: New file.
20143 2014-02-10 Yao Qi <yao@codesourcery.com>
20146 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
20147 * configure: Regenerated.
20148 * Makefile.in: New file.
20150 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
20152 * gdb.python/py-framefilter.exp: Fix typo.
20154 2014-02-08 Yao Qi <yao@codesourcery.com>
20156 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
20157 that no =breakpoint-modified is emitted when breakpoints are
20158 modified through MI commands.
20160 2014-02-07 Pedro Alves <pedro@codesourcery.com>
20161 Pedro Alves <palves@redhat.com>
20163 * gdb.threads/step-after-sr-lock.c: New file.
20164 * gdb.threads/step-after-sr-lock.exp: New file.
20166 2014-02-07 Pedro Alves <palves@redhat.com>
20168 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
20170 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
20172 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
20173 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
20175 2014-02-06 Doug Evans <xdje42@gmail.com>
20177 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
20180 * gdb.gdb/python-interrupts.exp: New file.
20182 2014-02-05 Yao Qi <yao@codesourcery.com>
20184 * gdb.trace/report.exp (use_collected_data): Test the output
20185 of "info threads" and "info inferiors".
20187 2014-02-05 Yao Qi <yao@codesourcery.com>
20191 2013-05-24 Yao Qi <yao@codesourcery.com>
20193 * gdb.trace/tfile.exp: Test inferior and thread.
20195 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20197 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
20199 * gdb.base/step-bt.c: Call hello via function pointer to make
20200 sure its first instruction is executed on powerpc64le-linux.
20202 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20204 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
20206 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20208 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
20209 of the test patterns for use on little-endian systems.
20211 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20213 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
20214 (decimal_vector): Fix for little-endian.
20216 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
20218 * gdb.arch/sparc-sysstep.exp: New file.
20219 * gdb.arch/sparc-sysstep.c: Likewise.
20221 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
20223 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20225 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
20227 2014-01-23 Tom Tromey <tromey@redhat.com>
20229 * gdb.ada/array_char_idx: New testcase.
20231 2014-01-23 Tom Tromey <tromey@redhat.com>
20234 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
20235 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
20238 2014-01-23 Tom Tromey <tromey@redhat.com>
20241 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
20242 string from an inferior frame.
20243 * gdb.python/py-framefilter-mi.exp: Update.
20245 2014-01-22 Doug Evans <dje@google.com>
20247 * gdb.server/server-mon.exp: Add tests for "set debug-format".
20249 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20251 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
20253 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20255 * gdb.trace/entry-values.exp: Remove excess space character from
20256 regex patterns. Handle s390 call instruction.
20258 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20260 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
20261 define "*_start" label. Make "name" static.
20262 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
20263 ${name} by references to ${name}_start.
20265 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20267 * gdb.base/info-macros.exp: Remove "debug" from the compile
20270 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
20272 * gdb.dlang/demangle.exp: New file.
20274 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
20276 * gdb.dlang/primitive-types.exp: New file.
20278 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
20280 * configure.ac: Create gdb.dlang/Makefile.
20281 * configure: Regenerate.
20282 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
20283 * gdb.dlang/Makefile.in: New file.
20284 * lib/d-support.exp: New file.
20285 * lib/gdb.exp (skip_d_tests): New proc.
20287 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20289 * gdb.btrace/delta.exp: Check reverse stepi.
20290 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
20291 * gdb.btrace/finish.exp: New.
20292 * gdb.btrace/next.exp: New.
20293 * gdb.btrace/nexti.exp: New.
20294 * gdb.btrace/record_goto.c: Add comments.
20295 * gdb.btrace/step.exp: New.
20296 * gdb.btrace/stepi.exp: New.
20297 * gdb.btrace/multi-thread-step.c: New.
20298 * gdb.btrace/multi-thread-step.exp: New.
20299 * gdb.btrace/rn-dl-bind.c: New.
20300 * gdb.btrace/rn-dl-bind.exp: New.
20301 * gdb.btrace/data.c: New.
20302 * gdb.btrace/data.exp: New.
20303 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
20305 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20307 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
20308 * gdb.btrace/exception.exp: Update.
20309 * gdb.btrace/instruction_history.exp: Update.
20310 * gdb.btrace/record_goto.exp: Update.
20311 * gdb.btrace/tailcall.exp: Update.
20312 * gdb.btrace/unknown_functions.exp: Update.
20313 * gdb.btrace/delta.exp: New.
20315 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20317 * gdb.btrace/record_goto.exp: Add backtrace test.
20318 * gdb.btrace/tailcall.exp: Add backtrace test.
20320 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20322 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
20323 * gdb.btrace/record_goto.c: New.
20324 * gdb.btrace/record_goto.exp: New.
20325 * gdb.btrace/x86-record_goto.S: New.
20327 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20329 * gdb.btrace/function_call_history.exp: Update tests.
20330 * gdb.btrace/instruction_history.exp: Update tests.
20332 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20334 * gdb.btrace/function_call_history.exp: Fix expected field
20335 order for "record function-call-history".
20336 Add new tests for "record function-call-history /c".
20337 * gdb.btrace/exception.cc: New.
20338 * gdb.btrace/exception.exp: New.
20339 * gdb.btrace/tailcall.exp: New.
20340 * gdb.btrace/x86-tailcall.S: New.
20341 * gdb.btrace/x86-tailcall.c: New.
20342 * gdb.btrace/unknown_functions.c: New.
20343 * gdb.btrace/unknown_functions.exp: New.
20344 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
20346 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20348 * gdb.btrace/instruction_history.exp: Update.
20349 * gdb.btrace/function_call_history.exp: Update.
20351 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20353 * gdb.btrace/function_call_history.exp: Fix expected function
20355 * gdb.btrace/instruction_history.exp: Initialize traced.
20356 Remove traced_functions.
20358 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20360 * gdb.btrace/function_call_history.exp: Update
20361 * gdb.btrace/instruction_history.exp: Update.
20363 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20365 * gdb.btrace/enable.exp: Update expected text.
20367 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
20369 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
20372 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
20374 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
20376 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
20378 * lib/gdb.exp (supports_process_record): Return true for
20379 arm*-linux*. (supports_reverse): Likewise.
20381 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
20385 * gdb.python/py-type.c: Enhance test case.
20386 * gdb.python/py-value-cc.cc: Likewise
20387 * gdb.python/py-type.exp: Add new tests.
20388 * gdb.python/py-value-cc.exp: Likewise
20390 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
20391 Pedro Alves <palves@redhat.com>
20393 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
20394 Make "name" extern.
20395 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
20396 references to ${name}_start by references to ${name}.
20398 2014-01-10 Joel Brobecker <brobecker@adacore.com>
20400 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
20402 2014-01-10 Joel Brobecker <brobecker@adacore.com>
20404 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
20406 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
20407 Pedro Alves <palves@redhat.com>
20409 * gdb.mi/mi-info-os.exp: Connect to the target with
20410 mi_gdb_target_load.
20412 2014-01-08 Pedro Alves <palves@redhat.com>
20414 * gdb.threads/reconnect-signal.c: New file.
20415 * gdb.threads/reconnect-signal.exp: New file.
20417 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
20419 * gdb.base/source-dir.exp: New file.
20421 2014-01-07 Joel Brobecker <brobecker@adacore.com>
20423 * gdb.ada/mi_interface: New testcase.
20425 2014-01-07 Joel Brobecker <brobecker@adacore.com>
20427 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
20428 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
20429 gdb.ada/pp-rec-component/pck.ads: New files.
20431 2014-01-07 Joel Brobecker <brobecker@adacore.com>
20433 * gdb.python/py-pp-integral.c: New file.
20434 * gdb.python/py-pp-integral.py: New file.
20435 * gdb.python/py-pp-integral.exp: New file.
20437 For older changes see ChangeLog-1993-2013.
20439 ;; Local Variables:
20440 ;; mode: change-log
20443 ;; version-control: never
20446 Copyright 2014-2020 Free Software Foundation, Inc.
20447 Copying and distribution of this file, with or without modification,
20448 are permitted provided the copyright notice and this notice are preserved.