1 2020-07-03 Pedro Alves <palves@redhat.com>
3 * gdb.base/call-sc.exp (start_scalars_test): Use
4 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
5 * gdb.base/overlays.c: Remove references to PARAMS.
6 * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references.
7 * gdb.base/reread.exp: Don't set 'prototypes' global.
8 * gdb.base/structs.exp (start_structs_test): Use
9 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
10 * gdb.base/structs2.exp: Don't set 'prototypes' global. Use
11 prepare_for_testing and don't try compiling with -DNO_PROTOTYPES.
12 Don't issue "set width 0". Remove gdb_stop_suppressing_tests
14 * gdb.base/varargs.exp: Don't set 'prototypes' global.
16 2020-07-03 Pedro Alves <palves@redhat.com>
18 * gdb.base/m32rovly.c: Delete.
19 * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__.
21 2020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
23 * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
24 of gdb_py_test_multiple.
25 * gdb.python/py-cmd.exp: Likewise.
26 * gdb.python/py-events.exp: Likewise.
27 * gdb.python/py-function.exp: Likewise.
28 * gdb.python/py-inferior.exp: Likewise.
29 * gdb.python/py-infthread.exp: Likewise.
30 * gdb.python/py-linetable.exp: Likewise.
31 * gdb.python/py-parameter.exp: Likewise.
32 * gdb.python/py-value.exp: Likewise.
34 2020-06-30 Tom de Vries <tdevries@suse.de>
37 * lib/future.exp (gdb_default_target_compile): Detect and handle
40 2020-06-29 Simon Marchi <simon.marchi@efficios.com>
42 * boards/simavr.exp (gdb_load): Catch errors when closing
43 previous connection. Close connection, wait for process and
44 unset simavr_spawn_id on failure.
46 2020-06-29 Tom de Vries <tdevries@suse.de>
48 * lib/gdb.exp (unknown): Make test-case unresolved.
50 2020-06-29 Tom de Vries <tdevries@suse.de>
53 * gdb.server/solib-list.exp: Verify that the symbol reload
54 confirmation question is asked.
56 2020-06-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>
58 * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
59 have a input seq nr in each pass message.
60 * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
61 * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
62 * gdb.python/python.exp: Make test names unique,
63 use gdb_test_multiline instead of gdb_py_test_multiple,
65 * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
67 2020-06-26 Nick Alcock <nick.alcock@oracle.com>
69 * configure.ac: Add --enable-libctf.
70 * aclocal.m4: sinclude ../config/enable.m4.
71 * Makefile.in (site.exp): Add enable_libctf to site.exp.
72 * lib/gdb.exp (skip_ctf_tests): Use it.
73 * gdb.base/ctf-constvars.exp: Error message tweak.
74 * gdb.base/ctf-ptype.exp: Likewise.
75 * configure: Regenerate.
77 2020-06-26 Gary Benson <gbenson@redhat.com>
79 * gdb.cp/try_catch.cc: Include string.h.
80 (main): Replace comparison against string literal with
81 strcmp, avoiding build failure with -Wstring-compare.
82 Add "marker test-complete".
83 * gdb.cp/try_catch.exp: Run the test to the above marker,
84 then verify that the value of "test" is still true.
86 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
88 * gdb.arch/riscv-tdesc-regs.exp: New test cases.
90 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
92 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
94 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
96 * gdb.arch/riscv-tdesc-loading-01.xml: New file.
97 * gdb.arch/riscv-tdesc-loading-02.xml: New file.
98 * gdb.arch/riscv-tdesc-loading-03.xml: New file.
99 * gdb.arch/riscv-tdesc-loading-04.xml: New file.
100 * gdb.arch/riscv-tdesc-loading.exp: New file.
102 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
104 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
106 2020-06-25 Andrew Burgess <andrew.burgess@embecosm.com>
108 * gdb.arch/riscv-tdesc-regs-32.xml: New file.
109 * gdb.arch/riscv-tdesc-regs-64.xml: New file.
110 * gdb.arch/riscv-tdesc-regs.c: New file.
111 * gdb.arch/riscv-tdesc-regs.exp: New file.
113 2020-06-24 Pedro Alves <palves@redhat.com>
115 * gdb.arch/amd64-entry-value-paramref.exp: Use
116 prepare_for_testing_full and don't pass "c++" for the .S file
118 * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
119 $options, since it's an assembly file. Remove -Wno-deprecated.
120 * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
121 compiling C++ programs.
123 2020-06-24 Pedro Alves <palves@redhat.com>
125 * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with
126 Clang, add "-Wno-unknown-warning-option" to the options.
128 2020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
130 * gdb.xml/tdesc-reload.c: New file.
131 * gdb.xml/tdesc-reload.exp: New file.
132 * gdb.xml/maint-xml-dump-01.xml: New file.
133 * gdb.xml/maint-xml-dump-02.xml: New file.
134 * gdb.xml/maint-xml-dump.exp: New file.
136 2020-06-23 Sandra Loosemore <sandra@codesourcery.com>
138 * lib/completion-support.exp (test_gdb_completion_offers_commands):
139 Adjust for omitted commands when TUI is disabled.
141 2020-06-23 Gary Benson <gbenson@redhat.com>
142 Pedro Alves <palves@redhat.com>
144 * gdb.cp/namespace.cc: Improve -Wunused-value fix.
145 * gdb.cp/nsimport.cc: Likewise.
146 * gdb.cp/nsnested.cc: Likewise.
147 * gdb.cp/nsnoimports.cc: Likewise.
148 * gdb.cp/nsusing.cc: Likewise.
149 * gdb.cp/smartp.cc: Likewise.
150 * gdb.python/py-pp-integral.c: Likewise.
151 * gdb.python/py-pp-re-notag.c: Likewise.
153 2020-06-23 Gary Benson <gbenson@redhat.com>
155 * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
156 * gdb.cp/nsimport.cc: Likewise.
157 * gdb.cp/nsnested.cc: Likewise.
158 * gdb.cp/nsnoimports.cc: Likewise.
159 * gdb.cp/nsusing.cc: Likewise.
160 * gdb.cp/smartp.cc: Likewise.
161 * gdb.python/py-pp-integral.c: Likewise.
162 * gdb.python/py-pp-re-notag.c: Likewise.
164 2020-06-22 Philippe Waroquiers <philippe.waroquiers@skynet.be>
166 * gdb.base/default-args.exp: New test.
167 * gdb.base/default-args.c: New file.
168 * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
169 * gdb.base/default.exp: Update to new help text.
170 * gdb.base/help.exp: Likewise.
171 * gdb.base/page.exp: Likewise.
172 * gdb.base/style.exp: Likewise.
173 * gdb.guile/guile.exp: Likewise.
174 * gdb.python/python.exp: Likewise.
176 2020-06-22 Sandra Loosemore <sandra@codesourcery.com>
178 * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
179 remote host. Fix search path syntax on Windows host.
181 2020-06-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
183 * gdb.base/attach.exp: Test priority of 'exec-file' changed
184 over 'exec-file-mismatch'.
185 * gdb.base/attach.c: Mark should_exit volatile.
186 * gdb.base/attach2.c: Likewise. Add a comment explaining
187 why the sleep cannot be big.
188 * gdb.base/attach3.c: New file.
190 2020-06-20 Sandra Loosemore <sandra@codesourcery.com>
192 * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
195 2020-06-20 Sandra Loosemore <sandra@codesourcery.com>
197 * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
200 2020-06-19 Sandra Loosemore <sandra@codesourcery.com>
201 Hafiz Abid Qadeer <abidh@codesourcery.com>
203 * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
204 file sent to remote host.
205 (top level): Allow int32_t as type of 32-bit register.
207 2020-06-19 Tom de Vries <tdevries@suse.de>
209 * lib/gdb.exp (gdb_note): New proc.
210 * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
211 (gdb_default_target_compile): ... here. Only call
212 gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
213 (use_gdb_compile): Change to array.
214 (toplevel): Update sets of use_gdb_compile to specify language.
215 Warn about default_target_compile override. Store dejagnu's version
216 of default_target_compile in dejagnu_default_target_compile.
218 2020-06-18 Tom de Vries <tdevries@suse.de>
220 * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
221 (default_gdb_init): ... here.
223 2020-06-17 Sandra Loosemore <sandra@codesourcery.com>
225 Fix TUI support checks in gdb.tui tests.
227 * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
228 just say UNSUPPORTED.
229 * gdb.tui/corefile-run.exp: Likewise.
230 * gdb.tui/empty.exp: Likewise.
231 * gdb.tui/list-before.exp: Likewise.
232 * gdb.tui/list.exp: Likewise.
233 * gdb.tui/main.exp: Likewise.
234 * gdb.tui/regs.exp: Likewise.
235 * gdb.tui/resize.exp: Likewise.
236 * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
237 * gdb.tui/tui-layout-asm.exp: Likewise.
238 * gdb.tui/tui-missing-src.exp: Likewise.
239 * gdb.tui/winheight.exp: Likewise.
240 * gdb.tui/new-layout.exp: Likewise. Also move check earlier.
242 2020-06-17 Sandra Loosemore <sandra@codesourcery.com>
244 Fix TCL error in gdb.python/py-format-string.exp.
246 * gdb.python/py-format-string.exp: Move test for python support
247 earlier, out of function body.
249 2020-06-15 Simon Marchi <simon.marchi@efficios.com>
251 * gdb.base/index-cache-load-twice.c: New.
252 * gdb.base/index-cache-load-twice.exp: New.
254 2020-06-17 Keith Seitz <keiths@redhat.com>
256 * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
257 when executing "gdb --configuration".
259 2020-06-17 Tom de Vries <tdevries@suse.de>
261 * lib/gdb.exp (gdb_tcl_unknown): New proc.
262 (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override
263 conditional on presence of gdb_tcl_unknown.
264 (gdb_finish): Make override undo conditional on presence of
267 2020-06-16 Tom Tromey <tom@tromey.com>
269 * gdb.python/tui-window.py (failwin): New function. Register it
270 as a TUI window type.
271 * gdb.python/tui-window.exp: Create new "fail" layout. Test it.
273 2020-06-16 Gary Benson <gbenson@redhat.com>
275 * gdb.python/py-nested-maps.c (create_map): Add missing return
277 (create_map_map): Likewise.
279 2020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
281 * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
283 * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
284 and use the already-defined 'options' variable.
286 2020-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
287 Tom de Vries <tdevries@suse.de>
289 * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
290 (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
291 (gdb_setup_known_globals): New proc.
292 (gdb_cleanup_globals): New proc.
293 * lib/gdb.exp (load_lib): New override proc.
294 (gdb_stdin_log_init): Set var in_file as persistent global.
295 * lib/pascal.exp (gdb_stdin_log_init): Set vars
296 pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
297 fpc_compiler as persistent global.
299 2020-06-12 Tom de Vries <tdevries@suse.de>
301 * lib/tuiterm.exp (spawn): Rename to ...
302 (tui_spawn): ... this.
303 (toplevel): Move rename of spawn ...
304 (gdb_init_tuiterm): ... here. New proc.
305 (gdb_finish_tuiterm): New proc.
306 * lib/gdb.exp (gdb_finish_hooks): New global var.
307 (gdb_finish): Handle gdb_finish_hooks.
308 (tuiterm_env): New proc.
309 * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
311 * gdb.tui/basic.exp: Same.
312 * gdb.tui/corefile-run.exp: Same.
313 * gdb.tui/empty.exp: Same.
314 * gdb.tui/list-before.exp: Same.
315 * gdb.tui/list.exp: Same.
316 * gdb.tui/main.exp: Same.
317 * gdb.tui/new-layout.exp: Same.
318 * gdb.tui/regs.exp: Same.
319 * gdb.tui/resize.exp: Same.
320 * gdb.tui/tui-layout-asm-short-prog.exp: Same.
321 * gdb.tui/tui-layout-asm.exp: Same.
322 * gdb.tui/tui-missing-src.exp: Same.
323 * gdb.tui/winheight.exp: Same.
325 2020-06-12 Tom de Vries <tdevries@suse.de>
328 * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
329 (gdb_finish): Reinstall dejagnu's override of ::unknown.
331 2020-06-11 Tom Tromey <tom@tromey.com>
334 * gdb.base/printcmds.exp (test_float_accepted): Add more hex
335 floating point tests.
337 2020-06-11 Keith Seitz <keiths@redhat.com>
340 * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
342 Add new struct vla_typedef and union vla_typedef_union and
343 corresponding instantiation objects.
344 Initialize new objects.
345 * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
346 and vla_typedef_union_object.
347 Fixup type for vla_struct_object.
349 2020-06-11 Tom de Vries <tdevries@suse.de>
351 * lib/gdb.exp (with_override): New proc, factored out of ...
352 * gdb.base/dbx.exp: ... here. Use with_override and save_vars.
354 2020-06-10 Tom de Vries <tdevries@suse.de>
356 * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
358 2020-06-09 Simon Marchi <simon.marchi@polymtl.ca>
360 * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
361 parameter, update callers.
363 2020-06-04 Simon Marchi <simon.marchi@efficios.com>
365 * gdb.dwarf2/share-psymtabs-bt.exp: New file.
366 * gdb.dwarf2/share-psymtabs-bt.c: New file.
367 * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
369 2020-06-04 Tom de Vries <tdevries@suse.de>
371 * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
373 2020-06-04 Tom de Vries <tdevries@suse.de>
375 * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
378 2020-06-04 Tom de Vries <tdevries@suse.de>
380 * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
382 2020-06-03 Tom de Vries <tdevries@suse.de>
385 * gdb.cp/breakpoint-locs-2.cc: New test.
386 * gdb.cp/breakpoint-locs.cc: New test.
387 * gdb.cp/breakpoint-locs.exp: New file.
388 * gdb.cp/breakpoint-locs.h: New test.
390 2020-06-03 Tom de Vries <tdevries@suse.de>
393 * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
394 value of global verbose.
395 * gdb.base/jit-elf.exp: Same.
396 * gdb.base/jit-reader.exp: Same.
398 2020-06-02 Tom de Vries <tdevries@suse.de>
400 * gdb.dwarf2/multidictionary.exp: Don't use
401 gdb_spawn_with_cmdline_opts.
403 2020-06-01 Andrew Burgess <andrew.burgess@embecosm.com>
405 * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
407 * gdb.dwarf2/dw2-inline-header-1.exp: New file.
408 * gdb.dwarf2/dw2-inline-header-2.exp: New file.
409 * gdb.dwarf2/dw2-inline-header-3.exp: New file.
410 * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
411 * gdb.dwarf2/dw2-inline-header.c: New file.
412 * gdb.dwarf2/dw2-inline-header.h: New file.
414 2020-05-30 Pedro Alves <palves@redhat.com>
416 * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
417 * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
419 2020-05-29 Gary Benson <gbenson@redhat.com>
421 * gdb.compile/compile-cplus.exp (additional_flags): Also
422 set when building with clang.
423 (additional_flags, srcfilesoptions): Pass -Wno-deprecated
424 when building with clang.
426 2020-05-29 Gary Benson <gbenson@redhat.com>
428 * gdb.arch/i386-avx.exp (additional_flags): Also set when
430 * gdb.arch/i386-sse.exp (additional_flags): Likewise.
432 2020-05-29 Gary Benson <gbenson@redhat.com>
434 * gdb.cp/koenig.exp (prepare_for_testing): Add
435 additional_flags=-Wno-unused-comparison.
436 * gdb.cp/operator.exp (prepare_for_testing): Likewise.
438 2020-05-28 Gary Benson <gbenson@redhat.com>
440 * gdb.base/sigaltstack.c (catcher): Add default case to switch
443 2020-05-28 Gary Benson <gbenson@redhat.com>
445 * gdb.cp/classes.exp (prepare_for_testing): Add
446 additional_flags=-Wno-deprecated-register.
447 * gdb.cp/inherit.exp (prepare_for_testing): Likewise.
448 * gdb.cp/misc.exp: Likewise.
450 2020-05-28 Gary Benson <gbenson@redhat.com>
452 * gdb.linespec/cpls-ops.cc (dummy): New static global.
453 (test_op_new::operator new): Add return statement.
454 (test_op_new_array::operator new[]): Likewise.
456 2020-05-27 Pedro Alves <palves@redhat.com>
458 * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used
459 check. Use test_gdb_complete_unique instead of
460 test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use
461 test_gdb_complete_multiple instead of
462 test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple.
464 2020-05-27 Luis Machado <luis.machado@linaro.org>
466 * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names.
467 * gdb.arch/aarch64-tagged-pointer.exp: Likewise.
468 * gdb.arch/arm-disassembler-options.exp: Likewise.
469 * gdb.arch/arm-disp-step.exp: Likewise.
470 * gdb.arch/thumb-prologue.exp: Likewise.
471 * gdb.base/async.exp: Likewise.
472 * gdb.base/auxv.exp: Likewise.
473 * gdb.base/complex-parts.exp: Likewise.
474 * gdb.base/ena-dis-br.exp: Likewise.
475 * gdb.base/foll-exec.exp: Likewise.
476 * gdb.base/permissions.exp: Likewise.
477 * gdb.base/relocate.exp: Likewise.
478 * gdb.base/return2.exp: Likewise.
479 * gdb.base/sigbpt.exp: Likewise.
480 * gdb.base/siginfo-obj.exp: Likewise.
481 * gdb.cp/converts.exp: Likewise.
482 * gdb.cp/exceptprint.exp: Likewise.
483 * gdb.cp/inherit.exp: Likewise.
484 * gdb.cp/nsnoimports.exp: Likewise.
485 * gdb.cp/virtbase2.exp: Likewise.
486 * gdb.mi/mi-var-cmd.exp: Likewise.
487 * gdb.mi/var-cmd.c: Likewise.
489 2020-05-26 Tom Tromey <tromey@adacore.com>
491 * gdb.ada/arr_acc_idx_w_gap.exp: Add tests.
493 2020-05-26 Tom Tromey <tromey@adacore.com>
495 * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests.
496 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New
498 * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New
501 2020-05-26 Christian Biesinger <cbiesinger@google.com>
503 * Makefile.in: Use = instead of == for the test command
506 2020-05-26 Tom de Vries <tdevries@suse.de>
508 * gdb.base/gold-gdb-index-2.c: New test.
509 * gdb.base/gold-gdb-index.c: New test.
510 * gdb.base/gold-gdb-index.exp: New file.
511 * gdb.base/gold-gdb-index.h: New test.
513 2020-05-25 Tom de Vries <tdevries@suse.de>
515 * boards/gold-gdb-index.exp: New file.
517 2020-05-25 Simon Marchi <simon.marchi@efficios.com>
519 * boards/simavr.exp: New file.
521 2020-05-25 Simon Marchi <simon.marchi@efficios.com>
523 * lib/gdb.exp (gdb_run_cmd): Return success or failure.
524 * gdb.base/inferior-args.exp: New file.
525 * gdb.base/inferior-args.c: New file.
527 2020-05-25 Simon Marchi <simon.marchi@efficios.com>
529 * lib/gdb.exp (gdb_run_cmd): Change argument from args to
530 inferior_args. Pass it to gdb_reload.
531 (gdb_start_cmd, gdb_starti_cmd): Change argument from args to
533 (gdb_reload): Add inferior_args argument.
534 * config/gdbserver.exp (gdb_reload): Add inferior_args argument,
535 pass it to gdbserver_run.
536 * boards/native-gdbserver.exp: Do not set noargs.
537 * boards/native-extended-gdbserver.exp (gdb_reload): Add
538 inferior_args argument.
539 * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise.
540 * gdb.base/a2-run.exp: Check for use_gdb_stub.
541 * gdb.base/args.exp: Likewise.
543 2020-05-25 Tom de Vries <tdevries@suse.de>
545 * lib/gdb.exp (exec_is_pie): Add comment.
547 2020-05-25 Tom de Vries <tdevries@suse.de>
549 * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
550 instead of $binfile in the untested message.
552 2020-05-25 Tom de Vries <tdevries@suse.de>
555 * lib/gdb.exp (exec_is_pie): Test readelf -h output.
557 2020-05-25 Tom de Vries <tdevries@suse.de>
559 * boards/gold.exp: New file.
561 2020-05-23 Tom Tromey <tom@tromey.com>
563 * gdb.base/style.exp: Remove completion styling test.
564 * lib/gdb-utils.exp (style): Remove completion styles.
566 2020-05-23 Tom Tromey <tom@tromey.com>
568 * gdb.base/style.exp: Add completion styling test.
569 * lib/gdb-utils.exp (style): Add completion styles.
571 2020-05-22 Andrew Burgess <andrew.burgess@embecosm.com>
573 * gdb.base/annota1.exp: Update expected results.
574 * gdb.cp/annota2.exp: Update expected results, remove duplicate
576 * gdb.cp/annota3.exp: Update expected results.
578 2020-05-20 Simon Marchi <simon.marchi@efficios.com>
581 * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val
583 * gdb.base/coremaker.c (mmapdata): Likewise.
584 * gdb.base/jit-reader-host.c (main): Likewise.
585 * gdb.base/sym-file-loader.c (load): Likewise.
586 (load_shlib): Likewise.
588 2020-05-20 Tom Tromey <tromey@adacore.com>
590 * gdb.ada/array_char_idx.exp: Recognize initialized array.
592 2020-05-20 Tom de Vries <tdevries@suse.de>
595 * gdb.base/with-mf-inc.c: New test.
596 * gdb.base/with-mf-main.c: New test.
597 * gdb.base/with-mf.exp: New file.
599 2020-05-19 Tom Tromey <tromey@adacore.com>
601 * gdb.rust/simple.exp: Restore missing test result.
603 2020-05-19 Tom de Vries <tdevries@suse.de>
605 * gdb.base/gdb-caching-proc.exp: Fix typo.
607 2020-05-19 Tom Tromey <tromey@adacore.com>
609 * gdb.rust/simple.exp: Add some test descriptions.
610 (test_one_slice): Use with_test_prefix.
612 2020-05-18 Tom de Vries <tdevries@suse.de>
614 * gdb.base/gdb-caching-proc.exp: Use with_test_prefix.
616 2020-05-17 Pedro Alves <palves@redhat.com>
619 * gdb.base/hw-sw-break-same-address.exp: New file.
621 2020-05-16 Pedro Alves <palves@redhat.com>
623 * gdb.multi/multi-re-run.exp (test_re_run): Switch
624 LAST_LOADED_FILE accordingly.
626 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
628 * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases.
630 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
632 * gdb.base/help.exp: Test apropos and help for commands
633 having aliases. Fixed comments not starting with an
634 upper-case letter or not finishing with a dot.
636 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
638 * gdb.base/alias.exp: Update help output check.
640 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
642 * gdb.base/default.exp: Update output following fixes.
644 2020-05-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
646 * gdb.base/alias.exp: Test aliases starting with a prefix of
649 2020-05-15 Gary Benson <gbenson@redhat.com>
651 * gdb.base/info-os.c (main): Add return statement.
652 * gdb.base/info_minsym.c (minsym_fun): Likewise.
653 * gdb.base/large-frame-2.c (func): Likewise.
654 * gdb.base/pr10179-a.c (foo1, bar1): Likewise.
655 * gdb.base/pr10179-b.c (foo2): Likewise.
656 * gdb.base/valgrind-disp-step.c (foo): Likewise.
657 * gdb.base/watch-cond.c (func): Likewise.
658 * gdb.multi/goodbye.c (verylongfun): Likewise.
659 * gdb.multi/hello.c (commonfun): Likewise.
660 * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise.
661 * gdb.threads/fork-plus-threads.c (thread_func): Likewise.
662 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
664 * gdb.threads/hand-call-new-thread.c (foo): Likewise.
665 * gdb.threads/interrupt-while-step-over.c (child_function):
667 * gdb.trace/actions-changed.c (end): Likewise.
669 2020-05-15 Gary Benson <gbenson@redhat.com>
671 * gdb.opencl/callfuncs.exp: Report when test skipped.
672 * gdb.opencl/convs_casts.exp: Likewise.
673 * gdb.opencl/datatypes.exp: Likewise.
674 * gdb.opencl/operators.exp: Likewise.
675 * gdb.opencl/vec_comps.exp: Likewise.
677 2020-05-15 Tom de Vries <tdevries@suse.de>
679 * gdb.base/align.exp.in: Rename to ...
680 * gdb.base/align.exp.tcl: ... this.
681 * gdb.base/align-c++.exp: Update.
682 * gdb.base/align-c.exp: Update.
683 * gdb.base/all-architectures.exp.in: Rename to ...
684 * gdb.base/all-architectures.exp: ... this.
685 * gdb.base/all-architectures-0.exp: Update.
686 * gdb.base/all-architectures-1.exp: Update.
687 * gdb.base/all-architectures-2.exp: Update.
688 * gdb.base/all-architectures-3.exp: Update.
689 * gdb.base/all-architectures-4.exp: Update.
690 * gdb.base/all-architectures-5.exp: Update.
691 * gdb.base/all-architectures-6.exp: Update.
692 * gdb.base/all-architectures-7.exp: Update.
693 * gdb.base/infcall-nested-structs.exp.in: Rename to ...
694 * gdb.base/infcall-nested-structs.exp.tcl: ... this.
695 * gdb.base/infcall-nested-structs-c++.exp: Update.
696 * gdb.base/infcall-nested-structs-c.exp: Update.
697 * gdb.base/info-types.exp.in: Rename to ...
698 * gdb.base/info-types.exp.tcl: ... this.
699 * gdb.base/info-types-c++.exp: Update.
700 * gdb.base/info-types-c.exp: Update.
701 * gdb.base/max-depth.exp.in: Rename to ...
702 * gdb.base/max-depth.exp.tcl: ... this.
703 * gdb.base/max-depth-c++.exp: Update.
704 * gdb.base/max-depth-c.exp: Update.
705 * gdb.cp/cpexprs.exp.in: Rename to ...
706 * gdb.cp/cpexprs.exp.tcl: ... this.
707 * gdb.cp/cpexprs-debug-types.exp: Update.
708 * gdb.cp/cpexprs.exp: Update.
709 * gdb.cp/infcall-nodebug.exp.in: Rename to ...
710 * gdb.cp/infcall-nodebug.exp.tcl: ... this.
711 * gdb.cp/infcall-nodebug-c++-d0.exp: Update.
712 * gdb.cp/infcall-nodebug-c++-d1.exp: Update.
713 * gdb.cp/infcall-nodebug-c-d0.exp: Update.
714 * gdb.cp/infcall-nodebug-c-d1.exp: Update.
715 * gdb.dwarf2/clang-debug-names.exp.in: Rename to ...
716 * gdb.dwarf2/clang-debug-names.exp.tcl: ... this.
717 * gdb.dwarf2/clang-debug-names-2.exp: Update.
718 * gdb.dwarf2/clang-debug-names.exp: Update.
720 2020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
722 * lib/check-test-names.exp: Remove code that prevents this file
723 loading when tests are run in parallel.
725 2020-05-15 Pedro Alves <palves@redhat.com>
727 * gdb.multi/multi-kill.exp (start_inferior): Remove
728 'testpid' parameter. Refer to namespace variable directly.
729 (testpid): Declare as namespace variable.
731 2020-05-15 Pedro Alves <palves@redhat.com>
733 * gdb.multi/multi-kill.exp: Wrap in namespace.
734 (start_inferior): Add TESTPID parameter. Use it instead of the
736 (top level): Define empty TESTPID array, and pass it down to
739 2020-05-14 Tom de Vries <tdevries@suse.de>
741 * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
744 2020-05-14 Tom de Vries <tdevries@suse.de>
746 * gdb.base/align.exp: Split into ...
747 * gdb.base/align.exp.in: ...
748 * gdb.base/align-c++.exp: ...
749 * gdb.base/align-c.exp: ... these.
750 * gdb.base/infcall-nested-structs.exp: Split into ...
751 * gdb.base/infcall-nested-structs.exp.in: ...
752 * gdb.base/infcall-nested-structs-c++.exp: ...
753 * gdb.base/infcall-nested-structs-c.exp: ... these.
754 * gdb.base/info-types.exp: Split into ...
755 * gdb.base/info-types.exp.in: ...
756 * gdb.base/info-types-c++.exp: ...
757 * gdb.base/info-types-c.exp: ... these.
758 * gdb.base/max-depth.exp: Split into ...
759 * gdb.base/max-depth.exp.in: ...
760 * gdb.base/max-depth-c++.exp: ...
761 * gdb.base/max-depth-c.exp: ... these.
762 * gdb.cp/infcall-nodebug.exp: Split into ...
763 * gdb.cp/infcall-nodebug.exp.in: ...
764 * gdb.cp/infcall-nodebug-c++-d0.exp: ...
765 * gdb.cp/infcall-nodebug-c++-d1.exp: ...
766 * gdb.cp/infcall-nodebug-c-d0.exp: ...
767 * gdb.cp/infcall-nodebug-c-d1.exp: ... these.
769 2020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
770 Pedro Alves <palves@redhat.com>
772 * gdb.multi/multi-exit.c: New file.
773 * gdb.multi/multi-exit.exp: New file.
774 * gdb.multi/multi-kill.c: New file.
775 * gdb.multi/multi-kill.exp: New file.
777 2020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
779 * gdb.base/annota1.exp: Update the expected output.
780 * gdb.cp/annota2.exp: Ditto.
782 2020-05-12 Andrew Burgess <andrew.burgess@embecosm.com>
784 * lib/check-test-names.exp: Disable when testing is being run in
787 2020-05-12 Tom de Vries <tdevries@suse.de>
789 * gdb.base/jit-elf.exp: Fix string concat.
791 2020-05-12 Tom de Vries <tdevries@suse.de>
793 * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
796 2020-05-12 Tom de Vries <tdevries@suse.de>
798 * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
800 2020-05-12 Tom de Vries <tdevries@suse.de>
802 * gdb.ada/catch_ex.exp: Use with_test_prefix.
803 * gdb.ada/mi_catch_ex.exp: Same.
804 * gdb.ada/mi_catch_ex_hand.exp: Same.
806 2020-05-12 Tom de Vries <tdevries@suse.de>
808 * gdb.fortran/complex.exp: Use with_test_prefix.
810 2020-05-12 Tom de Vries <tdevries@suse.de>
812 * gdb.trace/passcount.exp: Fix test-names.
814 2020-05-12 Tom de Vries <tdevries@suse.de>
816 * gdb.pascal/gdb11492.exp: Use with_test_prefix.
818 2020-05-12 Tom de Vries <tdevries@suse.de>
820 * gdb.gdb/complaints.exp: Use with_test_prefix.
821 * gdb.xml/tdesc-regs.exp: Same.
822 * gdb.opt/inline-locals.exp: Fix test name.
824 2020-05-12 Tom de Vries <tdevries@suse.de>
826 * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix.
827 * gdb.dwarf2/dw2-bad-parameter-type.exp: Same.
828 * gdb.dwarf2/implref-struct.exp: Same.
829 * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type.
830 * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test.
832 2020-05-11 Simon Marchi <simon.marchi@polymtl.ca>
834 * gdb.base/jit-so.exp (one_jit_test): Change test name.
836 2020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
838 * lib/check-test-names.exp (all_test_names): New module variable.
839 (counts): Add 'duplicates' field.
840 (_check_duplicates): New procedure.
841 (check): Also check for duplicates.
842 (do_log_summary): Print duplicates count.
843 (do_reset_vars): Reset counter for duplicate test names, and
844 discard all know test names.
846 2020-05-11 Andrew Burgess <andrew.burgess@embecosm.com>
848 * lib/gdb.exp: Include check-test-names.exp library.
849 * lib/check-test-names.exp: New file.
851 2020-05-11 Tom de Vries <tdevries@suse.de>
853 * gdb.ada/packed_tagged.exp: Change kfail into xfail.
855 2020-05-11 Keith Seitz <keiths@redhat.com>
857 * gdb.ada/attr_ref_and_charlit.exp: Fix typo.
859 2020-05-11 Tom de Vries <tdevries@suse.de>
861 * gdb.cp/cpexprs.exp: Move everything except flags setting ...
862 * gdb.cp/cpexprs.exp.in: .. here.
863 * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of
866 2020-05-11 Keith Seitz <keiths@redhat.com>
868 * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses
870 * gdb.ada/arrayptr.exp: Likewise.
871 * gdb.ada/assign_arr.exp: Likewise.
872 * gdb.ada/attr_ref_and_charlit.exp: Likewise.
873 * gdb.ada/bp_on_var.exp: Likewise.
874 * gdb.ada/call_pn.exp: Likewise.
875 * gdb.ada/complete.exp: Likewise.
876 * gdb.ada/fun_overload_menu.exp: Likewise.
877 * gdb.ada/funcall_param.exp: Likewise.
878 * gdb.ada/funcall_ref.exp: Likewise.
879 * gdb.ada/packed_array_assign.exp: Likewise.
880 * gdb.ada/same_component_name.exp: Likewise.
881 * gdb.ada/type_coercion.exp: Likewise.
882 * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
883 * gdb.ada/variant_record_packed_array.exp: Likewise.
885 2020-05-11 Tom de Vries <tdevries@suse.de>
888 * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
890 * gdb.dwarf2/clang-debug-names.exp: ... here.
891 * gdb.dwarf2/clang-debug-names-2.exp: New file. Include
892 clang-debug-names.exp.in.
893 * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
894 * gdb.dwarf2/clang-debug-names-2.c: New test.
896 2020-05-10 Alok Kumar Sharma <alokkumar.sharma@amd.com>
898 * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
899 (fortran_runto_main): New Proc, fortran version of runto_main.
900 * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
901 * gdb.fortran/array-bounds.exp: Likewise.
902 * gdb.fortran/array-slices.exp: Likewise.
903 * gdb.fortran/block-data.exp: Likewise.
904 * gdb.fortran/charset.exp: Likewise.
905 * gdb.fortran/common-block.exp: Likewise.
906 * gdb.fortran/complex.exp: Likewise.
907 * gdb.fortran/derived-type-function.exp: Likewise.
908 * gdb.fortran/derived-type.exp: Likewise.
909 * gdb.fortran/info-modules.exp: Likewise.
910 * gdb.fortran/info-types.exp: Likewise.
911 * gdb.fortran/intrinsics.exp: Likewise.
912 * gdb.fortran/library-module.exp: Likewise.
913 * gdb.fortran/logical.exp: Likewise.
914 * gdb.fortran/max-depth.exp: Likewise.
915 * gdb.fortran/module.exp: Likewise.
916 * gdb.fortran/multi-dim.exp: Likewise.
917 * gdb.fortran/nested-funcs.exp: Likewise.
918 * gdb.fortran/print-formatted.exp: Likewise.
919 * gdb.fortran/print_type.exp: Likewise.
920 * gdb.fortran/printing-types.exp: Likewise.
921 * gdb.fortran/ptr-indentation.exp: Likewise.
922 * gdb.fortran/ptype-on-functions.exp: Likewise.
923 * gdb.fortran/subarray.exp: Likewise.
924 * gdb.fortran/vla-alloc-assoc.exp: Likewise.
925 * gdb.fortran/vla-datatypes.exp: Likewise.
926 * gdb.fortran/vla-history.exp: Likewise.
927 * gdb.fortran/vla-ptr-info.exp: Likewise.
928 * gdb.fortran/vla-ptype-sub.exp: Likewise.
929 * gdb.fortran/vla-ptype.exp: Likewise.
930 * gdb.fortran/vla-sizeof.exp: Likewise.
931 * gdb.fortran/vla-type.exp: Likewise.
932 * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
933 * gdb.fortran/vla-value-sub-finish.exp: Likewise.
934 * gdb.fortran/vla-value-sub.exp: Likewise.
935 * gdb.fortran/vla-value.exp: Likewise.
936 * gdb.fortran/whatis_type.exp: Likewise.
937 * gdb.mi/mi-var-child-f.exp: Likewise.
939 2020-05-09 Tom de Vries <tdevries@suse.de>
941 * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
943 2020-05-08 Tom de Vries <tdevries@suse.de>
945 * gdb.dwarf2/clang-debug-names.c: New test.
946 * gdb.dwarf2/clang-debug-names.exp: New file.
948 2020-05-06 Simon Marchi <simon.marchi@efficios.com>
950 * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
951 * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
953 2020-05-06 Tom de Vries <tdevries@suse.de>
955 * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
956 breakpoint is at a "recommended breakpoint location".
957 * gdb.reverse/consecutive-reverse.exp: Same.
959 2020-05-06 Tom de Vries <tdevries@suse.de>
961 * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
964 2020-05-06 Tom de Vries <tdevries@suse.de>
966 * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
968 2020-05-06 Tom de Vries <tdevries@suse.de>
970 * gdb.base/store.exp (check_set, up_set): Allowing missing location
973 2020-05-06 Tom de Vries <tdevries@suse.de>
975 * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
978 2020-05-06 Tom de Vries <tdevries@suse.de>
980 * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
983 2020-05-06 Tom de Vries <tdevries@suse.de>
985 * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
987 * gdb.base/async.exp: ... here.
988 * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
989 "recommended breakpoint location".
991 2020-05-06 Tom de Vries <tdevries@suse.de>
993 * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
995 2020-05-04 Tom de Vries <tdevries@suse.de>
997 * gdb.base/async.exp: Check whether instruction addresses are a
998 "recommended breakpoint location".
1000 2020-05-03 Tom Tromey <tom@tromey.com>
1002 * gdb.base/sepdebug.exp: Remove "catch" test.
1003 * gdb.base/break.exp: Remove "catch" test.
1004 * gdb.base/default.exp: Update expected output.
1006 2020-05-02 Tom de Vries <tdevries@suse.de>
1008 * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
1009 * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
1010 * gdb.arch/i386-mpx-map.exp: Same.
1011 * gdb.arch/i386-mpx-sigsegv.exp: Same.
1012 * gdb.arch/i386-mpx-simple_segv.exp: Same.
1013 * gdb.arch/i386-mpx.exp: Same.
1015 2020-05-02 Tom de Vries <tdevries@suse.de>
1017 * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
1019 2020-05-01 Tom de Vries <tdevries@suse.de>
1021 * gdb.ada/operator_bp.exp: Allow more than required amount of
1024 2020-05-01 Tom de Vries <tdevries@suse.de>
1026 * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
1028 2020-04-30 Hannes Domani <ssbssa@yahoo.de>
1031 * gdb.cp/stub-array-size.cc: New test.
1032 * gdb.cp/stub-array-size.exp: New file.
1033 * gdb.cp/stub-array-size.h: New test.
1034 * gdb.cp/stub-array-size2.cc: New test.
1036 2020-04-30 Hannes Domani <ssbssa@yahoo.de>
1038 * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
1039 output to the new format.
1041 2020-04-29 Simon Marchi <simon.marchi@efficios.com>
1043 * gdb.base/break.exp: Use with_test_prefix.
1045 2020-04-29 Tom de Vries <tdevries@suse.de>
1047 * lib/gdb.exp (debug_types): New proc.
1048 * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
1049 * gdb.python/py-symtab.exp: Same.
1051 2020-04-29 Hannes Domani <ssbssa@yahoo.de>
1054 * gdb.base/pretty-array.c: New test.
1055 * gdb.base/pretty-array.exp: New file.
1057 2020-04-29 Tom de Vries <tdevries@suse.de>
1060 * gdb.cp/cpexprs.exp: Adapt for inclusion.
1061 * gdb.cp/cpexprs-debug-types.exp: New file. Set -fdebug-types-section
1062 and include cpexprs.exp.
1064 2020-04-28 Mark Williams <mark@myosotissp.com>
1067 * dw4-toplevel-types.exp: Test for top level types.
1068 * dw4-toplevel-types.cc: Test for top level types.
1070 2020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1072 * gdb.threads/stop-with-handle.exp: Fix typo in comment
1073 (theads -> threads).
1075 2020-04-28 Tom de Vries <tdevries@suse.de>
1077 * gdb.opt/inline-cmds.exp: Set KFAIL PR.
1079 2020-04-28 Tom de Vries <tdevries@suse.de>
1081 * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
1083 2020-04-28 Tom de Vries <tdevries@suse.de>
1085 * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
1087 2020-04-28 Tom de Vries <tdevries@suse.de>
1089 * gdb.dwarf2/main-foo.c: New test.
1090 * gdb.dwarf2/struct-with-sig.exp: New file.
1092 2020-04-25 Tom de Vries <tdevries@suse.de>
1094 * boards/debug-types.exp: New file.
1096 2020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
1098 * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
1100 2020-04-24 Tom Tromey <tom@tromey.com>
1103 * gdb.python/py-symbol.exp: Update expected results for
1105 * gdb.cp/print-demangle.exp: New file.
1106 * gdb.base/c-linkage-name.exp: Fix test.
1107 * gdb.guile/scm-symbol.exp: Update expected results for
1110 2020-04-24 Tom Tromey <tom@tromey.com>
1112 * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
1113 * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
1114 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
1117 2020-04-24 Tom de Vries <tdevries@suse.de>
1119 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
1122 2020-04-24 Tom Tromey <tromey@adacore.com>
1124 * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
1126 * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
1127 values. Update test for minimal encodings.
1128 * gdb.ada/lang_switch.exp: Update test for minimal encodings.
1129 * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
1130 values. Update test for minimal encodings.
1132 2020-04-24 Tom Tromey <tromey@adacore.com>
1135 * gdb.ada/variant.exp: Add Python checks.
1136 * gdb.rust/simple.exp: Add dynamic type checks.
1138 2020-04-24 Tom Tromey <tromey@adacore.com>
1140 * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
1141 Make array type matching more lax.
1142 * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
1143 * gdb.ada/mi_variant.exp: New file.
1144 * gdb.ada/mi_variant/pck.ads: New file.
1145 * gdb.ada/mi_variant/pkg.adb: New file.
1146 * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
1147 * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
1149 2020-04-24 Tom Tromey <tromey@adacore.com>
1151 * gdb.ada/variant.exp: Add dynamic field offset tests.
1152 * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
1153 * gdb.ada/variant/pkg.adb: Add new variables.
1155 2020-04-24 Tom Tromey <tromey@adacore.com>
1157 * gdb.ada/variant.exp: New file
1158 * gdb.ada/variant/pkg.adb: New file
1159 * gdb.ada/variant/pck.adb: New file
1161 2020-04-24 Tom de Vries <tdevries@suse.de>
1163 * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
1165 2020-04-24 Tom de Vries <tdevries@suse.de>
1167 * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
1170 2020-04-24 Tom de Vries <tdevries@suse.de>
1172 * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
1174 2020-04-24 Tom de Vries <tdevries@suse.de>
1176 * lib/gdb.exp (default_gdb_start): Handle eof.
1177 (clean_restart): Detect and handle gdb_start failure. Return -1 upon
1179 * gdb.base/readnever.exp: Handle clean_restart failure.
1181 2020-04-23 Tom de Vries <tdevries@suse.de>
1183 * gdb.base/decl-before-def.exp: Run to main and print a again.
1185 2020-04-23 Tom de Vries <tdevries@suse.de>
1187 * gdb.base/decl-before-def-decl.c: New test.
1188 * gdb.base/decl-before-def-def.c: New test.
1189 * gdb.base/decl-before-def.exp: New file.
1191 2020-04-23 Tom de Vries <tdevries@suse.de>
1193 * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
1195 2020-04-22 Tom de Vries <tdevries@suse.de>
1197 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
1199 * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
1200 before $objsfile in the line line.
1202 2020-04-22 Tom de Vries <tdevries@suse.de>
1204 * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
1206 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
1208 * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
1209 * gdb.base/jit-elf-main.c: Use jit-protocol.h.
1210 * gdb.base/jit-reader-host.c: Use jit-protocol.h.
1211 * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
1212 * gdb.base/jit-protocol.h: Update definitions to match all usage
1215 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
1217 * gdb.base: Rename all jit related test and source files.
1219 2020-02-18 Mihails Strasuns <mihails.strasuns@intel.com>
1221 * gdb.base/jit-reader.exp: Relax register output check.
1223 2020-04-22 Tom de Vries <tdevries@suse.de>
1226 * gdb.base/psym-external-decl-2.c: New test.
1227 * gdb.base/psym-external-decl.c: New test.
1228 * gdb.base/psym-external-decl.exp: New file.
1229 * gdb.threads/tls.exp: Add PR25807 kfail.
1231 2020-04-22 Tom de Vries <tdevries@suse.de>
1234 * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
1235 in "info source" output.
1237 2020-04-22 Tom de Vries <tdevries@suse.de>
1240 * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
1241 symtab for imported_unit.c.
1243 2020-04-21 Gary Benson <gbenson@redhat.com>
1245 * gdb.base/advance.c (func): New argument, to match call site.
1246 (func2, func3): Add return statements.
1248 2020-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1250 * gdb.multi/run-only-second-inf.c: New file.
1251 * gdb.multi/run-only-second-inf.exp: New file.
1253 2020-04-21 Markus Metzger <markus.t.metzger@intel.com>
1255 * gdb.btrace/multi-inferior.c: New test.
1256 * gdb.btrace/multi-inferior.exp: New file.
1258 2020-04-21 Markus Metzger <markus.t.metzger@intel.com>
1260 * gdb.btrace/enable-new-thread.c: New test.
1261 * gdb.btrace/enable-new-thread.exp: New file.
1263 2020-04-21 Tom de Vries <tdevries@suse.de>
1266 * gdb.threads/killed-outside.c: New test.
1267 * gdb.threads/killed-outside.exp: New file.
1269 2020-04-20 Gary Benson <gbenson@redhat.com>
1271 * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
1272 * gdb.base/nested-subp2.exp: Likewise.
1273 * gdb.base/nested-subp3.exp: Likewise.
1275 2020-04-20 Gary Benson <gbenson@redhat.com>
1277 * gdb.base/nested-subp1.exp: Disable test when using clang.
1278 * gdb.base/nested-subp2.exp: Likewise.
1279 * gdb.base/nested-subp3.exp: Likewise.
1281 2020-04-20 Gary Benson <gbenson@redhat.com>
1283 * gdb.cp/exception.cc: Fix compilation error with clang.
1285 2020-04-20 Gary Benson <gbenson@redhat.com>
1287 * gdb.trace/tspeed.c: Fix compilation error with clang.
1289 2020-04-20 Gary Benson <gbenson@redhat.com>
1291 * gdb.base/jit-main.c: Fix compilation error with clang.
1293 2020-04-17 Kamil Rytarowski <n54@gmx.com>
1295 * gdb.base/attach-twice.c: Include "sys/types.h".
1296 (PTRACE_ATTACH): Add fallback definition.
1297 (main): Pass `0' to the 4th argument of `ptrace'.
1299 2020-04-17 Kamil Rytarowski <n54@gmx.com>
1301 * gdb.base/fork-running-state.c: Include "signal.h".
1303 2020-04-17 Tom Tromey <tromey@adacore.com>
1305 * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
1307 * gdb.btrace/cpu.exp: Update tests.
1308 * gdb.base/maint.exp: Update tests.
1309 * gdb.base/default.exp: Update tests.
1310 * gdb.base/completion.exp: Update tests.
1312 2020-04-16 Tom de Vries <tdevries@suse.de>
1315 * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
1316 (ensure_gdb_index): and factor out and move ...
1317 * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
1318 * gdb.dwarf2/imported-unit-runto-main.exp: New file.
1320 2020-04-16 Tom de Vries <tdevries@suse.de>
1322 * gdb.base/maint-expand-symbols-header-file.exp: Set language before
1325 2020-04-15 Andrew Burgess <andrew.burgess@embecosm.com>
1327 * gdb.base/many-completions.exp: New file.
1329 2020-04-14 Tom de Vries <tdevries@suse.de>
1332 * gdb.dwarf2/dw2-symtab-includes.exp: New file.
1334 2020-04-14 Tom de Vries <tdevries@suse.de>
1337 * gdb.base/maint-expand-symbols-header-file.c: New test.
1338 * gdb.base/maint-expand-symbols-header-file.exp: New file.
1339 * gdb.base/maint-expand-symbols-header-file.h: New test.
1341 2020-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
1343 * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
1344 * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
1346 (get_func_info): Delete.
1347 * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
1348 * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
1349 * lib/dwarf.exp (get_func_info): New function.
1351 2020-04-13 Tom de Vries <tdevries@suse.de>
1353 * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
1354 to what find_gnatmake does.
1356 2020-04-10 Tom de Vries <tdevries@suse.de>
1358 * gdb.base/style.exp: Expect "Expanding full symbols" message for
1361 2020-04-10 Tom de Vries <tdevries@suse.de>
1364 * gdb.base/style.c: Add leading newlines.
1365 * gdb.base/style.exp: Use gdb_get_line_number to get specific lines.
1366 Check listing of main's one-line body.
1368 2020-04-08 Tom de Vries <tdevries@suse.de>
1370 * lib/gdb.exp (psymtabs_p): New proc.
1371 * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in
1372 importing unit" unsupported if there are no partial symbols.
1374 2020-04-08 Tom de Vries <tdevries@suse.de>
1377 * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails.
1379 2020-04-07 Tom de Vries <tdevries@suse.de>
1382 * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file.
1384 2020-04-07 Tom de Vries <tdevries@suse.de>
1386 * gdb.base/check-psymtab.c: New test.
1387 * gdb.base/check-psymtab.exp: New file.
1389 2020-04-06 Tom Tromey <tromey@adacore.com>
1391 * gdb.ada/variant-record/proc.adb: New file.
1392 * gdb.ada/variant-record/value.adb: New file.
1393 * gdb.ada/variant-record/value.s: New file.
1394 * gdb.ada/variant-record.exp: New file.
1396 2020-04-03 Hannes Domani <ssbssa@yahoo.de>
1399 * gdb.cp/typed-enum.cc: New test.
1400 * gdb.cp/typed-enum.exp: New file.
1402 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
1404 * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file.
1405 * gdb.dwarf2/dw2-inline-small-func.c: New file.
1406 * gdb.dwarf2/dw2-inline-small-func.exp: New file.
1407 * gdb.dwarf2/dw2-inline-small-func.h: New file.
1408 * gdb.opt/inline-small-func.c: New file.
1409 * gdb.opt/inline-small-func.exp: New file.
1410 * gdb.opt/inline-small-func.h: New file.
1412 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
1414 * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New
1417 2020-04-02 Andrew Burgess <andrew.burgess@embecosm.com>
1419 * lib/dwarf.exp (function_range): Allow compiler options to be
1422 2020-04-02 Tom de Vries <tdevries@suse.de>
1424 * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add
1425 __attribute__((always_inline)).
1426 * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2.
1428 2020-04-02 Tom de Vries <tdevries@suse.de>
1430 * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ...
1431 (gdbserver_gdb_exit): ... here. Add timeout warning.
1432 * gdb.multi/multi-target.exp (server_spawn_ids): New global var.
1433 (connect_target_extended_remote): Append new server_spawn_id to
1435 (cleanup): New proc.
1436 (setup, <toplevel>): Call cleanup.
1438 2020-04-02 Tom de Vries <tdevries@suse.de>
1440 * gdb.base/main-psymtab.exp: New file.
1442 2020-04-02 Tom de Vries <tdevries@suse.de>
1444 * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style.
1446 2020-04-01 Tom Tromey <tom@tromey.com>
1448 * gdb.base/complex-parts.exp: Add type tests.
1450 2020-04-01 Tom Tromey <tom@tromey.com>
1452 * gdb.base/complex-parts.exp: Add arithmetic tests.
1454 2020-04-01 Tom Tromey <tom@tromey.com>
1456 * gdb.compile/compile.exp: Update.
1457 * gdb.compile/compile-cplus.exp: Update.
1458 * gdb.base/varargs.exp: Update.
1459 * gdb.base/floatn.exp: Update.
1460 * gdb.base/endianity.exp: Update.
1461 * gdb.base/callfuncs.exp (do_function_calls): Update.
1462 * gdb.base/funcargs.exp (complex_args, complex_integral_args)
1463 (complex_float_integral_args): Update.
1464 * gdb.base/complex.exp: Update.
1465 * gdb.base/complex-parts.exp: Update.
1467 2020-04-01 Tom Tromey <tromey@adacore.com>
1469 * gdb.rust/union.rs: New file.
1470 * gdb.rust/union.exp: New file.
1471 * gdb.rust/simple.rs (Union, Union2): Move to union.rs.
1473 * gdb.rust/simple.exp: Move union tests to union.exp.
1475 2020-04-01 Tom Tromey <tromey@adacore.com>
1477 * gdb.rust/simple.rs (main): Remove "y0".
1479 2020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1481 * gdb.multi/stop-all-on-exit.c: New test.
1482 * gdb.multi/stop-all-on-exit.exp: New file.
1484 2020-04-01 Hannes Domani <ssbssa@yahoo.de>
1487 * gdb.cp/misc.cc: Add integer reference variable.
1488 * gdb.cp/misc.exp: Add test.
1490 2020-04-01 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
1492 * gdb.server/stop-reply-no-thread.exp: Enhance the test
1493 scenario to cover execution until the end and also the case
1495 2020-03-31 Tom de Vries <tdevries@suse.de>
1497 * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to
1498 c. Use "maint info symtabs" to check symtab expansion.
1500 2020-03-30 Tom de Vries <tdevries@suse.de>
1502 * gdb.base/c-linkage-name.exp: Use readnow call to mark a test
1504 (verify_psymtab_expanded): Move ...
1505 * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported
1507 (readnow): New proc.
1509 2020-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
1511 * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address
1514 2020-03-20 Tom Tromey <tromey@adacore.com>
1516 * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions.
1518 2020-03-20 Tom Tromey <tromey@adacore.com>
1520 * gdb.ada/sub_variant/subv.adb: New file.
1521 * gdb.ada/sub_variant.exp: New file.
1523 2020-03-20 Tom de Vries <tdevries@suse.de>
1525 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if
1527 * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same.
1529 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
1531 * gdb.server/exit-multiple-threads.c: New file.
1532 * gdb.server/exit-multiple-threads.exp: New file.
1534 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
1536 * gdb.fortran/mixed-lang-stack.c: New file.
1537 * gdb.fortran/mixed-lang-stack.cpp: New file.
1538 * gdb.fortran/mixed-lang-stack.exp: New file.
1539 * gdb.fortran/mixed-lang-stack.f90: New file.
1541 2020-03-19 Andrew Burgess <andrew.burgess@embecosm.com>
1543 * gdb.linespec/cp-completion-aliases.cc: New file.
1544 * gdb.linespec/cp-completion-aliases.exp: New file.
1546 2020-03-19 Tom de Vries <tdevries@suse.de>
1548 * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching
1551 2020-03-18 Tom de Vries <tdevries@suse.de>
1553 * gdb.dwarf2/break-inline-psymtab-2.c: New test.
1554 * gdb.dwarf2/break-inline-psymtab.c: New test.
1555 * gdb.dwarf2/break-inline-psymtab.exp: New file.
1557 2020-03-16 Tom de Vries <tdevries@suse.de>
1559 * lib/cache.exp (gdb_do_cache): Add and handle local variables
1560 cache_verify and cache_verify_proc.
1562 2020-03-15 Tom de Vries <tdevries@suse.de>
1564 * gdb.server/solib-list.exp: Handle
1565 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'.
1567 2020-03-15 Tom de Vries <tdevries@suse.de>
1569 * gdb.base/maint.exp: Use exp_continue in long lines for "maint print
1572 2020-03-14 Tom Tromey <tom@tromey.com>
1574 * gdb.base/cvexpr.exp: Add test for _Atomic and restrict.
1576 2020-03-14 Tom de Vries <tdevries@suse.de>
1578 * gdb.mi/mi-fortran-modules.exp: Use exp_continue.
1580 2020-03-14 Tom de Vries <tdevries@suse.de>
1582 * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads"
1583 result in line-by-line fashion.
1585 2020-03-14 Tom de Vries <tdevries@suse.de>
1587 * lib/gdb.exp (supports_statement_frontiers): New proc.
1588 * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers.
1590 2020-03-14 Tom de Vries <tdevries@suse.de>
1592 * gdb.base/printcmds.exp: Add missing quoting for "print
1595 2020-03-13 Tom Tromey <tom@tromey.com>
1597 * gdb.base/printcmds.exp (test_print_strings): Add regression
1599 * gdb.base/printcmds.c (charptr): New typedef.
1600 (teststring2): New global.
1602 2020-03-13 Andrew Burgess <andrew.burgess@embecosm.com>
1604 * gdb.base/break-interp.exp: Use the tail of the filename, not the
1605 full path in the test name.
1606 (test_ld): Add some with_test_prefix blocks to make test names
1609 2020-03-13 Tom de Vries <tdevries@suse.de>
1611 * gdb.mi/mi-sym-info.exp: Fix buffer full errors, and timeouts.
1613 2020-03-13 Tom de Vries <tdevries@suse.de>
1615 * gdb.mi/mi-sym-info.exp: Make matching more precise.
1617 2020-03-13 Tom de Vries <tdevries@suse.de>
1620 * gdb.dwarf2/imported-unit.exp: Add test.
1622 2020-03-13 Tom de Vries <tdevries@suse.de>
1624 * gdb.mi/mi-sym-info-2.c (another_char_t, another_short_t): New typedef.
1625 (var1, var2): New variable.
1626 * gdb.mi/mi-sym-info.exp: Add --name to various commands to restrict
1629 2020-03-13 Tom de Vries <tdevries@suse.de>
1631 * lib/tuiterm.exp (Term::command_no_prompt_prefix): New proc.
1632 (Term::command): Use prompt prefix.
1633 (Term::enter_tui): Use command_no_prompt_prefix instead of prefix.
1634 * gdb.tui/tui-layout-asm-short-prog.exp: Use
1635 command_no_prompt_prefix instead of prefix.
1636 * gdb.tui/tui-layout-asm.exp: Same.
1638 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
1640 * gdb.base/break-interp.exp: Use foreach_with_prefix.
1642 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
1644 * gdb.arch/amd64-disp-step-avx.S: Add nops after _start.
1645 * gdb.arch/amd64-disp-step-avx.exp: Enable "set debug displaced
1646 on" while stepping over the test instruction, match printed
1649 2020-03-12 Tom de Vries <tdevries@suse.de>
1651 * gdb.base/info-types.exp: Use exp_continue during matching of output
1654 2020-03-12 Tom de Vries <tdevries@suse.de>
1656 * gdb.threads/execl.exp: Delete breakpoint after hitting it.
1658 2020-03-12 Tom de Vries <tdevries@suse.de>
1660 * gdb.fortran/module.exp: Use exp_continue during matching of output
1661 of "info variable -n".
1663 2020-03-12 Tom de Vries <tdevries@suse.de>
1665 * gdb.dwarf2/dw2-ranges-base.exp: Limit "maint info line-table" to
1666 gdb.dwarf2/dw2-ranges-base.c.
1668 2020-03-12 Tom de Vries <tdevries@suse.de>
1670 * gdb.linespec/explicit.exp: Fix "complete non-unique file name" test
1671 in presence of GLIBC debuginfo.
1673 2020-03-12 Tom de Vries <tdevries@suse.de>
1675 * lib/gdb.exp (gdb_core_cmd): Use string_to_regexp for regexp-matching
1678 2020-03-12 Tom de Vries <tdevries@suse.de>
1680 * lib/gdb.exp (gdb_core_cmd): Make "No such file or directory" regexp
1683 2020-03-11 Simon Marchi <simon.marchi@efficios.com>
1685 * lib/gdb.exp (standard_output_file): Use `pwd -W` to convert
1686 from Unix to Windows path.
1688 2020-03-11 Tom de Vries <tdevries@suse.de>
1690 * gdb.ada/minsyms.exp: Set language to ada.
1692 2020-03-11 Tom de Vries <tdevries@suse.de>
1694 * gdb.server/sysroot.exp: Allow GLIBC's printf alias __printf.
1696 2020-03-11 Tom de Vries <tdevries@suse.de>
1698 * gdb.btrace/reconnect.exp: Allow source line pattern after stepi.
1700 2020-03-11 Tom Tromey <tromey@adacore.com>
1702 * gdb.dwarf2/variant.exp: Mark discriminants as artificial.
1704 2020-03-11 Tom de Vries <tdevries@suse.de>
1706 * gdb.base/foll-fork.exp: Allow "Reading in symbols" messages.
1708 2020-03-11 Tom de Vries <tdevries@suse.de>
1710 * gdb.base/break-interp.exp: Limit verbose scope.
1712 2020-03-11 Tom de Vries <tdevries@suse.de>
1714 * gdb.fortran/logical.f90: Define variable with character type.
1715 * gdb.fortran/logical.exp: Use character type instead of uint8_t.
1717 2020-03-11 Tom de Vries <tdevries@suse.de>
1719 * gdb.base/list-ambiguous.exp: Set EDITOR to true.
1721 2020-03-11 Tom de Vries <tdevries@suse.de>
1723 * gdb.ada/access_to_packed_array.exp: Test printing of expanded
1726 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
1727 Bernd Edlinger <bernd.edlinger@hotmail.de>
1729 * gdb.cp/step-and-next-inline.cc: New file.
1730 * gdb.cp/step-and-next-inline.exp: New file.
1731 * gdb.cp/step-and-next-inline.h: New file.
1732 * gdb.dwarf2/dw2-is-stmt.c: New file.
1733 * gdb.dwarf2/dw2-is-stmt.exp: New file.
1734 * gdb.dwarf2/dw2-is-stmt-2.c: New file.
1735 * gdb.dwarf2/dw2-is-stmt-2.exp: New file.
1736 * gdb.dwarf2/dw2-ranges-base.exp: Update line table pattern.
1738 2020-03-10 Andrew Burgess <andrew.burgess@embecosm.com>
1740 * lib/dwarf.exp (Dwarf::lines) Add support for modifying the
1741 is-stmt flag in the line table.
1743 2020-03-09 Tom de Vries <tdevries@suse.de>
1745 * lib/gdb.exp (cached_file): Create cache dir.
1747 2020-03-07 Tom de Vries <tdevries@suse.de>
1749 * gdb.cp/ref-params.exp: Compare build_executable result with -1.
1750 * gdb.cp/rvalue-ref-params.exp: Same.
1752 2020-03-06 Tom de Vries <tdevries@suse.de>
1754 * lib/gdb.exp (tentative_rename, cached_file): New proc.
1755 * boards/cc-with-tweaks.exp: Use cached_file to create gdb.sh.
1757 2020-03-06 Tom de Vries <tdevries@suse.de>
1759 * README: Fix "the the".
1760 * gdb.base/dprintf.exp: Same.
1762 2020-03-05 Tom de Vries <tdevries@suse.de>
1764 * gdb.base/maint.exp: Update "main print statistics" expected output.
1766 2020-03-04 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
1768 * lib/fortran.exp (fortran_int4): Handle flang kind printing.
1769 (fortran_int8): Likewise.
1770 (fortran_real4): Likewise.
1771 (fortran_real8): Likewise.
1772 (fortran_complex4): Likewise.
1773 (fortran_logical4): Likewise.
1774 (fortran_character1): Likewise.
1776 2020-03-03 Andrew Burgess <andrew.burgess@embecosm.com>
1778 * gdb.fortran/logical.exp: Add tests that any non-zero value is
1781 2020-03-03 Sergio Durigan Junior <sergiodj@redhat.com>
1783 * gdb.base/printcmds.exp: Add test to verify printf of a
1784 variable holding an address.
1786 2020-03-03 Tom de Vries <tdevries@suse.de>
1788 * gdb.mi/gdb2549.exp: Fix "register values t" check-read1 timeout.
1790 2020-03-03 Tom de Vries <tdevries@suse.de>
1792 * gdb.mi/list-thread-groups-available.exp: Use -prompt syntax for
1793 gdb_test_multiple call.
1795 2020-03-03 Tom de Vries <tdevries@suse.de>
1797 * gdb.mi/mi-sym-info.exp: Add missing -prompt "$mi_gdb_prompt$" to
1798 gdb_test_multiple calls.
1800 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
1802 * gdb.base/default.exp: Remove test of 'set history filename'.
1803 * gdb.base/gdbinit-history.exp: Add tests for setting the history
1804 filename to the empty string.
1805 * lib/gdb.exp (gdb_init): Unset environment variables GDBHISTFILE
1808 2020-03-02 Andrew Burgess <andrew.burgess@embecosm.com>
1810 * gdb.server/stop-reply-no-thread.exp: Add test where T packet is
1813 2020-03-02 Pedro Alves <palves@redhat.com>
1814 Tom de Vries <tdevries@suse.de>
1816 * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
1817 -prompt prefix, before user_code argument. Add -lbl option likewise.
1818 (skip_python_tests_prompt, skip_libstdcxx_probe_tests_prompt)
1819 (gdb_is_target_1): Add -prompt prefix and move to before user_code
1821 * gdb.base/corefile-buildid.exp: Use -lbl option. Rewrite regexps to
1822 have "\r\n" at start-of-line, instead of at end-of-line.
1824 2020-02-28 Simon Marchi <simon.marchi@efficios.com>
1826 * lib/trace-support.exp (get_in_proc_agent): Adjust path to
1829 2020-02-28 Luis Machado <luis.machado@linaro.org>
1831 * gdb.arch/aarch64-fp.exp: Switch from "info registers" command
1834 2020-02-28 Luis Machado <luis.machado@linaro.org>
1836 * gdb.arch/aarch64-dbreg-contents.c: Include stdlib.h, unistd.h,
1837 asm/ptrace.h and error.h.
1839 2020-02-28 Tom de Vries <tdevries@suse.de>
1841 * gdb.base/c-linkage-name.c (main): Call do_something_other_cu.
1842 (struct wrapper, do_something, mundane/symada__cS): Move ...
1843 * gdb.base/c-linkage-name-2.c: ... here. New source file.
1844 * gdb.base/c-linkage-name.exp: Add verification of psymtab expansion.
1845 Update "print symada__cS before partial symtab expansion" regexp.
1846 Update breakpoint location. Flush symbol cache after expansion.
1848 2020-02-28 Luis Machado <luis.machado@linaro.org>
1850 * gdb.arch/aarch64-pauth.exp: Recognize optional PAC output.
1852 2020-02-27 Tom de Vries <tdevries@suse.de>
1854 * config/sid.exp: Remove unused globals.
1855 * gdb.base/attach.exp: Same.
1856 * gdb.base/catch-load.exp: Same.
1857 * gdb.base/dbx.exp: Same.
1858 * lib/gdb.exp: Same.
1859 * lib/mi-support.exp: Same.
1860 * lib/prompt.exp: Same.
1862 2020-02-27 Tom de Vries <tdevries@suse.de>
1864 * lib/tuiterm.exp (spawn): Handle case that spawn_out(slave,name) is
1867 2020-02-26 Aaron Merey <amerey@redhat.com>
1869 * gdb.debuginfod: New directory for debuginfod tests.
1870 * gdb.debuginfod/main.c: New test file.
1871 * gdb.debuginfod/fetch_src_and_symbols.exp: New tests.
1873 2020-02-26 Tom de Vries <tdevries@suse.de>
1876 * gdb.base/persistent-lang.cc: New test.
1877 * gdb.base/persistent-lang.exp: New file.
1879 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1881 * gdb.fortran/derived-type-striding.exp: Add a new test.
1882 * gdb.fortran/derived-type-striding.f90: Add pointer variable for
1885 2020-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1887 * gdb.base/cached-source-file.exp: Avoid source file paths in test
1890 2020-02-25 Tom de Vries <tdevries@suse.de>
1893 * gdb.go/methods.exp: Remove gcc/93866 xfail.
1895 2020-02-24 Tom de Vries <tdevries@suse.de>
1898 * gdb.base/info-locals-unused-static-var.c: New test.
1899 * gdb.base/info-locals-unused-static-var.exp: New file.
1901 2020-02-22 Tom Tromey <tom@tromey.com>
1903 * gdb.python/tui-window.exp: New file.
1904 * gdb.python/tui-window.py: New file.
1906 2020-02-22 Tom Tromey <tom@tromey.com>
1909 * gdb.tui/new-layout.exp: Add horizontal layout and winheight
1912 2020-02-22 Tom Tromey <tom@tromey.com>
1914 * gdb.tui/new-layout.exp: Add sub-layout tests.
1916 2020-02-22 Tom Tromey <tom@tromey.com>
1918 * gdb.tui/new-layout.exp: New file.
1920 2020-02-22 Tom Tromey <tom@tromey.com>
1922 * gdb.rust/rust-style.rs: New file.
1923 * gdb.rust/rust-style.exp: New file.
1924 * gdb.base/style.exp: Test structure printing.
1925 * gdb.base/style.c (struct some_struct): New type.
1926 (enum etype): New type.
1927 (struct_value): New global.
1929 2020-02-21 Tom de Vries <tdevries@suse.de>
1932 * lib/gdb.exp (bp_location2/bp_location2_regexp): Fix.
1933 Remove blanket xfails. Use message argument for gdb_breakpoint.
1934 Make continuing to breakpoint test conditional on setting breakpoint.
1935 Fix continuing to breakpoint regexp. Add xfails for gccgo-6/7
1936 DW_AT_name attribute. Add xfail for GCC PR93866.
1938 2020-02-21 Andrew Burgess <andrew.burgess@embecosm.com>
1940 * gdb.dwarf2/cpp-linkage-name.c: New file.
1941 * gdb.dwarf2/cpp-linkage-name.exp: New file.
1943 2020-02-21 Shahab Vahedi <shahab@synopsys.com>
1945 * lib/gdb.exp (gdb_wrapper_init): Reset
1946 "gdb_wrapper_initialized" to 0 if "wrapper_file" does
1949 2020-02-20 Tom de Vries <tdevries@suse.de>
1952 * gdb.go/hello.exp: Copy ...
1953 * gdb.go/global-local-var-shadow.exp: ... here. New file. Expect
1954 print of st to print value of global definition. Add xfail for GCC
1956 * gdb.go/hello.exp: Remove printing of st before definition.
1957 * gdb.go/hello.go: Copy ...
1958 * gdb.go/global-local-var-shadow.go: ... here. New test. Rename myst
1960 * gdb.go/hello.go: Remove myst. Remove comment about shadowing.
1962 2020-02-20 Tom de Vries <tdevries@suse.de>
1964 * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
1965 (gdb_simple_compile): Handle compile_flags go by using .go extension
1967 * gdb.go/chan.exp: Use support_go_compile.
1968 * gdb.go/handcall.exp: Same.
1969 * gdb.go/hello.exp: Same.
1970 * gdb.go/integers.exp: Same.
1971 * gdb.go/max-depth.exp: Same.
1972 * gdb.go/methods.exp: Same.
1973 * gdb.go/package.exp: Same.
1974 * gdb.go/strings.exp: Same.
1975 * gdb.go/types.exp: Same.
1976 * gdb.go/unsafe.exp: Same.
1978 2020-02-19 Tom de Vries <tdevries@suse.de>
1980 * gdb.python/lib-types.exp: Make xfail more strict.
1982 2020-02-19 Tom de Vries <tdevries@suse.de>
1984 * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
1986 2020-02-19 Doug Evans <dje@google.com>
1989 * gdb.rust/simple.exp: Add test.
1990 * gdb.rust/simple.rs: Add test.
1992 2020-02-19 Tom de Vries <tdevries@suse.de>
1994 * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
1995 output line-by-line.
1997 2020-02-19 Tom de Vries <tdevries@suse.de>
1999 * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
2001 2020-02-19 Tom de Vries <tdevries@suse.de>
2003 * gdb.base/solib-overlap.exp: Use exec instead of system to execute
2006 2020-02-19 Tom de Vries <tdevries@suse.de>
2008 * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
2009 (gdb_do_cache): Use gdb_do_cache_wrap.
2010 * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
2012 2020-02-19 Tom de Vries <tdevries@suse.de>
2014 * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
2017 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
2019 * gdb.base/printcmds.exp (test_print_enums): Update expected
2022 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
2024 * gdb.base/printcmds.exp (test_print_enums): Expect hex values
2027 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
2029 * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
2032 2020-02-18 Simon Marchi <simon.marchi@efficios.com>
2034 * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
2037 (enum flag_enum_without_zero): New enum.
2038 (flag_enum_without_zero): New variable.
2039 (enum not_flag_enum): New enum.
2040 (three_not_flag): New variable.
2041 * gdb.base/printcmds.exp (test_artificial_arrays): Update.
2042 (test_print_enums): Add more tests for printing flag enums.
2044 2020-02-18 Tom de Vries <tdevries@suse.de>
2046 * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
2047 (gdb_compile_ada): ... here.
2048 (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
2049 failure. Use gdb_compile_ada_1 instead of gdb_compile_ada.
2051 2020-02-14 Tom Tromey <tom@tromey.com>
2053 * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
2055 * boards/gdbserver-base.exp: Update path to gdbserver.
2057 2020-02-13 Tom de Vries <tdevries@suse.de>
2059 * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
2061 2020-02-13 Tom de Vries <tdevries@suse.de>
2063 * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
2066 2020-02-13 Tom de Vries <tdevries@suse.de>
2068 * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
2071 2020-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
2074 https://bugzilla.redhat.com/show_bug.cgi?id=1784210
2075 * gdb.base/cached-source-file.c: New file.
2076 * gdb.base/cached-source-file.exp: New file.
2078 2020-02-11 Tom de Vries <tdevries@suse.de>
2081 * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
2083 2020-02-10 Tom de Vries <tdevries@suse.de>
2085 * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
2087 2020-02-10 Maciej W. Rozycki <macro@wdc.com>
2089 * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
2090 and $after_addr are both integers before making a comparison.
2092 2020-02-09 Tom de Vries <tdevries@suse.de>
2094 * gdb.base/many-headers.exp: Echo gdb command to gdb.log. Capture gdb
2095 command output and paste it into gdb.log. If any, paste catch message
2098 2020-02-07 Tom Tromey <tromey@adacore.com>
2100 PR breakpoints/24915:
2101 * gdb.base/annotate-symlink.exp: Use setup_xfail.
2103 2020-02-06 Shahab Vahedi <shahab@synopsys.com>
2105 * gdb.tui/tui-missing-src.exp: Add the "missing source
2106 file" test for the TUI.
2108 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
2110 * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
2111 including a port number in the output.
2113 2020-02-04 Alok Kumar Sharma <alokkumar.sharma@amd.com>
2115 * lib/fortran.exp (fortran_int4): Handle clang.
2116 (fortran_int8): Likewise.
2117 (fortran_real4): Likewise.
2118 (fortran_real8): Likewise.
2119 (fortran_complex4): Likewise.
2120 (fortran_logical4): Likewise.
2121 (fortran_character1): Likewise.
2123 2020-02-04 Tom de Vries <tdevries@suse.de>
2125 * README (Race detection): Add note.
2127 2020-02-04 Tom de Vries <tdevries@suse.de>
2129 * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
2131 2020-02-04 Tom de Vries <tdevries@suse.de>
2133 * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
2135 2020-02-03 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
2137 * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
2138 tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
2139 bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
2141 * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
2142 binary for blttar, bnetarl.
2143 * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
2144 wait instruction. Delete ldmx test.
2145 * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
2147 2020-02-03 Alok Kumar Sharma <AlokKumar.Sharma@amd.com>
2149 * gdb.fortran/array-bounds-high.exp: New file.
2150 * gdb.fortran/array-bounds-high.f90: New file.
2152 2020-02-03 Lukas Durfina <ldurfina@tachyum.com> (tiny change)
2154 * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
2155 Replace #include of <sys/fcntl.h> by <fcntl.h>.
2157 2020-02-01 Tom de Vries <tdevries@suse.de>
2159 * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
2161 2020-01-31 Andrew Burgess <andrew.burgess@embecosm.com>
2164 * gdb.tui/tui-layout-asm-short-prog.S: New file.
2165 * gdb.tui/tui-layout-asm-short-prog.exp: New file.
2167 2020-01-29 Luis Machado <luis.machado@linaro.org>
2169 * gdb.arch/aarch64-brk-patterns.c: New source file.
2170 * gdb.arch/aarch64-brk-patterns.exp: New test.
2172 2020-01-29 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2174 * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
2176 * gdb.cp/pass-by-ref.exp: Ditto.
2178 2020-01-29 Tom de Vries <tdevries@suse.de>
2180 * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
2181 * gdb.threads/watchpoint-fork-mt.c: Same.
2182 * gdb.threads/watchpoint-fork-parent.c: Same.
2183 * gdb.threads/watchpoint-fork-st.c: Same.
2184 * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
2186 2020-01-27 Luis Machado <luis.machado@linaro.org>
2188 * gdb.base/step-over-syscall.exp (setup): Check if we're already
2189 sitting at a syscall instruction when we hit the syscall function's
2191 Check PC against one obtained with the x command.
2192 Validate syscall number.
2193 (step_over_syscall): Don't continue to the syscall instruction if
2194 we're already there.
2196 2020-01-25 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2198 * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
2200 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2202 * gdb.dwarf2/dw2-inline-many-frames.c: New file.
2203 * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
2205 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2207 * gdb.dwarf2/dw2-inline-stepping.c: New file.
2208 * gdb.dwarf2/dw2-inline-stepping.exp: New file.
2210 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2212 * gdb.base/maint.exp: Update line table parsing test.
2213 * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
2215 2020-01-24 Pedro Alves <palves@redhat.com>
2218 * gdb.multi/multi-re-run-1.c: New.
2219 * gdb.multi/multi-re-run-2.c: New.
2220 * gdb.multi/multi-re-run.exp: New.
2222 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2225 * gdb.server/server-kill-python.exp: New file.
2227 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2229 * gdb.server/multi-ui-errors.c: New file.
2230 * gdb.server/multi-ui-errors.exp: New file.
2232 2020-01-24 Andrew Burgess <andrew.burgess@embecosm.com>
2235 * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
2237 2020-01-19 Tom Tromey <tom@tromey.com>
2239 * gdb.tui/main.exp: Add check for plain "file".
2241 2020-01-16 Christian Biesinger <cbiesinger@google.com>
2243 * lib/gdb.exp: Fix spelling error (seperatelly).
2245 2020-01-14 Tom Tromey <tom@tromey.com>
2248 * gdb.python/python.exp: Test decode_line with empty string
2251 2020-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
2253 * gdb.base/skip-inline.exp: Extend test.
2255 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
2257 * gdb.dwarf2/dw2-bad-elf-other.S: New file.
2258 * gdb.dwarf2/dw2-bad-elf.c: New file.
2259 * gdb.dwarf2/dw2-bad-elf.exp: New file.
2261 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
2263 * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
2266 2020-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
2268 * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
2271 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2273 * gdb.multi/multi-target.exp (setup): Factor out "info
2274 connections" and "info inferiors" tests to ...
2275 (test_info_inferiors): ... this new procedure.
2276 (top level): Run new "info-inferiors" tests.
2278 2020-01-10 Pedro Alves <palves@redhat.com>
2280 * gdb.server/bkpt-other-inferior.exp: New file.
2282 2020-01-10 Pedro Alves <palves@redhat.com>
2284 * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
2286 * gdb.base/quit-live.exp: Likewise.
2287 * gdb.base/remote-exec-file.exp: Likewise.
2288 * gdb.guile/scm-progspace.exp: Likewise.
2289 * gdb.linespec/linespec.exp: Likewise.
2290 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2291 * gdb.mi/user-selected-context-sync.exp: Likewise.
2292 * gdb.multi/multi-target.exp (setup): Add "info connection" and
2293 "info inferiors" tests.
2294 * gdb.multi/remove-inferiors.exp: Adjust expected output of
2296 * gdb.multi/watchpoint-multi.exp: Likewise.
2297 * gdb.python/py-inferior.exp: Likewise.
2298 * gdb.server/extended-remote-restart.exp: Likewise.
2299 * gdb.threads/fork-plus-threads.exp: Adjust expected output of
2301 * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
2302 * gdb.trace/report.exp: Likewise.
2304 2020-01-10 Pedro Alves <palves@redhat.com>
2306 * gdb.multi/multi-target.c: New file.
2307 * gdb.multi/multi-target.exp: New file.
2308 * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
2309 mode requested, but remote does not support non-stop".
2311 2020-01-10 Pedro Alves <palves@redhat.com>
2313 * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
2314 disconnect before reconnecting.
2316 2020-01-10 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2317 Pedro Alves <palves@redhat.com>
2319 * gdb.server/connect-without-multi-process.exp: Also test
2322 2020-01-10 Pedro Alves <palves@redhat.com>
2324 * gdb.base/remote-exec-file.exp: New file.
2326 2020-01-10 Pedro Alves <palves@redhat.com>
2328 * gdb.base/fork-running-state.exp (do_test): Adjust expected
2330 * gdb.threads/async.c: New.
2331 * gdb.threads/async.exp: New.
2332 * gdb.multi/tids-gid-reset.c: New.
2333 * gdb.multi/tids-gid-reset.exp: New.
2335 2020-01-10 George Barrett <bob@bob131.so>
2337 * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
2338 to help in finding the image relocation offset.
2339 * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
2340 options in arguments.
2341 (stap_test_no_debuginfo): Likewise.
2342 (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
2344 (stap_test): Add null semaphore relocation test.
2346 2020-01-10 George Barrett <bob@bob131.so>
2348 * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
2349 * gdb.base/stap-probe.exp: Likewise.
2350 (stap_test): Pass argument as an additional flag.
2351 (stap_test_no_debuginfo): Likewise.
2352 (stap_test): Check `info probes stap' output for semaphore
2353 addresses if the test binary is supposed to have them.
2355 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2357 * gdb.tui/basic.exp: Add more scrolling tests.
2359 2020-01-09 Tom Tromey <tom@tromey.com>
2362 * lib/tuiterm.exp (Term::wait_for): Rename from _accept. Return a
2364 (Term::command, Term::resize): Update.
2365 * gdb.tui/basic.exp: Add scrolling test.
2367 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2369 * gdb.tui/tui-layout-asm.exp: New file.
2371 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2373 * lib/tuiterm.exp (Term::check_box_contents): New proc.
2375 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2377 * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
2378 (Term::enter_tui): Use Term::prepare_for_tui.
2380 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2382 * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
2385 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2387 * gdb.base/skip.exp: Fix race condition in test.
2389 2020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
2391 * gdb.base/backtrace.c: New file.
2392 * gdb.base/backtrace.exp: New file.
2394 2020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
2396 * gdb.tui/list.exp: Test 'focus next' after 'list main'.
2398 2020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2400 * gdb.base/style.exp: Test that warnings are styled.
2402 2019-12-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
2404 * gdb.base/line65535.exp: New file.
2405 * gdb.base/line65535.c: New file.
2407 2019-12-27 Simon Marchi <simon.marchi@polymtl.ca>
2409 * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
2410 * lib/gnat_debug_info_test.adb: New file.
2411 * gdb.ada/ptype_tagged_param.exp: Use
2412 gnat_runtime_has_debug_info, expect a different output if
2413 runtime does not have debug info.
2415 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
2417 * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
2418 (another) quote in test name.
2420 2019-12-20 Simon Marchi <simon.marchi@efficios.com>
2422 * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
2423 Add quote in test name.
2425 2019-12-20 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2427 * gdb.cp/pass-by-ref.cc: Delete. Generated in the output
2429 * gdb.cp/pass-by-ref.exp: Extend with more cases.
2430 * gdb.cp/pass-by-ref-2.cc: New file.
2431 * gdb.cp/pass-by-ref-2.exp: New file.
2433 2019-12-20 Tom Tromey <tom@tromey.com>
2435 * gdb.tui/list-before.exp: New file.
2437 2019-12-20 Tom Tromey <tom@tromey.com>
2439 * gdb.tui/list.exp: Check for source on initial listing.
2441 2019-12-11 Tom Tromey <tromey@adacore.com>
2443 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
2446 2019-12-18 Simon Marchi <simon.marchi@efficios.com>
2448 * gdb.base/default.exp: Update value of $_gdb_major.
2450 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
2452 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
2454 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
2456 * gdb.base/skip.exp: Whitespace fix.
2458 2019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2460 * gdb.base/skip-inline.c: New file.
2461 * gdb.base/skip-inline.exp: New file.
2463 2019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
2465 * gdb.base/jit-reader.exp (jit_reader_test): Rename
2466 jit_function_00 to jit_function_stack_mangle.
2467 * gdb.base/jithost.c (jit_function_t): Rename to...
2468 (jit_function_stack_mangle_t): ... this.
2469 (jit_function_add_t): New typedef.
2470 (jit_function_00_code): Rename to...
2471 (jit_function_stack_mangle_code): ... this, make static.
2472 (jit_function_add_code): New.
2473 (main): Generate "add" function and call it. Adjust to changes
2475 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
2476 (struct jithost_abi) <begin, end>: Remove fields.
2477 <object, function_stack_mangle, function_add>: New fields.
2478 * gdb.base/jitreader.c (struct reader_state) <code_begin,
2479 code_end>: Remove fields.
2480 <func_stack_mangle>: New field.
2481 (read_debug_info): Adjust to renaming, create block for "add"
2483 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
2485 2019-12-11 Tom Tromey <tom@tromey.com>
2487 * gdb.tui/resize.exp: Fix regexp.
2488 * gdb.tui/regs.exp: Fix regexps.
2489 * gdb.tui/main.exp: Fix regexp.
2491 2019-12-11 Tom Tromey <tom@tromey.com>
2493 * gdb.tui/resize.exp: Update.
2494 * gdb.tui/empty.exp (layouts): Update.
2496 2019-12-11 Tom Tromey <tom@tromey.com>
2498 * gdb.tui/regs.exp: Update.
2499 * gdb.tui/empty.exp (layouts): Update.
2500 * gdb.tui/basic.exp: Update.
2501 * lib/tuiterm.exp (_check_box): Don't check bottom border.
2503 2019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2505 * gdb.base/options.exp: Add -raw-values in the print completion list.
2506 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
2508 2019-12-10 Kevin Buettner <kevinb@redhat.com>
2510 * gdb.threads/omp-par-scope.c: New file.
2511 * gdb/threads/omp-par-scope.exp: New file.
2513 2019-12-10 Kevin Buettner <kevinb@redhat.com>
2515 * lib/gdb.exp (support_nested_function_tests): New proc.
2517 2019-12-10 Kevin Buettner <kevinb@redhat.com>
2519 * lib/gdb.exp (gdb_compile_openmp): New proc.
2520 (build_executable_from_specs): Add an "openmp" option.
2521 (gdb_compile_pthreads): Add non-executable case.
2523 2019-12-10 Tom Tromey <tromey@adacore.com>
2525 * gdb.ada/unchecked_union.exp: New file.
2526 * gdb.ada/unchecked_union/pck.adb: New file.
2527 * gdb.ada/unchecked_union/pck.ads: New file.
2528 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
2529 * gdb-utils.exp (string_to_regexp): Also quote "?".
2531 2019-12-10 George Barrett <bob@bob131.so>
2533 Test scripted probe breakpoints.
2534 * gdb.guile/scm-breakpoint.c (main): Add probe point.
2535 * gdb.python/py-breakpoint.c (main): Likewise.
2536 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
2538 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
2540 2019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2542 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
2543 an rvalue parameter.
2544 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
2547 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
2549 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
2552 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
2554 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
2555 broken version of GCC.
2557 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
2559 * gdb.fortran/info-modules.exp: Rewrite to make use of new
2560 sym-info-cmds library.
2561 * gdb.fortran/info-types.exp: Likewise.
2562 * lib/sym-info-cmds.exp: New file.
2564 2019-12-08 Tom de Vries <tdevries@suse.de>
2566 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
2568 2019-12-07 Keith Seitz <keiths@redhat.com>
2570 * gdb.base/corefile-buildid-shlib-shr.c: New file.
2571 * gdb.base/corefile-buildid-shlib.c: New file.
2572 * gdb.base/corefile-buildid.c: New file.
2573 * gdb.base/corefile-buildid.exp: New file.
2575 2019-12-06 Tom de Vries <tdevries@suse.de>
2577 * gdb.dwarf2/varval.exp: Add decl before def test.
2579 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2581 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
2583 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
2585 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
2586 CV and reference conversion for overload resolution.
2587 * gdb.cp/rvalue-ref-overload.exp: Test it.
2589 2019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2591 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
2592 * gdb.base/frameapply.exp: Test faas without command.
2594 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2596 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
2598 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
2601 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2603 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
2604 casting to type with no kind specified.
2605 (test_basic_parsing_of_type_kinds): Additional tests for types
2606 with no kind specified, and add tests for single/double
2607 precision/complex types.
2609 2019-12-04 Tom Tromey <tromey@adacore.com>
2611 * gdb.base/endianity.c (struct other) <x>: New field.
2612 (main): Initialize it.
2613 * gdb.base/endianity.exp: Update.
2615 2019-12-04 Tom Tromey <tromey@adacore.com>
2617 * gdb.ada/scalar_storage/storage.adb: New file.
2618 * gdb.ada/scalar_storage/pck.adb: New file.
2619 * gdb.ada/scalar_storage/pck.ads: New file.
2620 * gdb.ada/scalar_storage.exp: New file.
2622 2019-12-04 Tom Tromey <tromey@adacore.com>
2624 * gdb.base/endianity.c (struct otherendian) <f>: New field.
2625 (main): Initialize it.
2626 * gdb.base/endianity.exp: Update.
2628 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2630 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
2632 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
2634 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
2635 -symbol-info-module-functions and -symbol-info-module-variables.
2637 2019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
2639 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
2641 2019-12-01 Richard Bunt <richard.bunt@arm.com>
2642 Andrew Burgess <andrew.burgess@embecosm.com>
2644 * gdb.fortran/derived-type-striding.exp: New file.
2645 * gdb.fortran/derived-type-striding.f90: New file.
2646 * gdb.fortran/array-slices.exp: New file.
2647 * gdb.fortran/array-slices.f90: New file.
2649 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2651 * gdb.base/define.exp: Test . in command names.
2652 * gdb.base/setshow.exp: Update test, as . is now part of
2655 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2657 * gdb.base/define-prefix.exp: New file.
2659 2019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
2661 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
2663 (skip_btrace_pt_tests): Likewise.
2665 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
2667 * gdb.fortran/info-modules.exp: Compile source files in correct
2670 2019-11-27 Kevin Buettner <kevinb@redhat.com>
2672 * gdb.dwarf2/imported-unit.exp: New file.
2673 * gdb.dwarf2/imported-unit.c: New file.
2675 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
2677 * gdb.mi/mi-fortran-modules-2.f90: New file.
2678 * gdb.mi/mi-fortran-modules.exp: New file.
2679 * gdb.mi/mi-fortran-modules.f90: New file.
2681 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
2683 * gdb.mi/mi-sym-info-1.c: New file.
2684 * gdb.mi/mi-sym-info-2.c: New file.
2685 * gdb.mi/mi-sym-info.exp: New file.
2687 2019-11-22 Tom Tromey <tromey@adacore.com>
2689 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
2690 * gdb.ada/tasks/foo.adb: Add another stopping location.
2692 2019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
2694 * gdb.base/endianity.c: New test.
2695 * gdb.base/endianity.exp: New file.
2697 2019-11-21 Lukas Durfina <ldurfina@tachyum.com>
2699 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
2701 2019-11-21 Tom de Vries <tdevries@suse.de>
2704 * gdb.base/ui-redirect.exp: Test output of user-defined command.
2706 2019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
2708 * gdb.python/py-progspace.exp: Add missing parentheses on some
2711 2019-11-19 Tom Tromey <tom@tromey.com>
2713 * gdb.tui/winheight.exp: New file.
2715 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2717 * gdb.base/ctf-whatis.c: Delete.
2718 * gdb.base/ctf-whatis.exp: Delete.
2719 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
2721 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2723 * gdb.base/ctf-cvexpr.exp: Delete.
2724 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
2726 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
2728 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
2729 the compiler. Clean up header comment a little.
2730 * gdb.base/ctf-ptype.exp: Likewise.
2731 * gdb.base/ctf-whatis.exp: Likewise.
2732 * lib/gdb.exp (skip_ctf_tests): New proc.
2734 2019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
2736 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
2737 * gdb.tui/corefile-run.exp: New file.
2739 2019-11-14 Tom Tromey <tromey@adacore.com>
2741 * gdb.base/gdbvars.exp (test_convenience_variables): Add
2744 2019-11-12 Tom Tromey <tom@tromey.com>
2746 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
2747 after any command. Expect prompt after WAIT_FOR is seen.
2748 (enter_tui): Enable resize messages.
2749 (command): Expect command in output.
2750 (get_line): Avoid error when cursor appears to be off-screen.
2751 (dump_screen): Include screen size in title.
2752 (_do_resize): New proc, from "resize".
2753 (resize): Rewrite. Do resize in two steps.
2754 * gdb.tui/empty.exp (layouts): Fix entries.
2755 (check_boxes): Remove xfail.
2756 (check_text): Dump screen on failure.
2758 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
2760 * gdb.python/py-symbol.exp: Add test for
2761 gdb.lookup_static_symbols.
2763 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
2765 * gdb.python/py-symbol.c: Declare and call function from new
2767 * gdb.python/py-symbol.exp: Compile both source files, and add new
2768 tests for gdb.lookup_static_symbol.
2769 * gdb.python/py-symbol-2.c: New file.
2771 2019-11-02 Tom de Vries <tdevries@suse.de>
2773 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
2774 * gdb.base/anon.exp: Same.
2775 * gdb.base/auto-connect-native-target.exp: Same.
2776 * gdb.base/call-ar-st.exp: Same.
2777 * gdb.base/catch-syscall.exp: Same.
2778 * gdb.base/commands.exp: Same.
2779 * gdb.base/default.exp: Same.
2780 * gdb.base/display.exp: Same.
2781 * gdb.base/float.exp: Same.
2782 * gdb.base/foll-fork.exp: Same.
2783 * gdb.base/help.exp: Same.
2784 * gdb.base/info-macros.exp: Same.
2785 * gdb.base/info-proc.exp: Same.
2786 * gdb.base/info-target.exp: Same.
2787 * gdb.base/long_long.exp: Same.
2788 * gdb.base/macscp.exp: Same.
2789 * gdb.base/memattr.exp: Same.
2790 * gdb.base/nofield.exp: Same.
2791 * gdb.base/pointers.exp: Same.
2792 * gdb.base/printcmds.exp: Same.
2793 * gdb.base/ptype.exp: Same.
2794 * gdb.base/restore.exp: Same.
2795 * gdb.base/return.exp: Same.
2796 * gdb.base/scope.exp: Same.
2797 * gdb.base/set-noassign.exp: Same.
2798 * gdb.base/setshow.exp: Same.
2799 * gdb.base/shlib-call.exp: Same.
2800 * gdb.base/signals.exp: Same.
2801 * gdb.base/sigstep.exp: Same.
2802 * gdb.base/skip.exp: Same.
2803 * gdb.base/solib-symbol.exp: Same.
2804 * gdb.base/stap-probe.exp: Same.
2805 * gdb.base/step-line.exp: Same.
2806 * gdb.base/step-test.exp: Same.
2807 * gdb.base/style.exp: Same.
2808 * gdb.base/varargs.exp: Same.
2809 * gdb.base/vla-datatypes.exp: Same.
2810 * gdb.base/vla-ptr.exp: Same.
2811 * gdb.base/vla-sideeffect.exp: Same.
2812 * gdb.base/volatile.exp: Same.
2813 * gdb.base/watch-cond-infcall.exp: Same.
2814 * gdb.base/watchpoint.exp: Same.
2816 2019-11-02 Tom de Vries <tdevries@suse.de>
2818 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
2819 * gdb.cp/cpexprs.exp: Same.
2820 * gdb.cp/except-multi-location.exp: Same.
2821 * gdb.cp/exceptprint.exp: Same.
2822 * gdb.cp/gdb2384.exp: Same.
2823 * gdb.cp/inherit.exp: Same.
2824 * gdb.cp/m-static.exp: Same.
2825 * gdb.cp/meth-typedefs.exp: Same.
2826 * gdb.cp/misc.exp: Same.
2827 * gdb.cp/namespace.exp: Same.
2828 * gdb.cp/non-trivial-retval.exp: Same.
2829 * gdb.cp/overload.exp: Same.
2830 * gdb.cp/pr17132.exp: Same.
2831 * gdb.cp/re-set-overloaded.exp: Same.
2832 * gdb.cp/rvalue-ref-types.exp: Same.
2833 * gdb.cp/templates.exp: Same.
2835 2019-11-01 Luis Machado <luis.machado@linaro.org>
2839 * gdb.arch/pr25124.S: New file.
2840 * gdb.arch/pr25124.exp: New file.
2842 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2844 * gdb.fortran/info-modules.exp: Update expected results, and add
2845 additional tests for 'info module functinos', and 'info module
2847 * gdb.fortran/info-types.exp: Update expected results.
2848 * gdb.fortran/info-types.f90: Extend testcase with additional
2849 module variables and functions.
2851 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2853 * gdb.fortran/info-modules.exp: New file.
2854 * gdb.fortran/info-types.exp: Build with new file.
2855 * gdb.fortran/info-types.f90: Include and use new module.
2856 * gdb.fortran/info-types-2.f90: New file.
2858 2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2860 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
2861 * gdb.base/settings.exp: Test all settings types using
2862 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
2863 that now verifies that the value of "maint show" is the same as
2864 returned by the settings functions. Test the type of the
2865 maintenance settings.
2866 * gdb.base/default.exp: Update show_conv_list.
2868 2019-10-31 Tom de Vries <tdevries@suse.de>
2870 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
2872 * gdb.arch/amd64-disp-step.exp: Same.
2873 * gdb.asm/asm-source.exp: Same.
2874 * gdb.btrace/buffer-size.exp: Same.
2875 * gdb.btrace/cpu.exp: Same.
2876 * gdb.btrace/enable.exp: Same.
2877 * gdb.dwarf2/count.exp: Same.
2878 * gdb.dwarf2/dw2-ranges-func.exp: Same.
2879 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
2880 * gdb.fortran/vla-datatypes.exp: Same.
2881 * gdb.fortran/vla-history.exp: Same.
2882 * gdb.fortran/vla-ptype.exp: Same.
2883 * gdb.fortran/vla-value.exp: Same.
2884 * gdb.fortran/whatis_type.exp: Same.
2885 * gdb.guile/guile.exp: Same.
2886 * gdb.multi/tids.exp: Same.
2887 * gdb.python/py-finish-breakpoint.exp: Same.
2888 * gdb.python/py-framefilter.exp: Same.
2889 * gdb.python/py-pp-registration.exp: Same.
2890 * gdb.python/py-xmethods.exp: Same.
2891 * gdb.python/python.exp: Same.
2892 * gdb.server/connect-with-no-symbol-file.exp: Same.
2893 * gdb.server/no-thread-db.exp: Same.
2894 * gdb.server/run-without-local-binary.exp: Same.
2895 * gdb.stabs/weird.exp: Same.
2896 * gdb.threads/attach-many-short-lived-threads.exp: Same.
2897 * gdb.threads/thread-find.exp: Same.
2898 * gdb.threads/tls-shared.exp: Same.
2899 * gdb.threads/tls.exp: Same.
2900 * gdb.threads/wp-replication.exp: Same.
2901 * gdb.trace/ax.exp: Same.
2902 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
2904 2019-10-31 Tom de Vries <tdevries@suse.de>
2906 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
2907 * gdb.ada/array_subscript_addr.exp: Same.
2908 * gdb.ada/arrayidx.exp: Same.
2909 * gdb.ada/arrayparam.exp: Same.
2910 * gdb.ada/arrayptr.exp: Same.
2911 * gdb.ada/boolean_expr.exp: Same.
2912 * gdb.ada/call_pn.exp: Same.
2913 * gdb.ada/complete.exp: Same.
2914 * gdb.ada/fixed_cmp.exp: Same.
2915 * gdb.ada/fun_addr.exp: Same.
2916 * gdb.ada/funcall_param.exp: Same.
2917 * gdb.ada/interface.exp: Same.
2918 * gdb.ada/mod_from_name.exp: Same.
2919 * gdb.ada/null_array.exp: Same.
2920 * gdb.ada/packed_array.exp: Same.
2921 * gdb.ada/packed_tagged.exp: Same.
2922 * gdb.ada/print_chars.exp: Same.
2923 * gdb.ada/print_pc.exp: Same.
2924 * gdb.ada/ptype_arith_binop.exp: Same.
2925 * gdb.ada/ptype_field.exp: Same.
2926 * gdb.ada/ptype_tagged_param.exp: Same.
2927 * gdb.ada/rec_return.exp: Same.
2928 * gdb.ada/ref_tick_size.exp: Same.
2929 * gdb.ada/str_ref_cmp.exp: Same.
2930 * gdb.ada/taft_type.exp: Same.
2931 * gdb.ada/tagged.exp: Same.
2932 * gdb.ada/type_coercion.exp: Same.
2933 * gdb.ada/uninitialized_vars.exp: Same.
2935 2019-10-30 Tom de Vries <tdevries@suse.de>
2937 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
2939 2019-10-26 Tom de Vries <tdevries@suse.de>
2941 * gdb.base/bigcore.c: Fix typos in comments.
2942 * gdb.base/ctf-ptype.c: Same.
2943 * gdb.base/long_long.c: Same.
2944 * gdb.dwarf2/dw2-op-out-param.S: Same.
2945 * gdb.python/py-evthreads.c: Same.
2946 * gdb.reverse/i387-stack-reverse.c: Same.
2947 * gdb.trace/tfile.c: Same.
2948 * lib/compiler.c: Same.
2949 * lib/compiler.cc: Same.
2951 2019-10-25 Tom de Vries <tdevries@suse.de>
2953 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
2954 gdb_test_multiple calls.
2955 * gdb.reverse/sigall-reverse.exp: Same.
2956 * gdb.reverse/solib-precsave.exp: Same.
2957 * gdb.reverse/solib-reverse.exp: Same.
2958 * gdb.reverse/until-precsave.exp: Same.
2959 * gdb.reverse/until-reverse.exp: Same.
2961 2019-10-24 Tom de Vries <tdevries@suse.de>
2963 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
2964 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
2965 kfail using -wrap pattern flag and convenience variable
2968 2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
2970 * gdb.python/py-progspace.exp: Add tests for the
2971 Progspace.block_for_pc method.
2973 2019-10-23 Tom Tromey <tom@tromey.com>
2975 * configure: Rebuild.
2976 * aclocal.m4: Use m4_include, not sinclude.
2978 2019-10-21 Tom de Vries <tdevries@suse.de>
2980 * gdb.base/infcall-nested-structs.c: Add
2981 __attribute__((noinline,noclone)) to all functions.
2982 (call_all): Add missing variable initialization. Simplify return value.
2983 (breakpt): Increment volatile variable, to prevent call from being
2985 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
2987 2019-10-17 Tom de Vries <tdevries@suse.de>
2989 * gdb.fortran/module.exp: Allow info variables to print info for files
2990 other than module.f90.
2992 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
2994 * gdb.fortran/module.exp: Extend with 'info variables' test.
2996 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
2998 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
3001 2019-10-16 Tom de Vries <tdevries@suse.de>
3004 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
3006 2019-10-16 Tom de Vries <tdevries@suse.de>
3009 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
3010 Add KFAIL for PR tdep/25096.
3012 2019-10-16 Tom de Vries <tdevries@suse.de>
3015 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
3017 2019-10-16 Tom de Vries <tdevries@suse.de>
3019 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
3022 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
3024 * gdb.mi/list-thread-groups-available.exp: Read entries one by
3025 one instead of increasing timeout.
3027 2019-10-13 Tom de Vries <tdevries@suse.de>
3030 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
3031 * gdb.reverse/sigall-reverse.exp: Same.
3032 * gdb.reverse/solib-precsave.exp: Same.
3033 * gdb.reverse/solib-reverse.exp: Same.
3034 * gdb.reverse/step-precsave.exp: Same.
3035 * gdb.reverse/until-precsave.exp: Same.
3036 * gdb.reverse/until-reverse.exp: Same.
3037 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
3039 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
3041 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
3042 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
3043 (cmp_struct_05_01, cmp_struct_static_02_01)
3044 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
3047 2019-10-10 Tom de Vries <tdevries@suse.de>
3050 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
3053 2019-10-09 Tom de Vries <tdevries@suse.de>
3056 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
3058 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
3060 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
3061 exceptions due to missing debug information.
3063 2019-10-07 Tom de Vries <tdevries@suse.de>
3065 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
3067 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
3069 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
3070 * gdb.base/annota1.exp: Update to use gdb_test_name.
3072 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
3074 * gdb.base/ctf-whatis.exp: New file.
3075 * gdb.base/ctf-whatis.c: New file.
3076 * gdb.base/ctf-ptype.exp: New file.
3077 * gdb.base/ctf-ptype.c: New file.
3078 * gdb.base/ctf-constvars.exp: New file.
3079 * gdb.base/ctf-constvars.c: New file.
3080 * gdb.base/ctf-cvexpr.exp: New file.
3082 2019-10-04 Tom de Vries <tdevries@suse.de>
3084 * gdb.cp/local-static.c (main): Move declaration of int i out of the
3087 2019-10-03 Tom Tromey <tom@tromey.com>
3090 * gdb.rust/simple.rs (Union2): New type.
3092 * gdb.rust/simple.exp: Add test.
3094 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3096 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
3097 nested function prefix.
3099 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
3100 Richard Bunt <richard.bunt@arm.com>
3101 Andrew Burgess <andrew.burgess@embecosm.com>
3103 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
3105 * gdb.fortran/nested-funcs.f90: Update expected results.
3106 * gdb.fortran/nested-funcs-2.exp: New file.
3107 * gdb.fortran/nested-funcs-2.f90: New file.
3109 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3111 * gdb.python/py-parameter.exp: Make test names unique.
3112 * gdb.python/py-template.exp: Likewise.
3113 * gdb.python/py-value.exp: Likewise.
3115 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3117 * gdb.base/break-interp.exp: Reduce test name duplication.
3118 * gdb.base/call-sc.exp: Likewise.
3119 * gdb.base/callfuncs.exp: Likewise.
3120 * gdb.base/charset.exp: Likewise.
3121 * gdb.base/dump.exp: Likewise.
3122 * gdb.base/ena-dis-br.exp: Likewise.
3123 * gdb.base/relational.exp: Likewise.
3124 * gdb.base/step-over-syscall.exp: Likewise.
3125 * gdb.base/structs.exp: Likewise.
3127 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3129 * gdb.linespec/explicit.exp: Make test names unique.
3130 * gdb.linespec/ls-errs.exp: Likewise.
3132 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3134 * gdb.reverse/break-precsave.exp: Make test names unique.
3135 * gdb.reverse/break-reverse.exp: Likewise.
3136 * gdb.reverse/finish-precsave.exp: Likewise.
3137 * gdb.reverse/finish-reverse.exp: Likewise.
3138 * gdb.reverse/machinestate-precsave.exp: Likewise.
3139 * gdb.reverse/machinestate.exp: Likewise.
3140 * gdb.reverse/readv-reverse.exp: Likewise.
3141 * gdb.reverse/recvmsg-reverse.exp: Likewise.
3142 * gdb.reverse/sigall-precsave.exp: Likewise.
3143 * gdb.reverse/sigall-reverse.exp: Likewise.
3144 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
3145 * gdb.reverse/watch-precsave.exp: Likewise.
3146 * gdb.reverse/watch-reverse.exp: Likewise.
3148 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
3150 * gdb.threads/stop-with-handle.c: New file.
3151 * gdb.threads/stop-with-handle.exp: New file.
3153 2019-10-03 Tom de Vries <tdevries@suse.de>
3156 * gdb.base/list-missing-source.exp: Allowing the "Compilation
3157 directory" line to be missing.
3159 2019-10-03 Tom de Vries <tdevries@suse.de>
3162 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
3165 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
3167 * gdb.python/py-format-string.c (string.h): New include.
3168 (main): Fill a_struct_with_union.the_union.an_int with bytes of
3169 the same value, for endianness-independence.
3170 * gdb.python/py-format-string.exp (default_regexp_dict)
3171 (test_pretty_structs, test_format): Adjust expected output to the
3172 changed initialization.
3174 2019-10-02 Tom Tromey <tromey@adacore.com>
3176 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
3178 2019-10-02 Pedro Alves <palves@redhat.com>
3179 Andrew Burgess <andrew.burgess@embecosm.com>
3181 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
3183 (this_version_id) Use ATTRIBUTE_VISIBILITY.
3184 (get_version_1): Print this_version_id and its address.
3185 Add extern "C" wrappers around interface functions.
3186 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
3188 (this_version_id) Use ATTRIBUTE_VISIBILITY.
3189 (get_version_2): Print this_version_id and its address.
3190 Add extern "C" wrappers around interface functions.
3191 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
3192 <stddef.h> and "print-file-var.h".
3193 Add extern "C" wrappers around interface functions.
3194 [VERSION_ID_MAIN] (this_version_id): Define.
3195 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
3196 * gdb.base/print-file-var.h: Add some #defines to simplify setting
3197 up extern "C" blocks.
3198 * gdb.base/print-file-var.exp (test): New, factored out from top
3200 (top level): Test all combinations of attribute hidden or not,
3201 dlopen or not, and this_version_id symbol in main file or not.
3202 Compile tests as both C++ and C, make test names unique.
3204 2019-10-01 Tom Tromey <tom@tromey.com>
3206 * gdb.base/style.exp: Test "show logging filename".
3208 2019-10-01 Tom Tromey <tom@tromey.com>
3210 * lib/gdb-utils.exp (style): Handle "metadata" argument.
3211 * gdb.base/style.exp: Add metadata style test.
3213 2019-10-01 Tom Tromey <tom@tromey.com>
3215 * gdb.base/style.exp: Test "pwd".
3217 2019-10-01 Tom Tromey <tom@tromey.com>
3219 * gdb.base/style.exp: Update tests.
3221 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
3223 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
3225 (s1): Initialize fields 'four' and 'six' instead of 'three' and
3226 'five'. Use an all-ones bit pattern for each.
3227 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
3228 to its changed values.
3230 2019-09-30 Tom Tromey <tromey@adacore.com>
3232 * gdb.rust/traits.rs: Disable all warnings.
3234 2019-09-29 Tom de Vries <tdevries@suse.de>
3236 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
3238 2019-09-29 Tom de Vries <tdevries@suse.de>
3240 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
3242 2019-09-27 Tom de Vries <tdevries@suse.de>
3244 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
3246 2019-09-27 Tom de Vries <tdevries@suse.de>
3249 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
3251 2019-09-26 Tom Tromey <tromey@adacore.com>
3253 * gdb.ada/py_taft.exp: New file.
3254 * gdb.ada/py_taft/main.adb: New file.
3255 * gdb.ada/py_taft/pkg.adb: New file.
3256 * gdb.ada/py_taft/pkg.ads: New file.
3258 2019-09-24 Tom de Vries <tdevries@suse.de>
3261 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
3263 2019-09-22 Tom de Vries <tdevries@suse.de>
3265 * gdb.base/restore.exp: Allow register variables to be optimized out at
3268 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
3270 * gdb.arch/spu-info.exp: Remove file.
3271 * gdb.arch/spu-info.c: Remove file.
3272 * gdb.arch/spu-ls.exp: Remove file.
3273 * gdb.arch/spu-ls.c: Remove file.
3275 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
3276 * gdb.asm/spu.inc: Remove file.
3278 * gdb.base/dump.exp: Remove support for spu*-*-*.
3279 * gdb.base/stack-checking.exp: Likewise.
3280 * gdb.base/overlays.exp: Likewise.
3281 * gdb.base/ovlymgr.c: Likewise.
3282 * gdb.base/spu.ld: Remove file.
3284 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
3285 * gdb.cp/cpexprs.exp: Likewise.
3286 * gdb.cp/exception.exp: Likewise.
3287 * gdb.cp/gdb2495.exp: Likewise.
3288 * gdb.cp/mb-templates.exp: Likewise.
3289 * gdb.cp/pr9167.exp: Likewise.
3290 * gdb.cp/userdef.exp: Likewise.
3292 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
3294 * gdb.cell: Remove directory.
3295 * lib/cell.exp: Remove file.
3297 2019-09-19 Tom de Vries <tdevries@suse.de>
3299 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
3301 2019-09-19 Tom de Vries <tdevries@suse.de>
3303 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
3305 2019-09-19 Tom de Vries <tdevries@suse.de>
3307 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
3308 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
3309 (gdb_target_cmd): ... here.
3310 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
3313 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
3315 * gdb.base/source-dir.exp: Avoid having directory names in test
3318 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
3320 * gdb.base/source-dir.exp: Add extra test for mapped compilation
3323 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
3325 * gdb.base/list-missing-source.exp: New file.
3327 2019-09-14 Tom de Vries <tdevries@suse.de>
3330 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
3331 * lib/ada.exp (gnatmake_version_at_least): New proc.
3333 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
3335 * gdb.base/maint.exp: Use exec_has_index_section.
3337 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
3339 * gdb.base/maint.exp: Add test for 'maint info sections'.
3341 2019-09-12 Tom de Vries <tdevries@suse.de>
3343 * gdb.base/store.exp: Allow register variables to be optimized out at
3346 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3348 * gdb.ada/rdv_wait.exp: Update to new task names.
3349 * gdb.base/task_switch_in_core.exp: Likewise.
3350 * gdb.base/info_sources_base.c: Likewise.
3352 2019-09-10 Tom Tromey <tromey@adacore.com>
3354 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
3356 2019-09-10 Tom Tromey <tromey@adacore.com>
3358 * gdb.ada/dgopt.exp: New file.
3359 * gdb.ada/dgopt/x.adb: New file.
3361 2019-09-08 Tom Tromey <tom@tromey.com>
3363 * gdb.tui/resize.exp: Remove setup_xfail.
3364 * gdb.tui/regs.exp: Remove setup_xfail.
3365 * gdb.tui/basic.exp: Remove setup_xfail.
3367 2019-09-06 David Blaikie <dblaikie@gmail.com>
3369 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
3370 * gdb.cp/cplabel.exp: Ditto.
3371 * gdb.linespec/ls-errs.exp: Ditto.
3373 2019-09-05 Tom de Vries <tdevries@suse.de>
3375 * lib/gdb.exp (cmp_file_string): New proc.
3376 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
3377 runto_main. Verify save breakpoints output.
3379 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3381 * gdb.base/info-var.exp: Test info variables without running
3382 to main, to avoid expect's buffer overflow.
3384 2019-09-03 Tom Tromey <tromey@adacore.com>
3386 * gdb.ada/bias.exp: New file.
3387 * gdb.ada/bias/bias.adb: New file.
3388 * gdb.ada/print_chars.exp: Add regression test.
3389 * gdb.ada/print_chars/foo.adb (My_Character): New type.
3392 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
3394 * gdb.base/argv0-symlink.exp: Run only on native target
3397 2019-08-29 Tom de Vries <tdevries@suse.de>
3399 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
3401 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
3403 2019-08-28 Tom de Vries <tdevries@suse.de>
3405 * gdb.base/info-var.exp: Allow info variables to print info for files
3406 other than info-var-f1.c and info-var-f2.c.
3408 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
3410 * gdb.fortran/info-types.exp: Add module.
3411 * gdb.fortran/info-types.f90: Update expected results.
3413 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
3415 * gdb.fortran/info-types.exp: New file.
3416 * gdb.fortran/info-types.f90: New file.
3417 * lib/fortran.exp (fortran_character1): New proc.
3419 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
3421 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
3422 functions'. Reindent as needed.
3423 * gdb.base/info-var-f1.c: New file.
3424 * gdb.base/info-var-f2.c: New file.
3425 * gdb.base/info-var.exp: New file.
3426 * gdb.base/info-var.h: New file.
3428 2019-08-26 Tom de Vries <tdevries@suse.de>
3431 * gdb.cp/no-libstdcxx-probe.exp: New test.
3433 2019-08-26 Tom de Vries <tdevries@suse.de>
3435 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
3436 * tests need to be skipped.
3437 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
3438 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
3439 mi_skip_libstdcxx_probe_tests.
3441 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
3443 * gdb.python/py-xmethods.exp: Use raw strings when passing
3444 arguments to SimpleXMethodMatcher.
3446 2019-08-22 Tom de Vries <tdevries@suse.de>
3448 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
3451 2019-08-21 Pedro Alves <palves@redhat.com>
3453 * gdb.base/with.exp: Test "with" with no arguments.
3455 2019-08-21 Tom de Vries <tdevries@suse.de>
3457 * gdb.base/gdb-caching-proc.exp: Sort files.
3459 2019-08-20 Tom de Vries <tdevries@suse.de>
3461 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
3464 2019-08-16 Tom de Vries <tdevries@suse.de>
3466 * gdb.base/compare-sections.exp ("after run to main"): Allow
3467 mismatched read-only sections for PIE executables.
3469 2019-08-16 Tom Tromey <tom@tromey.com>
3471 * lib/tuiterm.exp (_csi_Z): New proc.
3472 * gdb.tui/basic.exp: Update window positions.
3473 * gdb.tui/empty.exp: Update window positions.
3475 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
3477 * gdb.base/examine-backward.exp: Correct regexp for
3478 "examine 3 bytes backward from ${address_zero}".
3480 2019-08-15 Tom Tromey <tom@tromey.com>
3482 * gdb.tui/empty.exp: Enable resizing tests.
3484 2019-08-15 Tom Tromey <tromey@adacore.com>
3486 * gdb.ada/char_enum.exp: Add regression tests.
3487 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
3489 (Char, Gchar): Update.
3490 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
3492 2019-08-15 Christian Biesinger <cbiesinger@google.com>
3494 * gdb.python/python.exp: Expect a leading underscore on
3495 GdbOutput{,Error}File.
3497 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
3499 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
3502 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
3504 * gdb.base/batch-preserve-term-settings.exp
3505 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
3507 2019-08-15 Christian Biesinger <cbiesinger@google.com>
3509 * lib/gdb.exp: When running on a mingw target, replace
3512 2019-08-14 Alan Hayward <alan.hayward@arm.com>
3514 * gdb.arch/aarch64-prologue.c: New test.
3515 * gdb.arch/aarch64-prologue.exp: New file.
3517 2019-08-13 Tom de Vries <tdevries@suse.de>
3519 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
3522 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
3524 * gdb.python/py-completion.exp: Download the .py file to the host
3525 and use its host pathname. Conditionalize tests that use
3526 tab completion and manipulate files on the build machine.
3527 * gdb.python/py-events.exp: Download the .py file to the host
3528 and use its host pathname.
3529 * gdb.python/py-evsignal.exp: Likewise.
3530 * gdb.python/py-evthreads.exp: Likewise.
3531 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
3533 * gdb.python/py-framefilter.exp: Download the .py file to the right
3534 place on the host. Match Windows pathname syntax.
3535 * gdb.python/py-mi-var-info-path-expression.exp: Download the
3536 .py file to the host and use its host pathname.
3537 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
3538 * gdb.python/py-objfile.exp: Expect a host pathname, not a
3539 build pathname. Skip symlink test on Windows host. Add missing
3540 newline at end of file.
3541 * gdb.python/py-pp-maint.exp: Download the .py file to the host
3542 and use its host pathname.
3543 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
3544 * gdb.python/py-section-script.exp: Use host location of binfile
3545 on safe-path. Use correct path separator on Windows host.
3546 Reorder alternatives in gdb_test_multiple to prevent matching
3547 the wrong alternative on success.
3548 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
3550 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
3552 * gdb.gdb/selftest.exp (test_with_self): Update test to now
3553 expect the GDB inferior to no longer immediately stop after
3554 being resumed with "signal SIGINT".
3556 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
3558 * gdb.linespec/break-ask.exp: Generalize regexps to match
3559 Windows pathnames too.
3561 2019-08-08 Tom de Vries <tdevries@suse.de>
3564 * lib/tuiterm.exp (_accept): Fix CSI regexp.
3566 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3568 * gdb.base/style.exp: Update tests for help doc new invariants.
3569 * gdb.base/help.exp: Likewise.
3571 2019-08-06 Tom Tromey <tom@tromey.com>
3573 * gdb.base/style.exp: Add disassemble test.
3574 * gdb.base/style.c (some_called_function): New function.
3577 2019-08-05 Christian Biesinger <cbiesinger@google.com>
3579 * gdb.python/py-block.exp: Test dictionary access on blocks.
3581 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
3584 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
3585 -list-thread-groups --available test when running under
3588 2019-08-05 Tom de Vries <tdevries@suse.de>
3591 * lib/gdb.exp (with_read1_timeout_factor): New proc.
3592 * gdb.base/help.exp: Use with_read1_timeout_factor.
3593 * gdb.base/info-macros.exp: Same.
3594 * gdb.cp/nested-types.exp: Same.
3596 2019-08-05 Tom de Vries <tdevries@suse.de>
3598 * lib/gdb.exp (version_at_least): Factor out of ...
3599 (tcl_version_at_least): ... here.
3600 (gdb_compile): Fail if pie results in non-PIE executable.
3601 (readelf_version, readelf_prints_pie): New proc.
3602 (exec_is_pie): Return -1 if unknown.
3604 2019-08-05 Tom de Vries <tdevries@suse.de>
3606 * lib/gdb.exp (tcl_version_at_least): Fix typo.
3608 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
3610 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
3612 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
3614 * lib/completion-support.exp (test_gdb_complete_none): Skip
3615 tab completion tests if no readline support.
3616 (test_gdb_complete_unique_re): Likewise.
3617 (test_gdb_complete_multiple): Likewise.
3619 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3621 * gdb.base/info_sources.exp: New file.
3622 * gdb.base/info_sources.c: New file.
3623 * gdb.base/info_sources_base.c: New file.
3625 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3627 * gdb.base/batch-exit-status.exp: Call test_exit_status with
3629 (test_exit_status): Add prefix argument.
3631 2019-08-01 Tom de Vries <tdevries@suse.de>
3634 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
3635 calling exp_continue for new thread and thread exited messages.
3637 2019-08-01 Tom de Vries <tdevries@suse.de>
3640 * gdb.base/structs.exp: Fix check-read1 timeout using
3642 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
3644 2019-08-01 Tom de Vries <tdevries@suse.de>
3647 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
3650 2019-08-01 Tom de Vries <tdevries@suse.de>
3653 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
3655 2019-07-30 Tom Tromey <tromey@adacore.com>
3657 * gdb.ada/display_nested.exp: New file.
3658 * gdb.ada/display_nested/foo.adb: New file.
3659 * gdb.ada/display_nested/pack.adb: New file.
3660 * gdb.ada/display_nested/pack.ads: New file.
3662 2019-07-30 Christian Biesinger <cbiesinger@google.com>
3664 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
3666 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
3668 2019-07-30 Tom de Vries <tdevries@suse.de>
3670 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
3673 2019-07-30 Tom de Vries <tdevries@suse.de>
3676 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
3677 (exec_is_pie): New proc.
3679 2019-07-29 Christian Biesinger <cbiesinger@google.com>
3681 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
3683 2019-07-29 Christian Biesinger <cbiesinger@google.com>
3685 * gdb.python/py-objfile.c: Add global and static vars.
3686 * gdb.python/py-objfile.exp: Test new functions Objfile.
3687 lookup_global_symbol and lookup_static_symbol.
3689 2019-07-29 Tom Tromey <tom@tromey.com>
3691 * lib/tuiterm.exp (Term::_csi_@): New proc.
3692 (Term::_csi_X): Don't move cursor.
3694 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3696 * gdb.base/options.exp: Update backtrace - completion to
3697 new option -frame-info.
3698 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
3699 Test new 'set print frame-info'. Test backtrace -frame-info
3700 overriding 'set print frame-info'.
3701 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
3702 Test new 'set print frame-info'.
3703 Verify consistency of backtrace with and without filters, with and
3704 without -no-filters.
3705 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
3708 2019-07-29 Tom de Vries <tdevries@suse.de>
3710 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
3713 2019-07-29 Tom de Vries <tdevries@suse.de>
3715 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
3716 is a substring of the first for "complete non-unique file name".
3718 2019-07-29 Tom de Vries <tdevries@suse.de>
3720 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
3723 2019-07-29 Tom de Vries <tdevries@suse.de>
3725 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
3726 Pass prompt_regexp parameter to gdb_test_multiple calls.
3728 2019-07-29 Tom de Vries <tdevries@suse.de>
3730 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
3731 print registers" regexps.
3733 2019-07-29 Tom de Vries <tdevries@suse.de>
3735 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
3737 2019-07-29 Tom de Vries <tdevries@suse.de>
3740 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
3741 (skip_python_tests_prompt): Add prompt_regexp argument to
3742 gdb_test_multiple calls.
3744 2019-07-27 Tom Tromey <tom@tromey.com>
3746 * gdb.tui/main.exp: New file.
3748 2019-07-27 Tom Tromey <tom@tromey.com>
3750 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
3752 * gdb.tui/empty.exp: New file.
3754 2019-07-27 Tom Tromey <tom@tromey.com>
3756 * lib/tuiterm.exp (spawn): New proc.
3757 (Term::resize): New proc.
3758 * gdb.tui/resize.exp: New file.
3760 2019-07-27 Tom Tromey <tom@tromey.com>
3762 * gdb.tui/list.exp: New file.
3764 2019-07-27 Tom Tromey <tom@tromey.com>
3766 * gdb.tui/regs.exp: New file.
3768 2019-07-27 Tom Tromey <tom@tromey.com>
3770 * gdb.tui/basic.exp: Add "layout split" test.
3772 2019-07-27 Tom Tromey <tom@tromey.com>
3774 * gdb.tui/basic.exp: Add "layout asm" test.
3776 2019-07-27 Tom Tromey <tom@tromey.com>
3778 * lib/tuiterm.exp: New file.
3779 * gdb.tui/basic.exp: New file.
3781 2019-07-27 Kevin Buettner <kevinb@redhat.com>
3783 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
3784 Enable tests associated with this flag. Adjust regex
3785 referencing "foo_low" to now refer to "foo_cold" instead.
3787 2019-07-27 Kevin Buettner <kevinb@redhat.com>
3789 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
3790 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
3791 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
3792 foo_cold. Revise comments to match.
3793 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
3794 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
3795 were wrapped into this proc; Call do_test in loop from outermost
3797 (foo_low): Rename all occurrences to "foo_cold".
3798 (backtrace from baz): New test.
3799 (x2/i foo_cold): New test.
3800 (info line *foo_cold): New test.
3802 2019-07-26 Tom de Vries <tdevries@suse.de>
3804 * gdb.arch/i386-pkru.exp: Fix unterminated string.
3806 2019-07-25 Tom de Vries <tdevries@suse.de>
3809 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
3810 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
3811 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
3812 (skip_libstdcxx_probe_tests): ... here.
3813 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
3815 2019-07-24 Tom de Vries <tdevries@suse.de>
3818 * gdb.objc/basicclass.m: Include stdio.h.
3819 * gdb.objc/nondebug.m: Same.
3820 * gdb.objc/objcdecode.m: Same.
3822 2019-07-24 Tom de Vries <tdevries@suse.de>
3825 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
3828 2019-07-24 Tom de Vries <tdevries@suse.de>
3831 * gdb.multi/tids.exp: Update error messages for info threads.
3833 2019-07-24 Tom de Vries <tdevries@suse.de>
3835 * gdb.base/info-types.exp: Allow info types to print info for more than
3838 2019-07-23 Tom de Vries <tdevries@suse.de>
3841 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
3842 gdb_spawn_with_cmdline_opts.
3844 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
3846 * gdb.arch/arm-cmse-sgstubs.c: New test.
3847 * gdb.arch/arm-cmse-sgstubs.exp: New file.
3849 2019-07-23 Tom de Vries <tdevries@suse.de>
3852 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
3853 issuing next command.
3855 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
3857 * gdb.ada/info_auto_lang.exp: Update expected results.
3858 * gdb.base/info-types.c: Add additional types to check.
3859 * gdb.base/info-types.exp: Update expected results.
3861 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
3863 * gdb.base/info-types.c: New file.
3864 * gdb.base/info-types.exp: New file.
3866 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
3868 * gdb.arch/riscv-bp-infcall.c: New file.
3869 * gdb.arch/riscv-bp-infcall.exp: New file.
3871 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
3873 PR breakpoints/24541
3874 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
3876 2019-07-14 Tom de Vries <tdevries@suse.de>
3879 * gdb.objc/basicclass.exp: Fix unterminated string.
3881 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
3882 Andrew Burgess <andrew.burgess@embecosm.com>
3884 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
3885 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
3887 * gdb.fortran/vla-value.exp: Print elements of an array with
3889 * gdb.fortran/vla.f90: Setup an array with negative bounds for
3892 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
3894 * gdb.base/options.exp (expect_string): Dequote strings in
3896 (test-string): Test strings with different quoting and reindent.
3898 2019-07-10 Tom Tromey <tromey@adacore.com>
3900 * gdb.ada/mi_ex_cond.exp: Update expected results.
3901 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
3902 * gdb.ada/mi_catch_ex.exp: Update expected results.
3903 * gdb.ada/mi_catch_assert.exp: Update expected results.
3904 * gdb.ada/catch_ex.exp (catch_exception_info)
3905 (catch_exception_entry, catch_assert_entry)
3906 (catch_unhandled_entry): Update.
3907 * gdb.ada/catch_assert_if.exp: Update expected results.
3909 2019-07-10 Richard Bunt <richard.bunt@arm.com>
3910 Stephen Roberts <stephen.roberts@arm.com>
3912 * gdb.base/define.exp: Restore original prompt.
3914 2019-07-09 Pedro Alves <palves@redhat.com>
3916 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
3917 breakpoints" output.
3918 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
3919 * gdb.python/py-breakpoint.exp: No longer expect that "catch
3920 throw" creates breakpoint.
3921 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
3922 'type="catchpoint"'.
3924 2019-07-09 Pedro Alves <palves@redhat.com>
3927 * gdb.cp/except-multi-location-lib.cc: New.
3928 * gdb.cp/except-multi-location-main.cc: New.
3929 * gdb.cp/except-multi-location.exp: New.
3931 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
3933 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
3934 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
3935 argument and update callers.
3937 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3939 * gdb.arch/amd64-break-on-asm-line.S: New file.
3940 * gdb.arch/amd64-break-on-asm-line.exp: New file.
3942 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3944 * gdb.base/printcmds.exp: Test printing C string and
3945 C wide string convenience vars without transiting via the inferior.
3946 Also make test names unique.
3948 2019-07-08 Alan Hayward <alan.hayward@arm.com>
3950 PR breakpoints/25011
3951 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
3953 2019-07-04 Pedro Alves <palves@redhat.com>
3955 * lib/gdb.exp (foreach_with_prefix): Don't return early if
3956 body returned ok(0), break(3) or continue(4).
3957 * gdb.testsuite/foreach_with_prefix.exp: New file.
3959 2019-07-04 Alan Hayward <alan.hayward@arm.com>
3961 * gdb.server/unittest.exp: Allow 0 unit tests to run.
3963 2019-07-03 Pedro Alves <palves@redhat.com>
3965 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
3968 2019-07-03 Pedro Alves <palves@redhat.com>
3971 * gdb.base/shell.exp: Load completion-support.exp.
3972 Adjust expected error output. Add completion tests.
3974 2019-07-03 Pedro Alves <palves@redhat.com>
3976 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
3979 2019-07-03 Pedro Alves <palves@redhat.com>
3981 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
3982 (expect_integer): Adjust to expect "-string".
3983 (expect_string): New.
3984 (all_options): Expect "-string".
3985 (test-flag, test-boolean): Adjust to expect "-string".
3986 (test-string): New proc.
3987 (top level): Call it.
3989 2019-07-03 Pedro Alves <palves@redhat.com>
3991 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
3992 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
3993 the expected output in the success.
3995 2019-07-03 Pedro Alves <palves@redhat.com>
3997 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
3998 Split one gdb_test_multiple call in two to avoid a race.
4000 2019-07-03 Pedro Alves <palves@redhat.com>
4002 * gdb.base/with.c: New file.
4003 * gdb.base/with.exp: New file.
4005 2019-07-03 Pedro Alves <palves@redhat.com>
4007 * gdb.base/settings.exp: Replace all references to "maint
4008 test-settings set" with references to "maint set test-settings",
4009 and all references to "maint test-settings show" with references
4010 to "maint show test-settings".
4012 2019-07-03 Pedro Alves <palves@redhat.com>
4014 * gdb.base/settings.exp (test-string): Adjust expected out when
4015 testing "maint test-settings show filename"
4017 2019-07-02 Pedro Alves <palves@redhat.com>
4019 * gdb.base/options.exp (test-info-threads): New procedure.
4020 (top level): Call it.
4022 2019-06-28 Tom Tromey <tromey@adacore.com>
4024 * gdb.dwarf2/ada-linkage-name.c: New file.
4025 * gdb.dwarf2/ada-linkage-name.exp: New file.
4027 2019-06-27 Tom Tromey <tromey@adacore.com>
4030 * gdb.cp/constexpr-field.exp: Use setup_xfail.
4032 2019-06-26 Tom de Vries <tdevries@suse.de>
4034 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
4036 2019-06-26 Tom de Vries <tdevries@suse.de>
4038 * gdb.base/index-cache.exp: Add back missing debug option.
4040 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4042 * gdb.base/alias.exp: Test non matching/non existing prefixes.
4044 2019-06-25 Tom de Vries <tdevries@suse.de>
4047 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
4049 2019-06-24 Tom de Vries <tdevries@suse.de>
4051 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
4053 2019-06-24 Tom de Vries <tdevries@suse.de>
4055 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
4056 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
4057 * gdb.trace/unavailable-dwarf-piece.exp: Same.
4059 2019-06-24 Tom de Vries <tdevries@suse.de>
4061 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
4063 2019-06-21 Tom de Vries <tdevries@suse.de>
4065 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
4067 2019-06-21 Tom de Vries <tdevries@suse.de>
4071 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
4074 2019-06-19 Tom Tromey <tromey@adacore.com>
4076 * gdb.ada/length_cond.exp: Add intro comment.
4078 2019-06-19 Tom Tromey <tromey@adacore.com>
4080 * gdb.ada/length_cond.exp: New file.
4081 * gdb.ada/length_cond/length_cond.adb: New file.
4082 * gdb.ada/length_cond/pck.adb: New file.
4083 * gdb.ada/length_cond/pck.ads: New file.
4085 2019-06-18 Tom de Vries <tdevries@suse.de>
4087 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
4089 2019-06-18 Tom Tromey <tromey@adacore.com>
4091 * gdb.base/list0.h: Add comment explaining control character.
4093 2019-06-18 Tom de Vries <tdevries@suse.de>
4095 * boards/fission.exp: Break up long debug_flags line.
4097 2019-06-16 Tom de Vries <tdevries@suse.de>
4100 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
4103 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
4106 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
4107 improve detection of bug gdb/24541.
4109 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
4112 * gdb.base/index-cache.exp (uses_readnow,
4113 expecting_index_cache_use): Define global variable.
4114 (test_cache_enabled_miss, test_cache_enabled_hit): Use
4115 expecting_index_cache_use.
4117 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
4118 Andrew Burgess <andrew.burgess@embecosm.com>
4120 * gdb.fortran/pointers.f90: New file.
4121 * gdb.fortran/print_type.exp: New file.
4122 * gdb.fortran/vla-ptype.exp: Adapt expected results.
4123 * gdb.fortran/vla-type.exp: Likewise.
4124 * gdb.fortran/vla-value.exp: Likewise.
4125 * gdb.mi/mi-vla-fortran.exp: Likewise.
4127 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
4129 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
4130 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
4131 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
4134 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
4136 * gdb.base/annota1.exp: Update expected results.
4137 * gdb.cp/annota2.exp: Likewise.
4138 * gdb.cp/annota3.exp: Likewise.
4140 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
4142 * gdb.base/style-logging.exp: Remove path from test name.
4144 2019-06-14 Tom Tromey <tromey@adacore.com>
4147 * gdb.base/style-logging.exp: New file.
4149 2019-06-14 Tom Tromey <tromey@adacore.com>
4151 * gdb.base/symfile-warn.exp: New file.
4152 * gdb.base/symfile-warn.c: New file.
4154 2019-06-14 Tom Tromey <tromey@adacore.com>
4156 * gdb.base/annotate-symlink.exp: New file.
4158 2019-06-14 Tom Tromey <tromey@adacore.com>
4160 * gdb.ada/set_wstr.exp: Add reassignment test.
4162 2019-06-14 Tom Tromey <tromey@adacore.com>
4164 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
4165 'unchecked_access and 'unrestricted_access as well.
4167 2019-06-14 Tom Tromey <tromey@adacore.com>
4170 * gdb.ada/vla.exp: Update tests.
4171 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
4174 2019-06-13 Pedro Alves <palves@redhat.com>
4176 * gdb.base/settings.exp (test-integer): Test junk after
4179 2019-06-13 Pedro Alves <palves@redhat.com>
4181 * gdb.base/options.exp (test-thread-apply): New.
4182 (top level): Call it.
4184 2019-06-13 Pedro Alves <palves@redhat.com>
4186 * gdb.base/options.exp (test-frame-apply): New.
4187 (top level): Test print commands with different "frame apply"
4190 2019-06-13 Pedro Alves <palves@redhat.com>
4192 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
4193 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
4194 'max_completions' parameter and handle it.
4195 (test_gdb_completion_offers_commands): New.
4197 2019-06-13 Pedro Alves <palves@redhat.com>
4199 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
4201 2019-06-13 Pedro Alves <palves@redhat.com>
4203 * gdb.base/options.exp (test-backtrace): New.
4204 (top level): Call it.
4206 2019-06-13 Pedro Alves <palves@redhat.com>
4208 * gdb.guile/scm-frame-args.exp: Use "set print
4209 raw-frame-arguments" instead of "set print raw frame-arguments".
4210 * gdb.python/py-frame-args.exp: Likewise.
4212 2019-06-13 Pedro Alves <palves@redhat.com>
4214 * gdb.compile/compile.exp: Adjust expected output to option
4217 2019-06-13 Pedro Alves <palves@redhat.com>
4219 * gdb.base/options.exp: Build executable.
4220 (test-print): New procedure.
4221 (top level): Call it, once for "print" and another for "compile
4224 2019-06-13 Pedro Alves <palves@redhat.com>
4226 * gdb.base/options.c: New file.
4227 * gdb.base/options.exp: New file.
4229 2019-06-13 Pedro Alves <palves@redhat.com>
4231 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
4232 that "o" is ambiguous.
4234 2019-06-13 Pedro Alves <palves@redhat.com>
4236 * gdb.base/settings.c: New file.
4237 * gdb.base/settings.exp: New file.
4239 2019-06-13 Pedro Alves <palves@redhat.com>
4241 * gdb.base/completion.exp: Fix comment typo.
4243 2019-06-13 Pedro Alves <palves@redhat.com>
4245 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
4248 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
4250 * gdb.fortran/block-data.f: New.
4251 * gdb.fortran/block-data.exp: New.
4253 2019-06-11 Tom de Vries <tdevries@suse.de>
4256 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
4259 2019-06-11 Tom de Vries <tdevries@suse.de>
4262 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
4264 2019-06-11 Tom de Vries <tdevries@suse.de>
4266 * boards/readnow.exp: New file.
4268 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
4270 * gdb.fortran/vla-sizeof.exp: Update expected results.
4272 2019-06-06 Amos Bird <amosbird@gmail.com>
4274 * gdb.base/annota1.exp (thread_switch): Add test for
4275 thread-exited annotation.
4277 2019-06-06 Tom Tromey <tromey@adacore.com>
4279 * gdb.base/maint.exp: Expect command started/finished output.
4281 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
4283 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
4285 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
4287 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
4289 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
4290 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
4291 * gdb.arch/riscv-unwind-long-insn.c: New file.
4292 * gdb.arch/riscv-unwind-long-insn.exp: New file.
4294 2019-06-04 Christian Biesinger <cbiesinger@google.com>
4296 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
4298 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4300 * lib/gdb.exp (help_list_trailer): New regexp variable
4301 factorizing the help trailer message.
4302 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
4303 arg to allow to better factorize various tests.
4304 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
4305 (test_prefix_command_help): Use help_list_trailer.
4306 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
4307 * gdb.guile/scm-cmd.exp: Likewise.
4308 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
4309 * gdb.base/help.exp: Use test_user_defined_class_help.
4310 * gdb.base/style.exp: Add tests for styling of help and apropos.
4311 * lib/gdb-utils.exp (style): Add title and highlight styles.
4313 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4315 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
4317 * gdb.base/default.exp: Update for new convenience variables.
4319 2019-05-29 Tom Tromey <tromey@adacore.com>
4321 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
4322 to "break complete ada" test case's regexp.
4324 2019-05-29 Tom Tromey <tromey@adacore.com>
4327 * gdb.cp/constexpr-field.exp: New file.
4328 * gdb.cp/constexpr-field.cc: New file.
4330 2019-05-29 Tom Tromey <tromey@adacore.com>
4332 * gdb.base/finish.exp (finish_no_print): New proc.
4333 (finish_tests): Call it.
4335 2019-05-24 Tom de Vries <tdevries@suse.de>
4337 * gdb.dwarf2/gdb-add-index.exp: New file.
4339 2019-05-22 Tom Tromey <tromey@adacore.com>
4341 * gdb.base/info-shared.exp (check_info_shared): Use "style".
4342 * gdb.base/style.exp: Use "style".
4343 * lib/gdb-utils.exp (style): New proc.
4345 2019-05-22 Tom de Vries <tdevries@suse.de>
4347 * gdb.base/align.exp: Require c++11.
4349 2019-05-22 Tom de Vries <tdevries@suse.de>
4352 * gdb.python/py-mi-var-info-path-expression.exp: Call
4353 mi_skip_python_tests to check if python is supported.
4355 2019-05-22 Alan Hayward <alan.hayward@arm.com>
4357 * gdb.arch/aarch64-pauth.c: New test.
4358 * gdb.arch/aarch64-pauth.exp: New file.
4360 2019-05-22 Alan Hayward <alan.hayward@arm.com>
4362 * README (Re-running Tests Outside The Testsuite): New section.
4364 2019-05-21 Tom de Vries <tdevries@suse.de>
4366 * gdb.arch/amd64-eval.exp: Require c++11.
4367 * gdb.base/max-depth.exp: Same.
4368 * gdb.compile/compile-cplus-array-decay.exp: Same.
4369 * gdb.cp/meth-typedefs.exp: Same.
4370 * gdb.cp/subtypes.exp: Same.
4371 * gdb.cp/temargs.exp: Same.
4373 2019-05-21 Alan Hayward <alan.hayward@arm.com>
4375 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
4377 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
4380 * gdb.fortran/complex.exp: Remove setup_kfail calls.
4381 * gdb.fortran/printing-types.exp: Add new test.
4382 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
4384 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
4387 2019-05-17 Alan Hayward <alan.hayward@arm.com>
4389 * README (Running the Testsuite): Change example.
4390 (Testsuite Parameters): Remove TRANSCRIPT.
4391 * lib/gdb.exp: Remove TRANSCRIPT check.
4393 2019-05-17 Alan Hayward <alan.hayward@arm.com>
4395 * README (Testsuite Parameters): Add replay logging to
4397 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
4398 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
4399 as a comma separated list.
4400 (gdb_debug_init): Override procedure.
4402 2019-05-17 Alan Hayward <alan.hayward@arm.com>
4404 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
4405 (gdb_write_cmd_file): New procedure.
4406 * lib/gdbserver-support.exp (gdbserver_start): Call
4407 gdbserver_write_cmd_file.
4408 (gdbserver_write_cmd_file): New procedure.
4410 2019-05-17 Alan Hayward <alan.hayward@arm.com>
4412 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
4413 (delete_breakpoints): Likewise.
4414 (gdb_run_cmd): Likewise.
4415 (gdb_start_cmd): Likewise.
4416 (gdb_starti_cmd): Likewise.
4417 (gdb_internal_error_resync): Likewise.
4418 (gdb_test_multiple): Likewise.
4419 (gdb_reinitialize_dir): Likewise.
4420 (default_gdb_exit): Likewise.
4421 (gdb_file_cmd): Mark kill as optional.
4422 (default_gdb_start): Call gdb_stdin_log_init.
4423 (send_gdb): Call gdb_stdin_log_write.
4424 (rerun_to_main): Mark Y as an answer.
4425 (gdb_stdin_log_init): New function.
4426 (gdb_stdin_log_write): Likewise.
4428 2019-05-17 Alan Hayward <alan.hayward@arm.com>
4430 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
4431 * gdb.base/debug-expr.exp: Likewise.
4432 * gdb.base/foll-fork.exp: Likewise.
4433 * gdb.base/foll-vfork.exp: Likewise.
4434 * gdb.base/fork-print-inferior-events.exp: Likewise.
4435 * gdb.base/gdb-sigterm.exp: Likewise.
4436 * gdb.base/gdbinit-history.exp: Likewise.
4437 * gdb.base/osabi.exp: Likewise.
4438 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
4439 * gdb.base/ui-redirect.exp: Likewise.
4440 * gdb.gdb/unittest.exp: Likewise.
4441 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
4442 * gdb.mi/mi-watch.exp: Likewise.
4443 * gdb.mi/new-ui-mi-sync.exp: Likewise.
4444 * gdb.mi/user-selected-context-sync.exp: Likewise.
4445 * gdb.python/python.exp: Disable debug test when debugging.
4446 * gdb.threads/check-libthread-db.exp: Disable when debugging.
4447 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4449 * gdb.threads/stepi-random-signal.exp: Likewise.
4451 2019-05-17 Alan Hayward <alan.hayward@arm.com>
4453 * Makefile.in: Pass through GDB_DEBUG.
4454 * README (Testsuite Parameters): Add GDB_DEBUG.
4455 (gdb,debug): Add board setting.
4456 * lib/gdb.exp (default_gdb_start): Start debugging.
4457 (gdb_debug_enabled): New procedure.
4458 (gdb_debug_init): Likewise.
4460 2019-05-17 Alan Hayward <alan.hayward@arm.com>
4462 * Makefile.in: Pass through GDB_DEBUG.
4463 * README (Testsuite Parameters): Add GDB_DEBUG.
4464 (gdb,debug): Add board setting.
4465 * lib/gdb.exp (default_gdb_start): Start debugging.
4466 (gdb_debug_enabled): New procedure.
4467 (gdb_debug_init): Likewise.
4469 2019-05-17 Alan Hayward <alan.hayward@arm.com>
4471 * gdb.base/ui-redirect.exp: Add debug redirect tests.
4473 2019-05-17 Alan Hayward <alan.hayward@arm.com>
4475 * gdb.base/ui-redirect.exp: Test redirection.
4477 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
4479 * gdb.mi/mi-complete.exp: New file.
4480 * gdb.mi/mi-complete.cc: Likewise.
4482 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
4484 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
4485 indexed and sliced arrays, and pointers to arrays.
4487 2019-05-14 Tom Tromey <tromey@adacore.com>
4489 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
4492 2019-05-14 Tom de Vries <tdevries@suse.de>
4494 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
4495 selection entry encoding.
4497 2019-05-10 Tom Tromey <tromey@adacore.com>
4499 * gdb.ada/info_exc.exp: Add "complete" test.
4501 2019-05-09 Tom de Vries <tdevries@suse.de>
4503 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
4506 2019-05-09 Tom de Vries <tdevries@suse.de>
4508 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
4511 2019-05-08 Joel Brobecker <brobecker@adacore.com>
4513 * gdb.ada/frame_arg_lang.exp: New testcase.
4514 * gdb.ada/frame_arg_lang/bla.adb: New file.
4515 * gdb.ada/frame_arg_lang/pck.ads: New file.
4516 * gdb.ada/frame_arg_lang/pck.adb: New file.
4517 * gdb.ada/frame_arg_lang/foo.c: New file.
4519 2019-05-08 Tom Tromey <tromey@adacore.com>
4521 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
4523 2019-05-08 Tom Tromey <tromey@adacore.com>
4525 * gdb.base/ptype-offsets.exp: Update tests.
4527 2019-05-08 Tom Tromey <tromey@adacore.com>
4529 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
4531 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
4534 2019-05-08 Tom Tromey <tromey@adacore.com>
4536 * gdb.ada/vla.exp: New file.
4537 * gdb.ada/vla/vla.adb: New file.
4539 2019-05-07 Tom de Vries <tdevries@suse.de>
4541 * gdb.base/index-cache.exp (ls_host): Fix return statement.
4543 2019-05-07 Tom de Vries <tdevries@suse.de>
4546 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
4549 2019-05-07 Tom de Vries <tdevries@suse.de>
4552 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
4553 .debug_aranges section.
4555 2019-05-07 Tom de Vries <tdevries@suse.de>
4558 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
4560 2019-05-06 Tom de Vries <tdevries@suse.de>
4562 * lib/gdb.exp (exec_has_index_section): New proc.
4563 * gdb.base/index-cache.exp: Handle case that binfile contains an index
4566 2019-05-04 Tom de Vries <tdevries@suse.de>
4568 * boards/cc-with-debug-names.exp: New file.
4570 2019-05-03 Tom Tromey <tromey@adacore.com>
4572 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
4573 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
4574 * gdb.ada/char_enum.exp: Add test.
4576 2019-05-03 Tom de Vries <tdevries@suse.de>
4578 * boards/cc-with-gdb-index.exp: New file.
4580 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
4582 * gdb.rust/simple.exp: Add new test case.
4583 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
4584 (main): Initialise an instance of the new struct.
4586 2019-05-01 Tom Tromey <tromey@adacore.com>
4588 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
4590 (NPR): New variable.
4591 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
4594 2019-05-01 Tom Tromey <tromey@adacore.com>
4596 * gdb.ada/packed_array_assign.exp: Add packed assignment
4599 2019-05-01 Tom de Vries <tdevries@suse.de>
4601 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
4603 2019-05-01 Tom de Vries <tdevries@suse.de>
4605 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
4607 2019-04-30 Ali Tamur <tamur@google.com>
4609 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
4611 2019-04-30 Tom Tromey <tromey@adacore.com>
4613 * lib/ada.exp (find_ada_tool): New proc.
4614 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
4615 * gdb.ada/catch_ex_std.exp: New file.
4616 * gdb.ada/catch_ex_std/foo.adb: New file.
4617 * gdb.ada/catch_ex_std/some_package.adb: New file.
4618 * gdb.ada/catch_ex_std/some_package.ads: New file.
4620 2019-04-30 Tom Tromey <tromey@adacore.com>
4623 * gdb.cp/temargs.cc: Add test code from PR.
4625 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4627 * gdb.fortran/vla-datatypes.exp: Update expected results.
4628 * gdb.fortran/vla-ptype.exp: Likewise.
4629 * gdb.fortran/vla-type.exp: Likewise.
4630 * gdb.fortran/vla-value.exp: Likewise.
4632 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4634 * gdb.fortran/ptr-indentation.exp: Update expected results.
4635 * gdb.fortran/ptype-on-functions.exp: Likewise.
4636 * gdb.fortran/vla-ptr-info.exp: Likewise.
4637 * gdb.fortran/vla-value.exp: Likewise.
4639 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4641 * gdb.fortran/ptype-on-functions.exp: New file.
4642 * gdb.fortran/ptype-on-functions.f90: New file.
4644 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4646 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
4649 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4651 * gdb.fortran/complex.exp: Expand.
4652 * gdb.fortran/complex.f: Renamed to...
4653 * gdb.fortran/complex.f90: ...this, and extended to add more
4656 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
4658 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
4661 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
4662 Richard Bunt <richard.bunt@arm.com>
4664 * gdb.base/max-depth.c: New file.
4665 * gdb.base/max-depth.exp: New file.
4666 * gdb.python/py-nested-maps.c: New file.
4667 * gdb.python/py-nested-maps.exp: New file.
4668 * gdb.python/py-nested-maps.py: New file.
4669 * gdb.python/py-format-string.exp (test_max_depth): New proc.
4670 (test_all_common): Call test_max_depth.
4671 * gdb.fortran/max-depth.exp: New file.
4672 * gdb.fortran/max-depth.f90: New file.
4673 * gdb.go/max-depth.exp: New file.
4674 * gdb.go/max-depth.go: New file.
4675 * gdb.modula2/max-depth.exp: New file.
4676 * gdb.modula2/max-depth.c: New file.
4677 * lib/gdb.exp (get_print_expr_at_depths): New proc.
4679 2019-04-29 Tom de Vries <tdevries@suse.de>
4681 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
4683 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4685 * gdb.base/callexit.exp: Test may-call-functions off.
4687 2019-04-25 Keith Seitz <keiths@redhat.com>
4690 * gdb.cp/meth-typedefs.cc (incomplete_struct)
4691 (another_incomplete_struct, test_incomplete): New definitions.
4692 (main): Use new definitions.
4693 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
4696 2019-04-25 Ali Tamur <tamur@google.com>
4698 * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
4700 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
4704 * gdb.base/coredump-filter-build-id.exp: New file.
4706 2019-04-25 Alan Hayward <alan.hayward@arm.com>
4708 * Makefile.in: Pass through GDBSERVER_DEBUG.
4709 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
4710 (gdbserver,debug): Add board setting.
4711 * gdb.trace/tspeed.exp: Skip when debugging.
4712 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
4713 * lib/gdbserver-support.exp: Likewise
4715 2019-04-24 Tom Tromey <tromey@adacore.com>
4717 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
4720 2019-04-24 Tom Tromey <tromey@adacore.com>
4722 * gdb.arch/amd64-eval.exp: Test bitfield return.
4723 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
4724 (class Foo) <return_bitfields>: New method.
4727 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
4729 * gdb.cp/many-args.cc: New file.
4730 * gdb.cp/many-args.exp: New file.
4732 2019-04-23 Tom de Vries <tdevries@suse.de>
4735 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
4737 2019-04-23 Alan Hayward <alan.hayward@arm.com>
4739 * gdb.trace/backtrace.exp: Use nopie flag.
4740 * gdb.trace/circ.exp: Likewise.
4741 * gdb.trace/collection.exp: Likewise.
4742 * gdb.trace/ftrace.exp: Likewise.
4743 * gdb.trace/mi-trace-unavailable.exp: Likewise.
4744 * gdb.trace/mi-traceframe-changed.exp: Likewise.
4745 * gdb.trace/qtro.exp: Likewise.
4746 * gdb.trace/read-memory.exp: Likewise.
4747 * gdb.trace/report.exp: Likewise.
4748 * gdb.trace/tfile.exp: Likewise.
4749 * gdb.trace/tfind.exp: Likewise.
4750 * gdb.trace/unavailable.exp: Likewise.
4752 2019-04-22 Pedro Alves <palves@redhat.com>
4754 * gdb.base/solib-probes-nosharedlibrary.c,
4755 gdb.base/solib-probes-nosharedlibrary.exp: New files.
4757 2019-04-19 Tom Tromey <tromey@adacore.com>
4759 * gdb.ada/ptype_union.c: New file.
4760 * gdb.ada/ptype_union.exp: New file.
4762 2019-04-19 Tom Tromey <tromey@adacore.com>
4765 * gdb.base/list0.h (foo): Add a control-l character.
4767 2019-04-18 Tom de Vries <tdevries@suse.de>
4770 * boards/local-board.exp: Set sysroot to "".
4772 2019-04-18 Tom de Vries <tdevries@suse.de>
4773 Pedro Alves <palves@redhat.com>
4776 * gdb.threads/vfork-follow-child-exec.c: New file.
4777 * gdb.threads/vfork-follow-child-exec.exp: New file.
4778 * gdb.threads/vfork-follow-child-exit.c: New file.
4779 * gdb.threads/vfork-follow-child-exit.exp: New file.
4781 2019-04-15 Leszek Swirski <leszeks@google.com>
4783 * gdb.arch/amd64-eval.cc: New file.
4784 * gdb.arch/amd64-eval.exp: New file.
4786 2019-04-11 Alan Hayward <alan.hayward@arm.com>
4788 * gdb.server/sysroot.c: New test.
4789 * gdb.server/sysroot.exp: New file.
4790 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
4793 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
4795 * gdb.base/align.exp: Extend test to cover structures containing
4798 2019-04-11 Tom de Vries <tdevries@suse.de>
4800 * boards/cc-with-dwz-m.exp: New file.
4801 * boards/cc-with-dwz.exp: New file.
4802 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
4804 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
4806 * gdb.base/start-cpp.exp: New file.
4807 * gdb.base/start-cpp.cc: New file.
4809 2019-04-08 Kevin Buettner <kevinb@redhat.com>
4811 * gdb.python/py-thrhandle.exp: Adjust tests to call
4812 thread_from_handle instead of thread_from_thread_handle.
4814 2019-04-08 Kevin Buettner <kevinb@redhat.com>
4816 * gdb.python/py-thrhandle.exp: Add tests for
4817 gdb.InferiorThread.handle.
4819 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
4821 * gdb.python/py-function.exp: Check calling helper function from
4823 * lib/gdb.exp (gdb_supported_languages): New proc.
4825 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
4827 * gdb.base/complex-parts.c: New file.
4828 * gdb.base/complex-parts.exp: New file.
4830 2019-04-01 Tom Tromey <tromey@adacore.com>
4833 * gdb.dwarf2/dw2-ranges-main.c: New file.
4834 * gdb.dwarf2/dw2-ranges-psym.c: New file.
4835 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
4837 2019-03-30 Simon Marchi <simark@simark.ca>
4839 * gdb.base/default.exp: Add values for $_gdb_major and
4842 2019-03-29 Tom Tromey <tromey@adacore.com>
4844 * gdb.base/help.exp: Tighten apropos regexp.
4846 2019-03-29 Keith Seitz <keiths@redhat.com>
4848 * gdb.fortran/array-bounds.exp: New file.
4849 * gdb.fortran/array-bounds.f90: New file.
4851 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4853 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
4855 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4857 * gdb.multi/hello.c (main): Increase alarm timer.
4859 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
4861 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
4862 factor when no hardware watchpoint support.
4864 2019-03-28 Alan Hayward <alan.hayward@arm.com>
4865 Pedro Alves <palves@redhat.com>
4867 * boards/local-board.exp: set sysroot to /.
4869 2019-03-27 Alan Hayward <alan.hayward@arm.com>
4871 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
4874 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
4876 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
4878 (make_container): Initialise new field.
4879 * gdb.python/py-prettyprint.exp: Add new tests.
4880 * gdb.python/py-prettyprint.py (class ContainerPrinter)
4881 <display_hint>: New method.
4883 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
4885 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
4886 gdb_continue_to_breakpoint more throughout this test.
4887 (run_lang_tests) Supply unique test names, and use
4890 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
4892 * gdb.base/finish-pretty.exp: Update expected results.
4893 * gdb.base/pretty-print.c: New file.
4894 * gdb.base/pretty-print.exp: New file.
4896 2019-03-25 Pedro Alves <palves@redhat.com>
4898 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
4899 move comments outside list. Append '-i "" eof' section.
4901 2019-03-22 Alan Hayward <alan.hayward@arm.com>
4904 * README: Add pie options.
4905 * gdb.base/break-interp.exp: Ensure pie is disabled.
4906 * gdb.base/dump.exp: Likewise.
4907 * lib/gdb.exp (gdb_compile): Add pie option.
4909 2019-03-19 Tom Tromey <tromey@adacore.com>
4911 * gdb.mi/mi2-cli-display.c: New file.
4912 * gdb.mi/mi2-cli-display.exp: New file.
4914 2019-03-18 Joel Brobecker <brobecker@adacore.com>
4915 Tom Tromey <tromey@adacore.com>
4917 * gdb.ada/ptype_array/pck.adb: New file.
4918 * gdb.ada/ptype_array/pck.ads: New file.
4919 * gdb.ada/ptype_array/foo.adb: New file.
4920 * gdb.ada/ptype_array.exp: New file.
4922 2019-03-14 Tom Tromey <tromey@adacore.com>
4924 * gdb.base/style.exp: Add "set style sources" test.
4926 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
4928 * mi-breakpoint-location-ena-dis.exp: Rename to ...
4929 * mi-breakpoint-multiple-locations.exp: ... this.
4930 (make_breakpoints_pattern): New proc.
4931 (do_test): Add mi_version parameter, test -break-insert,
4932 -break-info and =breakpoint-created.
4934 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
4936 * config/default.exp: Remove 'load_lib gdb.exp'.
4937 * config/monitor.exp: Likewise.
4938 * config/sid.exp: Likewise.
4939 * config/sim.exp: Likewise.
4940 * config/slite.exp: Likewise.
4941 * config/unix.exp: Likewise.
4942 * gdb.base/default.exp: Remove unhelpful comment.
4944 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4946 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
4948 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4950 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
4952 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4954 * gdb.fortran/type-kinds.exp: Update expected results.
4956 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4958 * gdb.fortran/type-kinds.exp: Test new integer type kind.
4960 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4962 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
4964 (test_basic_parsing_of_type_kinds): Expand types tested.
4965 (test_parsing_invalid_type_kinds): New function.
4967 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4969 * gdb.fortran/intrinsics.exp: New file.
4970 * gdb.fortran/intrinsics.f90: New file.
4971 * gdb.fortran/type-kinds.exp: New file.
4973 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4975 * gdb.fortran/dot-ops.exp: New file.
4977 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4979 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
4980 Check upper and lower case logical literals.
4982 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4984 * gdb.fortran/types.exp (test_float_literal_types_accepted):
4985 Remove duplicate tests.
4987 2019-03-06 Alan Hayward <alan.hayward@arm.com>
4989 * lib/gdb.exp (builtin_cd): rename of cd.
4990 (cd): Override builtin.
4992 2019-03-06 Richard Bunt <richard.bunt@arm.com>
4994 * gdb.fortran/function-calls.exp: New file.
4995 * gdb.fortran/function-calls.f90: New test.
4997 2019-03-04 Richard Bunt <richard.bunt@arm.com>
4999 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
5000 on user program standard output.
5001 * gdb.fortran/short-circuit-argument-list.f90: Record function
5004 2019-02-28 Alan Hayward <alan.hayward@arm.com>
5006 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
5009 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5012 * gdb.base/interrupt-daemon-attach.c,
5013 gdb.base/interrupt-daemon-attach.exp: New test.
5015 2019-02-27 Pedro Alves <palves@redhat.com>
5017 * gdb.base/page.exp: Add tests for "set width/height -1".
5019 2019-02-27 Pedro Alves <palves@redhat.com>
5021 * gdb.base/page.exp: Add tests for "set/show width/height" with
5024 2019-02-27 Tom Tromey <tromey@adacore.com>
5026 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
5028 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
5031 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
5033 * gdb.base/align.exp: Extend to compile in both C and C++, and add
5034 tests for structs with static members.
5036 2019-02-26 Tom Tromey <tromey@adacore.com>
5038 * gdb.python/py-value.exp (test_value_from_buffer): Check for
5039 ValueError, not TypeError.
5041 2019-02-26 Kevin Buettner <kevinb@redhat.com>
5043 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
5044 call from main program.
5046 2019-02-23 Joel Brobecker <brobecker@adacore.com>
5048 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
5049 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
5050 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
5051 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
5052 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
5054 2019-02-22 Keith Seitz <keiths@redhat.com>
5057 * gdb.base/symlink-sourcefile.c: New file.
5058 * gdb.base/symlink-sourcefile.exp: New file.
5060 2019-02-20 Tom Tromey <tom@tromey.com>
5062 * gdb.base/info_qt.exp: Update.
5064 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
5066 * gdb.base/source.exp: Move "error in sourced script" code to
5068 * gdb.base/source-error.gdb: Move contents to
5069 source-error-1.gdb. Add new code to source source-error-1.gdb.
5070 * gdb.base/source-error-1.gdb: New file, from previous
5073 2019-02-17 Tom Tromey <tom@tromey.com>
5075 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
5077 * gdb.base/style.c (SOME_MACRO): New macro.
5079 2019-02-17 Tom Tromey <tom@tromey.com>
5081 * gdb.base/style.exp: Add line-wrapping tests.
5082 * gdb.base/page.exp: Add test for quitting during pagination.
5084 2019-02-17 Joel Brobecker <brobecker@adacore.com>
5086 * gdb.ada/big_packed_array: New testcase.
5087 * gdb.ada/homonym.exp: Fix incorrect expected output for
5088 "break <homonym__get_value>" test.
5090 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
5092 PR breakpoints/21870
5093 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
5094 and prepare_for_testing. Add comment.
5095 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
5096 redundant cleanup call. Clean up comment.
5098 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
5100 PR breakpoints/21870
5101 * gdb.arch/aarch64-dbreg-contents.exp: New file.
5102 * gdb.arch/aarch64-dbreg-contents.c: New file.
5104 2019-02-10 Joel Brobecker <brobecker@adacore.com>
5106 * gdb.ada/mi_ref_changeable: New testcase.
5108 2019-02-07 Alan Hayward <alan.hayward@arm.com>
5110 * gdb.base/attach.exp: Add double attach test.
5112 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
5114 * lib/gdb.exp (default_gdb_start): Don't match pagination
5116 (gdb_init): Set stty_init.
5118 2019-01-27 Tom Tromey <tom@tromey.com>
5120 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
5123 2019-01-24 Alan Hayward <alan.hayward@arm.com>
5125 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
5127 (struct struct_static_02_02): Likewise.
5128 (struct struct_static_02_03): Likewise.
5129 (struct struct_static_02_04): Likewise.
5130 (struct struct_static_04_01): Likewise.
5131 (struct struct_static_04_02): Likewise.
5132 (struct struct_static_04_03): Likewise.
5133 (struct struct_static_04_04): Likewise.
5134 (struct struct_static_06_01): Likewise.
5135 (struct struct_static_06_02): Likewise.
5136 (struct struct_static_06_03): Likewise.
5137 (struct struct_static_06_04): Likewise.
5138 (cmp_struct_static_02_01): Likewise.
5139 (cmp_struct_static_02_02): Likewise.
5140 (cmp_struct_static_02_03): Likewise.
5141 (cmp_struct_static_02_04): Likewise.
5142 (cmp_struct_static_04_01): Likewise.
5143 (cmp_struct_static_04_02): Likewise.
5144 (cmp_struct_static_04_03): Likewise.
5145 (cmp_struct_static_04_04): Likewise.
5146 (cmp_struct_static_06_01): Likewise.
5147 (cmp_struct_static_06_02): Likewise.
5148 (cmp_struct_static_06_03): Likewise.
5149 (cmp_struct_static_06_04): Likewise.
5150 (call_all): Test new structs.
5151 * gdb.base/infcall-nested-structs.exp: Likewise.
5153 2019-01-21 Alan Hayward <alan.hayward@arm.com>
5154 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
5156 2019-01-21 Alan Hayward <alan.hayward@arm.com>
5157 * gdb.base/stack-protector.c: New test.
5158 * gdb.base/stack-protector.exp: New file.
5159 * gdb.cp/ovldbreak.exp: Only allow a single break line.
5160 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
5162 (gdb_compile): Remove stack protector for GCC and prevent
5165 2019-01-16 Keith Seitz <keiths@redhat.com>
5168 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
5170 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5172 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
5174 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
5176 * gdb.arch/powerpc-vector-regs.c: New file.
5177 * gdb.arch/powerpc-vector-regs.exp: New file.
5179 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5181 * gdb.arch/altivec-regs.exp: Fix the list passed to
5182 gdb_expect_list when testing "info vector".
5184 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
5186 * gdb.base/style.exp: Don't include path in testname.
5188 2019-01-10 Keith Seitz <keiths@redhat.com>
5192 * gdb.dwarf2/multidictionary.exp: New file.
5194 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
5196 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
5197 (test_gnuv3_style_demangling): ... this.
5198 (test_lucid_style_demangling): Remove.
5199 (test_arm_style_demangling): Remove.
5200 (test_hp_style_demangling): Remove.
5201 (do_tests): Remove calls to the above.
5203 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
5205 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
5208 2019-01-06 Tom Tromey <tom@tromey.com>
5211 * gdb.dwarf2/typedef-void-finish.exp: New file.
5213 2018-12-28 Tom Tromey <tom@tromey.com>
5214 Simon Marchi <simark@simark.ca>
5216 * gdb.base/jit-exec.exp: New file.
5217 * gdb.base/jit-exec.c: New file.
5218 * gdb.base/jit-execd.c: New file.
5220 2018-12-28 Tom Tromey <tom@tromey.com>
5222 * gdb.base/style.exp: Update test to check for address styling.
5224 2018-12-28 Tom Tromey <tom@tromey.com>
5226 * gdb.base/style.exp: Add test for styling of "Reading symbols"
5229 2018-12-28 Tom Tromey <tom@tromey.com>
5231 * gdb.base/style.exp: Add test for version number styling.
5233 2018-12-28 Tom Tromey <tom@tromey.com>
5235 * gdb.base/style.exp: Add test for print_address_symbolic.
5237 2018-12-28 Tom Tromey <tom@tromey.com>
5239 * gdb.base/style.exp: Add test for breakpoint setting.
5241 2018-12-28 Tom Tromey <tom@tromey.com>
5243 * gdb.base/style.exp: Add test for variable names.
5245 2018-12-28 Tom Tromey <tom@tromey.com>
5247 * gdb.base/style.exp: New file.
5248 * gdb.base/style.c: New file.
5250 2018-12-28 Tom Tromey <tom@tromey.com>
5252 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
5254 * gdb.base/readline.exp (operate_and_get_next): Save and restore
5255 the TERM environment variable.
5257 2018-12-27 Tom Tromey <tom@tromey.com>
5259 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
5262 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
5264 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
5265 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
5267 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5269 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
5270 Filename a.adb changed to bp_fun_addr.adb.
5271 gdb.ada/bp_fun_addr.exp: Update test accordingly.
5273 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
5275 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
5276 non-PIE executables.
5277 * README: Mention the gdb,nopie_flag board setting.
5278 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
5280 * gdb.arch/amd64-entry-value.exp: Likewise.
5281 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
5282 * gdb.arch/i386-float.exp: Likewise.
5283 * gdb.arch/i386-signal.exp: Likewise.
5284 * gdb.mi/mi-reg-undefined.exp: Likewise.
5286 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
5289 * gdb.base/info-os.exp: Check return for unknown "info os" type.
5291 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5293 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
5294 Update order of results accordingly.
5296 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
5298 * gdb.base/annota1.exp: Update a test regexp.
5300 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
5302 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
5304 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5306 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
5307 (reuse_time): Initialize to REUSE_TIME_CAP.
5308 (check_rc): New function.
5309 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
5310 Check pthread_create rc.
5311 (spawner_thread_func): Check pthread_create and pthread_join rc.
5313 2018-12-08 Pedro Alves <palves@redhat.com>
5315 * gdb.base/list.exp (test_forward_search): Rename to ...
5316 (test_forward_reverse_search): ... this. Also test reverse-search
5317 and the forward-search alias.
5319 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
5321 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
5322 local timeout variable before return, and remove all local timeout
5324 (gdb_load): Likewise.
5326 2018-12-01 Tom de Vries <tdevries@suse.de>
5328 * gdb.base/gdb-caching-proc.exp: New file.
5330 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
5332 * Makefile.in (TIMESTAMP): New variable.
5333 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
5335 (check-single-racy): Likewise.
5336 (check/%.exp): Likewise.
5337 (check-racy/%.exp): Likewise.
5338 (workers/%.worker): Likewise.
5339 (build-perf): Likewise.
5340 (check-perf): Likewise.
5341 * README: Describe new "TS" and "TS_FORMAT" variables.
5342 * print-ts.py: New file.
5344 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
5347 * gdb.python/python.exp: Test command repetition after
5350 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
5352 * gdb.opt/inline-break.exp: Add test that info breakpoint output
5353 is correctly aligned.
5355 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5357 * gdb.ada/info_auto_lang.exp: New testcase.
5358 * gdb.ada/info_auto_lang/global_pack.ads: New file.
5359 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
5360 * gdb.ada/info_auto_lang/some_c.c: New file.
5362 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5364 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
5365 FUNC_lang language syntax.
5367 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5369 * gdb.base/info_minsym.c: New file.
5370 * gdb.base/info_minsym.exp: New file.
5372 2018-11-19 Tom Tromey <tom@tromey.com>
5375 * gdb.rust/simple.exp: Add ptype test. Update expected output.
5376 * gdb.rust/expr.exp: Update expected output. Change one test.
5378 2018-11-19 Tom Tromey <tom@tromey.com>
5380 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
5382 2018-11-19 Pedro Alves <palves@redhat.com>
5384 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
5385 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
5386 see the expected warning.
5388 2018-11-16 Alan Hayward <alan.hayward@arm.com>
5391 * gdb.cp/infcall-nodebug-lib.c: New test.
5392 * gdb.cp/infcall-nodebug-main.c: New test.
5393 * gdb.cp/infcall-nodebug.exp: New file.
5395 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
5397 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
5400 2018-11-09 Tom de Vries <tdevries@suse.de>
5402 * gdb.base/msym-lang.c: New test.
5403 * gdb.base/msym-lang.exp: New file.
5404 * gdb.base/msym-lang-main.c: New test.
5406 2018-11-08 Tom Tromey <tom@tromey.com>
5410 * gdb.base/warning.exp: New file.
5412 2018-11-08 Jan Beulich <jbeulich@suse.com>
5414 * testsuite/gdb.arch/i386-avx512.c,
5415 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
5417 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
5419 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
5422 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
5424 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
5425 * gdb.dwarf2/missing-type-name.exp: New file.
5427 2018-11-06 Tom de Vries <tdevries@suse.de>
5429 * gdb.base/many-headers.c: New test.
5430 * gdb.base/many-headers.exp: New file.
5432 2018-11-06 Jim Wilson <jimw@sifive.com>
5434 * gdb.base/code_elim.exp: For riscv, set additional_flags
5435 to include -msmall-data-limit=0.
5437 2018-11-01 Joel Brobecker <brobecker@adacore.com>
5439 * gdb.ada/watch_minus_l: New testcase.
5441 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
5443 * gdb.arch/aix-sighandle.c: New file.
5444 * gdb.arch/aix-sighandle.exp: New file.
5446 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5448 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
5449 registers being unions.
5451 2018-10-31 Tom de Vries <tdevries@suse.de>
5453 * lib/valgrind.exp: New file.
5454 (vgdb_start, vgdb_stop): New procs, factored out of ...
5455 * gdb.base/valgrind-bt.exp: ... here, ...
5456 * gdb.base/valgrind-disp-step.exp: ... here and ...
5457 * gdb.base/valgrind-infcall.exp: ... here.
5459 2018-10-31 Tom de Vries <tdevries@suse.de>
5461 * lib/gdb.exp (get_valueof): Don't output read value in test name.
5463 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
5465 * gdb.dwarf2/void-type.c: New file.
5466 * gdb.dwarf2/void-type.exp: New file.
5468 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5470 * gdb.base/info_qt.c: New file.
5471 * gdb.base/info_qt.exp: New file.
5473 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5475 * gdb.arch/powerpc-htm-regs.c: New file.
5476 * gdb.arch/powerpc-htm-regs.exp: New file.
5478 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5480 * gdb.arch/powerpc-tar.c: New file.
5481 * gdb.arch/powerpc-tar.exp: New file.
5483 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
5485 * gdb.arch/powerpc-ppr-dscr.c: New file.
5486 * gdb.arch/powerpc-ppr-dscr.exp: New file.
5488 2018-10-25 Tom de Vries <tdevries@suse.de>
5490 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
5492 2018-10-24 Tom de Vries <tdevries@suse.de>
5494 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
5495 longer exists error.
5497 2018-10-24 Tom de Vries <tdevries@suse.de>
5499 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
5501 2018-10-24 Tom de Vries <tdevries@suse.de>
5503 * gdb.base/valgrind-db-attach.exp: Handle removed support for
5504 --db-attach in valgrind.
5506 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
5508 * gdb.arch/riscv-reg-aliases.c: New file.
5509 * gdb.arch/riscv-reg-aliases.exp: New file.
5511 2018-10-19 Alan Hayward <alan.hayward@arm.com>
5513 * gdb.python/py-cmd.exp: Check for gdb_prompt.
5515 2018-10-19 Alan Hayward <alan.hayward@arm.com>
5517 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
5519 2018-10-19 Alan Hayward <alan.hayward@arm.com>
5521 * gdb.cp/ovldbreak.exp: Fix regexps.
5523 2018-10-19 Alan Hayward <alan.hayward@arm.com>
5525 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
5527 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
5530 * gdb.base/restore.exp: New test to check if "restore" with an
5531 invalid file doesn't segfault.
5533 2018-10-18 Tom de Vries <tdevries@suse.de>
5535 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
5536 * gdb.ada/excep_handle.exp: Same.
5537 * gdb.ada/mi_string_access.exp: Same.
5538 * gdb.ada/mi_var_union.exp: Same.
5539 * gdb.arch/arc-analyze-prologue.exp: Same.
5540 * gdb.arch/arc-decode-insn.exp: Same.
5541 * gdb.base/readnever.exp: Same.
5542 * gdb.fortran/printing-types.exp: Same.
5543 * gdb.guile/scm-lazy-string.exp: Same.
5545 2018-10-16 Tom de Vries <tdevries@suse.de>
5548 * gdb.base/catch-follow-exec.c: Add copyright notice.
5549 * gdb.base/catch-follow-exec.exp: Rewrite to use
5550 gdb_spawn_with_cmdline_opts. Require gdb-native.
5552 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
5554 * gdb.trace/actions-changed.exp: Check for arch support.
5555 * gdb.trace/actions.exp: Likewise.
5556 * gdb.trace/ax.exp: Likewise.
5557 * gdb.trace/backtrace.exp: Likewise.
5558 * gdb.trace/change-loc.exp: Likewise.
5559 * gdb.trace/deltrace.exp: Likewise.
5560 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
5561 * gdb.trace/ftrace.exp: Likewise.
5562 * gdb.trace/infotrace.exp: Check for arch support.
5563 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
5564 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
5565 * gdb.trace/mi-tsv-changed.exp: Likewise.
5566 * gdb.trace/packetlen.exp: Likewise.
5567 * gdb.trace/passc-dyn.exp: Likewise.
5568 * gdb.trace/passcount.exp: Likewise.
5569 * gdb.trace/pending.exp: Likewise.
5570 * gdb.trace/range-stepping.exp: Check for shlib support.
5571 * gdb.trace/report.exp: Check for arch support.
5572 * gdb.trace/save-trace.exp: Likewise.
5573 * gdb.trace/signal.exp: Check for signal support.
5574 * gdb.trace/tfind.exp: Check for arch support.
5575 * gdb.trace/trace-break.exp: Check for arch and shlib support.
5576 * gdb.trace/trace-common.h: Add comment.
5577 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
5578 * gdb.trace/trace-enable-disable.exp: Likewise.
5579 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
5580 * gdb.trace/tracecmd.exp: Check for arch support.
5581 * gdb.trace/tspeed.exp: Check for shlib and target support.
5582 * gdb.trace/tstatus.exp: Check for arch support.
5583 * gdb.trace/tsv.exp: Likewise.
5584 * gdb.trace/while-dyn.exp: Likewise.
5585 * gdb.trace/while-stepping.exp: Likewise.
5586 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
5588 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
5590 * gdb.trace/tspeed.exp: Remove nowarnings.
5591 (prepare_for_trace_test): Declare "global ipalib".
5592 * gdb.trace/tspeed.c: Include unistd.h.
5593 (main): Remove superfluous printf argument.
5595 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
5597 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
5598 directory prefix on the filename.
5600 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
5602 * gdb.gdb/unittest.exp: Update expected message informing that
5603 selftests have been disabled.
5604 * gdb.server/unittest.exp: Likewise.
5606 2018-10-09 Tom de Vries <tdevries@suse.de>
5608 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
5611 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
5614 * gdb.cp/virtbase2.cc: New file.
5615 * gdb.cp/virtbase2.exp: New file.
5617 2018-10-06 Tom Tromey <tom@tromey.com>
5620 * gdb.python/py-inferior.exp: Add architecture test.
5622 2018-10-06 Tom Tromey <tom@tromey.com>
5624 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
5625 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
5627 2018-10-06 Tom Tromey <tom@tromey.com>
5629 * gdb.python/py-breakpoint.exp (check_last_event): Check location
5630 of a "throw" catchpoint.
5632 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
5634 * gdb.base/info-proc.exp: Update string expected from "help info
5637 2018-10-04 Tom Tromey <tom@tromey.com>
5639 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
5640 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
5641 (test_initial_complaints, test_empty_complaints): Update.
5642 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
5644 2018-10-04 Tom Tromey <tom@tromey.com>
5647 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
5648 * lib/gdb.exp (gdb_file_cmd): Update.
5649 * gdb.stabs/weird.exp (print_weird_var): Update.
5650 * gdb.server/solib-list.exp: Update.
5651 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
5652 * gdb.mi/mi-cli.exp: Update.
5653 * gdb.linespec/linespec.exp: Update.
5654 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
5655 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
5656 * gdb.cp/cp-relocate.exp: Update.
5657 * gdb.base/sym-file.exp: Update.
5658 * gdb.base/relocate.exp: Update.
5659 * gdb.base/readnever.exp: Update.
5660 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5661 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
5662 * gdb.base/dbx.exp (gdb_file_cmd): Update.
5663 * gdb.base/code_elim.exp: Update.
5664 * gdb.base/break-unload-file.exp (test_break): Update.
5665 * gdb.base/break-interp.exp (test_attach_gdb): Update.
5666 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
5668 * gdb.base/attach.exp (do_attach_tests): Update.
5669 * gdb.base/sepdebug.exp: Update.
5670 * gdb.python/py-section-script.exp: Update.
5672 2018-10-04 Tom Tromey <tom@tromey.com>
5675 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
5676 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
5679 2018-10-04 Tom Tromey <tom@tromey.com>
5681 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
5682 set width and height to 0.
5683 (test_command_line_attach_run): Use -quiet.
5685 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
5687 * lib/gdb.exp (skip_ifunc_tests): New.
5688 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
5689 other compile failures.
5690 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
5692 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
5694 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
5695 is_amd64_regs_target.
5697 2018-10-01 Alan Hayward <alan.hayward@arm.com>
5699 * gdb.arch/aarch64-sighandler-regs.c: New test.
5700 * gdb.arch/aarch64-sighandler-regs.exp: New file.
5701 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
5703 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
5705 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
5708 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
5710 * gdb.base/frame-selection.exp: New file.
5711 * gdb.base/frame-selection.c: New file.
5713 2018-09-27 Alan Hayward <alan.hayward@arm.com>
5715 * gdb.threads/check-libthread-db.c (thread_routine): Use a
5719 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
5721 * gdb.base/large-frame-1.c: New file.
5722 * gdb.base/large-frame-2.c: New file.
5723 * gdb.base/large-frame.exp: New file.
5724 * gdb.base/large-frame.h: New file.
5726 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
5729 * gdb.base/write_mem.exp: New test.
5730 * gdb.base/write_mem.c: Likewise.
5732 2018-09-23 Tom Tromey <tom@tromey.com>
5735 * gdb.python/py-parameter.exp: Add test for parameter that throws
5738 2018-09-23 Tom Tromey <tom@tromey.com>
5741 * gdb.python/py-template.exp (test_template_arg): Add test for
5742 negative template argument number.
5744 2018-09-23 Tom Tromey <tom@tromey.com>
5747 * gdb.python/python.exp: Add test for post_event error.
5749 2018-09-23 Tom Tromey <tom@tromey.com>
5752 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
5753 convert pointers to int and long.
5755 2018-09-23 Tom Tromey <tom@tromey.com>
5758 * gdb.python/py-value.exp (test_value_numeric_ops): Add
5759 signed-ness conversion tests.
5761 2018-09-23 Tom Tromey <tom@tromey.com>
5764 * gdb.python/py-value.exp (test_float_conversion): New proc.
5767 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
5769 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
5771 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
5773 * gdb.base/complete-empty.exp: Skip tab-completion tests if
5775 * gdb.base/utf8-identifiers.exp: Likewise.
5776 * gdb.cp/cpcompletion.exp: Likewise.
5777 * gdb.linespec/cpcompletion.exp: Likewise.
5778 * gdb.linespec/cpls-abi-tag.exp: Likewise.
5779 * gdb.linespec/cpls-ops.exp: Likewise.
5781 2018-09-19 Richard Bunt <richard.bunt@arm.com>
5782 Chris January <chris.january@arm.com>
5784 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
5785 * gdb.fortran/short-circuit-argument-list.exp: New file.
5786 * gdb.fortran/short-circuit-argument-list.f90: New test.
5788 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
5790 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
5791 "arch=" keyword when executing "-stack-list-frames".
5793 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
5795 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
5796 "arch=" keyword when executing "-stack-list-frames".
5798 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
5800 * gdb.ada/complete.exp: Expect for "@" when doing "complete
5803 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
5806 * gdb.python/python.exp: Test gdb.execute("show commands").
5808 2018-09-16 Tom Tromey <tom@tromey.com>
5810 * gdb.base/new-ui.exp (do_execution_tests): Update.
5811 * gdb.base/dbx.exp (test_breakpoints): Update.
5813 2018-09-14 Alan Hayward <alan.hayward@arm.com>
5815 * lib/gdb.exp (gdb_simple_compile): Add proc.
5816 (is_elf_target): Use gdb_simple_compile.
5817 (skip_altivec_tests): Likewise.
5818 (skip_vsx_tests): Likewise.
5819 (skip_tsx_tests): Likewise.
5820 (skip_btrace_tests): Likewise.
5821 (skip_btrace_pt_tests): Likewise.
5822 (gdb_can_simple_compile): Likewise.
5823 (gdb_has_argv0): Likewise.
5824 (gdb_target_symbol_prefix): Likewise.
5825 (target_supports_scheduler_locking): Likewise.
5827 2018-09-13 Tom Tromey <tom@tromey.com>
5829 * Makefile.in (TAGS): Recognize proc_with_prefix and
5832 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
5834 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
5837 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
5839 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
5840 and a few other Inferior properties when the Inferior is no
5843 2018-09-13 Tom Tromey <tom@tromey.com>
5846 * gdb.rust/simple.exp: Add test for enum field access error.
5848 2018-09-13 Tom Tromey <tom@tromey.com>
5851 * gdb.rust/simple.rs (EmptyEnum): New type.
5853 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
5855 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
5857 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
5858 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
5859 * gdb.python/py-symtab.exp: Update test printing an objfile.
5861 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
5863 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
5866 2018-09-12 Alan Hayward <alan.hayward@arm.com>
5868 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
5869 (support_complex_tests): Use gdb_can_simple_compile.
5870 (is_ilp32_target): Likewise.
5871 (is_lp64_target): Likewise.
5872 (is_64_target): Likewise.
5873 (is_amd64_regs_target): Likewise.
5874 (is_aarch32_target): Likewise.
5875 (gdb_int128_helper): Likewise.
5877 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5879 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
5881 2018-09-10 Jerome Guitton <guitton@adacore.com>
5883 * gdb.ada/same_component_name: Add test for case of tagged record
5884 with variable-length fields.
5886 2018-09-10 Xavier Roirand <roirand@adacore.com>
5888 * gdb.ada/access_to_unbounded_array.exp: New testcase.
5889 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
5890 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
5891 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
5893 2018-09-10 Xavier Roirand <roirand@adacore.com>
5895 * gdb.ada/mi_string_access.exp: New testcase.
5896 * gdb.ada/mi_string_access/bar.adb: New file.
5897 * gdb.ada/mi_string_access/pck.adb: New file.
5898 * gdb.ada/mi_string_access/pck.asd: New file.
5900 2018-09-10 Xavier Roirand <roirand@adacore.com>
5902 * gdb.ada/mi_var_union.exp: New testcase.
5903 * gdb.ada/mi_var_union/bar.adb: New file.
5904 * gdb.ada/mi_var_union/pck.adb: New file.
5905 * gdb.ada/mi_var_union/pck.asd: New file.
5907 2018-09-08 Tom Tromey <tom@tromey.com>
5909 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
5911 2018-09-08 Tom Tromey <tom@tromey.com>
5914 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
5915 (register_pretty_printers): Register new printer.
5916 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
5918 * gdb.python/py-prettyprint.c (int_type3): New typedef.
5919 (an_int_type3): New global.
5921 2018-09-08 Joel Brobecker <brobecker@adacore.com>
5923 * gdb.ada/expr_with_funcall: New testcase.
5925 2018-09-08 Joel Brobecker <brobecker@adacore.com>
5927 * gdb.ada/packed_array_assign: New testcase.
5929 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
5931 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
5932 names, and add test prefixes to make test names unique.
5934 2018-09-05 Tom de Vries <tdevries@suse.de>
5936 * gdb.dwarf2/varval.exp: Add test.
5938 2018-09-04 Gary Benson <gbenson@redhat.com>
5940 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
5941 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
5943 2018-08-31 Tom Tromey <tom@tromey.com>
5945 * gdb.rust/simple.rs: Rename second variable "v".
5947 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
5949 * gdb.base/funcargs.c (use_a): New function.
5950 (recurse): Call use_a.
5952 2018-08-29 Keith Seitz <keiths@redhat.com>
5954 * gdb.compile/compile-cplus-anonymous.cc: New file.
5955 * gdb.compile/compile-cplus-anonymous.exp: New file.
5956 * gdb.compile/compile-cplus-array-decay.cc: New file.
5957 * gdb.compile/compile-cplus-array-decay.exp: New file.
5958 * gdb.compile/compile-cplus-inherit.cc: New file.
5959 * gdb.compile/compile-cplus-inherit.exp: New file.
5960 * gdb.compile/compile-cplus-member.cc: New file.
5961 * gdb.compile/compile-cplus-member.exp: New file.
5962 * gdb.compile/compile-cplus-method.cc: New file.
5963 * gdb.compile/compile-cplus-method.exp: New file.
5964 * gdb.compile/compile-cplus-mod.c: "New" file.
5965 * gdb.compile/compile-cplus-namespace.cc: New file.
5966 * gdb.compile/compile-cplus-namespace.exp: New file.
5967 * gdb.compile/compile-cplus-nested.cc: New file.
5968 * gdb.compile/compile-cplus-nested.exp: New file.
5969 * gdb.compile/compile-cplus-print.c: "New" file.
5970 * gdb.compile/compile-cplus-print.exp: "New" file.
5971 * gdb.compile/compile-cplus-virtual.cc: New file.
5972 * gdb.compile/compile-cplus-virtual.exp: New file.
5973 * gdb.compile/compile-cplus.c: "New" file.
5974 * gdb.compile/compile-cplus.exp: "New" file.
5975 * lib/compile-support.exp: New file.
5977 2018-08-16 Gary Benson <gbenson@redhat.com>
5980 * gdb.base/batch-exit-status.exp: New file.
5981 * gdb.base/batch-exit-status.good-commands: Likewise.
5982 * gdb.base/batch-exit-status.bad-commands: Likewise.
5984 2018-08-29 Alan Hayward <alan.hayward@arm.com>
5986 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
5987 (struct struct02): Likewise.
5988 (struct struct03): Likewise.
5989 (struct struct04): Likewise.
5990 (struct struct_01_01): New struct.
5991 (struct struct_01_02): Likewise.
5992 (struct struct_01_03): Likewise.
5993 (struct struct_01_04): Likewise.
5994 (struct struct_02_01): Likewise.
5995 (struct struct_02_02): Likewise.
5996 (struct struct_02_03): Likewise.
5997 (struct struct_02_04): Likewise.
5998 (struct struct_04_01): Likewise.
5999 (struct struct_04_02): Likewise.
6000 (struct struct_04_03): Likewise.
6001 (struct struct_04_04): Likewise.
6002 (struct struct_05_01): Likewise.
6003 (struct struct_05_02): Likewise.
6004 (struct struct_05_03): Likewise.
6005 (struct struct_05_04): Likewise.
6006 (cmp_struct01): Remove function.
6007 (cmp_struct02): Likewise.
6008 (cmp_struct03): Likewise.
6009 (cmp_struct04): Likewise.
6010 (cmp_struct_01_01): Add Function.
6011 (cmp_struct_01_02): Likewise.
6012 (cmp_struct_01_03): Likewise.
6013 (cmp_struct_01_04): Likewise.
6014 (cmp_struct_02_01): Likewise.
6015 (cmp_struct_02_02): Likewise.
6016 (cmp_struct_02_03): Likewise.
6017 (cmp_struct_02_04): Likewise.
6018 (cmp_struct_04_01): Likewise.
6019 (cmp_struct_04_02): Likewise.
6020 (cmp_struct_04_03): Likewise.
6021 (cmp_struct_04_04): Likewise.
6022 (cmp_struct_05_01): Likewise.
6023 (cmp_struct_05_02): Likewise.
6024 (cmp_struct_05_03): Likewise.
6025 (cmp_struct_05_04): Likewise.
6026 (call_all): Add new structs.
6027 * gdb.base/infcall-nested-structs.exp: Likewise.
6029 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
6031 * gdb.python/py-framefilter-mi.exp: Update regexp to
6032 check for "arch" field in frame output.
6034 2018-08-23 Kevin Buettner <kevinb@redhat.com>
6036 * gdb.dwarf2/dw2-ranges-func.c: New file.
6037 * gdb.dwarf2/dw2-ranges-func.exp: New file.
6039 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
6041 * gdb.base/term.exp: Compare terminal settings with values from
6043 * gdb.base/term.c: Get and set terminal settings.
6045 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
6047 * lib/mi-support.exp (mi_expect_stop): Update regexp to
6048 accommodate new "arch" field in frame output.
6049 * gdb.mi/mi-return.exp: Likewise.
6050 * gdb.mi/mi-stack.exp: Likewise.
6051 * gdb.mi/mi-syn-frame.exp: Likewise.
6052 * gdb.mi/user-selected-context-sync.exp: Likewise.
6054 2018-08-19 Michael Spang <spang@google.com>
6057 * gdb.base/gcore-tls-pie.c: New file.
6058 * gdb.base/gcore-tls-pie.exp: New file.
6060 2018-08-18 Kevin Buettner <kevinb@redhat.com>
6062 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
6063 * gdb.dwarf2/varval.c: New file.
6064 * gdb.dwarf2/varval.exp: New file.
6066 2018-08-17 Alan Hayward <alan.hayward@arm.com>
6069 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
6071 2018-08-16 Keith Seitz <keiths@redhat.com>
6073 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
6074 tests expected to pass.
6076 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
6078 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
6079 -data-disassemble -a.
6080 (test_disassembly_bogus_args): Likewise.
6082 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
6084 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
6086 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
6088 * gdb.base/vla-optimized-out.exp: Add new test.
6090 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
6092 * gdb.base/vla-optimized-out-o3.exp: Delete.
6093 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
6094 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
6097 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
6100 * gdb.server/extended-remote-restart.c: New file.
6101 * gdb.server/extended-remote-restart.exp: New file.
6103 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
6105 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
6106 "set variable index = 42".
6108 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
6110 * boards/index-cache-gdb.exp: New file.
6111 * gdb.dwarf2/index-cache.exp: New file.
6112 * gdb.dwarf2/index-cache.c: New file.
6113 * gdb.base/maint.exp: Check if we are using the index cache.
6115 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6117 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
6120 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6122 * dg-extract-results.sh: Move to toplevel contrib.
6123 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
6124 * Makefile.in (check-parallel-racy): Likewise.
6126 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
6128 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
6129 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
6130 tests if the target supports scheduler locking.
6132 2018-08-04 Tom de Vries <tdevries@suse.de>
6134 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
6136 2018-08-02 Tom Tromey <tom@tromey.com>
6139 * gdb.cp/temargs.exp: Test "info address" of a template
6142 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
6144 * gdb.python/py-mi-var-info-path-expression.c: New file.
6145 * gdb.python/py-mi-var-info-path-expression.py: New file.
6146 * gdb.python/py-mi-var-info-path-expression.exp: New file.
6148 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
6150 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
6151 error after "cannot resolve name" string.
6153 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
6155 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
6157 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
6159 2018-07-28 Tom de Vries <tdevries@suse.de>
6161 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
6163 2018-07-26 Tom de Vries <tdevries@suse.de>
6165 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
6167 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
6169 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
6172 2018-07-26 Tom de Vries <tdevries@suse.de>
6174 PR breakpoints/23366
6175 * gdb.base/catch-follow-exec.c: New test.
6176 * gdb.base/catch-follow-exec.exp: New file.
6178 2018-07-25 Tom de Vries <tdevries@suse.de>
6180 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
6181 vla-optimized-out.c.
6183 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
6185 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
6186 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
6188 2018-07-20 Tom de Vries <tdevries@suse.de>
6190 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
6192 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
6194 2018-07-19 Tom de Vries <tdevries@suse.de>
6196 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
6199 2018-07-18 Tom de Vries <tdevries@suse.de>
6201 * gdb.base/vla-optimized-out.c: New test.
6202 * gdb.base/vla-optimized-out.exp: New file.
6204 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
6206 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
6207 message "No address associated with hostname" when gdbserver
6208 cannot resolve the hostname.
6210 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6212 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
6213 Add some test prefixes to make tests unique.
6215 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6217 * gdb.base/frameapply.c: New file.
6218 * gdb.base/frameapply.exp: New file.
6220 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6222 * gdb.base/skip.exp: Update expected error message.
6224 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
6225 Jan Kratochvil <jan.kratochvil@redhat.com>
6226 Paul Fertser <fercerpav@gmail.com>
6227 Tsutomu Seki <sekiriki@gmail.com>
6229 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
6231 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
6233 * boards/native-gdbserver.exp: Likewise.
6234 * gdb.server/run-without-local-binary.exp: Improve regexp used
6235 for detecting when a remote debugging connection succeeds.
6236 * gdb.server/server-connect.exp: New file.
6237 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
6238 Do not prefix the port number with ":".
6239 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
6240 support for detecting and using it. Add '$debughost_gdbserver'
6241 to the list of arguments used to start gdbserver. Handle case
6242 when gdbserver cannot resolve a network name.
6244 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
6247 * gdb.base/ptype-offsets.cc (struct static_member): New
6249 (main) <stmember>: New variable.
6250 * gdb.base/ptype-offsets.exp: Add test for printing a struct
6251 with a static member in it.
6253 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
6255 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
6256 watchpoints enabled and disabled.
6258 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6260 * gdb.base/examine-backward.exp: Still run tests around address
6261 0x0, even if address 0x0 is not readable. Update the pattern for
6262 matching address 0x0 in expected output.
6264 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
6266 * gdb.base/share-env-with-gdbserver.c (main): Add call to
6269 2018-07-04 Tom de Vries <tdevries@suse.de>
6271 * gdb.dwarf2/dw2-error.exp: Update expected error message.
6273 2018-07-02 Maciej W. Rozycki <macro@mips.com>
6276 * gdb.arch/mips-disassembler-options.exp: New test.
6277 * gdb.arch/mips-disassembler-options.s: New test source.
6279 2018-06-29 Pedro Alves <palves@redhat.com>
6281 * gdb.threads/names.exp: Adjust expected "info threads" output.
6283 2018-06-29 Pedro Alves <palves@redhat.com>
6285 * gdb.opt/inline-break.exp (line number, address): Add "info
6288 2018-06-29 Pedro Alves <palves@redhat.com>
6290 * gdb.opt/inline-break.c (func1): Add "break here" marker.
6291 * gdb.opt/inline-break.exp: Test setting breakpoints by line
6292 number and address and running to them.
6294 2018-06-29 Richard Bunt <richard.bunt@arm.com>
6296 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
6298 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6300 * lib/compiler.c: Remove executable permission flag.
6302 2018-06-28 Richard Bunt <richard.bunt@arm.com>
6304 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
6306 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
6308 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
6310 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
6312 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
6314 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
6315 address argument is omitted.
6317 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
6319 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
6321 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
6324 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
6325 * gdb.base/infoline-reloc-main-from-zero.c: New file.
6327 2018-06-26 Tom Tromey <tom@tromey.com>
6330 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
6331 * gdb.rust/simple.rs (struct SimpleLayout): New.
6333 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
6335 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
6336 "info registers" output.
6338 2018-06-21 Richard Bunt <richard.bunt@arm.com>
6340 * gdb.base/watchpoint-hw-attach.c: New test.
6341 * gdb.base/watchpoint-hw-attach.exp: New file.
6343 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
6345 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
6347 * boards/dwarf4-gdb-index.exp: Likewise.
6348 * boards/fission-dwp.exp: Likewise.
6350 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
6352 * gdb.base/float128.exp: Add comment and improved fail message
6353 to the failure case of "print large128" test.
6355 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
6357 * configure.ac: Remove AC_PREREQ.
6358 * configure: Re-generate.
6360 2018-06-19 Pedro Alves <palves@redhat.com>
6362 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
6363 (func_extern_caller): New.
6364 (main): Call func_extern_caller.
6365 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
6368 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
6371 * gdb.cp/typedef-base.cc: New file.
6372 * gdb.cp/typedef-base.exp: New file.
6374 2018-06-18 Tom de Vries <tdevries@suse.de>
6376 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
6378 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
6379 Richard Bunt <Richard.Bunt@arm.com>
6381 * gdb.threads/attach-slow-waitpid.c: New file.
6382 * gdb.threads/attach-slow-waitpid.exp: New file.
6383 * gdb.threads/slow-waitpid.c: New file.
6385 2018-06-14 Pedro Alves <palves@redhat.com>
6387 * gdb.base/fork-running-state.c: Include <errno.h>.
6388 (exit_if_relative_exits): New.
6389 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
6391 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
6394 2018-06-14 Tom de Vries <tdevries@suse.de>
6397 * gdb.base/finish-pretty.c: New test.
6398 * gdb.base/finish-pretty.exp: New file.
6400 2018-06-14 Pedro Alves <palves@redhat.com>
6402 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
6403 gdb's expected startup output.
6405 2018-06-14 Pedro Alves <palves@redhat.com>
6407 * lib/selftest-support.exp (selftest_setup): Remove inlined
6410 2018-06-14 Tom de Vries <tdevries@suse.de>
6412 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
6413 matching of breakpoint printing.
6415 2018-06-13 Tom de Vries <tdevries@suse.de>
6418 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
6419 (fork_child): ... here, and ...
6420 (fork_parent): ... here.
6422 2018-06-12 Tom de Vries <tdevries@suse.de>
6424 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
6426 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
6427 Stephen Roberts <stephen.roberts@arm.com>
6429 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
6430 rewrite test to describe action performed, rather than possible
6433 2018-06-08 Gary Benson <gbenson@redhat.com>
6435 * gdb.threads/check-libthread-db.exp: New file.
6436 * gdb.threads/check-libthread-db.c: Likewise.
6438 2018-06-05 Tom Tromey <tom@tromey.com>
6440 * gdb.base/default.exp: Update expected "show version" output.
6442 2018-06-05 Tom Tromey <tom@tromey.com>
6445 * gdb.cp/static-print-quit.exp: Update.
6446 * lib/gdb.exp (pagination_prompt): Update.
6447 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
6448 * gdb.python/python.exp: Update.
6450 2018-06-04 Joel Brobecker <brobecker@adacore.com>
6452 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
6454 2018-06-01 Joel Brobecker <brobecker@adacore.com>
6456 * gdb.ada/bp_fun_addr: New testcase.
6458 2018-06-01 Tom Tromey <tom@tromey.com>
6460 * gdb.xml/tdesc-regs.exp (load_description): Update expected
6462 * gdb.dwarf2/method-ptr.exp: Set language to C++.
6463 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
6464 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
6465 * gdb.base/maint.exp (maint_pass_if): Update.
6467 2018-05-31 Maciej W. Rozycki <macro@mips.com>
6469 * gdb.base/endian.exp: New test.
6470 * gdb.base/endian.c: New test source.
6472 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
6475 * gdb.base/bt-selected-frame.c: New file.
6476 * gdb.base/bt-selected-frame.exp: New file.
6477 * lib/gdb.exp (get_current_frame_number): New function.
6479 2018-05-24 Maciej W. Rozycki <macro@mips.com>
6480 Pedro Alves <palves@redhat.com>
6482 * gdb.threads/tls-core.c: Include <stdlib.h>
6483 (thread_proc): Call `abort'.
6484 * gdb.threads/tls-core.exp: Generate a core with core_find too.
6485 (tls_core_test): New procedure, bits factored out from ...
6486 (top level): ... here. Test both native cores and gcore cores.
6488 2018-05-23 Tom Tromey <tom@tromey.com>
6490 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
6492 2018-05-23 Tom Tromey <tom@tromey.com>
6494 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
6496 (test_short_complaints): Likewise.
6497 (test_empty_complaints): Likewise.
6498 (test_initial_complaints): Update.
6500 2018-05-23 Tom Tromey <tom@tromey.com>
6502 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
6504 2018-05-23 Tom Tromey <tom@tromey.com>
6506 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
6507 (test_short_complaints): Update.
6509 2018-05-22 Pedro Alves <palves@redhat.com>
6511 * gdb.base/remote.exp: Only gdb_start after compiling the
6512 testcase. Issue "disconnect" before testing "set remote" command
6513 defaults. Issue clean_restart before running to main.
6515 2018-05-22 Pedro Alves <palves@redhat.com>
6517 * gdb.base/remote.exp: Adjust expected output of "show remote
6518 memory-write-packet-size". Add tests for "set remote
6519 memory-write-packet-size 0" and "set remote
6520 memory-write-packet-size fixed/limit".
6522 2018-05-22 Pedro Alves <palves@redhat.com>
6525 * gdb.base/utf8-identifiers.c: New file.
6526 * gdb.base/utf8-identifiers.exp: New file.
6528 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
6530 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
6532 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
6534 * gdb.arch/powerpc-vsx-gcore.exp: New file.
6536 2018-05-18 Tom Tromey <tom@tromey.com>
6538 * gdb.base/ptype-offsets.exp: Update.
6540 2018-05-17 Keith Seitz <keiths@redhat.com>
6542 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
6543 in expected breakpoint stop locations.
6544 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
6545 move to proper scope to test variable values.
6546 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
6547 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
6549 (main): Call not_inline_func3.
6550 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
6551 inline_func1, inline_func2, and inline_func3. Test that when each
6552 breakpoint is hit, GDB properly reports both the stop location
6553 and the backtrace. Repeat tests for temporary breakpoints.
6555 2018-05-15 Maciej W. Rozycki <macro@mips.com>
6557 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
6558 rather then trying to access it in determining whether the PID
6559 of `gdbserver' could have been retrieved.
6561 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
6563 * gdb.arch/amd64-init-x87-values.S: New file.
6564 * gdb.arch/amd64-init-x87-values.exp: New file.
6566 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6568 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
6570 2018-05-04 Tom Tromey <tom@tromey.com>
6573 * gdb.python/python.exp: Test multi-line execute.
6575 2018-05-04 Tom Tromey <tom@tromey.com>
6578 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
6580 2018-05-04 Tom Tromey <tom@tromey.com>
6583 * gdb.base/define.exp: Test defining a user command inside a user
6585 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
6587 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6588 Pedro Alves <palves@redhat.com>
6590 PR breakpoints/19806 and support for PR external/20207.
6591 * gdb.base/watchpoint-unaligned.c: New file.
6592 * gdb.base/watchpoint-unaligned.exp: New file.
6594 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
6596 * gdb.base/maint.exp: Make test names unique, use
6597 test_prefix_command_help to test 'help maint info', and remove
6598 repeated test of 'help maint'.
6600 2018-05-04 Tom Tromey <tom@tromey.com>
6603 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
6606 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
6608 * gdb.base/maint.exp: Process output from 'maint print registers'
6611 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
6613 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
6616 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
6618 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
6621 2018-05-02 Pedro Alves <palves@redhat.com>
6623 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
6624 to_log_command renames.
6625 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
6627 2018-05-02 Tom Tromey <tom@tromey.com>
6629 * gdb.python/py-parameter.exp: Set test message.
6631 2018-05-02 Tom Tromey <tom@tromey.com>
6634 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
6635 PARAM_ZUINTEGER_UNLIMITED tests.
6637 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
6640 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
6643 2018-04-30 Tom Tromey <tom@tromey.com>
6645 * gdb.python/py-type.exp: Check align attribute.
6646 * gdb.python/py-type.c: New "aligncheck" global.
6648 2018-04-30 Tom Tromey <tom@tromey.com>
6651 * gdb.dwarf2/dw2-align.exp: New file.
6652 * gdb.cp/align.exp: New file.
6653 * gdb.base/align.exp: New file.
6654 * lib/gdb.exp (gdb_int128_helper): New proc.
6655 (has_int128_c, has_int128_cxx): New caching procs.
6657 2018-04-27 Tom Tromey <tom@tromey.com>
6660 * gdb.rust/simple.exp: Add inclusive range tests.
6662 2018-04-26 Pedro Alves <palves@redhat.com>
6664 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
6665 ifunc breakpoint locations correctly of ifunc breakpoints set
6666 while the program resolves the ifunc.
6668 2018-04-26 Pedro Alves <palves@redhat.com>
6670 * gdb.base/gnu-ifunc-final.c: New file.
6671 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
6672 * gdb.base/gnu-ifunc.exp (executable): Delete.
6673 (staticexecutable): Adjust.
6674 (lib_opts, exec_opts): Delete.
6675 (make_binsuffix, build, set-break): New procedures.
6676 (misc_tests): New, with tests factored out from the top level.
6677 (top level): Test different combinations of ifunc resolver name,
6678 resolver with and with debug info, and ifunc target with and
6679 without debug info. Wrap static tests with with_target_prefix.
6681 2018-04-26 Pedro Alves <palves@redhat.com>
6683 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
6684 return type" warnings.
6686 2018-04-25 Pedro Alves <palves@redhat.com>
6688 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
6690 * gdb.base/kill-after-signal.exp: Likewise.
6691 * gdb.threads/kill.exp: Likewise.
6693 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6694 Sergio Durigan Junior <sergiodj@redhat.com>
6695 Pedro Alves <palves@redhat.com>
6697 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
6698 regexps to expect for '[Inferior ... detached]' as well.
6699 * gdb.base/attach.exp: Likewise.
6700 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
6701 "gdb_continue_to_end".
6702 (test_catch_syscall_with_wrong_args): Likewise.
6703 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
6704 ']'. Don't set 'verbose' on.
6705 * gdb.base/foll-vfork.exp: Likewise.
6706 * gdb.base/fork-print-inferior-events.c: New file.
6707 * gdb.base/fork-print-inferior-events.exp: New file.
6708 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
6709 '[Inferior ... has been killed]' message.
6710 * gdb.base/kill-after-signal.exp: Likewise.
6711 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
6713 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
6715 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
6716 regexps to expect for '[Inferior ... detached]' as well.
6717 * gdb.threads/process-dies-while-detaching.exp: Likewise.
6719 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
6722 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
6724 2018-04-22 Rajendra SY <rajendra.sy@gmail.com>
6727 * gdb.base/break-probes.exp: Pass shlib_load to
6728 prepare_for_testing. Set normal_bp to r_debug_state if target is
6731 2018-04-19 Richard Bunt <richard.bunt@arm.com>
6733 * gdb.threads/multiple-successive-infcall.c: New test.
6734 * gdb.threads/multiple-successive-infcall.exp: New file.
6736 2018-04-17 Tom Tromey <tom@tromey.com>
6738 * gdb.rust/simple.rs (Union): New type.
6739 (main): New local "u".
6740 * gdb.rust/simple.exp (test_one_slice): Add new test case.
6742 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6744 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
6745 number information in output of "whereis" command.
6746 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
6748 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6750 * gdb.ada/info_types.exp: Adjust expected output to the line
6751 numbers now printed by "info var/func/type".
6752 * gdb.base/completion.exp: Likewise.
6753 * gdb.base/included.exp: Likewise.
6754 * gdb.cp/cp-relocate.exp: Likewise.
6755 * gdb.cp/cplusfuncs.exp: Likewise.
6756 * gdb.cp/namespace.exp: Likewise.
6757 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
6759 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
6761 * gdb.btrace/cpu.exp: New.
6763 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
6765 * gdb.base/step-indirect-call-thunk.exp: New.
6766 * gdb.base/step-indirect-call-thunk.c: New.
6767 * gdb.reverse/step-indirect-call-thunk.exp: New.
6768 * gdb.reverse/step-indirect-call-thunk.c: New.
6770 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
6772 * gdb.base/pie-fork.c: New file.
6773 * gdb.base/pie-fork.exp: New file.
6775 2018-04-11 Tom Tromey <tom@tromey.com>
6777 * gdb.rust/simple.exp: Add test for ".." struct initializer.
6779 2018-04-10 Pedro Alves <palves@redhat.com>
6781 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
6782 exits. Instead loop running forever.
6783 (fork_parent): Run forever too.
6785 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
6787 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
6788 mi_continue_to_line.
6789 * gdb.mi/mi-stack.c (callee4): Add comment.
6791 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
6793 * gdb.mi/mi-stack.exp: Fix indentation.
6795 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
6798 * gdb.arch/amd64-osabi.exp: New file.
6800 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
6803 * gdb.base/osabi.exp: New file.
6805 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
6807 * gdb.cp/static-typedef-print.exp: New file.
6808 * gdb.cp/static-typedef-print.cc: New file.
6810 2018-03-27 Joel Brobecker <brobecker@adacore.com>
6812 * gdb.ada/varsize_limit: New testcase.
6814 2018-03-27 Joel Brobecker <brobecker@adacore.com>
6816 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
6818 * gdb.ada/notcplusplus: New testcase.
6820 * gdb.base/c-linkage-name.c: New file.
6821 * gdb.base/c-linkage-name.exp: New testcase.
6823 2018-03-26 Tom Tromey <tom@tromey.com>
6825 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
6826 * gdb.python/py-framefilter.py (name_error): New global.
6827 (ErrorInName.function): Use name_error.
6829 2018-03-26 Tom Tromey <tom@tromey.com>
6832 * gdb.python/py-framefilter.exp: Add "bt hide" test.
6834 2018-03-23 Keith Seitz <keiths@redhat.com>
6837 * gdb.cp/subtypes.exp: New file.
6838 * gdb.cp/subtypes.h: New file.
6839 * gdb.cp/subtypes.cc: New file.
6840 * gdb.cp/subtypes-2.cc: New file.
6842 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
6844 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
6845 (done): Call '_exit' not 'exit' to avoid atexit handlers.
6846 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
6847 -nostartfiles when compiling the test. Confirm that all registers
6848 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
6850 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
6852 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
6853 option, syntax was wrong anyway.
6854 * gdb.arch/arm-disp-step.exp: Likewise.
6855 * gdb.arch/sparc64-regs.exp: Likewise.
6856 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
6857 option, syntax was wrong anyway, switch to use
6858 prepare_for_testing.
6859 * gdb.arch/i386-disp-step.exp: Likewise.
6861 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
6863 * gdb.ada/exec_changed.exp: Replace "target_info exists
6864 use_gdb_stub" by "use_gdb_stub".
6865 * gdb.ada/start.exp: Likewise.
6866 * gdb.base/async-shell.exp: Likewise.
6867 * gdb.base/attach-pie-misread.exp: Likewise.
6868 * gdb.base/attach-wait-input.exp: Likewise.
6869 * gdb.base/break-entry.exp: Likewise.
6870 * gdb.base/break-interp.exp: Likewise.
6871 * gdb.base/dprintf-detach.exp: Likewise.
6872 * gdb.base/nostdlib.exp: Likewise.
6873 * gdb.base/solib-nodir.exp: Likewise.
6874 * gdb.base/statistics.exp: Likewise.
6875 * gdb.base/testenv.exp: Likewise.
6876 * gdb.mi/mi-exec-run.exp: Likewise.
6877 * gdb.mi/mi-start.exp: Likewise.
6878 * gdb.multi/dummy-frame-restore.exp: Likewise.
6879 * gdb.multi/multi-arch-exec.exp: Likewise.
6880 * gdb.multi/multi-arch.exp: Likewise.
6881 * gdb.multi/tids.exp: Likewise.
6882 * gdb.multi/watchpoint-multi.exp: Likewise.
6883 * gdb.python/py-events.exp: Likewise.
6884 * gdb.threads/attach-into-signal.exp: Likewise.
6885 * gdb.threads/attach-stopped.exp: Likewise.
6886 * gdb.threads/threadapply.exp: Likewise.
6887 * lib/selftest-support.exp: Likewise.
6889 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
6891 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
6893 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
6895 * gdb.perf/template-breakpoints.cc: New file.
6896 * gdb.perf/template-breakpoints.exp: New file.
6897 * gdb.perf/template-breakpoints.py: New file.
6899 2018-03-19 Tom Tromey <tom@tromey.com>
6901 * gdb.rust/simple.rs (main): Add local variables field1, field2,
6903 * gdb.rust/simple.exp: Test bare identifier form of struct
6906 2018-03-19 Tom Tromey <tom@tromey.com>
6908 * gdb.gdb/observer.exp: Remove.
6910 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
6912 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
6913 "qualified" option when setting breakpoints.
6914 * gdb.trace/backtrace.exp: Likewise.
6915 * gdb.trace/circ.exp: Likewise.
6916 * gdb.trace/collection.exp: Likewise.
6917 * gdb.trace/disconnected-tracing.exp: Likewise.
6918 * gdb.trace/ftrace-lock.exp: Likewise.
6919 * gdb.trace/ftrace.exp: Likewise.
6920 * gdb.trace/infotrace.exp: Likewise.
6921 * gdb.trace/packetlen.exp: Likewise.
6922 * gdb.trace/passc-dyn.exp: Likewise.
6923 * gdb.trace/qtro.exp: Likewise.
6924 * gdb.trace/read-memory.exp: Likewise.
6925 * gdb.trace/report.exp: Likewise.
6926 * gdb.trace/signal.exp: Likewise.
6927 * gdb.trace/status-stop.exp: Likewise.
6928 * gdb.trace/strace.exp: Likewise.
6929 * gdb.trace/tfind.exp: Likewise.
6930 * gdb.trace/trace-break.exp: Likewise.
6931 * gdb.trace/trace-condition.exp: Likewise.
6932 * gdb.trace/trace-mt.exp: Likewise.
6933 * gdb.trace/tstatus.exp: Likewise.
6934 * gdb.trace/tsv.exp: Likewise.
6935 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
6936 * gdb.trace/unavailable.exp: Likewise.
6937 * gdb.trace/while-dyn.exp: Likewise.
6939 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6941 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
6942 that libinproctrace is copied to the target.
6944 2018-03-14 Tom Tromey <tom@tromey.com>
6947 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
6949 * gdb.base/wchar.exp: Likewise.
6951 2018-03-14 Tom Tromey <tom@tromey.com>
6954 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
6957 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
6960 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
6961 "target" to remote_exec.
6963 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
6966 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
6967 ${board}_upload): Remove.
6969 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
6971 * gdb.cp/watch-cp.cc: New test.
6972 * gdb.cp/watch-cp.exp: New file.
6974 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
6976 * gdb.base/infcall-nested-structs.exp: New file.
6977 * gdb.base/infcall-nested-structs.c: New file.
6978 * gdb.base/float.exp: Add riscv support.
6980 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
6982 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
6983 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
6985 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
6987 * gdb.server/abspath.exp: New file.
6988 * lib/gdb.exp (with_cwd): New procedure.
6990 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
6992 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
6994 (gdb_is_target_remote_prompt): New proc.
6995 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
6996 (gdb_is_target_native): Pass prompt parameter to
6999 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
7001 * gdb.base/load-command.c: New file.
7002 * gdb.base/load-command.exp: New file.
7003 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
7004 (gdb_is_target_1): ...this, and generalize for other targets
7006 (gdb_is_target_remote): Use gdb_is_target_1.
7007 (gdb_is_target_native): use gdb_is_target_1.
7009 2018-02-26 Tom Tromey <tom@tromey.com>
7012 * gdb.python/py-framefilter.exp: Update test.
7014 2018-02-26 Tom Tromey <tom@tromey.com>
7016 * gdb.dwarf2/variant.c: New file.
7017 * gdb.dwarf2/variant.exp: New file.
7019 2018-02-26 Tom Tromey <tom@tromey.com>
7021 * gdb.rust/simple.exp: Accept more possible results in enum test.
7023 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
7025 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
7028 2018-02-23 Maciej W. Rozycki <macro@mips.com>
7030 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
7031 name of a variable: $actual_linejj -> $actual_line.
7033 2018-02-21 John Baldwin <jhb@FreeBSD.org>
7035 * gdb.arch/amd64-i386-address.exp: Fix a typo.
7037 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
7039 * gdb.btrace/buffer-size.exp: Do not force BTS.
7041 2018-02-14 Pedro Alves <palves@redhat.com>
7043 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
7046 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
7048 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
7051 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
7053 * gdb.cp/m-static.exp: Check type of optimized out static
7056 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
7058 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
7059 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
7061 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
7062 Leszek Swirski <leszeks@google.com>
7064 * gdb.python/py-prettyprint.c
7065 (struct to_string_returns_value_inner,
7066 struct to_string_returns_value_wrapper): New.
7067 (main): Add tsrvw variable.
7068 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
7069 ToStringReturnsValueWrapper): New classes.
7070 (register_pretty_printers): Register new pretty-printers.
7071 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
7072 recursive pretty printer.
7073 * gdb.python/py-mi.exp: Likewise.
7075 2018-02-01 Leszek Swirski <leszeks@google.com>
7077 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
7078 functions with the same name as an include file are parsed
7081 2018-02-01 Yao Qi <yao.qi@linaro.org>
7083 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
7086 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
7088 * gdb.arch/powerpc-prologue-frame.s: New file.
7089 * gdb.arch/powerpc-prologue-frame.c: Likewise.
7090 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
7092 2018-01-31 Joel Brobecker <brobecker@adacore.com>
7094 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
7096 2018-01-30 Pedro Alves <palves@redhat.com>
7099 * gdb.base/interrupt-daemon.c: New.
7100 * gdb.base/interrupt-daemon.exp: New.
7101 * gdb.multi/multi-term-settings.c: New.
7102 * gdb.multi/multi-term-settings.exp: New.
7104 2018-01-30 Joel Brobecker <brobecker@adacore.com>
7106 * gdb.base/break.exp: Save the location where the breakpoint
7107 on break.c:47 was actually inserted when debugging the version
7108 compiled at -O2 and use it in the expected output of the "info
7109 break" test performed soon after.
7111 2018-01-22 Pedro Alves <palves@redhat.com>
7112 Sergio Durigan Junior <sergiodj@redhat.com>
7114 * gdb.base/whatis.exp: Add tests for 'set print object on' +
7115 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
7117 2018-01-22 Joel Brobecker <brobecker@adacore.com>
7119 * gdb.base/break-include.c, gdb.base/break-include.inc,
7120 gdb.base/break-include.exp: New files.
7121 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
7122 line number now being the actual line number where the breakpoint
7124 * gdb.mi/mi-break.exp: Likewise.
7125 * gdb.mi/mi-reverse.exp: Likewise.
7126 * gdb.mi/mi-simplerun.exp: Ditto.
7128 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
7130 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
7132 * gdb.mi/mi-var-create-rtti.exp: Likewise.
7134 2018-01-21 Don Breazeal <donb@codesourcery.com>
7135 Andrew Burgess <andrew.burgess@embecosm.com>
7137 * gdb.mi/basics.c: Add new global.
7138 * gdb.mi/mi-frame-regs.exp: New file.
7139 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
7142 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
7144 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
7145 non-parameter, and on an unknown symbol.
7147 2018-01-19 Tom Tromey <tom@tromey.com>
7149 * gdb.rust/modules.rs (TWENTY_THREE): New global.
7150 * gdb.rust/modules.exp: Add ::-qualified lookup test.
7152 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7154 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
7155 setrlimit and chdir to int.
7157 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7159 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
7161 (my_tend): Likewise.
7162 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
7163 rationale of avoiding FP- and vector instructions.
7165 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
7167 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
7168 "info reg" with "\[ \t\]*".
7169 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
7171 * gdb.arch/s390-multiarch.exp: Ditto.
7172 * gdb.base/pc-fp.exp: Ditto.
7173 * gdb.reverse/i386-precsave.exp: Ditto.
7174 * gdb.reverse/i386-reverse.exp: Ditto.
7175 * gdb.reverse/i387-env-reverse.exp: Ditto.
7176 * gdb.reverse/i387-stack-reverse.exp: Ditto.
7178 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
7180 * lib/gdb.exp (gdb_compile): Re-enable use of
7181 universal_compile_options for languages other than Rust.
7183 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
7185 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
7187 2018-01-17 Mike Gulick <mgulick@mathworks.com>
7190 * gdb.base/solib-vanish.exp: New.
7191 * gdb.base/solib-vanish-main.c: New.
7192 * gdb.base/solib-vanish-lib1.c: New.
7193 * gdb.base/solib-vanish-lib2.c: New.
7195 2018-01-17 Yao Qi <yao.qi@linaro.org>
7197 * gdb.compile/compile.exp: Match the address printed for
7198 frame in the output of command "bt".
7200 2018-01-15 Tom Tromey <tom@tromey.com>
7202 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
7205 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
7207 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
7209 (prepare): Return 0 on error, 1 on success.
7211 2018-01-12 Pedro Alves <palves@redhat.com>
7213 * gdb.base/continue-after-aborted-step-over.c: New.
7214 * gdb.base/continue-after-aborted-step-over.exp: New.
7216 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
7218 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
7219 options when not creating an executable.
7221 2018-01-11 Pedro Alves <palves@redhat.com>
7224 * gdb.server/stop-reply-no-thread.c: New file.
7225 * gdb.server/stop-reply-no-thread.exp: New file.
7227 2018-01-10 Pedro Alves <palves@redhat.com>
7230 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
7231 functions too. Test setting breakpoints and printing C functions
7232 with no debug info too.
7233 * gdb.ada/bp_c_mixed_case/qux.c: New file.
7235 2018-01-10 Pedro Alves <palves@redhat.com>
7238 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
7241 2018-01-10 Pedro Alves <palves@redhat.com>
7244 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
7246 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
7248 * gdb.server/unittest.exp: Match the output in non-development
7251 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
7253 * gdb.gdb/unittest.exp: Match output in non-development mode.
7255 2018-01-08 Joel Brobecker <brobecker@adacore.com>
7257 * gdb.ada/access_tagged_param.exp: Relax expected output
7258 for value of "ObjL" in "continue" to pck.inspect breakpoint
7261 2018-01-08 Joel Brobecker <brobecker@adacore.com>
7263 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
7264 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
7266 2018-01-05 Pedro Alves <palves@redhat.com>
7269 * gdb.base/libsegfault.exp: New.
7271 2018-01-05 Joel Brobecker <brobecker@adacore.com>
7274 * gdb.ada/access_tagged_param.exp: New file.
7275 * gdb.ada/access_tagged_param/foo.adb: New file.
7277 2018-01-05 Pedro Alves <palves@redhat.com>
7280 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
7281 exercise lower case too, and to exercise both full matching and
7284 2018-01-05 Joel Brobecker <brobecker@adacore.com>
7286 * gdb.ada/rename_subscript_param: New testcase.
7288 2018-01-05 Jerome Guitton <guitton@adacore.com>
7290 * gdb.ada/arr_acc_idx_w_gap: New testcase.
7292 2018-01-05 Joel Brobecker <brobecker@adacore.com>
7294 * gdb.ada/convvar_comp: New testcase.
7296 2018-01-05 Xavier Roirand <roirand@adacore.com>
7298 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
7299 (My_Table): New global variable.
7300 * testsuite/gdb.ada/array_char_idx.exp: Add test.
7302 2018-01-04 Joel Brobecker <brobecker@adacore.com>
7305 * gdb.ada/maint_with_ada: New testcase.
7307 2018-01-04 Joel Brobecker <brobecker@adacore.com>
7310 * gdb.ada/bp_c_mixed_case: New testcase.
7312 2018-01-04 Joel Brobecker <brobecker@adacore.com>
7315 * gdb.ada/complete.exp: Add "complete break ada" test.
7317 2018-01-04 Joel Brobecker <brobecker@adacore.com>
7320 * gdb.ada/info_addr_mixed_case: New testcase.
7322 2018-01-03 Xavier Roirand <roirand@adacore.com>
7324 * gdb.ada/excep_handle.exp: New testcase.
7325 * gdb.ada/excep_handle/foo.adb: New file.
7326 * gdb.ada/excep_handle/pck.ads: New file.
7328 2018-01-03 Joel Brobecker <brobecker@adacore.com>
7330 * gdb.base/step-line.c: Add extra empty line in copyright header.
7331 * gdb.base/step-line.inp: Likewise.
7333 2018-01-02 Joel Brobecker <brobecker@adacore.com>
7335 * gdb.ada/dyn_stride.exp: Add slice test.
7337 2018-01-02 Joel Brobecker <brobecker@adacore.com>
7339 * gdb.ada/dyn_stride: New testcase.
7341 2017-12-27 Stafford Horne <shorne@gmail.com>
7343 * gdb.xml/extra-regs.xml: Add example foo reggroup.
7344 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
7346 2017-12-27 Stafford Horne <shorne@gmail.com>
7348 * gdb.base/reggroups.c: New file.
7349 * gdb.base/reggroups.exp: New file.
7351 2017-12-18 Joel Brobecker <brobecker@adacore.com>
7353 * gdb.dwarf2/ada-valprint-error.c: New file.
7354 * gdb.dwarf2/ada-valprint-error.exp: New file.
7356 2017-12-18 Joel Brobecker <brobecker@adacore.com>
7358 * gdb.ada/assign_arr: New testcase.
7360 2017-12-18 Xavier Roirand <roirand@adacore.com>
7362 * gdb.ada/funcall_ptr: New testcase.
7364 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
7367 * gdb.base/ptype-offsets.cc: New file.
7368 * gdb.base/ptype-offsets.exp: New file.
7370 2017-12-15 Yao Qi <yao.qi@linaro.org>
7372 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
7375 2017-12-15 Xavier Roirand <roirand@adacore.com>
7377 * gdb.ada/same_component_name: New testcase.
7379 2017-12-14 Joel Brobecker <brobecker@adacore.com>
7381 * gdb.ada/str_binop_equal: New testcase.
7383 2017-12-14 Joel Brobecker <brobecker@adacore.com>
7385 * gdb.ada/task_switch_in_core: New testcase.
7387 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
7389 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
7390 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
7391 call test_bkpt_qualified.
7392 (test_bkpt_qualified): New proc.
7394 2017-12-13 Pedro Alves <palves@redhat.com>
7396 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
7397 Tighten regexp by matching with an anchor.
7399 2017-12-13 Pedro Alves <palves@redhat.com>
7401 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
7402 ("expression with namespace"): New set of tests.
7403 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
7404 (Nested::Test_NS::qux): New.
7405 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
7406 defaults to 'start_quote_char' and 'end_quote_char' parameters.
7408 2017-12-13 Joel Brobecker <brobecker@adacore.com>
7410 * gdb.base/server-del-break.c: New file.
7411 * gdb.base/server-del-break.exp: New file.
7413 2017-12-12 Stafford Horne <shorne@gmail.com>
7415 * gdb.xml/tdesc-regs.exp: Add or1k support.
7417 2017-12-12 Stafford Horne <shorne@gmail.com>
7419 * gdb.base/bp-permanent.c: Define nop of or1k.
7421 2017-12-11 Joel Brobecker <brobecker@adacore.com>
7423 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
7424 output with components being reordered.
7426 2017-12-11 Joel Brobecker <brobecker@adacore.com>
7428 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
7429 output with components being reordered.
7431 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7432 Pedro Alves <palves@redhat.com>
7434 * gdb.base/maint.exp (check for .gdb_index): Check also for
7436 * gdb.dlang/watch-loc.c (.debug_aranges): New.
7437 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
7438 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
7439 (.gdb_index used after symbol reloading): Support also .debug_names.
7440 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
7442 2017-12-08 Yao Qi <yao.qi@linaro.org>
7444 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
7445 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
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 test for breakpoint.
7452 2017-12-08 Yao Qi <yao.qi@linaro.org>
7454 * gdb.arch/aarch64-tagged-pointer.c: New file.
7455 * gdb.arch/aarch64-tagged-pointer.exp: New file.
7457 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
7459 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
7462 2017-12-07 Keith Seitz <keiths@redhat.com>
7464 PR breakpoints/22569
7465 * gdb.linespec/ls-errs.exp: Change expected result of "break
7466 -source this file has spaces.c -line 3".
7467 Check that an explicit source file followed by whitespace is
7468 identified as an invalid explicit location.
7470 2017-12-07 Keith Seitz <keiths@redhat.com>
7472 * gdb.cp/nested-types.cc: New file.
7473 * gdb.cp/nested-types.exp: New file.
7474 * lib/cp-support.exp: Load data-structures.exp library.
7475 (debug_cp_test_ptype_class): New global.
7476 (cp_ptype_class_verbose, next_line): New procedures.
7477 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
7478 Add and document new return value.
7479 Switch the list of lines to a queue.
7480 Add support for new `type' key for nested type definitions.
7481 Add debugging/troubleshooting messages.
7482 * lib/data-structures.exp: New file.
7484 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
7486 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
7487 with proc_with_prefix, don't use with_test_prefix.
7489 2017-12-07 Tom Tromey <tom@tromey.com>
7491 * gdb.base/break.exp: Add test for empty "commands".
7493 2017-12-07 Yao Qi <yao.qi@linaro.org>
7495 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
7496 malloc and catch syscall.
7498 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
7500 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
7501 tests for explicit locations.
7503 2017-12-06 Pedro Alves <palves@redhat.com>
7505 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
7506 force-disabling XML descriptions.
7508 2017-12-04 Pedro Alves <palves@redhat.com>
7511 * gdb.arch/amd64-disp-step-avx.S: New file.
7512 * gdb.arch/amd64-disp-step-avx.exp: New file.
7514 2017-12-03 Pedro Alves <palves@redhat.com>
7516 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
7518 (parent_function): Print distinct messages when waitpid fails, or
7519 the child exits with a signal, or the child exits for an unhandled
7521 * gdb.threads/process-dies-while-detaching.exp
7522 (detach_and_expect_exit): New 'inf_output_re' parameter and use
7523 it. Wait for both inferior output and GDB's prompt. Use an
7524 indirect spawn id list.
7525 (do_detach): New parameter 'child_exit'. Use it to compute
7526 expected inferior output.
7527 (test_detach, test_detach_watch, test_detach_killed_outside):
7528 Adjust to pass down the expected child exit kind.
7530 2017-12-01 Joel Brobecker <brobecker@adacore.com>
7531 Sergio Durigan Junior <sergiodj@redhat.com>
7532 Pedro Alves <palves@redhat.com>
7534 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
7536 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
7538 * gdb.base/relocate.exp: Add tests to guarantee that arguments
7539 to 'symbol-file' and 'add-symbol-file' can be
7540 position-independent.
7542 2017-12-01 Yao Qi <yao.qi@linaro.org>
7544 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
7545 the URL in copyright header.
7546 * gdb.arch/aarch64-fp.exp: Likewise.
7547 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
7548 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
7549 * gdb.base/expand-psymtabs.exp: Likewise.
7550 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
7551 * gdb.fortran/common-block.exp: Likewise.
7552 * gdb.fortran/common-block.f90: Likewise.
7553 * gdb.fortran/logical.exp: Likewise.
7554 * gdb.fortran/vla-datatypes.f90: Likewise.
7555 * gdb.fortran/vla-sub.f90: Likewise.
7557 2017-11-30 Joel Brobecker <brobecker@adacore.com>
7559 * gdb.ada/repeat_dyn: New testcase.
7561 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
7563 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
7564 Update for changed thread numbering.
7565 * gdb.cell/bt.exp: Update for changed GDB output.
7567 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
7569 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
7570 setting isremote by hand.
7571 * boards/dwarf4-gdb-index.exp: Likewise.
7572 * boards/fission.exp: Likewise.
7573 * boards/stabs.exp: Likewise.
7575 2017-11-30 Pedro Alves <palves@redhat.com>
7577 * gdb.linespec/cpls-ops.exp
7578 (check_explicit_skips_function_argument): Extract the underlying
7579 type of size_t instead of hardcoding it.
7581 2017-11-29 Pedro Alves <palves@redhat.com>
7584 * gdb.linespec/cpls-abi-tag.cc: New file.
7585 * gdb.linespec/cpls-abi-tag.exp: New file.
7587 2017-11-29 Pedro Alves <palves@redhat.com>
7589 * gdb.base/langs.exp: Use -qualified.
7590 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
7592 * gdb.cp/namespace.exp: Use -qualified.
7593 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
7594 (overload-3, template-overload, template-ret-type, const-overload)
7595 (const-overload-quoted, anon-ns, ambiguous-prefix): New
7597 (test_driver): Call them.
7598 * gdb.cp/save-bp-qualified.cc: New.
7599 * gdb.cp/save-bp-qualified.exp: New.
7600 * gdb.linespec/explicit.exp: Test -qualified.
7601 * lib/completion-support.exp (completion::explicit_opts_list): Add
7603 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
7605 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
7607 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
7609 2017-11-29 Tom Tromey <tom@tromey.com>
7611 * gdb.base/relocate.exp: Update invalid argument test.
7612 Add new tests for invalid arguments.
7614 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
7616 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
7618 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
7620 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
7622 * gdb.cp/breakpoint.cc (bar): Set return type to void.
7623 * gdb.cp/psymtab-parameter.cc (func): Likewise.
7624 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
7626 * gdb.cp/shadow.cc (B.func): Return 0.
7628 2017-11-27 Joel Brobecker <brobecker@adacore.com>
7630 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
7631 expected output in gdb_expect call to allow the exception
7632 message to be present as well. Fix syntax confusion to avoid
7633 TCL thinking that exception_name is an array.
7635 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
7637 * gdb.arch/spu-info.c: Include <unistd.h>.
7638 (do_signal_test): Fix broken calls to write.
7639 * gdb.arch/spu-info.exp: Use prepare_for_testing.
7640 Fix checks for empty mailboxes. Update signal tests for corrected
7641 do_signal_test routine. Allow nonzero event status.
7642 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
7643 * gdb.cell/arch.exp: Use standard_output_file.
7644 * gdb.cell/break.exp: Likewise.
7645 * gdb.cell/bt.exp: Likewise.
7646 * gdb.cell/core.exp: Likewise.
7647 * gdb.cell/dwarfaddr.exp: Likewise.
7648 * gdb.cell/ea-cache.exp: Likewise.
7649 * gdb.cell/ea-standalone.exp: Likewise.
7650 * gdb.cell/f-regs.exp: Likewise.
7651 * gdb.cell/fork.exp: Likewise.
7652 * gdb.cell/gcore.exp: Likewise.
7653 * gdb.cell/mem-access.exp: Likewise.
7654 * gdb.cell/ptype.exp: Likewise.
7655 * gdb.cell/registers.exp: Likewise.
7656 * gdb.cell/sizeof.exp: Likewise.
7657 * gdb.cell/solib-symbol.exp: Likewise.
7658 * gdb.cell/solib.exp: Likewise.
7660 2017-11-25 Pedro Alves <palves@redhat.com>
7662 * gdb.base/complete-empty.exp: New file.
7663 * gdb.base/completion.exp: Adjust.
7665 2017-11-25 Pedro Alves <palves@redhat.com>
7667 * gdb.linespec/cpls-ops.cc: New file.
7668 * gdb.linespec/cpls-ops.exp: New file.
7669 * lib/completion-support.exp (test_complete_prefix_range_re): New,
7670 factored out from ...
7671 (test_complete_prefix_range): ... this.
7673 2017-11-24 Pedro Alves <palves@redhat.com>
7675 * gdb.linespec/cpcompletion.exp: New file.
7676 * gdb.linespec/cpls-hyphen.cc: New file.
7677 * gdb.linespec/cpls.cc: New file.
7678 * gdb.linespec/cpls2.cc: New file.
7679 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
7680 test to use test_gdb_complete_unique. Add label completion,
7681 keyword completion and explicit location completion tests.
7682 * lib/completion-support.exp: New file.
7684 2017-11-24 Joel Brobecker <brobecker@adacore.com>
7686 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
7687 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
7688 when hitting an exception catchpoint.
7690 2017-11-22 Yao Qi <yao.qi@linaro.org>
7692 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
7694 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
7696 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
7697 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
7698 * gdb.dwarf2/info-locals-optimized-out.c: New file.
7700 2017-11-22 Yao Qi <yao.qi@linaro.org>
7702 * gdb.base/info-os.exp: Pass pthreads.
7703 * gdb.multi/multi-attach.exp: Likewise.
7705 2017-11-22 Yao Qi <yao.qi@linaro.org>
7707 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
7710 2017-11-22 Yao Qi <yao.qi@linaro.org>
7712 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
7713 * gdb.base/break-interp.exp: Likewise.
7714 * gdb.base/jit-attach-pie.exp: Likewise.
7716 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
7718 * gdb.base/float128.c (large128): New variable.
7719 * gdb.base/float128.exp: Add test to print largest __float128 value.
7721 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
7723 * gdb.arch/vsx-regs.exp: Update register content checks.
7725 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
7727 * gdb.arch/ppc-longdouble.exp: New file.
7728 * gdb.arch/ppc-longdouble.c: Likewise.
7730 2017-11-21 Pedro Alves <palves@redhat.com>
7732 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
7734 2017-11-20 Pedro Alves <palves@redhat.com>
7736 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
7737 (long_double_typedef): New typedefs.
7738 Use DEF on double and long double.
7739 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
7741 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
7742 and 'long_double_ptr_same_size' locals. Use them to decide
7743 whether cast from array/function to float is valid/invalid.
7745 2017-11-17 Tom Tromey <tom@tromey.com>
7747 * gdb.rust/traits.rs: New file.
7748 * gdb.rust/traits.exp: New file.
7750 2017-11-17 Joel Brobecker <brobecker@adacore.com>
7752 * gdb.ada/minsyms: New testcase.
7754 2017-11-16 Pedro Alves <palves@redhat.com>
7756 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
7757 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
7759 2017-11-16 Pedro Alves <palves@redhat.com>
7761 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
7762 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
7764 2017-11-16 Pedro Alves <palves@redhat.com>
7766 * gdb.server/reconnect-ctrl-c.c: New file.
7767 * gdb.server/reconnect-ctrl-c.exp: New file.
7769 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
7771 * gdb.python/py-rbreak.exp: New file.
7772 * gdb.python/py-rbreak.c: New file.
7773 * gdb.python/py-rbreak-func2.c: New file.
7775 2017-11-16 Pedro Alves <palves@redhat.com>
7777 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
7779 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
7782 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
7784 * gdb.tui/completionn.exp (test_tab_completion): Add space in
7787 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
7789 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
7792 2017-11-09 Pedro Alves <palves@redhat.com>
7794 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
7795 factored out from ...
7796 (top level): ... here, and adjusted to avoid expecting beyond the
7797 prompt in a single gdb_test_multiple.
7799 2017-11-09 Pedro Alves <palves@redhat.com>
7801 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
7803 * gdb.server/ext-attach.exp ("kill" test): Likewise.
7804 * gdb.server/ext-restart.exp ("kill" test): Likewise.
7805 * gdb.server/ext-run.exp ("kill" test): Likewise.
7806 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
7808 2017-11-09 Pedro Alves <palves@redhat.com>
7810 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
7811 match till end of line.
7813 2017-11-09 Pedro Alves <palves@redhat.com>
7815 * gdb.base/memattr.exp: Tighten regexes to match the end line.
7817 2017-11-09 Pedro Alves <palves@redhat.com>
7819 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
7820 New procedures, factored out from ...
7821 (top level): ... here, and adjusted to avoid expecting beyond the
7824 2017-11-09 Pedro Alves <palves@redhat.com>
7826 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
7827 output. Fix '?' match.
7829 2017-11-08 Joel Brobecker <brobecker@adacore.com>
7831 * gdb.ada/scoped_watch: New testcase.
7832 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
7833 which is actually correct.
7834 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
7835 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
7837 2017-11-08 Pedro Alves <palves@redhat.com>
7839 * gdb.gdb/complaints.exp (test_initial_complaints)
7840 (test_serial_complaints, test_short_complaints): Call
7841 complaint_internal instead of complaint.
7843 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
7845 * gdb.threads/tls-core.c: New file.
7846 * gdb.threads/tls-core.exp: Likewise.
7848 2017-11-08 Pedro Alves <palves@redhat.com>
7850 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
7851 (p Exported_Capitalized): New test.
7852 (p exported_capitalized): New test.
7854 2017-11-07 Pedro Alves <palves@redhat.com>
7856 * gdb.cp/ena-dis-br-range.exp: Add more tests.
7858 2017-11-07 Pedro Alves <palves@redhat.com>
7860 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
7861 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
7862 (disable_invalid, disable_inverted, disable_negative): New
7864 ("bad numbers"): New set of tests.
7866 2017-11-07 Pedro Alves <palves@redhat.com>
7868 * gdb.cp/ena-dis-br-range.exp: Add tests.
7870 2017-11-07 Pedro Alves <palves@redhat.com>
7872 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
7874 2017-11-07 Xavier Roirand <roirand@adacore.com>
7875 Pedro Alves <palves@redhat.com>
7877 * gdb.base/ena-dis-br.exp: Add reference to
7878 gdb.cp/ena-dis-br-range.exp.
7879 * gdb.cp/ena-dis-br-range.exp: New file.
7880 * gdb.cp/ena-dis-br-range.cc: New file.
7882 2017-11-06 Pedro Alves <palves@redhat.com>
7884 * gdb.base/attach-non-pgrp-leader.c: New.
7885 * gdb.base/attach-non-pgrp-leader.exp: New.
7887 2017-11-06 Pedro Alves <palves@redhat.com>
7889 * configure.ac: No longer check for termio.h and sgtty.h.
7890 * configure: Regenerate.
7891 * remote-utils.c: Include termios.h instead of gdb_termios.h.
7892 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
7893 Remove termio and sgtty code.
7895 2017-11-03 Yao Qi <yao.qi@linaro.org>
7897 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
7900 2017-11-03 Yao Qi <yao.qi@linaro.org>
7902 * gdb.python/py-thrhandle.exp: Skip it if python is not
7905 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
7907 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
7908 as a breakpoint command.
7910 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
7913 * gdb.python/py-infthread.exp: Test calling
7914 InferiorThread.inferior () multiple times in a row.
7916 2017-10-27 Keith Seitz <keiths@redhat.com>
7918 * gdb.opt/inline-break.exp (break_info_1): New procedure.
7919 Test "info break" for every inlined function breakpoint.
7921 2017-10-27 Yao Qi <yao.qi@linaro.org>
7923 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
7925 2017-10-26 Patrick Frants <osscontribute@gmail.com>
7927 * gdb.cp/classes.exp (test_static_members): Test printing
7929 * gdb.cp/classes.c (struct Inner, struct Outer): New.
7930 (Inner::instance, Outer::instance): New.
7932 2017-10-24 Pedro Alves <palves@redhat.com>
7934 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
7935 extra console" test in two stages.
7937 2017-10-24 Pedro Alves <palves@redhat.com>
7939 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
7941 2017-10-24 Pedro Alves <palves@redhat.com>
7943 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
7946 2017-10-24 Pedro Alves <palves@redhat.com>
7948 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
7949 $attempt" and "stoppedtry $stoppedtry" test prefixes.
7951 2017-10-24 Pedro Alves <palves@redhat.com>
7953 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
7954 parameter and handle it. Don't output read value in test name.
7956 2017-10-24 Pedro Alves <palves@redhat.com>
7958 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
7961 2017-10-24 Pedro Alves <palves@redhat.com>
7963 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
7964 include the unstable output directory name in the test's name.
7965 (initial_setup_simple) <'set args'>: Use custom test name.
7967 2017-10-24 Pedro Alves <palves@redhat.com>
7969 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
7970 with explicit test name.
7972 2017-10-20 Pedro Alves <palves@redhat.com>
7974 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
7975 'wait -i'. Use gdb_assert and remote_close.
7977 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
7979 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
7980 number from variable rather than hard-coded.
7982 2017-10-19 Pedro Alves <palves@redhat.com>
7984 * gdb.base/long-inferior-output.c: New file.
7985 * gdb.base/long-inferior-output.exp: New file.
7987 2017-11-18 Keith Seitz <keiths@redhat.com>
7989 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
7992 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
7993 Add additional user-defined conversion operator tests.
7995 2017-10-17 Pedro Alves <palves@redhat.com>
7997 * boards/native-stdio-gdbserver.exp: Load "local-board".
7999 2017-10-17 Pedro Alves <palves@redhat.com>
8001 * gdb.base/quit-live.c: New file.
8002 * gdb.base/quit-live.exp: New file.
8004 2017-10-16 Keith Seitz <keiths@redhat.com>
8006 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
8007 (class_with_protected_typedef, class_with_private_typedef)
8008 (struct_with_public_typedef, struct_with_protected_typedef)
8009 (struct_with_private_typedef): New classes/structs.
8010 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
8011 typedefs and access specifiers.
8013 2017-10-16 Pedro Alves <palves@redhat.com>
8014 Simon Marchi <simon.marchi@polymtl.ca>
8016 * README (Local vs Remote vs Native): New section.
8017 * boards/local-board.exp: New file, with bits factored out from
8019 * boards/native-extended-gdbserver.exp: ... here. Load
8021 * boards/native-gdbserver.exp: Load "local-board".
8022 (${board}_spawn, ${board}_exec): Delete.
8023 * boards/native-stdio-gdbserver.exp: Most contents factored out to
8025 * boards/stdio-gdbserver-base.exp: ... this new file.
8026 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
8027 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
8029 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
8030 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
8031 stdio_gdbserver_command.
8032 (${board}_get_remote_address, ${board}_get_comm_port)
8033 (${board}_download, ${board}_upload): Delete.
8034 (get_target_remote_pipe_cmd): New.
8036 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
8038 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
8039 test_bkpt_deletion, test_bkpt_cond_and_cmds,
8040 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
8041 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
8042 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
8043 remove with_test_prefix.
8045 2017-10-13 Pedro Alves <palves@redhat.com>
8047 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
8048 * gdb.base/annota1.exp: Use it instead of is_remote.
8049 * gdb.base/annota3.exp: Use it instead of is_remote.
8050 * gdb.cp/annota2.exp: Use it instead of is_remote.
8051 * gdb.cp/annota3.exp: Use it instead of is_remote.
8052 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
8054 2017-10-13 Pedro Alves <palves@redhat.com>
8056 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
8057 (test_num_test_vars, run_and_count_vars, find_env)
8058 (test_set_unset_env, test_inherit_env_var): New procedures.
8059 (top level): Use them.
8061 2017-10-13 Pedro Alves <palves@redhat.com>
8063 * lib/selftest-support.exp (selftest_setup): Extend comments, and
8064 also skip on stub-like targets.
8066 2017-10-13 Pedro Alves <palves@redhat.com>
8069 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
8070 (top level): Move some tests to ...
8071 (test_not_found): ... this new procedure.
8072 (top level): Call it.
8074 2017-10-13 Pedro Alves <palves@redhat.com>
8076 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
8077 expect different "info terminal" output if testing with a
8080 2017-10-13 Pedro Alves <palves@redhat.com>
8081 Simon Marchi <simon.marchi@polymtl.ca>
8084 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
8086 2017-10-13 Pedro Alves <palves@redhat.com>
8088 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
8091 2017-10-13 Pedro Alves <palves@redhat.com>
8093 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
8096 2017-10-13 Pedro Alves <palves@redhat.com>
8098 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
8101 2017-10-13 Pedro Alves <palves@redhat.com>
8103 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
8105 (corefile_test_attach): Likewise. Check can_spawn_for_attach
8106 instead of is_remote.
8108 2017-10-13 Pedro Alves <palves@redhat.com>
8110 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
8111 (top level): Add comment.
8113 2017-10-13 Pedro Alves <palves@redhat.com>
8115 * gdb.base/remote.exp (top level): Fix comment typo and add
8118 2017-10-13 Pedro Alves <palves@redhat.com>
8119 Simon Marchi <simon.marchi@polymtl.ca>
8121 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
8122 calls and add comments. Skip test if use_gdb_stub is set.
8123 (top level): Use "set cwd" command instead of "cd" command.
8125 2017-10-13 Pedro Alves <palves@redhat.com>
8127 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
8128 is_remote target check.
8130 2017-10-13 Pedro Alves <palves@redhat.com>
8132 * gdb.base/scope.exp: Use build_executable + clean_restart +
8133 gdb_file_cmd instead of prepare_for_testing and no longer skip
8134 "before run" tests on is_remote target boards. Update comments.
8135 * boards/native-extended-gdbserver.exp
8136 (extended_gdbserver_load_last_file): New, factored out from ...
8137 (gdb_load): ... this. Move further below and add comment.
8138 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
8140 2017-10-12 Pedro Alves <palves@redhat.com>
8142 * gdb.base/attach.exp: Remove references to gdb64.
8143 * gdb.base/dbx.exp: Remove references to gdb64.
8145 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
8146 Pedro Alves <palves@redhat.com>
8148 * gdb.base/label.exp: Remove is_remote target check.
8150 2017-10-12 Pedro Alves <palves@redhat.com>
8152 * gdb.base/auvx.exp (coredir): Update comment.
8153 (top level) <core_works>: Use "set cwd" command instead of "cd"
8156 2017-10-12 Pedro Alves <palves@redhat.com>
8157 Simon Marchi <simon.marchi@polymtl.ca>
8159 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
8162 2017-10-12 Pedro Alves <palves@redhat.com>
8163 Simon Marchi <simon.marchi@polymtl.ca>
8165 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
8166 Instead skip if there's any gdb_protocol set.
8168 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
8169 Pedro Alves <palves@redhat.com>
8171 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
8173 2017-10-12 Pedro Alves <palves@redhat.com>
8174 Simon Marchi <simon.marchi@polymtl.ca>
8176 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
8177 instead of on dejagnu remote boards.
8179 2017-10-12 Pedro Alves <palves@redhat.com>
8180 Simon Marchi <simon.marchi@polymtl.ca>
8182 * gdb.base/inferior-died.exp: Remove is_remote and isnative
8183 checks. Use build_executable + clean_restart instead of
8184 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
8185 of enabling non-stop after starting gdb.
8187 2017-10-12 Pedro Alves <palves@redhat.com>
8189 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
8190 * gdb.threads/non-ldr-exc-2.exp: Ditto.
8191 * gdb.threads/non-ldr-exc-3.exp: Ditto.
8192 * gdb.threads/non-ldr-exc-4.exp: Ditto.
8194 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
8196 * gdb.arch/arc-tdesc-cpu.exp: New file.
8197 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
8199 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
8201 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
8203 2017-10-10 Pedro Alves <palves@redhat.com>
8205 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
8208 2017-10-10 Pedro Alves <palves@redhat.com>
8210 * lib/selftest-support.exp (selftest_setup): Update for
8211 captured_command_loop's prototype change.
8213 2017-10-09 Pedro Alves <palves@redhat.com>
8215 Test both arch1=>arch2 and arch2=>arch1.
8217 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
8218 (srcfile2, binfile2, march1, march2): Remove globals. Largely
8220 (append_arch1_options, append_arch2_options, append_arch_options)
8221 (build_executables): New procedures.
8222 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
8224 (top level): Add new 'first_arch' testing axis.
8226 2017-10-09 Pedro Alves <palves@redhat.com>
8228 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
8230 (thread_start, all_started): New functions.
8231 (main): Spawn new thread and wait until it is scheduled.
8232 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
8234 (do_test): Add 'selected_thread' parameter. Run to all_started
8235 instead of main. Explicitly set the breakpoint at main. Switch
8236 to the SELECTED_THREAD thread.
8237 (top level): Test handling the exec event with either the main
8238 thread or the second thread selected.
8240 2017-10-09 Pedro Alves <palves@redhat.com>
8242 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
8243 logic. Move STOP marker after the value checks.
8244 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
8247 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
8249 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
8251 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
8253 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
8254 integer-to-dfp conversion.
8255 * gdb.base/dfp-test.exp: Likewise.
8257 2017-10-04 Pedro Alves <palves@redhat.com>
8259 * gdb.multi/hangout.c: Include <unistd.h>.
8260 (hangout_loop): New function.
8261 (main): Call alarm. Call hangout_loop in a loop.
8262 * gdb.multi/hello.c: Include <unistd.h>.
8263 (hello_loop): New function.
8264 (main): Call alarm. Call hangout_loop in a loop.
8265 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
8266 inferior with the other selected.
8268 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
8270 * gdb.mi/list-thread-groups-available.exp: New file.
8271 * gdb.mi/list-thread-groups-available.c: New file.
8273 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
8275 * gdb.base/set-cwd.exp: Make it available on
8276 native-extended-gdbserver.
8278 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
8280 * gdb.base/set-cwd.c: New file.
8281 * gdb.base/set-cwd.exp: Likewise.
8283 2017-10-02 Tom Tromey <tom@tromey.com>
8286 * gdb.rust/simple.rs (main): New variable "fslice".
8287 * gdb.rust/simple.exp: Add slice tests. Update string tests.
8289 2017-10-02 Tom Tromey <tom@tromey.com>
8291 * gdb.rust/simple.exp: Test ptype of a slice.
8293 2017-10-02 Tom Tromey <tom@tromey.com>
8295 * gdb.rust/simple.exp: Test index of slice.
8297 2017-09-27 Tom Tromey <tom@tromey.com>
8299 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
8301 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
8302 Pedro Alves <palves@redhat.com>
8304 * gdb.base/compare-sections.exp (get value of read-only section): Read
8306 (corrupt read-only section): Likewise and don't set written if patching
8309 2017-09-21 Kevin Buettner <kevinb@redhat.com>
8311 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
8314 2017-09-20 Pedro Alves <palves@redhat.com>
8316 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
8317 symbol names in gdb's output.
8318 * gdb.cp/overload.exp ("list all overloads"): Likewise.
8320 2017-09-20 Pedro Alves <palves@redhat.com>
8322 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
8324 (test_list_ambiguous_symbol): ... this and add a symbol name
8326 (test_list_ambiguous_function): Reimplement on top of
8327 test_list_ambiguous_symbol and also test listing ambiguous
8329 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
8330 (ambiguous_fun): ... this.
8331 (ambiguous_var): New.
8332 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
8333 (ambiguous_fun): ... this.
8334 (ambiguous_var): New.
8336 2017-09-19 John Baldwin <jhb@FreeBSD.org>
8338 * gdb.base/starti.c: New file.
8339 * gdb.base/starti.exp: New file.
8340 * lib/gdb.exp (gdb_starti_cmd): New procedure.
8342 2017-09-14 Pedro Alves <palves@redhat.com>
8344 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
8345 (top level): Use it instead of runto.
8347 2017-09-11 Tom Tromey <tom@tromey.com>
8349 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
8351 2017-09-11 Tom Tromey <tom@tromey.com>
8353 * gdb.python/py-infthread.exp: Add tests for new_thread event.
8354 * gdb.python/py-inferior.exp: Add tests for new inferior events.
8356 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
8358 * gdb.fortran/printing-types.exp: New file.
8359 * gdb.fortran/printing-types.exp: New file.
8361 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
8363 * gdb.fortran/vla-ptype.exp: Fix typos.
8364 * gdb.fortran/vla-value.exp: Same.
8366 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
8368 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
8369 * gdb.mi/mi-var-child-f.exp: Likewise.
8370 * gdb.mi/mi-vla-fortran.exp: Likewise.
8372 2017-09-08 Frank Penczek <frank.penczek@intel.com>
8373 Christoph Weinmann <christoph.t.weinmann@intel.com>
8374 Bernhard Heckel <bernhard.heckel@intel.com>
8376 * gdb.fortran/ptr-indentation.f90: New file.
8377 * gdb.fortran/ptr-indentation.exp: New file.
8379 2017-09-05 Tom Tromey <tom@tromey.com>
8382 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
8384 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
8386 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
8388 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8390 * gdb.threads/tls-nodebug-pie.c: New file.
8391 * gdb.threads/tls-nodebug-pie.exp: New file.
8393 2017-09-05 Tom Tromey <tom@tromey.com>
8395 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
8398 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
8400 * gdb.multi/multi-arch-exec.exp: Test with different
8401 "follow-exec-mode" settings.
8402 (do_test): New procedure.
8404 2017-09-04 Pedro Alves <palves@redhat.com>
8406 * gdb.base/func-static.c (S::method const, S::method volatile)
8407 (S::method volatile const): New methods.
8408 (c_s, v_s, cv_s): New instances.
8409 (main): Call method() on them.
8410 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
8411 (cannot_resolve): New procedure.
8412 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
8413 print-quote-unquoted columns.
8414 (do_test): Test printing each scope too.
8416 2017-09-04 Pedro Alves <palves@redhat.com>
8418 * gdb.base/local-static.exp: Also test with
8419 class::method::variable wholly quoted.
8420 * gdb.cp/m-static.exp (class::method::variable): Remove test.
8422 2017-09-04 Pedro Alves <palves@redhat.com>
8424 * gdb.base/local-static.c: New.
8425 * gdb.base/local-static.cc: New.
8426 * gdb.base/local-static.exp: New.
8428 2017-09-04 Pedro Alves <palves@redhat.com>
8430 * gdb.asm/asm-source.exp: Add casts to int.
8431 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
8432 (dataglobal64_1, dataglobal64_2): New globals.
8433 * gdb.base/nodebug.exp: Test different expressions involving the
8434 new globals, with print, whatis and ptype. Add casts to int.
8435 * gdb.base/solib-display.exp: Add casts to int.
8436 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
8437 * gdb.cp/m-static.exp: Add cast to int.
8438 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
8439 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
8440 tls variable with no debug info without a cast. Test with a cast
8442 * gdb.trace/entry-values.exp: Add casts.
8444 2017-09-04 Pedro Alves <palves@redhat.com>
8446 * gdb.base/nodebug.exp: Test that ptype's error about functions
8447 with unknown return type includes the function name too.
8449 2017-09-04 Pedro Alves <palves@redhat.com>
8451 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
8452 return type of munmap in infcall.
8453 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
8454 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
8455 type of ftell in infcall.
8456 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
8457 type of getpid in infcall.
8458 * gdb.base/infcall-exec.exp: Cast return type of execlp in
8460 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
8461 Bail on failure to extract the pid.
8462 * gdb.base/nodebug.c: #include <stdint.h>.
8463 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
8465 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
8466 Change expected output of print/whatis/ptype with functions with
8467 no debug info. Test all supported languages. Call
8468 test_call_promotion.
8469 * gdb.compile/compile.exp: Adjust expected output to expect
8471 * gdb.threads/siginfo-threads.exp: Likewise.
8473 2017-09-04 Pedro Alves <palves@redhat.com>
8475 * gdb.base/callfuncs.exp (do_function_calls): New parameter
8476 "prototypes". Test calling float functions via prototyped and
8477 unprototyped function pointers.
8478 (perform_all_tests): New parameter "prototypes". Pass it down.
8479 (top level): Pass down "prototypes" parameter to
8482 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
8484 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
8485 Test with nested loops.
8487 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
8489 * gdb.base/commands.exp: Call the new procedures.
8490 (loop_break_test, loop_continue_test): New procedures.
8492 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
8494 * gdb.base/commands.exp: Call new procedure.
8495 (define_if_without_arg_test): New procedure.
8497 2017-09-04 Pedro Alves <palves@redhat.com>
8499 * gdb.base/list-ambiguous.exp: New file.
8500 * gdb.base/list-ambiguous0.c: New file.
8501 * gdb.base/list-ambiguous1.c: New file.
8502 * gdb.base/list.exp (test_list_range): Adjust expected output.
8504 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
8506 * gdb.base/share-env-with-gdbserver.c: New file.
8507 * gdb.base/share-env-with-gdbserver.exp: Likewise.
8509 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
8511 * gdb.base/commands.exp (gdbvar_simple_if_test,
8512 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
8513 progvar_simple_if_test, progvar_simple_while_test,
8514 progvar_complex_if_while_test, user_defined_command_test,
8515 user_defined_command_args_eval,
8516 user_defined_command_args_stack_test,
8517 user_defined_command_manyargs_test, bp_deleted_in_command_test,
8518 temporary_breakpoint_commands,
8519 gdb_test_no_prompt, redefine_hook_test,
8520 redefine_backtrace_test): Remove "global gdb_prompt".
8522 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
8524 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
8525 New proc, call it from toplevel.
8527 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
8530 * gdb.server/normal.c: New file, copied from gdb.base.
8531 * gdb.server/run-without-local-binary.exp: New file.
8533 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
8535 * gdb.arch/sparc64-adi.exp: New file.
8536 * gdb.arch/sparc64-adi.c: New file.
8538 2017-08-22 Pedro Alves <palves@redhat.com>
8540 * gdb.cp/overload.exp (line_range_pattern): New procedure.
8541 (top level): Add "list all overloads" tests.
8543 2017-08-22 Tom Tromey <tom@tromey.com>
8545 * gdb.gdb/xfullpath.exp: Remove.
8547 2017-08-21 Pedro Alves <palves@redhat.com>
8550 * gdb.base/symbol-alias.c: New.
8551 * gdb.base/symbol-alias2.c: New.
8552 * gdb.base/symbol-alias.exp: New.
8554 2017-08-21 Pedro Alves <palves@redhat.com>
8556 * gdb.base/dfp-test.c
8557 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
8558 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
8559 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
8560 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
8561 * gdb.base/whatis-ptype-typedefs.c: New.
8562 * gdb.base/whatis-ptype-typedefs.exp: New.
8563 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
8564 (an_int, an_int_type, an_int_type2): New globals.
8565 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
8566 involving typedefs and cast expressions.
8567 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
8568 (lookup_typedefs_function): New.
8569 (typedefs_pretty_printers_dict): New.
8570 (top level): Register lookup_typedefs_function in
8571 gdb.pretty_printers.
8573 2017-08-18 Yao Qi <yao.qi@linaro.org>
8575 * gdb.server/unittest.exp: New.
8577 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
8580 * gdb.base/environ.exp: Add test to check if 'unset environment'
8583 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
8585 * lib/gdb.exp (universal_compile_options): New caching proc.
8586 (gdb_compile): Suppress GCC's coloring of messages.
8588 2017-08-14 Tom Tromey <tom@tromey.com>
8591 * gdb.base/printcmds.exp (test_radices): New function.
8592 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
8593 * gdb.base/sizeof.exp (check_valueof): Use p/d.
8594 * lib/gdb.exp (get_integer_valueof): Use p/d.
8596 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
8598 * lib/gdb.exp (get_valueof): Don't capture end-of-line
8601 2017-08-05 Tom Tromey <tom@tromey.com>
8603 * gdb.rust/simple.exp: Allow String to appear in a different
8606 2017-07-26 Yao Qi <yao.qi@linaro.org>
8608 * gdb.gdb/unittest.exp: Invoke command
8609 "maintenance check xml-descriptions".
8611 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8613 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
8615 (hex128): Drop erroneous calculation of parameters.
8617 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
8619 * gdb.python/py-unwind.exp: Disable stack protection when
8622 2017-07-20 Pedro Alves <palves@redhat.com>
8624 * gdb.base/default.exp (set language): Adjust expected output.
8626 2017-07-20 Pedro Alves <palves@redhat.com>
8628 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
8629 (test_minsym): ... this, and make static.
8630 (get_pck__foo__bar__minsym): Rename to ...
8631 (get_test_minsym): ... this.
8632 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
8633 symbol names and comments.
8634 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
8635 (get_test_minsym): ... this.
8636 (pck__foo__bar__minsym__2): Rename to ...
8637 (test_minsym): ... this.
8640 2017-07-17 Pedro Alves <palves@redhat.com>
8642 * gdb.base/completion.exp: Adjust expected output.
8643 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
8644 the completer works.
8646 2017-07-17 Pedro Alves <palves@redhat.com>
8648 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
8650 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
8652 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
8654 2017-07-14 Tom Tromey <tom@tromey.com>
8657 * gdb.rust/simple.exp: Add tests.
8659 2017-07-14 Tom Tromey <tom@tromey.com>
8661 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
8663 2017-07-14 Pedro Alves <palves@redhat.com>
8665 * gdb.linespec/base/one/thefile.cc (z1): New function.
8666 * gdb.linespec/base/two/thefile.cc (z2): New function.
8667 * gdb.linespec/linespec.exp: Add tests.
8669 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
8671 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
8672 to mi_create_breakpoint.
8674 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
8676 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
8677 mi_create_breakpoint.
8679 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
8681 * gdb.dlang/demangle.exp: Update for demangling changes.
8683 2017-07-09 Tom Tromey <tom@tromey.com>
8685 * gdb.dwarf2/shortpiece.exp: New file.
8687 2017-07-06 David Blaikie <dblaikie@gmail.com>
8689 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
8690 built from fissiont-multi-cu{1,2}.c.
8691 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
8692 except putting 'main' and 'func' in separate CUs in the same DWO file.
8693 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
8695 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
8698 2017-07-06 Pedro Alves <palves@redhat.com>
8700 * gdb.python/py-unwind.exp: Test flushregs.
8702 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
8705 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
8706 tests for alias commands and trailing whitespace.
8708 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
8711 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
8714 2017-06-29 Pedro Alves <palves@redhat.com>
8716 * gdb.base/printcmds.exp: Add tests.
8718 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
8721 * gdb.base/reread-readsym.exp: New file.
8722 * gdb.base/reread-readsym.c: New file.
8724 2017-06-21 Kevin Buettner <kevinb@redhat.com>
8726 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
8729 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
8731 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
8733 * gdb.arch/powerpc-power9.s: Likewise.
8735 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
8737 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
8738 on 32-bit x86 targets. Exploit is_*_target macros where
8741 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8743 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
8746 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8748 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
8749 located in one or more DWARF pieces.
8751 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8753 * lib/gdb.exp (get_endianness): New proc.
8754 * gdb.arch/aarch64-fp.exp: Use it.
8755 * gdb.arch/altivec-regs.exp: Likewise.
8756 * gdb.arch/e500-regs.exp: Likewise.
8757 * gdb.arch/vsx-regs.exp: Likewise.
8758 * gdb.base/dump.exp: Likewise.
8759 * gdb.base/funcargs.exp: Likewise.
8760 * gdb.base/gnu_vector.exp: Likewise.
8761 * gdb.dwarf2/formdata16.exp: Likewise.
8762 * gdb.dwarf2/implptrpiece.exp: Likewise.
8763 * gdb.dwarf2/nonvar-access.exp: Likewise.
8764 * gdb.python/py-inferior.exp: Likewise.
8765 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
8767 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8770 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
8771 stack value pieces are taken from the LSB end.
8773 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8775 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
8776 variable at nonzero offset.
8778 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8780 * gdb.dwarf2/var-access.c: New file.
8781 * gdb.dwarf2/var-access.exp: New test.
8782 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
8784 2017-06-12 Tom Tromey <tom@tromey.com>
8786 * gdb.dwarf2/formdata16.exp: Add tests.
8788 2017-06-12 Tom Tromey <tom@tromey.com>
8790 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
8792 2017-06-12 Tom Tromey <tom@tromey.com>
8795 * gdb.reverse/i386-sse-reverse.exp: Update tests.
8796 * gdb.arch/vsx-regs.exp: Update tests.
8797 * gdb.arch/s390-vregs.exp (hex128): New proc.
8799 * gdb.arch/altivec-regs.exp: Update tests.
8801 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
8803 * gdb.base/startup-with-shell.c: New file.
8804 * gdb.base/startup-with-shell.exp: Likewise.
8806 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
8808 * gdb.server/non-existing-program.exp: Update regex in order to
8809 reflect the fact that gdbserver is now using fork_inferior (with a
8810 shell) to startup the inferior.
8812 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
8814 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
8815 support function calls from GDB.
8817 2017-05-21 Tom Tromey <tom@tromey.com>
8820 * gdb.rust/unsized.exp: New file.
8821 * gdb.rust/unsized.rs: New file.
8823 2017-05-19 Tom Tromey <tom@tromey.com>
8826 * gdb.rust/watch.exp: New file.
8827 * gdb.rust/watch.rs: New file.
8829 2017-05-18 Tom Tromey <tom@tromey.com>
8831 * gdb.rust/simple.exp: Allow Box to be qualified.
8833 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
8835 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
8837 2017-05-18 Pedro Alves <palves@redhat.com>
8839 * gdb.base/fileio.c (test_write, test_read, test_close)
8840 (test_fstat): Don't print 'ret' in the fail path.
8842 2017-05-18 Pedro Alves <palves@redhat.com>
8844 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
8845 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
8846 (test_system, test_rename, test_unlink, test_time): Change
8848 * gdb.base/fileio.exp (stop_msg): Adjust.
8850 2017-05-18 Pedro Alves <palves@redhat.com>
8852 * gdb.base/fileio.c (null_str): New global.
8853 (test_stat): Use it.
8854 * gdb.base/fileio.exp: Remove nowarnings.
8856 2017-05-17 Yao Qi <yao.qi@linaro.org>
8858 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
8860 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
8862 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
8864 (top-level): Invoke test_set_inferior_tty.
8866 2017-05-04 Pedro Alves <palves@redhat.com>
8868 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
8869 Add parens to print call for Python 3.
8871 2017-05-03 Keith Seitz <keiths@redhat.com>
8873 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
8876 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8878 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
8881 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8883 * gdb.python/py-record-btrace.exp: Remove test for
8884 gdb.BtraceInstruction.error.
8886 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8888 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
8890 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
8892 * gdb.python/py-record-btrace-threads.c: New file.
8893 * gdb.python/py-record-btrace-threads.exp: New file.
8895 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
8898 * gdb.base/environ.exp: Make test available in all architectures.
8899 Move bits related to "info program" testing to
8900 gdb.base/info-program.exp. Rewrite tests to use the two new
8901 procedures mentione below.
8902 (test_set_show_env_var) New procedure.
8903 (test_set_show_env_var_equal): Likewise.
8904 * gdb.base/info-program.exp: New file.
8906 2017-04-27 Keith Seitz <keiths@redhat.com>
8908 * gdb.cp/oranking.cc (test15): New function.
8909 (main): Call test15 and declare additional variables for testing.
8910 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
8911 "p foo101('abc')" tests.
8912 Add tests for cv qualifier overloads.
8913 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
8914 "lvalue reference overload" test.
8915 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
8916 "print value of f1 on Child&& in f2" test.
8918 2017-04-19 Pedro Alves <palves@redhat.com>
8920 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
8922 (top level): Call it.
8923 * lib/gdb.exp (gdb_define_cmd): New procedure.
8925 2017-04-12 Pedro Alves <palves@redhat.com>
8928 * gdb.cp/wide_char_types.c: Include <wchar.h>.
8929 (wchar): New global.
8930 * gdb.cp/wide_char_types.exp (wide_char_types_program)
8931 (do_test_wide_char, wide_char_types_no_program, top level): Add
8934 2017-04-12 Pedro Alves <palves@redhat.com>
8937 * gdb.cp/wide_char_types.c: New file.
8938 * gdb.cp/wide_char_types.exp: New file.
8940 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
8943 * gdb.trace/tsv.exp: Add test for "tsave -r".
8945 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
8947 * gdb.dlang/watch-loc.c: New file.
8948 * gdb.dlang/watch-loc.exp: New file.
8950 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8952 * gdb.python/py-section-script.exp (sepdebug): New testcases.
8954 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
8956 * gdb.arch/arc-analyze-prologue.S: New file.
8957 * gdb.arch/arc-analyze-prologue.exp: Likewise.
8959 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
8961 * gdb.arch/arc-decode-insn.S: New file.
8962 * gdb.arch/arc-decode-insn.exp: Likewise.
8964 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
8967 * gdb.arch/sparc64-regs.exp: New file.
8968 * gdb.arch/sparc64-regs.S: Likewise.
8970 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
8972 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
8973 and memory view on Python 3.
8975 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
8976 Keith Seitz <keiths@redhat.com>
8979 * gdb.cp/demangle.exp: Add rvalue reference tests.
8980 * gdb.cp/rvalue-ref-casts.cc: New file.
8981 * gdb.cp/rvalue-ref-casts.exp: New file.
8982 * gdb.cp/rvalue-ref-overload.cc: New file.
8983 * gdb.cp/rvalue-ref-overload.exp: New file.
8984 * gdb.cp/rvalue-ref-params.cc: New file.
8985 * gdb.cp/rvalue-ref-params.exp: New file.
8986 * gdb.cp/rvalue-ref-sizeof.cc: New file.
8987 * gdb.cp/rvalue-ref-sizeof.exp: New file.
8988 * gdb.cp/rvalue-ref-types.cc: New file.
8989 * gdb.cp/rvalue-ref-types.exp: New file.
8990 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
8991 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
8993 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
8995 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
8998 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
9000 * lib/mi-support.exp (mi_gdb_test): Add additional message
9001 for unexpected output.
9003 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
9005 * gdb.base/examine-backward.c (Barrier): New character array
9006 constant, to ensure that TestStrings is preceded by a string
9009 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
9011 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
9012 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
9013 and implicit pointer into such a location.
9015 2017-03-16 Doug Evans <dje@google.com>
9017 * gdb.python/py-lazy-string (pointer): Really add new typedef.
9019 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
9021 * gdb.cp/m-static.exp: Fix expectation for prototype of
9022 test5.single_constructor and single_constructor::single_constructor.
9024 2017-03-16 Doug Evans <dje@google.com>
9026 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
9027 * gdb.guile/scm-lazy-string.c: New file.
9028 * gdb.guile/scm-value.exp: Move lazy string tests to ...
9029 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
9030 for pointer, array, typedef lazy strings.
9032 2017-03-16 Doug Evans <dje@google.com>
9034 PR python/17728, python/18439, python/18779
9035 * gdb.python/py-value.c (main) Delete locals sptr, sn.
9036 * gdb.python/py-lazy-string.c (pointer): New typedef.
9037 (main): New locals ptr, array, typedef_ptr.
9038 * gdb.python/py-value.exp: Move lazy string tests to ...
9039 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
9040 array, typedef lazy strings.
9042 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
9044 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
9045 Add optional 'test' parameter.
9047 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
9049 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
9050 Skip for versions of DejaGnu < 1.5.
9052 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
9054 * lib/gdb.exp (dejagnu_version): New proc.
9055 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
9056 Use dejagnu_version.
9058 2017-03-10 Keith Seitz <keiths@redhat.com>
9061 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
9062 type from destructor regexps.
9063 Add a branch which actually passes the test.
9064 Adjust "ptype t5i" test names.
9066 2017-03-08 Pedro Alves <palves@redhat.com>
9068 * gdb.base/step-over-exit.exp: Add explicit test message.
9070 2017-03-08 Pedro Alves <palves@redhat.com>
9073 * gdb.threads/interrupt-while-step-over.c: New file.
9074 * gdb.threads/interrupt-while-step-over.exp: New file.
9076 2017-03-08 Pedro Alves <palves@redhat.com>
9078 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
9079 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
9081 2017-03-08 Pedro Alves <palves@redhat.com>
9083 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
9084 PKRU as not supported as a PASS.
9086 2017-03-08 Pedro Alves <palves@redhat.com>
9088 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
9089 prefix instead of $binfile1/$binfile2.
9090 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
9092 * gdb.python/py-completion.exp: Use "load python file" as test
9093 messages instead of unstable path names.
9095 2017-03-08 Pedro Alves <palves@redhat.com>
9096 Jan Kratochvil <jan.kratochvil@redhat.com>
9099 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
9101 (top level): Call it.
9103 2017-03-08 Pedro Alves <palves@redhat.com>
9106 * gdb.tui/tui-nl-filtered-output.exp: New file.
9108 2017-03-08 Pedro Alves <palves@redhat.com>
9110 * gdb.base/completion.exp: Move TUI completion tests to ...
9111 * gdb.tui/completion.exp: ... this new file.
9113 2017-03-08 Pedro Alves <palves@redhat.com>
9115 * gdb.base/tui-disasm-long-lines.c,
9116 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
9117 gdb.base/tui-layout.exp: Move to ...
9118 * gdb.tui/: ... this new directory.
9120 2017-03-07 Pedro Alves <palves@redhat.com>
9122 * gdb.base/tui-layout.c: New file.
9123 * gdb.base/tui-layout.exp: New file.
9125 2017-03-07 Pedro Alves <palves@redhat.com>
9127 * gdb.base/tui-layout.c: Rename to ...
9128 * gdb.base/tui-disasm-long-lines.c: ... this.
9129 * gdb.base/tui-layout.exp: Rename to ...
9130 * gdb.base/tui-disasm-long-lines.exp: ... this.
9132 2017-03-07 Pedro Alves <palves@redhat.com>
9134 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
9136 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
9138 * i386-mpx-call.c: New file.
9139 * i386-mpx-call.exp: New file.
9141 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
9143 * gdb.arch/powerpc-power.exp: Delete test.
9144 * gdb.arch/powerpc-power.s: Likewise.
9145 * gdb.disasm/disassembler-options.exp: New test.
9146 * gdb.arch/powerpc-altivec.exp: Likewise.
9147 * gdb.arch/powerpc-altivec.s: Likewise.
9148 * gdb.arch/powerpc-altivec2.exp: Likewise.
9149 * gdb.arch/powerpc-altivec2.s: Likewise.
9150 * gdb.arch/powerpc-altivec3.exp: Likewise.
9151 * gdb.arch/powerpc-altivec3.s: Likewise.
9152 * gdb.arch/powerpc-power7.exp: Likewise.
9153 * gdb.arch/powerpc-power7.s: Likewise.
9154 * gdb.arch/powerpc-power8.exp: Likewise.
9155 * gdb.arch/powerpc-power8.s: Likewise.
9156 * gdb.arch/powerpc-power9.exp: Likewise.
9157 * gdb.arch/powerpc-power9.s: Likewise.
9158 * gdb.arch/powerpc-vsx.exp: Likewise.
9159 * gdb.arch/powerpc-vsx.s: Likewise.
9160 * gdb.arch/powerpc-vsx2.exp: Likewise.
9161 * gdb.arch/powerpc-vsx2.s: Likewise.
9162 * gdb.arch/powerpc-vsx3.exp: Likewise.
9163 * gdb.arch/powerpc-vsx3.s: Likewise.
9164 * gdb.arch/arm-disassembler-options.exp: Likewise.
9165 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
9166 * gdb.arch/s390-disassembler-options.exp: Likewise.
9168 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
9170 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
9171 (check_supported_features): ... this. Changed return type to void.
9172 (supports_rdseed): New static global.
9173 (rdseed): Check supports_rdseed.
9174 (initialize): Call check_supported_features.
9176 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9178 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
9179 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
9181 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
9182 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
9184 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9186 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
9189 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9191 * gdb.dwarf2/formdata16.c: New file.
9192 * gdb.dwarf2/formdata16.exp: New file.
9193 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
9195 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9197 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
9198 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
9199 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
9200 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
9203 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9205 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
9207 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
9210 * gdb.base/maint.exp: Add testcases for when the commands do
9213 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
9215 * gdb.cp/chained-calls.exp: Use p instead of P.
9217 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
9219 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
9220 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
9222 2017-02-14 Tom Tromey <tom@tromey.com>
9225 * gdb.python/py-events.exp: Add before_prompt event tests.
9227 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
9229 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
9231 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
9233 * gdb.linespec/explicit.c (my_unique_function_name): New function.
9234 (main): Call my_unique_function_name.
9235 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
9236 completion of patterns with a single match.
9237 Add missing -re switches to gdb_test_multiple calls.
9239 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
9241 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
9242 return if core file is not recognized.
9244 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
9246 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
9249 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
9251 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
9254 2017-02-10 Tom Tromey <tom@tromey.com>
9256 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
9258 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
9261 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
9263 2017-02-08 Jerome Guitton <guitton@adacore.com>
9265 * gdb.base/define.exp: Add test for command abbreviations
9268 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
9270 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
9271 * gdb.reverse/insn-reverse-x86.c: New file.
9273 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
9276 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
9278 2017-02-03 Tom Tromey <tom@tromey.com>
9281 * gdb.rust/simple.exp: Add new tests.
9283 2017-02-02 Pedro Alves <palves@redhat.com>
9285 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
9288 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
9290 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
9291 taking a 2-byte value out of a 4-byte DWARF implicit value on
9293 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
9294 logic. Add test cases for DW_OP_implicit.
9296 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9298 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
9300 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9302 * gdb.btrace/enable.exp: Call gdb_exit before
9303 skip_gdbserver_tests.
9305 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9307 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
9310 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9312 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
9313 the test is skipped.
9314 * gdb.btrace/data.exp: Likewise.
9315 * gdb.btrace/delta.exp: Likewise.
9316 * gdb.btrace/dlopen.exp: Likewise.
9317 * gdb.btrace/enable-running.exp: Likewise.
9318 * gdb.btrace/enable.exp: Likewise.
9319 * gdb.btrace/exception.exp: Likewise.
9320 * gdb.btrace/function_call_history.exp: Likewise.
9321 * gdb.btrace/gcore.exp: Likewise.
9322 * gdb.btrace/instruction_history.exp: Likewise.
9323 * gdb.btrace/multi-thread-step.exp: Likewise.
9324 * gdb.btrace/nohist.exp: Likewise.
9325 * gdb.btrace/non-stop.exp: Likewise.
9326 * gdb.btrace/reconnect.exp: Likewise.
9327 * gdb.btrace/record_goto-step.exp: Likewise.
9328 * gdb.btrace/record_goto.exp: Likewise.
9329 * gdb.btrace/rn-dl-bind.exp: Likewise.
9330 * gdb.btrace/segv.exp: Likewise.
9331 * gdb.btrace/step.exp: Likewise.
9332 * gdb.btrace/stepi.exp: Likewise.
9333 * gdb.btrace/tailcall-only.exp: Likewise.
9334 * gdb.btrace/tailcall.exp: Likewise.
9335 * gdb.btrace/tsx.exp: Likewise.
9336 * gdb.btrace/unknown_functions.exp: Likewise.
9337 * gdb.btrace/vdso.exp: Likewise.
9339 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
9341 * gdb.btrace/enable-running.c: New.
9342 * gdb.btrace/enable-running.exp: New.
9344 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
9346 * gdb.arch/amd64-gs_base.c: New file.
9347 * gdb.arch/amd64-gs_base.exp: New file.
9349 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
9351 * lib/memory.exp: Remove spurious empty newlines.
9353 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
9355 * gdb.python/py-bad-printers.exp: Load python file using "source".
9356 * gdb.python/py-events.exp: Likewise.
9357 * gdb.python/py-evsignal.exp: Likewise.
9358 * gdb.python/py-evthreads.exp: Likewise.
9359 * gdb.python/py-frame-args.exp: Likewise.
9360 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
9361 * gdb.python/py-framefilter-mi.exp: Likewise.
9362 * gdb.python/py-framefilter.exp: Likewise.
9363 * gdb.python/py-mi.exp: Likewise.
9364 * gdb.python/py-pp-maint.exp: Likewise.
9365 * gdb.python/py-pp-registration.exp: Likewise.
9366 * gdb.python/py-prettyprint.exp: Likewise.
9367 (run_lang_tests): Likewise.
9368 * gdb.python/py-typeprint.exp: Likewise.
9370 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
9372 * lib/memory.exp: New file.
9373 * lib/gdb.exp: Load memory.exp.
9374 * gdb.base/memattr.exp (delete_memory): Move proc to
9375 lib/memory.exp and rename to delete_memory_regions.
9376 Replace delete_memory with delete_memory_regions.
9377 Cleanup memory regions before tests.
9378 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
9381 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
9383 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
9385 (initialize): New function conditionally defined.
9386 (testcases): Move within conditional block.
9387 (main): Call initialize.
9388 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
9389 of gdb.reverse/insn-reverse.c.
9390 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
9391 gdb.reverse/insn-reverse.c.
9393 2017-01-26 Yao Qi <yao.qi@linaro.org>
9395 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
9396 disassemble on address 0.
9398 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
9399 Yao Qi <yao.qi@linaro.org>
9401 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
9402 * gdb.dwarf2/implptr-64bit.S: Remove.
9403 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
9404 variables in caller's context. Add DW_OP_implicit_value.
9406 2017-01-25 Yao Qi <yao.qi@linaro.org>
9408 * lib/dwarf.exp (Dwarf::_location): Handle
9409 DW_OP_GNU_implicit_pointer with proper size.
9411 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
9413 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
9414 and add untested calls.
9416 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
9418 * gdb.python/python.exp: Check line number against what GDB thinks
9419 the line number is for func1.
9421 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
9423 * gdb.dlang/debug-expr.exp: New file.
9425 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
9427 Fix test names for the following files:
9429 * gdb.ada/exec_changed.exp
9430 * gdb.ada/info_types.exp
9431 * gdb.arch/aarch64-atomic-inst.exp
9432 * gdb.arch/aarch64-fp.exp
9433 * gdb.arch/altivec-abi.exp
9434 * gdb.arch/altivec-regs.exp
9435 * gdb.arch/amd64-byte.exp
9436 * gdb.arch/amd64-disp-step.exp
9437 * gdb.arch/amd64-dword.exp
9438 * gdb.arch/amd64-entry-value-inline.exp
9439 * gdb.arch/amd64-entry-value-param.exp
9440 * gdb.arch/amd64-entry-value-paramref.exp
9441 * gdb.arch/amd64-entry-value.exp
9442 * gdb.arch/amd64-i386-address.exp
9443 * gdb.arch/amd64-invalid-stack-middle.exp
9444 * gdb.arch/amd64-invalid-stack-top.exp
9445 * gdb.arch/amd64-optimout-repeat.exp
9446 * gdb.arch/amd64-prologue-skip.exp
9447 * gdb.arch/amd64-prologue-xmm.exp
9448 * gdb.arch/amd64-stap-special-operands.exp
9449 * gdb.arch/amd64-stap-wrong-subexp.exp
9450 * gdb.arch/amd64-tailcall-cxx.exp
9451 * gdb.arch/amd64-tailcall-noret.exp
9452 * gdb.arch/amd64-tailcall-ret.exp
9453 * gdb.arch/amd64-tailcall-self.exp
9454 * gdb.arch/amd64-word.exp
9455 * gdb.arch/arm-bl-branch-dest.exp
9456 * gdb.arch/arm-disp-step.exp
9457 * gdb.arch/arm-neon.exp
9458 * gdb.arch/arm-single-step-kernel-helper.exp
9459 * gdb.arch/avr-flash-qualifier.exp
9460 * gdb.arch/disp-step-insn-reloc.exp
9461 * gdb.arch/e500-abi.exp
9462 * gdb.arch/e500-regs.exp
9463 * gdb.arch/ftrace-insn-reloc.exp
9464 * gdb.arch/i386-avx512.exp
9465 * gdb.arch/i386-bp_permanent.exp
9466 * gdb.arch/i386-byte.exp
9467 * gdb.arch/i386-cfi-notcurrent.exp
9468 * gdb.arch/i386-disp-step.exp
9469 * gdb.arch/i386-dr3-watch.exp
9470 * gdb.arch/i386-float.exp
9471 * gdb.arch/i386-gnu-cfi.exp
9472 * gdb.arch/i386-mpx-map.exp
9473 * gdb.arch/i386-mpx-sigsegv.exp
9474 * gdb.arch/i386-mpx-simple_segv.exp
9475 * gdb.arch/i386-mpx.exp
9476 * gdb.arch/i386-permbkpt.exp
9477 * gdb.arch/i386-prologue.exp
9478 * gdb.arch/i386-signal.exp
9479 * gdb.arch/i386-size-overlap.exp
9480 * gdb.arch/i386-unwind.exp
9481 * gdb.arch/i386-word.exp
9482 * gdb.arch/mips-fcr.exp
9483 * gdb.arch/powerpc-d128-regs.exp
9484 * gdb.arch/powerpc-stackless.exp
9485 * gdb.arch/ppc64-atomic-inst.exp
9486 * gdb.arch/s390-stackless.exp
9487 * gdb.arch/s390-tdbregs.exp
9488 * gdb.arch/s390-vregs.exp
9489 * gdb.arch/sparc-sysstep.exp
9490 * gdb.arch/thumb-bx-pc.exp
9491 * gdb.arch/thumb-singlestep.exp
9492 * gdb.arch/thumb2-it.exp
9493 * gdb.arch/vsx-regs.exp
9494 * gdb.asm/asm-source.exp
9495 * gdb.base/a2-run.exp
9496 * gdb.base/advance.exp
9497 * gdb.base/all-bin.exp
9500 * gdb.base/arithmet.exp
9501 * gdb.base/async-shell.exp
9502 * gdb.base/async.exp
9503 * gdb.base/attach-pie-noexec.exp
9504 * gdb.base/attach-twice.exp
9505 * gdb.base/auto-load.exp
9507 * gdb.base/bitfields.exp
9508 * gdb.base/break-always.exp
9509 * gdb.base/break-caller-line.exp
9510 * gdb.base/break-entry.exp
9511 * gdb.base/break-inline.exp
9512 * gdb.base/break-on-linker-gcd-function.exp
9513 * gdb.base/break-probes.exp
9514 * gdb.base/break.exp
9515 * gdb.base/breakpoint-shadow.exp
9516 * gdb.base/call-ar-st.exp
9517 * gdb.base/call-sc.exp
9518 * gdb.base/call-signal-resume.exp
9519 * gdb.base/call-strs.exp
9520 * gdb.base/callfuncs.exp
9521 * gdb.base/catch-fork-static.exp
9522 * gdb.base/catch-gdb-caused-signals.exp
9523 * gdb.base/catch-load.exp
9524 * gdb.base/catch-signal-fork.exp
9525 * gdb.base/catch-signal.exp
9526 * gdb.base/catch-syscall.exp
9527 * gdb.base/charset.exp
9528 * gdb.base/checkpoint.exp
9529 * gdb.base/chng-syms.exp
9530 * gdb.base/code-expr.exp
9531 * gdb.base/code_elim.exp
9532 * gdb.base/commands.exp
9533 * gdb.base/completion.exp
9534 * gdb.base/complex.exp
9535 * gdb.base/cond-expr.exp
9536 * gdb.base/condbreak.exp
9537 * gdb.base/consecutive.exp
9538 * gdb.base/continue-all-already-running.exp
9539 * gdb.base/coredump-filter.exp
9540 * gdb.base/corefile.exp
9542 * gdb.base/debug-expr.exp
9543 * gdb.base/define.exp
9545 * gdb.base/disabled-location.exp
9546 * gdb.base/disasm-end-cu.exp
9547 * gdb.base/disasm-optim.exp
9548 * gdb.base/display.exp
9549 * gdb.base/duplicate-bp.exp
9550 * gdb.base/ena-dis-br.exp
9551 * gdb.base/ending-run.exp
9552 * gdb.base/enumval.exp
9553 * gdb.base/environ.exp
9554 * gdb.base/eu-strip-infcall.exp
9555 * gdb.base/eval-avoid-side-effects.exp
9556 * gdb.base/eval-skip.exp
9557 * gdb.base/exitsignal.exp
9558 * gdb.base/expand-psymtabs.exp
9559 * gdb.base/filesym.exp
9560 * gdb.base/find-unmapped.exp
9561 * gdb.base/finish.exp
9562 * gdb.base/float.exp
9563 * gdb.base/foll-exec-mode.exp
9564 * gdb.base/foll-exec.exp
9565 * gdb.base/foll-fork.exp
9566 * gdb.base/fortran-sym-case.exp
9567 * gdb.base/freebpcmd.exp
9568 * gdb.base/func-ptr.exp
9569 * gdb.base/func-ptrs.exp
9570 * gdb.base/funcargs.exp
9571 * gdb.base/gcore-buffer-overflow.exp
9572 * gdb.base/gcore-relro-pie.exp
9573 * gdb.base/gcore-relro.exp
9574 * gdb.base/gcore.exp
9575 * gdb.base/gdb1090.exp
9576 * gdb.base/gdb11530.exp
9577 * gdb.base/gdb11531.exp
9578 * gdb.base/gdb1821.exp
9579 * gdb.base/gdbindex-stabs.exp
9580 * gdb.base/gdbvars.exp
9581 * gdb.base/hbreak.exp
9582 * gdb.base/hbreak2.exp
9583 * gdb.base/included.exp
9584 * gdb.base/infcall-input.exp
9585 * gdb.base/inferior-died.exp
9586 * gdb.base/infnan.exp
9587 * gdb.base/info-macros.exp
9588 * gdb.base/info-os.exp
9589 * gdb.base/info-proc.exp
9590 * gdb.base/info-shared.exp
9591 * gdb.base/info-target.exp
9592 * gdb.base/infoline.exp
9593 * gdb.base/interp.exp
9594 * gdb.base/interrupt.exp
9595 * gdb.base/jit-reader.exp
9596 * gdb.base/jit-simple.exp
9597 * gdb.base/kill-after-signal.exp
9598 * gdb.base/kill-detach-inferiors-cmd.exp
9599 * gdb.base/label.exp
9600 * gdb.base/langs.exp
9601 * gdb.base/ldbl_e308.exp
9602 * gdb.base/line-symtabs.exp
9603 * gdb.base/linespecs.exp
9605 * gdb.base/long_long.exp
9606 * gdb.base/longest-types.exp
9607 * gdb.base/maint.exp
9608 * gdb.base/max-value-size.exp
9609 * gdb.base/memattr.exp
9610 * gdb.base/mips_pro.exp
9611 * gdb.base/morestack.exp
9612 * gdb.base/moribund-step.exp
9613 * gdb.base/multi-forks.exp
9614 * gdb.base/nested-addr.exp
9615 * gdb.base/nextoverexit.exp
9616 * gdb.base/noreturn-finish.exp
9617 * gdb.base/noreturn-return.exp
9618 * gdb.base/nostdlib.exp
9619 * gdb.base/offsets.exp
9620 * gdb.base/opaque.exp
9621 * gdb.base/pc-fp.exp
9622 * gdb.base/permissions.exp
9623 * gdb.base/print-symbol-loading.exp
9624 * gdb.base/prologue-include.exp
9625 * gdb.base/psymtab.exp
9626 * gdb.base/ptype.exp
9627 * gdb.base/random-signal.exp
9628 * gdb.base/randomize.exp
9629 * gdb.base/range-stepping.exp
9630 * gdb.base/readline-ask.exp
9631 * gdb.base/recpar.exp
9632 * gdb.base/recurse.exp
9633 * gdb.base/relational.exp
9634 * gdb.base/restore.exp
9635 * gdb.base/return-nodebug.exp
9636 * gdb.base/return.exp
9637 * gdb.base/run-after-attach.exp
9638 * gdb.base/save-bp.exp
9639 * gdb.base/scope.exp
9640 * gdb.base/sect-cmd.exp
9641 * gdb.base/set-lang-auto.exp
9642 * gdb.base/set-noassign.exp
9643 * gdb.base/setvar.exp
9644 * gdb.base/sigall.exp
9645 * gdb.base/sigbpt.exp
9646 * gdb.base/siginfo-addr.exp
9647 * gdb.base/siginfo-infcall.exp
9648 * gdb.base/siginfo-obj.exp
9649 * gdb.base/siginfo.exp
9650 * gdb.base/signals-state-child.exp
9651 * gdb.base/signest.exp
9652 * gdb.base/sigstep.exp
9653 * gdb.base/sizeof.exp
9655 * gdb.base/solib-corrupted.exp
9656 * gdb.base/solib-nodir.exp
9657 * gdb.base/solib-search.exp
9658 * gdb.base/stack-checking.exp
9659 * gdb.base/stale-infcall.exp
9660 * gdb.base/stap-probe.exp
9661 * gdb.base/start.exp
9662 * gdb.base/step-break.exp
9663 * gdb.base/step-bt.exp
9664 * gdb.base/step-line.exp
9665 * gdb.base/step-over-exit.exp
9666 * gdb.base/step-over-syscall.exp
9667 * gdb.base/step-resume-infcall.exp
9668 * gdb.base/step-test.exp
9669 * gdb.base/store.exp
9670 * gdb.base/structs3.exp
9671 * gdb.base/sym-file.exp
9672 * gdb.base/symbol-without-target_section.exp
9674 * gdb.base/testenv.exp
9675 * gdb.base/ui-redirect.exp
9676 * gdb.base/until.exp
9677 * gdb.base/unwindonsignal.exp
9678 * gdb.base/value-double-free.exp
9679 * gdb.base/vla-datatypes.exp
9680 * gdb.base/vla-ptr.exp
9681 * gdb.base/vla-sideeffect.exp
9682 * gdb.base/volatile.exp
9683 * gdb.base/watch-cond-infcall.exp
9684 * gdb.base/watch-cond.exp
9685 * gdb.base/watch-non-mem.exp
9686 * gdb.base/watch-read.exp
9687 * gdb.base/watch-vfork.exp
9688 * gdb.base/watchpoint-cond-gone.exp
9689 * gdb.base/watchpoint-delete.exp
9690 * gdb.base/watchpoint-hw-hit-once.exp
9691 * gdb.base/watchpoint-hw.exp
9692 * gdb.base/watchpoint-stops-at-right-insn.exp
9693 * gdb.base/watchpoints.exp
9694 * gdb.base/wchar.exp
9695 * gdb.base/whatis-exp.exp
9696 * gdb.btrace/buffer-size.exp
9697 * gdb.btrace/data.exp
9698 * gdb.btrace/delta.exp
9699 * gdb.btrace/dlopen.exp
9700 * gdb.btrace/enable.exp
9701 * gdb.btrace/exception.exp
9702 * gdb.btrace/function_call_history.exp
9703 * gdb.btrace/gcore.exp
9704 * gdb.btrace/instruction_history.exp
9705 * gdb.btrace/nohist.exp
9706 * gdb.btrace/reconnect.exp
9707 * gdb.btrace/record_goto-step.exp
9708 * gdb.btrace/record_goto.exp
9709 * gdb.btrace/rn-dl-bind.exp
9710 * gdb.btrace/segv.exp
9711 * gdb.btrace/step.exp
9712 * gdb.btrace/stepi.exp
9713 * gdb.btrace/tailcall-only.exp
9714 * gdb.btrace/tailcall.exp
9715 * gdb.btrace/tsx.exp
9716 * gdb.btrace/unknown_functions.exp
9717 * gdb.btrace/vdso.exp
9718 * gdb.compile/compile-ifunc.exp
9719 * gdb.compile/compile-ops.exp
9720 * gdb.compile/compile-print.exp
9721 * gdb.compile/compile-setjmp.exp
9722 * gdb.cp/abstract-origin.exp
9723 * gdb.cp/ambiguous.exp
9724 * gdb.cp/annota2.exp
9725 * gdb.cp/annota3.exp
9726 * gdb.cp/anon-ns.exp
9727 * gdb.cp/anon-struct.exp
9728 * gdb.cp/anon-union.exp
9729 * gdb.cp/arg-reference.exp
9730 * gdb.cp/baseenum.exp
9732 * gdb.cp/breakpoint.exp
9733 * gdb.cp/bs15503.exp
9736 * gdb.cp/chained-calls.exp
9738 * gdb.cp/classes.exp
9739 * gdb.cp/cmpd-minsyms.exp
9740 * gdb.cp/converts.exp
9741 * gdb.cp/cp-relocate.exp
9742 * gdb.cp/cpcompletion.exp
9743 * gdb.cp/cpexprs.exp
9744 * gdb.cp/cplabel.exp
9745 * gdb.cp/cplusfuncs.exp
9746 * gdb.cp/cpsizeof.exp
9748 * gdb.cp/derivation.exp
9749 * gdb.cp/destrprint.exp
9750 * gdb.cp/dispcxx.exp
9751 * gdb.cp/enum-class.exp
9752 * gdb.cp/exception.exp
9753 * gdb.cp/exceptprint.exp
9754 * gdb.cp/expand-psymtabs-cxx.exp
9755 * gdb.cp/expand-sals.exp
9756 * gdb.cp/extern-c.exp
9757 * gdb.cp/filename.exp
9758 * gdb.cp/formatted-ref.exp
9759 * gdb.cp/fpointer.exp
9760 * gdb.cp/gdb1355.exp
9761 * gdb.cp/gdb2495.exp
9763 * gdb.cp/impl-this.exp
9764 * gdb.cp/infcall-dlopen.exp
9765 * gdb.cp/inherit.exp
9766 * gdb.cp/iostream.exp
9770 * gdb.cp/m-static.exp
9771 * gdb.cp/mb-ctor.exp
9772 * gdb.cp/mb-inline.exp
9773 * gdb.cp/mb-templates.exp
9774 * gdb.cp/member-name.exp
9775 * gdb.cp/member-ptr.exp
9776 * gdb.cp/meth-typedefs.exp
9778 * gdb.cp/method2.exp
9779 * gdb.cp/minsym-fallback.exp
9781 * gdb.cp/namelessclass.exp
9782 * gdb.cp/namespace-enum.exp
9783 * gdb.cp/namespace-nested-import.exp
9784 * gdb.cp/namespace.exp
9785 * gdb.cp/nextoverthrow.exp
9786 * gdb.cp/no-dmgl-verbose.exp
9787 * gdb.cp/non-trivial-retval.exp
9788 * gdb.cp/noparam.exp
9790 * gdb.cp/nsimport.exp
9791 * gdb.cp/nsnested.exp
9792 * gdb.cp/nsnoimports.exp
9793 * gdb.cp/nsrecurs.exp
9794 * gdb.cp/nsstress.exp
9795 * gdb.cp/nsusing.exp
9796 * gdb.cp/operator.exp
9797 * gdb.cp/oranking.exp
9798 * gdb.cp/overload-const.exp
9799 * gdb.cp/overload.exp
9800 * gdb.cp/ovldbreak.exp
9802 * gdb.cp/paren-type.exp
9803 * gdb.cp/parse-lang.exp
9804 * gdb.cp/pass-by-ref.exp
9805 * gdb.cp/pr-1023.exp
9806 * gdb.cp/pr-1210.exp
9808 * gdb.cp/pr10687.exp
9809 * gdb.cp/pr12028.exp
9810 * gdb.cp/pr17132.exp
9811 * gdb.cp/pr17494.exp
9815 * gdb.cp/printmethod.exp
9817 * gdb.cp/psymtab-parameter.exp
9818 * gdb.cp/ptype-cv-cp.exp
9819 * gdb.cp/ptype-flags.exp
9820 * gdb.cp/re-set-overloaded.exp
9821 * gdb.cp/ref-types.exp
9823 * gdb.cp/scope-err.exp
9826 * gdb.cp/static-method.exp
9827 * gdb.cp/static-print-quit.exp
9828 * gdb.cp/temargs.exp
9829 * gdb.cp/templates.exp
9830 * gdb.cp/try_catch.exp
9831 * gdb.cp/typedef-operator.exp
9833 * gdb.cp/userdef.exp
9834 * gdb.cp/using-crash.exp
9835 * gdb.cp/var-tag.exp
9836 * gdb.cp/virtbase.exp
9837 * gdb.cp/virtfunc.exp
9838 * gdb.cp/virtfunc2.exp
9839 * gdb.cp/vla-cxx.exp
9840 * gdb.disasm/t01_mov.exp
9841 * gdb.disasm/t02_mova.exp
9842 * gdb.disasm/t03_add.exp
9843 * gdb.disasm/t04_sub.exp
9844 * gdb.disasm/t05_cmp.exp
9845 * gdb.disasm/t06_ari2.exp
9846 * gdb.disasm/t07_ari3.exp
9847 * gdb.disasm/t08_or.exp
9848 * gdb.disasm/t09_xor.exp
9849 * gdb.disasm/t10_and.exp
9850 * gdb.disasm/t11_logs.exp
9851 * gdb.disasm/t12_bit.exp
9852 * gdb.disasm/t13_otr.exp
9853 * gdb.dlang/circular.exp
9854 * gdb.dwarf2/arr-stride.exp
9855 * gdb.dwarf2/arr-subrange.exp
9856 * gdb.dwarf2/atomic-type.exp
9857 * gdb.dwarf2/bad-regnum.exp
9858 * gdb.dwarf2/bitfield-parent-optimized-out.exp
9859 * gdb.dwarf2/callframecfa.exp
9860 * gdb.dwarf2/clztest.exp
9861 * gdb.dwarf2/corrupt.exp
9862 * gdb.dwarf2/data-loc.exp
9863 * gdb.dwarf2/dup-psym.exp
9864 * gdb.dwarf2/dw2-anon-mptr.exp
9865 * gdb.dwarf2/dw2-anonymous-func.exp
9866 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
9867 * gdb.dwarf2/dw2-bad-unresolved.exp
9868 * gdb.dwarf2/dw2-basic.exp
9869 * gdb.dwarf2/dw2-canonicalize-type.exp
9870 * gdb.dwarf2/dw2-case-insensitive.exp
9871 * gdb.dwarf2/dw2-common-block.exp
9872 * gdb.dwarf2/dw2-compdir-oldgcc.exp
9873 * gdb.dwarf2/dw2-compressed.exp
9874 * gdb.dwarf2/dw2-const.exp
9875 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
9876 * gdb.dwarf2/dw2-cu-size.exp
9877 * gdb.dwarf2/dw2-dup-frame.exp
9878 * gdb.dwarf2/dw2-entry-value.exp
9879 * gdb.dwarf2/dw2-icycle.exp
9880 * gdb.dwarf2/dw2-ifort-parameter.exp
9881 * gdb.dwarf2/dw2-inline-break.exp
9882 * gdb.dwarf2/dw2-inline-param.exp
9883 * gdb.dwarf2/dw2-intercu.exp
9884 * gdb.dwarf2/dw2-intermix.exp
9885 * gdb.dwarf2/dw2-lexical-block-bare.exp
9886 * gdb.dwarf2/dw2-linkage-name-trust.exp
9887 * gdb.dwarf2/dw2-minsym-in-cu.exp
9888 * gdb.dwarf2/dw2-noloc.exp
9889 * gdb.dwarf2/dw2-op-call.exp
9890 * gdb.dwarf2/dw2-op-out-param.exp
9891 * gdb.dwarf2/dw2-opt-structptr.exp
9892 * gdb.dwarf2/dw2-param-error.exp
9893 * gdb.dwarf2/dw2-producer.exp
9894 * gdb.dwarf2/dw2-ranges-base.exp
9895 * gdb.dwarf2/dw2-ref-missing-frame.exp
9896 * gdb.dwarf2/dw2-reg-undefined.exp
9897 * gdb.dwarf2/dw2-regno-invalid.exp
9898 * gdb.dwarf2/dw2-restore.exp
9899 * gdb.dwarf2/dw2-restrict.exp
9900 * gdb.dwarf2/dw2-single-line-discriminators.exp
9901 * gdb.dwarf2/dw2-strp.exp
9902 * gdb.dwarf2/dw2-undefined-ret-addr.exp
9903 * gdb.dwarf2/dw2-unresolved.exp
9904 * gdb.dwarf2/dw2-var-zero-addr.exp
9905 * gdb.dwarf2/dw4-sig-types.exp
9906 * gdb.dwarf2/dwz.exp
9907 * gdb.dwarf2/dynarr-ptr.exp
9908 * gdb.dwarf2/enum-type.exp
9909 * gdb.dwarf2/gdb-index.exp
9910 * gdb.dwarf2/implptr-64bit.exp
9911 * gdb.dwarf2/implptr-optimized-out.exp
9912 * gdb.dwarf2/implptr.exp
9913 * gdb.dwarf2/implref-array.exp
9914 * gdb.dwarf2/implref-const.exp
9915 * gdb.dwarf2/implref-global.exp
9916 * gdb.dwarf2/implref-struct.exp
9917 * gdb.dwarf2/mac-fileno.exp
9918 * gdb.dwarf2/main-subprogram.exp
9919 * gdb.dwarf2/member-ptr-forwardref.exp
9920 * gdb.dwarf2/method-ptr.exp
9921 * gdb.dwarf2/missing-sig-type.exp
9922 * gdb.dwarf2/nonvar-access.exp
9923 * gdb.dwarf2/opaque-type-lookup.exp
9924 * gdb.dwarf2/pieces-optimized-out.exp
9925 * gdb.dwarf2/pieces.exp
9926 * gdb.dwarf2/pr10770.exp
9927 * gdb.dwarf2/pr13961.exp
9928 * gdb.dwarf2/staticvirtual.exp
9929 * gdb.dwarf2/subrange.exp
9930 * gdb.dwarf2/symtab-producer.exp
9931 * gdb.dwarf2/trace-crash.exp
9932 * gdb.dwarf2/typeddwarf.exp
9933 * gdb.dwarf2/valop.exp
9934 * gdb.dwarf2/watch-notconst.exp
9935 * gdb.fortran/array-element.exp
9936 * gdb.fortran/charset.exp
9937 * gdb.fortran/common-block.exp
9938 * gdb.fortran/complex.exp
9939 * gdb.fortran/derived-type-function.exp
9940 * gdb.fortran/derived-type.exp
9941 * gdb.fortran/logical.exp
9942 * gdb.fortran/module.exp
9943 * gdb.fortran/multi-dim.exp
9944 * gdb.fortran/nested-funcs.exp
9945 * gdb.fortran/print-formatted.exp
9946 * gdb.fortran/subarray.exp
9947 * gdb.fortran/vla-alloc-assoc.exp
9948 * gdb.fortran/vla-datatypes.exp
9949 * gdb.fortran/vla-history.exp
9950 * gdb.fortran/vla-ptr-info.exp
9951 * gdb.fortran/vla-ptype-sub.exp
9952 * gdb.fortran/vla-ptype.exp
9953 * gdb.fortran/vla-sizeof.exp
9954 * gdb.fortran/vla-type.exp
9955 * gdb.fortran/vla-value-sub-arbitrary.exp
9956 * gdb.fortran/vla-value-sub-finish.exp
9957 * gdb.fortran/vla-value-sub.exp
9958 * gdb.fortran/vla-value.exp
9959 * gdb.fortran/whatis_type.exp
9961 * gdb.go/handcall.exp
9963 * gdb.go/integers.exp
9964 * gdb.go/methods.exp
9965 * gdb.go/package.exp
9966 * gdb.go/strings.exp
9969 * gdb.guile/scm-arch.exp
9970 * gdb.guile/scm-block.exp
9971 * gdb.guile/scm-breakpoint.exp
9972 * gdb.guile/scm-cmd.exp
9973 * gdb.guile/scm-disasm.exp
9974 * gdb.guile/scm-equal.exp
9975 * gdb.guile/scm-frame-args.exp
9976 * gdb.guile/scm-frame-inline.exp
9977 * gdb.guile/scm-frame.exp
9978 * gdb.guile/scm-iterator.exp
9979 * gdb.guile/scm-math.exp
9980 * gdb.guile/scm-objfile.exp
9981 * gdb.guile/scm-ports.exp
9982 * gdb.guile/scm-symbol.exp
9983 * gdb.guile/scm-symtab.exp
9984 * gdb.guile/scm-value-cc.exp
9985 * gdb.guile/types-module.exp
9986 * gdb.linespec/break-ask.exp
9987 * gdb.linespec/cpexplicit.exp
9988 * gdb.linespec/explicit.exp
9989 * gdb.linespec/keywords.exp
9990 * gdb.linespec/linespec.exp
9991 * gdb.linespec/ls-dollar.exp
9992 * gdb.linespec/ls-errs.exp
9993 * gdb.linespec/skip-two.exp
9994 * gdb.linespec/thread.exp
9995 * gdb.mi/mi-async.exp
9996 * gdb.mi/mi-basics.exp
9997 * gdb.mi/mi-break.exp
9998 * gdb.mi/mi-catch-load.exp
10000 * gdb.mi/mi-cmd-param-changed.exp
10001 * gdb.mi/mi-console.exp
10002 * gdb.mi/mi-detach.exp
10003 * gdb.mi/mi-disassemble.exp
10004 * gdb.mi/mi-eval.exp
10005 * gdb.mi/mi-file-transfer.exp
10006 * gdb.mi/mi-file.exp
10007 * gdb.mi/mi-fill-memory.exp
10008 * gdb.mi/mi-inheritance-syntax-error.exp
10009 * gdb.mi/mi-linespec-err-cp.exp
10010 * gdb.mi/mi-logging.exp
10011 * gdb.mi/mi-memory-changed.exp
10012 * gdb.mi/mi-read-memory.exp
10013 * gdb.mi/mi-record-changed.exp
10014 * gdb.mi/mi-reg-undefined.exp
10015 * gdb.mi/mi-regs.exp
10016 * gdb.mi/mi-return.exp
10017 * gdb.mi/mi-reverse.exp
10018 * gdb.mi/mi-simplerun.exp
10019 * gdb.mi/mi-solib.exp
10020 * gdb.mi/mi-stack.exp
10021 * gdb.mi/mi-stepi.exp
10022 * gdb.mi/mi-syn-frame.exp
10023 * gdb.mi/mi-until.exp
10024 * gdb.mi/mi-var-block.exp
10025 * gdb.mi/mi-var-child.exp
10026 * gdb.mi/mi-var-cmd.exp
10027 * gdb.mi/mi-var-cp.exp
10028 * gdb.mi/mi-var-display.exp
10029 * gdb.mi/mi-var-invalidate.exp
10030 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
10031 * gdb.mi/mi-vla-fortran.exp
10032 * gdb.mi/mi-watch.exp
10033 * gdb.mi/mi2-var-child.exp
10034 * gdb.mi/user-selected-context-sync.exp
10035 * gdb.modula2/unbounded-array.exp
10036 * gdb.multi/dummy-frame-restore.exp
10037 * gdb.multi/multi-arch-exec.exp
10038 * gdb.multi/multi-arch.exp
10039 * gdb.multi/tids.exp
10040 * gdb.multi/watchpoint-multi.exp
10041 * gdb.opencl/callfuncs.exp
10042 * gdb.opencl/convs_casts.exp
10043 * gdb.opencl/datatypes.exp
10044 * gdb.opencl/operators.exp
10045 * gdb.opencl/vec_comps.exp
10046 * gdb.opt/clobbered-registers-O2.exp
10047 * gdb.opt/inline-break.exp
10048 * gdb.opt/inline-bt.exp
10049 * gdb.opt/inline-cmds.exp
10050 * gdb.opt/inline-locals.exp
10051 * gdb.pascal/case-insensitive-symbols.exp
10052 * gdb.pascal/floats.exp
10053 * gdb.pascal/gdb11492.exp
10054 * gdb.python/lib-types.exp
10055 * gdb.python/py-arch.exp
10056 * gdb.python/py-as-string.exp
10057 * gdb.python/py-bad-printers.exp
10058 * gdb.python/py-block.exp
10059 * gdb.python/py-breakpoint-create-fail.exp
10060 * gdb.python/py-breakpoint.exp
10061 * gdb.python/py-caller-is.exp
10062 * gdb.python/py-cmd.exp
10063 * gdb.python/py-explore-cc.exp
10064 * gdb.python/py-explore.exp
10065 * gdb.python/py-finish-breakpoint.exp
10066 * gdb.python/py-finish-breakpoint2.exp
10067 * gdb.python/py-frame-args.exp
10068 * gdb.python/py-frame-inline.exp
10069 * gdb.python/py-frame.exp
10070 * gdb.python/py-framefilter-mi.exp
10071 * gdb.python/py-infthread.exp
10072 * gdb.python/py-lazy-string.exp
10073 * gdb.python/py-linetable.exp
10074 * gdb.python/py-mi-events.exp
10075 * gdb.python/py-mi-objfile.exp
10076 * gdb.python/py-mi.exp
10077 * gdb.python/py-objfile.exp
10078 * gdb.python/py-pp-integral.exp
10079 * gdb.python/py-pp-maint.exp
10080 * gdb.python/py-pp-re-notag.exp
10081 * gdb.python/py-pp-registration.exp
10082 * gdb.python/py-recurse-unwind.exp
10083 * gdb.python/py-strfns.exp
10084 * gdb.python/py-symbol.exp
10085 * gdb.python/py-symtab.exp
10086 * gdb.python/py-sync-interp.exp
10087 * gdb.python/py-typeprint.exp
10088 * gdb.python/py-unwind-maint.exp
10089 * gdb.python/py-unwind.exp
10090 * gdb.python/py-value-cc.exp
10091 * gdb.python/py-xmethods.exp
10092 * gdb.reverse/amd64-tailcall-reverse.exp
10093 * gdb.reverse/break-precsave.exp
10094 * gdb.reverse/break-reverse.exp
10095 * gdb.reverse/consecutive-precsave.exp
10096 * gdb.reverse/consecutive-reverse.exp
10097 * gdb.reverse/finish-precsave.exp
10098 * gdb.reverse/finish-reverse-bkpt.exp
10099 * gdb.reverse/finish-reverse.exp
10100 * gdb.reverse/fstatat-reverse.exp
10101 * gdb.reverse/getresuid-reverse.exp
10102 * gdb.reverse/i386-precsave.exp
10103 * gdb.reverse/i386-reverse.exp
10104 * gdb.reverse/i386-sse-reverse.exp
10105 * gdb.reverse/i387-env-reverse.exp
10106 * gdb.reverse/i387-stack-reverse.exp
10107 * gdb.reverse/insn-reverse.exp
10108 * gdb.reverse/machinestate-precsave.exp
10109 * gdb.reverse/machinestate.exp
10110 * gdb.reverse/next-reverse-bkpt-over-sr.exp
10111 * gdb.reverse/pipe-reverse.exp
10112 * gdb.reverse/readv-reverse.exp
10113 * gdb.reverse/recvmsg-reverse.exp
10114 * gdb.reverse/rerun-prec.exp
10115 * gdb.reverse/s390-mvcle.exp
10116 * gdb.reverse/step-precsave.exp
10117 * gdb.reverse/step-reverse.exp
10118 * gdb.reverse/time-reverse.exp
10119 * gdb.reverse/until-precsave.exp
10120 * gdb.reverse/until-reverse.exp
10121 * gdb.reverse/waitpid-reverse.exp
10122 * gdb.reverse/watch-precsave.exp
10123 * gdb.reverse/watch-reverse.exp
10124 * gdb.rust/generics.exp
10125 * gdb.rust/methods.exp
10126 * gdb.rust/modules.exp
10127 * gdb.rust/simple.exp
10128 * gdb.server/connect-with-no-symbol-file.exp
10129 * gdb.server/ext-attach.exp
10130 * gdb.server/ext-restart.exp
10131 * gdb.server/ext-wrapper.exp
10132 * gdb.server/file-transfer.exp
10133 * gdb.server/server-exec-info.exp
10134 * gdb.server/server-kill.exp
10135 * gdb.server/server-mon.exp
10136 * gdb.server/wrapper.exp
10137 * gdb.stabs/exclfwd.exp
10138 * gdb.stabs/gdb11479.exp
10139 * gdb.threads/clone-new-thread-event.exp
10140 * gdb.threads/corethreads.exp
10141 * gdb.threads/current-lwp-dead.exp
10142 * gdb.threads/dlopen-libpthread.exp
10143 * gdb.threads/gcore-thread.exp
10144 * gdb.threads/sigstep-threads.exp
10145 * gdb.threads/watchpoint-fork.exp
10146 * gdb.trace/actions-changed.exp
10147 * gdb.trace/backtrace.exp
10148 * gdb.trace/change-loc.exp
10149 * gdb.trace/circ.exp
10150 * gdb.trace/collection.exp
10151 * gdb.trace/disconnected-tracing.exp
10152 * gdb.trace/ftrace.exp
10153 * gdb.trace/mi-trace-frame-collected.exp
10154 * gdb.trace/mi-trace-unavailable.exp
10155 * gdb.trace/mi-traceframe-changed.exp
10156 * gdb.trace/mi-tsv-changed.exp
10157 * gdb.trace/no-attach-trace.exp
10158 * gdb.trace/passc-dyn.exp
10159 * gdb.trace/qtro.exp
10160 * gdb.trace/range-stepping.exp
10161 * gdb.trace/read-memory.exp
10162 * gdb.trace/save-trace.exp
10163 * gdb.trace/signal.exp
10164 * gdb.trace/status-stop.exp
10165 * gdb.trace/tfile.exp
10166 * gdb.trace/trace-break.exp
10167 * gdb.trace/trace-buffer-size.exp
10168 * gdb.trace/trace-condition.exp
10169 * gdb.trace/tracefile-pseudo-reg.exp
10170 * gdb.trace/tstatus.exp
10171 * gdb.trace/unavailable.exp
10172 * gdb.trace/while-dyn.exp
10173 * gdb.trace/while-stepping.exp
10175 2016-12-22 Doug Evans <xdje42@gmail.com>
10177 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
10180 2016-12-19 Yao Qi <yao.qi@linaro.org>
10182 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
10183 (test_with_self): Don't call do_steps_and_nexts, and remove
10184 code about stepping into xmalloc.
10186 2016-12-09 Yao Qi <yao.qi@linaro.org>
10188 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
10190 2016-12-09 Yao Qi <yao.qi@linaro.org>
10192 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
10194 2016-12-09 Pedro Alves <palves@redhat.com>
10196 * gdb.base/all-architectures-0.exp: New file.
10197 * gdb.base/all-architectures-1.exp: New file.
10198 * gdb.base/all-architectures-2.exp: New file.
10199 * gdb.base/all-architectures-3.exp: New file.
10200 * gdb.base/all-architectures-4.exp: New file.
10201 * gdb.base/all-architectures-5.exp: New file.
10202 * gdb.base/all-architectures-6.exp: New file.
10203 * gdb.base/all-architectures-7.exp: New file.
10204 * gdb.base/all-architectures.exp.in: New file.
10206 2016-12-09 Yao Qi <yao.qi@linaro.org>
10208 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
10210 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
10212 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
10214 Remove useless pattern-matching code.
10216 2016-12-02 Pedro Alves <palves@redhat.com>
10218 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
10220 (top level): Call it.
10222 2016-12-02 Pedro Alves <palves@redhat.com>
10224 * gdb.base/commands.exp (user_defined_command_args_stack_test):
10226 (top level): Call it.
10228 2016-12-02 Pedro Alves <palves@redhat.com>
10231 * gdb.base/commands.exp (user_defined_command_args_eval): New
10233 (top level): Call it.
10235 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
10237 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
10240 2016-12-02 Tom Tromey <tom@tromey.com>
10242 * gdb.dwarf2/main-subprogram.c: New file.
10243 * gdb.dwarf2/main-subprogram.exp: New file.
10245 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
10247 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
10248 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
10249 gdb_test_no_output for a couple of cases.
10250 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
10252 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
10254 Fix test names and standardize compilation error messages throughout
10255 the following files:
10257 * gdb.ada/start.exp
10258 * gdb.arch/alpha-step.exp
10259 * gdb.arch/e500-prologue.exp
10260 * gdb.arch/ftrace-insn-reloc.exp
10261 * gdb.arch/gdb1291.exp
10262 * gdb.arch/gdb1431.exp
10263 * gdb.arch/gdb1558.exp
10264 * gdb.arch/i386-dr3-watch.exp
10265 * gdb.arch/i386-sse-stack-align.exp
10266 * gdb.arch/ia64-breakpoint-shadow.exp
10267 * gdb.arch/pa-nullify.exp
10268 * gdb.arch/powerpc-aix-prologue.exp
10269 * gdb.arch/thumb-bx-pc.exp
10270 * gdb.base/annota1.exp
10271 * gdb.base/annota3.exp
10272 * gdb.base/arrayidx.exp
10273 * gdb.base/assign.exp
10274 * gdb.base/attach.exp
10275 * gdb.base/auxv.exp
10276 * gdb.base/bang.exp
10277 * gdb.base/bfp-test.exp
10278 * gdb.base/bigcore.exp
10279 * gdb.base/bitfields2.exp
10280 * gdb.base/break-fun-addr.exp
10281 * gdb.base/break-probes.exp
10282 * gdb.base/call-rt-st.exp
10283 * gdb.base/callexit.exp
10284 * gdb.base/catch-fork-kill.exp
10285 * gdb.base/charset.exp
10286 * gdb.base/checkpoint.exp
10287 * gdb.base/comprdebug.exp
10288 * gdb.base/constvars.exp
10289 * gdb.base/coredump-filter.exp
10290 * gdb.base/cursal.exp
10291 * gdb.base/cvexpr.exp
10292 * gdb.base/detach.exp
10293 * gdb.base/display.exp
10294 * gdb.base/dmsym.exp
10295 * gdb.base/dprintf-pending.exp
10296 * gdb.base/dso2dso.exp
10297 * gdb.base/dtrace-probe.exp
10298 * gdb.base/dump.exp
10299 * gdb.base/enum_cond.exp
10300 * gdb.base/exe-lock.exp
10301 * gdb.base/exec-invalid-sysroot.exp
10302 * gdb.base/execl-update-breakpoints.exp
10303 * gdb.base/exprs.exp
10304 * gdb.base/fileio.exp
10305 * gdb.base/find.exp
10306 * gdb.base/finish.exp
10307 * gdb.base/fixsection.exp
10308 * gdb.base/foll-vfork.exp
10309 * gdb.base/frame-args.exp
10310 * gdb.base/gcore.exp
10311 * gdb.base/gdb1250.exp
10312 * gdb.base/global-var-nested-by-dso.exp
10313 * gdb.base/gnu-ifunc.exp
10314 * gdb.base/hashline1.exp
10315 * gdb.base/hashline2.exp
10316 * gdb.base/hashline3.exp
10317 * gdb.base/hbreak-in-shr-unsupported.exp
10318 * gdb.base/huge.exp
10319 * gdb.base/infcall-input.exp
10320 * gdb.base/info-fun.exp
10321 * gdb.base/info-shared.exp
10322 * gdb.base/jit-simple.exp
10323 * gdb.base/jit-so.exp
10325 * gdb.base/jump.exp
10326 * gdb.base/label.exp
10327 * gdb.base/lineinc.exp
10328 * gdb.base/logical.exp
10329 * gdb.base/longjmp.exp
10330 * gdb.base/macscp.exp
10331 * gdb.base/miscexprs.exp
10332 * gdb.base/new-ui-echo.exp
10333 * gdb.base/new-ui-pending-input.exp
10334 * gdb.base/new-ui.exp
10335 * gdb.base/nodebug.exp
10336 * gdb.base/nofield.exp
10337 * gdb.base/offsets.exp
10338 * gdb.base/overlays.exp
10339 * gdb.base/pending.exp
10340 * gdb.base/pointers.exp
10341 * gdb.base/pr11022.exp
10342 * gdb.base/printcmds.exp
10343 * gdb.base/prologue.exp
10344 * gdb.base/ptr-typedef.exp
10345 * gdb.base/realname-expand.exp
10346 * gdb.base/relativedebug.exp
10347 * gdb.base/relocate.exp
10348 * gdb.base/remote.exp
10349 * gdb.base/reread.exp
10350 * gdb.base/return2.exp
10351 * gdb.base/savedregs.exp
10353 * gdb.base/sepdebug.exp
10354 * gdb.base/sepsymtab.exp
10355 * gdb.base/set-inferior-tty.exp
10356 * gdb.base/setshow.exp
10357 * gdb.base/shlib-call.exp
10358 * gdb.base/sigaltstack.exp
10359 * gdb.base/siginfo-addr.exp
10360 * gdb.base/signals.exp
10361 * gdb.base/signull.exp
10362 * gdb.base/sigrepeat.exp
10363 * gdb.base/so-impl-ld.exp
10364 * gdb.base/solib-display.exp
10365 * gdb.base/solib-overlap.exp
10366 * gdb.base/solib-search.exp
10367 * gdb.base/solib-symbol.exp
10368 * gdb.base/structs.exp
10369 * gdb.base/structs2.exp
10370 * gdb.base/symtab-search-order.exp
10371 * gdb.base/twice.exp
10372 * gdb.base/unload.exp
10373 * gdb.base/varargs.exp
10374 * gdb.base/watchpoint-solib.exp
10375 * gdb.base/watchpoint.exp
10376 * gdb.base/whatis.exp
10377 * gdb.base/wrong_frame_bt_full.exp
10378 * gdb.btrace/dlopen.exp
10379 * gdb.cell/ea-standalone.exp
10380 * gdb.cell/ea-test.exp
10381 * gdb.cp/dispcxx.exp
10382 * gdb.cp/gdb2384.exp
10383 * gdb.cp/method2.exp
10384 * gdb.cp/nextoverthrow.exp
10385 * gdb.cp/pr10728.exp
10386 * gdb.disasm/am33.exp
10387 * gdb.disasm/h8300s.exp
10388 * gdb.disasm/mn10300.exp
10389 * gdb.disasm/sh3.exp
10390 * gdb.dwarf2/dw2-dir-file-name.exp
10391 * gdb.fortran/complex.exp
10392 * gdb.fortran/library-module.exp
10393 * gdb.guile/scm-pretty-print.exp
10394 * gdb.guile/scm-symbol.exp
10395 * gdb.guile/scm-type.exp
10396 * gdb.guile/scm-value.exp
10397 * gdb.linespec/linespec.exp
10398 * gdb.mi/gdb701.exp
10399 * gdb.mi/gdb792.exp
10400 * gdb.mi/mi-breakpoint-changed.exp
10401 * gdb.mi/mi-dprintf-pending.exp
10402 * gdb.mi/mi-dprintf.exp
10403 * gdb.mi/mi-exit-code.exp
10404 * gdb.mi/mi-pending.exp
10405 * gdb.mi/mi-solib.exp
10406 * gdb.mi/new-ui-mi-sync.exp
10407 * gdb.mi/pr11022.exp
10408 * gdb.mi/user-selected-context-sync.exp
10409 * gdb.opt/solib-intra-step.exp
10410 * gdb.python/py-events.exp
10411 * gdb.python/py-finish-breakpoint.exp
10412 * gdb.python/py-mi.exp
10413 * gdb.python/py-prettyprint.exp
10414 * gdb.python/py-shared.exp
10415 * gdb.python/py-symbol.exp
10416 * gdb.python/py-template.exp
10417 * gdb.python/py-type.exp
10418 * gdb.python/py-value.exp
10419 * gdb.reverse/solib-precsave.exp
10420 * gdb.reverse/solib-reverse.exp
10421 * gdb.server/solib-list.exp
10422 * gdb.stabs/weird.exp
10423 * gdb.threads/reconnect-signal.exp
10424 * gdb.threads/stepi-random-signal.exp
10425 * gdb.trace/actions.exp
10427 * gdb.trace/backtrace.exp
10428 * gdb.trace/change-loc.exp
10429 * gdb.trace/deltrace.exp
10430 * gdb.trace/ftrace-lock.exp
10431 * gdb.trace/ftrace.exp
10432 * gdb.trace/infotrace.exp
10433 * gdb.trace/mi-tracepoint-changed.exp
10434 * gdb.trace/packetlen.exp
10435 * gdb.trace/passcount.exp
10436 * gdb.trace/pending.exp
10437 * gdb.trace/range-stepping.exp
10438 * gdb.trace/report.exp
10439 * gdb.trace/stap-trace.exp
10440 * gdb.trace/tfind.exp
10441 * gdb.trace/trace-break.exp
10442 * gdb.trace/trace-condition.exp
10443 * gdb.trace/trace-enable-disable.exp
10444 * gdb.trace/trace-mt.exp
10445 * gdb.trace/tracecmd.exp
10446 * gdb.trace/tspeed.exp
10447 * gdb.trace/tsv.exp
10450 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
10452 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
10453 with gdb_test_no_output.
10454 Use command as test name.
10456 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
10458 Fix test names starting with uppercase throughout the files.
10460 * gdb.ada/assign_1.exp
10461 * gdb.ada/boolean_expr.exp
10462 * gdb.base/arrayidx.exp
10464 * gdb.base/gcore-buffer-overflow.exp
10465 * gdb.base/testenv.exp
10466 * gdb.compile/compile.exp
10467 * gdb.python/py-framefilter-invalidarg.exp
10468 * gdb.python/py-framefilter.exp
10470 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
10472 Fix test names starting with uppercase throughout the files.
10474 * gdb.ada/array_return.exp
10475 * gdb.ada/expr_delims.exp
10476 * gdb.ada/mi_dyn_arr.exp
10477 * gdb.ada/mi_interface.exp
10478 * gdb.ada/mi_var_array.exp
10479 * gdb.ada/watch_arg.exp
10480 * gdb.arch/alpha-step.exp
10481 * gdb.arch/altivec-regs.exp
10482 * gdb.arch/e500-regs.exp
10483 * gdb.arch/powerpc-d128-regs.exp
10484 * gdb.base/arrayidx.exp
10485 * gdb.base/break.exp
10486 * gdb.base/checkpoint.exp
10487 * gdb.base/debug-expr.exp
10488 * gdb.base/dmsym.exp
10489 * gdb.base/radix.exp
10490 * gdb.base/sepdebug.exp
10491 * gdb.base/testenv.exp
10492 * gdb.base/watch_thread_num.exp
10493 * gdb.base/watchpoint-cond-gone.exp
10494 * gdb.cell/break.exp
10495 * gdb.cell/ea-cache.exp
10496 * gdb.compile/compile.exp
10497 * gdb.cp/gdb2495.exp
10498 * gdb.gdb/selftest.exp
10499 * gdb.gdb/xfullpath.exp
10501 * gdb.go/integers.exp
10502 * gdb.objc/basicclass.exp
10503 * gdb.pascal/hello.exp
10504 * gdb.pascal/integers.exp
10505 * gdb.python/py-breakpoint.exp
10506 * gdb.python/py-cmd.exp
10507 * gdb.python/py-linetable.exp
10508 * gdb.python/py-xmethods.exp
10509 * gdb.python/python.exp
10510 * gdb.reverse/consecutive-precsave.exp
10511 * gdb.reverse/finish-precsave.exp
10512 * gdb.reverse/i386-precsave.exp
10513 * gdb.reverse/machinestate-precsave.exp
10514 * gdb.reverse/sigall-precsave.exp
10515 * gdb.reverse/solib-precsave.exp
10516 * gdb.reverse/step-precsave.exp
10517 * gdb.reverse/until-precsave.exp
10518 * gdb.reverse/watch-precsave.exp
10519 * gdb.threads/leader-exit.exp
10520 * gdb.threads/pthreads.exp
10521 * gdb.threads/wp-replication.exp
10522 * gdb.trace/actions.exp
10523 * gdb.trace/mi-tsv-changed.exp
10524 * gdb.trace/tsv.exp
10526 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
10528 Fix test names starting with uppercase throughout the files.
10530 * gdb.arch/i386-bp_permanent.exp
10531 * gdb.arch/i386-gnu-cfi.exp
10532 * gdb.base/disasm-end-cu.exp
10533 * gdb.base/macscp.exp
10534 * gdb.base/pending.exp
10535 * gdb.base/watch_thread_num.exp
10536 * gdb.cp/exception.exp
10537 * gdb.cp/gdb2495.exp
10539 * gdb.python/py-evsignal.exp
10540 * gdb.python/python.exp
10541 * gdb.trace/tracecmd.exp
10543 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
10545 Fix test names starting with uppercase throughout the files.
10547 * gdb.base/charset.exp
10548 * gdb.base/eval.exp
10549 * gdb.base/multi-forks.exp
10550 * gdb.guile/scm-progspace.exp
10551 * gdb.opencl/datatypes.exp
10552 * gdb.python/py-block.exp
10553 * gdb.python/py-function.exp
10554 * gdb.python/py-symbol.exp
10555 * gdb.python/py-symtab.exp
10556 * gdb.python/py-xmethods.exp
10557 * gdb.reverse/break-precsave.exp
10558 * gdb.reverse/break-reverse.exp
10559 * gdb.reverse/consecutive-precsave.exp
10560 * gdb.reverse/consecutive-reverse.exp
10561 * gdb.reverse/finish-precsave.exp
10562 * gdb.reverse/finish-reverse-bkpt.exp
10563 * gdb.reverse/finish-reverse.exp
10564 * gdb.reverse/fstatat-reverse.exp
10565 * gdb.reverse/getresuid-reverse.exp
10566 * gdb.reverse/i386-precsave.exp
10567 * gdb.reverse/i386-reverse.exp
10568 * gdb.reverse/i386-sse-reverse.exp
10569 * gdb.reverse/i387-stack-reverse.exp
10570 * gdb.reverse/insn-reverse.exp
10571 * gdb.reverse/machinestate-precsave.exp
10572 * gdb.reverse/machinestate.exp
10573 * gdb.reverse/next-reverse-bkpt-over-sr.exp
10574 * gdb.reverse/pipe-reverse.exp
10575 * gdb.reverse/readv-reverse.exp
10576 * gdb.reverse/recvmsg-reverse.exp
10577 * gdb.reverse/rerun-prec.exp
10578 * gdb.reverse/s390-mvcle.exp
10579 * gdb.reverse/sigall-precsave.exp
10580 * gdb.reverse/sigall-reverse.exp
10581 * gdb.reverse/solib-precsave.exp
10582 * gdb.reverse/solib-reverse.exp
10583 * gdb.reverse/step-precsave.exp
10584 * gdb.reverse/step-reverse.exp
10585 * gdb.reverse/time-reverse.exp
10586 * gdb.reverse/until-precsave.exp
10587 * gdb.reverse/until-reverse.exp
10588 * gdb.reverse/waitpid-reverse.exp
10589 * gdb.reverse/watch-precsave.exp
10590 * gdb.reverse/watch-reverse.exp
10592 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
10594 Fix test names starting with uppercase throughout the files.
10596 * gdb.arch/i386-mpx-simple_segv.exp
10597 * gdb.arch/i386-mpx.exp
10598 * gdb.arch/i386-permbkpt.exp
10599 * gdb.arch/pa-nullify.exp
10600 * gdb.arch/powerpc-d128-regs.exp
10601 * gdb.arch/vsx-regs.exp
10602 * gdb.base/bfp-test.exp
10603 * gdb.base/break.exp
10604 * gdb.base/breakpoint-shadow.exp
10605 * gdb.base/callfuncs.exp
10606 * gdb.base/charset.exp
10607 * gdb.base/commands.exp
10608 * gdb.base/completion.exp
10609 * gdb.base/dfp-test.exp
10610 * gdb.base/echo.exp
10611 * gdb.base/ending-run.exp
10612 * gdb.base/eval.exp
10613 * gdb.base/expand-psymtabs.exp
10614 * gdb.base/float128.exp
10615 * gdb.base/floatn.exp
10616 * gdb.base/foll-exec-mode.exp
10617 * gdb.base/gdb1056.exp
10618 * gdb.base/gdb11531.exp
10619 * gdb.base/kill-after-signal.exp
10620 * gdb.base/multi-forks.exp
10621 * gdb.base/overlays.exp
10622 * gdb.base/pending.exp
10623 * gdb.base/sepdebug.exp
10624 * gdb.base/testenv.exp
10625 * gdb.base/valgrind-db-attach.exp
10626 * gdb.base/watch_thread_num.exp
10627 * gdb.base/watchpoint-cond-gone.exp
10628 * gdb.base/watchpoint.exp
10629 * gdb.base/watchpoints.exp
10630 * gdb.cp/arg-reference.exp
10631 * gdb.cp/baseenum.exp
10632 * gdb.cp/operator.exp
10633 * gdb.cp/shadow.exp
10634 * gdb.dwarf2/dw2-op-out-param.exp
10635 * gdb.dwarf2/dw2-reg-undefined.exp
10638 * gdb.go/integers.exp
10639 * gdb.go/methods.exp
10640 * gdb.go/package.exp
10641 * gdb.guile/scm-parameter.exp
10642 * gdb.guile/scm-progspace.exp
10643 * gdb.guile/scm-value.exp
10644 * gdb.mi/mi-pending.exp
10645 * gdb.mi/user-selected-context-sync.exp
10646 * gdb.multi/multi-attach.exp
10647 * gdb.multi/tids.exp
10648 * gdb.opt/clobbered-registers-O2.exp
10649 * gdb.pascal/floats.exp
10650 * gdb.pascal/integers.exp
10651 * gdb.python/py-block.exp
10652 * gdb.python/py-events.exp
10653 * gdb.python/py-parameter.exp
10654 * gdb.python/py-symbol.exp
10655 * gdb.python/py-symtab.exp
10656 * gdb.python/py-type.exp
10657 * gdb.python/py-value.exp
10658 * gdb.python/py-xmethods.exp
10659 * gdb.python/python.exp
10660 * gdb.reverse/break-precsave.exp
10661 * gdb.reverse/consecutive-precsave.exp
10662 * gdb.reverse/finish-precsave.exp
10663 * gdb.reverse/i386-precsave.exp
10664 * gdb.reverse/machinestate-precsave.exp
10665 * gdb.reverse/sigall-precsave.exp
10666 * gdb.reverse/solib-precsave.exp
10667 * gdb.reverse/step-precsave.exp
10668 * gdb.reverse/until-precsave.exp
10669 * gdb.reverse/watch-precsave.exp
10670 * gdb.server/ext-attach.exp
10671 * gdb.server/ext-restart.exp
10672 * gdb.server/ext-run.exp
10673 * gdb.server/ext-wrapper.exp
10674 * gdb.stabs/gdb11479.exp
10675 * gdb.stabs/weird.exp
10676 * gdb.threads/attach-many-short-lived-threads.exp
10677 * gdb.threads/kill.exp
10678 * gdb.threads/watchpoint-fork.exp
10680 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
10682 Fix test names starting with uppercase throughout all the files below.
10684 * gdb.ada/array_return.exp
10685 * gdb.ada/catch_ex.exp
10686 * gdb.ada/info_exc.exp
10687 * gdb.ada/mi_catch_ex.exp
10688 * gdb.ada/mi_dyn_arr.exp
10689 * gdb.ada/mi_ex_cond.exp
10690 * gdb.ada/mi_exc_info.exp
10691 * gdb.ada/mi_interface.exp
10692 * gdb.ada/mi_task_arg.exp
10693 * gdb.ada/mi_task_info.exp
10694 * gdb.ada/mi_var_array.exp
10695 * gdb.arch/alpha-step.exp
10696 * gdb.arch/amd64-disp-step.exp
10697 * gdb.arch/arm-disp-step.exp
10698 * gdb.arch/disp-step-insn-reloc.exp
10699 * gdb.arch/e500-prologue.exp
10700 * gdb.arch/ftrace-insn-reloc.exp
10701 * gdb.arch/gdb1558.exp
10702 * gdb.arch/i386-bp_permanent.exp
10703 * gdb.arch/i386-disp-step.exp
10704 * gdb.arch/i386-float.exp
10705 * gdb.arch/i386-gnu-cfi.exp
10706 * gdb.arch/ia64-breakpoint-shadow.exp
10707 * gdb.arch/mips16-thunks.exp
10708 * gdb.arch/pa-nullify.exp
10709 * gdb.arch/powerpc-aix-prologue.exp
10710 * gdb.arch/powerpc-power.exp
10711 * gdb.arch/ppc-dfp.exp
10712 * gdb.arch/s390-tdbregs.exp
10713 * gdb.arch/spu-info.exp
10714 * gdb.arch/spu-ls.exp
10715 * gdb.arch/thumb-bx-pc.exp
10716 * gdb.base/advance.exp
10717 * gdb.base/annota-input-while-running.exp
10718 * gdb.base/arrayidx.exp
10719 * gdb.base/asmlabel.exp
10720 * gdb.base/async.exp
10721 * gdb.base/attach-wait-input.exp
10722 * gdb.base/auto-connect-native-target.exp
10723 * gdb.base/batch-preserve-term-settings.exp
10724 * gdb.base/bfp-test.exp
10725 * gdb.base/bigcore.exp
10726 * gdb.base/bp-permanent.exp
10727 * gdb.base/break-always.exp
10728 * gdb.base/break-fun-addr.exp
10729 * gdb.base/break-idempotent.exp
10730 * gdb.base/break-main-file-remove-fail.exp
10731 * gdb.base/break-probes.exp
10732 * gdb.base/break-unload-file.exp
10733 * gdb.base/break.exp
10734 * gdb.base/call-ar-st.exp
10735 * gdb.base/call-rt-st.exp
10736 * gdb.base/call-sc.exp
10737 * gdb.base/call-signal-resume.exp
10738 * gdb.base/call-strs.exp
10739 * gdb.base/callexit.exp
10740 * gdb.base/callfuncs.exp
10741 * gdb.base/catch-gdb-caused-signals.exp
10742 * gdb.base/catch-signal-siginfo-cond.exp
10743 * gdb.base/catch-syscall.exp
10744 * gdb.base/compare-sections.exp
10745 * gdb.base/cond-eval-mode.exp
10746 * gdb.base/condbreak-call-false.exp
10747 * gdb.base/consecutive-step-over.exp
10748 * gdb.base/cursal.exp
10749 * gdb.base/disabled-location.exp
10750 * gdb.base/disasm-end-cu.exp
10751 * gdb.base/display.exp
10752 * gdb.base/double-prompt-target-event-error.exp
10753 * gdb.base/dprintf-bp-same-addr.exp
10754 * gdb.base/dprintf-detach.exp
10755 * gdb.base/dprintf-next.exp
10756 * gdb.base/dprintf-non-stop.exp
10757 * gdb.base/dprintf-pending.exp
10758 * gdb.base/dso2dso.exp
10759 * gdb.base/ending-run.exp
10760 * gdb.base/enum_cond.exp
10761 * gdb.base/examine-backward.exp
10762 * gdb.base/exe-lock.exp
10763 * gdb.base/exec-invalid-sysroot.exp
10764 * gdb.base/execl-update-breakpoints.exp
10765 * gdb.base/execution-termios.exp
10766 * gdb.base/fileio.exp
10767 * gdb.base/fixsection.exp
10768 * gdb.base/foll-exec-mode.exp
10769 * gdb.base/foll-exec.exp
10770 * gdb.base/fork-running-state.exp
10771 * gdb.base/frame-args.exp
10772 * gdb.base/fullpath-expand.exp
10773 * gdb.base/func-ptr.exp
10774 * gdb.base/gcore-relro-pie.exp
10775 * gdb.base/gdb1090.exp
10776 * gdb.base/gdb1555.exp
10777 * gdb.base/global-var-nested-by-dso.exp
10778 * gdb.base/gnu-ifunc.exp
10779 * gdb.base/hbreak-in-shr-unsupported.exp
10780 * gdb.base/hbreak-unmapped.exp
10781 * gdb.base/hook-stop.exp
10782 * gdb.base/infcall-input.exp
10783 * gdb.base/info-fun.exp
10784 * gdb.base/info-shared.exp
10785 * gdb.base/interrupt-noterm.exp
10786 * gdb.base/jit-so.exp
10788 * gdb.base/line-symtabs.exp
10789 * gdb.base/list.exp
10790 * gdb.base/longjmp.exp
10791 * gdb.base/macscp.exp
10792 * gdb.base/max-value-size.exp
10793 * gdb.base/nodebug.exp
10794 * gdb.base/nofield.exp
10795 * gdb.base/overlays.exp
10796 * gdb.base/paginate-after-ctrl-c-running.exp
10797 * gdb.base/paginate-bg-execution.exp
10798 * gdb.base/paginate-inferior-exit.exp
10799 * gdb.base/pending.exp
10800 * gdb.base/pr11022.exp
10801 * gdb.base/printcmds.exp
10802 * gdb.base/ptr-typedef.exp
10803 * gdb.base/ptype.exp
10804 * gdb.base/randomize.exp
10805 * gdb.base/range-stepping.exp
10806 * gdb.base/realname-expand.exp
10807 * gdb.base/relativedebug.exp
10808 * gdb.base/remote.exp
10809 * gdb.base/savedregs.exp
10810 * gdb.base/sepdebug.exp
10811 * gdb.base/set-noassign.exp
10812 * gdb.base/shlib-call.exp
10813 * gdb.base/shreloc.exp
10814 * gdb.base/sigaltstack.exp
10815 * gdb.base/sigbpt.exp
10816 * gdb.base/siginfo-addr.exp
10817 * gdb.base/siginfo-obj.exp
10818 * gdb.base/siginfo-thread.exp
10819 * gdb.base/signest.exp
10820 * gdb.base/signull.exp
10821 * gdb.base/sigrepeat.exp
10822 * gdb.base/skip.exp
10823 * gdb.base/so-impl-ld.exp
10824 * gdb.base/solib-corrupted.exp
10825 * gdb.base/solib-disc.exp
10826 * gdb.base/solib-display.exp
10827 * gdb.base/solib-overlap.exp
10828 * gdb.base/solib-search.exp
10829 * gdb.base/solib-symbol.exp
10830 * gdb.base/source-execution.exp
10831 * gdb.base/sss-bp-on-user-bp-2.exp
10832 * gdb.base/sss-bp-on-user-bp.exp
10833 * gdb.base/stack-checking.exp
10834 * gdb.base/stale-infcall.exp
10835 * gdb.base/step-break.exp
10836 * gdb.base/step-line.exp
10837 * gdb.base/step-over-exit.exp
10838 * gdb.base/step-test.exp
10839 * gdb.base/structs.exp
10840 * gdb.base/sym-file.exp
10841 * gdb.base/symtab-search-order.exp
10842 * gdb.base/term.exp
10843 * gdb.base/type-opaque.exp
10844 * gdb.base/unload.exp
10845 * gdb.base/until-nodebug.exp
10846 * gdb.base/until.exp
10847 * gdb.base/unwindonsignal.exp
10848 * gdb.base/watch-cond.exp
10849 * gdb.base/watch-non-mem.exp
10850 * gdb.base/watch_thread_num.exp
10851 * gdb.base/watchpoint-reuse-slot.exp
10852 * gdb.base/watchpoint-solib.exp
10853 * gdb.base/watchpoint.exp
10854 * gdb.btrace/dlopen.exp
10855 * gdb.cell/arch.exp
10856 * gdb.cell/break.exp
10858 * gdb.cell/core.exp
10859 * gdb.cell/data.exp
10860 * gdb.cell/dwarfaddr.exp
10861 * gdb.cell/ea-cache.exp
10862 * gdb.cell/ea-standalone.exp
10863 * gdb.cell/ea-test.exp
10864 * gdb.cell/f-regs.exp
10865 * gdb.cell/fork.exp
10866 * gdb.cell/gcore.exp
10867 * gdb.cell/mem-access.exp
10868 * gdb.cell/ptype.exp
10869 * gdb.cell/registers.exp
10870 * gdb.cell/sizeof.exp
10871 * gdb.cell/solib-symbol.exp
10872 * gdb.cell/solib.exp
10873 * gdb.compile/compile-tls.exp
10874 * gdb.cp/exception.exp
10875 * gdb.cp/gdb2495.exp
10877 * gdb.cp/mb-inline.exp
10878 * gdb.cp/mb-templates.exp
10879 * gdb.cp/pr10687.exp
10880 * gdb.cp/pr9167.exp
10881 * gdb.cp/scope-err.exp
10882 * gdb.cp/templates.exp
10883 * gdb.cp/virtfunc.exp
10884 * gdb.dwarf2/dw2-dir-file-name.exp
10885 * gdb.dwarf2/dw2-single-line-discriminators.exp
10886 * gdb.fortran/complex.exp
10887 * gdb.fortran/library-module.exp
10888 * gdb.guile/guile.exp
10889 * gdb.guile/scm-cmd.exp
10890 * gdb.guile/scm-frame-inline.exp
10891 * gdb.guile/scm-objfile.exp
10892 * gdb.guile/scm-pretty-print.exp
10893 * gdb.guile/scm-symbol.exp
10894 * gdb.guile/scm-type.exp
10895 * gdb.guile/scm-value.exp
10896 * gdb.linespec/keywords.exp
10897 * gdb.linespec/ls-errs.exp
10898 * gdb.linespec/macro-relative.exp
10899 * gdb.linespec/thread.exp
10900 * gdb.mi/mi-breakpoint-changed.exp
10901 * gdb.mi/mi-dprintf-pending.exp
10902 * gdb.mi/mi-fullname-deleted.exp
10903 * gdb.mi/mi-logging.exp
10904 * gdb.mi/mi-pending.exp
10905 * gdb.mi/mi-solib.exp
10906 * gdb.mi/new-ui-mi-sync.exp
10907 * gdb.mi/user-selected-context-sync.exp
10908 * gdb.multi/dummy-frame-restore.exp
10909 * gdb.multi/multi-arch-exec.exp
10910 * gdb.multi/remove-inferiors.exp
10911 * gdb.multi/watchpoint-multi-exit.exp
10912 * gdb.opt/solib-intra-step.exp
10913 * gdb.perf/backtrace.exp
10914 * gdb.perf/single-step.exp
10915 * gdb.perf/skip-command.exp
10916 * gdb.perf/skip-prologue.exp
10917 * gdb.perf/solib.exp
10918 * gdb.python/lib-types.exp
10919 * gdb.python/py-as-string.exp
10920 * gdb.python/py-bad-printers.exp
10921 * gdb.python/py-block.exp
10922 * gdb.python/py-breakpoint.exp
10923 * gdb.python/py-cmd.exp
10924 * gdb.python/py-events.exp
10925 * gdb.python/py-evthreads.exp
10926 * gdb.python/py-finish-breakpoint.exp
10927 * gdb.python/py-finish-breakpoint2.exp
10928 * gdb.python/py-frame-inline.exp
10929 * gdb.python/py-frame.exp
10930 * gdb.python/py-inferior.exp
10931 * gdb.python/py-infthread.exp
10932 * gdb.python/py-mi.exp
10933 * gdb.python/py-objfile.exp
10934 * gdb.python/py-pp-maint.exp
10935 * gdb.python/py-pp-registration.exp
10936 * gdb.python/py-prettyprint.exp
10937 * gdb.python/py-recurse-unwind.exp
10938 * gdb.python/py-shared.exp
10939 * gdb.python/py-symbol.exp
10940 * gdb.python/py-symtab.exp
10941 * gdb.python/py-template.exp
10942 * gdb.python/py-type.exp
10943 * gdb.python/py-unwind-maint.exp
10944 * gdb.python/py-unwind.exp
10945 * gdb.python/py-value.exp
10946 * gdb.python/python.exp
10947 * gdb.reverse/finish-reverse-bkpt.exp
10948 * gdb.reverse/insn-reverse.exp
10949 * gdb.reverse/next-reverse-bkpt-over-sr.exp
10950 * gdb.reverse/solib-precsave.exp
10951 * gdb.reverse/solib-reverse.exp
10952 * gdb.stabs/gdb11479.exp
10953 * gdb.stabs/weird.exp
10954 * gdb.threads/fork-child-threads.exp
10955 * gdb.threads/fork-plus-threads.exp
10956 * gdb.threads/fork-thread-pending.exp
10957 * gdb.threads/forking-threads-plus-breakpoint.exp
10958 * gdb.threads/hand-call-in-threads.exp
10959 * gdb.threads/interrupted-hand-call.exp
10960 * gdb.threads/linux-dp.exp
10961 * gdb.threads/local-watch-wrong-thread.exp
10962 * gdb.threads/next-while-other-thread-longjmps.exp
10963 * gdb.threads/non-ldr-exit.exp
10964 * gdb.threads/pending-step.exp
10965 * gdb.threads/print-threads.exp
10966 * gdb.threads/process-dies-while-detaching.exp
10967 * gdb.threads/process-dies-while-handling-bp.exp
10968 * gdb.threads/pthreads.exp
10969 * gdb.threads/queue-signal.exp
10970 * gdb.threads/reconnect-signal.exp
10971 * gdb.threads/signal-command-handle-nopass.exp
10972 * gdb.threads/signal-command-multiple-signals-pending.exp
10973 * gdb.threads/signal-delivered-right-thread.exp
10974 * gdb.threads/signal-sigtrap.exp
10975 * gdb.threads/sigthread.exp
10976 * gdb.threads/staticthreads.exp
10977 * gdb.threads/stepi-random-signal.exp
10978 * gdb.threads/thread-unwindonsignal.exp
10979 * gdb.threads/thread_check.exp
10980 * gdb.threads/thread_events.exp
10981 * gdb.threads/tid-reuse.exp
10982 * gdb.threads/tls-nodebug.exp
10983 * gdb.threads/tls-shared.exp
10984 * gdb.threads/tls-so_extern.exp
10985 * gdb.threads/tls.exp
10986 * gdb.threads/wp-replication.exp
10987 * gdb.trace/actions-changed.exp
10988 * gdb.trace/actions.exp
10989 * gdb.trace/backtrace.exp
10990 * gdb.trace/change-loc.exp
10991 * gdb.trace/collection.exp
10992 * gdb.trace/deltrace.exp
10993 * gdb.trace/disconnected-tracing.exp
10994 * gdb.trace/entry-values.exp
10995 * gdb.trace/ftrace-lock.exp
10996 * gdb.trace/ftrace.exp
10997 * gdb.trace/infotrace.exp
10998 * gdb.trace/mi-trace-frame-collected.exp
10999 * gdb.trace/mi-trace-unavailable.exp
11000 * gdb.trace/mi-traceframe-changed.exp
11001 * gdb.trace/mi-tracepoint-changed.exp
11002 * gdb.trace/mi-tsv-changed.exp
11003 * gdb.trace/no-attach-trace.exp
11004 * gdb.trace/packetlen.exp
11005 * gdb.trace/passc-dyn.exp
11006 * gdb.trace/passcount.exp
11007 * gdb.trace/pending.exp
11008 * gdb.trace/pr16508.exp
11009 * gdb.trace/qtro.exp
11010 * gdb.trace/range-stepping.exp
11011 * gdb.trace/read-memory.exp
11012 * gdb.trace/report.exp
11013 * gdb.trace/save-trace.exp
11014 * gdb.trace/signal.exp
11015 * gdb.trace/stap-trace.exp
11016 * gdb.trace/status-stop.exp
11017 * gdb.trace/strace.exp
11018 * gdb.trace/tfile.exp
11019 * gdb.trace/tfind.exp
11020 * gdb.trace/trace-break.exp
11021 * gdb.trace/trace-condition.exp
11022 * gdb.trace/trace-enable-disable.exp
11023 * gdb.trace/trace-mt.exp
11024 * gdb.trace/tracecmd.exp
11025 * gdb.trace/tracefile-pseudo-reg.exp
11026 * gdb.trace/tspeed.exp
11027 * gdb.trace/tstatus.exp
11028 * gdb.trace/tsv.exp
11029 * gdb.trace/unavailable.exp
11030 * gdb.trace/while-dyn.exp
11031 * gdb.trace/while-stepping.exp
11032 * lib/gdb-guile.exp
11034 * lib/mi-support.exp
11037 * lib/prelink-support.exp
11038 * lib/selftest-support.exp
11040 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
11042 * Makefile.in: Include disable-implicit-rules.mk.
11044 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11046 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
11047 non-byte-aligned bit fields.
11049 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11052 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
11053 respects the DW_AT_data_bit_offset attribute.
11055 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
11057 * gdb.base/default.exp: Fix output of "set language".
11059 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
11061 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
11062 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
11064 * configure.ac: Remove checks for the make program.
11065 * configure: Re-generate.
11067 2016-11-16 Kevin Buettner <kevinb@redhat.com>
11069 * gdb.python/py-recurse-unwind.c (main): Add loop.
11070 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
11071 to read_register() and gdb.parse_and_eval(). Make each code
11072 call a separate case that can be individually tested.
11073 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
11074 proc. Call cont_and_backtrace for each of the code paths that
11075 we want to test in the unwinder.
11077 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
11079 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
11080 the definition of struct S.
11082 2016-11-11 Catherine Moore <clm@codesourcery.com>
11084 * gdb.base/dump.exp: Identify verilog format dump tests as such.
11086 2016-11-09 Pedro Alves <palves@redhat.com>
11088 * gdb.base/commands.exp (runto_or_return): New procedure.
11089 (gdbvar_simple_if_test, gdbvar_simple_while_test)
11090 (gdbvar_complex_if_while_test, progvar_simple_if_test)
11091 (progvar_simple_while_test, progvar_complex_if_while_test)
11092 (if_while_breakpoint_command_test)
11093 (infrun_breakpoint_command_test, breakpoint_command_test)
11094 (user_defined_command_test, watchpoint_command_test)
11095 (test_command_prompt_position, redefine_hook_test)
11096 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
11097 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
11098 multi_line_input and multi_line. Remove gdb_expect and
11099 gdb_stop_suppressing_tests uses.
11100 * lib/gdb.exp (valnum_re): New global.
11101 (multi_line_input): New procedure.
11103 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
11105 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
11107 (test_setup): Define with proc_with_prefix.
11108 (test_cli_inferior): Likewise.
11109 (test_cli_thread): Likewise.
11110 (test_cli_frame): Likewise.
11111 (test_cli_select_frame): Likewise.
11112 (test_cli_up_down): Likewise.
11113 (test_mi_thread_select): Likewise.
11114 (test_mi_stack_select_frame): Likewise.
11115 (test_cli_in_mi_inferior): Likewise.
11116 (test_cli_in_mi_thread): Likewise.
11117 (test_cli_in_mi_frame): Likewise.
11118 (top level): Do not use with_test_prefix_procname.
11120 2016-11-09 Pedro Alves <palves@redhat.com>
11122 * gdb.base/commands.exp (gdbvar_simple_if_test)
11123 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
11124 (progvar_simple_if_test, progvar_simple_while_test)
11125 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
11126 (infrun_breakpoint_command_test, breakpoint_command_test)
11127 (user_defined_command_test, watchpoint_command_test)
11128 (test_command_prompt_position, deprecated_command_test)
11129 (bp_deleted_in_command, temporary_breakpoint_commands)
11130 (stray_arg0_test, source_file_with_indented_comment)
11131 (recursive_source_test, if_commands_test)
11132 (error_clears_commands_left, redefine_hook_test)
11133 (redefine_backtrace_test): Use proc_with_prefix.
11134 * lib/gdb.exp (proc_with_prefix): New proc.
11136 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
11138 * gdb.base/tui-layout.c: New file.
11139 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
11140 disassembly window contains very long lines.
11142 2016-11-08 Tom Tromey <tom@tromey.com>
11144 * gdb.python/py-value.exp (test_value_creation): Make "long" test
11145 depend on Python 2.
11147 2016-11-08 Tom Tromey <tom@tromey.com>
11149 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
11152 2016-10-29 Manish Goregaokar <manish@mozilla.com>
11154 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
11156 2016-10-27 Manish Goregaokar <manish@mozilla.com>
11158 * gdb.rust/simple.rs: Add test for univariant enums without
11159 discriminants and for encoded struct-like enums.
11161 2016-10-28 Pedro Alves <palves@redhat.com>
11163 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
11164 gdb_test_multiple, tighten regexps and match symtabs and line
11165 tables incrementally.
11167 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
11169 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
11172 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
11174 * gdb.base/exec-invalid-sysroot.exp: New file.
11176 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11178 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
11180 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11182 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
11184 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
11186 * gdb.base/killed-outside.exp: Remove $options from a call to
11187 `prepare_for_testing'.
11189 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
11191 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
11192 Change test message.
11194 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
11196 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
11199 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
11201 * gdb.trace/mi-trace-save.exp: New file.
11203 2016-10-13 Yao Qi <yao.qi@linaro.org>
11205 * gdb.base/code_elim.exp (get_var_address): Remove.
11206 * gdb.base/relocate.exp: Likewise.
11207 * gdb.base/shreloc.exp: Likewise.
11208 * lib/gdb.exp (get_var_address): New.
11210 2016-10-13 Yao Qi <yao.qi@linaro.org>
11212 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
11213 floating point tests if $skip_float_test is false.
11215 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
11217 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
11218 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
11220 Add 1 to argc so we guarantee distinct initial/modified argc values.
11222 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11224 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
11226 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11228 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
11229 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
11230 * gdb.arch/vsx-regs.exp: Likewise.
11232 2016-10-07 Yao Qi <yao.qi@linaro.org>
11234 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
11236 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
11238 * gdb.python/python.exp: Test decode_line("*0").
11240 2016-10-06 Doug Evans <dje@google.com>
11242 * gdb.python/py-value.exp (test_value_creation): Add test for large
11243 unsigned 64-bit value.
11245 2016-10-06 Tom Tromey <tom@tromey.com>
11247 * gdb.compile/compile.exp: Change java tests to rust.
11248 * gdb.base/setshow.exp: Change java tests to rust.
11249 * gdb.base/default.exp: Remove java from language list.
11250 * README (Examples): Update language example.
11251 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
11253 * lib/gdb.exp (skip_java_tests): Remove.
11254 * lib/java.exp: Remove.
11255 * gdb.java: Remove.
11257 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
11259 * gdb.arch/mips-fcr.exp: New test.
11260 * gdb.arch/mips-fcr.c: Source for the new test.
11262 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
11264 * gdb.base/solib-disc.exp: Use `standard_output_file'
11267 2016-10-06 Pedro Alves <palves@redhat.com>
11269 * gdb.base/jit-simple-dl.c: New file.
11270 * gdb.base/jit-simple-jit.c: New file, factored out from ...
11271 * gdb.base/jit-simple.c: ... this.
11272 * gdb.base/jit-simple.exp (jit_run): Delete.
11273 (build_jit): New proc.
11274 (jit_test_reread): Recompile either the main program or the shared
11275 library, depending on what is being tested. Skip changing address
11276 if caller wants to. Compare before/after addresses. If testing
11277 standalone, explicitly load the binary. Test "maint info
11279 (top level): Add "standalone vs shared lib" and "change address"
11280 vs "same address" axes.
11282 2016-10-06 Pedro Alves <palves@redhat.com>
11284 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
11287 (jit_test_reread): Use with_test_prefix. Reload the main binary
11288 explicitly. Compare the before/after addresses of the JIT
11291 2016-08-15 Doug Evans <dje@google.com>
11293 * gdb.xml/extra-regs.xml: Update, end field now required, default type
11294 for single bitfields is bool.
11295 * gdb.xml/tdesc-regs.exp: Ditto.
11297 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11299 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
11301 2016-10-05 Yao Qi <yao.qi@linaro.org>
11303 * lib/gdb.exp (support_complex_tests): Return zero if
11304 gdb_skip_float_test return true.
11306 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
11307 Simon Marchi <simon.marchi@ericsson.com>
11310 * gdb.mi/user-selected-context-sync.exp: New file.
11311 * gdb.mi/user-selected-context-sync.c: New file.
11313 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
11314 Simon Marchi <simon.marchi@ericsson.com>
11317 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
11318 =thread-select-event check.
11320 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
11322 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
11323 the compulsory L operand changes.
11324 * gdb.arch/powerpc-power.s: Likewise.
11326 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11328 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
11329 * gdb.base/jit-attach-pie.c: New file.
11330 * gdb.base/jit-attach-pie.exp: New file.
11332 2016-09-28 Pedro Alves <palves@redhat.com>
11334 * gdb.base/infcall-input.c: New file.
11335 * gdb.base/infcall-input.exp: New file.
11337 2016-09-22 Yao Qi <yao.qi@linaro.org>
11339 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
11340 (gdb_exit): Rename it to ...
11341 (gdbserver_gdb_exit): ... Close GDBserver.
11342 (gdb_exit): New proc, call gdbserver_gdb_exit.
11343 (mi_gdb_exit): Likewise.
11345 2016-09-22 Yao Qi <yao.qi@linaro.org>
11347 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
11349 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
11350 Remove duplication.
11352 2016-09-22 Yao Qi <yao.qi@linaro.org>
11354 * lib/gdbserver-support.exp: Check the existence of
11355 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
11357 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
11359 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
11361 2016-09-21 Tom Tromey <tom@tromey.com>
11364 * gdb.base/quit.exp: New file.
11366 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
11368 * .gitignore: New file.
11370 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
11372 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
11375 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
11377 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
11379 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11381 * gdb.cp/casts.cc (decltype): Move it ...
11382 (main): ... with its call to ...
11383 * gdb.cp/casts03.cc: ... a new file.
11384 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
11386 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11388 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
11390 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
11392 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
11393 and sync up the test with tests in gas/testsuite/gas/ppc.
11394 * gdb.arch/powerpc-power.exp: Likewise.
11396 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11398 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
11400 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
11401 Jan Kratochvil <jan.kratochvil@redhat.com>
11403 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
11404 make m1's definition to be different from m2's. Use 'dummy' as an
11405 argument for probe 'two'.
11407 2016-09-10 Jon Beniston <jon@beniston.com>
11409 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
11412 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
11414 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
11415 variable declaration.
11416 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
11417 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
11418 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
11419 received HWCAP as its argument.
11421 2016-09-06 Pedro Alves <palves@redhat.com>
11423 * gdb.base/new-ui-pending-input.c: New file.
11424 * gdb.base/new-ui-pending-input.exp: New file.
11425 * gdb.exp (clear_gdb_spawn_id): New procedure.
11426 (with_spawn_id): Check whether gdb_spawn_id exists before
11427 referencing it. If gdb_spawn_id didn't exist on entry, clear it
11430 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
11432 * gdb.base/float128.c: New file.
11433 * gdb.base/float128.exp: Likewise.
11434 * gdb.base/floatn.c: Likewise.
11435 * gdb.base/floatn.exp: Likewise.
11437 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
11439 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
11441 2016-09-05 Pedro Alves <palves@redhat.com>
11444 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
11445 unwinders are immediately called as side effect of "source" or
11446 "disable unwinder" commands.
11447 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
11449 2016-09-02 Yao Qi <yao.qi@linaro.org>
11451 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
11452 is true and $type is "float" or "double".
11454 2016-09-02 Yao Qi <yao.qi@linaro.org>
11456 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
11458 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
11459 * gdb.base/call-rt-st.exp: Likewise.
11460 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
11461 return value instead of gdb,skip_float_test.
11462 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
11463 (do_function_calls): Use its return value instead of
11464 gdb,skip_float_test.
11465 * gdb.base/finish.exp: Likewise.
11466 * gdb.base/funcargs.exp: Likewise.
11467 * gdb.base/return.exp: Likewise.
11468 * gdb.base/return2.exp: Likewise.
11469 * gdb.base/varargs.exp: Likewise.
11470 * lib/gdb.exp (gdb_skip_float_test): Change it to
11471 gdb_caching_proc. Detect the broken ptrace on arm-linux.
11473 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
11475 * gdb.multi/tids.exp: Test "thread apply all".
11477 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11479 * gdb.base/default.exp (tty): Remove.
11481 2016-08-24 Kevin Buettner <kevinb@redhat.com>
11483 * gdb.python/py-recurse-unwind.c: New file.
11484 * gdb.python/py-recurse-unwind.py: New file.
11485 * gdb.python/py-recurse-unwind.exp: New file.
11487 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
11489 * gdb.base/set-inferior-tty.exp: New file.
11490 * gdb.base/set-inferior-tty.c: New file.
11492 2016-08-23 Pedro Alves <palves@redhat.com>
11495 * gdb.base/new-ui-echo.c: New file.
11496 * gdb.base/new-ui-echo.exp: New file.
11498 2016-08-23 Yao Qi <yao.qi@linaro.org>
11500 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
11502 * gdb.server/connect-without-multi-process.exp (do_test):
11505 2016-08-23 Yao Qi <yao.qi@linaro.org>
11507 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
11508 standalone_txt. Delete gdb_txt and standalone_txt on host
11509 and target. Spawn the binary on target. Copy files from
11512 2016-08-22 Pedro Alves <palves@redhat.com>
11515 * gdb.base/vdso-warning.exp: Test core dumps too. Use
11516 with_test_prefix. Factor out bits to ...
11517 (test_no_vdso): ... this new procedure.
11519 2016-08-19 Carl Love <cel@us.ibm.com>
11521 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
11522 maintaining separate logic for constructing the output path.
11523 * gdb.arch/powerpc-d128-regs.exp: Likewise.
11524 * gdb.arch/ppc-dfp.exp: Likewise.
11525 * gdb.arch/ppc-fp.exp: Likewise.
11526 * gdb.arch/vsx-regs.exp: Likewise.
11527 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
11528 binprefix for generating the additional binary files.
11530 2016-08-19 Pedro Alves <palves@redhat.com>
11532 * gdb.trace/mi-trace-frame-collected.exp
11533 (test_trace_frame_collected): On x32, expect two registers.
11535 2016-08-18 Carl Love <cel@us.ibm.com>
11537 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
11538 and sync up the test with tests in gas/testsuite/gas/ppc.
11539 * gdb.arch/powerpc-power.exp: Likewise.
11541 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
11543 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
11544 expected error message.
11546 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
11548 * gdb.multi/remove-inferiors.exp: New file.
11549 * gdb.multi/remove-inferiors.c: New file.
11551 2016-08-12 Yao Qi <yao.qi@linaro.org>
11553 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
11556 2016-08-10 Pedro Alves <palves@redhat.com>
11559 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
11562 2016-08-09 Pedro Alves <palves@redhat.com>
11563 Simon Marchi <simon.marchi@ericsson.com>
11566 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
11567 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
11569 2016-08-09 Pedro Alves <palves@redhat.com>
11572 * gdb.mi/mi-cmd-error.exp: New file.
11574 2016-08-09 Pedro Alves <palves@redhat.com>
11577 * gdb.base/signals-state-child.c: New file.
11578 * gdb.base/signals-state-child.exp: New file.
11579 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
11581 2016-08-09 Pedro Alves <palves@redhat.com>
11583 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
11585 2016-08-03 Tom Tromey <tom@tromey.com>
11588 * gdb.python/py-frame-inline.exp: Add Frame.function test.
11590 2016-08-01 Yao Qi <yao.qi@linaro.org>
11592 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
11593 variable mode to "multi-process" if $multi_process is 1, otherwise
11594 set it to "single-process".
11596 2016-08-01 Yao Qi <yao.qi@linaro.org>
11598 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
11599 * gdb.cp/cpexprs.exp: Likewise.
11600 * gdb.cp/m-static.exp: Likewise.
11602 2016-07-26 Tom Tromey <tom@tromey.com>
11605 * gdb.threads/tls.exp (check_thread_local): Add python symbol
11608 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
11610 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
11611 selecting assembly source files.
11612 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
11613 assembly source files.
11614 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
11615 assembly source files.
11616 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
11617 selecting assembly source files.
11619 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
11621 * gdb.base/new-ui.exp (do_test_invalid_args): New
11624 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
11626 * gdb.btrace/reconnect.c: New file.
11627 * gdb.btrace/reconnect.exp: New file.
11629 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
11631 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
11632 to test_catch_syscall_group.
11633 (test_catch_syscall_group): New.
11635 2016-07-21 Tom Tromey <tom@tromey.com>
11637 * gdb.rust/simple.rs (main): Use empty struct expression.
11638 * gdb.rust/simple.exp: Add tests for empty struct expression.
11640 2016-07-21 Yao Qi <yao.qi@linaro.org>
11642 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
11643 if gdb_skip_xml_test is true on some targets.
11645 2016-07-21 Yao Qi <yao.qi@linaro.org>
11647 * gdb.server/solib-list.exp: Unset last_loaded_file.
11649 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11651 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
11652 "step into captured_main (args)".
11654 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11656 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
11658 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11660 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
11662 2016-07-19 Pedro Alves <palves@redhat.com>
11664 * gdb.opt/inline-break.exp: Remove optimize=-O2.
11665 * gdb.opt/inline-bt.exp: Likewise.
11666 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
11667 additional_flags=-Winline.
11668 * gdb.opt/inline-locals.exp: Likewise.
11669 * gdb.opt/inline-markers.c (ATTR): Define.
11670 (inlined_fn): Use it.
11672 2016-07-19 Yao Qi <yao.qi@linaro.org>
11674 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
11675 (test_with_self): Remove some code. Remove argument executable.
11676 (top-level): Use do_self_tests.
11678 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
11679 Don Breazeal <donb@codesourcery.com>
11681 * gdb.base/maint.exp: Escape paths used in regular expressions.
11682 * gdb.stabs/weird.exp: Likewise.
11684 2016-07-13 Tom Tromey <tom@tromey.com>
11686 PR python/15620, PR python/18620:
11687 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
11688 (test_bkpt_events): New procs.
11690 2016-07-13 Tom Tromey <tom@tromey.com>
11693 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
11695 (test_watchpoints): Likewise.
11696 (test_bkpt_pending): New proc.
11698 2016-07-13 Tom Tromey <tom@tromey.com>
11701 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
11704 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11706 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
11707 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
11708 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
11710 (g): Rename g_end_lbl to g_label.
11711 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
11712 low_pc and high_pc.
11713 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
11715 2016-07-12 Tom Tromey <tom@tromey.com>
11718 * gdb.python/py-unwind-maint.exp: Update tests.
11720 2016-07-12 Yao Qi <yao.qi@linaro.org>
11722 * lib/selftest-support.exp (selftest_setup): Match the output
11723 when captured_main is inlined.
11725 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
11727 * gdb.fortran/derived-types.exp (result_line, result_line_2):
11729 (print this%a, print this%b, print this): New tests.
11730 * gdb.fortran/derived-types.f90 (this): New object and
11733 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
11735 * gdb.ada/arraydim.exp: Remove extra directory level in build
11738 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
11740 * lib/ada.exp: Remove extra directory level in build directory.
11741 * gdb.ada/cond_lang.exp: Likewise.
11742 * gdb.ada/exec_changed.exp: Likewise.
11743 * gdb.ada/lang_switch.exp: Likewise.
11745 2016-07-06 Manish Goregaokar <manish@mozilla.com>
11747 * simple.rs: Add test for raw pointer subscripting.
11748 * simple.exp: Add test expectations.
11750 2016-07-05 Yao Qi <yao.qi@linaro.org>
11752 * gdb.mi/mi-reverse.exp: Match =record-started output.
11754 2016-07-01 Pedro Alves <palves@redhat.com>
11756 * gdb.base/jit-reader.exp (info_registers_current_frame): New
11758 (jit_reader_test): Test the jit reader's unwinder.
11759 * gdb.base/jithost.c (jit_function_00_code): New global.
11760 (main): Use memcpy to fill in the mmapped code, instead of poking
11761 bytes manually here.
11762 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
11764 (read_debug_info): Save the function's range.
11765 (read_sp): New function.
11766 (unwind_frame): Use it. Also unwind RBP.
11767 (get_frame_id): Use read_sp.
11768 (gdb_init_reader): Use calloc instead of malloc.
11769 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
11770 parameter. Use gdb_test_multiple.
11772 2016-07-01 Pedro Alves <palves@redhat.com>
11773 Antoine Tremblay <antoine.tremblay@ericsson.com>
11775 * gdb.threads/process-dies-while-detaching.c: New file.
11776 * gdb.threads/process-dies-while-detaching.exp: New file.
11778 2016-07-01 Pedro Alves <palves@redhat.com>
11780 * gdb.multi/watchpoint-multi-exit.c: New file.
11781 * gdb.multi/watchpoint-multi-exit.exp: New file.
11783 2016-06-30 Pedro Alves <palves@redhat.com>
11785 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
11786 unset inferior_spawn_id.
11788 2016-06-30 Pedro Alves <palves@redhat.com>
11790 * lib/mi-support.exp (default_mi_gdb_start): Declare global
11791 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
11793 2016-06-29 Yao Qi <yao.qi@linaro.org>
11795 * gdb.base/return.c: Add copyright header.
11797 2016-06-29 Tom Tromey <tom@tromey.com>
11800 * gdb.python/py-framefilter.exp: Add tests for setting priority
11801 and disabling of non-existent frame filter.
11803 2016-06-29 Yao Qi <yao.qi@linaro.org>
11805 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
11808 2016-06-28 Yao Qi <yao.qi@linaro.org>
11810 * gdb.base/catch-syscall.exp: Remove check on isnative and target
11811 triplets. Start gdb, execute catch syscall, and continue. Check
11812 gdb's output to determine catch syscall is supported.
11814 2016-06-27 Manish Goregaokar <manish@mozilla.com>
11816 * gdb.rust/simple.rs: Add test for returning unit in a function.
11817 * gdb.rust/simple.exp: Add expectation for functions returning
11820 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
11822 * gdb.python/py-breakpoint-create-fail.c,
11823 gdb.python/py-breakpoint-create-fail.exp,
11824 gdb.python/py-breakpoint-create-fail.py: New testcase.
11826 2016-06-25 Manish Goregaokar <manish@mozilla.com>
11829 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
11830 * gdb.rust/simple.exp: Add test expectations for new NonZero
11833 2016-06-24 David Taylor <dtaylor@emc.com>
11835 * gdb.base/offsets.exp: New file.
11836 * gdb.base/offsets.c: New file.
11838 2016-06-23 Tom Tromey <tom@tromey.com>
11841 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
11842 before any filters are loaded.
11844 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
11846 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
11847 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
11849 * gdb.fortran/derived-type-function.exp: New file.
11850 * gdb.fortran/derived-type-function.f90: New file.
11853 2016-06-21 Pedro Alves <palves@redhat.com>
11855 * gdb.base/new-ui.exp: New file.
11856 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
11857 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
11858 (with_spawn_id): New procedure.
11860 2016-06-21 Pedro Alves <palves@redhat.com>
11862 * gdb.mi/mi-exec-run.exp: New file.
11864 2016-06-21 Pedro Alves <palves@redhat.com>
11866 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
11867 breakpoint command's output on the main UI.
11868 (test_break): New procedure, factored out from calls in the top
11870 (top level): Use foreach_with_prefix to test MI as main UI and as
11873 2016-06-21 Pedro Alves <palves@redhat.com>
11875 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
11876 (test_awatch_creation_and_listing)
11877 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
11878 Remove 'type' parameter.
11879 (test_watchpoint_all): New parameter mi_mode. Remove
11881 (top level): Use foreach_with_prefix, and add main/separate UI MI
11884 2016-06-21 Pedro Alves <palves@redhat.com>
11886 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
11887 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
11888 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
11889 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
11890 (gdb_main_spawn_id, mi_spawn_id): Declare and
11892 (mi_create_inferior_pty): New procedure,
11893 factored out from default_mi_gdb_start.
11894 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
11896 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
11897 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
11898 Use mi_create_inferior_pty.
11899 (mi_gdb_start): Use eval to pass down args list.
11901 2016-06-21 Pedro Alves <palves@redhat.com>
11903 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
11904 * gdb.opt/inline-cmds.exp: Add MI tests.
11906 2016-06-21 Pedro Alves <palves@redhat.com>
11908 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
11910 2016-06-21 Pedro Alves <palves@redhat.com>
11912 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
11913 (top level): Use it instead of mi_execute_to.
11915 2016-06-21 Pedro Alves <palves@redhat.com>
11917 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
11918 (cont_handler_str): New.
11919 (signal_stop_handler): Set stop_handler_str instead of printing to
11921 (continue_handler): Set cont_handler_str instead of printing to
11923 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
11924 mi_send_resuming_command. Print stop_handler_str and
11925 cont_handler_str instead of expecting the python events print
11928 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
11930 * gdb.base/jit-reader.exp: New file.
11931 * gdb.base/jithost.c: New file.
11932 * gdb.base/jithost.h: New file.
11933 * gdb.base/jitreader.c : New file.
11934 * gdb.base/jit-protocol.h: New file.
11936 2016-06-17 Yao Qi <yao.qi@linaro.org>
11938 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
11939 parameters follow_fork and detach_on_fork. Set follow-fork-mode
11940 and detach-on-fork. Adjust tests.
11941 (top level): Invoke break_cond_on_syscall with combinations of
11942 syscall, follow-fork-mode and detach-on-fork.
11944 2016-06-17 Yao Qi <yao.qi@linaro.org>
11946 * gdb.base/step-over-exit.c: New.
11947 * gdb.base/step-over-exit.exp: New.
11949 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
11951 * gdb.base/float.exp: Add target check for nds32*-*-*.
11952 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
11954 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
11956 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
11957 for unsupported target features.
11958 * gdb.base/call-rt-st.exp: Likewise.
11959 * gdb.base/call-sc.exp: Likewise.
11960 * gdb.base/call-signal-resume.exp: Likewise.
11961 * gdb.base/call-strs.exp: Likewise.
11962 * gdb.base/callexit.exp: Likewise.
11963 * gdb.base/callfuncs.exp: Likewise.
11964 * gdb.base/nodebug.exp: Likewise.
11965 * gdb.base/printcmds.exp: Likewise.
11966 * gdb.base/ptype.exp: Likewise.
11967 * gdb.base/structs.exp: Likewise.
11968 * gdb.base/unwindonsignal.exp: Likewise.
11969 * gdb.cp/gdb2495.exp: Likewise.
11970 * gdb.cp/templates.exp: Likewise.
11971 * gdb.cp/virtfunc.exp: Likewise.
11972 * gdb.threads/hand-call-in-threads.exp: Likewise.
11973 * gdb.threads/interrupted-hand-call.exp: Likewise.
11974 * gdb.threads/thread-unwindonsignal.exp: Likewise.
11976 2016-06-10 Tom Tromey <tom@tromey.com>
11979 * gdb.rust/expr.exp: Add test for integer constant larger than
11982 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
11984 * gdb.fortran/nested-funcs.exp: New.
11985 * gdb.fortran/nested-funcs.f90: New.
11987 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
11989 * gdb.base/examine-backward.c: New file.
11990 * gdb.base/examine-backward.exp: New file.
11992 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
11994 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
11997 2016-06-02 Tom Tromey <tom@tromey.com>
12000 * gdb.python/py-shared.exp: Add solib_name test.
12002 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
12004 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
12006 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
12009 * gdb.dwarf2/implref.exp: Rename to...
12010 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
12011 * gdb.dwarf2/implref-array.c: New file.
12012 * gdb.dwarf2/implref-array.exp: Likewise.
12013 * gdb.dwarf2/implref-global.c: Likewise.
12014 * gdb.dwarf2/implref-global.exp: Likewise.
12015 * gdb.dwarf2/implref-struct.c: Likewise.
12016 * gdb.dwarf2/implref-struct.exp: Likewise.
12018 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12020 * gdb.trace/trace-condition.exp: Add 64bit tests.
12022 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12024 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
12026 (main): Adapt to 8 to 64 bits types.
12027 * gdb.trace/trace-condition.exp: Add new tests.
12029 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12031 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
12033 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12035 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
12036 Move condition tests...
12037 * gdb.trace/trace-condition.exp: Here.
12039 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
12041 * gdb.trace/trace-condition.exp: Add counter-case tests.
12043 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12046 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
12047 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
12049 2016-05-27 Pedro Alves <palves@redhat.com>
12051 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
12053 (top level): Call it, and bail out of DejaGnu is known to be bad.
12055 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
12057 * gdb.base/whatis.c: Extend the test case.
12058 * gdb.base/whatis.exp: Add additional tests.
12060 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12062 * gdb.fortran/type.f90: Add pointer variable.
12063 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
12065 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12067 * gdb.fortran/vla-type.exp: Fix testcase name.
12069 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12071 * gdb.fortran/vla-type.exp: Access elements in nested structs.
12073 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12075 * gdb.fortran/type.f90: Add nested structures.
12076 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
12077 * gdb.fortran/derived-type.exp: Adapt expected output.
12078 * gdb.fortran/vla-type.exp: Adapt expected output.
12080 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12082 * gdb.fortran/whatis_type.exp: Adapt expected output.
12084 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12086 * gdb.fortran/print_type.exp: Fix expected output.
12087 * gdb.fortran/whatis_type.exp: Fix expected output.
12089 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
12091 * gdb.fortran/whatis_type.exp: Use multi_line.
12093 2016-05-24 Tom Tromey <tom@tromey.com>
12096 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
12097 use value as an index.
12099 2016-05-23 Tom Tromey <tom@tromey.com>
12102 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
12103 no-breakpoint case.
12105 2016-05-24 Pedro Alves <palves@redhat.com>
12108 * gdb.threads/clone-attach-detach.c: New file.
12109 * gdb.threads/clone-attach-detach.exp: New file.
12111 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
12113 * gdb.base/annota-input-while-running.exp: Fix syntax error.
12115 2016-05-23 Tom Tromey <tom@tromey.com>
12117 PR python/19438, PR python/18393:
12118 * gdb.python/py-progspace.exp: Add "dir" test.
12119 * gdb.python/py-objfile.exp: Add "dir" test.
12121 2016-05-23 Yao Qi <yao.qi@linaro.org>
12123 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
12124 * gdb.arch/thumb2-it.exp: Likewise.
12126 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
12128 * gdb.mi/mi-threads-interrupt.c: New file.
12129 * gdb.mi/mi-threads-interrupt.exp: New file.
12131 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
12134 * gdb.mi/mi-async-run.exp: New file.
12135 * gdb.mi/mi-async-run.c: New file.
12137 2016-05-17 Tom Tromey <tom@tromey.com>
12138 Manish Goregaokar <manishsmail@gmail.com>
12140 * lib/rust-support.exp: New file.
12141 * lib/gdb.exp (skip_rust_tests): New proc.
12142 (build_executable_from_specs): Handle rust.
12143 * lib/future.exp (gdb_find_rustc): New proc.
12144 (gdb_default_target_compile): Handle rust.
12145 * gdb.rust/expr.exp: New file.
12146 * gdb.rust/generics.exp: New file.
12147 * gdb.rust/generics.rs: New file.
12148 * gdb.rust/methods.exp: New file.
12149 * gdb.rust/methods.rs: New file.
12150 * gdb.rust/modules.exp: New file.
12151 * gdb.rust/modules.rs: New file.
12152 * gdb.rust/simple.exp: New file.
12153 * gdb.rust/simple.rs: New file.
12155 2016-05-17 Tom Tromey <tom@tromey.com>
12157 * gdb.base/default.exp (set language): Add rust.
12159 2016-05-17 Tom Tromey <tom@tromey.com>
12161 * gdb.gdb/unittest.exp: New file.
12163 2016-05-16 Yao Qi <yao.qi@linaro.org>
12165 * gdb.base/batch-preserve-term-settings.exp: Remove variable
12166 shell_prompt. Update shell_prompt_re.
12168 2016-05-12 Doug Evans <dje@google.com>
12171 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
12172 $options when building executable.
12173 * gdb.dwarf2/fission-loclists-pie.S: New file.
12174 * gdb.dwarf2/fission-loclists-pie.exp: New file.
12176 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
12178 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
12179 of [is_remote target],
12181 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
12183 * lib/gdb.exp (use_gdb_stub): New procedure.
12185 2016-05-03 Yunlian Jiang <yunlian@google.com>
12186 Doug Evans <dje@google.com>
12189 * gdb.dwarf2/dwp-sepdebug.c: New file.
12190 * gdb.dwarf2/dwp-sepdebug.exp: New file.
12192 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
12194 * gdb.base/detach.exp: Remove is_remote check.
12196 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
12198 * gdb.base/annota-input-while-running.exp: Don't check for
12199 [is_remote target]. Enable annotations after running to main.
12200 Remove unused "set test..." line.
12202 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
12204 * gdb.trace/trace-enable-disable.exp: New file.
12205 * gdb.trace/trace-enable-disable.c: New file.
12207 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
12209 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
12210 use it in info sharedlibrary test.
12211 * gdb.trace/ftrace-lock.exp: Likewise.
12212 * gdb.trace/ftrace.exp: Likewise.
12213 * gdb.trace/range-stepping.exp: Likewise.
12214 * gdb.trace/trace-break.exp: Likewise.
12215 * gdb.trace/trace-condition.exp: Likewise.
12216 * gdb.trace/trace-mt.exp: Likewise.
12218 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
12220 * lib/gdb.exp (gdb_load_shlibs): Rename to...
12221 (gdb_load_shlib): ... this.
12222 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
12224 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
12225 * gdb.base/ctxobj.exp: Likewise.
12226 * gdb.base/dprintf-pending.exp: Likewise.
12227 * gdb.base/dso2dso.exp: Likewise.
12228 * gdb.base/fixsection.exp: Likewise.
12229 * gdb.base/gcore-relro.exp: Likewise.
12230 * gdb.base/gdb1555.exp: Likewise.
12231 * gdb.base/global-var-nested-by-dso.exp: Likewise.
12232 * gdb.base/gnu-ifunc.exp: Likewise.
12233 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
12234 * gdb.base/jit-so.exp (one_jit_test): Likewise.
12235 * gdb.base/pending.exp: Likewise.
12236 * gdb.base/print-file-var.exp: Likewise.
12237 * gdb.base/print-symbol-loading.exp: Likewise.
12238 * gdb.base/shlib-call.exp: Likewise.
12239 * gdb.base/shreloc.exp: Likewise.
12240 * gdb.base/so-impl-ld.exp: Likewise.
12241 * gdb.base/solib-disc.exp: Likewise.
12242 * gdb.base/solib-nodir.exp: Likewise.
12243 * gdb.base/solib-overlap.exp: Likewise.
12244 * gdb.base/solib-symbol.exp: Likewise.
12245 * gdb.base/solib-weak.exp (do_test): Likewise.
12246 * gdb.base/sym-file.exp: Likewise.
12247 * gdb.base/symtab-search-order.exp: Likewise.
12248 * gdb.base/type-opaque.exp: Likewise.
12249 * gdb.base/unload.exp: Likewise.
12250 * gdb.base/watchpoint-solib.exp: Likewise.
12251 * gdb.compile/compile.exp: Likewise.
12252 * gdb.cp/gdb2384.exp: Likewise.
12253 * gdb.cp/infcall-dlopen.exp: Likewise.
12254 * gdb.cp/re-set-overloaded.exp: Likewise.
12255 * gdb.fortran/library-module.exp: Likewise.
12256 * gdb.opt/solib-intra-step.exp: Likewise.
12257 * gdb.python/py-finish-breakpoint.exp: Likewise.
12258 * gdb.python/py-shared.exp: Likewise.
12259 * gdb.reverse/solib-precsave.exp: Likewise.
12260 * gdb.reverse/solib-reverse.exp: Likewise.
12261 * gdb.server/solib-list.exp: Likewise.
12262 * gdb.threads/dlopen-libpthread.exp: Likewise.
12263 * gdb.threads/tls-shared.exp: Likewise.
12264 * gdb.threads/tls-so_extern.exp: Likewise.
12265 * gdb.trace/change-loc.exp: Likewise.
12266 * gdb.trace/ftrace-lock.exp: Likewise.
12267 * gdb.trace/ftrace.exp: Likewise.
12268 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
12269 * gdb.trace/pending.exp: Likewise.
12270 * gdb.trace/range-stepping.exp: Likewise.
12271 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
12272 (strace_info_marker): Likewise.
12273 (strace_probe_marker): Likewise.
12274 (strace_trace_on_same_addr): Likewise.
12275 (strace_trace_on_diff_addr): Likewise.
12276 * gdb.trace/trace-break.exp: Likewise.
12277 * gdb.trace/trace-condition.exp: Likewise.
12278 * gdb.trace/trace-mt.exp: Likewise.
12280 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
12282 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
12283 result of gdb_remote_download.
12284 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
12285 * gdb.base/dso2dso.exp: Likewise.
12286 * gdb.base/global-var-nested-by-dso.exp: Likewise.
12287 * gdb.base/print-file-var.exp: Likewise.
12288 * gdb.base/shlib-call.exp: Likewise.
12289 * gdb.base/shreloc.exp: Likewise.
12290 * gdb.base/solib-overlap.exp: Likewise.
12291 * gdb.base/solib-weak.exp (do_test): Likewise.
12292 * gdb.base/unload.exp: Likewise.
12294 2016-04-27 Yao Qi <yao.qi@linaro.org>
12296 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
12299 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
12301 * vla-type.exp: Print structure from toplevel.
12303 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
12305 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
12307 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
12310 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
12312 * gdb.fortran/vla-type.f90: New file.
12313 * gdb.fortran/vla-type.exp: New file.
12315 2016-04-25 Yao Qi <yao.qi@linaro.org>
12317 * gdb.base/branch-to-self.c: New file.
12318 * gdb.base/branch-to-self.exp: New file.
12320 2016-04-22 Yao Qi <yao.qi@linaro.org>
12322 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
12325 2016-04-22 Yao Qi <yao.qi@linaro.org>
12327 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
12328 * gdb.base/annota3.exp: Likewise.
12330 2016-04-22 Yao Qi <yao.qi@linaro.org>
12332 * gdb.reverse/step-precsave.exp: Do one step and test program
12333 stops in "callee" and do multiple steps until program goes out
12335 * gdb.reverse/step-reverse.exp: Likewise.
12337 2016-04-22 Yao Qi <yao.qi@linaro.org>
12339 * gdb.trace/signal.exp: Also pass if
12340 $tracepoint_hits($i) > $iterations.
12342 2016-04-22 Yao Qi <yao.qi@linaro.org>
12344 * gdb.trace/signal.c: New file.
12345 * gdb.trace/signal.exp: New file.
12347 2016-04-19 Doug Evans <xdje42@gmail.com>
12349 * gdb.base/bad-file.exp: New file.
12351 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
12353 * gdb.dwarf2/implref.exp: New file.
12355 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
12357 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
12358 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
12359 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
12360 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
12361 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
12362 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
12363 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
12364 * lib/fortran.exp (fortran_int4): New procedure.
12365 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
12366 (fortran_logical4): Likewise.
12368 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
12370 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
12372 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
12374 * lib/compiler.c: Add Intel specific preprocessor macros.
12375 * lib/compiler.cc: Likewise.
12377 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
12379 * gdb.server/connect-with-no-symbol-file.c: New file.
12380 * gdb.server/connect-with-no-symbol-file.exp: New file.
12382 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
12384 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
12386 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
12388 * boards/gdbserver-base.exp (${board}_download): Copy source file to
12389 standard output directory.
12391 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
12393 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
12395 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
12397 * gdb.btrace/instruction_history.c (loop): Add declaration.
12399 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
12401 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
12403 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
12405 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
12406 parentheses to print.
12407 (continue_handler): Likewise.
12409 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
12411 * gdb.server/solib-list.exp: Remove is_remote check.
12412 Pass shlib= to gdb_compile. Don't link shared library with
12413 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
12414 Run binary filename through "readlink -f" on the target.
12416 2016-04-08 Pedro Alves <palves@redhat.com>
12418 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
12419 interpreter filename as argument to gdbserver_spawn.
12420 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
12421 Return empty if $last_loaded_file does not exist.
12423 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12425 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
12426 * gdb.base/jit-main.c: Use exit after usage.
12428 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12430 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
12431 GDBHISTSIZE prior to the tests.
12432 * gdb.base/gdbinit-history.exp: Likewise.
12434 2016-04-07 Pedro Alves <palves@redhat.com>
12436 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
12437 instead of build_executable. Use gdb_load_shlibs.
12439 2016-04-07 Yao Qi <yao.qi@linaro.org>
12441 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
12442 Execute "si" command.
12444 2016-04-07 Yao Qi <yao.qi@linaro.org>
12446 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
12447 number instead of the comments on some line.
12449 2016-04-06 Don Breazeal <donb@codesourcery.com>
12451 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
12452 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
12454 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
12456 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
12457 standard_output_file. Remove unused binfile variable.
12459 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
12461 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
12462 * gdb.python/py-mi-objfile.exp: Match "list main" output
12465 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
12467 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
12470 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
12472 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
12474 * gdb.trace/ftrace.exp: Likewise.
12475 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
12477 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
12478 (gdb_load_shlibs): Copy libraries to test directory when testing
12479 natively. Only set solib-search-path if testing remotely.
12480 * lib/mi-support.exp (mi_load_shlibs): Likewise.
12482 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
12484 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
12485 gdb_download. Use it even if the target is not remote.
12486 * gdb.base/jit.exp (compile_jit_test): Likewise.
12487 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
12488 output directory if the destination board is local, otherwise use
12489 the standard remote_download from DejaGnu.
12490 (gdb_download): Remove.
12491 (gdb_load_shlibs): Use gdb_remote_download instead of
12493 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
12494 Use gdb_remote_download instead of gdb_download. Use it even if
12495 the target is not remote.
12496 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
12497 instead of gdb_download.
12499 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
12501 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
12502 (test_insert_delete_modify): Call mi_load_shlibs before trying to
12505 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
12508 * gdb.base/printcmds.exp: Add artificial arrays tests.
12510 2016-03-31 Pedro Alves <palves@redhat.com>
12513 * gdb.base/jit-main.c: Include unistd.h.
12514 (ATTACH): Define to 0 if not already defined.
12515 (wait_for_gdb, mypid): New globals.
12516 (WAIT_FOR_GDB): New macro.
12517 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
12518 some breakpoint locations.
12519 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
12521 (one_jit_test): Add REATTACH parameter, and handle it. Use
12522 continue_to_test_location.
12523 (top level): Test attach, and adjusts calls to one_jit_test.
12525 2016-03-31 Pedro Alves <palves@redhat.com>
12528 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
12529 BINSUFFIX parameter, and handle it.
12530 (top level): Adjust calls compile_jit_test.
12532 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
12535 * gdb.python/py-mi-events-gdb.py: New file.
12536 * gdb.python/py-mi-events.c: New file.
12537 * gdb.python/py-mi-events.exp: New file.
12539 2016-03-30 Yao Qi <yao.qi@linaro.org>
12541 * gdb.reverse/until-precsave.exp: Match function name only.
12542 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
12543 Move malloc to a condition block.
12544 * gdb.reverse/until-reverse.exp: Match function name only.
12546 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
12548 * gdb.trace/ftrace.exp: Set arg0exp for s390.
12549 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
12550 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
12551 variable for GPR 0 instead of assuming it is register 0.
12552 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
12553 * lib/trace-support.exp: Add s390 registers.
12555 2016-03-29 Yao Qi <yao.qi@linaro.org>
12557 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
12559 2016-03-24 Yao Qi <yao.qi@linaro.org>
12561 * gdb.reverse/break-reverse.exp: Add quotation mark in the
12564 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12566 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
12567 maintaining separate logic for constructing the output path.
12569 2016-03-16 Don Breazeal <donb@codesourcery.com>
12571 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
12572 Retry fork and waitpid on interrupted system call errors.
12573 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
12574 Use with_timeout_factor to increase timeout by factor of 10.
12576 2016-03-15 Don Breazeal <donb@codesourcery.com>
12578 * gdb.cp/scope-err.cc: New test program.
12579 * gdb.cp/scope-err.exp: New test script.
12580 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
12581 lines and "set breakpoint here" comment.
12582 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
12583 Fixed some whitespace and format issues.
12584 * gdb.mi/mi-linespec-err-cp.cc: New test program.
12585 * gdb.mi/mi-linespec-err-cp.exp: New test script.
12587 2016-03-15 Doug Evans <dje@google.com>
12589 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
12590 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
12591 All callers updated. Add tests for enums, mixed flags register.
12593 2016-03-15 Doug Evans <dje@google.com>
12595 * gdb.base/skip.c (main): Call test_skip_file_and_function.
12596 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
12598 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
12600 * gdb.base/default.exp: Add $_as_string to the list of expected
12601 convenience functions.
12603 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
12605 * gdb.base/maint.exp: New tests for 'maint info line-table'.
12607 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
12609 * gdb.python/py-as-string.exp: New file.
12610 * gdb.python/py-as-string.c: New file.
12612 2016-03-09 Pedro Alves <palves@redhat.com>
12614 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
12615 signal" -> "Thread NN received signal" output change.
12616 * gdb.threads/ia64-sigill.exp: Likewise.
12617 * gdb.threads/linux-dp.exp: Likewise.
12618 * gdb.threads/manythreads.exp: Likewise.
12619 * gdb.threads/pending-step.exp: Likewise.
12620 * gdb.threads/print-threads.exp: Likewise.
12621 * gdb.threads/sigstep-threads.exp: Likewise.
12622 * gdb.threads/staticthreads.exp: Likewise.
12623 * gdb.threads/tls.exp: Likewise.
12625 2016-03-09 Pedro Alves <palves@redhat.com>
12627 * gdb.base/command-line-input.exp: New file.
12629 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12631 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
12632 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
12633 * gdb.trace/pending.exp: Accept leading dot before function name.
12634 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
12635 * lib/trace-support.exp: Set registers for ppc.
12637 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12639 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
12640 use it for disassembly; accept .main in addition to main in backtrace.
12642 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
12643 Marcin Kościelnicki <koriakin@0x04.net>
12645 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
12646 (gdb_recursion_test_ptr): New global variable.
12647 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
12648 gdb_recursion_test.
12649 (gdb_c_test): Ditto.
12651 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12653 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
12656 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
12658 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
12659 (bar): Add bar_start_lbl label.
12660 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
12661 of foo/bar for emitting DWARF and tracing.
12663 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
12665 * analyze-racy-logs.py: Set executable bit.
12667 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
12669 * Makefile.in (DEFAULT_RACY_ITER): New variable.
12670 (CHECK_TARGET_TMP): Likewise.
12671 (check-single-racy): New rule.
12672 (check-parallel-racy): Likewise.
12673 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
12674 (do-check-parallel-racy): New rule.
12675 (check-racy/%.exp): Likewise.
12676 * README (Racy testcases): New section.
12677 * analyze-racy-logs.py: New file.
12679 2016-03-03 Doug Evans <dje@google.com>
12681 * gdb.base/skip.exp: Use with_test_prefix.
12683 2016-03-03 Yao Qi <yao.qi@linaro.org>
12685 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
12686 Invoke step_over_syscall "clone" and break_cond_on_syscall
12688 * gdb.base/step-over-clone.c: New file.
12690 2016-03-03 Yao Qi <yao.qi@linaro.org>
12692 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
12695 2016-03-03 Yao Qi <yao.qi@linaro.org>
12697 * gdb.base/disp-step-fork.c: Rename to ...
12698 * gdb.base/step-over-fork.c: ... it. New file.
12699 * gdb.base/disp-step-vfork.c: Rename to ...
12700 * gdb.base/step-over-vfork.c: ... it. New file.
12701 * gdb.base/disp-step-syscall.exp: Rename to ...
12702 * gdb.base/step-over-syscall.exp: ... it. New file.
12703 (disp_step_cross_syscall): Rename to ...
12704 (step_over_syscall): ... it.
12706 2016-03-03 Yao Qi <yao.qi@linaro.org>
12708 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
12709 If target supports condition evaluation on target, invoke
12710 break_cond_on_syscall for fork and vfork.
12712 2016-03-03 Yao Qi <yao.qi@linaro.org>
12714 * gdb.base/disp-step-syscall.exp: Don't invoke
12715 support_displaced_stepping.
12716 (disp_step_cross_syscall): Test with displaced stepping off and
12719 2016-03-03 Yao Qi <yao.qi@linaro.org>
12721 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
12724 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
12727 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12729 * gdb.fortran/vla-history.exp: Remove breakpoint.
12731 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12733 * gdb.fortran/vla-history.exp: Lookup array elements and printing
12736 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12738 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
12741 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
12743 * gdb.mi/vla.f90: Nullify pointer after declaration.
12745 2016-03-01 Pedro Alves <palves@redhat.com>
12747 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
12749 2016-03-01 Pedro Alves <palves@redhat.com>
12751 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
12752 before anything else.
12753 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
12755 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
12756 before anything else.
12757 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
12759 2016-03-01 Pedro Alves <palves@redhat.com>
12761 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
12763 2016-03-01 Yao Qi <yao.qi@linaro.org>
12765 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
12766 prepare_for_testing.
12768 2016-03-01 Yao Qi <yao.qi@linaro.org>
12770 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
12772 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
12774 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
12775 manually constructing the output path.
12777 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
12779 * gdb.arch/s390-stackless.S: New.
12780 * gdb.arch/s390-stackless.exp: New.
12782 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
12784 * gdb.dlang/circular.c: New file.
12785 * gdb.dlang/circular.exp: New file.
12787 2016-02-26 Yao Qi <yao.qi@linaro.org>
12789 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
12790 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
12791 (testcases): Update.
12793 2016-02-26 Yao Qi <yao.qi@linaro.org>
12795 * gdb.reverse/aarch64.c: Rename to ...
12796 * gdb.reverse/insn-reverse.c: ... it.
12797 * gdb.reverse/aarch64.exp: Rename to ...
12798 * gdb.reverse/insn-reverse.exp: ... it.
12800 2016-02-26 Yao Qi <yao.qi@linaro.org>
12802 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
12803 (testcase_ftype): New.
12804 (testcases): New array.
12805 (n_testcases): New.
12806 (main): Call each element in testcases.
12807 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
12808 (read_testcase): New.
12809 Do the tests in a loop.
12811 2016-02-25 Yao Qi <yao.qi@linaro.org>
12813 * gdb.base/branches.c: Remove.
12815 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
12818 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
12820 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
12822 * gdb.trace/ftrace.exp: Remove unnecessary target check.
12824 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
12826 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
12827 change x86_64 call_insn to 'callq'.
12829 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
12831 * gdb.trace/tfile-avx.c: Move to...
12832 * gdb.trace/tracefile-pseudo-reg.c: Here.
12833 * gdb.trace/tfile-avx.exp: Move to...
12834 * gdb.trace/tracefile-pseudo-reg.exp: Here.
12836 2016-02-24 Gary Benson <gbenson@redhat.com>
12838 * gdb.base/attach-pie-noexec.exp: Do not expect an error
12841 2016-02-23 Doug Evans <dje@google.com>
12843 * gdb.base/skip.c (test_skip): New function.
12844 (end_test_skip_file_and_function): New function.
12845 (test_skip_file_and_function): New function.
12846 * gdb.base/skip1.c (test_skip): New function.
12847 (skip1_test_skip_file_and_function): New function.
12848 * gdb.base/skip.exp: Add tests for new skip options.
12849 * gdb.base/skip-solib.exp: Update expected output.
12850 * gdb.perf/skip-command.cc: New file.
12851 * gdb.perf/skip-command.exp: New file.
12852 * gdb.perf/skip-command.py: New file.
12854 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
12856 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
12857 info registers pattern.
12859 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
12861 * lib/future.exp: Add D support.
12862 (gdb_find_gdc): New proc.
12863 (gdb_default_target_compile): Add D support.
12865 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
12867 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
12869 (trace_speed_test): Determine the iteration count for a time
12870 between 15..30 seconds.
12872 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
12874 * gdb.arch/i386-mpx-sigsegv.c: New file.
12875 * gdb.arch/i386-mpx-sigsegv.exp: New file.
12876 * gdb.arch/i386-mpx-simple_segv.c: New file.
12877 * gdb.arch/i386-mpx-simple_segv.exp: New file.
12879 2016-02-18 Yao Qi <yao.qi@linaro.org>
12881 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
12882 Don't call setup_kfail.
12884 2016-02-18 Yao Qi <yao.qi@linaro.org>
12886 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
12887 Set "set breakpoint condition-evaluation" per $cond_bp_target.
12889 2016-02-16 Doug Evans <dje@google.com>
12891 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
12892 * gdb.base/skip1.c: Ditto.
12893 * gdb.base/skip.exp: Whitespace cleanup.
12895 2016-02-16 Don Breazeal <donb@codesourcery.com>
12898 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
12899 Remove kfail for PR remote/19496.
12901 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
12903 * lib/gdb.exp (standard_temp_file): Return a path specific to
12904 the runtest invocation.
12906 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
12908 * gdb.trace/save-trace.exp: Change relative path to be in the
12909 standard output directory.
12911 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12913 * gdb.arch/i386-prologue.c: Add missing prototypes.
12915 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12917 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
12918 * gdb.arch/i386-prologue.exp: Likewise.
12919 * gdb.arch/i386-size.exp: Likewise.
12921 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
12923 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
12924 define object file path.
12925 * gdb.btrace/gcore.exp: Use standard_output_file to define core
12927 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
12928 standard_output_file to define binfile.
12930 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12932 Fix compatibility with recent gfortran-5.3.1.
12933 * gdb.fortran/vla-history.exp (print vla1 allocated)
12934 (print vla2 allocated, print $2, print $3): Remove
12935 (print $4): Rename to ...
12936 (print $2): ... here.
12937 (print $9): Rename to ...
12938 (print $5): ... here.
12939 (print $10): Rename to ...
12940 (print $6): ... here.
12941 * gdb.fortran/vla.f90: Add pvla initialization.
12943 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12945 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
12947 * gdb.fortran/vla-value-sub.exp: Likewise.
12949 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
12951 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
12953 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
12955 * i386-biarch-core.exp: Define corefile using
12956 standard_output_file.
12958 2016-02-12 Yao Qi <yao.qi@linaro.org>
12960 * gdb.arch/arm-single-step-kernel-helper.c: New.
12961 * gdb.arch/arm-single-step-kernel-helper.exp: New.
12963 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
12965 * gdb.btrace/tailcall-only.exp: New.
12966 * gdb.btrace/tailcall-only.c: New.
12967 * gdb.btrace/x86_64-tailcall-only.S: New.
12968 * gdb.btrace/i686-tailcall-only.S: New.
12970 2016-02-11 Pedro Alves <palves@redhat.com>
12972 * README (Parallel testing): Add missing double quotes.
12974 2016-02-11 Pedro Alves <palves@redhat.com>
12976 * README (Parallel testing): New section.
12977 (GDB_PARALLEL): Rewrite.
12978 (FORCE_PARALLEL): Document.
12980 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
12982 * gdb.trace/tfile-avx.c: New test.
12983 * gdb.trace/tfile-avx.exp: New test.
12985 2016-02-09 Keith Seitz <keiths@redhat.com>
12987 PR breakpoints/19546
12988 * gdb.base/infcall-exec.c: New file.
12989 * gdb.base/infcall-exec2.c: New file.
12990 * gdb.base/infcall-exec.exp: New file.
12992 2016-02-09 Keith Seitz <keiths@redhat.com>
12994 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
12995 (toplevel): Call test_bkpt_address.
12997 2016-02-09 Keith Seitz <keiths@redhat.com>
13000 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
13001 (toplevel): Call test_bkpt_address.
13003 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
13005 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
13007 * configure: Regenerate.
13009 2016-02-09 Pedro Alves <palves@redhat.com>
13011 PR breakpoints/19548
13012 * gdb.base/execl-update-breakpoints.c (some_function): New
13015 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
13016 Tighten expected GDB output.
13018 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
13020 * Makefile.in (ALL_SUBDIRS): Remove.
13021 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
13022 (distclean maintainer-clean realclean): Likewise.
13023 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
13024 * configure: Regenerate.
13025 * gdb.ada/Makefile.in: Delete.
13026 * gdb.arch/Makefile.in: Likewise.
13027 * gdb.asm/Makefile.in: Likewise.
13028 * gdb.base/Makefile.in: Likewise.
13029 * gdb.btrace/Makefile.in: Likewise.
13030 * gdb.cell/Makefile.in: Likewise.
13031 * gdb.compile/Makefile.in: Likewise.
13032 * gdb.cp/Makefile.in: Likewise.
13033 * gdb.disasm/Makefile.in: Likewise.
13034 * gdb.dlang/Makefile.in: Likewise.
13035 * gdb.dwarf2/Makefile.in: Likewise.
13036 * gdb.fortran/Makefile.in: Likewise.
13037 * gdb.gdb/Makefile.in: Likewise.
13038 * gdb.go/Makefile.in: Likewise.
13039 * gdb.guile/Makefile.in: Likewise.
13040 * gdb.java/Makefile.in: Likewise.
13041 * gdb.linespec/Makefile.in: Likewise.
13042 * gdb.mi/Makefile.in: Likewise.
13043 * gdb.modula2/Makefile.in: Likewise.
13044 * gdb.multi/Makefile.in: Likewise.
13045 * gdb.objc/Makefile.in: Likewise.
13046 * gdb.opencl/Makefile.in: Likewise.
13047 * gdb.opt/Makefile.in: Likewise.
13048 * gdb.pascal/Makefile.in: Likewise.
13049 * gdb.perf/Makefile.in: Likewise.
13050 * gdb.python/Makefile.in: Likewise.
13051 * gdb.reverse/Makefile.in: Likewise.
13052 * gdb.server/Makefile.in: Likewise.
13053 * gdb.stabs/Makefile.in: Likewise.
13054 * gdb.threads/Makefile.in: Likewise.
13055 * gdb.trace/Makefile.in: Likewise.
13056 * gdb.xml/Makefile.in: Likewise.
13057 * lib/gdb.exp (make_gdb_parallel_path): Add check for
13059 (standard_output_file): Remove check for GDB_PARALLEL, always
13060 return path in outputs/$subdir/$testname.
13062 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
13064 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
13065 (site.exp): Assign abs_srcdir to tcl's srcdir.
13067 2016-02-04 Yao Qi <yao.qi@linaro.org>
13069 * gdb.base/foll-exec-mode.c: Include limits.h.
13070 (main): Add parameters argc and argv. Get directory from
13072 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
13074 * gdb.base/foll-exec.c: Include limits.h.
13075 (main): Add parameters argc and argv.
13076 Get directory from argv[0].
13077 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
13078 Adjust tests on the number of lines as source code changed.
13079 * gdb.base/foll-vfork-exit.c: Include limits.h.
13080 (main): Add one line of statement before vfork.
13081 * gdb.base/foll-vfork.c: Include limits.h and string.h.
13082 (main): Add parameters argc and argv. Get directory from
13084 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
13085 (setup_gdb): Set tbreak to skip some source lines.
13086 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
13087 (main): Add parameters argc and argv. Get directory from
13089 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
13091 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
13092 (main): Add parameters argc and argv. Get directory from
13094 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
13097 2016-02-01 Doug Evans <dje@google.com>
13099 * gdb.base/skip.exp: Clean up multiple references to same test name.
13101 2016-02-01 Pedro Alves <palves@redhat.com>
13104 * gdb.threads/forking-threads-plus-breakpoint.exp
13105 (displaced_stepping_supported): New global.
13106 (probe_displaced_stepping_support): New procedure.
13107 (do_test): Add 'displaced' parameter, and use it.
13108 (top level): Check for displaced stepping support. Add displaced
13109 stepping on/off testing axis.
13111 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
13113 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
13114 pointer. Don't perform further tests on the unassociated pointer
13115 if the first test fails.
13117 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
13119 * gdb.base/max-value-size.c: New file.
13120 * gdb.base/max-value-size.exp: New file.
13121 * gdb.base/huge.exp: Disable max-value-size for this test.
13123 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
13125 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
13127 2016-01-28 Yao Qi <yao.qi@linaro.org>
13129 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
13131 2016-01-25 Pedro Alves <palves@redhat.com>
13134 * gdb.base/fork-running-state.c: New file.
13135 * gdb.base/fork-running-state.exp: New file.
13137 2016-01-25 Pedro Alves <palves@redhat.com>
13140 * gdb.base/catch-fork-kill.c: New file.
13141 * gdb.base/catch-fork-kill.exp: New file.
13143 2016-01-25 Pedro Alves <palves@redhat.com>
13145 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
13146 Delete, moved to lib/gdb.exp.
13147 * gdb.threads/forking-threads-plus-breakpoint.exp
13148 (foreach_with_prefix): Likewise.
13149 * gdb.threads/process-dies-while-handling-bp.exp
13150 (foreach_with_prefix): Likewise.
13151 * lib/gdb.exp (foreach_with_prefix): New procedure.
13153 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
13155 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
13156 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
13158 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
13160 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
13163 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13164 Pedro Alves <palves@redhat.com>
13166 Fix testsuite compatibility with Guile.
13167 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
13170 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13172 Fix testsuite compatibility with Guile.
13173 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
13174 (thread 1): New test for backtrace through signal handler.
13176 2016-01-22 Yao Qi <yao.qi@linaro.org>
13179 * gdb.base/multi-forks.c: Include
13180 ../lib/unbuffer_output.c
13181 (main): Call gdb_unbuffer_output.
13183 2016-01-21 Doug Evans <dje@google.com>
13185 * lib/ada.exp (gdb_compile_ada): Fix typo.
13187 2016-01-21 Joel Brobecker <brobecker@adacore.com>
13189 * gdb.base/break-fun-addr.exp: New file.
13190 * gdb.base/break-fun-addr1.c: New file.
13191 * gdb.base/break-fun-addr2.c: New file.
13193 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
13195 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
13196 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
13199 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
13201 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
13202 when GDB can not set the vector return value. Add more comments
13205 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
13207 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
13210 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
13212 * Makefile.in (DO_RUNTEST): Add --status and update usages.
13214 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
13216 * Makefile.in (check-single): Pass --status to runtest.
13217 (check/%.exp): Likewise.
13219 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
13221 * Makefile.in (check-parallel): Propagate return code from make
13224 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
13226 * gdb.trace/ftrace.exp: Fix expected message on continue.
13227 * gdb.trace/pending.exp: Fix expected message on continue.
13228 * gdb.trace/trace-break.exp: Fix expected message on continue.
13230 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
13232 * lib/gdb.exp (gdb_test): Remove unused global references.
13234 2016-01-18 Pedro Alves <palves@redhat.com>
13236 * gdb.base/async-shell.exp: Adjust expected output.
13237 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
13238 * gdb.base/siginfo-thread.exp: Adjust expected output.
13239 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
13240 * gdb.java/jnpe.exp: Adjust expected output.
13241 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
13242 * gdb.threads/continue-pending-status.exp: Adjust expected output.
13243 * gdb.threads/leader-exit.exp: Adjust expected output.
13244 * gdb.threads/manythreads.exp: Adjust expected output.
13245 * gdb.threads/pthreads.exp: Adjust expected output.
13246 * gdb.threads/schedlock.exp: Adjust expected output.
13247 * gdb.threads/siginfo-threads.exp: Adjust expected output.
13248 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
13250 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
13252 * gdb.threads/sigthread.exp: Adjust expected output.
13253 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
13255 2016-01-18 Yao Qi <yao.qi@linaro.org>
13257 * gdb.guile/scm-section-script.c: Replace @progbits with
13259 * gdb.python/py-section-script.c: Likewise.
13261 2016-01-15 Pedro Alves <palves@redhat.com>
13263 * gdb.multi/tids.exp: Test star wildcard ranges.
13265 2016-01-15 Pedro Alves <palves@redhat.com>
13267 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
13268 command from "thread apply" invocation.
13269 (thr_apply_info_thr_invalid): Default the expected output to the
13271 (top level): Add tests that use convenience variables. Add tests
13272 for "thread apply" with a valid TID list, but missing the command.
13274 2016-01-13 Pedro Alves <palves@redhat.com>
13276 * gdb.base/default.exp: Expect $_gthread as well.
13277 * gdb.multi/tids.exp: Test $_gthread.
13278 * gdb.threads/thread-specific.exp: Test $_gthread.
13280 2016-01-13 Pedro Alves <palves@redhat.com>
13282 * gdb.multi/tids.exp: Test "info threads -gid".
13284 2016-01-13 Pedro Alves <palves@redhat.com>
13286 * gdb.multi/tids.exp: Test InferiorThread.global_num and
13288 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
13290 2016-01-07 Pedro Alves <palves@redhat.com>
13292 * gdb.base/break.exp: Adjust to output changes.
13293 * gdb.base/hbreak2.exp: Likewise.
13294 * gdb.base/sepdebug.exp: Likewise.
13295 * gdb.base/watch_thread_num.exp: Likewise.
13296 * gdb.linespec/keywords.exp: Likewise.
13297 * gdb.multi/info-threads.exp: Likewise.
13298 * gdb.threads/thread-find.exp: Likewise.
13299 * gdb.multi/tids.c: New file.
13300 * gdb.multi/tids.exp: New file.
13302 2016-01-13 Pedro Alves <palves@redhat.com>
13304 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
13306 2016-01-13 Pedro Alves <palves@redhat.com>
13308 * gdb.base/default.exp: Expect $_inferior as well.
13309 * gdb.multi/base.exp: Test $_inferior.
13311 2016-01-13 Pedro Alves <palves@redhat.com>
13313 PR breakpoints/19388
13314 * gdb.base/catch-signal-siginfo-cond.c: New file.
13315 * gdb.base/catch-signal-siginfo-cond.exp: New file.
13317 2016-01-12 Josh Stone <jistone@redhat.com>
13318 Philippe Waroquiers <philippe.waroquiers@skynet.be>
13320 * gdb.base/catch-syscall.c (do_execve): New variable.
13321 (main): Conditionally trigger an execve.
13322 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
13323 (test_catch_syscall_execve): New, check entry/return across execve.
13324 (do_syscall_tests): Call test_catch_syscall_execve.
13326 2016-01-12 Pedro Alves <palves@redhat.com>
13328 * gdb.base/random-signal.exp (do_test): New procedure, with body
13329 of testcase moved in.
13331 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13332 Pedro Alves <palves@redhat.com>
13334 * gdb.base/funcargs.exp (finish from indirectly called function):
13335 Reintroduce the case for 'First'.
13337 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13338 Pedro Alves <palves@redhat.com>
13340 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
13341 (tcatch_vfork_then_child_follow_exec)
13342 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
13345 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13347 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
13348 and repeats to unlimited.
13349 * gdb.python/py-value.exp: Likewise.
13350 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
13351 and repeats to unlimited.
13353 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13355 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
13356 and reordering the functions.
13357 * gdb.multi/hangout.c: Likewise.
13358 * gdb.multi/hello.c: Likewise.
13360 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
13362 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
13364 (SingleStatisticTestResult.report): Use dict.keys instead of
13367 2016-01-06 Pedro Alves <palves@redhat.com>
13369 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
13371 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
13373 * gdb.btrace/dlopen.exp: New.
13374 * gdb.btrace/dlopen.c: New.
13375 * gdb.btrace/dlopen-dso.c: New.
13377 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
13379 * lib/gdb.exp (gdb_test): Update comments to clarify that the
13380 PATTERN argument is optional.
13382 2015-12-24 Joel Brobecker <brobecker@adacore.com>
13384 * lib/ada.exp (target_compile_ada_from_dir): New function.
13385 (gdb_compile_ada): Reimplement avoiding the use of project files.
13386 * gdb.ada/gnat_ada.gpr: Delete.
13387 * gdb.ada/cond_lang.exp: Adjust test to make path before
13389 * gdb.ada/small_reg_param.exp: Likewise.
13391 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
13393 * gdb.base/foll-vork.exp: Remove HP-UX special case.
13395 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
13397 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
13400 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
13402 * gdb.base/break.exp: Remove dead code.
13403 * gdb.base/sepdebug.exp: Likewise.
13405 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
13407 * gdb.asm/asm-source.exp: Remove HP-UX references.
13408 * gdb.base/annota1.exp: Likewise.
13409 * gdb.base/annota3.exp: Likewise.
13410 * gdb.base/attach.exp: Likewise.
13411 * gdb.base/bigcore.exp: Likewise.
13412 * gdb.base/break.exp: Likewise.
13413 * gdb.base/call-ar-st.exp: Likewise.
13414 * gdb.base/callfuncs.exp: Likewise.
13415 * gdb.base/catch-fork-static.exp: Likewise.
13416 * gdb.base/display.exp: Likewise.
13417 * gdb.base/foll-exec-mode.exp: Likewise.
13418 * gdb.base/foll-exec.exp: Likewise.
13419 * gdb.base/foll-fork.exp: Likewise.
13420 * gdb.base/foll-vfork.exp: Likewise.
13421 * gdb.base/funcargs.exp: Likewise.
13422 * gdb.base/hbreak2.exp: Likewise.
13423 * gdb.base/inferior-died.exp: Likewise.
13424 * gdb.base/interrupt.exp: Likewise.
13425 * gdb.base/multi-forks.exp: Likewise.
13426 * gdb.base/nodebug.exp: Likewise.
13427 * gdb.base/sepdebug.exp: Likewise.
13428 * gdb.base/solib1.c: Likewise.
13429 * gdb.base/step-test.exp: Likewise.
13430 * gdb.mi/non-stop.c: Likewise.
13431 * gdb.mi/pthreads.c: Likewise.
13432 * gdb.multi/bkpt-multi-exec.ex: Likewise.
13433 * gdb.threads/pthreads.c: Likewise.
13434 * gdb.threads/staticthreads.exp: Likewise.
13435 * lib/future.exp: Likewise.
13436 * lib/gdb.exp: Likewise.
13437 * gdb.base/so-indr-cl.c: Remove.
13438 * gdb.base/so-indr-cl.exp: Likewise.
13439 * gdb.base/solib.c: Likewise.
13440 * gdb.base/solib.exp: Likewise.
13441 * gdb.base/solib2.c: Likewise.
13443 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
13445 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
13446 * gdb.base/call-ar-st.exp: Likewise.
13447 * gdb.base/callfuncs.exp: Likewise.
13448 * gdb.base/condbreak.exp: Likewise.
13449 * gdb.base/constvars.exp: Likewise.
13450 * gdb.base/hbreak2.exp: Likewise.
13451 * gdb.base/langs.exp: Likewise.
13452 * gdb.base/list.exp: Likewise.
13453 * gdb.base/long_long.exp: Likewise.
13454 * gdb.base/ptype.exp: Likewise.
13455 * gdb.base/scope.exp: Likewise.
13456 * gdb.base/signals.exp: Likewise.
13457 * gdb.base/so-impl-ld.exp: Likewise.
13458 * gdb.base/varargs.exp: Likewise.
13459 * gdb.base/volatile.exp: Likewise.
13460 * gdb.base/whatis.exp: Likewise.
13461 * gdb.cp/cplusfuncs.exp: Likewise.
13462 * gdb.cp/inherit.exp: Likewise.
13463 * gdb.cp/local.exp: Likewise.
13464 * gdb.cp/member-ptr.exp: Likewise.
13465 * gdb.cp/method.exp: Likewise.
13466 * gdb.cp/overload.exp: Likewise.
13467 * gdb.cp/templates.exp: Likewise.
13468 * gdb.stabs/weird.exp: Likewise.
13469 * lib/compiler.c: Likewise.
13470 * lib/compiler.cc: Likewise.
13471 * lib/cp-support.exp: Likewise.
13472 * lib/gdb.exp: Likewise.
13474 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
13476 * configure.ac: Remove HP-UX case.
13477 * configure: Regenerate.
13479 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
13481 * lib/gdb.exp (gdb_compile): Add function doc.
13483 2015-12-17 Pedro Alves <palves@redhat.com>
13486 * gdb.multi/info-threads.exp: New file.
13488 2015-12-15 Yao Qi <yao.qi@linaro.org>
13490 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
13493 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13495 * gdb.base/history-duplicates.exp: Skip if no readline support.
13497 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13499 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
13501 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13503 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
13505 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
13507 * gdb.base/completion.exp: Skip tests that interrupt GDB with
13508 ctrl-C if nointerrupts target property is set.
13509 * gdb.base/double-prompt-target-event-error.exp: Likewise.
13510 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
13511 * gdb.base/paginate-bg-execution.exp: Likewise.
13512 * gdb.base/paginate-execution-startup.exp: Likewise.
13513 * gdb.base/random-signal.exp: Likewise.
13514 * gdb.base/range-stepping.exp: Likewise.
13515 * gdb.cp/annota2.exp: Likewise.
13516 * gdb.cp/annota3.exp: Likewise.
13517 * gdb.gdb/selftest.exp: Likewise.
13518 * gdb.threads/continue-pending-status.exp: Likewise.
13519 * gdb.threads/leader-exit.exp: Likewise.
13520 * gdb.threads/manythreads.exp: Likewise.
13521 * gdb.threads/pthreads.exp: Likewise.
13522 * gdb.threads/schedlock.exp: Likewise.
13523 * gdb.threads/sigthread.exp: Likewise.
13525 2015-12-11 Don Breazeal <donb@codesourcery.com>
13527 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
13529 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
13530 * gdb.base/foll-exec.exp (main): Enable for target remote.
13531 * gdb.base/foll-fork.exp (main): Likewise.
13532 * gdb.base/foll-vfork.exp (main): Likewise.
13533 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
13534 (proc continue_to_exit_bp_loc): Use clean_restart.
13535 * gdb.base/pie-execl.exp (main): Disable for target remote.
13536 * gdb.base/watch-vfork.exp (main): Enable for target remote.
13537 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
13538 * gdb.threads/execl.exp (main): Likewise.
13539 * gdb.threads/fork-child-threads.exp (main): Likewise.
13540 * gdb.threads/fork-plus-threads.exp (main): Disable for target
13542 * gdb.threads/fork-thread-pending.exp (main): Enable for target
13544 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
13545 pid.tid style ptids, instead of just tid.
13546 * gdb.threads/thread-execl.exp (main): Enable for target remote.
13547 * gdb.threads/watchpoint-fork.exp (main): Likewise.
13548 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
13549 ptids, instead of just tid.
13551 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
13553 * gdb.base/list.exp (test_list_forward): Add end of file error
13555 (test_repeat_list_command): Add end of file error test.
13556 (test_list_backwards): Add beginning of file error test.
13558 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
13560 * gdb.base/list.exp (test_list_invalid_args): New function,
13561 defined, and called.
13563 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
13565 * gdb.base/list.exp (test_list): Make test names unique.
13567 2015-12-11 Yao Qi <yao.qi@linaro.org>
13569 * gdb.base/coremaker2.c: Remove.
13571 2015-12-10 Pedro Alves <palves@redhat.com>
13573 * gdb.multi/base.exp: Remove stale "spaces" references.
13575 2015-12-10 Pedro Alves <palves@redhat.com>
13577 * gdb.multi/base.exp: Don't use nowarnings.
13578 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
13579 * gdb.multi/hangout.c: Include stdio.h.
13580 * gdb.multi/hello.c: Include stdlib.h.
13581 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
13582 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
13583 * gdb.multi/multi-arch.exp: Don't use nowarnings.
13585 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
13587 * gdb.dwarf2/dw2-ranges-base.c: New file.
13588 * gdb.dwarf2/dw2-ranges-base.exp: New file.
13589 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
13590 support additional line table, and debug ranges generation.
13591 (Dwarf::ranges): New function, generate .debug_ranges.
13592 (Dwarf::lines): Support generating simple line table programs.
13593 (Dwarf::assemble): Initialise new namespace variables.
13595 2015-12-09 Kevin Buettner <kevinb@redhat.com>
13597 * gdb.base/async.exp (proc test_background): Add case for
13598 asynchronous execution not supported.
13600 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
13602 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
13603 format and change test names to make them unique.
13605 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
13606 Pedro Alves <pedro@redhat.com>
13609 Add checking of floatformats setup on x86_64 hosts.
13610 * gdb.arch/i386-float.S (main): Load bigval and smallval.
13611 (smallval, bigval): New labels/constants.
13612 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
13613 float" after loading bigval and smallval.
13615 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
13617 * gdb.ada/fun_overload_menu.exp: New testcase.
13618 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
13620 2015-12-04 Josh Stone <jistone@redhat.com>
13622 * gdb.base/catch-fork-static.exp: New.
13624 2015-12-03 Yao Qi <yao.qi@linaro.org>
13626 * gdb.base/sizeof.c: Don't include stdio.h and
13627 ../lib/unbuffer_output.c.
13628 (main): New variable 'size' and 'value'. Remove printf and
13629 gdb_unbuffer_output. Assign return value to size and value.
13630 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
13632 (check_sizeof): Check the result by printing variable 'size'.
13633 (check_valueof): Check the result by printing variable 'value'.
13635 2015-12-01 Yao Qi <yao.qi@linaro.org>
13637 * gdb.base/disp-step-syscall.exp: Define syscall instruction
13638 for aarch64*-*-linux* target.
13640 2015-11-30 Pedro Alves <palves@redhat.com>
13642 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
13644 2015-11-30 Pedro Alves <palves@redhat.com>
13646 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
13647 Handle non-stop mode vCont replies.
13649 2015-11-30 Pedro Alves <palves@redhat.com>
13651 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
13652 prepare_for_testing. Start gdb with "set non-stop on" appended to
13653 GDBFLAGS. Lax expected stop output.
13655 2015-11-27 Yao Qi <yao.qi@linaro.org>
13657 * gdb.arch/arm-neon.exp: New.
13658 * gdb.arch/arm-neon.c: New.
13660 2015-11-27 Yao Qi <yao.qi@linaro.org>
13662 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
13664 2015-11-27 Yao Qi <yao.qi@linaro.org>
13666 * gdb.cp/annota2.exp: Allow multiple occurrences of the
13667 frames-invalid annotation.
13669 2015-11-27 Yao Qi <yao.qi@linaro.org>
13671 * gdb.cp/annota2.exp: Use ${frames_invalid}.
13673 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
13675 * gdb.threads/names.exp: New file.
13676 * gdb.threads/names.c: New file.
13677 * README: Mention gdb,no_thread_names.
13679 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
13682 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
13685 2015-11-24 Pedro Alves <palves@redhat.com>
13688 * gdb.base/display.exp: Expect displays to be sorted in ascending
13689 order. Use multi_line.
13690 * gdb.base/solib-display.exp: Likewise.
13692 2015-11-24 Pedro Alves <palves@redhat.com>
13695 * gdb.base/display.exp: Expect displays to be sorted in ascending
13696 order. Use multi_line.
13697 * gdb.base/solib-display.exp: Likewise.
13699 2015-11-24 Pedro Alves <palves@redhat.com>
13702 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
13703 threads in ascending order.
13704 * gdb.base/foll-fork.exp: Likewise.
13705 * gdb.base/foll-vfork.exp: Likewise.
13706 * gdb.base/multi-forks.exp: Likewise.
13707 * gdb.mi/mi-nonstop.exp: Likewise.
13708 * gdb.mi/mi-nsintrall.exp: Likewise.
13709 * gdb.multi/base.exp: Likewise.
13710 * gdb.multi/multi-arch.exp: Likewise.
13711 * gdb.python/py-inferior.exp: Likewise.
13712 * gdb.threads/break-while-running.exp: Likewise.
13713 * gdb.threads/execl.exp: Likewise.
13714 * gdb.threads/gcore-thread.exp: Likewise.
13715 * gdb.threads/info-threads-cur-sal.exp: Likewise.
13716 * gdb.threads/kill.exp: Likewise.
13717 * gdb.threads/linux-dp.exp: Likewise.
13718 * gdb.threads/multiple-step-overs.exp: Likewise.
13719 * gdb.threads/next-bp-other-thread.exp: Likewise.
13720 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
13721 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
13722 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
13723 * gdb.threads/thread-find.exp: Likewise.
13724 * gdb.threads/tls.exp: Likewise.
13725 * lib/mi-support.exp (mi_reverse_list): Delete.
13726 (mi_check_thread_states): No longer reverse list.
13728 2015-11-24 Pedro Alves <palves@redhat.com>
13730 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
13733 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
13735 * gdb.trace/actions.c: Include trace-common.h.
13736 (main): Add a location for a fast tracepoint.
13737 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
13738 the normal tracepoints.
13739 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
13741 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
13743 * save-trace.exp: Factor out code to these...
13744 (gdb_save_tracepoints): New.
13745 (gdb_load_tracepoints): New.
13746 (do_save_load_test): New.
13748 2015-11-23 Kevin Buettner <kevinb@redhat.com>
13750 * gdb.base/asmlabel.exp: New test.
13751 * gdb.base/asmlabel.c: New test case.
13753 2015-11-23 Joel Brobecker <brobecker@adacore.com>
13755 * gdb.base/wrong_frame_bt_full-main.c: New file.
13756 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
13757 * gdb.base/wrong_frame_bt_full.exp: New file.
13759 2015-11-23 Joel Brobecker <brobecker@adacore.com>
13761 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
13763 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
13765 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
13766 pstate register when comparing registers values in
13767 sparc64-*-linux-gnu targets to avoid spurious differences.
13769 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
13771 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
13773 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
13775 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
13776 as type argument to gdb_compile.
13777 * gdb.base/nested-subp2.exp: Likewise.
13778 * gdb.base/nested-subp3.exp: Likewise.
13780 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
13782 * lib/dwarf.exp (_note): Fix left shift of negative value.
13783 * gdb.trace/trace-condition.exp: Likewise.
13785 2015-11-13 Yao Qi <yao.qi@linaro.org>
13787 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
13788 comments about d10v.
13789 (test_scalar_returns): Likewise.
13790 * gdb.base/d10v.ld: Remove.
13791 * gdb.base/overlays.exp: Remove the target triplet checking for
13793 * gdb.base/structs.exp (test_struct_returns): Remove the
13794 comments about d10v.
13795 (test_struct_calls): Likewise.
13797 2015-11-13 Yao Qi <yao.qi@linaro.org>
13799 * gdb.base/gnu_vector.exp: Check the return value by "p res".
13800 * gdb.base/gnu_vector.c: Don't include stdio.h.
13801 (main): Don't print res and call add_some_intvecs.
13803 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
13805 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
13808 (func4): Use FAST_TRACEPOINT_LABEL.
13809 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
13812 (thread_function): Use FAST_TRACEPOINT_LABEL.
13813 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
13815 (marker): Use FAST_TRACEPOINT_LABEL.
13816 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
13817 (pendfunc1): Remove.
13818 (pendfunc): Use FAST_TRACEPOINT_LABEL.
13819 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
13821 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
13822 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
13825 (marker): Use FAST_TRACEPOINT_LABEL.
13826 * gdb.trace/trace-common.h: New header.
13827 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
13830 (marker): Use FAST_TRACEPOINT_LABEL.
13831 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
13833 (thread_function): Use FAST_TRACEPOINT_LABEL.
13835 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
13837 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
13839 * gdb.trace/change-loc.exp: Use global pcreg definition.
13840 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
13841 * gdb.trace/entry-values.exp: Use global spreg definition, add $
13843 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
13844 * gdb.trace/pending.exp: Likewise.
13845 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
13846 * gdb.trace/trace-break.exp: Likewise.
13847 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
13849 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
13850 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
13852 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
13854 2015-11-09 Joel Brobecker <brobecker@adacore.com>
13856 * gdb.ada/fin_fun_out: New testcase.
13858 2015-11-07 Kevin Buettner <kevinb@redhat.com>
13860 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
13861 value associated with DW_AT_byte_size.
13862 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
13863 constants for DW_AT_byte_size, DW_AT_lower_bound, and
13866 2015-11-07 Kevin Buettner <kevinb@redhat.com>
13868 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
13869 (gdb_target_symbol_prefix_flags): Define in terms of _asm
13871 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
13872 gdb.dwarf2/dw2-canonicalize-type.exp,
13873 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
13874 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
13875 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
13876 provided by gdb_target_symbol_prefix_flags_asm.
13877 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
13878 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
13879 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
13880 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
13881 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
13882 macros where needed). Use this macro for symbols which require
13883 the prefix provided by SYMBOL_PREFIX.
13885 2015-11-05 Kevin Buettner <kevinb@redhat.com>
13887 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
13889 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
13890 representing expressions, of more than one list element.
13891 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
13892 to prepend linker symbol prefix to f.
13893 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
13894 table_1 and table_2.
13895 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
13896 Likewise, for f and g.
13897 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
13899 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
13901 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
13902 table_1_ptr and table_2_ptr.
13904 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13905 Joel Brobecker <brobecker@adacore.com>
13907 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
13909 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
13911 * gdb.reverse/s390-mvcle.c: New test.
13912 * gdb.reverse/s390-mvcle.exp: New file.
13913 * lib/gdb.exp: Enable reverse tests on s390*-linux.
13915 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
13917 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
13919 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
13921 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
13923 * gdb.reverse/getresuid-reverse.exp: Likewise.
13924 * gdb.reverse/pipe-reverse.exp: Likewise.
13925 * gdb.reverse/readv-reverse.exp: Likewise.
13926 * gdb.reverse/recvmsg-reverse.exp: Likewise.
13927 * gdb.reverse/time-reverse.exp: Likewise.
13928 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
13930 2015-10-30 Yao Qi <yao.qi@linaro.org>
13932 * gdb.threads/wp-replication.c (watch_count_done): Remove.
13933 (empty_cycle): Remove.
13934 (main): Don't call empty_cycle. Don't use watch_count_done.
13935 * gdb.threads/wp-replication.exp: Don't set breakpoint on
13936 empty_cycle. Rewrite the code counting HW watchpoints.
13938 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
13940 * gdb.reverse/fstatat-reverse.c: New test.
13941 * gdb.reverse/fstatat-reverse.exp: New file.
13942 * gdb.reverse/getresuid-reverse.c: New test.
13943 * gdb.reverse/getresuid-reverse.exp: New file.
13944 * gdb.reverse/pipe-reverse.c: New test.
13945 * gdb.reverse/pipe-reverse.exp: New file.
13946 * gdb.reverse/readv-reverse.c: New test.
13947 * gdb.reverse/readv-reverse.exp: New file.
13948 * gdb.reverse/recvmsg-reverse.c: New test.
13949 * gdb.reverse/recvmsg-reverse.exp: New file.
13950 * gdb.reverse/time-reverse.c: New test.
13951 * gdb.reverse/time-reverse.exp: New file.
13952 * gdb.reverse/waitpid-reverse.c: New test.
13953 * gdb.reverse/waitpid-reverse.exp: New file.
13955 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
13957 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
13959 2015-10-26 Doug Evans <dje@google.com>
13962 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
13963 * gdb.dwarf2/bad-regnum.c: New file.
13964 * gdb.dwarf2/bad-regnum.exp: New file.
13966 2015-10-26 Doug Evans <dje@google.com>
13969 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
13972 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13974 * gdb.compile/compile.exp (compile code globalvar): Update expectation
13975 for a change by "Mention language in compile error message".
13977 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
13980 * gdb.python/py-type.c (C::a_method): New.
13981 (C::a_const_method): New.
13982 (C::a_static_method): New.
13984 * gdb.python/py-type.exp (test_fields): Test getting fields
13985 from function and method.
13987 2015-10-21 Keven Boell <keven.boell@intel.com>
13989 * gdb.fortran/vla-alloc-assoc.exp: New file.
13990 * gdb.fortran/vla-datatypes.exp: New file.
13991 * gdb.fortran/vla-datatypes.f90: New file.
13992 * gdb.fortran/vla-history.exp: New file.
13993 * gdb.fortran/vla-ptype-sub.exp: New file.
13994 * gdb.fortran/vla-ptype.exp: New file.
13995 * gdb.fortran/vla-sizeof.exp: New file.
13996 * gdb.fortran/vla-sub.f90: New file.
13997 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
13998 * gdb.fortran/vla-value-sub-finish.exp: New file.
13999 * gdb.fortran/vla-value-sub.exp: New file.
14000 * gdb.fortran/vla-value.exp: New file.
14001 * gdb.fortran/vla-ptr-info.exp: New file.
14002 * gdb.mi/mi-vla-fortran.exp: New file.
14003 * gdb.mi/vla.f90: New file.
14005 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
14007 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
14008 of hardwired timeout value.
14010 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
14011 Pedro Alves <palves@redhat.com>
14013 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
14014 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
14016 2015-10-19 Josh Stone <jistone@redhat.com>
14018 * gdb.base/catch-syscall.c: Include <sched.h>.
14019 (unknown_syscall): New variable.
14020 (main): Trigger a vfork and an unknown syscall.
14021 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
14022 (unknown_syscall_number): Likewise.
14023 (check_call_to_syscall): Accept an optional syscall pattern.
14024 (check_return_from_syscall): Likewise.
14025 (check_continue): Likewise.
14026 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
14027 (test_catch_syscall_skipping_return): New test toggling off 'catch
14028 syscall' to step over the syscall return, then toggling back on.
14029 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
14030 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
14031 (do_syscall_tests): Call test_catch_syscall_without_args and
14032 test_catch_syscall_mid_vfork.
14033 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
14034 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
14036 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
14038 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
14039 print g_vE): Add new pass patterns.
14040 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
14041 print various symbol names for vptr fields.
14043 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
14045 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
14048 2015-10-12 Yao Qi <yao.qi@linaro.org>
14050 * gdb.arch/disp-step-insn-reloc.exp: New test case.
14052 2015-10-12 Yao Qi <yao.qi@linaro.org>
14054 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
14055 is aarch64*-*-linux*.
14057 2015-10-12 Yao Qi <yao.qi@linaro.org>
14059 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
14060 (can_relocate_bcond_true): ... it.
14061 (can_relocate_bcond_false): New function.
14063 (can_relocate_bl): Likewise.
14064 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
14067 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
14069 * gdb.base/nested-addr.c: New file.
14070 * gdb.base/nested-addr.exp: New testcase.
14072 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
14074 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
14075 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
14076 its output. Ignore the output of "record goto begin" and instead
14077 check that GDB is replaying.
14079 2015-10-09 Pedro Alves <palves@redhat.com>
14081 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
14082 (top level): Use it in the run with no args test.
14084 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
14086 * gdb.dlang/properties.exp: New file.
14088 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
14090 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
14091 whether or not address 0x1000 is mapped on the target.
14093 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
14095 * gdb.python/py-type.exp: Do not run tests if binaries fail to
14098 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
14100 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
14101 instruction-history test.
14103 2015-09-28 Doug Evans <dje@google.com>
14105 * gdb.base/gcore.c (array_func): Add reference to static_array.
14107 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
14109 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
14112 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
14114 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
14115 short or char as base type.
14117 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
14119 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
14120 to allow any size enum.
14122 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
14124 * gdb.ada/array_ptr_renaming.exp: New testcase.
14125 * gdb.ada/array_ptr_renaming/foo.adb: New file.
14126 * gdb.ada/array_ptr_renaming/pack.ads: New file.
14128 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
14130 * gdb.trace/ftrace-lock.c: New file.
14131 * gdb.trace/ftrace-lock.exp: New file.
14133 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
14135 * gdb.arch/insn-reloc.c: New file.
14136 * gdb.arch/ftrace-insn-reloc.exp: New file.
14138 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
14140 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
14142 * gdb.trace/pendshr1.c (pendfunc): Likewise.
14143 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
14144 * gdb.trace/range-stepping.c: Likewise.
14145 * gdb.trace/trace-break.c: Likewise.
14146 * gdb.trace/trace-mt.c (thread_function): Likewise.
14147 * gdb.trace/ftrace.c (marker): Likewise.
14148 * gdb.trace/trace-condition.c (marker): Likewise.
14149 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
14150 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
14153 2015-09-18 Doug Evans <xdje42@gmail.com>
14155 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
14156 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
14158 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14160 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
14163 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14165 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
14166 the pending breakpoint. Remove timeout override for "Run till
14167 MI pending breakpoint on pendfunc3 on thread 2" test.
14169 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14171 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
14174 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14176 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
14177 in breakpoint filename pattern.
14179 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14181 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
14183 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
14185 * gdb.linespec/explicit.exp: Check for readline support for
14186 tab-completion tests. Fix obvious typo.
14188 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
14190 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
14193 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
14195 * gdb.btrace/non-stop.c: New.
14196 * gdb.btrace/non-stop.exp: New.
14198 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
14199 Yao Qi <yao.qi@linaro.org>
14201 * gdb.trace/trace-condition.c: New file.
14202 * gdb.trace/trace-condition.exp: New file.
14204 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
14206 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
14207 for testing bytecode compilation.
14209 2015-09-16 Pedro Alves <palves@redhat.com>
14210 Sandra Loosemore <sandra@codesourcery.com>
14212 * gdb.threads/non-stop-fair-events.c (timeout): New global.
14213 (SECONDS): Redefine.
14214 (main): Call pthread_kill and alarm early.
14215 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
14217 (test): If the target can't hardware step and doesn't support
14218 displaced stepping, increase the timeout.
14220 2015-09-16 Pedro Alves <palves@redhat.com>
14222 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
14223 (enable_debug): New procedures.
14224 (test): Use them. Bail out if waiting for threads fails.
14225 (top level): Bail out if a test fails.
14227 2015-09-16 Yao Qi <yao.qi@linaro.org>
14229 * gdb.asm/asm-source.exp: Set asm-arch for
14230 aarch64*-*-* target.
14231 * gdb.asm/aarch64.inc: New file.
14233 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
14235 * gdb.ada/array_of_variable_length.exp: New testcase.
14236 * gdb.ada/array_of_variable_length/foo.adb: New file.
14237 * gdb.ada/array_of_variable_length/pck.adb: New file.
14238 * gdb.ada/array_of_variable_length/pck.ads: New file.
14240 2015-09-15 Doug Evans <dje@google.com>
14242 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
14243 of function static local variable.
14245 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
14247 * gdb.threads/tls-so_extern.exp: New test file.
14248 * gdb.threads/tls-so_extern.c: New test file.
14249 * gdb.threads/tls-so_extern_main.c: New test file.
14251 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14253 * gdb.opt/solib-intra-step-lib.c: New file.
14254 * gdb.opt/solib-intra-step-main.c: New file.
14255 * gdb.opt/solib-intra-step.exp: New file.
14257 2015-09-15 Pedro Alves <palves@redhat.com>
14259 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
14260 gdb_continue_to_breakpoint instead of gdb_test_multiple.
14262 2015-09-14 Pedro Alves <palves@redhat.com>
14264 * gdb.base/hook-stop-continue.c: Delete.
14265 * gdb.base/hook-stop-continue.exp: Delete.
14266 * gdb.base/hook-stop-frame.c: Delete.
14267 * gdb.base/hook-stop-frame.exp: Delete.
14268 * gdb.base/hook-stop.c: New file.
14269 * gdb.base/hook-stop.exp: New file.
14271 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
14273 * gdb.ada/access_to_packed_array.exp: New testcase.
14274 * gdb.ada/access_to_packed_array/foo.adb: New file.
14275 * gdb.ada/access_to_packed_array/pack.adb: New file.
14276 * gdb.ada/access_to_packed_array/pack.ads: New file.
14278 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
14280 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
14283 2015-09-11 Don Breazeal <donb@codesourcery.com>
14285 * gdb.base/foll-exec.c: Add copyright header. Fix
14287 * gdb.base/foll-exec.exp (zap_session): Delete proc.
14288 (do_exec_tests): Use clean_restart in place of zap_session,
14289 and for test initialization. Fix formatting issues. Use
14290 fail in place of perror.
14291 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
14292 an expect statement to match an expression with output from
14293 the program under debug.
14294 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
14295 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
14296 * gdb.threads/non-ldr-exc-2.exp: Likewise.
14297 * gdb.threads/non-ldr-exc-3.exp: Likewise.
14298 * gdb.threads/non-ldr-exc-4.exp: Likewise.
14300 2015-09-09 Doug Evans <dje@google.com>
14302 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
14304 2015-09-09 Doug Evans <dje@google.com>
14306 * gdb.base/pie-execl.exp: Fix result test of build_executable.
14308 2015-09-09 Doug Evans <dje@google.com>
14310 * gdb.base/savedregs.exp: Fix typo.
14312 2015-09-09 Pedro Alves <palves@redhat.com>
14314 * gdb.mi/mi-cli.exp: Add CLI finish tests.
14316 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
14318 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
14319 command actually switches threads. Give up on remaining
14320 tests if target fails to stop at breakpoint.
14322 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
14324 * gdb.ada/funcall_char.exp: New testcase.
14325 * gdb.ada/funcall_char/foo.adb: New file.
14327 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
14329 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
14330 expected outputs. Add two testcases for completing ambiguous
14332 * gdb.ada/complete/aux_pck.adb: New file.
14333 * gdb.ada/complete/aux_pck.ads: New file.
14334 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
14335 Ambiguous_Func functions.
14336 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
14337 * gdb.ada/complete/pck.adb: Likewise.
14339 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
14341 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
14342 failures to run the test program under GDB.
14344 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
14346 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
14349 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
14351 * gdb.base/run-after-attach.exp: New test file.
14352 * gdb.base/run-after-attach.c: New test file.
14354 2015-08-26 Don Breazeal <donb@codesourcery.com>
14356 * gdb.base/foll-exec-2.c: New test program.
14357 * gdb.base/foll-exec-2.exp: New test.
14359 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
14361 * gdb.base/nested-subp1.exp: New file.
14362 * gdb.base/nested-subp1.c: New file.
14363 * gdb.base/nested-subp2.exp: New file.
14364 * gdb.base/nested-subp2.c: New file.
14365 * gdb.base/nested-subp3.exp: New file.
14366 * gdb.base/nested-subp3.c: New file.
14368 2015-08-24 Pedro Alves <palves@redhat.com>
14370 * gdb.server/connect-without-multi-process.c: New file.
14371 * gdb.server/connect-without-multi-process.exp: New file.
14373 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
14375 * gdb.opt/inline-markers.c: Make z int.
14377 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
14379 * gdb.opt/inline-markers.c: Make z volatile.
14381 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
14383 * gdb.opt/inline-bt.c: New volatile global z.
14384 * gdb.opt/inline-cmds.c: Likewise.
14385 * gdb.opt/inline-locals.c: Likewise.
14386 * gdb.opt/inline-markers.c: New extern global z.
14388 (inline_fn): Likewise.
14390 2015-08-24 Pedro Alves <palves@redhat.com>
14392 * config/m32r-stub.exp: Remove file.
14393 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
14394 * gdb.base/call-rt-st.exp: Likewise.
14395 * gdb.base/call-strs.exp: Likewise.
14396 * gdb.base/default.exp: Remove references to h8300-*-hms and
14398 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
14400 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
14402 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
14403 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
14404 and "return" use KFAIL when GDB can not read/write the vector
14407 2015-08-21 Gary Benson <gbenson@redhat.com>
14409 * gdb.trace/pending.exp: Cope with remote transfer warnings.
14411 2015-08-20 Pedro Alves <palves@redhat.com>
14413 * gdb.server/solib-list.exp: No longer expect an interior stop in
14416 2015-08-20 Pedro Alves <palves@redhat.com>
14418 * gdb.server/connect-stopped-target.c: New file.
14419 * gdb.server/connect-stopped-target.exp: New file.
14421 2015-08-20 Pedro Alves <palves@redhat.com>
14423 * gdb.dwarf2/comp-unit-lang.exp: New file.
14424 * gdb.dwarf2/comp-unit-lang.c: New file.
14426 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
14428 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
14429 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
14431 2015-08-19 Kevin Buettner <kevinb@redhat.com>
14433 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
14434 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
14436 2015-08-18 Doug Evans <dje@google.com>
14437 Adrian Sendroiu <adrian.sendroiu@freescale.com>
14439 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
14440 skip_python_tests. New arg prompt_regexp.
14441 (skip_python_tests): New function.
14442 * lib/mi-support.exp (mi_skip_python_tests): New function.
14443 * gdb.python/py-mi-objfile-gdb.py: New file.
14444 * gdb.python/py-mi-objfile.c: New file.
14445 * gdb.python/py-mi-objfile.exp: New file.
14447 2015-08-17 Keith Seitz <keiths@redhat.com>
14449 * gdb.linespec/explicit.exp: Move strace test from here ...
14450 * gdb.trace/strace.exp: ... to here.
14452 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
14454 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
14455 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
14457 2015-08-14 Doug Evans <xdje42@gmail.com>
14459 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
14460 inferior before selecting a new file.
14462 2015-08-14 Doug Evans <xdje42@gmail.com>
14464 * gdb.mi/mi-disassemble.exp: Update.
14465 * gdb.base/disasm-optim.S: New file.
14466 * gdb.base/disasm-optim.c: New file.
14467 * gdb.base/disasm-optim.h: New file.
14468 * gdb.base/disasm-optim.exp: New file.
14470 2015-08-14 Keith Seitz <keiths@redhat.com>
14472 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
14475 2015-08-13 Joel Brobecker <brobecker@adacore.com>
14477 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
14479 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
14481 * gdb.ada/fun_renaming.exp: New testcase.
14482 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
14483 * gdb.ada/fun_renaming/pack.adb: New file.
14484 * gdb.ada/fun_renaming/pack.ads: New file.
14486 2015-08-12 Keith Seitz <keiths@redhat.com>
14488 * gdb.base/dso2dso.exp: Pass basename of source file in call to
14489 gdb_get_line_number.
14491 2015-08-12 Joel Brobecker <brobecker@adacore.com>
14493 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
14494 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
14495 gdb.base/dso2dso.exp: New files.
14497 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
14498 Pedro Alves <palves@redhat.com>
14499 Keith Seitz <keiths@redhat.com>
14501 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
14504 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
14506 * gdb.base/gdbhistsize-history.exp
14507 (test_histsize_history_setting): Use save_vars.
14508 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
14510 (test_no_truncation_of_unlimited_history_file): Use save_vars.
14511 * gdb.base/readline.exp: Use save_vars.
14513 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
14515 * lib/gdb.exp (save_vars): New proc.
14517 2015-08-11 Keith Seitz <keiths@redhat.com>
14519 * gdb.base/help.exp: Update help_breakpoint_text.
14521 2015-08-11 Keith Seitz <keiths@redhat.com>
14523 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
14524 (at toplevel): Call test_explicit_breakpoints.
14525 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
14527 * lib/mi-support.exp (mi_make_breakpoint): Add support for
14528 breakpoint conditions, "-cond".
14530 2015-08-11 Keith Seitz <keiths@redhat.com>
14532 * gdb.linespec/3explicit.c: New file.
14533 * gdb.linespec/cpexplicit.cc: New file.
14534 * gdb.linespec/cpexplicit.exp: New file.
14535 * gdb.linespec/explicit.c: New file.
14536 * gdb.linespec/explicit.exp: New file.
14537 * gdb.linespec/explicit2.c: New file.
14538 * gdb.linespec/ls-errs.exp: Add explicit location tests.
14539 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
14540 before using in the matching pattern.
14541 Clarify that `prefix' is a regular expression.
14543 2015-08-11 Keith Seitz <keiths@redhat.com>
14545 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
14547 Add tests for missing ",FMT" and ",".
14549 2015-08-10 Doug Evans <dje@google.com>
14550 Keith Seitz <keiths@redhat.com>
14553 * gdb.base/completion.exp: Add location completer tests.
14555 2015-08-07 Pedro Alves <palves@redhat.com>
14557 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
14559 (top level): Run do_test with and without displaced stepping.
14561 2015-08-07 Pedro Alves <palves@redhat.com>
14563 * gdb.base/valgrind-disp-step.c: New file.
14564 * gdb.base/valgrind-disp-step.exp: New file.
14566 2015-08-07 Pedro Alves <palves@redhat.com>
14568 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
14570 (main): Add alarm. Run an infinite loop instead of calling
14572 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
14574 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
14576 (main): Add alarm. Run an infinite loop instead of calling
14578 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
14581 2015-08-07 Pedro Alves <palves@redhat.com>
14583 * gdb.base/checkpoint-ns.exp: New file.
14584 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
14587 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
14589 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
14590 * gdb.btrace/instruction_history.exp: Update.
14591 * gdb.btrace/tsx.exp: New.
14592 * gdb.btrace/tsx.c: New.
14594 2015-08-06 Pedro Alves <palves@redhat.com>
14596 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
14598 * gdb.reverse/until-precsave.exp: Bump timeouts.
14600 2015-08-06 Pedro Alves <palves@redhat.com>
14602 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
14604 2015-08-06 Pedro Alves <palves@redhat.com>
14607 * gdb.threads/process-dies-while-handling-bp.c: New file.
14608 * gdb.threads/process-dies-while-handling-bp.exp: New file.
14610 2015-08-06 Pedro Alves <palves@redhat.com>
14612 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
14613 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
14615 2015-08-05 Pedro Alves <palves@redhat.com>
14617 * gdb.threads/next-while-other-thread-longjmps.c: New file.
14618 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
14620 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
14622 * gdb.base/bp-permanent.exp: Report test as unsupported if
14623 the target cannot stop at the permanent breakpoint.
14625 2015-08-03 Doug Evans <dje@google.com>
14627 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
14630 2015-08-03 Doug Evans <dje@google.com>
14632 * Makefile.in (workers/%.worker, build-perf): New rule.
14633 (GDB_PERFTEST_MODE): New variable.
14634 (check-perf): Use it.
14635 (clean): Clean up gdb.perf parallel build subdirs.
14636 * lib/build-piece.exp: New file.
14637 * lib/gdb.exp (make_gdb_parallel_path): New function
14638 (standard_output_file, standard_temp_file): Call it.
14639 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
14641 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
14643 2015-08-03 Doug Evans <dje@google.com>
14645 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
14646 (LOG_FILE_NAME): New global.
14647 (TextReporter.__init__): Initialize self.txt_sum.
14648 (TextReporter.report): Add support for multiple data-points.
14649 Move report to perftest.sum, put raw data in perftest.log.
14650 (TextReporter.start): Open sum and log files.
14651 (TextReporter.end): Close sum and log files.
14652 * gdb.perf/lib/perftest/testresult.py
14653 (SingleStatisticTestResult.record): Handle multiple data-points.
14655 2015-07-31 Pedro Alves <palves@redhat.com>
14657 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
14658 Use spawn_id_get_pid. Wait for spawn id after eof. Use
14659 kill_wait_spawned_process instead of explicit "kill -9".
14660 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
14661 returning a spawn id instead of a pid. Use spawn_id_get_pid and
14662 kill_wait_spawned_process.
14663 * gdb.base/attach-twice.exp: Likewise.
14664 * gdb.base/attach.exp: Likewise.
14665 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
14667 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
14668 returning a spawn id instead of a pid. Use spawn_id_get_pid and
14669 kill_wait_spawned_process.
14670 * gdb.base/valgrind-infcall.exp: Likewise.
14671 * gdb.multi/multi-attach.exp: Likewise.
14672 * gdb.python/py-prompt.exp: Likewise.
14673 * gdb.python/py-sync-interp.exp: Likewise.
14674 * gdb.server/ext-attach.exp: Likewise.
14675 * gdb.threads/attach-into-signal.exp (corefunc): Use
14676 spawn_wait_for_attach, spawn_id_get_pid and
14677 kill_wait_spawned_process.
14678 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
14679 spawn_wait_for_attach returning a spawn id instead of a pid. Use
14680 spawn_id_get_pid and kill_wait_spawned_process.
14681 * gdb.threads/attach-stopped.exp (corefunc): Use
14682 spawn_wait_for_attach, spawn_id_get_pid and
14683 kill_wait_spawned_process.
14684 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
14685 Use spawn_id_get_pid. Wait for spawn id after eof. Use
14686 kill_wait_spawned_process instead of explicit "kill -9".
14687 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
14688 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
14689 (spawn_wait_for_attach): Use spawn instead of exec to spawn
14690 processes. Don't map cygwin/windows pids here. Now returns a
14693 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
14695 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
14696 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
14699 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
14701 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
14703 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
14706 2014-05-21 Mark Wielaard <mjw@redhat.com>
14708 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
14710 2015-07-30 Pedro Alves <palves@redhat.com>
14712 * linux-low.c (handle_extended_wait): Set the child's last
14713 reported status to TARGET_WAITKIND_STOPPED.
14715 2015-07-30 Pedro Alves <palves@redhat.com>
14718 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
14719 only shows inferior 1.
14721 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
14722 Pedro Alves <palves@redhat.com>
14725 * gdb.threads/fork-plus-threads.c: New file.
14726 * gdb.threads/fork-plus-threads.exp: New file.
14728 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14730 * gdb.base/batch-preserve-term-settings.exp
14731 (test_terminal_settings_preserved_after_cli_exit): Use
14734 2015-07-29 Pedro Alves <palves@redhat.com>
14735 Don Breazeal <donb@codesourcery.com>
14737 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
14738 output from both inferior_spawn_id and gdb_spawn_id.
14740 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
14742 * gdb.threads/attach-into-signal.exp (corefunc): Use
14743 with_test_prefix on nested loops, uniquefying the test messages.
14745 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
14747 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
14750 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14752 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
14754 (test_terminal_settings_preserved_after_sigterm): New test.
14756 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14758 * gdb.base/batch-preserve-term-settings.exp
14759 (test_terminal_settings_preserved_after_cli_exit): New test.
14761 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
14763 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
14764 manipulation of saved_gdbflags.
14765 (test_terminal_settings_preserved): Remove global declaration of
14766 the unused variable pagination_prompt. Remove manipulation of
14767 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
14770 2015-07-29 Pedro Alves <palves@redhat.com>
14772 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
14774 2015-07-29 Pedro Alves <palves@redhat.com>
14776 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
14779 2015-07-29 Pedro Alves <palves@redhat.com>
14781 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
14782 (main): Call gdb_unbuffer_output.
14783 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
14784 (main): Call gdb_unbuffer_output.
14785 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
14786 (main): Call gdb_unbuffer_output.
14787 * gdb.base/call-strs.exp: Adjust to step over the
14788 gdb_unbuffer_output call.
14789 * gdb.base/catch-gdb-caused-signals.c: Include
14790 "../lib/unbuffer_output.c".
14791 (main): Call gdb_unbuffer_output.
14792 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
14793 (main): Call gdb_unbuffer_output.
14794 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
14795 (main): Call gdb_unbuffer_output.
14796 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
14797 (main): Call gdb_unbuffer_output.
14798 * gdb.base/shlib-call.exp: Adjust to step over the
14799 gdb_unbuffer_output call.
14800 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
14801 (main): Call gdb_unbuffer_output.
14802 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
14803 (main): Call gdb_unbuffer_output.
14804 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
14805 (main): Rename to ...
14807 (main): Reimplement.
14808 * gdb.base/varargs.exp: Run to test instead of to main.
14809 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
14810 (main): Call gdb_unbuffer_output.
14812 2015-07-29 Pedro Alves <palves@redhat.com>
14814 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
14815 factore out from mi_continue_dprintf. For call-style dprintfs,
14816 expect dprintf output out of $inferior_spawn_id.
14817 (mi_continue_dprintf): Use mi_expect_dprintf.
14818 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
14819 (main): Call gdb_unbuffer_output.
14821 2015-07-29 Pedro Alves <palves@redhat.com>
14823 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
14824 (default_mi_gdb_start): Set inferior_spawn_id instead of
14825 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
14827 (mi_gdb_test): Always expect inferior output from both
14828 $inferior_spawn_id and $gdb_spawn_id.
14830 2015-07-29 Pedro Alves <palves@redhat.com>
14832 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
14833 send_inferior and $inferior_spawn_id.
14835 2015-07-29 Pedro Alves <palves@redhat.com>
14837 * gdb.gdb/complaints.exp (test_initial_complaints)
14838 (test_serial_complaints, test_short_complaints): Use
14840 (test_empty_complaint): Handle $inferior_spawn_id !=
14843 2015-07-29 Pedro Alves <palves@redhat.com>
14845 * gdb.base/varargs.exp: Use gdb_test_stdio.
14847 2015-07-29 Pedro Alves <palves@redhat.com>
14849 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
14851 2015-07-29 Pedro Alves <palves@redhat.com>
14853 * gdb.base/ending-run.exp: Use gdb_test_stdio.
14855 2015-07-29 Pedro Alves <palves@redhat.com>
14857 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
14858 parameter into two new parameters, "inf_result" and "gdb_result".
14859 Expect inferior output and gdb output from $inferior_spawn_id and
14860 $gdb_spawn_id, respectively. Adjust all callers.
14862 2015-07-29 Pedro Alves <palves@redhat.com>
14864 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
14865 of gdb_test_sequence.
14867 2015-07-29 Pedro Alves <palves@redhat.com>
14869 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
14870 (saw_spurious_output): Expect inferior output from
14871 $inferior_spawn_id. Use gdb_test_stdio.
14873 2015-07-29 Pedro Alves <palves@redhat.com>
14875 * gdb.base/dprintf.exp: Use standard_testfile. Change
14876 prepare_for_testing call.
14877 (srcfile): Don't set.
14878 (restart): New procedure.
14879 (test_dprintf): New procecure, use to continue over dprintfs.
14880 (test_call, test_agent): New procedures, tests moved here.
14881 Restart gdb and recreate dprintfs. Adjust expected output.
14883 2015-07-29 Pedro Alves <palves@redhat.com>
14885 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
14887 2015-07-29 Pedro Alves <palves@redhat.com>
14889 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
14891 2015-07-29 Pedro Alves <palves@redhat.com>
14893 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
14896 2015-07-29 Pedro Alves <palves@redhat.com>
14898 * lib/gdb.exp (gdb_test_stdio): New procedure.
14900 2015-07-29 Pedro Alves <palves@redhat.com>
14902 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
14904 2015-07-29 Pedro Alves <palves@redhat.com>
14906 * gdb.base/call-signal-resume.exp: Remove check for
14907 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
14908 * gdb.base/unwindonsignal.exp: Likewise.
14909 * gdb.base/call-signals.c (gen_signal): Remove printf call.
14910 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
14912 2015-07-29 Pedro Alves <palves@redhat.com>
14914 * gdb.base/siginfo-addr.c (pass): New function.
14915 (handler): Call it iff si_addr is correct.
14916 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
14917 Set a breakpoint at "pass" and continue to it.
14919 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
14921 * gdb.python/py-objfile.exp: Make some tests have unique names.
14922 * gdb.python/py-pp-registration.exp: Likewise.
14924 2015-07-28 Pedro Alves <palves@redhat.com>
14926 * gdb.server/server-exec-info.exp: Issue a "disconnect".
14928 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
14930 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
14932 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
14934 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
14936 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
14938 * gdb.base/gdb-sigterm-2.exp: New test.
14940 2015-07-25 Doug Evans <xdje42@gmail.com>
14943 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
14944 (workers/%.worker, build-perf): New rule.
14945 (GDB_PERFTEST_MODE): New variable.
14946 (check-perf): Use it.
14947 (clean): Clean up gdb.perf parallel build subdirs.
14948 * lib/build-piece.exp: New file.
14949 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
14950 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
14952 (standard_temp_file): Ditto.
14953 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
14956 2015-07-24 Doug Evans <dje@google.com>
14958 * gdb.perf/lib/perftest/utils.py: New file.
14959 * gdb.perf/gm-hello.cc: New file.
14960 * gdb.perf/gm-pervasive-typedef.cc: New file.
14961 * gdb.perf/gm-pervasive-typedef.h: New file.
14962 * gdb.perf/gm-std.cc: New file.
14963 * gdb.perf/gm-std.h: New file.
14964 * gdb.perf/gm-use-cerr.cc: New file.
14965 * gdb.perf/gm-utils.h: New file.
14966 * gdb.perf/gmonster-null-lookup.py: New file.
14967 * gdb.perf/gmonster-pervasive-typedef.py: New file.
14968 * gdb.perf/gmonster-print-cerr.py: New file.
14969 * gdb.perf/gmonster-ptype-string.py: New file.
14970 * gdb.perf/gmonster-runto-main.py: New file.
14971 * gdb.perf/gmonster-select-file.py: New file.
14972 * gdb.perf/gmonster1-null-lookup.exp: New file.
14973 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
14974 * gdb.perf/gmonster1-print-cerr.exp: New file.
14975 * gdb.perf/gmonster1-ptype-string.exp: New file.
14976 * gdb.perf/gmonster1-runto-main.exp: New file.
14977 * gdb.perf/gmonster1-select-file.exp: New file.
14978 * gdb.perf/gmonster1.cc: New file.
14979 * gdb.perf/gmonster1.exp: New file.
14980 * gdb.perf/gmonster2-null-lookup.exp: New file.
14981 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
14982 * gdb.perf/gmonster2-print-cerr.exp: New file.
14983 * gdb.perf/gmonster2-ptype-string.exp: New file.
14984 * gdb.perf/gmonster2-runto-main.exp: New file.
14985 * gdb.perf/gmonster2-select-file.exp: New file.
14986 * gdb.perf/gmonster2.cc: New file.
14987 * gdb.perf/gmonster2.exp: New file.
14989 2015-07-24 Doug Evans <dje@google.com>
14991 * gdb.perf/README: New file.
14992 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
14993 * lib/gen-perf-test.exp: New file.
14995 2015-07-24 Doug Evans <dje@google.com>
14997 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
14998 (PerfTest::startup): New function.
14999 (PerfTest::run): Return result of calling body.
15000 (PerfTest::assemble): Rewrite.
15001 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
15002 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
15003 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
15004 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
15005 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
15007 2015-07-24 Doug Evans <dje@google.com>
15009 * lib/gdb.exp (clean_restart): Make executable optional.
15011 2015-07-24 Doug Evans <dje@google.com>
15013 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
15014 compiler_info references.
15015 * gdb.cp/temargs.exp: Ditto.
15016 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
15017 (get_compiler_info): Early exit if already computed. Set compiler_info
15018 to "unknown" if there was a problem.
15019 (test_compiler_info): Add function comment. Call get_compiler_info.
15021 2015-07-24 Doug Evans <dje@google.com>
15023 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
15024 (workers/%.worker, build-perf): New rule.
15025 (GDB_PERFTEST_MODE): New variable.
15026 (check-perf): Use it.
15027 (clean): Clean up gdb.perf parallel build subdirs.
15028 * lib/build-piece.exp: New file.
15029 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
15030 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
15032 (standard_temp_file): Ditto.
15033 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
15036 2015-07-24 Doug Evans <dje@google.com>
15038 * lib/future.exp (gdb_default_target_compile): New option
15040 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
15043 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
15045 * gdb.base/catch-syscall.exp: Call gdb_exit before
15048 2015-07-24 Pedro Alves <palves@redhat.com>
15050 * gdb.python/py-events.exp: Accept output between the stop event
15052 * gdb.python/py-evsignal.exp: Likewise.
15053 * gdb.python/py-evthreads.exp: Likewise.
15055 2015-07-24 Pedro Alves <palves@redhat.com>
15058 * gdb.threads/non-ldr-exit.c: New file.
15059 * gdb.threads/non-ldr-exit.exp: New file.
15061 2015-07-24 Yao Qi <yao.qi@linaro.org>
15063 * gdb.server/ext-wrapper.exp: Test --wrapper option when
15064 restarting process.
15066 2015-07-24 Yao Qi <yao.qi@linaro.org>
15068 * gdb.server/ext-restart.exp: New file.
15070 2015-07-24 Yao Qi <yao.qi@linaro.org>
15072 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
15074 * gdb.server/ext-wrapper.exp: New file.
15076 2015-07-23 Doug Evans <dje@google.com>
15078 * gdb.dwarf2/dw2-dummy-cu.S: New file.
15079 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
15081 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
15083 * gdb.ada/var_arr_typedef.exp: New testcase.
15084 * gdb.ada/var_arr_typedef/pack.adb: New file.
15085 * gdb.ada/var_arr_typedef/pack.ads: New file.
15086 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
15088 2015-07-20 Joel Brobecker <brobecker@adacore.com>
15090 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
15092 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15094 * gdb.arch/i386-biarch-core.exp: Replace istarget
15095 by "complete set gnutarget". Remove expectation for the "core-file"
15098 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15100 Revert the previous commit:
15101 Tests for validate symbol file using build-id.
15103 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
15105 Tests for validate symbol file using build-id.
15106 * gdb.base/solib-mismatch-lib.c: New file.
15107 * gdb.base/solib-mismatch-libmod.c: New file.
15108 * gdb.base/solib-mismatch.c: New file.
15109 * gdb.base/solib-mismatch.exp: New file.
15111 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
15113 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
15115 * gdb.base/sigbpt.exp (stepi_out): Likewise.
15116 * gdb.base/siginfo.exp: Likewise.
15117 * gdb.base/sigstep.exp (advance, advancei): Likewise.
15119 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
15121 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
15123 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
15125 * gdb.trace/range-stepping.exp: Check that the target supports
15128 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
15130 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
15132 2015-07-14 Pedro Alves <palves@redhat.com>
15134 * gdb.base/killed-outside.exp: New file.
15135 * gdb.base/killed-outside.c: New file.
15137 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15139 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
15141 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
15143 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
15145 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
15146 infcall tests instead of setting up for KFAIL.
15148 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
15150 * gdb.btrace/record_goto-step.exp: New.
15152 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
15155 * gdb.compile/compile.c (struct struct_type): Add volatile to
15157 * gdb.compile/compile.exp
15158 (compile code struct_object.selffield = &struct_object): Skip further
15159 struct_object tests if this one xfails.
15161 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
15164 * gdb.trace/ax.exp: Add test.
15166 2015-07-07 Yao Qi <yao.qi@linaro.org>
15168 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
15169 instead of istarget "aarch64*-*-*".
15170 * gdb.arch/aarch64-fp.exp: Likewise.
15171 * gdb.base/float.exp: Likewise.
15172 * gdb.reverse/aarch64.exp: Likewise.
15173 * lib/gdb.exp (is_aarch64_target): New proc.
15175 2015-07-07 Yao Qi <yao.qi@linaro.org>
15177 * lib/gdb.exp (is_aarch32_target): New proc.
15178 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
15179 instead of "istarget "arm*-*-*"".
15180 * gdb.arch/arm-disp-step.exp: Likewise.
15181 * gdb.arch/thumb-bx-pc.exp: Likewise.
15182 * gdb.arch/thumb-prologue.exp: Likewise.
15183 * gdb.arch/thumb-singlestep.exp: Likewise.
15184 * gdb.base/disp-step-syscall.exp: Likewise.
15185 * gdb.base/float.exp: Likewise.
15187 2015-07-07 Yao Qi <yao.qi@linaro.org>
15189 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
15190 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
15192 2015-07-07 Yao Qi <yao.qi@linaro.org>
15194 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
15195 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
15197 * gdb.multi/multi-arch.exp: Likewise.
15199 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
15201 * gdb.python/py-lazy-string.exp: Add missing parentheses to
15204 2015-07-07 Yao Qi <yao.qi@linaro.org>
15206 * gdb.arch/thumb-singlestep.exp: Do one more single step.
15208 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
15210 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
15211 '[' and ']' characters.
15213 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
15215 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
15217 2015-06-29 Pedro Alves <palves@redhat.com>
15220 * gdb.threads/hand-call-new-thread.c: New file.
15221 * gdb.threads/hand-call-new-thread.c: New file.
15223 2015-06-26 Keith Seitz <keiths@redhat.com>
15224 Doug Evans <dje@google.com>
15227 * gdb.cp/var-tag-2.cc: New file.
15228 * gdb.cp/var-tag-3.cc: New file.
15229 * gdb.cp/var-tag-4.cc: New file.
15230 * gdb.cp/var-tag.cc: New file.
15231 * gdb.cp/var-tag.exp: New file.
15233 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
15235 * gdb.base/history-duplicates.exp: New test.
15237 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
15239 * gdb.base/completion.exp: Test the completion of the "focus"
15242 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
15244 * gdb.arch/amd64-prologue-skip.S: New file.
15245 * gdb.arch/amd64-prologue-skip.exp: New file.
15247 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
15249 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
15250 is_address_zero_readable check.
15252 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
15254 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
15255 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
15257 2015-06-24 Yao Qi <yao.qi@linaro.org>
15259 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
15262 2015-06-24 Yao Qi <yao.qi@linaro.org>
15264 * lib/gdb.exp (supports_get_siginfo_type): New proc.
15265 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
15266 * gdb.base/siginfo-thread.exp: Likewise.
15268 2015-06-22 Yao Qi <yao.qi@linaro.org>
15270 * boards/remote-gdbserver-on-localhost.exp: Add comments.
15272 2015-06-22 Yao Qi <yao.qi@linaro.org>
15274 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
15276 (skip_hw_watchpoint_tests): Likewise.
15278 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
15280 * gdb.base/gdbinit-history.exp: Test the interaction between
15281 setting GDBHISTSIZE and setting the history size via .gdbinit.
15283 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
15286 * gdb.base/gdbhistsize-history.exp: New test.
15288 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
15290 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
15292 * gdb.base/readline.exp: Likewise.
15294 2015-06-17 Yao Qi <yao.qi@linaro.org>
15296 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
15299 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
15301 * gdb.base/gdbinit-history.exp: Add test case to check that
15302 an unlimited history file does not get truncated on exit.
15304 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
15306 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
15307 (VECTOR): New macro. Use it...
15308 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
15309 ...for these typedefs.
15310 (int8, char1, int1, double1): New typedefs.
15311 (struct just_int2, struct two_int2): New structures.
15312 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
15313 (add_structvecs, add_singlevecs): New functions.
15314 (main): Call add_some_intvecs twice.
15315 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
15316 the compile and exit upon failure. Try compiling for the "native"
15317 architecture. Test inferior function calls with vector arguments
15318 and vector return value handling with "finish" and "return".
15320 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
15322 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
15323 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
15325 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
15327 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
15329 PR breakpoints/16465
15330 * gdb.mi/mi-dprintf-pending.c: New file.
15331 * gdb.mi/mi-dprintf-pending.exp: New test.
15332 * gdb.mi/mi-dprintf-pendshr.c: New file.
15334 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
15335 Mircea Gherzan <mircea.gherzan@intel.com>
15337 * gdb.arch/i386-mpx-map.c: New file.
15338 * gdb.arch/i386-mpx-map.exp: New File.
15340 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
15342 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
15343 * gdb.arch/i386-mpx.exp: Indentation fixed.
15345 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
15347 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
15348 function and improved indentation.
15349 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
15350 gdb_test_multiple. Added additional tests to skip the test.
15352 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
15354 * gdb.arch/i386-avx512.c: Change path in include file.
15355 * gdb.arch/i386-avx512.exp: Change include dir path
15357 * gdb.arch/i386-mpx.c: Change path in include file.
15358 * gdb.arch/i386-mpx.exp: Change include dir path compilation
15361 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
15363 * gdb.compile/compile-print.exp (compile print *vararray@3)
15364 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
15366 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
15368 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
15369 (do not keep jit in memory): ... this.
15370 (expect 5): Change it to ...
15371 (expect no 5): ... this.
15373 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
15376 * gdb.mi/mi-detach.exp: New file.
15378 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
15381 * gdb.arch/amd64-tailcall-self.S: New file.
15382 * gdb.arch/amd64-tailcall-self.c: New file.
15383 * gdb.arch/amd64-tailcall-self.exp: New file.
15385 2015-05-28 Don Breazeal <donb@codesourcery.com>
15387 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
15388 tests for remote targets by checking is_target_gdbserver.
15390 2015-05-27 Doug Evans <dje@google.com>
15392 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
15393 * gdb.dwarf2/opaque-type-lookup.c: New file.
15394 * gdb.dwarf2/opaque-type-lookup.exp: New file.
15396 2015-05-26 Doug Evans <dje@google.com>
15398 * gdb.cp/iostream.cc: New file.
15399 * gdb.cp/iostream.exp: New file.
15401 2015-05-26 Doug Evans <dje@google.com>
15403 * gdb.dwarf2/dw2-op-call.exp: Update.
15404 * gdb.dwarf2/dw4-sig-types.exp: Update.
15405 * gdb.dwarf2/implptr.exp: Update.
15406 * gdb.mi/mi-cmd-param-changed.exp: Update.
15408 2015-05-26 Doug Evans <dje@google.com>
15410 * gdb.python/py-lazy-string.c: New file.
15411 * gdb.python/py-lazy-string.exp: New file.
15412 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
15413 (main): Update. Add estring3.
15414 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
15415 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
15417 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
15418 Yao Qi <yao.qi@linaro.org>
15420 * gdb.reverse/aarch64.c: New.
15421 * gdb.reverse/aarch64.exp: New.
15423 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
15425 * lib/gdb.exp (supports_process_record): Return true for
15427 (supports_reverse): Likewise.
15429 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
15431 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
15432 Use with_test_prefix.
15434 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
15436 * gdb.base/completion.exp: Add test for completion of layout
15439 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
15441 * lib/gdb.exp (skip_tui_tests): New proc.
15442 * gdb.base/tui-layout.exp: Check skip_tui_tests.
15444 2015-05-19 Pedro Alves <palves@redhat.com>
15446 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
15447 Save the whole env array instead of just HOME. Unset HISTSIZE in
15448 the environment while testing. Restore whole environment
15451 2015-05-16 Doug Evans <xdje42@gmail.com>
15453 * gdb.guile/scm-ports.c: New file.
15454 * gdb.guile/scm-ports.exp: Add memory port tests.
15456 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15458 * gdb.compile/compile-print.c: New file.
15459 * gdb.compile/compile-print.exp: New file.
15461 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15463 * gdb.compile/compile-ops.exp: Cast param to void.
15464 * gdb.compile/compile.exp: Complete type for _gdb_expr.
15465 (compile code struct_object.selffield = &struct_object): Add xfail.
15467 2015-05-15 Joel Brobecker <brobecker@adacore.com>
15469 * gdb.ada/arr_enum_with_gap: New testcase.
15471 2015-05-15 Joel Brobecker <brobecker@adacore.com>
15473 * gdb.ada/byte_packed_arr: New testcase.
15475 2015-05-15 Joel Brobecker <brobecker@adacore.com>
15477 * gdb.ada/pckd_neg: New testcase.
15479 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
15482 * gdb.base/gdbinit-history.exp: New test.
15483 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
15484 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
15486 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
15488 * gdb.python/py-xmethods.cc: Enhance test case.
15489 * gdb.python/py-xmethods.exp: New tests.
15490 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
15492 (B_indexoper): Likewise.
15493 (global_dm_list) : Add new xmethod worker functions.
15495 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
15497 * gdb.base/coredump-filter.exp: Correctly unset
15498 "coredump_var_addr" array.
15500 2015-05-08 Pedro Alves <palves@redhat.com>
15502 * gdb.server/non-existing-program.exp: Unset spawn_id.
15504 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
15507 * gdb.python/py-xmethods.exp: Add tests.
15509 2015-05-08 Yao Qi <yao.qi@linaro.org>
15512 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
15513 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
15514 function set_coredump_filter, and remove remote_exec call.
15515 Remove argument ipid. Callers update.
15516 (top level): Don't get inferior's PID.
15518 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
15520 * gdb.base/watch_thread_num.exp: Skip test on targets without
15521 access watchpoints.
15523 2015-05-06 Pedro Alves <palves@redhat.com>
15526 * gdb.server/non-existing-program.exp: New file.
15528 2015-05-05 Joel Brobecker <brobecker@adacore.com>
15530 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
15532 2015-05-05 Joel Brobecker <brobecker@adacore.com>
15534 * gdb.ada/out_of_line_in_inlined: New testcase.
15536 2015-05-05 Joel Brobecker <brobecker@adacore.com>
15538 * gdb.ada/var_rec_arr: New testcase.
15540 2015-04-30 Yao Qi <yao.qi@linaro.org>
15542 * gdb.base/break-idempotent.exp: If
15543 skip_hw_watchpoint_multi_tests returns true, skip the tests
15544 on "rwatch" and "awatch".
15546 2015-04-30 Yao Qi <yao.qi@linaro.org>
15548 * gdb.base/relativedebug.exp: Invoke gdb command
15549 "info sharedlibrary", and if libc.so doesn't have debug info,
15552 2015-04-29 Doug Evans <dje@google.com>
15554 * gdb.python/py-xmethods.exp: Add ptype tests.
15555 * gdb.python/py-xmethods.py (E_method_char_worker): Add
15556 get_result_type method.
15558 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
15560 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
15561 the target does not support hardware watchpoints.
15563 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
15565 * gdb.base/break-always.exp: Abort testing if writing to memory
15568 2015-04-28 Doug Evans <dje@google.com>
15570 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
15571 * gdb.python/py-pp-registration.exp: ... here. New file.
15572 * gdb.python/py-pp-registration.c: New file.
15573 * gdb.python/py-pp-registration.py: New file.
15575 2015-04-28 Doug Evans <dje@google.com>
15577 * gdb.python/py-bad-printers.c: New file.
15578 * gdb.python/py-bad-printers.py: New file.
15579 * gdb.python/py-bad-printers.exp: New file.
15581 2015-04-28 Sasha Smundak <asmundak@google.com>
15583 * gdb.python/py-type.exp: New test.
15585 2015-04-28 Andy Wingo <wingo@igalia.com>
15587 * gdb.python/py-parameter.exp:
15588 * gdb.guile/scm-parameter.exp: Escape the path that we are
15589 matching against, as it might contain characters that are special
15590 to regular expressions.
15592 2015-04-27 Joel Brobecker <brobecker@adacore.com>
15594 * gdb.ada/rec_comp: New testcase.
15596 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
15598 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
15601 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
15603 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
15604 new tests for verilog output.
15606 2015-04-24 Yao Qi <yao.qi@linaro.org>
15608 * boards/remote-gdbserver-on-localhost.exp: New file.
15610 2015-04-23 Pedro Alves <palves@redhat.com>
15612 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
15613 $inferior_spawn_id instead of $inferior_spawn_id directly. On
15614 "end of file", remove $inferior_spawn_id from the indirect list.
15616 2015-04-23 Pedro Alves <palves@redhat.com>
15618 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
15620 2015-04-23 Pedro Alves <palves@redhat.com>
15622 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
15623 on $any_spawn_id instead of only on $gdb_spawn_id.
15625 2015-04-21 Pierre Muller <muller@sourceware.org>
15628 * lib/pascal.exp (gpc_compile): Add new option "class".
15629 (fpc_compile): Likewise.
15630 * gdb.pascal/case-insensitive-symbols.pas: New file.
15631 * gdb.pascal/case-insensitive-symbols.exp: New file.
15633 2015-04-20 Gary Benson <gbenson@redhat.com>
15635 * gdb.base/attach.exp: Fix three extended remote failures.
15637 2015-04-17 Gary Benson <gbenson@redhat.com>
15639 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
15640 the main executable over the remote protocol.
15642 2015-04-16 Pedro Alves <palves@redhat.com>
15644 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
15645 a new gdbserver if gdbserver_reconnect_p is set.
15647 2015-04-16 Pedro Alves <palves@redhat.com>
15649 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
15650 is set, don't exit gdbserver.
15652 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
15654 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
15655 appropriate .insn, such that an older assembler can be used.
15656 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
15657 the z/Architecture instruction set on 31-bit targets as well.
15659 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
15661 * gdb.go/handcall.exp: Remove all logic related to the first
15662 breakpoint and rely on go_runto_main instead.
15663 * gdb.go/strings.exp: Likewise.
15664 * gdb.go/unsafe.exp: Likewise.
15665 * gdb.go/hello.exp: Likewise. Also rename the remaining
15666 breakpoint marker to "breakpoint 1".
15667 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
15668 * gdb.go/strings.go: Likewise.
15669 * gdb.go/unsafe.go: Likewise.
15670 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
15671 "set breakpoint 2 here" and rename the remaining breakpoint marker
15674 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
15676 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
15677 if itertools.imap is not present.
15678 * gdb.python/py-objfile.exp: Add parentheses.
15679 * gdb.python/py-type.exp: Same.
15680 * gdb.python/py-unwind-maint.py: Same.
15682 2015-04-15 Yao Qi <yao.qi@linaro.org>
15684 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
15685 of ":$ptr_size" and set its form explicitly.
15687 2015-04-15 Pedro Alves <palves@redhat.com>
15688 Yao Qi <yao.qi@linaro.org>
15690 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
15691 timeout by factor of 4.
15692 (test_regular_watch): Likewise.
15693 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
15694 * gdb.reverse/sigall-reverse.exp: Likewise.
15695 * gdb.reverse/until-precsave.exp: Likewise.
15696 * lib/gdb.exp (with_timeout_factor): New proc.
15697 (gdb_expect): Move some code to ...
15698 (get_largest_timeout): ... here. New procedure.
15700 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
15702 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
15704 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
15706 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
15707 to write to the .text section.
15709 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
15711 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
15712 Handle the case of targets that do not provide PID information.
15714 2015-04-13 Yao Qi <yao.qi@linaro.org>
15716 * lib/gdbserver-support.exp (gdb_exit): Catch exception
15717 and use expect instead of gdb_expect.
15719 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
15721 * gdb.base/coredump-filter.exp: Rename variable "addr" to
15722 "coredump_var_addr" to avoid naming conflict with other testcases.
15724 2015-04-10 Pedro Alves <palves@redhat.com>
15726 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
15727 gdb_test_sequence and gdb_assert.
15729 2015-04-10 Pedro Alves <palves@redhat.com>
15731 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
15732 test messages that don't include the breakpoint address.
15734 2015-04-10 Yao Qi <yao.qi@linaro.org>
15736 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
15737 false for some offset and width combinations which aren't
15738 supported by linux kernel.
15740 2015-04-10 Pedro Alves <palves@redhat.com>
15742 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
15743 procedure, factored out from ...
15744 (top level): ... here. Add "set displaced-stepping" testing axis.
15745 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
15746 parameter "displaced". Use it.
15747 (top level): Use foreach and add "set displaced-stepping" testing
15750 2015-04-10 Pedro Alves <palves@redhat.com>
15752 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
15754 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
15755 both the address of the instruction that triggers the watchpoint
15756 and the address of the instruction immediately after, and use
15757 those addresses for the test. Fix comment.
15759 2015-04-10 Pedro Alves <palves@redhat.com>
15761 * gdb.base/sigstep.exp (breakpoint_to_handler)
15762 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
15763 Test "backtrace" in handler.
15764 (breakpoint_over_handler): New parameter 'displaced'. Use it.
15765 (top level): Add new "displaced" test axis to
15766 breakpoint_to_handler, breakpoint_to_handler_entry and
15767 breakpoint_over_handler.
15769 2015-04-10 Pedro Alves <palves@redhat.com>
15772 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
15774 2015-04-10 Yao Qi <yao.qi@linaro.org>
15776 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
15777 (test_add_rn_pc): New function.
15778 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
15779 (top level): Invoke test_add_rn_pc.
15781 2015-04-10 Pedro Alves <palves@redhat.com>
15784 * gdb.base/step-over-no-symbols.exp: New file.
15786 2015-04-09 Andy Wingo <wingo@igalia.com>
15788 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
15789 after the Python tests.
15791 2015-04-08 Keith Seitz <keiths@redhat.com>
15794 * gdb.python/py-completion.exp: New tests for completion.
15795 * gdb.python/py-completion.py (CompleteLimit1): New class.
15796 (CompleteLimit2): Likewise.
15797 (CompleteLimit3): Likewise.
15798 (CompleteLimit4): Likewise.
15799 (CompleteLimit5): Likewise.
15800 (CompleteLimit6): Likewise.
15801 (CompleteLimit7): Likewise.
15803 2015-04-08 Pedro Alves <palves@redhat.com>
15807 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
15809 (main): Install it as SIGUSR1 handler.
15810 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
15811 parameter. Always use "setup" as prefix. Toggle "set
15812 displaced-stepping" off/on depending on global. Don't switch to
15814 (top level): Add displaced stepping "off/on" test axis. Update
15815 "setup" calls. Wrap each subtest with with_test_prefix. Test
15816 continuing with a queued signal in each thread.
15818 2015-04-08 Pedro Alves <palves@redhat.com>
15820 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
15821 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
15822 gdb_breakpoint instead of gdb_test that doesn't expect anything.
15823 Return early if running to main fails.
15824 * gdb.trace/while-stepping.exp: Likewise.
15826 2015-04-07 Pedro Alves <palves@redhat.com>
15828 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
15829 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
15830 interact with inferior program.
15832 2015-04-07 Pedro Alves <palves@redhat.com>
15834 * lib/gdb.exp (inferior_spawn_id): New global.
15835 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
15836 spawn id after processing the user code.
15837 (default_gdb_start): Set inferior_spawn_id.
15838 (send_inferior): New procedure.
15839 * lib/gdbserver-support.exp (gdbserver_start): Set
15841 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
15843 2015-04-07 Pedro Alves <palves@redhat.com>
15845 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
15846 * lib/gdbserver-support.exp (gdbserver_start): Make
15847 $server_spawn_id global.
15848 (gdbserver_start): Don't wait for gdbserver's spawn id with
15850 (close_gdbserver): New procedure.
15851 (gdb_exit): Rename the default version and reimplement.
15853 2015-04-07 Pedro Alves <palves@redhat.com>
15855 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
15856 append the substituted item, not the original item.
15858 2015-04-07 Pedro Alves <palves@redhat.com>
15860 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
15863 2015-04-07 Pedro Alves <palves@redhat.com>
15865 * gdb.base/interrupt.exp: Don't handle the case of the inferior
15866 output appearing once only.
15868 2015-04-07 Pedro Alves <palves@redhat.com>
15870 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
15871 that doesn't expect anything. Return early if running to main
15874 2015-04-07 Yao Qi <yao.qi@linaro.org>
15876 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
15877 (child_function): Call alarm.
15878 (main): Move call to alarm into the loop.
15879 * gdb.threads/non-stop-fair-events.exp: Build program with
15880 -DTIMEOUT=$timeout.
15882 2015-04-06 Doug Evans <xdje42@gmail.com>
15884 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
15885 Fix dest parameter to board_info.
15886 (fpc_compile): Ditto.
15887 (gdb_compile_pascal): Rename dest arg to destfile.
15889 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
15891 * gdb.ada/funcall_ref.exp: New file.
15892 * gdb.ada/funcall_ref/foo.adb: New file.
15894 2015-04-02 Yao Qi <yao.qi@linaro.org>
15896 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
15899 2015-04-02 Gary Benson <gbenson@redhat.com>
15901 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
15903 2015-04-01 Sasha Smundak <asmundak@google.com>
15905 * gdb.python/py-unwind-maint.c: New file.
15906 * gdb.python/py-unwind-maint.exp: New test.
15907 * gdb.python/py-unwind-maint.py: New file.
15908 * gdb.python/py-unwind.c: New file.
15909 * gdb.python/py-unwind.exp: New test.
15910 * gdb.python/py-unwind.py: New test.
15912 2015-04-01 Pedro Alves <palves@redhat.com>
15914 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
15915 to fail instead of non-existent $test.
15917 2015-04-01 Pedro Alves <palves@redhat.com>
15919 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
15920 GDBFLAGS if not empty.
15922 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
15924 * gdb.ada/complete.exp: Remove "multi_line".
15925 * gdb.ada/info_exc.exp: Remove "multi_line".
15926 * gdb.ada/packed_tagged.exp: Remove "multi_line".
15927 * gdb.ada/ptype_field.exp: Remove "multi_line".
15928 * gdb.ada/sym_print_name.exp: Remove "multi_line".
15929 * gdb.ada/tagged.exp: Remove "multi_line".
15930 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
15932 * gdb.btrace/delta.exp: Likewise.
15933 * gdb.btrace/exception.exp: Likewise.
15934 * gdb.btrace/function_call_history.exp: Likewise.
15935 * gdb.btrace/instruction_history.exp: Likewise.
15936 * gdb.btrace/nohist.exp: Likewise.
15937 * gdb.btrace/record_goto.exp: Likewise.
15938 * gdb.btrace/segv.exp: Likewise.
15939 * gdb.btrace/stepi.exp: Likewise.
15940 * gdb.btrace/tailcall.exp: Likewise.
15941 * gdb.btrace/unknown_functions.exp: Likewise.
15942 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
15943 * lib/gdb.exp: Add the "multi_line" helper.
15945 2015-04-01 Pedro Alves <palves@redhat.com>
15947 * gdb.threads/tid-reuse.c: New file.
15948 * gdb.threads/tid-reuse.exp: New file.
15950 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
15953 * gdb.base/coredump-filter.c: New file.
15954 * gdb.base/coredump-filter.exp: Likewise.
15956 2015-03-27 Petr Machata <pmachata@redhat.com>
15958 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
15959 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
15960 (Dwarf::assemble): Initialize them.
15961 (Dwarf::lines): New function.
15963 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
15965 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
15966 SYMBOL_PREFIX for x86_64-*-cygwin.
15968 2015-03-26 Andy Wingo <wingo@igalia.com>
15971 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
15972 const_value but not a location.
15973 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
15974 location defined in non-main CUs are visible.
15976 2015-03-26 Yao Qi <yao.qi@linaro.org>
15979 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
15980 Add a line number entry for the same line.
15981 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
15982 Add a line number entry for the same line.
15984 2015-03-26 Yao Qi <yao.qi@linaro.org>
15986 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
15988 (func): Likewise. Add .Lfunc_1 label.
15989 Use .Lfunc_1 label.
15990 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
15993 Use .Lfunc_1 label.
15995 2015-03-26 Yao Qi <yao.qi@linaro.org>
15997 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
15998 Call gdb_compile instead to compile each .s files without debug
16001 2015-03-26 Yao Qi <yao.qi@linaro.org>
16003 * gdb.base/savedregs.exp (process_saved_regs): Make
16004 "Saved registers:" optional in the pattern.
16006 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
16008 * gdb.btrace/next.exp: Merged into step.exp.
16009 * gdb.btrace/finish.exp: Merged into step.exp.
16010 * gdb.btrace/nexti.exp: Merged into stepi.exp.
16011 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
16012 "record goto" and checking the exact replay position.
16013 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
16014 check for "Recording format" in "info record" output.
16015 * gdb.btrace/record_goto.exp: Choose test file based on target.
16016 * gdb.btrace/x86-record_goto.S: Renamed into ...
16017 * gdb.btrace/x86_64-record_goto.S: ... this.
16018 * gdb.btrace/i686-record_goto.S: New.
16019 * gdb.btrace/x86-tailcall.S: Renamed into ...
16020 * gdb.btrace/x86_64-tailcall.S: ... this.
16021 * gdb.btrace/i686-tailcall.S: New.
16022 * gdb.btrace/x86-tailcall.c: Renamed into ...
16023 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
16024 separate statements. Update test.
16025 * gdb.btrace/delta.exp: Use record_goto.c as test file.
16026 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
16027 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
16028 * gdb.btrace/tailcall.exp: Choose test file based on target.
16029 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
16031 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
16033 * gdb.btrace/exception.exp: Increase BTS buffer size.
16035 2015-03-24 Pedro Alves <palves@redhat.com>
16037 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
16039 2015-03-24 Pedro Alves <palves@redhat.com>
16041 * gdb.threads/schedlock.exp (test_step): No longer expect that
16042 "set scheduler-locking step" with "next" over a function call runs
16045 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16047 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
16049 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
16051 PR breakpoints/16466
16052 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
16053 * gdb.mi/mi-pending.c (thread_func): New function.
16054 (int main): Add threading support required.
16055 * gdb.mi/mi-pending.exp: Add tests for this issue.
16056 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
16057 (pendfunc2): Remove stdio dependency.
16058 * gdb.mi/mi-pendshr2.c: New file.
16060 2015-03-23 Keith Seitz <keiths@redhat.com>
16062 * gdb.linespec/keywords.c: New file.
16063 * gdb.linespec/keywords.exp: New file.
16065 2015-03-23 Keith Seitz <keiths@redhat.com>
16068 * gdb.dwarf2/staticvirtual.exp: New test.
16070 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
16072 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
16073 * README: Remove HP-UX and gdb.hp.
16075 * configure: Regenerate.
16076 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
16077 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
16078 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
16079 gdb.hp/gdb.defects/Makefile.
16080 * gdb.hp/Makefile.in: File deleted.
16081 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
16082 * gdb.hp/gdb.aCC/optimize.c: File deleted.
16083 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
16084 * gdb.hp/gdb.aCC/run.c: File deleted.
16085 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
16086 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
16087 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
16088 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
16089 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
16090 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
16091 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
16092 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
16093 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
16094 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
16095 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
16096 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
16097 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
16098 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
16099 * gdb.hp/gdb.base-hp/reg.s: File deleted.
16100 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
16101 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
16102 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
16103 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
16104 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
16105 * gdb.hp/gdb.compat/Makefile.in: File deleted.
16106 * gdb.hp/gdb.compat/average.c: File deleted.
16107 * gdb.hp/gdb.compat/sum.c: File deleted.
16108 * gdb.hp/gdb.compat/xdb.c: File deleted.
16109 * gdb.hp/gdb.compat/xdb0.c: File deleted.
16110 * gdb.hp/gdb.compat/xdb0.h: File deleted.
16111 * gdb.hp/gdb.compat/xdb1.c: File deleted.
16112 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
16113 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
16114 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
16115 * gdb.hp/gdb.defects/Makefile.in: File deleted.
16116 * gdb.hp/gdb.defects/bs14602.c: File deleted.
16117 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
16118 * gdb.hp/gdb.defects/solib-d.c: File deleted.
16119 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
16120 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
16121 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
16122 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
16123 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
16124 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
16125 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
16126 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
16127 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
16128 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
16129 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
16130 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
16131 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
16132 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
16133 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
16134 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
16135 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
16136 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
16137 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
16138 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
16139 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
16140 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
16141 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
16142 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
16143 * gdb.hp/tools/odump: File deleted.
16145 2015-03-19 Pedro Alves <palves@redhat.com>
16147 * gdb.threads/continue-pending-status.exp (saw_thread_2)
16148 (saw_thread_3): New globals.
16149 (top level): Increment them when an event for the corresponding
16151 (no thread starvation): New test.
16153 2015-03-19 Pedro Alves <palves@redhat.com>
16155 * gdb.threads/continue-pending-status.c: New file.
16156 * gdb.threads/continue-pending-status.exp: New file.
16158 2015-03-18 Pedro Alves <palves@redhat.com>
16160 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
16161 Use gdb_is_target_remote instead of is_remote. Use
16162 gdb_test_multiple instead of gdb_expect. Exit early if
16163 gdb_test_multiple hits its internal matches. Tighten stepi tests
16164 expected output. Fail on exit with any signal, instead of just
16167 2015-03-18 Yao Qi <yao.qi@linaro.org>
16170 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
16172 * gdb.base/catch-syscall.exp: Don't skip it on
16173 aarch64*-*-linux* target. Remove elements in all_syscalls.
16174 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
16176 (setup_all_syscalls): New proc.
16178 2015-03-16 Yao Qi <yao.qi@linaro.org>
16180 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
16181 (top level): Skip tests if valid_addr_p returns false for
16184 2015-03-11 Andy Wingo <wingo@igalia.com>
16186 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
16188 2015-03-11 Yao Qi <yao.qi@linaro.org>
16190 * gdb.base/catch-syscall.exp: Fix typo in comments.
16192 2015-03-11 Yao Qi <yao.qi@linaro.org>
16194 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
16196 2015-03-09 Pedro Alves <palves@redhat.com>
16198 * dg-extract-results.py: Delete.
16200 2015-03-09 Pedro Alves <palves@redhat.com>
16202 Merge dg-extract-results.sh from GCC upstream (r218843).
16204 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
16205 * dg-extract-results.sh: Use --text with grep to avoid issues with
16206 binary files. Fall back to cat -v, if that doesn't work.
16208 2015-03-05 Pedro Alves <palves@redhat.com>
16210 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
16212 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
16214 * lib/mi-support.exp (mi_expect_interrupt): Accept
16215 alternative event for when in all-stop mode.
16217 2015-03-04 Pedro Alves <palves@redhat.com>
16219 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
16221 2015-03-04 Mark Kettenis <kettenis@gnu.org>
16223 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
16225 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
16227 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
16228 regexps for GDB's current line display, accept a hex address
16229 preceding the line number.
16231 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
16233 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
16234 the 'arch1' variable for "s390*-linux*" targets.
16236 2015-03-04 Pedro Alves <palves@redhat.com>
16238 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
16239 (main): Pass missing retval argument to pthread_join call.
16241 2015-03-02 Pedro Alves <palves@redhat.com>
16243 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
16244 (top level): Call do_test with non-stop as well.
16246 2015-03-02 Pedro Alves <palves@redhat.com>
16248 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
16251 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
16253 * gdb.arch/s390-vregs.exp: New test.
16254 * gdb.arch/s390-vregs.S: New file.
16256 2015-02-27 Pedro Alves <palves@redhat.com>
16258 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
16259 call to catch_command_errors.
16260 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
16261 catch_command_errors.
16263 2015-02-27 Pedro Alves <palves@redhat.com>
16265 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
16266 "true" for boolean result.
16267 * gdb.gdb/selftest.exp (test_with_self): Also accept full
16270 2015-02-27 Pedro Alves <palves@redhat.com>
16272 * lib/unbuffer_output.c: New file.
16273 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
16274 (main): Call gdb_unbuffer_output.
16276 2015-02-27 Yao Qi <yao.qi@linaro.org>
16278 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
16281 2015-02-26 Doug Evans <dje@google.com>
16283 * gdb.cp/class2.cc (Dbase, D): New classes.
16284 (main): New local delta.
16285 * gdb.cp/class2.exp: Test printing delta.
16286 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
16287 (dynbar): New global.
16288 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
16290 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
16292 * gdb.compile/compile-ifunc.c: New file.
16293 * gdb.compile/compile-ifunc.exp: New file.
16295 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
16297 * gdb.base/structs.exp: Check for correct struct on finish.
16299 2015-02-26 Yao Qi <yao.qi@linaro.org>
16301 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
16304 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
16306 * gdb.arch/cordic.ko.bz2: New file.
16307 * gdb.arch/cordic.ko.debug.bz2: New file.
16308 * gdb.arch/ppc64-symtab-cordic.exp: New file.
16310 2015-02-25 Yao Qi <yao.qi@linaro.org>
16312 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
16313 aarch64*-*-* target.
16315 2015-02-23 Pedro Alves <palves@redhat.com>
16317 * lib/gdb.exp (delete_breakpoints): Rewrite using
16320 2015-02-23 Pedro Alves <palves@redhat.com>
16322 * gdb.base/info-os.c: Include stdlib.h.
16324 2015-02-22 Doug Evans <xdje42@gmail.com>
16327 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
16328 is read after symbols have been re-read.
16329 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
16330 * gdb.ada/exec_changed/second.adb (Second): Ditto.
16332 2015-02-21 Doug Evans <dje@google.com>
16334 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
16336 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16339 * gdb.arch/i386-biarch-core.core.bz2: New file.
16340 * gdb.arch/i386-biarch-core.exp: New file.
16342 2015-02-21 Pedro Alves <palves@redhat.com>
16344 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
16347 2015-02-20 Pedro Alves <palves@redhat.com>
16349 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
16352 2015-02-20 Pedro Alves <palves@redhat.com>
16354 * gdb.threads/multi-create-ns-info-thr.exp: New file.
16356 2015-02-20 Pedro Alves <palves@redhat.com>
16358 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
16359 clean_restart before gdb_target_supports_trace.
16361 2015-02-20 Pedro Alves <palves@redhat.com>
16364 * gdb.threads/clone-thread_db.c: New file.
16365 * gdb.threads/clone-thread_db.exp: New file.
16367 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
16369 PR breakpoints/16812
16370 * gdb.base/catch-gdb-caused-signals.c: New file.
16371 * gdb.base/catch-gdb-caused-signals.exp: New file.
16373 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
16375 * configure: Regenerated.
16376 * configure.ac: Use GDB_AC_TRANSFORM.
16377 * aclocal.m4: sinclude ../transform.m4.
16379 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
16381 * lib/dtrace.exp: New file.
16382 * gdb.base/dtrace-probe.exp: Likewise.
16383 * gdb.base/dtrace-probe.d: Likewise.
16384 * gdb.base/dtrace-probe.c: Likewise.
16385 * lib/pdtrace.in: Likewise.
16386 * configure.ac: Output variables with the transformed names of
16387 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
16388 * configure: Regenerated.
16390 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
16392 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
16393 expected message when trying to access $_probe_* convenience
16394 variables while not on a probe.
16396 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16398 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
16400 2015-02-11 Pedro Alves <pedro@codesourcery.com>
16402 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
16403 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
16405 2015-02-10 Doug Evans <xdje42@gmail.com>
16407 * lib/gdb.exp (gdb_load): Always return a result.
16409 2015-02-10 Pedro Alves <palves@redhat.com>
16411 * gdb.threads/signal-sigtrap.c: New file.
16412 * gdb.threads/signal-sigtrap.exp: New file.
16414 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
16416 * gdb.trace/no-attach-trace.c: New file.
16417 * gdb.trace/no-attach-trace.exp: New file.
16419 2015-02-09 Mark Wielaard <mjw@redhat.com>
16421 * gdb.dwarf2/atomic.c: New file.
16422 * gdb.dwarf2/atomic-type.exp: Likewise.
16424 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
16426 * gdb.btrace/buffer-size.exp: Update "info record" output.
16427 * gdb.btrace/delta.exp: Update "info record" output.
16428 * gdb.btrace/enable.exp: Update "info record" output.
16429 * gdb.btrace/finish.exp: Update "info record" output.
16430 * gdb.btrace/instruction_history.exp: Update "info record" output.
16431 * gdb.btrace/next.exp: Update "info record" output.
16432 * gdb.btrace/nexti.exp: Update "info record" output.
16433 * gdb.btrace/step.exp: Update "info record" output.
16434 * gdb.btrace/stepi.exp: Update "info record" output.
16435 * gdb.btrace/nohist.exp: Update "info record" output.
16437 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
16439 * gdb.btrace/buffer-size: New.
16441 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
16443 * gdb.btrace/delta.exp: Update "info record" output.
16444 * gdb.btrace/enable.exp: Update "info record" output.
16445 * gdb.btrace/finish.exp: Update "info record" output.
16446 * gdb.btrace/instruction_history.exp: Update "info record" output.
16447 * gdb.btrace/next.exp: Update "info record" output.
16448 * gdb.btrace/nexti.exp: Update "info record" output.
16449 * gdb.btrace/step.exp: Update "info record" output.
16450 * gdb.btrace/stepi.exp: Update "info record" output.
16451 * gdb.btrace/nohist.exp: Update "info record" output.
16453 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
16456 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
16458 2015-02-06 Pedro Alves <palves@redhat.com>
16460 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
16462 (seconds_left, again): New globals.
16463 (main): Wait seconds_left in a 1-second sleep loop instead of
16464 sleeping 180 seconds. If 'again' is set, reset the seconds
16466 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
16467 'again' in the inferior before detaching. Print the seconds left.
16468 (options): New global.
16469 (top level): Build program with -DTIMEOUT=$timeout.
16471 2015-02-06 Pedro Alves <palves@redhat.com>
16473 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
16474 determine how many seconds to pass to 'alarm'.
16475 * gdb.base/gdb-sigterm.exp (top level): Build program with
16476 -DTIMEOUT=$timeout.
16477 (do_test): Return success/failure indication. Add more verbose
16478 logging. Don't fail if 200 single steps are seen. Instead, fail
16479 when the test times out.
16480 (passes): New global.
16481 (top level): Break the testing loop if testing fails on any
16482 iteration. Use gdb_assert.
16484 2015-02-04 Don Breazeal <donb@codesourcery.com>
16486 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
16487 and initialize them.
16488 (ipc_cleanup): New function.
16489 (main): Don't declare shmid, semid, and msqid. Add a call to
16490 atexit so that we call ipc_cleanup on exit.
16492 2015-02-04 Pedro Alves <palves@redhat.com>
16494 * boards/native-extended-gdbserver.exp: Remove any target variant
16495 specifications from the board name before clearing the isremote
16496 flag from board_info.
16498 2015-01-31 Doug Evans <xdje42@gmail.com>
16500 * gdb.base/maint.exp <maint print type argc>: Update expected output.
16502 2015-01-31 Gary Benson <gbenson@redhat.com>
16504 * gdb.base/completion.exp: Disable completion limiting for
16505 existing tests. Add new tests to check completion limiting.
16506 * gdb.linespec/ls-errs.exp: Disable completion limiting.
16508 2015-01-31 Doug Evans <xdje42@gmail.com>
16510 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
16512 2015-01-31 Doug Evans <xdje42@gmail.com>
16514 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
16515 entries. Duplicate file section script entries.
16516 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
16517 inlined entries. Add test for safe-path rejection.
16518 * gdb.python/py-section-script.c: Add duplicate inlined section script
16519 entries. Duplicate file section script entries.
16520 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
16521 inlined entries. Add test for safe-path rejection.
16523 2015-01-29 Joel Brobecker <brobecker@adacore.com>
16525 * gdb.ada/disc_arr_bound: New testcase.
16527 2015-01-29 Joel Brobecker <brobecker@adacore.com>
16529 * gdb.ada/mi_var_array: New testcase.
16531 2015-01-27 Doug Evans <dje@google.com>
16533 * gdb.python/py-objfile.exp: Add tests for objfile.username.
16534 Add test for objfile.filename, objfile.username after objfile
16537 2015-01-26 Joel Brobecker <brobecker@adacore.com>
16539 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
16540 the second test to print the name attribute of value
16541 returned by the call to gdb.lookup_type, and adjust
16542 the expected output accordingly.
16544 2015-01-25 Mark Wielaard <mjw@redhat.com>
16546 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
16547 * gdb.base/disp-step-fork.c: Include unistd.h.
16548 * gdb.base/siginfo-obj.c: Include stdio.h.
16549 * gdb.base/siginfo-thread.c: Likewise.
16550 * gdb.mi/non-stop.c: Include unistd.h.
16551 * gdb.mi/nsthrexec.c: Include stdio.h.
16552 * gdb.mi/pthreads.c: Include unistd.h.
16553 * gdb.modula2/unbounded1.c (main): Declare returns int.
16554 * gdb.reverse/consecutive-reverse.c: Likewise.
16555 * gdb.threads/create-fail.c: Include unistd.h.
16556 * gdb.threads/killed.c: Likewise.
16557 * gdb.threads/linux-dp.c: Likewise.
16558 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
16559 * gdb.threads/non-ldr-exc-2.c: Likewise.
16560 * gdb.threads/non-ldr-exc-3.c: Likewise.
16561 * gdb.threads/non-ldr-exc-4.c: Likewise.
16562 * gdb.threads/pthreads.c: Include unistd.h.
16563 (main): Declare returns int.
16564 * gdb.threads/tls-main.c (foo): New declaration.
16565 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
16567 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
16569 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
16570 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
16572 2015-01-15 Mark Wielaard <mjw@redhat.com>
16574 * gdb.base/noreturn-return.c: New file.
16575 * gdb.base/noreturn-return.exp: New file.
16576 * gdb.base/noreturn-finish.c: New file.
16577 * gdb.base/noreturn-finish.exp: New file.
16579 2015-01-23 Pedro Alves <palves@redhat.com>
16581 * gdb.threads/continue-pending-after-query.c: New file.
16582 * gdb.threads/continue-pending-after-query.exp: New file.
16584 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
16585 Simon Marchi <simon.marchi@ericsson.com>
16587 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
16588 * gdb.base/valgrind-db-attach.exp: Same.
16589 * gdb.base/valgrind-infcall.exp: Same.
16590 * lib/mi-support.exp (default_mi_gdb_start): Same.
16591 * lib/prompt.exp (default_prompt_gdb_start): Same.
16592 * lib/gdb.exp (default_gdb_spawn): Same.
16593 (gdb_interact): New.
16596 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
16598 * gdb.compile/compile.exp (pointer to jit function): New test.
16600 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
16602 * lib/gdb.exp (supports_process_record): Return true for
16604 (supports_reverse): Likewise.
16606 2015-01-15 Don Breazeal <donb@codesourcery.com>
16608 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
16609 instead of checking whether the target board is remote and
16610 use spawn_wait_for_attach instead of exec/sleep.
16611 * gdb.base/attach-twice.exp: Likewise.
16613 2015-01-15 Joel Brobecker <brobecker@adacore.com>
16615 * gdb.ada/var_arr_attrs: New testcase.
16617 2015-01-14 Pedro Alves <palves@redhat.com>
16618 Joel Brobecker <brobecker@adacore.com>
16621 * gdb.base/bp-cmds-execution-x-script.c: New file.
16622 * gdb.base/bp-cmds-execution-x-script.exp: New file.
16623 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
16625 2015-01-14 Pedro Alves <palves@redhat.com>
16628 * gdb.base/batch-preserve-term-settings.c: New file.
16629 * gdb.base/batch-preserve-term-settings.exp: New file.
16631 2015-01-13 Doug Evans <dje@google.com>
16633 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
16636 2015-01-13 Joel Brobecker <brobecker@adacore.com>
16638 * Makefile.in (clean mostlyclean): Do not delete *.py.
16640 2015-01-13 Joel Brobecker <brobecker@adacore.com>
16642 * gdb.python/py-lookup-type.exp: New file.
16644 2015-01-12 Pedro Alves <palves@redhat.com>
16646 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
16647 restore GDBFLAGS before returning.
16649 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
16651 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
16652 is_amd64_regs_target and is_x86_like_target.
16654 2015-01-11 Doug Evans <xdje42@gmail.com>
16656 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
16657 is given without an explicit form.
16658 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
16660 * gdb.dwarf/corrupt.exp: Ditto.
16661 * gdb.dwarf2/enum-type.exp: Ditto.
16662 * gdb.trace/entry-values.exp: Ditto.
16663 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
16665 2015-01-11 Doug Evans <xdje42@gmail.com>
16668 * gdb.base/maint.exp: Remove references to "maint demangle".
16669 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
16670 Add tests for explicitly specifying language to demangle.
16671 * gdb.dlang/demangle.exp: Ditto.
16673 2015-01-09 Pedro Alves <palves@redhat.com>
16675 * gdb.threads/non-stop-fair-events.c: New file.
16676 * gdb.threads/non-stop-fair-events.exp: New file.
16678 2015-01-09 Pedro Alves <palves@redhat.com>
16680 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
16681 the global scope. Set a breakpoint after all threads are started
16682 rather than stepping over two source lines. Expect the prompt.
16683 * gdb.base/watch_thread_num.c (threads_started_barrier): New
16686 (main): Use threads_started_barrier to wait for all threads to
16687 start. Main thread no longer calls thread_function. Exit after
16689 (loop): New function.
16690 (thread_function): Wait on threads_started_barrier barrier. Call
16691 'loop' at each iteration.
16692 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
16693 threads have started, instead of hardcoding number of "next"
16694 steps. Use an access watchpoint instead of a write watchpoint.
16696 2015-01-09 Pedro Alves <palves@redhat.com>
16698 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
16699 (thread_func): Wait on barrier.
16700 (main): Wait for all threads to start before stopping GDB.
16701 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
16703 (thread1_func, thread2_func): Wait on barrier.
16704 (main): Wait for all threads to start before stopping GDB.
16705 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
16707 (thread1_func, thread2_func): Wait on barrier.
16708 (main): Wait for all threads to start before stopping GDB.
16710 2015-01-09 Pedro Alves <palves@redhat.com>
16712 * gdb.threads/attach-many-short-lived-threads.c: New file.
16713 * gdb.threads/attach-many-short-lived-threads.exp: New file.
16715 2014-01-09 Pedro Alves <palves@redhat.com>
16717 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
16718 instead of to thread 2.
16719 * gdb.threads/signal-command-multiple-signals-pending.c (main):
16720 Add barrier around each pthread_create call instead of around all
16722 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
16723 Set a break on thread_function and have the child threads hit it
16726 2015-01-09 Pedro Alves <palves@redhat.com>
16728 * lib/gdb.exp (can_spawn_for_attach): New procedure.
16729 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
16731 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
16732 checking whether the target board is remote.
16733 * gdb.multi/multi-attach.exp: Likewise.
16734 * gdb.python/py-sync-interp.exp: Likewise.
16735 * gdb.server/ext-attach.exp: Likewise.
16736 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
16737 tests that need to attach, instead of checking whether the target
16738 board is remote at the top of the file.
16740 2015-01-08 Yao Qi <yao@codesourcery.com>
16742 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
16744 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16746 Fix testcase compilation.
16747 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
16749 2015-01-06 Joel Brobecker <brobecker@adacore.com>
16751 * gdb.python/py-type.exp: Add a couple test about empty
16752 array creation, and negative-length array creation.
16754 2015-01-02 Doug Evans <xdje42@gmail.com>
16756 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
16758 2015-01-02 Doug Evans <dje@google.com>
16760 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
16762 2014-12-29 Yao Qi <yao@codesourcery.com>
16764 * gdb.trace/entry-values.exp: Update comments. Rename variable
16765 bar_call_foo to returned_from_foo.
16767 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
16770 * gdb.linespec/break-asm-file.c: New file.
16771 * gdb.linespec/break-asm-file.exp: New file.
16772 * gdb.linespec/break-asm-file0.s: New file.
16773 * gdb.linespec/break-asm-file1.s: New file.
16775 2014-12-18 Nigel Stephens <nigel@mips.com>
16776 Maciej W. Rozycki <macro@codesourcery.com>
16778 * gdb.base/float.exp: Handle the new output from "info float" on
16781 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
16783 Fix MinGW compilation.
16784 * gdb.compile/compile-ops.exp: Update untested message if
16785 !skip_compile_feature_tests.
16786 * gdb.compile/compile-setjmp.exp: Likewise.
16787 * gdb.compile/compile-tls.exp: Likewise.
16788 * gdb.compile/compile.exp: Likewise.
16789 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
16790 supported on this host".
16792 2014-12-16 Doug Evans <xdje42@gmail.com>
16794 * boards/stabs.exp: New file.
16796 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
16798 * gdb.base/completion.exp: Adjust to format changes of "maint
16799 print user-registers".
16801 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
16804 * gdb.arch/aarch64-fp.c: New file.
16805 * gdb.arch/aarch64-fp.exp: New file.
16807 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
16809 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
16810 r210637, r210913, r211666, r215400, r215817).
16812 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
16813 * dg-extract-results.py: New file.
16814 * dg-extract-results.sh: Use it if the environment seems
16817 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
16819 * dg-extract-results.py (parse_run): Handle warnings that
16820 are printed before a test harness is run.
16822 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
16824 * dg-extract-results.py (Named): Remove __cmp__ method.
16825 (output_variation): Use a key to sort variation.harnesses.
16827 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
16829 * dg-extract-results.py: For Python 3, force sys.stdout to
16830 handle surrogate escape sequences.
16831 (safe_open): New function.
16832 (output_segment, main): Use it.
16834 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
16836 * dg-extract-results.py (Prog.result_re): Include options
16839 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
16841 * dg-extract-results.py (output_variation): Always sort if
16844 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
16846 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
16847 as long as we get pagination notifications.
16849 2014-12-15 Jason Merrill <jason@redhat.com>
16851 * Makefile.in (check-gdb.%): Restore.
16852 * README: Mention it.
16854 2014-12-13 Joel Brobecker <brobecker@adacore.com>
16856 * gdb.ada/str_uninit: New testcase.
16858 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
16861 * gdb.base/vla-stub-define.c: New file.
16862 * gdb.base/vla-stub.c: New file.
16863 * gdb.base/vla-stub.exp: New file.
16865 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
16866 Jan Kratochvil <jan.kratochvil@redhat.com>
16867 Tom Tromey <tromey@redhat.com>
16869 * configure.ac: Add gdb.compile/.
16870 * configure: Regenerate.
16871 * gdb.compile/Makefile.in: New file.
16872 * gdb.compile/compile-ops.exp: New file.
16873 * gdb.compile/compile-ops.c: New file.
16874 * gdb.compile/compile-tls.c: New file.
16875 * gdb.compile/compile-tls.exp: New file.
16876 * gdb.compile/compile-constvar.S: New file.
16877 * gdb.compile/compile-constvar.c: New file.
16878 * gdb.compile/compile-mod.c: New file.
16879 * gdb.compile/compile-nodebug.c: New file.
16880 * gdb.compile/compile-setjmp-mod.c: New file.
16881 * gdb.compile/compile-setjmp.c: New file.
16882 * gdb.compile/compile-setjmp.exp: New file.
16883 * gdb.compile/compile-shlib.c: New file.
16884 * gdb.compile/compile.c: New file.
16885 * gdb.compile/compile.exp: New file.
16886 * lib/gdb.exp (skip_compile_feature_tests): New proc.
16888 2014-12-12 Tom Tromey <tromey@redhat.com>
16890 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
16891 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
16893 2014-12-12 Doug Evans <dje@google.com>
16895 * lib/gdb-python.exp (get_python_valueof): New function.
16896 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
16898 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16900 * gdb.base/completion.exp: Add test for completion of "info
16903 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
16905 * gdb.base/func-ptrs.c: New file.
16906 * gdb.base/func-ptrs.exp: New file.
16908 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
16910 PR breakpoints/17012
16911 * gdb.base/dprintf-detach.c: New file.
16912 * gdb.base/dprintf-detach.exp: New file.
16914 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
16916 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
16917 * lib/gdb.exp (target_is_gdbserver): New procedure.
16919 2014-12-08 Doug Evans <dje@google.com>
16921 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
16923 2014-12-05 Yao Qi <yao@codesourcery.com>
16925 * gdb.guile/scm-error.exp: Remove the third argument to
16926 gdb_remote_download.
16927 * gdb.guile/scm-frame-args.exp: Likewise.
16928 * gdb.guile/scm-section-script.exp: Likewise.
16930 2014-12-05 Yao Qi <yao@codesourcery.com>
16932 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
16934 2014-12-04 Doug Evans <dje@google.com>
16936 * gdb.python/py-objfile.exp: Add tests for
16937 objfile.add_separate_debug_file.
16939 2014-12-04 Doug Evans <dje@google.com>
16941 * lib/gdb.exp (get_build_id): New function.
16942 (build_id_debug_filename_get): Rewrite to use it.
16943 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
16945 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
16947 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
16948 `method(long)', not just 0x0.
16949 * gdb.cp/nsalias.exp: Align code labels to 4.
16950 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
16951 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
16952 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
16953 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
16954 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
16955 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
16957 2014-12-02 Doug Evans <dje@google.com>
16960 * gdb.cp/anon-ns.cc: Move guts of this file to ...
16961 * gdb.cp/anon-ns2.cc: ... here. New file.
16962 * gdb.cp/anon-ns.exp: Update.
16964 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
16966 * gdb.python/py-events.py (inferior_call_handler): New.
16967 (register_changed_handler, memory_changed_handler): New.
16968 (test_events.invoke): Register new handlers.
16969 * gdb.python/py-events.exp: Add tests for inferior call,
16970 memory_changed and register_changed events.
16972 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
16974 * gdb.base/execl-update-breakpoints.exp: Specify the link address
16975 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
16976 if the linker doesn't understand this.
16978 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
16980 * gdb.python/python.exp: Change expected reply to help().
16982 2014-12-01 Yao Qi <yao@codesourcery.com>
16984 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
16985 AC_CONFIG_SUBDIRS(gdb.gdbtk).
16986 * configure: Re-generated.
16988 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
16990 * gdb.cp/chained-calls.cc: New file.
16991 * gdb.cp/chained-calls.exp: New file.
16992 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
16994 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
16996 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
16997 * gdb.dwarf2/symtab-producer.exp: Same.
16998 * gdb.gdb/python-interrupts.exp: Same.
16999 * gdb.gdb/python-selftest.exp: Same.
17000 * gdb.python/py-linetable.exp: Same.
17001 * gdb.python/py-type.exp: Same.
17002 * gdb.python/py-value-cc.exp: Same.
17003 * gdb.python/py-value.exp: Same.
17005 2014-11-28 Yao Qi <yao@codesourcery.com>
17007 * gdb.base/break-probes.exp: Match library name prefixed with
17010 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
17012 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
17013 test expected output. Add parentheses for the call to print.
17014 Remove L suffix from integers.
17016 2014-11-26 Doug Evans <dje@google.com>
17018 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
17020 2014-11-22 Yao Qi <yao@codesourcery.com>
17022 * gdb.trace/entry-values.c: Remove asms.
17023 (foo): Add foo_label.
17024 (bar): Add bar_label.
17025 * gdb.trace/entry-values.exp: Remove code computing foo's
17026 length and bar's length.
17027 (Dwarf::assemble): Invoke function_range for bar and use
17028 MACRO_AT_func for foo.
17030 2014-11-22 Yao Qi <yao@codesourcery.com>
17032 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
17033 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
17034 Use .Lgcc43_procstart instead of gcc43.
17036 2014-11-21 Joel Brobecker <brobecker@adacore.com>
17038 * gdb.ada/n_arr_bound: New testcase.
17040 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
17042 PR breakpoints/10737
17043 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
17044 test_catch_syscall_multi_arch.
17045 (test_catch_syscall_multi_arch): New function.
17047 2014-11-20 Doug Evans <xdje42@gmail.com>
17049 * gdb.base/maint.exp: Update expected output.
17051 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
17053 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
17054 4-byte instruction on S390.
17056 2014-11-19 Joel Brobecker <brobecker@adacore.com>
17058 * gdb.ada/arr_arr: New testcase.
17060 2014-11-19 Joel Brobecker <brobecker@adacore.com>
17062 * gdb.ada/pkd_arr_elem: New Testcase.
17064 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
17066 * gdb.reverse/break-precsave: Expect completion message for
17068 * gdb.reverse/consecutive-precsave.exp: Likewise.
17069 * gdb.reverse/finish-precsave.exp: Likewise.
17070 * gdb.reverse/i386-precsave.exp: Likewise.
17071 * gdb.reverse/machinestate-precsave.exp: Likewise.
17072 * gdb.reverse/sigall-precsave.exp: Likewise.
17073 * gdb.reverse/solib-precsave.exp: Likewise.
17074 * gdb.reverse/step-precsave.exp: Likewise.
17075 * gdb.reverse/until-precsave.exp: Likewise.
17076 * gdb.reverse/watch-precsave.exp: Likewise.
17078 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17080 * gdb.base/bp-permanent.c: Include unistd.h.
17081 * gdb.python/py-framefilter-mi.c (main): Add return type.
17082 * gdb.python/py-framefilter.c (main): Likewise.
17083 * gdb.trace/actions-changed.c (main): Likewise.
17085 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17087 * gdb.mi/until.c: Add eye-catchers.
17088 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
17091 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
17093 * gdb.base/condbreak.exp: Drop references to removed non-prototype
17094 function header variants in break1.c.
17095 * gdb.base/ena-dis-br.exp: Likewise.
17096 * gdb.base/hbreak2.exp: Likewise.
17097 * gdb.reverse/until-precsave.exp: Drop references to removed
17098 non-prototype function header variants in ur1.c.
17099 * gdb.reverse/until-reverse.exp: Likewise.
17101 2014-11-17 Petr Machata <pmachata@redhat.com>
17103 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
17104 ${_cu_offset_size} bytes abbrev offset.
17106 2014-11-15 Doug Evans <xdje42@gmail.com>
17109 * gdb.base/line-symtabs.exp: New file.
17110 * gdb.base/line-symtabs.c: New file.
17111 * gdb.base/line-symtabs.h: New file.
17113 2014-11-14 Yao Qi <yao@codesourcery.com>
17115 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
17116 (func): Add label func_label.
17117 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
17118 Replace low_pc and high_pc with MACRO_AT_range.
17119 Replace name, low_pc and high_pc with MACRO_AT_func.
17121 2014-11-14 Yao Qi <yao@codesourcery.com>
17123 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
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: Use Dwarf::assemble to
17129 produce debug information.
17130 * gdb.dwarf2/implptr-optimized-out.S: Removed.
17132 2014-11-14 Yao Qi <yao@codesourcery.com>
17134 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
17135 object and get function length.
17136 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
17137 with MACRO_AT_func.
17138 (top-level): Replace gdb_compile and clean_restart with
17139 prepare_for_testing.
17140 * gdb.dwarf2/main.c (main): Add label main_label.
17142 2014-11-14 Yao Qi <yao@codesourcery.com>
17144 * lib/dwarf.exp (function_range): New procedure.
17145 (Dwarf::_handle_macro_at_func): New procedure.
17146 (Dwarf::_handle_macro_at_range): New procedure.
17147 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
17149 2014-11-14 Yao Qi <yao@codesourcery.com>
17151 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
17152 (_handle_attribute): New procedure.
17154 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17156 * gdb.ada/cond_lang/foo.c (callme): Add return type.
17157 * gdb.base/call-sc.c (zed): Likewise.
17158 * gdb.base/checkpoint.c (main): Likewise.
17159 * gdb.base/dump.c (main): Likewise.
17160 * gdb.base/gcore.c (main): Likewise.
17161 * gdb.base/huge.c (main): Likewise.
17162 * gdb.base/multi-forks.c (main): Likewise.
17163 * gdb.base/pr10179-a.c (main): Likewise.
17164 * gdb.base/savedregs.c (main): Likewise.
17165 * gdb.base/sigaltstack.c (main): Likewise.
17166 * gdb.base/siginfo.c (main): Likewise.
17167 * gdb.base/structs.c (zed): Likewise.
17168 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
17169 * gdb.mi/mi-syn-frame.c (main): Likewise.
17170 * gdb.mi/until.c (foo, main): Likewise.
17171 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
17172 * gdb.base/solib-weak.c (foo): Declare.
17173 * gdb.base/attach-twice.c: Include stdio.h.
17174 * gdb.base/weaklib1.c: Likewise.
17175 * gdb.base/weaklib2.c: Likewise.
17176 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
17177 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
17179 * gdb.base/attach-pie-misread.c: Include stdlib.h.
17180 * gdb.mi/mi-exit-code.c: Likewise.
17181 * gdb.base/break-interp-lib.c: Include string.h.
17182 * gdb.base/coremaker.c: Likewise.
17183 * gdb.base/testenv.c: Likewise.
17184 * gdb.python/py-finish-breakpoint.c: Likewise.
17185 * gdb.base/inferior-died.c: Include sys/wait.h.
17186 * gdb.base/fileio.c: Include time.h.
17187 * gdb.base/async-shell.c: Include unistd.h.
17188 * gdb.base/dprintf-non-stop.c: Likewise.
17189 * gdb.base/info-os.c: Likewise.
17190 * gdb.mi/mi-console.c: Likewise.
17191 * gdb.mi/watch-nonstop.c: Likewise.
17192 * gdb.python/py-events.c: Likewise.
17193 * gdb.base/async.c (baz): Move up before its invocation.
17194 * gdb.base/code_elim2.c (my_global_func): Likewise.
17195 * gdb.base/skip-solib-lib.c (multiply): Likewise.
17196 * gdb.base/advance.c (func2): Likewise.
17198 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17200 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
17202 * gdb.base/annota3.c: Likewise.
17203 * gdb.base/async.c: Likewise.
17204 * gdb.base/average.c: Likewise.
17205 * gdb.base/call-ar-st.c: Likewise.
17206 * gdb.base/call-rt-st.c: Likewise.
17207 * gdb.base/call-sc.c: Likewise.
17208 * gdb.base/call-strs.c: Likewise.
17209 * gdb.base/ending-run.c: Likewise.
17210 * gdb.base/execd-prog.c: Likewise.
17211 * gdb.base/exprs.c: Likewise.
17212 * gdb.base/foll-exec.c: Likewise.
17213 * gdb.base/foll-fork.c: Likewise.
17214 * gdb.base/foll-vfork.c: Likewise.
17215 * gdb.base/funcargs.c: Likewise.
17216 * gdb.base/gcore.c: Likewise.
17217 * gdb.base/jump.c: Likewise.
17218 * gdb.base/langs0.c: Likewise.
17219 * gdb.base/langs1.c: Likewise.
17220 * gdb.base/langs2.c: Likewise.
17221 * gdb.base/mips_pro.c: Likewise.
17222 * gdb.base/nodebug.c: Likewise.
17223 * gdb.base/opaque0.c: Likewise.
17224 * gdb.base/opaque1.c: Likewise.
17225 * gdb.base/recurse.c: Likewise.
17226 * gdb.base/run.c: Likewise.
17227 * gdb.base/scope0.c: Likewise.
17228 * gdb.base/scope1.c: Likewise.
17229 * gdb.base/setshow.c: Likewise.
17230 * gdb.base/setvar.c: Likewise.
17231 * gdb.base/shmain.c: Likewise.
17232 * gdb.base/shr1.c: Likewise.
17233 * gdb.base/shr2.c: Likewise.
17234 * gdb.base/sigall.c: Likewise.
17235 * gdb.base/signals.c: Likewise.
17236 * gdb.base/so-indr-cl.c: Likewise.
17237 * gdb.base/solib2.c: Likewise.
17238 * gdb.base/structs.c: Likewise.
17239 * gdb.base/sum.c: Likewise.
17240 * gdb.base/vforked-prog.c: Likewise.
17241 * gdb.base/watchpoint.c: Likewise.
17242 * gdb.reverse/shr2.c: Likewise.
17243 * gdb.reverse/until-reverse.c: Likewise.
17244 * gdb.reverse/ur1.c: Likewise.
17245 * gdb.reverse/watch-reverse.c: Likewise.
17247 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17249 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
17251 * gdb.base/sepdebug.exp: Drop references to removed code.
17253 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17255 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
17256 variant. Preserve original line numbering.
17257 * gdb.base/list1.c: Likewise.
17259 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17261 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
17263 * gdb.base/break1.c: Likewise.
17264 * gdb.base/break.exp: Drop references to removed code.
17266 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17268 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
17271 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17273 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
17275 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17277 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
17278 logic into perform_all_tests() and invoke it with and without
17279 function header prototypes.
17280 (do_function_calls): Remove conditional XFAIL for PR 5318.
17281 (rerun_and_prepare): Remove duplicate code.
17282 (perform_all_tests): New. Main logic moved here.
17284 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17286 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
17287 code guarded by #ifdef NO_PROTOTYPES.
17288 (t_double_many_args): Likewise.
17289 (DEF_FUNC_MANY_ARGS_1): Likewise.
17290 (DEF_FUNC_VALUES_1): Likewise.
17291 (t_structs_ldc): Renamed from t_structs_fc in conditional code
17292 guarded by #ifdef PROTOTYPES.
17294 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17296 * gdb.mi/mi-console.c: Add eye-catcher.
17297 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
17298 instead of literal line number.
17300 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17302 * gdb.base/shr2.c: Add eye-catcher.
17303 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
17306 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17308 * gdb.base/jump.c: Add eye-catchers.
17309 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
17312 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17314 * gdb.base/execd-prog.c: Add eye-catchers.
17315 * gdb.base/foll-exec.c: Likewise.
17316 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
17319 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17321 * gdb.base/ending-run.c: Add eye-catchers.
17322 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
17323 literal line numbers.
17325 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17327 * gdb.base/call-rt-st.c: Add eye-catchers.
17328 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
17329 literal line numbers.
17331 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17333 * gdb.base/call-ar-st.c: Add eye-catchers.
17334 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
17335 literal line numbers.
17337 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17339 * gdb.base/average.c: Add eye-catchers.
17340 * gdb.base/sum.c: Likewise.
17341 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
17342 regexps dynamically.
17344 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
17346 * gdb.base/solib1.c: Add eye-catchers.
17347 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
17348 literal line numbers.
17350 2014-11-12 Pedro Alves <palves@redhat.com>
17352 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
17355 2014-11-12 Pedro Alves <palves@redhat.com>
17357 * gdb.arch/i386-bp_permanent.c: New file.
17358 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
17359 (srcfile): Set to i386-bp_permanent.c.
17360 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
17361 that stepi does not execute the 'leave' instruction, instead of
17362 testing it does execute.
17363 * gdb.base/bp-permanent.c: New file.
17364 * gdb.base/bp-permanent.exp: New file.
17366 2014-11-10 Doug Evans <xdje42@gmail.com>
17369 * gdb.base/symtab-search-order.exp: New file.
17370 * gdb.base/symtab-search-order.c: New file.
17371 * gdb.base/symtab-search-order-1.c: New file.
17372 * gdb.base/symtab-search-order-shlib-1.c: New file.
17374 2014-11-07 Pedro Alves <palves@redhat.com>
17377 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
17380 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
17383 * gdb.cp/pr17494.cc: New file.
17384 * gdb.cp/pr17494.exp: New file.
17386 2014-11-02 Yao Qi <yao@codesourcery.com>
17388 * gdb.python/python.exp: Get working directory and match the
17389 output of "set extended-prompt \\w " with it.
17391 2014-10-30 Doug Evans <dje@google.com>
17393 * gdb.python/py-objfile.exp: Add tests for setting random attributes
17395 * gdb.python/py-progspace.exp: Add tests for setting random attributes
17398 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
17400 * gdb.base/fullpath-expand.exp: Skip for a remote host.
17401 * gdb.base/realname-expand.exp: Likewise.
17402 * gdb.linespec/macro-relative.exp: Likewise.
17404 2014-10-29 Pedro Alves <palves@redhat.com>
17407 * gdb.threads/schedlock.c (some_function): New function.
17408 (call_function): New global.
17409 (MAYBE_CALL_SOME_FUNCTION): New macro.
17410 (thread_function): Call it.
17411 * gdb.threads/schedlock.exp (get_args): Add description parameter,
17412 and use it instead of a global counter. Adjust all callers.
17413 (get_current_thread): Use "find current thread" for test message
17414 here rather than having all callers pass down the same string.
17415 (goto_loop): New procedure, factored out from ...
17416 (my_continue): ... this.
17417 (step_ten_loops): Change parameter from test message to command to
17419 (list_count): Delete global.
17420 (check_result): New procedure, factored out from duplicate top
17422 (continue tests): Wrap in with_test_prefix.
17423 (test_step): New procedure, factored out from duplicate top level
17425 (top level): Test "step" in combination with all scheduler-locking
17426 modes. Test "next" in combination with all scheduler-locking
17427 modes, and in combination with stepping over a function call or
17429 * gdb.threads/next-bp-other-thread.c: New file.
17430 * gdb.threads/next-bp-other-thread.exp: New file.
17432 2014-10-29 Pedro Alves <palves@redhat.com>
17435 * gdb.python/python.exp: Test a multi-line command that spawns
17436 interactive Python.
17437 * gdb.base/multi-line-starts-subshell.exp: New file.
17439 2014-10-29 Yao Qi <yao@codesourcery.com>
17441 * gdb.base/fileio.exp: Make directories on host.
17443 2014-10-29 Yao Qi <yao@codesourcery.com>
17445 * gdb.base/fileio.c (test_write): Close the file.
17447 2014-10-28 Pedro Alves <palves@redhat.com>
17450 * gdb.base/sigstep.c (no_handler): New global.
17451 (main): If 'no_handler is true, set the signal handlers to
17453 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
17454 with_sw_watch and no_handler parameters. Handle them.
17455 (top level) <stepping over handler when stopped at a breakpoint
17456 test>: Add a test axis for testing with a software watchpoint, and
17457 another for testing with the signal handler set to SIG_IGN.
17458 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
17459 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
17461 2014-10-28 Pedro Alves <palves@redhat.com>
17464 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
17465 * gdb.base/sigstep.exp (other_handler_location): New global.
17466 (advance): Support stepping into the signal handler, and running
17467 commands while in the handler.
17468 (in_handler_map): New global.
17469 (top level): In the advance test, add combinations for getting
17470 into the handler with stepping commands, and for running commands
17471 in the handler. Add comment descripting the advancei tests.
17473 2014-10-28 Pedro Alves <palves@redhat.com>
17475 * gdb.base/sigstep.exp: Use build_executable instead of
17476 prepare_for_testing.
17477 (top level): Move code that starts GDB, runs to main and creates a
17479 (restart): ... this new procedure.
17480 (top level): Move backtrace from signal handler test to ...
17481 (validate_backtrace): ... this new procedure.
17482 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
17483 with_test_prefix. Always restart GDB.
17484 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
17485 with_test_prefix. Always restart GDB. No need to delete
17486 breakpoints after the test.
17487 (test_skip_handler): Remove prefix parameter.
17488 (skip_over_handler, breakpoint_to_handler)
17489 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
17490 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
17491 restart GDB. No need to delete breakpoints after the test.
17492 (top level): Use foreach to call the test procedures with
17493 different commands.
17495 2014-10-28 Pedro Alves <palves@redhat.com>
17497 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
17498 instead of GNATS numbers.
17499 * gdb.base/sigbpt.exp: Likewise.
17500 * gdb.base/siginfo.exp: Likewise.
17501 * gdb.base/sigstep.exp: Likewise.
17503 2014-10-27 Pedro Alves <palves@redhat.com>
17505 * gdb.base/sigstep.c (dummy): New global.
17506 (main): Issue a couple writes to the new global.
17507 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
17509 (skip_over_handler): Use test_skip_handler.
17510 (top level): Call skip_over_handler for stepi and nexti too.
17511 (breakpoint_over_handler): Use test_skip_handler.
17512 (top level): Call breakpoint_over_handler for stepi and nexti too.
17514 2014-10-27 Yao Qi <yao@codesourcery.com>
17516 * gdb.trace/tfile.c (adjust_function_address)
17517 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
17518 function descriptor.
17520 2014-10-24 Don Breazeal <donb@codesourcery.com>
17522 * gdb.base/foll-fork.exp (test_follow_fork,
17523 catch_fork_child_follow): Check for updated fork messages emitted
17525 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
17526 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
17527 vfork_and_exec_child_follow_through_step): Check for updated vfork
17528 messages emitted from infrun.c.
17530 2014-10-24 Pedro Alves <palves@redhat.com>
17532 * gdb.base/corefile.exp: Remove references to ultrix.
17533 * gdb.base/interrupt.exp: Likewise.
17534 * gdb.base/whatis.exp: Likewise.
17535 * gdb.gdb/selftest.exp: Likewise.
17536 * gdb.threads/manythreads.exp: Likewise.
17537 * gdb.threads/print-threads.exp: Likewise.
17538 * gdb.threads/pthreads.exp:: Likewise.
17539 * gdb.threads/schedlock.exp: Likewise.
17541 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
17543 * gdb.cp/non-trivial-retval.cc: Add a test case.
17544 * gdb.cp/non-trivial-retval.exp: Add a test.
17546 2014-10-20 Yao Qi <yao@codesourcery.com>
17548 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
17549 * gdb.python/py-objfile-script-gdb.py: New file.
17550 * gdb.python/py-objfile-script.exp: Update reference to
17551 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
17552 of remote_download. Remove the dest file.
17554 2014-10-20 Yao Qi <yao@codesourcery.com>
17556 * gdb.base/checkpoint.exp: Don't remove file copied on host.
17557 * gdb.base/step-line.exp: Likewise.
17558 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
17559 * gdb.dwarf2/dw2-basic.exp: Likewise.
17560 * gdb.dwarf2/dw2-compressed.exp: Likewise.
17561 * gdb.dwarf2/dw2-filename.exp: Likewise.
17562 * gdb.dwarf2/dw2-intercu.exp: Likewise.
17563 * gdb.dwarf2/dw2-intermix.exp: Likewise.
17564 * gdb.dwarf2/dw2-producer.exp: Likewise.
17565 * gdb.dwarf2/mac-fileno.exp: Likewise.
17566 * gdb.python/py-frame-args.exp: Likewise.
17567 * gdb.python/py-framefilter.exp: Likewise.
17568 * gdb.python/py-mi.exp: Likewise.
17569 * gdb.python/py-objfile-script.exp: Likewise
17570 * gdb.python/py-pp-integral.exp: Likewise.
17571 * gdb.python/py-pp-re-notag.exp: Likewise.
17572 * gdb.python/py-prettyprint.exp: Likewise.
17573 * gdb.python/py-section-script.exp: Likewise.
17574 * gdb.python/py-typeprint.exp: Likewise.
17575 * gdb.python/py-xmethods.exp: Likewise.
17576 * gdb.stabs/weird.exp: Likewise.
17577 * gdb.xml/tdesc-regs.exp: Likewise.
17579 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
17581 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
17582 (out_cu): Use addr_len for the size of addresses.
17583 (out_line): Likewise. Size DW_LNE_set_address instruction
17584 according to addr_len.
17585 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
17586 (FUNC): Add START_INSNS to definition.
17588 2014-10-18 Yao Qi <yao@codesourcery.com>
17590 * gdb.base/argv0-symlink.exp: Check argv[0] value if
17591 gdb_has_argv0 return true.
17592 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
17593 check [target_info exists noargs], check [gdb_has_argv0]
17595 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
17596 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
17599 2014-10-17 Doug Evans <dje@google.com>
17601 * gdb.python/py-events.exp: Update expected output for clear_objfiles
17603 * gdb.python/py-events.py: Add clear_objfiles event.
17605 2014-10-17 Doug Evans <dje@google.com>
17607 * gdb.python/py-objfile.exp: Test progspace attribute.
17609 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
17611 * gdb.guile/scm-breakpoint.exp: Do not assume any
17612 directory separators when matching source file paths.
17613 * gdb.python/py-breakpoint.exp: Likewise.
17614 * gdb.reverse/break-precsave.exp: Likewise.
17615 * gdb.reverse/break-reverse.exp: Likewise.
17616 * gdb.reverse/consecutive-precsave.exp: Likewise.
17617 * gdb.reverse/finish-precsave.exp: Likewise.
17618 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
17619 * gdb.reverse/finish-reverse.exp: Likewise.
17620 * gdb.reverse/i386-precsave.exp: Likewise.
17621 * gdb.reverse/i387-env-reverse.exp: Likewise.
17622 * gdb.reverse/i387-stack-reverse.exp: Likewise.
17623 * gdb.reverse/machinestate-precsave.exp: Likewise.
17624 * gdb.reverse/machinestate.exp: Likewise.
17625 * gdb.reverse/sigall-precsave.exp: Likewise.
17626 * gdb.reverse/solib-precsave.exp: Likewise.
17627 * gdb.reverse/step-precsave.exp: Likewise.
17628 * gdb.reverse/until-precsave.exp: Likewise.
17629 * gdb.reverse/watch-precsave.exp: Likewise.
17630 * gdb.reverse/watch-reverse.exp: Likewise.
17632 2014-10-17 Yao Qi <yao@codesourcery.com>
17634 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
17635 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
17637 2014-10-17 Pedro Alves <palves@redhat.com>
17640 * gdb.base/bg-execution-repeat.c: New file.
17641 * gdb.base/bg-execution-repeat.exp: New file.
17643 2014-10-17 Pedro Alves <palves@redhat.com>
17646 * gdb.base/continue-all-already-running.c: New file.
17647 * gdb.base/continue-all-already-running.exp: New file.
17649 2014-10-17 Pedro Alves <palves@redhat.com>
17652 * gdb.base/annota-input-while-running.c: New file.
17653 * gdb.base/annota-input-while-running.exp: New file.
17655 2014-10-17 Pedro Alves <palves@redhat.com>
17657 * gdb.base/callfuncs.exp: emove references to osf.
17658 * gdb.base/sigall.exp: Likewise.
17659 * gdb.gdb/selftest.exp: Likewise.
17660 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
17661 * gdb.mi/non-stop.c: Likewise.
17662 * gdb.mi/pthreads.c: Likewise.
17663 * gdb.reverse/sigall-precsave.exp: Likewise.
17664 * gdb.reverse/sigall-reverse.exp: Likewise.
17665 * gdb.threads/pthreads.c: Likewise.
17666 * gdb.threads/pthreads.exp: Likewise.
17668 2014-10-17 Yao Qi <yao@codesourcery.com>
17670 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
17671 check 'target_info exists noargs'.
17672 (test_command_prompt_position): Likewise.
17673 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
17675 (progvar_simple_while_test): Likewise.
17676 (progvar_complex_if_while_test): Likewise.
17677 (if_while_breakpoint_command_test): Likewise.
17678 (infrun_breakpoint_command_test): Likewise.
17679 (breakpoint_command_test): Likewise.
17680 (watchpoint_command_test): Likewise.
17681 (bp_deleted_in_command_test): Likewise.
17682 (temporary_breakpoint_commands): Likewise.
17684 2014-10-16 Yao Qi <yao@codesourcery.com>
17686 * gdb.base/remotetimeout.exp: Remove noargs checking.
17688 2014-10-15 Pedro Alves <palves@redhat.com>
17690 PR breakpoints/9649
17691 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
17692 * gdb.base/breakpoint-in-ro-region.exp
17693 (probe_target_hardware_step): New procedure.
17694 (top level): Probe hardware stepping and hardware breakpoint
17695 support. Test stepping through a read-only region, with both
17696 "breakpoint auto-hw" on and off and both "always-inserted" on and
17699 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
17701 * gdb.dlang/demangle.exp: Update for demangling changes.
17703 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
17705 * gdb.cp/non-trivial-retval.cc: Add new test cases.
17706 * gdb.cp/non-trivial-retval.exp: Add new tests.
17708 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
17712 * gdb.cp/non-trivial-retval.cc: New file.
17713 * gdb.cp/non-trivial-retval.exp: New file.
17715 2014-10-15 Yao Qi <yao@codesourcery.com>
17717 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
17720 2014-10-15 Yao Qi <yao@codesourcery.com>
17722 * gdb.python/py-symbol.exp: Match file base name if host is
17723 remote, otherwise match file name with dir name.
17724 * gdb.python/py-symtab.exp: Likewise.
17725 * gdb.python/python.exp: Likewise.
17727 2014-10-15 Yao Qi <yao@codesourcery.com>
17729 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
17731 * gdb.python/py-symtab.exp: Likewise.
17732 * gdb.python/python.exp: Remove trailing ".*". Fix typo
17735 2014-10-14 Joel Brobecker <brobecker@adacore.com>
17737 * gdb.ada/addr_arith: New testcase.
17739 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
17741 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
17742 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
17743 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
17744 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
17746 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
17748 * gdb.arch/stap-eval-lang-ada.S: Likewise.
17749 * gdb.arch/stap-eval-lang-ada.c: Likewise.
17750 * gdb.arch/stap-eval-lang-ada.exp: New file.
17752 2014-10-14 Yao Qi <yao@codesourcery.com>
17754 * gdb.mi/mi-var-child.c (nothing1): New function.
17755 (nothing2): New function.
17756 (do_children_tests): Set function pointers by nothing1 and
17758 * gdb.mi/mi-var-child.exp: Step over new added statements.
17759 Update test to match the new output.
17760 * gdb.mi/var-cmd.c (nothing1): New function.
17761 (nothing2): New function.
17762 (do_children_tests): Set function pointers by nothing1 and
17764 * gdb.mi/mi-var-display.exp: Update test to match output.
17765 Step to the line specified by $line_dct_nothing.
17766 Increase the number of lines to step.
17768 2014-10-14 Yao Qi <yao@codesourcery.com>
17770 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
17772 * gdb.mi/mi2-var-child.exp: Likewise.
17774 2014-10-13 Doug Evans <dje@google.com>
17776 * gdb.python/py-objfile.exp: Change name of file name test.
17778 2014-10-13 Doug Evans <dje@google.com>
17780 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
17781 from the start of the CU.
17783 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
17784 Yao Qi <yao@codesourcery.com>
17786 Fix "save breakpoints" for "catch" command.
17787 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
17788 Remove -nonewline. Match also the added "main" line.
17790 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
17792 Fix "save breakpoints" for "disable $bpnum" command.
17793 * gdb.base/save-bp.c (main): Add label.
17794 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
17796 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
17798 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
17800 2014-10-11 Yao Qi <yao@codesourcery.com>
17802 * gdb.server/server-kill.exp: Execute command
17803 "set remote trace-status-packet on" before "tstatus".
17805 2014-10-11 Yao Qi <yao@codesourcery.com>
17807 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
17808 (main): Call getppid.
17809 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
17810 and continue to it. Read variable "server_pid".
17812 2014-10-11 Yao Qi <yao@codesourcery.com>
17814 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
17816 2014-10-11 Yao Qi <yao@codesourcery.com>
17818 * gdb.threads/thread-find.exp: Don't execute command
17820 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
17821 * gdb.threads/linux-dp.exp: Don't check the condition
17822 $threads_created equals to zero.
17824 2014-10-10 Pedro Alves <palves@redhat.com>
17826 * gdb.base/bigcore.exp: Remove references to IRIX.
17827 * gdb.base/funcargs.exp: Likewise.
17828 * gdb.base/interrupt.exp: Likewise.
17829 * gdb.base/mips_pro.exp: Likewise.
17830 * gdb.base/nodebug.exp: Likewise.
17831 * gdb.base/setvar.exp: Likewise.
17832 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
17834 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
17835 Pedro Alves <palves@redhat.com>
17838 * gdb.base/vdso-warning.c: New file.
17839 * gdb.base/vdso-warning.exp: New file.
17841 2014-10-02 Doug Evans <dje@google.com>
17843 * gdb.base/structs.c (main): Don't run forever.
17845 2014-10-02 Pedro Alves <palves@redhat.com>
17847 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
17848 (top level) <stop threads 1, stop threads 2>: Use it.
17850 2014-10-02 Pedro Alves <palves@redhat.com>
17852 * gdb.threads/break-while-running.exp (test): Add new
17853 'update_thread_list' argument. Skip "info threads" if false.
17854 (top level): Add new 'update_thread_list' axis.
17856 2014-10-02 Pedro Alves <palves@redhat.com>
17858 PR breakpoints/17431
17859 * gdb.base/execl-update-breakpoints.c: New file.
17860 * gdb.base/execl-update-breakpoints.exp: New file.
17862 2014-10-01 Pedro Alves <palves@redhat.com>
17864 * gdb.base/breakpoint-in-ro-region.c: New file.
17865 * gdb.base/breakpoint-in-ro-region.exp: New file.
17867 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
17869 * gdb.mi/mi-exit-code.exp: New file.
17870 * gdb.mi/mi-exit-code.c: New file.
17872 2014-09-30 Yao Qi <yao@codesourcery.com>
17874 * lib/prelink-support.exp (build_executable_own_libs): Error if
17875 the target isn't native.
17877 2014-09-30 Yao Qi <yao@codesourcery.com>
17879 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
17882 2014-09-22 Pedro Alves <palves@redhat.com>
17884 * gdb.threads/break-while-running.exp: New file.
17885 * gdb.threads/break-while-running.c: New file.
17887 2014-09-19 Yao Qi <yao@codesourcery.com>
17889 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
17890 Invoke test. Restart GDB with --readnow and invoke test again.
17892 2014-09-19 Yao Qi <yao@codesourcery.com>
17894 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
17895 proc set_breakpoint_on_gcd_function. Invoke
17896 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
17897 invoke set_breakpoint_on_gcd_function again.
17899 2014-09-18 Doug Evans <dje@google.com>
17901 * gdb.dwarf2/symtab-producer.exp: New file.
17903 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
17905 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
17906 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
17907 * gdb.base/global-var-nested-by-dso.c: Likewise.
17908 * gdb.base/global-var-nested-by-dso.exp: Likewise.
17910 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
17911 Pedro Alves <palves@redhat.com>
17913 * gdb.base/watch-bitfields.exp: Pass string other than test file
17914 name to prepare_for_testing.
17915 (watch): New procedure.
17916 (expect_watchpoint): Use with_test_prefix.
17917 (top level): Factor out tests to ...
17918 (test_watch_location, test_regular_watch): ... these new
17919 procedures, and use with_test_prefix and gdb_continue_to_end.
17921 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
17923 PR breakpoints/12526
17924 * gdb.base/watch-bitfields.exp: New file.
17925 * gdb.base/watch-bitfields.c: New file.
17927 2014-09-16 Pedro Alves <palves@redhat.com>
17929 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
17930 software and hardware addresses, not software address against
17933 2014-09-16 Pedro Alves <palves@redhat.com>
17935 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
17936 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
17938 2014-09-16 Pedro Alves <palves@redhat.com>
17940 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
17942 * gdb.base/a2-run.exp: Remove all code guarded by istarget
17943 "*-*-vxworks*" throughout.
17944 * gdb.base/break.exp: Likewise.
17945 * gdb.base/default.exp: Likewise.
17946 * gdb.base/scope.exp: Likewise.
17947 * gdb.base/sepdebug.exp: Likewise.
17948 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
17950 * gdb.base/run.c: Likewise.
17951 * gdb.base/sepdebug.c: Likewise.
17952 * gdb.hp/gdb.aCC/run.c: Likewise.
17953 * gdb.reverse/until-reverse.c: Likewise.
17954 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
17956 2014-09-16 Yao Qi <yao@codesourcery.com>
17958 * boards/local-remote-host-native.exp: New file.
17960 2014-09-14 Doug Evans <xdje42@gmail.com>
17962 * gdb.threads/queue-signal.c (thread_count): New variable.
17963 (thread_count_mutex, thread_count_condvar): New variables.
17964 (incr_thread_count, wait_all_threads_running): New functions.
17965 (main): Wait for all threads to be in their thread functions.
17967 2014-09-13 Doug Evans <xdje42@gmail.com>
17969 * gdb.threads/queue-signal.c: New file.
17970 * gdb.threads/queue-signal.exp: New file.
17972 2014-09-13 Doug Evans <xdje42@gmail.com>
17974 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
17975 be consistent with what default_gdb_init uses.
17976 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
17977 the plain text of the prompt. Add some logging printfs.
17978 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
17980 2014-09-12 Pedro Alves <palves@redhat.com>
17982 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
17983 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
17984 * gdb.arch/i386-size-overlap.exp: Likewise.
17985 * gdb.arch/i386-size.exp: Likewise.
17986 * gdb.arch/i386-unwind.exp: Likewise.
17987 * gdb.base/a2-run.exp: Likewise.
17988 * gdb.base/break.exp: Likewise.
17989 * gdb.base/charset.exp: Likewise.
17990 * gdb.base/chng-syms.exp: Likewise.
17991 * gdb.base/commands.exp: Likewise.
17992 * gdb.base/dbx.exp: Likewise.
17993 * gdb.base/find.exp: Likewise.
17994 * gdb.base/funcargs.exp: Likewise.
17995 * gdb.base/jit-simple.exp: Likewise.
17996 * gdb.base/reread.exp: Likewise.
17997 * gdb.base/sepdebug.exp: Likewise.
17998 * gdb.base/step-bt.exp: Likewise.
17999 * gdb.cp/mb-inline.exp: Likewise.
18000 * gdb.cp/mb-templates.exp: Likewise.
18001 * gdb.objc/basicclass.exp: Likewise.
18002 * gdb.threads/killed.exp: Likewise.
18004 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18007 * gdb.arch/powerpc-stackless.S: New file.
18008 * gdb.arch/powerpc-stackless.exp: New file.
18010 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
18012 * gdb.base/attach.c: Include unistd.h.
18013 (main): Call alarm. Add label postloop.
18014 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
18015 gdb_breakpoint, gdb_continue_to_breakpoint.
18016 (test_command_line_attach_run): Kill ${testpid} in one exit path.
18018 2014-09-11 Pedro Alves <palves@redhat.com>
18021 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
18022 * gdb.base/attach.exp (test_command_line_attach_run): New
18024 (top level): Call it.
18026 2014-09-11 Pedro Alves <palves@redhat.com>
18028 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
18029 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
18030 (do_command_attach_tests): Use spawn_wait_for_attach.
18031 * gdb.base/solib-overlap.exp: Likewise.
18032 * gdb.multi/multi-attach.exp: Likewise.
18033 * gdb.python/py-prompt.exp: Likewise.
18034 * gdb.python/py-sync-interp.exp: Likewise.
18035 * gdb.server/ext-attach.exp: Likewise.
18037 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
18039 * gdb.fortran/array-element.exp: Remove unexpected "continue"
18040 command in testcase. Simplify testcase.
18042 2014-09-10 Joel Brobecker <brobecker@adacore.com>
18044 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
18046 2014-09-10 Joel Brobecker <brobecker@adacore.com>
18048 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
18050 2014-09-10 Joel Brobecker <brobecker@adacore.com>
18052 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
18054 2014-09-10 Joel Brobecker <brobecker@adacore.com>
18056 * gdb.dwarf2/dynarr-ptr.c: New file.
18057 * gdb.dwarf2/dynarr-ptr.exp: New file.
18059 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18061 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
18062 of 30 rather than hardcoding 120 for a slow test case. Take the
18063 `gdb,timeout' target setting into account for this calculation.
18064 Don't extend the timeout for the test cases that don't need it.
18066 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18068 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
18069 a factor of 2 for a slow test case. Take the `gdb,timeout'
18070 target setting into account for this calculation.
18071 * gdb.reverse/until-precsave.exp: Increase the timeout by
18072 a factor of 15 and 3 respectively rather than adding 120
18073 for a pair of slow test cases. Take the `gdb,timeout'
18074 target setting into account for this calculation.
18076 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18078 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
18079 timeout, don't pass one down to gdb_expect.
18080 (gdb_expect): Rework timeout selection.
18082 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18084 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
18085 exception on timeout.
18086 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
18087 (gdbserver_start_extended): Catch any `gdbserver_start' error
18089 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
18090 * lib/mi-support.exp (mi_gdb_target_load): Catch any
18091 `gdbserver_gdb_load' error exceptions.
18093 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18095 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
18096 120 on waiting for the TCP socket to open.
18098 2014-09-09 Doug Evans <xdje42@gmail.com>
18100 * gdb.base/default.exp (show_conv_list): Add _caller_is,
18101 _caller_matches, _any_caller_is, _any_caller_matches.
18103 2014-09-09 Doug Evans <xdje42@gmail.com>
18105 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
18107 2014-09-09 Yao Qi <yao@codesourcery.com>
18109 * gdb.mi/mi-var-display.exp: Set print symbol off.
18111 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
18114 * gdb.base/commands.exp: Add tests to verify user-defined
18115 commands with empty bodies.
18116 * gdb.python/py-cmd.exp: Test that we don't show user-defined
18117 python commands in `show user command`.
18118 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
18119 scheme commands in `show user command`.
18121 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
18124 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
18125 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
18126 * gdb.python/py-framefilter-invalidarg.exp: New file.
18127 * gdb.python/py-framefilter-invalidarg.py: New file.
18129 2014-09-06 Doug Evans <xdje42@gmail.com>
18132 * gdb.python/py-caller-is.c: New file.
18133 * gdb.python/py-caller-is.exp: New file.
18135 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
18138 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
18139 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
18141 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
18144 * gdb.fortran/print-formatted.exp: New file.
18145 * gdb.fortran/print-formatted.f90: Likewise.
18147 2014-09-03 Sasha Smundak <asmundak@google.com>
18149 * gdb.python/py-frame.exp: Test Frame.read_register.
18151 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
18154 * gdb.python/py-completion.exp: New file.
18155 * gdb.python/py-completion.py: Likewise.
18157 2014-08-28 Doug Evans <dje@google.com>
18159 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
18160 eax,etc. are live with values set by gdb and thus the compiler can't
18162 * gdb.arch/i386-pseudo.c (main): Ditto.
18164 2014-08-27 Doug Evans <dje@google.com>
18166 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
18168 2014-08-25 Doug Evans <dje@google.com>
18170 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
18173 2014-08-25 Doug Evans <dje@google.com>
18175 * gdb.threads/thread-execl.exp: #include <stdio.h>.
18177 2014-08-24 Yao Qi <yao@codesourcery.com>
18179 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
18181 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
18183 2014-08-22 Doug Evans <dje@google.com>
18186 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
18187 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
18188 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
18190 2014-08-22 Yao Qi <yao@codesourcery.com>
18192 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
18193 * gdb.python/py-finish-breakpoint2.exp: Likewise.
18194 * gdb.python/python.exp: Likewise. Use .py file on the host
18195 instead of the build.
18197 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
18199 * gdb.threads/gcore-stale-thread.c: New file.
18200 * gdb.threads/gcore-stale-thread.exp: New file.
18202 2014-08-21 Pedro Alves <palves@redhat.com>
18204 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
18205 * gdb.base/gcore-relro-pie.exp: Likewise.
18206 * gdb.base/gcore-relro.exp: Likewise.
18207 * gdb.base/gcore.exp: Likewise.
18208 * gdb.base/print-symbol-loading.exp: Likewise.
18209 * gdb.threads/gcore-thread.exp: Likewise.
18210 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
18212 2014-08-20 Pedro Alves <palves@redhat.com>
18213 Jan Kratochvil <jan.kratochvil@redhat.com>
18215 * Makefile.in (EXTRA_RULES, CC): New variables, get from
18217 (EXPECT): Handle READ1 being set.
18218 (all): Depend on EXTRA_RULES.
18219 (check-read1, expect-read1, read1.so, read1): New rules.
18220 * README (Testsuite Parameters): Document the READ1 make variable.
18221 (Race detection): New section.
18222 * configure: Regenerate.
18223 * configure.ac: If build==host==target, and running under a
18224 GNU/glibc system, add read1 to the extra Makefile rules.
18225 (EXTRA_RULES): AC_SUBST it.
18226 * lib/read1.c: New file.
18228 2014-08-20 Joel Brobecker <brobecker@adacore.com>
18230 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
18231 the handling of variables declared as a typedef to an array
18232 which a DW_AT_data_location attribute.
18234 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
18235 Pedro Alves <palves@redhat.com>
18239 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
18242 2014-08-19 Pedro Alves <palves@redhat.com>
18244 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
18246 2014-08-19 Yao Qi <yao@codesourcery.com>
18248 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
18251 2014-08-18 David Blaikie <dblaikie@gmail.com>
18253 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
18255 2014-08-18 Joel Brobecker <brobecker@adacore.com>
18257 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
18258 attribute in array range.
18260 2014-08-18 Joel Brobecker <brobecker@adacore.com>
18262 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
18264 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
18267 * gdb.cp/pr17132.cc: New file.
18268 * gdb.cp/pr17132.exp: New file.
18270 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
18272 * gdb.python/py-xmethods.py (A_getarrayind)
18273 (E_method_char_worker.__call__, E_method_int_worker.__call__):
18274 Use 'print' with function call syntax.
18275 (E_method_matcher.match): Fix tab vs space indentation mixup.
18277 2014-08-15 Yao Qi <yao@codesourcery.com>
18279 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
18282 2014-08-15 Yao Qi <yao@codesourcery.com>
18284 * gdb.cp/casts.exp: Set print symbol off.
18285 * gdb.cp/class2.exp: Likewise.
18286 * gdb.cp/overload.exp: Likewise.
18287 * gdb.cp/templates.exp: Likewise.
18289 2014-08-11 Doug Evans <dje@google.com>
18291 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
18292 (test_load_shlib): Update.
18294 2014-08-09 Yao Qi <yao@codesourcery.com>
18296 * gdb.base/display.exp: Invoke is_address_zero_readable.
18297 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
18298 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
18299 * gdb.base/hbreak-unmapped.exp: Return if
18300 is_address_zero_readable returns true.
18301 * gdb.base/signest.exp: Likewise.
18302 * gdb.base/signull.exp: Likewise.
18303 * gdb.base/sigbpt.exp: Likewise.
18304 * gdb.guile/scm-disasm.exp: Do the test if
18305 is_address_zero_readable returns false.
18306 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
18307 * gdb.python/py-arch.exp: Likewise.
18308 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
18309 * lib/gdb.exp (is_address_zero_readable): New proc.
18311 2014-08-09 Yao Qi <yao@codesourcery.com>
18314 * gdb.mi/mi-var-display.exp: Make test messages unique.
18316 2014-08-04 Tom Tromey <tromey@redhat.com>
18318 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
18321 2014-08-04 Tom Tromey <tromey@redhat.com>
18323 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
18326 2014-08-01 Joel Brobecker <brobecker@adacore.com>
18328 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
18329 inner_vla_struct_object_size.
18330 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
18333 2014-07-30 Pedro Alves <palves@redhat.com>
18335 * gdb.threads/signal-command-handle-nopass.exp (test): Add
18338 2014-07-29 Yao Qi <yao@codesourcery.com>
18341 * gdb.base/until-nodebug.exp: New.
18343 2014-07-28 Doug Evans <xdje42@gmail.com>
18346 * gdb.guile/scm-parameter.exp: Add tests for trying to create
18347 previously existing parameter, and previously ambiguously spelled
18350 2014-07-28 Will Newton <will.newton@linaro.org>
18352 * gdb.base/varargs.exp: Remove KFAILs for ARM.
18354 2014-07-26 Ludovic Courtès <ludo@gnu.org>
18355 Doug Evans <xdje42@gmail.com>
18358 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
18360 2014-07-25 Pedro Alves <palves@redhat.com>
18362 * gdb.threads/signal-command-handle-nopass.c: New file.
18363 * gdb.threads/signal-command-handle-nopass.exp: New file.
18364 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
18365 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
18366 * gdb.threads/signal-delivered-right-thread.c: New file.
18367 * gdb.threads/signal-delivered-right-thread.exp: New file.
18369 2014-07-25 Pedro Alves <palves@redhat.com>
18371 * gdb.base/double-prompt-target-event-error.exp
18372 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
18374 (cancel_pagination_in_target_event): Rework double prompt
18376 * gdb.base/paginate-after-ctrl-c-running.exp
18377 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
18379 * gdb.base/paginate-bg-execution.exp
18380 (test_bg_execution_pagination_return)
18381 (test_bg_execution_pagination_cancel): Remove '-notransfer
18383 * gdb.base/paginate-execution-startup.exp
18384 (test_fg_execution_pagination_return)
18385 (test_fg_execution_pagination_cancel): Remove '-notransfer
18387 * gdb.base/paginate-inferior-exit.exp
18388 (test_paginate_inferior_exited): Remove '-notransfer <return>'
18390 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
18391 * lib/gdb.exp (pagination_prompt): Run text through
18393 (gdb_test_multiple): Match $pagination_prompt instead of
18395 (string_to_regexp): Move to lib/gdb-utils.exp.
18397 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
18399 * gdb.arch/amd64-entry-value-paramref.S: New file.
18400 * gdb.arch/amd64-entry-value-paramref.cc: New file.
18401 * gdb.arch/amd64-entry-value-paramref.exp: New file.
18402 * gdb.arch/amd64-optimout-repeat.S: New file.
18403 * gdb.arch/amd64-optimout-repeat.c: New file.
18404 * gdb.arch/amd64-optimout-repeat.exp: New file.
18406 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
18409 * gdb.base/statistics.exp: New file.
18411 2014-07-17 Doug Evans <dje@google.com>
18414 * gdb.base/maint.exp: Update testing of per-command stats.
18416 2014-07-16 Pedro Alves <palves@redhat.com>
18418 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
18419 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
18420 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
18421 (tfile_write_buf): New functions.
18422 (add_memory_block): Rewrite using the above.
18423 (adjust_function_address): New function.
18424 (FUNCTION_ADDRESS): New macro.
18425 (write_basic_trace_file): Remove short_x local, and use
18426 tfile_write_16. Change type of func_addr local to unsigned long
18427 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
18428 here. Cast argument of add_memory_block to char pointer.
18429 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
18430 (main): Remove parameters.
18431 * gdb.trace/tfile.exp: Remove nowarnings.
18433 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
18435 * gdb.base/debug-expr.exp: Test string evaluation with
18436 "debug expression" on.
18438 2014-07-15 Pedro Alves <palves@redhat.com>
18440 * gdb.base/reread.exp: Use clean_restart.
18442 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
18444 * gdb.arch/avr-flash-qualifer.c: New.
18445 * gdb.arch/avr-flash-qualifer.exp: New.
18447 2014-07-14 Pedro Alves <palves@redhat.com>
18449 * gdb.base/paginate-after-ctrl-c-running.c: New file.
18450 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
18452 2014-07-14 Pedro Alves <palves@redhat.com>
18454 * gdb.base/double-prompt-target-event-error.c: New file.
18455 * gdb.base/double-prompt-target-event-error.exp: New file.
18457 2014-07-14 Pedro Alves <palves@redhat.com>
18460 * gdb.base/paginate-inferior-exit.c: New file.
18461 * gdb.base/paginate-inferior-exit.exp: New file.
18463 2014-07-14 Pedro Alves <palves@redhat.com>
18466 * gdb.base/paginate-bg-execution.c: New file.
18467 * gdb.base/paginate-bg-execution.exp: New file.
18469 2014-07-14 Pedro Alves <palves@redhat.com>
18472 * gdb.base/paginate-execution-startup.c: New file.
18473 * gdb.base/paginate-execution-startup.exp: New file.
18474 * lib/gdb.exp (pagination_prompt): New global.
18475 (default_gdb_spawn): New procedure, factored out from
18477 (default_gdb_start): Adjust to call default_gdb_spawn.
18478 (gdb_spawn): New procedure.
18480 2014-07-14 Pedro Alves <palves@redhat.com>
18482 * lib/gdb.exp (gdb_assert): New procedure.
18483 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
18485 2014-07-14 Pedro Alves <palves@redhat.com>
18487 * gdb.base/execution-termios.c: New file.
18488 * gdb.base/execution-termios.exp: New file.
18490 2014-07-14 Tom Tromey <tromey@redhat.com>
18492 * gdb.cp/vla-cxx.cc: New file.
18493 * gdb.cp/vla-cxx.exp: New file.
18495 2014-07-14 Tom Tromey <tromey@redhat.com>
18497 * gdb.reverse/rerun-prec.c: New file.
18498 * gdb.reverse/rerun-prec.exp: New file.
18500 2014-07-12 Maciej W. Rozycki <macro@mips.com>
18501 Maciej W. Rozycki <macro@codesourcery.com>
18503 * lib/gdb-utils.exp: New file.
18504 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
18505 inline `gdb_init_command' processing.
18506 (gdb_start_cmd): Likewise.
18507 * lib/mi-support.exp (mi_run_cmd): Likewise.
18508 * README: Document `gdb_init_command' and `gdb_init_commands'.
18510 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
18512 Fix false FAIL running under a very long directory name.
18513 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
18514 and "set print elements 10000". Twice.
18516 2014-07-11 Yao Qi <yao@codesourcery.com>
18518 * gdb.base/exprs.exp: "set print symbol off".
18520 2014-07-11 Pedro Alves <palves@redhat.com>
18522 * gdb.threads/kill.c: New file.
18523 * gdb.threads/kill.exp: New file.
18525 2014-07-10 Yao Qi <yao@codesourcery.com>
18527 * gdb.trace/tfile.c (write_basic_trace_file)
18528 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
18529 address written to trace file.
18531 2014-07-09 Pedro Alves <palves@redhat.com>
18533 * gdb.base/attach-wait-input.exp: New file.
18534 * gdb.base/attach-wait-input.c: New file.
18536 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
18538 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
18539 setting up test structures.
18540 (main): Call new test function.
18541 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
18542 test function, continue into test function and walk test
18545 2014-07-02 Yao Qi <yao@codesourcery.com>
18547 * gdb.trace/entry-values.c: Define labels 'foo_start' and
18548 'bar_start' at the beginning of functions 'foo' and 'bar'
18550 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
18551 instead of 'foo' and 'bar'.
18553 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
18555 * gdb.btrace/segv.exp: New.
18556 * gdb.btrace/segv.c: New.
18558 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
18560 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
18563 2014-06-30 Mark Wielaard <mjw@redhat.com>
18565 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
18566 vulture, vilify, villar): New volatile array constants.
18567 (vindictive, vegetation): New const volatile array constants.
18568 * gdb.base/volatile.exp: Test volatile and const volatile array
18571 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
18573 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
18574 target lacks support for awatch, rwatch, or hbreak.
18576 2014-06-27 Yao Qi <yao@codesourcery.com>
18578 * gdb.multi/dummy-frame-restore.exp: New.
18579 * gdb.multi/dummy-frame-restore.c: New.
18581 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
18583 * gdb.btrace/gcore.exp: New.
18585 2014-06-23 Pedro Alves <palves@redhat.com>
18587 * gdb.base/watchpoint-reuse-slot.c: New file.
18588 * gdb.base/watchpoint-reuse-slot.exp: New file.
18590 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
18592 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
18593 progspace's filename in 'info', 'enable' and 'disable' command
18596 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
18598 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
18599 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
18600 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
18602 2014-06-20 Gary Benson <gbenson@redhat.com>
18604 * gdb.arch/i386-avx.exp: Fix include file location.
18605 * gdb.arch/i386-sse.exp: Likewise.
18607 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
18609 * gdb.dlang/expression.exp: New file.
18611 2014-06-19 Pedro Alves <palves@redhat.com>
18613 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
18615 (top level): ... here. Iterate running tests under different
18616 scheduler-locking settings.
18618 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
18620 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
18621 to DW_FORM_addr and use non-zero addresses.
18623 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
18626 * gdb.python/py-xmethods.cc: Add global function call counters and
18627 increment them in their respective functions. Remove "cout"
18629 * gdb.python/py-xmethods.exp: Make tests check the global function
18630 call counters instead of depending on inferior IO.
18632 2014-06-18 Don Breazeal <donb@codesourcery.com>
18634 * gdb.base/foll-fork.exp (default_fork_parent_follow):
18636 (explicit_fork_parent_follow): Deleted procedure.
18637 (explicit_fork_child_follow): Deleted procedure.
18638 (test_follow_fork): New procedure.
18639 (do_fork_tests): Replace calls to deleted procedures with
18640 calls to test_follow_fork and reset GDB for subsequent
18643 2014-06-17 Yao Qi <yao@codesourcery.com>
18645 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
18648 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
18650 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
18651 Initialize ptr and S explicitly.
18652 (skip_type_update_when_not_use_rtti_test): Likewise.
18654 2014-06-16 Keith Seitz <keiths@redhat.com>
18657 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
18658 the inferior is started.
18660 2014-06-16 Pedro Alves <palves@redhat.com>
18662 * gdb.base/break-main-file-remove-fail.c: New file.
18663 * gdb.base/break-main-file-remove-fail.exp: New file.
18664 * gdb.base/break-unload-file.exp: Use build_executable instead of
18665 prepare_for_testing.
18666 (test_break): New parameter "initial_load". Handle it.
18667 (top level): Add initial_load cmdline/file axis.
18669 2014-06-12 Tom Tromey <tromey@redhat.com>
18671 * gdb.base/completion.exp: Don't use directory name in test.
18673 2014-06-09 Gary Benson <gbenson@redhat.com>
18675 * gdb.base/sigall.c [Functions to send signals]: Reorder to
18676 separate the always-available ANSI-standard signals from the
18677 signals that require checking.
18679 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
18683 2014-06-07 Keith Seitz <keiths@redhat.com>
18687 * gdb.cp/var-tag.cc: New file.
18688 * gdb.cp/var-tag.exp: New file.
18689 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
18690 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
18691 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
18692 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
18694 2014-06-06 Doug Evans <xdje42@gmail.com>
18696 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
18698 2014-06-06 Pedro Alves <palves@redhat.com>
18700 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
18701 in target debug output instead of looking at RSP packets,
18702 disabling the test on any target that uses hardware stepping.
18705 2014-06-06 Pedro Alves <palves@redhat.com>
18707 * gdb.base/break-unload-file.exp: Fix typo.
18709 2014-06-06 Yao Qi <yao@codesourcery.com>
18711 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
18712 from "jit_function" to "^jit_function".
18714 2014-06-06 Yao Qi <yao@codesourcery.com>
18716 * gdb.base/async.c (foo): Add one statement.
18717 * gdb.base/async.exp: Get the next instruction address and
18718 match the output of "nexti" by instruction address. Match
18719 the hex address in the output of "finish".
18721 2014-06-06 Gary Benson <gbenson@redhat.com>
18723 * gdb.base/call-signals.c: Remove preprocessor conditionals
18724 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
18725 SIGSEGV and SIGTERM.
18726 * gdb.base/sigall.c: Likewise.
18727 * gdb.base/unwindonsignal.c: Likewise.
18728 * gdb.reverse/sigall-reverse.c: Likewise.
18730 2014-06-06 Yao Qi <yao@codesourcery.com>
18732 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
18733 readable, skip the test.
18735 2014-06-06 Yao Qi <yao@codesourcery.com>
18737 * gdb.threads/staticthreads.c (thread_function): Move the line
18738 setting breakpoint on forward.
18739 * gdb.threads/staticthreads.exp: Update comments.
18741 2014-06-05 Ludovic Courtès <ludo@gnu.org>
18743 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
18744 "history-append! type error".
18746 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
18748 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
18749 erroneous dprintf expected input.
18751 2014-06-04 Doug Evans <xdje42@gmail.com>
18753 * gdb.guile/scm-generics.exp: Delete.
18755 2014-06-04 Doug Evans <xdje42@gmail.com>
18757 * gdb.guile/scm-breakpoint.exp: Update.
18758 Add tests for breakpoint registration.
18760 2014-06-04 Tom Tromey <tromey@redhat.com>
18762 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
18764 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
18765 inner_vla_struct, vla_union types. Initialize objects of those
18766 types and compute their sizes.
18768 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
18769 Hui Zhu <hui@codesourcery.com>
18771 * gdb.base/fileio.exp: Add test for shell not available as well as
18773 * gdb.base/fileio.c (test_system): Check for shell twice.
18775 2014-06-04 Yao Qi <yao@codesourcery.com>
18777 * gdb.base/auto-connect-native-target.exp: Remove redundant
18778 space from the regexp pattern.
18780 2014-06-04 Yao Qi <yao@codesourcery.com>
18782 * gdb.base/default.exp: Replace "child" with "native" in
18785 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
18787 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
18788 * gdb.python/py-xmethods.exp: New tests to test xmethods.
18789 * gdb.python/py-xmethods.py: Python script supporting the
18790 new testcase and tests.
18792 2014-06-03 Joel Brobecker <brobecker@adacore.com>
18793 Pedro Alves <palves@redhat.com>
18795 PR breakpoints/17000
18796 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
18797 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
18799 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
18801 * gdb.base/subst.exp: Add tests to verify partial path matching
18804 2014-06-03 Pedro Alves <palves@redhat.com>
18806 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
18807 target that doesn't use software single-stepping.
18809 2014-06-03 Pedro Alves <palves@redhat.com>
18811 PR breakpoints/17000
18812 * gdb.base/sss-bp-on-user-bp-2.c: New file.
18813 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
18815 2014-06-02 Doug Evans <xdje42@gmail.com>
18817 * gdb.guile/scm-parameter.exp: New file.
18819 2014-06-02 Doug Evans <xdje42@gmail.com>
18821 * gdb.guile/scm-cmd.c: New file.
18822 * gdb.guile/scm-cmd.exp: New file.
18824 2014-06-02 Doug Evans <xdje42@gmail.com>
18826 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
18827 pretty-printer lookup.
18828 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
18829 (make-pp_s-printer): Call it.
18830 (make-pretty-printer-from-dict): New function.
18831 (lookup-pretty-printer-maker-from-dict): New function.
18832 (*pretty-printer*): Simplify.
18833 (make-objfile-pp_s-printer): New function.
18834 (install-objfile-pretty-printers!): New function.
18835 (make-progspace-pp_s-printer): New function.
18836 (install-progspace-pretty-printers!): New function.
18837 * gdb.guile/scm-progspace.c: New file.
18838 * gdb.guile/scm-progspace.exp: New file.
18840 2014-06-02 Pedro Alves <palves@redhat.com>
18842 * gdb.base/dprintf-bp-same-addr.c: New file.
18843 * gdb.base/dprintf-bp-same-addr.exp: New file.
18845 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18847 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
18848 * gdb.arch/powerpc-power.s: Likewise.
18850 2014-06-02 Joel Brobecker <brobecker@adacore.com>
18852 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
18854 2014-06-01 Yao Qi <yao@codesourcery.com>
18856 * gdb.base/watchpoint.exp (test_watch_location): Check null
18857 pointer can be dereferenced. If not, do the test, otherwise
18860 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
18862 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
18864 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
18866 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
18868 * gdb.arch/amd64-invalid-stack-middle.S: New file.
18869 * gdb.arch/amd64-invalid-stack-middle.c: New file.
18870 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
18871 * gdb.arch/amd64-invalid-stack-top.c: New file.
18872 * gdb.arch/amd64-invalid-stack-top.exp: New file.
18874 2014-05-30 Pedro Alves <palves@redhat.com>
18876 PR breakpoints/17000
18877 * gdb.base/sss-bp-on-user-bp.c: New file.
18878 * gdb.base/sss-bp-on-user-bp.exp: New file.
18880 2014-05-30 David Blaikie <dblaikie@gmail.com>
18882 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
18883 gnu_inline semantics via attribute.
18884 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
18885 source explicitly specifies the required semantics.
18887 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
18889 * gdb.reverse/sigall-reverse.exp: Fix a typo.
18891 2014-05-29 Pedro Alves <palves@redhat.com>
18892 Tom Tromey <tromey@redhat.com>
18894 * gdb.base/async-shell.exp: Don't enable target-async.
18895 * gdb.base/async.exp
18896 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
18898 (top level): Don't test with "target-async".
18899 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
18900 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
18901 * gdb.base/inferior-died.exp: Don't enable target-async.
18902 * gdb.base/interrupt-noterm.exp: Likewise.
18903 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
18904 * gdb.mi/mi-nonstop-exit.exp: Likewise.
18905 * gdb.mi/mi-nonstop.exp: Likewise.
18906 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
18907 * gdb.mi/mi-nsintrall.exp: Likewise.
18908 * gdb.mi/mi-nsmoribund.exp: Likewise.
18909 * gdb.mi/mi-nsthrexec.exp: Likewise.
18910 * gdb.mi/mi-watch-nonstop.exp: Likewise.
18911 * gdb.multi/watchpoint-multi.exp: Adjust comment.
18912 * gdb.python/py-evsignal.exp: Don't enable target-async.
18913 * gdb.python/py-evthreads.exp: Likewise.
18914 * gdb.python/py-prompt.exp: Likewise.
18915 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
18916 * gdb.server/solib-list.exp: Don't enable target-async.
18917 * gdb.threads/thread-specific-bp.exp: Likewise.
18918 * lib/mi-support.exp: Adjust to use mi-async.
18920 2014-05-29 Pedro Alves <palves@redhat.com>
18923 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
18924 reason, even in sync mode.
18926 2014-05-29 Pedro Alves <palves@redhat.com>
18927 Hui Zhu <hui@codesourcery.com>
18930 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
18931 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
18932 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
18933 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
18935 2014-05-28 Joel Brobecker <brobecker@adacore.com>
18937 * config/monitor.exp (gdb_target_monitor): Replace use of
18938 "set remotebaud" by "set serial baud".
18940 2014-05-26 Andy Wingo <wingo@igalia.com>
18942 * gdb.guile/scm-breakpoint.exp:
18943 * gdb.guile/scm-gsmob.exp: Update to use plain old object
18944 properties instead of gdb-object-properties.
18946 2014-05-26 Yao Qi <yao@codesourcery.com>
18948 * gdb.server/no-thread-db.exp: Specify source file name
18949 explicitly when setting a breakpoint.
18951 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
18953 * gdb.btrace/vdso.c: New.
18954 * gdb.btrace/vdso.exp: New.
18956 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
18958 * gdb.base/gcore.exp (capture_command_output): Move ...
18959 * lib/gdb.exp (capture_command_output): ... here.
18961 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
18963 * gdb.btrace/data.exp: Test memory access during btrace replay.
18965 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
18967 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
18969 2014-05-21 Pedro Alves <palves@redhat.com>
18972 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
18973 (top level): Test that output related to execution commands is
18974 sent to the console with CLI commands, but not with MI commands.
18975 Test that breakpoint events are always mirrored to the console.
18976 Also expect the new source line to be output after a "next" in
18977 async mode too. Make it a pass/fail test.
18978 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
18980 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
18982 2014-05-21 Pedro Alves <palves@redhat.com>
18984 * gdb.base/list.exp (build_pattern, test_list): New procedures.
18985 Use them to test variations of "list" after reaching a breakpoint.
18986 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
18987 Test "list" with listsize 10 after reaching a breakpoint.
18988 * gdb.python/python.exp (decode_line current location line
18989 number): Adjust expected line number.
18991 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
18993 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
18994 behavior for $args, pass it directly to "run".
18996 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
18998 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
19001 2014-05-21 Pedro Alves <palves@redhat.com>
19003 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
19004 auto-connect-native-target off".
19005 * gdb.base/auto-connect-native-target.c: New file.
19006 * gdb.base/auto-connect-native-target.exp: New file.
19008 2014-05-21 Pedro Alves <palves@redhat.com>
19010 * gdb.base/default.exp: Test "target native" instead of "target
19013 2014-05-21 Mark Wielaard <mjw@redhat.com>
19015 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
19017 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
19019 Fix TLS access for -static -pthread.
19020 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
19021 <HAVE_TLS> (thread_function, main): Initialize it.
19022 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
19024 <$have_tls != "">: Check TLSVAR.
19026 2014-05-21 Pedro Alves <palves@redhat.com>
19028 * gdb.base/dcache-line-read-error.c: New.
19029 * gdb.base/dcache-line-read-error.exp: New.
19031 2014-05-20 Pedro Alves <palves@redhat.com>
19033 * gdb.base/compare-sections.c: New file.
19034 * gdb.base/compare-sections.exp: New file.
19036 2014-05-20 Pedro Alves <palves@redhat.com>
19038 * gdb.base/break-idempotent.c: New file.
19039 * gdb.base/break-idempotent.exp: New file.
19041 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
19043 * gdb.btrace/nohist.exp: New.
19045 2014-05-20 Yao Qi <yao@codesourcery.com>
19047 * lib/gdb.exp (gdb_init): Set timeout if test file is under
19048 gdb.reverse directory and gdb_reverse_timeout exists in board
19050 * README: Document gdb_reverse_timeout.
19052 2014-05-20 Yao Qi <yao@codesourcery.com>
19054 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
19055 'test_file_name'. Treat args as a string instead of a list.
19056 (gdb_init): Rename argument 'args' by 'test_file_name'.
19058 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
19060 * gdb.arch/powerpc-power.exp: New file.
19061 * gdb.arch/powerpc-power.s: New file.
19063 2014-05-16 Doug Evans <dje@google.com>
19065 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
19066 * gdb.base/completion.exp: Check that all expected files exist
19067 before doing file completion.
19069 2014-05-16 Doug Evans <dje@google.com>
19071 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
19073 (do_syscall_tests_without_xml): Update.
19075 2014-05-16 Pedro Alves <palves@redhat.com>
19077 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
19078 instead of "unknown output after running".
19080 2014-05-16 Yao Qi <yao@codesourcery.com>
19082 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
19083 file1.txt from host at the end.
19084 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
19086 2014-05-15 Doug Evans <dje@google.com>
19088 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
19089 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
19090 loading file. Add test for TU lookup.
19092 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
19094 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
19095 calling "-exec-arguments" or "set args" before running the
19098 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
19100 * lib/mi-support.exp (mi_expect_stop): Expect message for
19101 inferiors that exit with non-zero exit code.
19103 2014-05-14 Yao Qi <yao@codesourcery.com>
19105 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
19106 match absolute path on remote host.
19107 (test_file_list_exec_source_files): Remove "/" from the
19110 2014-05-14 Yao Qi <yao@codesourcery.com>
19112 * boards/local-remote-host-notty.exp (${board}_file): New
19115 2014-05-07 Kyle McMartin <kyle@redhat.com>
19117 Pushed by Joel Brobecker <brobecker@adacore.com>.
19118 * gdb.arch/aarch64-atomic-inst.c: New file.
19119 * gdb.arch/aarch64-atomic-inst.exp: New file.
19121 2014-05-07 Yao Qi <yao@codesourcery.com>
19123 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
19124 in current context" too.
19126 2014-05-05 Keith Seitz <keiths@redhat.com>
19128 * gdb.linespec/ls-dollar.exp: Add test for linespec
19129 file:convenience_variable.
19131 2014-05-05 Yao Qi <yao@codesourcery.com>
19133 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
19134 traceframes into tfile and ctf trace files. Read data from
19135 trace file and test collected data.
19136 (gdb_collect_locals_test): Likewise.
19137 (gdb_unavailable_registers_test): Likewise.
19138 (gdb_unavailable_floats): Likewise.
19139 (gdb_collect_globals_test): Likewise.
19140 (top-level): Append "ctf" to trace_file_targets if GDB
19143 2014-05-05 Yao Qi <yao@codesourcery.com>
19145 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
19147 (gdb_collect_args_test_1): ... it. New proc.
19148 (gdb_collect_locals_test): Move some code to ...
19149 (gdb_collect_locals_test_1): ... it. New proc.
19150 (gdb_unavailable_registers_test): Move some code to ...
19151 (gdb_unavailable_registers_test_1): ... it. New proc.
19152 (gdb_unavailable_floats): Move some code to ...
19153 (gdb_unavailable_floats_1): ... it. New proc.
19155 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
19157 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
19158 probes to test for bitness recognition.
19159 * gdb.arch/amd64-stap-optional-prefix.exp
19160 (test_probe_value_without_reg): New procedure.
19161 Add code to test for different kinds of bitness.
19163 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
19165 PR breakpoints/16889
19166 * gdb.arch/amd64-stap-optional-prefix.S: New file.
19167 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
19169 2014-05-01 Pedro Alves <palves@redhat.com>
19171 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
19172 gdb_file_cmd if no file is specified.
19173 * boards/native-extended-gdbserver.exp (gdb_load): Use the
19174 last_loaded_file to set the remote exec-file.
19176 2014-05-01 Pedro Alves <palves@redhat.com>
19178 * boards/local-remote-host.exp: New file.
19180 2014-05-01 Pedro Alves <palves@redhat.com>
19182 * boards/local-remote-host.exp: Rename to ...
19183 * boards/local-remote-host-notty.exp: ... this.
19185 2014-04-28 Joel Brobecker <brobecker@adacore.com>
19187 * gdb.ada/dyn_arrayidx: New testcase.
19189 2014-04-26 Yao Qi <yao@codesourcery.com>
19191 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
19192 and compute the length of function main. Save it in
19194 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
19195 (top-level): Use gdb_compile to compile objects into
19196 executable and restart GDB. Remove invocation to
19197 prepare_for_testing.
19199 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
19200 Pedro Alves <palves@redhat.com>
19203 * gdb.multi/multi-attach.c: New file.
19204 * gdb.multi/multi-attach.exp: New file.
19206 2014-04-25 Pedro Alves <palves@redhat.com>
19208 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
19210 (top level): Test that "set remote conditional-breakpoints-packet
19211 off" works as intended.
19212 * gdb.base/dprintf.exp: Test that "set remote
19213 breakpoint-commands-packet off" works as intended.
19214 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
19216 (top level): Call it.
19217 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
19218 remote fast-tracepoints-packet off" works as intended.
19219 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
19220 * lib/gdb.exp (gdb_is_target_remote): ... here.
19222 2014-04-24 David Blaikie <dblaikie@gmail.com>
19224 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
19225 ensure clang would not discard them.
19226 * gdb.base/gdbvars.c: Ditto.
19227 * gdb.base/memattr.c: Ditto.
19228 * gdb.base/whatis.c: Ditto.
19229 * gdb.python/py-prettyprint.c: Ditto.
19230 * gdb.trace/actions.c: Ditto.
19231 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
19232 ensure clang would not discard it.
19234 2014-04-24 David Blaikie <dblaikie@gmail.com>
19236 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
19237 clang to emit the full definition of type required by the test
19238 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
19240 2014-04-24 David Blaikie <dblaikie@gmail.com>
19242 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
19243 coax Clang into emitting the definition of the type.
19244 * gdb.cp/pr10728-x.h (y): Ditto.
19245 * gdb.cp/pr10728-y.cc (y): Ditto.
19247 2014-04-24 David Blaikie <dblaikie@gmail.com>
19249 * gdb.base/label.exp: XFAIL label related tests under Clang.
19250 * gdb.cp/cplabel.exp: Ditto.
19251 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
19252 under Clang those using labels.
19254 2014-04-25 Yao Qi <yao@codesourcery.com>
19256 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
19258 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
19259 partial_label and double_label.
19261 2014-04-24 David Blaikie <dblaikie@gmail.com>
19263 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
19265 2014-04-24 David Blaikie <dblaikie@gmail.com>
19267 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
19268 of the function to work across GCC and Clang.
19269 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
19270 pointer types (const void ** const V void **).
19272 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
19273 Walfred Tedeschi <walfred.tedeschi@intel.com>
19275 * Makefile.in (EXECUTABLES): Added i386-avx512.
19276 * gdb.arch/i386-avx512.c: New file.
19277 * gdb.arch/i386-avx512.exp: Likewise.
19279 2014-04-23 Keith Seitz <keiths@redhat.com>
19281 * lib/mi-support.exp (mi_list_breakpoints): Delete.
19282 (mi_make_breakpoint_table): New procedure.
19283 (mi_create_breakpoint): Use mi_make_breakpoint
19284 and return the result.
19285 (mi_make_breakpoint): New procedure.
19286 (mi_build_kv_pairs): New procedure.
19288 * gdb.mi/mi-break.exp: Remove unused globals,
19289 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
19290 All callers updated.
19291 * gdb.mi/mi-dprintf.exp: Use variable to track command
19293 Update all callers of mi_create_breakpoint and use
19294 mi_make_breakpoint_table.
19295 Remove any unused global variables.
19296 * gdb.mi/mi-nonstop.exp: Likewise.
19297 * gdb.mi/mi-nsintrall.exp: Likewise.
19298 * gdb.mi/mi-nsmoribund.exp: Likewise.
19299 * gdb.mi/mi-nsthrexec.exp: Likewise.
19300 * gdb.mi/mi-reverse.exp: Likewise.
19301 * gdb.mi/mi-simplerun.exp: Likewise.
19302 * gdb.mi/mi-stepn.exp: Likewise.
19303 * gdb.mi/mi-syn-frame.exp: Likewise.
19304 * gdb.mi/mi-until.exp: Likewise.
19305 * gdb.mi/mi-var-cp.exp: Likewise.
19306 * gdb.mi/mi-var-display.exp: Likewise.
19307 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
19308 * gdb.mi/mi2-var-child.exp: Likewise.
19309 * gdb.mi/mi-vla-c99.exp: Likewise.
19310 * lib/mi-support.exp: Likewise.
19312 From Ian Lance Taylor <iant@cygnus.com>:
19313 * lib/gdb.exp (parse_args): New procedure.
19315 2014-04-23 Pedro Alves <palves@redhat.com>
19317 * gdb.base/break-unload-file.c: New file.
19318 * gdb.base/break-unload-file.exp: New file.
19319 * gdb.base/sym-file-lib.c (baz): New function.
19320 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
19322 (load): Store the segment's mapped size.
19323 (unload): New function.
19324 (unload_shlib): New function.
19325 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
19326 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
19327 set a breakpoint at baz, and call it.
19328 * gdb.base/sym-file.exp: New tests for stale breakpoint
19331 2014-04-23 Pedro Alves <palves@redhat.com>
19333 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
19334 * gdb.base/hbreak-in-shr-unsupported.c: New file.
19335 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
19336 * gdb.base/hbreak-unmapped.c: New file.
19337 * gdb.base/hbreak-unmapped.exp: New file.
19338 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
19339 * lib/gdb.exp (gdb_is_target_remote): ... here.
19341 2014-04-22 Pedro Alves <palves@redhat.com>
19343 * gdb.base/consecutive-step-over.c: New file.
19344 * gdb.base/consecutive-step-over.exp: New file.
19346 2014-04-22 Pedro Alves <palves@redhat.com>
19348 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
19349 instead of send_gdb/gdb_expect.
19351 2014-04-22 Yao Qi <yao@codesourcery.com>
19353 * lib/trace-support.exp (generate_tracefile): New procedure.
19354 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
19356 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
19357 if generate_tracefile returns 1.
19359 2014-04-18 Tom Tromey <palves@redhat.com>
19360 Pedro alves <tromey@redhat.com>
19363 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
19364 with a backtrace limit.
19365 * gdb.python/py-frame-inline.exp: Test running to an inline
19366 function with a backtrace limit, and printing the newest frame.
19367 * gdb.python/py-frame-inline.c (main): Call f.
19369 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
19371 * gdb.java/jnpe.exp: Drop srcdir from untested path.
19373 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
19375 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
19376 Drop prefix from unsupported source file path.
19378 2014-04-17 Yao Qi <yao@codesourcery.com>
19380 * lib/gdb.exp (with_target_charset): New proc.
19381 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
19382 with_target_charset.
19383 (test_print_strings): Likewise.
19384 (test_repeat_bytes): Likewise.
19385 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
19388 2014-04-16 Keith Seitz <keiths@redhat.com>
19391 * gdb.dwarf2/corrupt.c: New file.
19392 * gdb.dwarf2/corrupt.exp: New file.
19394 2014-04-16 Keith Seitz <keiths@redhat.com>
19397 * gdb.cp/namelessclass.cc: New file.
19398 * gdb.cp/namelessclass.exp: New file.
19399 * gdb.cp/namelessclass.S: New file.
19401 2014-04-16 Doug Evans <dje@google.com>
19403 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
19405 (gdbserver_default_get_comm_port): New function.
19406 (gdbserver_start): Check if board file provided
19407 "gdbserver,get_comm_port" and use it if so.
19408 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
19409 (gdb,socketport): Set to "stdio".
19410 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
19411 (stdio_gdbserver_template): Delete.
19412 (${board}_get_remote_address): Update.
19413 (${board}_build_remote_cmd): Delete.
19414 (${board}_get_comm_port): New function.
19415 (${board}_spawn): Update.
19416 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
19418 (${board}_get_remote_address): Update.
19419 (${board}_get_comm_port): New function.
19421 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
19423 * gdb.base/memattr.exp: Improve regexps to handle memory regions
19424 appearing in any order.
19426 2014-04-15 Doug Evans <dje@google.com>
19428 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
19429 uninitialized value of "description".
19431 2014-04-15 Keith Seitz <keiths@redhat.com>
19433 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
19434 Remove unused globals.
19435 (test_running_the_program): Likewise.
19436 (test_controlled_execution): Likewise.
19437 (test_controlling_breakpoints): Likewise.
19438 (test_program_termination): Likewise.
19440 2014-04-15 Keith Seitz <keiths@redhat.com>
19442 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
19444 (test_rbreak_creation_and_listing): Likewise.
19445 (test_ignore_count): Likewise.
19446 (test_error): Likewise.
19448 2014-04-15 Pedro Alves <palves@redhat.com>
19450 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
19451 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
19453 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
19454 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
19455 to sym-file-loader.c.
19456 (struct library): Forward declare.
19457 (load_shlib, lookup_function): Change prototypes.
19458 (find_shstrtab, find_strtab, find_shdr, find_symtab)
19459 (translate_offset): Remove declarations.
19460 (get_text_addr): New declaration.
19461 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
19462 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
19464 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
19465 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
19466 here from sym-file-loader.h.
19467 (struct library): New structure.
19468 (load_shlib, lookup_function): Change prototypes and adjust to
19469 work with a struct library.
19470 (find_shstrtab, find_strtab, find_shdr, find_symtab)
19471 (translate_offset): Make static.
19472 (get_text_addr): New function.
19473 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
19475 2014-04-15 Pedro Alves <palves@redhat.com>
19477 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
19479 2014-04-15 Pedro Alves <palves@redhat.com>
19481 * gdb.base/sym-file-loader.c: Include <limits.h>.
19482 (SELF_LINK): New define.
19483 (get_origin): New function.
19484 (load_shlib): Use it.
19485 * gdb.base/sym-file.exp: Don't early return if the target is
19486 remote. Use runto_main, and issue fail is that fails. Use
19488 (shlib_name): Delete.
19489 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
19491 2014-04-15 Pedro Alves <palves@redhat.com>
19493 * gdb.base/sym-file.exp: Remove regex characters from test
19494 message. Don't refer to breakpoint numbers in test messages.
19496 2014-04-14 Keith Seitz <keiths@redhat.com>
19499 * gdb.cp/var-tag.cc: New file.
19500 * gdb.cp/var-tag.exp: New file.
19501 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
19502 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
19503 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
19504 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
19506 2014-04-14 Tom Tromey <tromey@redhat.com>
19508 * gdb.cp/classes.exp (test_enums): Handle underlying type.
19509 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
19511 * gdb.cp/enum-class.exp: New file.
19512 * gdb.cp/enum-class.cc: New file.
19514 2014-04-14 Tom Tromey <tromey@redhat.com>
19516 * gdb.dwarf2/enum-type.exp: New file.
19518 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19520 * gdb.mi/mi-vla-c99.exp: New file.
19521 * gdb.mi/vla.c: New file.
19523 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19525 * gdb.base/vla-datatypes.c: New file.
19526 * gdb.base/vla-datatypes.exp: New file.
19528 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19530 * gdb.base/vla-ptr.c: New file.
19531 * gdb.base/vla-ptr.exp: New file.
19533 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19535 * gdb.dwarf2/count.exp: New file.
19537 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
19539 * gdb.base/vla-sideeffect.c: New file.
19540 * gdb.base/vla-sideeffect.exp: New file.
19542 2014-04-14 David Blaikie <dblaikie@gmail.com>
19544 * gdb.mi/non-stop.c: Add return value for non-void function return
19546 * gdb.threads/staticthreads.c: Ditto.
19548 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
19549 Doug Evans <xdje42@gmail.com>
19551 * gdb.guile/scm-value.c: Improve test case.
19552 * gdb.guile/scm-value.exp: Add new test.
19554 2014-04-11 David Blaikie <dblaikie@gmail.com>
19556 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
19557 override Clang's default.
19559 2014-04-11 Joel Brobecker <brobecker@adacore.com>
19561 Revert the following changes (regressions):
19563 * gdb.base/vla-sideeffect.c: New file.
19564 * gdb.base/vla-sideeffect.exp: New file.
19566 * gdb.dwarf2/count.exp: New file.
19568 * gdb.base/vla-multi.c: New file.
19569 * gdb.base/vla-multi.exp: New file.
19571 * gdb.base/vla-ptr.c: New file.
19572 * gdb.base/vla-ptr.exp: New file.
19574 * gdb.base/vla-datatypes.c: New file.
19575 * gdb.base/vla-datatypes.exp: New file.
19577 * gdb.mi/mi-vla-c99.exp: New file.
19578 * gdb.mi/vla.c: New file.
19580 2014-04-11 Keith Seitz <keiths@redhat.com>
19583 * gdb.cp/cpsizeof.exp: New file.
19584 * gdb.cp/cpsizeof.cc: New file.
19586 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19588 * gdb.mi/mi-vla-c99.exp: New file.
19589 * gdb.mi/vla.c: New file.
19591 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19593 * gdb.base/vla-datatypes.c: New file.
19594 * gdb.base/vla-datatypes.exp: New file.
19596 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19598 * gdb.base/vla-ptr.c: New file.
19599 * gdb.base/vla-ptr.exp: New file.
19601 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19603 * gdb.base/vla-multi.c: New file.
19604 * gdb.base/vla-multi.exp: New file.
19606 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19608 * gdb.dwarf2/count.exp: New file.
19610 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
19612 * gdb.base/vla-sideeffect.c: New file.
19613 * gdb.base/vla-sideeffect.exp: New file.
19615 2014-04-11 Yao Qi <yao@codesourcery.com>
19617 * gdb.base/completion.exp: Check file exists before running tests
19618 on file completion.
19620 2014-04-10 Pedro Alves <palves@redhat.com>
19622 * gdb.base/cond-eval-mode.c: New file.
19623 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
19624 prepare_for_testing to build the new file. Check result of
19626 (test_break, test_watch): New procedures.
19627 (top level): Use them.
19629 2014-04-08 Pierre Muller <muller@sourceware.org>
19631 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
19632 Ctrl-V use for mingw hosts.
19634 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
19636 * gdb.python/py-value.c: Improve test case.
19637 * gdb.python/py-value.exp: Add new test.
19639 2014-04-07 David Blaikie <dblaikie@gmail.com>
19641 * lib/compiler.c: Identify the clang compiler.
19642 * lib/compiler.cc: Ditto.
19644 2014-04-03 Yao Qi <yao@codesourcery.com>
19646 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
19648 2014-04-01 Anton Blanchard <anton@samba.org>
19650 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
19653 2014-04-01 Anton Blanchard <anton@samba.org>
19655 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
19656 prepare_for_testing.
19658 2014-04-01 Anton Blanchard <anton@samba.org>
19660 * gdb.arch/ppc64-atomic-inst.c: Remove.
19661 * gdb.arch/ppc64-atomic-inst.S: New file.
19662 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
19664 2014-03-31 Doug Evans <dje@google.com>
19666 * gdb.base/print-symbol-loading-lib.c: New file.
19667 * gdb.base/print-symbol-loading-main.c: New file.
19668 * gdb.base/print-symbol-loading.exp: New file.
19670 2014-03-31 Yao Qi <yao@codesourcery.com>
19672 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
19674 2014-03-28 Joel Brobecker <brobecker@adacore.com>
19676 * gdb.ada/mi_dyn_arr: New testcase.
19678 2014-03-27 Doug Evans <dje@google.com>
19680 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
19682 2014-03-27 Yao Qi <yao@codesourcery.com>
19684 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
19685 if target is nios2-*-*.
19687 2014-03-26 Yao Qi <yao@codesourcery.com>
19689 * lib/gdb.exp (readline_is_used): New proc.
19690 * gdb.base/completion.exp: Move tests on command complete up.
19691 Skip the rest of tests if readline is not used.
19692 * gdb.ada/complete.exp: Skp the test if readline is not
19694 * gdb.base/filesym.exp: Likewise.
19695 * gdb.base/macscp.exp: Likewise.
19696 * gdb.base/readline-ask.exp: Likewise.
19697 * gdb.base/readline.exp: Likewise.
19698 * gdb.python/py-cmd.exp: Likewise.
19699 * gdb.trace/tfile.exp: Likewise.
19701 2014-03-26 Yao Qi <yao@codesourcery.com>
19703 * gdb.base/macscp.exp: Fix code format issues.
19705 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
19707 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
19708 * gdb.asm/powerpc64le.inc: New file.
19710 2014-03-25 Pedro Alves <palves@redhat.com>
19711 Doug Evans <dje@google.com>
19713 * gdb.base/source-execution.c: New file.
19714 * gdb.base/source-execution.exp: New file.
19715 * gdb.base/source-execution.gdb: New file.
19717 2014-03-24 Doug Evans <dje@google.com>
19719 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
19722 2014-03-24 Hui Zhu <hui@codesourcery.com>
19723 Pedro Alves <palves@redhat.com>
19725 PR breakpoints/16101
19726 * gdb.base/dprintf.exp: Use unsupported rather than changing the
19727 test pass/fail messages. Detect missing support for dprintf when
19728 breakpoints are actually inserted.
19729 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
19730 breakpoints are actually inserted.
19731 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
19734 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
19736 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
19738 2014-03-22 Doug Evans <xdje42@gmail.com>
19740 * gdb.python/python.exp (python not supported): Verify multi-line
19741 python command issues an error.
19742 * gdb.guile/guile.exp (guile not supported): Verify multi-line
19743 guile command issues an error.
19745 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
19747 * gdb.threads/thread-specific.exp: Handle the lack of usable
19748 $this_breakpoint and $this_thread.
19750 2014-03-21 Hui Zhu <hui@codesourcery.com>
19752 * gdb.base/attach.exp (do_command_attach_tests): New.
19754 2014-03-20 Tom Tromey <tromey@redhat.com>
19755 Pedro Alves <palves@redhat.com>
19758 * gdb.base/condbreak-call-false.c: New file.
19759 * gdb.base/condbreak-call-false.exp: New file.
19761 2014-03-20 Pedro Alves <palves@redhat.com>
19763 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
19765 (block_signals, unblock_signals): Delete.
19766 (child_function_2, main): Remove references to deleted variable
19769 2014-03-20 Pedro Alves <palves@redhat.com>
19771 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
19772 Use pthread_kill to signal thread 2.
19773 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
19774 Adjust to make the test send itself a signal rather than using the
19775 host's "kill" command.
19777 2014-03-20 Pedro Alves <palves@redhat.com>
19779 * gdb.threads/multiple-step-overs.c: New file.
19780 * gdb.threads/multiple-step-overs.exp: New file.
19781 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
19782 Adjust expected infrun debug output.
19784 2014-03-20 Pedro Alves <palves@redhat.com>
19786 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
19787 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
19789 2014-03-20 Pedro Alves <palves@redhat.com>
19791 PR breakpoints/7143
19792 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
19793 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
19794 of gdb_test_multiple.
19795 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
19796 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
19798 2014-03-20 Pedro Alves <palves@redhat.com>
19800 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
19801 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
19803 2014-03-19 Pedro Alves <palves@redhat.com>
19805 * gdb.base/async.exp: Remove early return.
19807 2014-03-19 Pedro Alves <palves@redhat.com>
19809 * gdb.base/async.exp (step& tests): Pass explicit test messages.
19811 2014-03-19 Pedro Alves <palves@redhat.com>
19813 * gdb.base/async.exp (test_background): Expect \r\n after
19814 "completed." in the fail pattern.
19816 2014-03-19 Pedro Alves <palves@redhat.com>
19818 * gdb.base/async.exp (test_background): New procedure.
19819 Use it for all background execution command tests.
19821 2014-03-19 Pedro Alves <palves@redhat.com>
19823 * gdb.base/async.exp: Use prepare_for_testing.
19825 2014-03-19 Pedro Alves <palves@redhat.com>
19827 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
19830 2014-03-19 Pedro Alves <palves@redhat.com>
19832 * gdb.base/async.c (main): Add "jump here" and "until here" line
19834 * gdb.base/async.exp (jump_here): New global.
19835 (jump& test): Use it.
19836 (until_here): New global.
19837 (until& test): Use it.
19839 2014-03-19 Pedro Alves <palves@redhat.com>
19841 * gdb.base/async.exp: Don't frob gdb_protocol.
19843 2014-03-18 Doug Evans <xdje42@gmail.com>
19845 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
19846 Fix spelling of exec-done-display.
19848 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
19851 * gdb.base/gdb-sigterm.c: New file.
19852 * gdb.base/gdb-sigterm.exp: New file.
19854 2014-03-18 Pedro Alves <palves@redhat.com>
19857 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
19858 * lib/mi-support.exp (mi_expect_stop): Add special handling for
19861 2014-03-17 Joel Brobecker <brobecker@adacore.com>
19863 * gdb.ada/pckd_arr_ren: New testcase.
19865 2014-03-13 Doug Evans <xdje42@gmail.com>
19868 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
19869 collect after discarding symbols.
19871 2014-03-13 Ludovic Courtès <ludo@gnu.org>
19872 Doug Evans <xdje42@gmail.com>
19874 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
19875 to history survives a gc.
19877 2014-03-13 Pedro Alves <palves@redhat.com>
19879 * gdb.base/default.exp: Don't test "target procfs".
19881 2014-03-13 Pedro Alves <palves@redhat.com>
19883 * gdb.base/default.exp: Update "target child" and "target procfs"
19884 tests to not expect "Unix".
19886 2014-03-12 Tom Tromey <tromey@redhat.com>
19888 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
19889 New procs. Add target-async tests.
19890 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
19891 Add target-async tests.
19893 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19895 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
19896 'func_start' and 'func_end' for the beginning and end of the
19897 function code, respectively.
19898 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
19899 'func_end' instead of 'func' and 'main'.
19901 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19903 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
19904 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
19905 generate the debug info assembler source.
19907 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19909 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
19910 * gdb.dwarf2/arr-subrange.exp: Likewise.
19911 * gdb.dwarf2/dwz.exp: Likewise.
19912 * gdb.dwarf2/method-ptr.exp: Likewise.
19913 * gdb.dwarf2/missing-sig-type.exp: Likewise.
19914 * gdb.dwarf2/subrange.exp: Likewise.
19915 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
19916 * gdb.dwarf2/implptrpiece.exp: Likewise.
19917 * gdb.dwarf2/nostaticblock.exp: Likewise.
19919 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
19921 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
19922 directory to absolute path name arguments.
19924 2014-03-10 Joel Brobecker <brobecker@adacore.com>
19926 * gdb.ada/tagged_access: New testcase.
19928 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
19930 * gdb.btrace/data.exp: Update expected output.
19932 2014-03-06 Yao Qi <yao@codesourcery.com>
19934 * gdb.trace/pr16508.exp: New file.
19936 2014-03-05 Pedro Alves <palves@redhat.com>
19939 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
19941 (top level): Adjust to use it. Add tests that exercise breakpoint
19942 interaction with the code-cache.
19944 2014-02-26 Ludovic Courtès <ludo@gnu.org>
19946 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
19947 test for 'history-append!'.
19949 2014-02-26 Joel Brobecker <brobecker@adacore.com>
19951 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
19952 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
19953 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
19954 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
19955 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
19956 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
19958 2014-02-26 Joel Brobecker <brobecker@adacore.com>
19960 * testsuite/gdb.python/py-pp-re-notag.c: New file.
19961 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
19962 * testsuite/gdb.python/py-pp-re-notag.p: New file.
19964 2014-02-26 Joel Brobecker <brobecker@adacore.com>
19966 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
19968 2014-02-26 Joel Brobecker <brobecker@adacore.com>
19970 * gdb.dwarf2/arr-stride.c: New file.
19971 * gdb.dwarf2/arr-stride.exp: New file.
19973 2014-02-26 Pedro Alves <palves@redhat.com>
19975 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
19976 that won't ever trigger. Make sure that GDB reports the correct
19977 breakpoint that caused the stop.
19979 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
19982 * gdb.base/auto-load-script: New file.
19983 * gdb.base/auto-load.c: New file.
19984 * gdb.base/auto-load.exp: New file.
19987 * gdb.base/auto-load.exp: Fix out-of-srctree run.
19989 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
19991 Fix dw2-icycle.exp -fsanitize=address GDB crash.
19992 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
19994 2014-02-24 Doug Evans <dje@google.com>
19996 * lib/gdb.exp (run_on_host): Log error output if program fails.
19998 2014-02-21 Pedro Alves <palves@redhat.com>
20000 * gdb.threads/step-after-sr-lock.c: Rename to ...
20001 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
20002 * gdb.threads/step-after-sr-lock.exp: Rename to ...
20003 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
20006 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
20009 * gdb.arch/amd64-stap-special-operands.exp: New file.
20010 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
20011 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
20012 * gdb.arch/amd64-stap-triplet.S: Likewise.
20013 * gdb.arch/amd64-stap-triplet.c: Likewise.
20015 2014-02-20 Joel Brobecker <brobecker@adacore.com>
20017 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
20018 in .section pseudo-op.
20020 2014-02-20 lin zuojian <manjian2006@gmail.com>
20021 Joel Brobecker <brobecker@adacore.com>
20022 Doug Evans <xdje42@gmail.com>
20025 * gdb.dwarf2/dw2-icycle.S: New file.
20026 * gdb.dwarf2/dw2-icycle.c: New file.
20027 * gdb.dwarf2/dw2-icycle.exp: New file.
20029 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
20031 * gdb.python/py-value-cc.cc: Improve test case to enable testing
20032 operations on gdb.Value objects.
20033 * gdb.python/py-value-cc.exp: Add new test to test operations on
20036 2014-02-18 Doug Evans <dje@google.com>
20038 * Makefile.in (TESTS): New variable.
20039 (expanded_tests, expanded_tests_or_none): New variables
20040 (check-single): Pass $(expanded_tests_or_none) to runtest.
20041 (check-parallel): Only run tests in $(TESTS) if non-empty.
20042 (check/no-matching-tests-found): New rule.
20043 * README: Document TESTS makefile variable.
20045 2014-02-18 Doug Evans <dje@google.com>
20047 * Makefile.in (check-parallel): rm -rf outputs temp.
20049 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
20051 Fix "ERROR: no fileid for" in the testsuite.
20052 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
20054 2014-02-12 Doug Evans <dje@google.com>
20056 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
20057 (MISCELLANEOUS): New variable.
20058 (clean): rm -rf $(MISCELLANEOUS).
20059 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
20060 dwp live in the same directory as symlinks, with each symlink pointed
20061 to a differently named file in a different directory.
20063 2014-02-11 Doug Evans <dje@google.com>
20065 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
20066 of Tcl file commands.
20068 2014-02-10 Mark Kettenis <kettenis@gnu.org>
20070 * gdb.threads/step-after-sr-lock.exp: Avoid executing
20071 "kill -SIGUSR1 -1".
20073 2014-02-10 Joel Brobecker <brobecker@adacore.com>
20075 * gdb.ada/tick_length_array_enum_idx: New testcase.
20077 2014-02-10 Doug Evans <xdje42@gmail.com>
20079 * configure.ac (AC_OUTPUT): Add gdb.guile.
20080 * configure: Regenerate.
20081 * lib/gdb-guile.exp: New file.
20082 * lib/gdb.exp (get_target_charset): New function.
20083 * gdb.base/help.exp: Update expected output from "apropos apropos".
20084 * gdb.guile/Makefile.in: New file.
20085 * gdb.guile/guile.exp: New file.
20086 * gdb.guile/scm-arch.c: New file.
20087 * gdb.guile/scm-arch.exp: New file.
20088 * gdb.guile/scm-block.c: New file.
20089 * gdb.guile/scm-block.exp: New file.
20090 * gdb.guile/scm-breakpoint.c: New file.
20091 * gdb.guile/scm-breakpoint.exp: New file.
20092 * gdb.guile/scm-disasm.c: New file.
20093 * gdb.guile/scm-disasm.exp: New file.
20094 * gdb.guile/scm-equal.c: New file.
20095 * gdb.guile/scm-equal.exp: New file.
20096 * gdb.guile/scm-error.exp: New file.
20097 * gdb.guile/scm-error.scm: New file.
20098 * gdb.guile/scm-frame-args.c: New file.
20099 * gdb.guile/scm-frame-args.exp: New file.
20100 * gdb.guile/scm-frame-args.scm: New file.
20101 * gdb.guile/scm-frame-inline.c: New file.
20102 * gdb.guile/scm-frame-inline.exp: New file.
20103 * gdb.guile/scm-frame.c: New file.
20104 * gdb.guile/scm-frame.exp: New file.
20105 * gdb.guile/scm-generics.exp: New file.
20106 * gdb.guile/scm-gsmob.exp: New file.
20107 * gdb.guile/scm-iterator.c: New file.
20108 * gdb.guile/scm-iterator.exp: New file.
20109 * gdb.guile/scm-math.c: New file.
20110 * gdb.guile/scm-math.exp: New file.
20111 * gdb.guile/scm-objfile-script-gdb.in: New file.
20112 * gdb.guile/scm-objfile-script.c: New file.
20113 * gdb.guile/scm-objfile-script.exp: New file.
20114 * gdb.guile/scm-objfile.c: New file.
20115 * gdb.guile/scm-objfile.exp: New file.
20116 * gdb.guile/scm-ports.exp: New file.
20117 * gdb.guile/scm-pretty-print.c: New file.
20118 * gdb.guile/scm-pretty-print.exp: New file.
20119 * gdb.guile/scm-pretty-print.scm: New file.
20120 * gdb.guile/scm-section-script.c: New file.
20121 * gdb.guile/scm-section-script.exp: New file.
20122 * gdb.guile/scm-section-script.scm: New file.
20123 * gdb.guile/scm-symbol.c: New file.
20124 * gdb.guile/scm-symbol.exp: New file.
20125 * gdb.guile/scm-symtab-2.c: New file.
20126 * gdb.guile/scm-symtab.c: New file.
20127 * gdb.guile/scm-symtab.exp: New file.
20128 * gdb.guile/scm-type.c: New file.
20129 * gdb.guile/scm-type.exp: New file.
20130 * gdb.guile/scm-value-cc.cc: New file.
20131 * gdb.guile/scm-value-cc.exp: New file.
20132 * gdb.guile/scm-value.c: New file.
20133 * gdb.guile/scm-value.exp: New file.
20134 * gdb.guile/source2.scm: New file.
20135 * gdb.guile/types-module.cc: New file.
20136 * gdb.guile/types-module.exp: New file.
20138 2014-02-10 Yao Qi <yao@codesourcery.com>
20141 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
20142 * configure: Regenerated.
20143 * Makefile.in: New file.
20145 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
20147 * gdb.python/py-framefilter.exp: Fix typo.
20149 2014-02-08 Yao Qi <yao@codesourcery.com>
20151 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
20152 that no =breakpoint-modified is emitted when breakpoints are
20153 modified through MI commands.
20155 2014-02-07 Pedro Alves <pedro@codesourcery.com>
20156 Pedro Alves <palves@redhat.com>
20158 * gdb.threads/step-after-sr-lock.c: New file.
20159 * gdb.threads/step-after-sr-lock.exp: New file.
20161 2014-02-07 Pedro Alves <palves@redhat.com>
20163 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
20165 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
20167 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
20168 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
20170 2014-02-06 Doug Evans <xdje42@gmail.com>
20172 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
20175 * gdb.gdb/python-interrupts.exp: New file.
20177 2014-02-05 Yao Qi <yao@codesourcery.com>
20179 * gdb.trace/report.exp (use_collected_data): Test the output
20180 of "info threads" and "info inferiors".
20182 2014-02-05 Yao Qi <yao@codesourcery.com>
20186 2013-05-24 Yao Qi <yao@codesourcery.com>
20188 * gdb.trace/tfile.exp: Test inferior and thread.
20190 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20192 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
20194 * gdb.base/step-bt.c: Call hello via function pointer to make
20195 sure its first instruction is executed on powerpc64le-linux.
20197 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20199 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
20201 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20203 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
20204 of the test patterns for use on little-endian systems.
20206 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
20208 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
20209 (decimal_vector): Fix for little-endian.
20211 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
20213 * gdb.arch/sparc-sysstep.exp: New file.
20214 * gdb.arch/sparc-sysstep.c: Likewise.
20216 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
20218 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20220 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
20222 2014-01-23 Tom Tromey <tromey@redhat.com>
20224 * gdb.ada/array_char_idx: New testcase.
20226 2014-01-23 Tom Tromey <tromey@redhat.com>
20229 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
20230 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
20233 2014-01-23 Tom Tromey <tromey@redhat.com>
20236 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
20237 string from an inferior frame.
20238 * gdb.python/py-framefilter-mi.exp: Update.
20240 2014-01-22 Doug Evans <dje@google.com>
20242 * gdb.server/server-mon.exp: Add tests for "set debug-format".
20244 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20246 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
20248 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20250 * gdb.trace/entry-values.exp: Remove excess space character from
20251 regex patterns. Handle s390 call instruction.
20253 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20255 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
20256 define "*_start" label. Make "name" static.
20257 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
20258 ${name} by references to ${name}_start.
20260 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
20262 * gdb.base/info-macros.exp: Remove "debug" from the compile
20265 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
20267 * gdb.dlang/demangle.exp: New file.
20269 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
20271 * gdb.dlang/primitive-types.exp: New file.
20273 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
20275 * configure.ac: Create gdb.dlang/Makefile.
20276 * configure: Regenerate.
20277 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
20278 * gdb.dlang/Makefile.in: New file.
20279 * lib/d-support.exp: New file.
20280 * lib/gdb.exp (skip_d_tests): New proc.
20282 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20284 * gdb.btrace/delta.exp: Check reverse stepi.
20285 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
20286 * gdb.btrace/finish.exp: New.
20287 * gdb.btrace/next.exp: New.
20288 * gdb.btrace/nexti.exp: New.
20289 * gdb.btrace/record_goto.c: Add comments.
20290 * gdb.btrace/step.exp: New.
20291 * gdb.btrace/stepi.exp: New.
20292 * gdb.btrace/multi-thread-step.c: New.
20293 * gdb.btrace/multi-thread-step.exp: New.
20294 * gdb.btrace/rn-dl-bind.c: New.
20295 * gdb.btrace/rn-dl-bind.exp: New.
20296 * gdb.btrace/data.c: New.
20297 * gdb.btrace/data.exp: New.
20298 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
20300 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20302 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
20303 * gdb.btrace/exception.exp: Update.
20304 * gdb.btrace/instruction_history.exp: Update.
20305 * gdb.btrace/record_goto.exp: Update.
20306 * gdb.btrace/tailcall.exp: Update.
20307 * gdb.btrace/unknown_functions.exp: Update.
20308 * gdb.btrace/delta.exp: New.
20310 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20312 * gdb.btrace/record_goto.exp: Add backtrace test.
20313 * gdb.btrace/tailcall.exp: Add backtrace test.
20315 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20317 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
20318 * gdb.btrace/record_goto.c: New.
20319 * gdb.btrace/record_goto.exp: New.
20320 * gdb.btrace/x86-record_goto.S: New.
20322 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20324 * gdb.btrace/function_call_history.exp: Update tests.
20325 * gdb.btrace/instruction_history.exp: Update tests.
20327 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20329 * gdb.btrace/function_call_history.exp: Fix expected field
20330 order for "record function-call-history".
20331 Add new tests for "record function-call-history /c".
20332 * gdb.btrace/exception.cc: New.
20333 * gdb.btrace/exception.exp: New.
20334 * gdb.btrace/tailcall.exp: New.
20335 * gdb.btrace/x86-tailcall.S: New.
20336 * gdb.btrace/x86-tailcall.c: New.
20337 * gdb.btrace/unknown_functions.c: New.
20338 * gdb.btrace/unknown_functions.exp: New.
20339 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
20341 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20343 * gdb.btrace/instruction_history.exp: Update.
20344 * gdb.btrace/function_call_history.exp: Update.
20346 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20348 * gdb.btrace/function_call_history.exp: Fix expected function
20350 * gdb.btrace/instruction_history.exp: Initialize traced.
20351 Remove traced_functions.
20353 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20355 * gdb.btrace/function_call_history.exp: Update
20356 * gdb.btrace/instruction_history.exp: Update.
20358 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
20360 * gdb.btrace/enable.exp: Update expected text.
20362 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
20364 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
20367 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
20369 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
20371 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
20373 * lib/gdb.exp (supports_process_record): Return true for
20374 arm*-linux*. (supports_reverse): Likewise.
20376 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
20380 * gdb.python/py-type.c: Enhance test case.
20381 * gdb.python/py-value-cc.cc: Likewise
20382 * gdb.python/py-type.exp: Add new tests.
20383 * gdb.python/py-value-cc.exp: Likewise
20385 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
20386 Pedro Alves <palves@redhat.com>
20388 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
20389 Make "name" extern.
20390 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
20391 references to ${name}_start by references to ${name}.
20393 2014-01-10 Joel Brobecker <brobecker@adacore.com>
20395 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
20397 2014-01-10 Joel Brobecker <brobecker@adacore.com>
20399 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
20401 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
20402 Pedro Alves <palves@redhat.com>
20404 * gdb.mi/mi-info-os.exp: Connect to the target with
20405 mi_gdb_target_load.
20407 2014-01-08 Pedro Alves <palves@redhat.com>
20409 * gdb.threads/reconnect-signal.c: New file.
20410 * gdb.threads/reconnect-signal.exp: New file.
20412 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
20414 * gdb.base/source-dir.exp: New file.
20416 2014-01-07 Joel Brobecker <brobecker@adacore.com>
20418 * gdb.ada/mi_interface: New testcase.
20420 2014-01-07 Joel Brobecker <brobecker@adacore.com>
20422 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
20423 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
20424 gdb.ada/pp-rec-component/pck.ads: New files.
20426 2014-01-07 Joel Brobecker <brobecker@adacore.com>
20428 * gdb.python/py-pp-integral.c: New file.
20429 * gdb.python/py-pp-integral.py: New file.
20430 * gdb.python/py-pp-integral.exp: New file.
20432 For older changes see ChangeLog-1993-2013.
20434 ;; Local Variables:
20435 ;; mode: change-log
20438 ;; version-control: never
20441 Copyright 2014-2020 Free Software Foundation, Inc.
20442 Copying and distribution of this file, with or without modification,
20443 are permitted provided the copyright notice and this notice are preserved.